Commit e629cd6b authored by Matt Smith's avatar Matt Smith

testing/nsd: improved APKBUILD

parent 001a7d79
# 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() {
......
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment