wok diff unbound/receipt @ rev 21154
updated libcap-ng and libcap-ng-dev (0.6.6 -> 0.7.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 30 15:28:23 2019 +0100 (2019-03-30) |
parents | 5ec99f93b9bb |
children | bff282a27539 |
line diff
1.1 --- a/unbound/receipt Sat Feb 20 18:18:02 2016 +0100 1.2 +++ b/unbound/receipt Sat Mar 30 15:28:23 2019 +0100 1.3 @@ -28,8 +28,16 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/lib 1.8 + mkdir -p $fs/usr/lib $fs/var/lib/unbound 1.9 cp -a $install/etc $fs 1.10 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.11 cp -a $install/usr/sbin $fs/usr 1.12 } 1.13 + 1.14 +# Post message when installing. 1.15 +post_install() 1.16 +{ 1.17 + chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound 1.18 + chroot "$1/" chown unbound /var/lib/unbound 1.19 + chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key 1.20 +}