wok-next rev 11923
squidclamav: move cgi scripts to /var/www/cgi-bin
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 01:10:26 2012 +0100 (2012-03-01) |
parents | 3581e13d32fd |
children | 01713aa1a5bf |
files | squidclamav/receipt |
line diff
1.1 --- a/squidclamav/receipt Wed Feb 29 15:01:14 2012 -0800 1.2 +++ b/squidclamav/receipt Thu Mar 01 01:10:26 2012 +0100 1.3 @@ -20,7 +20,8 @@ 1.4 mkdir -p $DESTDIR/etc 1.5 ./configure \ 1.6 --prefix=/usr \ 1.7 - --libexecdir=/usr/lib \ 1.8 + --libdir=/usr/lib \ 1.9 + --libexecdir=/var/www/cgi-bin \ 1.10 --sysconfdir=/etc \ 1.11 $CONFIGURE_ARGS && 1.12 make && make install 1.13 @@ -30,15 +31,15 @@ 1.14 genpkg_rules() 1.15 { 1.16 mkdir -p $fs/usr \ 1.17 - $fs/var/www/cgi-bin \ 1.18 $fs/etc/squid/conf.d 1.19 1.20 cp -a $install/etc $fs 1.21 cp -a $install/usr/lib $fs/usr 1.22 + cp -a $install/var $fs/ 1.23 cp -a $stuff/icap-clamav.conf $fs/etc/squid/conf.d 1.24 1.25 # Customise config file 1.26 - sed -i -e "s|^redirect.*|redirect http://localhost/cgi-bin/clwarn.cgi|" \ 1.27 + sed -i -e "s|^redirect.*|redirect http://localhost/cgi-bin/squidclamav/clwarn.cgi|" \ 1.28 -e "s|^#squidguard.*|squidguard /usr/bin/squidGuard|" \ 1.29 $fs/etc/squidclamav.conf 1.30