aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-24 16:48:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-24 16:51:35 +0000
commit1328c94d12a24632191f20e762f6ebad5059750b (patch)
tree3a6e15b4a506713fa4d069c89dd9d97c8a4f9930
parentac431f685c6fcfe9aa01ebc7b42b37108359838d (diff)
downloadaports-1328c94d12a24632191f20e762f6ebad5059750b.tar.bz2
aports-1328c94d12a24632191f20e762f6ebad5059750b.tar.xz
main/bind: dont create homedir for bind user
We dont want copy the content of /etc/skel to /etc/bind ref #6725
-rw-r--r--main/bind/APKBUILD2
-rw-r--r--main/bind/bind.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 8f00121cf2..f46e3d2ad3 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -7,7 +7,7 @@ pkgver=9.11.0_p2
_ver=${pkgver%_p*}
_p=${pkgver#*_p}
[ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p"
-pkgrel=0
+pkgrel=1
pkgdesc="The ISC DNS server"
url="http://www.isc.org"
arch="all"
diff --git a/main/bind/bind.pre-install b/main/bind/bind.pre-install
index 430f2b8b0b..3f7c36847c 100644
--- a/main/bind/bind.pre-install
+++ b/main/bind/bind.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S named 2>/dev/null
-adduser -S -D -h /etc/bind -s /sbin/nologin -G named -g named named 2>/dev/null
+adduser -S -D -H -h /etc/bind -s /sbin/nologin -G named -g named named 2>/dev/null
exit 0