wok rev 4661

squidguard: add patches
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Dec 28 23:45:51 2009 +0100 (2009-12-28)
parents 083f2c3ff6c7
children 909b7f4f078b
files squidguard/receipt squidguard/stuff/squidGuard-1.4-patch-20091015.tar.gz squidguard/stuff/squidGuard-1.4-patch-20091019.tar.gz
line diff
     1.1 --- a/squidguard/receipt	Mon Dec 28 23:42:02 2009 +0100
     1.2 +++ b/squidguard/receipt	Mon Dec 28 23:45:51 2009 +0100
     1.3 @@ -16,11 +16,22 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	
     1.8 +	# Security patches 
     1.9 +	while read patch_file; do
    1.10 +		echo "Apply $patch_file"
    1.11 +		tar xvzf  ../stuff/$patch_file || exit 1
    1.12 +		cp -a $(basename $patch_file .tar.gz)/* src
    1.13 +	done <<EOT
    1.14 +squidGuard-1.4-patch-20091015.tar.gz
    1.15 +squidGuard-1.4-patch-20091019.tar.gz
    1.16 +EOT
    1.17  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.18  	--sysconfdir=/etc --with-sg-config=/etc/squidGuard/squidGuard.conf \
    1.19  	--with-sg-logdir=/var/lib/squidGuard/log \
    1.20  	--with-sg-dbhome=/var/lib/squidGuard/db \
    1.21  	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.22 +	
    1.23  	make
    1.24  	sed -e 's|^prefix =.*|prefix = _pkg/usr|' \
    1.25  	    -e 's|^logdir =.*|logdir = _pkg/var/lib/squidGuard/log|' \
     2.1 Binary file squidguard/stuff/squidGuard-1.4-patch-20091015.tar.gz has changed
     3.1 Binary file squidguard/stuff/squidGuard-1.4-patch-20091019.tar.gz has changed