From dab5cbaf8a309581457d25b94a43e1d8bc04f050 Mon Sep 17 00:00:00 2001
From: Adrian Chadd <adrian@FreeBSD.org>
Date: Tue, 28 Aug 2001 16:48:35 +0000
Subject: * Update the port to use the newly-release squid-2.4STABLE2 * Fix the
 Makefile to actually chown our log/cache dirs to nobody   when they're
 created

---
 www/squid27/Makefile | 13 +++++--------
 www/squid27/distinfo |  8 +-------
 2 files changed, 6 insertions(+), 15 deletions(-)

(limited to 'www/squid27')

diff --git a/www/squid27/Makefile b/www/squid27/Makefile
index 45e0fb0e9778..150ea88cb47a 100644
--- a/www/squid27/Makefile
+++ b/www/squid27/Makefile
@@ -7,23 +7,18 @@
 
 PORTNAME=	squid
 PORTVERSION=	2.4
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www
 MASTER_SITES=  \
 	ftp://ftp.squid-cache.org/pub/squid-2/STABLE/ \
 	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-2/STABLE/ \
 	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-2/STABLE/ \
 	ftp://ftp.net.lut.ac.uk/squid/squid-2/STABLE/
-DISTNAME=	squid-2.4.STABLE1
+DISTNAME=	squid-2.4.STABLE2
 EXTRACT_SUFX=	-src.tar.gz
 
 PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.4/bugs/
-PATCHFILES=	squid-2.4.stable1-wrong_sign_on_timestamp_check.patch \
-		squid-2.4.stable1-high_cpu_with_peers.patch \
-		squid-2.4.stable1-force_valid_blksize.patch \
-		squid-2.4.stable1-kill_parent_on_child_sigkill.patch \
-		squid-2.4.stable1-htcp_assertion_fix.patch \
-		squid-2.4.stable1-diskd_fixed_path.patch
+PATCHFILES=	
 
 MAINTAINER=	adrian@freebsd.org
 
@@ -117,7 +112,9 @@ post-install:
 	fi
 .endfor
 	${MKDIR} ${PREFIX}/squid/logs
+	${CHOWN} nobody:nogroup ${PREFIX}/squid/logs
 	${MKDIR} ${PREFIX}/squid/cache
+	${CHOWN} nobody:nogroup ${PREFIX}/squid/cache
 	@if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \
 		${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
 		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
diff --git a/www/squid27/distinfo b/www/squid27/distinfo
index 5e1301505188..d5b8e0651425 100644
--- a/www/squid27/distinfo
+++ b/www/squid27/distinfo
@@ -1,7 +1 @@
-MD5 (squid2.4/squid-2.4.STABLE1-src.tar.gz) = 6a3977716571a8459cf66b96306f7c05
-MD5 (squid2.4/squid-2.4.stable1-wrong_sign_on_timestamp_check.patch) = bdb1b7fea05616286f6ca30057201bab
-MD5 (squid2.4/squid-2.4.stable1-high_cpu_with_peers.patch) = f358cc67f07ba9e9904d7c150eee4d8a
-MD5 (squid2.4/squid-2.4.stable1-force_valid_blksize.patch) = d6bd16c8059ea16da1cb276331119bf3
-MD5 (squid2.4/squid-2.4.stable1-kill_parent_on_child_sigkill.patch) = a1ad2ff574a0d0973af36a10e0333cab
-MD5 (squid2.4/squid-2.4.stable1-htcp_assertion_fix.patch) = 8332039c0bab696c0ffc244cf6d7f1f8
-MD5 (squid2.4/squid-2.4.stable1-diskd_fixed_path.patch) = 487d5827ed5ab3619a03368206362b36
+MD5 (squid2.4/squid-2.4.STABLE2-src.tar.gz) = 6d0329b0078aea2b6e0cf58911d8ae15
-- 
cgit v1.2.3