summaryrefslogtreecommitdiff
path: root/www/squid27/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid27/Makefile')
-rw-r--r--www/squid27/Makefile14
1 files changed, 12 insertions, 2 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