wok-next diff squidguard/receipt @ rev 21382
updated nbd (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents | 757d032c55c7 |
children |
line diff
1.1 --- a/squidguard/receipt Fri Mar 30 19:31:50 2018 +0300 1.2 +++ b/squidguard/receipt Thu Apr 16 17:27:00 2020 +0100 1.3 @@ -34,25 +34,25 @@ 1.4 --with-sg-dbhome=/var/lib/squidGuard/db \ 1.5 $CONFIGURE_ARGS && 1.6 make && 1.7 - sed -e "s|^prefix =.*|prefix = $DESTDIR/usr|" \ 1.8 - -e "s|^logdir =.*|logdir = $DESTDIR/var/lib/squidGuard/log|" \ 1.9 - -e "s|^configfile =.*|configfile = $DESTDIR/etc/squidGuard/squidGuard.conf|" \ 1.10 - -e "s|^dbhomedir =.*|dbhomedir = $DESTDIR/var/lib/squidGuard/db|" \ 1.11 + sed -e "s|^prefix =.*|prefix = $install/usr|" \ 1.12 + -e "s|^logdir =.*|logdir = $install/var/lib/squidGuard/log|" \ 1.13 + -e "s|^configfile =.*|configfile = $install/etc/squidGuard/squidGuard.conf|" \ 1.14 + -e "s|^dbhomedir =.*|dbhomedir = $install/var/lib/squidGuard/db|" \ 1.15 -e "s|^SQUIDUSER =.*|SQUIDUSER = nobody|" \ 1.16 < Makefile > Makefile.slitaz-install 1.17 - mkdir -p $DESTDIR/etc/squidGuard 1.18 + mkdir -p $install/etc/squidGuard 1.19 make -f Makefile.slitaz-install install 1.20 } 1.21 1.22 genpkg_rules() { 1.23 mkdir -p $fs/etc/squid/conf.d 1.24 - 1.25 + 1.26 cp -a $install/* $fs/ 1.27 cp -pa $stuff/squidguard.conf $fs/etc/squid/conf.d 1.28 - 1.29 + 1.30 # Cleanup. 1.31 rmdir $fs/usr/squidGuard 1.32 - 1.33 + 1.34 DEPENDS="squid libdb" 1.35 } 1.36