diff --git a/squid/.md5sum b/squid/.md5sum index 1512ffb94..d8e98305a 100644 --- a/squid/.md5sum +++ b/squid/.md5sum @@ -1,3 +1,4 @@ +7036140fef35fcfadee0b7826dccbf76 11622.patch 9ce54d2a0a7959df4470178e7aac5e27 squid -eadb138d48320df8b99349121159c6bf squid-2.6.STABLE14.tar.bz2 -338811a521477a86aaf2880c96d3173a squid.conf +2a21d5c64af8bc164b8d8be980aede6a squid-2.6.STABLE15.tar.bz2 +3094e711ce9888d226479ef682146329 squid.conf diff --git a/squid/Pkgfile b/squid/Pkgfile index 7b8743878..2b49e4fc4 100644 --- a/squid/Pkgfile +++ b/squid/Pkgfile @@ -3,14 +3,18 @@ # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de name=squid -version=2.6.STABLE14 +version=2.6.STABLE15 release=1 source=(http://www.squid-cache.org/Versions/v2/2.6/$name-$version.tar.bz2 \ + http://www.squid-cache.org/Versions/v2/2.6/changesets/11622.patch \ squid.conf squid) build () { cd $name-$version + patch -p1 -i $SRC/11622.patch + autoconf ./configure --prefix=/usr \ + --mandir=/usr/man \ --sysconfdir=/etc/squid \ --libexecdir=/usr/sbin \ --localstatedir=/var/squid \ diff --git a/squid/squid.conf b/squid/squid.conf index f29c8ee2c..c00cb57f7 100644 --- a/squid/squid.conf +++ b/squid/squid.conf @@ -36,6 +36,11 @@ refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 +# Do not cache dynamic content +hierarchy_stoplist cgi-bin ? +acl QUERY urlpath_regex cgi-bin \? +cache deny QUERY + # Minimum access lists acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object