wok-current rev 18170

squidguard: add XSS vulnerability patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 29 11:35:51 2015 +0200 (2015-06-29)
parents 1ce9f5dd01a4
children 4ac46fc0f6e5
files squidguard/receipt squidguard/stuff/squidGuard-1.4-patch-20150201.tar.gz
line diff
     1.1 --- a/squidguard/receipt	Sun Jun 28 20:56:46 2015 +0300
     1.2 +++ b/squidguard/receipt	Mon Jun 29 11:35:51 2015 +0200
     1.3 @@ -26,6 +26,7 @@
     1.4  	done <<EOT
     1.5  squidGuard-1.4-patch-20091015.tar.gz
     1.6  squidGuard-1.4-patch-20091019.tar.gz
     1.7 +squidGuard-1.4-patch-20150201.tar.gz
     1.8  EOT
     1.9  	# Add support for squid 3.4
    1.10  	patch -p1 < $stuff/squidGuard-1.4_upgrade.patch
    1.11 @@ -74,3 +75,9 @@
    1.12  	# Recharge squid config
    1.13  	[ -x $(which squid) ] && $(which squid) -k reconfigure 2> /dev/null
    1.14  }
    1.15 +
    1.16 +check_config()
    1.17 +{
    1.18 +	echo "http://www.example.com 192.168.0.6/- - GET" | \
    1.19 +		squidGuard -c /etc/squidGuard/squidGuard.conf -d
    1.20 +}
     2.1 Binary file squidguard/stuff/squidGuard-1.4-patch-20150201.tar.gz has changed