wok diff unbound/receipt @ rev 20455

zstd: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 06 15:26:57 2018 +0200 (2018-10-06)
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 Oct 06 15:26:57 2018 +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 +}