diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-11-14 14:13:39 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-11-14 14:13:49 +0000 |
commit | bb5e2504b057f3df4317eabdeb097a533b63c44b (patch) | |
tree | 045e4db0d48f09e6f4fcdd01d3aa4f6224d4503b /main/nsd | |
parent | d32344d735b978fb7d30a9fcc4ad1141879c5433 (diff) | |
download | aports-bb5e2504b057f3df4317eabdeb097a533b63c44b.tar.bz2 aports-bb5e2504b057f3df4317eabdeb097a533b63c44b.tar.xz |
main/nsd: add group nsd
Diffstat (limited to 'main/nsd')
-rw-r--r-- | main/nsd/APKBUILD | 6 | ||||
-rw-r--r-- | main/nsd/nsd.pre-install | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD index e7cc42cbdb..edf8f10309 100644 --- a/main/nsd/APKBUILD +++ b/main/nsd/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Matt Smith <mcs@darkregion.net> +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Matt Smith <mcs@darkregion.net> pkgname=nsd pkgver=4.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="NSD is an authoritative only, high performance, simple and open source name server." url="http://www.nlnetlabs.nl/projects/nsd/" arch="all" @@ -51,7 +52,8 @@ package() { install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/nsd || return 1 - chown nsd "$pkgdir"/var/db/nsd || return 1 + chown nsd.nsd "$pkgdir"/var/db/nsd || return 1 + chown nsd.nsd "$pkgdir"/var/run/nsd || return 1 } doc() { diff --git a/main/nsd/nsd.pre-install b/main/nsd/nsd.pre-install index b95b0065de..57e4ad1398 100644 --- a/main/nsd/nsd.pre-install +++ b/main/nsd/nsd.pre-install @@ -1,4 +1,4 @@ #!/bin/sh - -adduser -S -H -h /var/db/nsd -s /sbin/nologin nsd 2>/dev/null +addgroup nsd 2>/dev/null +adduser -G nsd -S -H -h /var/db/nsd -s /sbin/nologin nsd 2>/dev/null exit 0 |