core/openntpd: install script fix

This commit is contained in:
Natanael Copa 2009-03-06 15:57:14 +00:00
parent 877a79ffbf
commit b68d15db9d
2 changed files with 12 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openntpd
pkgver=3.9_p1
_myver=3.9p1
pkgrel=2
pkgrel=3
pkgdesc="Lightweight NTP server ported from OpenBSD"
url=http://www.openntpd.org/
install=openntpd.install
install=openntpd.pre-install
subpackages="openntpd-doc"
depends="uclibc openssl"
@ -16,7 +17,7 @@ source="
openntpd-3.9p1-ifaddr.patch
openntpd.conf.d
openntpd.rc
openntpd.install
$install
"
_prepare() {
@ -49,4 +50,4 @@ ae2f708b860975b64126bb316aeb6641 openntpd-3.9p1_reconnect_on_sendto_EINVAL.diff
a1640ec40ac228338e60bd4fda42f84d openntpd-3.9p1-ifaddr.patch
e3eee9eb2ea092dfdf9d887cd6df5795 openntpd.conf.d
5000453927b7ae9943d51194c1042355 openntpd.rc
21032167a8524bc88565c83b328be44b openntpd.install"
05349f95db78fb482798b2c6d1f9c61e openntpd.pre-install"

View File

@ -0,0 +1,7 @@
#!/bin/sh
# this user should be included in alpine-baselayout-1.2.
# included here for backward compability.
adduser -H -h /var/empty -s /bin/false -D ntp 2>/dev/null
exit 0