aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nsd
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-03-23 17:22:00 -0500
committerMatt Smith <mcs@darkregion.net>2011-03-23 17:22:00 -0500
commite629cd6b6d86064ce39bcc8f04964bd83c39e6ac (patch)
tree821a3e676f98903a3fc73c89381bb59f28f1daf2 /testing/nsd
parent001a7d797f3d0ce0bf59665d8447dc9def645d94 (diff)
downloadaports-e629cd6b6d86064ce39bcc8f04964bd83c39e6ac.tar.bz2
aports-e629cd6b6d86064ce39bcc8f04964bd83c39e6ac.tar.xz
testing/nsd: improved APKBUILD
Diffstat (limited to 'testing/nsd')
-rw-r--r--testing/nsd/APKBUILD8
-rw-r--r--testing/nsd/nsd.pre-install2
2 files changed, 5 insertions, 5 deletions
diff --git a/testing/nsd/APKBUILD b/testing/nsd/APKBUILD
index 3c7f9828c..758570294 100644
--- a/testing/nsd/APKBUILD
+++ b/testing/nsd/APKBUILD
@@ -1,8 +1,8 @@
-# Contributor: Matt Smith <msmith@alpinelinux.org>
-# Maintainer: Matt Smith <msmith@alpinelinux.org>
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=nsd
pkgver=3.2.7
-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"
@@ -54,7 +54,7 @@ package() {
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/nsd || return 1
- chown nsd:nsd "$pkgdir"/var/db/nsd
+ chown nsd "$pkgdir"/var/db/nsd || return 1
}
doc() {
diff --git a/testing/nsd/nsd.pre-install b/testing/nsd/nsd.pre-install
index c7914445e..daabc70b3 100644
--- a/testing/nsd/nsd.pre-install
+++ b/testing/nsd/nsd.pre-install
@@ -1,4 +1,4 @@
#!/bin/sh
-adduser -H -D -s /bin/false nsd 2>/dev/null
+adduser -S -H -h /var/db/nsd -s /bin/false nsd 2>/dev/null
exit 0