aboutsummaryrefslogtreecommitdiff
path: root/network/unbound/unbound.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/unbound/unbound.SlackBuild')
-rw-r--r--network/unbound/unbound.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/unbound/unbound.SlackBuild b/network/unbound/unbound.SlackBuild
index 21e073482c5b..0845c98a051b 100644
--- a/network/unbound/unbound.SlackBuild
+++ b/network/unbound/unbound.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unbound
VERSION=${VERSION:-1.17.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -162,6 +162,7 @@ chown $UB_USER:$UB_GROUP $PKG/var/run/unbound/
chown $UB_USER:$UB_GROUP $PKG/var/log/unbound/
cp -a $CWD/unbound.logrotate $PKG/etc/logrotate.d/unbound.new
+chown root:root $PKG/etc/logrotate.d/unbound.new
mv $PKG/etc/unbound/unbound.conf $PKG/etc/unbound/unbound.conf.new
install -m 0644 -D $CWD/rc.unbound $PKG/etc/rc.d/rc.unbound.new