wok-current diff unbound/receipt @ rev 19341

Up busybox (1.25.0), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 19 20:20:37 2016 +0200 (2016-07-19)
parents 5ec99f93b9bb
children bff282a27539
line diff
     1.1 --- a/unbound/receipt	Sat Feb 20 18:18:02 2016 +0100
     1.2 +++ b/unbound/receipt	Tue Jul 19 20:20:37 2016 +0200
     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 +}