wok-6.x diff squidguard/receipt @ rev 6346

Up: gobby to 0.4.12. net6, net6-dev to 1.3.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 22:01:57 2010 +0000 (2010-09-19)
parents f843c4e987d3
children 0b4cf0d9e1b5
line diff
     1.1 --- a/squidguard/receipt	Sat Aug 29 18:20:57 2009 +0200
     1.2 +++ b/squidguard/receipt	Sun Sep 19 22:01:57 2010 +0000
     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|' \