wok-current diff squidclamav/receipt @ rev 12091

nanochess: red based colors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 18:05:44 2012 +0100 (2012-03-10)
parents 61855e8d38b8
children cb60d8d42bfd
line diff
     1.1 --- a/squidclamav/receipt	Thu Mar 01 00:01:55 2012 +0100
     1.2 +++ b/squidclamav/receipt	Sat Mar 10 18:05:44 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