aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid27
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid27')
-rw-r--r--www/squid27/Makefile14
-rw-r--r--www/squid27/distinfo4
2 files changed, 15 insertions, 3 deletions
diff --git a/www/squid27/Makefile b/www/squid27/Makefile
index 6e1bebe7f7c0..aa56eae7d6aa 100644
--- a/www/squid27/Makefile
+++ b/www/squid27/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: squid
-# Version required: 2.3.STABLE1
+# Version required: 2.3.STABLE2
# Date created: Thu Nov 7 00:53:18 WST 1996
# Whom: Peter Wemm <peter@freebsd.org>
#
# $FreeBSD$
#
-DISTNAME= squid-2.3.STABLE1
+DISTNAME= squid-2.3.STABLE2
PKGNAME= squid-2.3
CATEGORIES= www
MASTER_SITES= \
@@ -16,6 +16,10 @@ MASTER_SITES= \
ftp://ftp.net.lut.ac.uk/squid/squid-2/STABLE/
EXTRACT_SUFX= -src.tar.gz
+PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.3/bugs/
+PATCHFILES= squid-2.3.stable2-EOF_in_cf.data.pre.patch \
+ squid-2.3.stable2-USE_DNSSERVER.patch
+
MAINTAINER= peter@freebsd.org
DIST_SUBDIR= squid2.3
@@ -28,6 +32,12 @@ STRIP= # won't install scripts correctly othervise.
MAKEFILE= makefile
NO_LATEST_LINK= yes
+.if defined(PATCH_DEBUG)
+PATCH_DIST_ARGS?= -d ${WRKSRC}/src -E ${PATCH_DIST_STRIP}
+.else
+PATCH_DIST_ARGS?= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
+.endif
+
# Some other configure options..
# - Compile and use the malloc package from Doug Lea
#CONFIGURE_ARGS+= --enable-dlmalloc
diff --git a/www/squid27/distinfo b/www/squid27/distinfo
index c6df2c09b18c..d4ef0c663423 100644
--- a/www/squid27/distinfo
+++ b/www/squid27/distinfo
@@ -1 +1,3 @@
-MD5 (squid2.3/squid-2.3.STABLE1-src.tar.gz) = b575dcc0bbb98c806efee15b9963630f
+MD5 (squid2.3/squid-2.3.STABLE2-src.tar.gz) = ba90c12907e5dd8a29bf824bde2f7755
+MD5 (squid2.3/squid-2.3.stable2-EOF_in_cf.data.pre.patch) = aaa8ba879452b23c4fa5a4da6bdce5ed
+MD5 (squid2.3/squid-2.3.stable2-USE_DNSSERVER.patch) = ab04e0f9681dfdb62a813502cc936f98