diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-01 13:02:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-01 13:02:49 +0000 |
commit | 6cbc32e579abccea370ae25bc385e9bae9b749f0 (patch) | |
tree | 65fae1a46fc9dc8bca7ce4461f520f7e83544130 /extra/gross | |
parent | ce8d68eaf58d05cb6d14bca82678073d138f25c2 (diff) | |
download | aports-6cbc32e579abccea370ae25bc385e9bae9b749f0.tar.bz2 aports-6cbc32e579abccea370ae25bc385e9bae9b749f0.tar.xz |
extra/gross: rename USER and GROUP variables in init.d script
Diffstat (limited to 'extra/gross')
-rw-r--r-- | extra/gross/APKBUILD | 10 | ||||
-rw-r--r-- | extra/gross/gross.initd | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/extra/gross/APKBUILD b/extra/gross/APKBUILD index 986c0eb913..fd6e018e95 100644 --- a/extra/gross/APKBUILD +++ b/extra/gross/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gross pkgver=1.0.1 -pkgrel=0 +pkgrel=1 pkgdesc="Greylisting of suspicious sources" url="http://code.google.com/p/gross/" license="BSD" -depends="uclibc c-ares" +depends= makedepends="c-ares-dev autoconf automake libtool sed" install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-doc $pkgname-dev" @@ -45,10 +45,10 @@ build() { } md5sums="f8f81b36850dcda30cb81799b9cee3b6 gross-1.0.1.tar.gz -37b83bd0d94f66c733d5562c0327b70f gross.initd +b0d8635b64c4a90d72c49e868f4c4c32 gross.initd 5ca1c6e51c3243236e6564480b20279b gross.confd bb75b119ac96b8f99831ce6df810003f gross-1.0.1-configure.ac.patch 7c504b653c71dcf7b192bc487b3516fd gross-1.0.1-default-conf.patch 16e184d59d520db565388f010cc75e83 gross-1.0.1-user.patch -4b55d1c5534167946cc11376d1b05c34 gross.post-install -8f6e45b98888dbb9971f7681bf431f6f gross.pre-install" +8f6e45b98888dbb9971f7681bf431f6f gross.pre-install +4b55d1c5534167946cc11376d1b05c34 gross.post-install" diff --git a/extra/gross/gross.initd b/extra/gross/gross.initd index c67293e17f..3d1c43d708 100644 --- a/extra/gross/gross.initd +++ b/extra/gross/gross.initd @@ -2,8 +2,8 @@ NAME="grossd" DAEMON="/usr/sbin/$NAME" -USER="gross" -GROUP="gross" +DAEMON_USER="gross" +DAEMON_GROUP="gross" depend() { need net @@ -12,18 +12,18 @@ depend() { check_config() { if [ ! -f /var/db/gross/state ] ; then einfo "Generating Gross database..." - install -dD -o${USER} -g${GROUP} /var/db/gross - ${DAEMON} -Cu ${USER} > /dev/null + install -dD -o${DAEMON_USER} -g${DAEMON_GROUP} /var/db/gross + ${DAEMON} -Cu ${DAEMON_USER} > /dev/null fi } start() { check_config || return 1 ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet --background \ + start-stop-daemon --start --quiet \ --exec ${DAEMON} -- \ -p /var/run/gross/grossd.pid \ - -u ${USER} ${OPTS} + -u ${DAEMON_USER} ${OPTS} eend $? } |