head	1.109;
access;
symbols
	RELEASE_5_3_0:1.105
	RELEASE_4_10_0:1.103
	RELEASE_5_2_1:1.98
	RELEASE_5_2_0:1.98
	RELEASE_4_9_0:1.97
	RELEASE_5_1_0:1.96
	RELEASE_4_8_0:1.96
	RELEASE_5_0_0:1.93
	RELEASE_4_7_0:1.90
	RELEASE_4_6_2:1.89
	RELEASE_4_6_1:1.89
	RELEASE_4_6_0:1.89
	RELEASE_5_0_DP1:1.89
	RELEASE_4_5_0:1.86
	RELEASE_4_4_0:1.85
	RELEASE_4_3_0:1.82
	RELEASE_4_2_0:1.72
	RELEASE_4_1_1:1.72
	RELEASE_4_1_0:1.71
	RELEASE_3_5_0:1.70
	RELEASE_4_0_0:1.65
	RELEASE_3_4_0:1.62
	RELEASE_3_3_0:1.61
	RELEASE_3_2_0:1.55
	RELEASE_3_1_0:1.54
	RELEASE_2_2_8:1.53
	RELEASE_3_0_0:1.52
	RELEASE_2_2_7:1.51
	RELEASE_2_2_6:1.47
	RELEASE_2_2_5:1.32
	RELEASE_2_2_1:1.24
	RELEASE_2_2_2:1.28
	squid_1_0b11:1.1.1.1
	SQUID:1.1.1;
locks; strict;
comment	@# @;


1.109
date	2004.12.19.02.21.05;	author linimon;	state dead;
branches;
next	1.108;

1.108
date	2004.11.24.01.53.15;	author sem;	state Exp;
branches;
next	1.107;

1.107
date	2004.10.22.13.06.05;	author nectar;	state Exp;
branches;
next	1.106;

1.106
date	2004.10.21.22.02.27;	author nectar;	state Exp;
branches;
next	1.105;

1.105
date	2004.06.09.03.55.50;	author kris;	state Exp;
branches;
next	1.104;

1.104
date	2004.05.02.22.38.35;	author pav;	state Exp;
branches;
next	1.103;

1.103
date	2004.03.23.17.12.47;	author sada;	state Exp;
branches;
next	1.102;

1.102
date	2004.02.18.12.25.08;	author sergei;	state Exp;
branches;
next	1.101;

1.101
date	2004.01.16.13.14.41;	author sergei;	state Exp;
branches;
next	1.100;

1.100
date	2004.01.16.13.11.55;	author sergei;	state Exp;
branches;
next	1.99;

1.99
date	2004.01.12.01.46.48;	author linimon;	state Exp;
branches;
next	1.98;

1.98
date	2003.09.24.09.36.59;	author osa;	state Exp;
branches;
next	1.97;

1.97
date	2003.06.27.04.30.46;	author dinoex;	state Exp;
branches;
next	1.96;

1.96
date	2003.03.07.06.12.54;	author ade;	state Exp;
branches;
next	1.95;

1.95
date	2003.01.31.09.00.42;	author adrian;	state Exp;
branches;
next	1.94;

1.94
date	2003.01.31.08.49.05;	author adrian;	state Exp;
branches;
next	1.93;

1.93
date	2002.12.12.02.49.43;	author edwin;	state Exp;
branches;
next	1.92;

1.92
date	2002.11.04.01.11.57;	author edwin;	state Exp;
branches;
next	1.91;

1.91
date	2002.10.13.21.07.00;	author knu;	state Exp;
branches;
next	1.90;

1.90
date	2002.07.05.09.39.38;	author adrian;	state Exp;
branches;
next	1.89;

1.89
date	2002.03.22.00.19.55;	author adrian;	state Exp;
branches;
next	1.88;

1.88
date	2002.02.20.03.44.04;	author adrian;	state Exp;
branches;
next	1.87;

1.87
date	2002.02.19.13.46.22;	author adrian;	state Exp;
branches;
next	1.86;

1.86
date	2001.12.03.03.39.14;	author adrian;	state Exp;
branches;
next	1.85;

1.85
date	2001.09.01.08.34.14;	author adrian;	state Exp;
branches;
next	1.84;

1.84
date	2001.08.28.16.48.35;	author adrian;	state Exp;
branches;
next	1.83;

1.83
date	2001.06.17.22.24.02;	author adrian;	state Exp;
branches;
next	1.82;

1.82
date	2001.04.10.14.41.19;	author adrian;	state Exp;
branches;
next	1.81;

1.81
date	2001.04.03.09.06.34;	author adrian;	state Exp;
branches;
next	1.80;

1.80
date	2001.03.31.11.41.18;	author adrian;	state Exp;
branches;
next	1.79;

1.79
date	2001.03.29.16.35.01;	author sobomax;	state Exp;
branches;
next	1.78;

1.78
date	2001.03.27.12.56.41;	author adrian;	state Exp;
branches;
next	1.77;

1.77
date	2001.03.27.12.28.47;	author adrian;	state Exp;
branches;
next	1.76;

1.76
date	2001.02.19.13.15.19;	author olgeni;	state Exp;
branches;
next	1.75;

1.75
date	2001.02.05.15.33.48;	author olgeni;	state Exp;
branches;
next	1.74;

1.74
date	2001.01.12.06.46.04;	author peter;	state Exp;
branches;
next	1.73;

1.73
date	2001.01.05.10.49.01;	author peter;	state Exp;
branches;
next	1.72;

1.72
date	2000.07.28.07.27.34;	author sobomax;	state Exp;
branches;
next	1.71;

1.71
date	2000.07.05.12.37.02;	author tg;	state Exp;
branches;
next	1.70;

1.70
date	2000.06.01.06.49.50;	author sobomax;	state Exp;
branches;
next	1.69;

1.69
date	2000.05.29.23.48.03;	author steve;	state Exp;
branches;
next	1.68;

1.68
date	2000.05.17.01.18.36;	author peter;	state Exp;
branches;
next	1.67;

1.67
date	2000.04.17.20.32.57;	author peter;	state Exp;
branches;
next	1.66;

1.66
date	2000.04.10.00.06.52;	author cpiazza;	state Exp;
branches;
next	1.65;

1.65
date	2000.03.05.14.11.42;	author peter;	state Exp;
branches;
next	1.64;

1.64
date	2000.03.05.14.08.48;	author peter;	state Exp;
branches;
next	1.63;

1.63
date	2000.01.29.20.13.16;	author peter;	state Exp;
branches;
next	1.62;

1.62
date	99.11.11.02.40.18;	author peter;	state Exp;
branches;
next	1.61;

1.61
date	99.08.31.02.43.16;	author peter;	state Exp;
branches;
next	1.60;

1.60
date	99.08.27.22.30.30;	author mharo;	state Exp;
branches;
next	1.59;

1.59
date	99.08.22.19.00.55;	author mharo;	state Exp;
branches;
next	1.58;

1.58
date	99.08.08.13.53.34;	author peter;	state Exp;
branches;
next	1.57;

1.57
date	99.06.05.19.58.02;	author mharo;	state Exp;
branches;
next	1.56;

1.56
date	99.05.23.21.15.07;	author peter;	state Exp;
branches;
next	1.55;

1.55
date	99.04.18.06.46.51;	author max;	state Exp;
branches;
next	1.54;

1.54
date	98.12.26.15.55.47;	author peter;	state Exp;
branches;
next	1.53;

1.53
date	98.10.19.12.12.45;	author peter;	state Exp;
branches;
next	1.52;

1.52
date	98.10.06.00.19.50;	author peter;	state Exp;
branches;
next	1.51;

1.51
date	98.06.09.15.08.06;	author peter;	state Exp;
branches;
next	1.50;

1.50
date	98.04.26.07.57.20;	author peter;	state Exp;
branches;
next	1.49;

1.49
date	98.04.10.05.11.37;	author peter;	state Exp;
branches;
next	1.48;

1.48
date	98.03.26.13.29.12;	author peter;	state Exp;
branches;
next	1.47;

1.47
date	98.03.20.14.00.51;	author peter;	state Exp;
branches;
next	1.46;

1.46
date	98.03.09.03.35.09;	author peter;	state Exp;
branches;
next	1.45;

1.45
date	98.03.05.06.43.03;	author peter;	state Exp;
branches;
next	1.44;

1.44
date	98.02.16.13.16.37;	author asami;	state Exp;
branches;
next	1.43;

1.43
date	98.02.14.14.36.12;	author peter;	state Exp;
branches;
next	1.42;

1.42
date	98.02.14.03.12.37;	author peter;	state Exp;
branches;
next	1.41;

1.41
date	98.02.09.01.35.20;	author peter;	state Exp;
branches;
next	1.40;

1.40
date	98.02.08.03.39.05;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	98.02.08.03.04.58;	author peter;	state Exp;
branches;
next	1.38;

1.38
date	98.01.21.03.06.06;	author peter;	state Exp;
branches;
next	1.37;

1.37
date	98.01.10.14.38.23;	author peter;	state Exp;
branches;
next	1.36;

1.36
date	98.01.04.09.30.18;	author peter;	state Exp;
branches;
next	1.35;

1.35
date	97.12.06.12.27.32;	author peter;	state Exp;
branches;
next	1.34;

1.34
date	97.11.01.11.10.35;	author peter;	state Exp;
branches;
next	1.33;

1.33
date	97.10.25.02.51.12;	author peter;	state Exp;
branches;
next	1.32;

1.32
date	97.09.07.13.08.51;	author peter;	state Exp;
branches;
next	1.31;

1.31
date	97.08.13.02.59.41;	author peter;	state Exp;
branches;
next	1.30;

1.30
date	97.07.18.05.06.49;	author peter;	state Exp;
branches;
next	1.29;

1.29
date	97.07.01.21.05.22;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	97.05.17.19.54.45;	author peter;	state Exp;
branches;
next	1.27;

1.27
date	97.05.17.19.45.27;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	97.03.31.11.14.41;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	97.03.23.15.43.41;	author peter;	state Exp;
branches;
next	1.24;

1.24
date	97.03.04.12.03.23;	author peter;	state Exp;
branches;
next	1.23;

1.23
date	97.03.02.02.50.41;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	97.02.20.17.17.32;	author peter;	state Exp;
branches;
next	1.21;

1.21
date	97.02.08.16.19.15;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	97.01.29.07.53.58;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	97.01.24.10.30.38;	author asami;	state Exp;
branches;
next	1.18;

1.18
date	97.01.19.03.24.12;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	97.01.07.18.49.06;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	96.12.26.22.00.45;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	96.12.16.06.42.14;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	96.12.07.06.25.26;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	96.12.06.11.17.57;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	96.12.05.08.42.50;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	96.12.04.15.58.27;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	96.12.02.09.52.27;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	96.11.22.14.06.11;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	96.11.18.11.41.50;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	96.11.15.12.41.53;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	96.11.12.08.38.31;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	96.11.12.08.26.06;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	96.11.06.17.20.53;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	96.11.06.16.37.10;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	96.07.10.21.48.58;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches;
next	;


desc
@@


1.109
log
@As previously announced, remove www/squid24.  It is obsolete, no longer
supported, and has security problems.

Approved by:	former maintainer
@
text
@# New ports collection makefile for:	squid24
# Date created:		Tue Mar 27 14:56:08 CEST 2001
# Whom:			Adrian Chadd <adrian@@FreeBSD.org>
#
# $FreeBSD: ports/www/squid24/Makefile,v 1.108 2004/11/24 01:53:15 sem Exp $
#
# Tunables not (yet) configurable via 'make config':
# SQUID_{U,G}ID
#   Which user/group squid should run as (default: squid/squid).
#   The user and group will be created if they do not already exist using
#   a uid:gid of 100:100.
#   NOTE: before version 2.4.7_11, these settings defaulted to
#   nobody/nogroup.
#   If you wish to keep these settings, please define SQUID_UID=nobody and
#   SQUID_GID=nogroup in your make environment before you start the update.
#   NOTE2:
#   Before version 2.4_12 the numerical id chosen for SQUID_UID (and
#   SQUID_GID respectively) was the first free id greater than or equal 3128.
#   If you wish to move your squid user to id 100:100, run "make changeuser",
#   please see the changeuser target's definition for further information.
#
# SQUID_LANGUAGE
#   The set of error pages to be installed. Valid values are:
#    Bulgarian Czech Danish Dutch English Estonian Finnish
#    French German Hungarian Italian Japanese Korean Polish
#    Portuguese Romanian Russian-1251 Russian-koi8-r Serbian
#    Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese
#    Turkish
#   (default: English)
#
# SQUID_CONFIGURE_ARGS
#   Additional configuration options, see below for a list

PORTNAME=	squid
PORTVERSION=	2.4
PORTREVISION=	13
CATEGORIES=	www
MASTER_SITES=	\
		ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
		ftp://ftp.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
		ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \
		ftp://ftp.leo.org/pub/comp/general/infosys/www/servers/squid/%SUBDIR%/ \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,}
MASTER_SITE_SUBDIR=	squid-2/STABLE
DISTNAME=	squid-2.4.STABLE7
EXTRACT_SUFX=	-src.tar.gz
DIST_SUBDIR=	squid2.4

DEPRECATED=	This version no longer supported and contains vulnerabilities
EXPIRATION_DATE=2004-11-31

PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.4/bugs/
PATCHFILES=	squid-2.4.STABLE7-url_port.patch \
		squid-2.4.STABLE7-url_escape.patch
PATCH_DIST_STRIP=	-p1

MAINTAINER=	tmseck@@netcologne.de
COMMENT=	The successful WWW proxy cache and accelerator

CONFLICTS=	squid-2.[^4]*

GNU_CONFIGURE=	yes
STRIP=		# we need to strip the binaries manually
MAKEFILE=	makefile
USE_PERL5=	yes
USE_REINPLACE=	yes

LATEST_LINK=	squid24

SQUID_UID?=	squid
SQUID_GID?=	squid
SQUID_LANGUAGE?=	English

docs=		QUICKSTART README doc/debug-sections.txt
sbin=		RunAccel RunCache client squid \
		getpwnam_auth ncsa_auth yp_auth
libexec=	cachemgr.cgi diskd unlinkd msnt_auth pam_auth \
		smb_auth smb_auth.sh

OPTIONS=	SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \
		SQUID_DELAY_POOLS "Enable delay pools" off \
		SQUID_SNMP "Enable SNMP support" off \
		SQUID_CARP "Enable CARP support" off \
		SQUID_PINGER "Install the icmp helper" off \
		SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \
		SQUID_HTCP "Enable HTCP support" off \
		SQUID_VIA_DB "Enable forward/via database" off \
		SQUID_CACHE_DIGESTS "Enable cache digests" off \
		SQUID_WCCP "Enable Web Cache Coordination Protocol" on \
		SQUID_STRICT_HTTP "Be strictly HTTP compliant" off \
		SQUID_UNDERSCORES "Allow underscores in hostnames" on \
		SQUID_IDENT "Enable ident (RFC 931) lookups" on \
		SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off

CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin  --sysconfdir=${PREFIX}/etc/squid \
		--datadir=${PREFIX}/etc/squid \
		--libexecdir=${PREFIX}/libexec/squid \
		--localstatedir=${PREFIX}/squid \
		--enable-storeio="ufs diskd null" \
		--enable-removal-policies="lru heap" \
		--enable-err-language=${SQUID_LANGUAGE}

.include <bsd.port.pre.mk>

# Authentication methods and modules:

auth_modules=	MSNT NCSA PAM SMB YP getpwnam
.if defined(WITH_SQUID_LDAP_AUTH)
USE_OPENLDAP=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
auth_modules+=	LDAP
libexec+=	squid_ldap_auth
.endif

CONFIGURE_ARGS+=	--enable-auth-modules="${auth_modules}"

# Other options set via 'make config':

.if defined(WITH_SQUID_DELAY_POOLS)
CONFIGURE_ARGS+=	--enable-delay-pools
.endif
.if defined(WITH_SQUID_SNMP)
CONFIGURE_ARGS+=	--enable-snmp
.endif
.if defined(WITH_SQUID_CARP)
CONFIGURE_ARGS+=	--enable-carp
.endif
.if defined(WITH_SQUID_PINGER)
CONFIGURE_ARGS+=	--enable-icmp
libexec+=	pinger
.endif
.if defined(WITH_SQUID_DNS_HELPER)
CONFIGURE_ARGS+=	--disable-internal-dns
libexec+=	dnsserver
.endif
.if defined(WITH_SQUID_HTCP)
CONFIGURE_ARGS+=	--enable-htcp
.endif
.if defined(WITH_SQUID_VIA_DB)
CONFIGURE_ARGS+=	--enable-forw-via-db
.endif
.if defined(WITH_SQUID_CACHE_DIGESTS)
CONFIGURE_ARGS+=	--enable-cache-digests
.endif
.if defined(WITHOUT_SQUID_WCCP)
CONFIGURE_ARGS+=	--disable-wccp
.endif
.if !defined(WITHOUT_SQUID_UNDERSCORES)
CONFIGURE_ARGS+=	--enable-underscores
.endif
.if defined(WITH_SQUID_STRICT_HTTP)
CONFIGURE_ARGS+=	--disable-http-violations
.endif
.if defined(WITHOUT_SQUID_IDENT)
CONFIGURE_ARGS+=	--disable-ident-lookups
.endif
.if defined(WITH_SQUID_USERAGENT_LOG)
CONFIGURE_ARGS+=	--enable-useragent-log
.endif

.if !defined(NOPORTDOCS)
PORTDOCS=	${docs:T}
.endif
PLIST_DIRS=	libexec/squid
PLIST_FILES=	etc/rc.d/squid.sh etc/squid/mib.txt \
		etc/squid/mime.conf.default etc/squid/squid.conf.default
PLIST_FILES+=	${libexec:S/^/libexec\/squid\//} ${sbin:S/^/sbin\//}

# Other not so common configure options you can set via SQUID_CONFIGURE_ARGS:
# Please see the configure script in the squid source distribution for a
# complete list.
#
# --enable-dlmalloc
#  Compile and use the malloc package from Doug Lea
# --enable-gnuregex
#  Compile and use the supplied GNUregex routines instead of BSD regex.
# --enable-xmalloc-debug
#  Enable simple malloc debugging
# --enable-xmalloc-debug-count
#  Detailed trace of memory allocations
# --enable-xmalloc-statistics
#  Show malloc statistics in cachemgr status pages
# --enable-mem-gen-trace
#  Enable generic memory use tracing
# --enable-kill-parent-hack
#  Kill parent (eg: RunCache) on shutdown (use with great care!!)
# --enable-time-hack
#  Optimize time updates to one per second rather than calling gettimeofday()
# --enable-cachemgr-hostname=some.hostname
#  Set an explicit hostname in cachemgr.cgi
# --enable-truncate
#  Use truncate() rather than unlink()
#
# This option does not yet work on FreeBSD:
#
# --enable-ipf-transparent
#  Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#  (IPFilter headers are not currently installed to the base system,
#  PRs ports/60700 and misc/44148 describe the problem; see
#  http://www.squid-cache.org/Doc/FAQ/FAQ-17.html for information
#  about how to do transparent proxying with ipfw)
#
# --enable-ssl
#  This does not build anymore with recent OpenSSL versions

CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}

CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" \
		LDFLAGS="${LDFLAGS}"
post-patch:
	@@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

pre-configure:
	@@${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \
	    -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre

pre-install:
# Prevent installation of .orig files by deleting them.
	@@${FIND} ${WRKSRC} -name '*.bak' -delete
	@@${FIND} ${WRKSRC} -name '*.orig' -delete
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
	    -e 's|%%SQUID_UID%%|${SQUID_UID}|g' ${FILESDIR}/squid.sh \
	    >${WRKDIR}/squid.sh

pre-su-install:
	@@${SETENV} squid_user=${SQUID_UID} squid_group=${SQUID_GID} \
	    PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

post-install:
.if defined(WITH_SQUID_PINGER)
	cd ${WRKSRC}/src && make install-pinger
	${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger
	${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger
.endif
	${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR}
.endif
	-cd ${PREFIX}/libexec/squid && ${STRIP_CMD} ${libexec}
	-cd ${PREFIX}/sbin && ${STRIP_CMD} ${sbin}
	@@${SETENV} PKG_PREFIX=${PREFIX} \
	    ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

changeuser:
# Recover from the problem that earlier versions of this port created the
# squid pseudo-user with an id greater than 999 which is not allowed in
# FreeBSD's ports system. The port now uses id 100:100.
# NOTE:
# This target assumes that SQUID_GID is the primary group of SQUID_UID. If you
# have a different setup, do not run this target!
.if ${SQUID_UID:L} == nobody
	@@${ECHO_CMD} "'nobody' is a system user, you do not need to execute"; \
	${ECHO_CMD} "this target!"
	exit 1
.endif
	@@if [ `${ID} -u` -ne 0 ]; \
	then ${ECHO_CMD} "Sorry, you must be root to use this target."; exit 1; fi; \
	current_uid=`id -u ${SQUID_UID}`; \
	current_gid=`pw groupshow ${SQUID_GID}|cut -f 3 -d :`; \
	${ECHO_CMD} "I will remove this user:"; \
	${ID} -P $${current_uid}; \
	${ECHO_CMD} "and this group:"; \
	pw groupshow ${SQUID_GID}; \
	${ECHO_CMD} "I will then re-create them with a user and group id of 100."; \
	${ECHO_CMD} "Then all files and directories under ${PREFIX} and /var that"; \
	${ECHO_CMD} "are owned by uid $${current_uid} will be chown(1)'ed."; \
	${ECHO_CMD} "After that, all files and directories that were accessible"; \
	${ECHO_CMD} "by group $${current_gid} will chgrp(1)'ed respectively."; \
	${ECHO_CMD} "Note that this assumes group '${SQUID_GID}' to be the primary"; \
	${ECHO_CMD} "group of user '${SQUID_UID}'. If you have a different setup"; \
	${ECHO_CMD} "please abort this target now."; \
	read -p "Press RETURN to continue or CTRL-C to abort:" dummy ; \
	${ECHO_CMD} "OK, here we go:"; \
	${ECHO_CMD} "deleting user $${current_uid} and his primary group..."; \
	pw userdel -u $${current_uid}; \
	${ECHO_CMD} "adding user ${SQUID_UID} with id 100..."; \
	pw groupadd -n ${SQUID_GID} -g 100; \
	pw useradd -n ${SQUID_UID} -u 100 -c "squid caching-proxy pseudo user" \
	    -d ${PREFIX}/squid -s /sbin/nologin -h - ; \
	${ECHO_CMD} "chown(1)'ing everything under ${PREFIX} from $${current_uid} to 100..."; \
	${FIND} -H ${PREFIX} -user $${current_uid} -exec ${CHOWN} 100 {} \; ; \
	${ECHO_CMD} "chgrp(1)'ing everything under ${PREFIX} from $${current_gid} to 100..."; \
	${FIND} -H ${PREFIX} -group $${current_gid} -exec ${CHOWN} :100 {} \; ; \
	${ECHO_CMD} "chown(1)'ing everything under /var from $${current_uid} to 100..."; \
	${FIND} -H /var -user $${current_uid} -exec ${CHOWN} 100 {} \; ; \
	${ECHO_CMD} "chgrp(1)'ing everything under /var from $${current_gid} to 100..."; \
	${FIND} -H /var -group $${current_gid} -exec ${CHOWN} :100 {} \; ; \
	${ECHO_CMD} "Finished."

.include <bsd.port.post.mk>
@


1.108
log
@- Standardize an EXPIRATION_DATE format.

Approved by:	krion
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.107
log
@Oops, this port was already marked deprecated.  Combine the messages and
set the expiration date to the earlier one.

Submitted by:	tmseck@@netcologne.de (maintainer)
@
text
@d50 1
a50 1
EXPIRATION_DATE=31st October 2004
@


1.106
log
@Mark deprecated due to unpatched security vulnerability documented for
almost 7 months as
http://vuxml.freebsd.org/705e003a-7f36-11d8-9645-0020ed76ef5a.html

Additionally, squid-cache.org has this to say about the Squid 2.4
series:
``Other versions of Squid: Versions prior to the 2.5 series are
  deprecated, please update to Squid-2.5.STABLE5 if you are using a
  version older than 2.5.''
@
text
@d49 2
a50 2
DEPRECATED=	http://vuxml.freebsd.org/705e003a-7f36-11d8-9645-0020ed76ef5a.html (security)
EXPIRATION_DATE=November 21, 2004
a68 2
DEPRECATED=	This version of squid-2 is no longer officially supported
EXPIRATION_DATE=31st October 2004
@


1.105
log
@Reword EXPIRATION_DATE in preparation for bsd.port.mk commit
@
text
@d49 3
@


1.104
log
@Infrastructural synchronization with www/squid and misc fixes:
- fix CONFLICTS glob
- reinstate LATEST_LINK and name it squid24
- correct CFLAGS/LDFLAGS handling
- remove SQUID_SSL, it does no longer compile
- prefer /bin/sh's features over external programs
- reduce the number of variables in pkg-{de,}install
- no longer hardcode the path to nologin(8)
- inform about squid.sh's rcNG-ness when /etc/rc.subr is present
  at installation time
- other miscellaneous fixes
- schedule removal for the 31st October 2004
- bump PORTREVISION

PR:		ports/66142
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d67 1
a67 1
EXPIRATION_DATE=	on the 31st October 2004
@


1.103
log
@PR: ports/63652
Synchronize with www/squid.
@
text
@d10 1
a10 1
#   The user and group will be created if they do not already exist with
d36 1
a36 1
PORTREVISION=	12
d57 1
a57 1
CONFLICTS=	squid-2.[^4]
d60 1
a60 1
STRIP=		# won't install scripts correctly otherwise.
d65 1
a65 1
NO_LATEST_LINK=	yes
d67 1
a67 1
EXPIRATION_DATE=	when the next release of squid-2 is out
a82 1
		SQUID_SSL "Enable SSL support for reverse proxies" off \
d109 2
a110 2
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
a127 3
.if defined(WITH_SQUID_SSL)
CONFIGURE_ARGS+=	--enable-ssl
.endif
d148 1
a148 1
.if defined(WITH_SQUID_UNDERSCORES)
a169 1
#
d191 5
d198 9
a206 2
# --enable-truncate
#  Use truncate() rather than unlink()
d208 2
d218 3
d226 1
a226 1
	@@${SETENV} SQUID_USER=${SQUID_UID} SQUID_GROUP=${SQUID_GID} \
d235 1
a235 1
	${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh
d242 2
a243 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d257 1
a257 1
	@@if [ `id -u` -ne 0 ]; \
d262 1
a262 1
	id -P $${current_uid}; \
@


1.102
log
@- add two patches from squid-cache.org
- synchronize as much as possible with www/squid
- add SQUID_{U,G}ID and SQUID_LANGUAGE tunables
- utilize OPTIONS, PLIST_FILES, PLIST_DIRS, and USE_SIZE
- add a patch to make the LDAP helper at least compile
- add NO_LATEST_LINK and mark the port DEPRECATED
- bump PORTREVISION

PR:		ports/62443
Submitted by:	maintainer
@
text
@d10 2
a11 1
#   The user and group will be created if they do not already exist.
d15 6
d36 1
a36 1
PORTREVISION=	11
d57 1
a57 1
CONFLICTS=	squid-*
d231 46
@


1.101
log
@Forced commit - previous update should read:

PR:		61316
@
text
@d7 19
d29 1
a29 1
PORTREVISION=	10
d32 5
a36 5
	ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \
	ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \
	${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,}
d40 1
d43 3
a45 1
PATCHFILES=	
a51 3
DIST_SUBDIR=	squid2.4
PATCH_DIST_STRIP=	-p0

d53 3
d57 31
a87 3
USE_PERL5_RUN=	yes
USE_PERL5_BUILD=yes
# Follow the apache port's lead...
d89 2
d94 3
d98 1
a98 2
STRIP=		# won't install scripts correctly otherwise.
MAKEFILE=	makefile
d100 109
a208 64
# Some other configure options..
#  - Compile and use the malloc package from Doug Lea
#CONFIGURE_ARGS+= --enable-dlmalloc
#  - Compile and use the supplied GNUregex routines instead of BSD regex.
#CONFIGURE_ARGS+= --enable-gnuregex
#  - Enable simple malloc debugging
#CONFIGURE_ARGS+= --enable-xmalloc-debug
#  - Detailed trace of memory allocations
#CONFIGURE_ARGS+= --enable-xmalloc-debug-count
#  - Show malloc statistics in cachemgr status pages
#CONFIGURE_ARGS+= --enable-xmalloc-statistics
#  - Enable CARP support
#CONFIGURE_ARGS+= --enable-carp
#  - Enable ICMP pinging for heirarchy stats and selection
#CONFIGURE_ARGS+= --enable-icmp
#  - Enable delay pools to limit bandwidth usage
#CONFIGURE_ARGS+= --enable-delay-pools
#  - Enable generic memory use tracing
#CONFIGURE_ARGS+= --enable-mem-gen-trace
#  - Enable logging of the User-Agent header
#CONFIGURE_ARGS+= --enable-useragent-log
#  - Disable Web Cache Coordination Protocol
#CONFIGURE_ARGS+= --disable-wccp
#  - Kill parent (eg: RunCache) on shutdown (use with great care!!)
#CONFIGURE_ARGS+= --enable-kill-parent-hack
#  - Turn on SNMP server support
#CONFIGURE_ARGS+= --enable-snmp
#  - Optimize time updates to one per second rather than calling gettimeofday()
#CONFIGURE_ARGS+= --enable-time-hack
#  - Set an explicit hostname in cachemgr.cgi
#CONFIGURE_ARGS+= --enable-cachemgr-hostname=some.hostname
#  - Enable ACL based on ethernet address (eg: for machines with dynamic DHCP
#    assigned IP addresses)
#CONFIGURE_ARGS+= --enable-arp-acl
#  - Enable HTCP protocol
#CONFIGURE_ARGS+= --enable-htcp
#  - Enable Forw/Via database
#CONFIGURE_ARGS+= --enable-forw-via-db
#  - Use Cache Digests - see http://squid.nlanr.net/Squid/FAQ/FAQ-16.html
#CONFIGURE_ARGS+= --enable-cache-digests
#  - Select language for Error pages (see errors dir)
#CONFIGURE_ARGS+= --enable-err-language=lang
#  (--enable-poll is not needed, it's detected correctly on 3.0)
#  - Strict HTTP compliance
#CONFIGURE_ARGS+= --disable-http-violations
#  - Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#CONFIGURE_ARGS+= --enable-ipf-transparent
# (--enable-leakfinder is a developer support tool only)
#  - Compile out code that does optional Ident (RFC931) lookups
#CONFIGURE_ARGS+= --disable-ident-lookups
#  - Disable squid's internal async DNS lookup code.
#CONFIGURE_ARGS+= --disable-internal-dns
#  - Use truncate() rather than unlink()
#CONFIGURE_ARGS+= --enable-truncate
#  - accept the illegal '_' character in hostnames.
#CONFIGURE_ARGS+= --enable-underscores
#  - Enable control of different heap replacement algorithms at runtime.
#CONFIGURE_ARGS+= --enable-removal-policies='heap lru'

post-extract:
	@@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/squid.sh \
		> ${WRKSRC}/squid.sh
d211 13
a223 26
#	I don't think many people use the pinger nowadays, and if you
#	do you'll want squid in its own group so as to restrict access
#	to it.
#	cd ${WRKSRC}/src; make install-pinger
.for file in client squid
	if [ -f ${PREFIX}/sbin/${file} ] ; then \
		${STRIP_CMD} ${PREFIX}/sbin/${file} ; \
	fi
.endfor
.for file in cachemgr.cgi dnsserver pinger unlinkd
	if [ -f ${PREFIX}/libexec/${file} ] ; then \
		${STRIP_CMD} ${PREFIX}/libexec/${file} ; \
	fi
.endfor
	@@if [ ! -d ${PREFIX}/squid/logs ]; then			\
		${MKDIR} ${PREFIX}/squid/logs;		  	\
		${CHOWN} nobody:nogroup ${PREFIX}/squid/logs;   \
	fi
	@@if [ ! -d ${PREFIX}/squid/cache ]; then		\
		${MKDIR} ${PREFIX}/squid/cache;			\
		${CHOWN} nobody:nogroup ${PREFIX}/squid/cache;  \
	fi
	@@if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \
		${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
		${INSTALL_SCRIPT} -m 751 ${WRKSRC}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
	fi
d225 1
a225 1
.include <bsd.port.mk>
@


1.100
log
@- Add CONFLICTS [1]
- Pacify porlint

PR:		61315 [1]
Submitted by:	maintainer [1]
@
text
@@


1.99
log
@Thomas-Martin Seck has agreed to take over any remaining maintainence
duties of this port.  Note, however, from his email:

  As stated on ports@@ already, I would like to retire it ASAP. I am
  currently trying to get all consumers of it to depend on www/squid.

So consider this as a heads-up that this port will be delted at
some time in the future.
@
text
@d12 1
a12 1
MASTER_SITES=  \
d28 2
d31 2
a32 1
PATCH_DIST_STRIP= -p0
@


1.98
log
@Make portlint(1) happy by changing strip to ${STRIP_CMD}

Submitted by:	Oleg Karachevtsev <ok@@etrust.ru>
PR:		56998
@
text
@d25 1
a25 1
MAINTAINER=	adrian@@freebsd.org
@


1.97
log
@http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/37917
maintainer/commiter timeout (1 year)
@
text
@d115 1
a115 1
		strip ${PREFIX}/sbin/${file} ; \
d120 1
a120 1
		strip ${PREFIX}/libexec/${file} ; \
@


1.96
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d105 2
d133 1
a133 1
		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
@


1.95
log
@Applied patch from PR.

PR:		42747
@
text
@d26 1
@


1.94
log
@Use the updated --enable-removal-policies option

PR:		43787
@
text
@d120 8
a127 4
	${MKDIR} ${PREFIX}/squid/logs
	${CHOWN} nobody:nogroup ${PREFIX}/squid/logs
	${MKDIR} ${PREFIX}/squid/cache
	${CHOWN} nobody:nogroup ${PREFIX}/squid/cache
@


1.93
log
@Make www/squid24 building again.
Noticed on: bento

Approved by:	Adrian Chadd <adrian@@FreeBSD.org>
@
text
@d99 1
a99 1
#CONFIGURE_ARGS+= --enable-heap-replacement
@


1.92
log
@PRL -> REINPLACE
Noticed by: bento
@
text
@d31 2
@


1.91
log
@- Use MASTER_SITE_SUBDIR.
- Add MASTER_SITE_RINGSERVER to MASTER_SITES.
@
text
@d30 1
d100 2
a101 1
	@@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@


1.90
log
@Update squid port to squid-2.4stable7.
This fixes a few security bugs so users should upgrade.
(Thanks for the reminder! :)

PR:		40175
@
text
@d13 6
a18 4
	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/
@


1.89
log
@Update the squid24 port to Squid-2.4.STABLE6.

STABLE5 was a buggy release, so we're skipping that one.
@
text
@d10 1
a10 1
PORTREVISION=	9
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE6
@


1.88
log
@Fix a typo, spotted by des.
@
text
@d10 1
a10 1
PORTREVISION=	8
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE4
@


1.87
log
@Update the port to squid-2.4stable4 .
@
text
@d55 1
a55 1
#CONFIGURE+ARGS+= --enable-mem-gen-trace
@


1.86
log
@Update the port to squid-2.4STABLE3.

From the ChangeLog:

Changes to Squid-2.4.STABLE3 (Nov 28, 2001):

        - Fixed bug #255: core dump on SSL/CONNECT if access denied by
          miss_access
        - Fixed bug #246: corrupt on-disk meta information preventing
          rebuilds of lost swap.state files
        - Fixed bug #243: squid_ldap_auth now supports spaces in passwords
        - Fixed a coredump when creating FTP directories
        - Fixed a compile time problem with statHistDump prototype
	  mistmatch, reported by some compilers
        - Fixed a potential coredump situation on snmpwalk in certain
          configurations
        - Fixed bug #229: filedescriptor leakage in the "aufs" cache_dir
          store implementation
        - Serbian error message translations
@
text
@d10 1
a10 1
PORTREVISION=	7
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE3
@


1.85
log
@Remove the RunCache stuff and let squid handle its own child maintainence.
This now means that 'stop' as an argument works correctly, and doesn't
end up having squid restarted.

I've added some sleep code to wait for squid to complete its shutdown,
but I have commented it out for the time being as I don't know whether
its good practice to have your machine sleep during shutdown.
I'll research it some more. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.84 2001/08/28 16:48:35 adrian Exp $
d10 1
a10 1
PORTREVISION=	6
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE2
@


1.84
log
@* 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
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.83 2001/06/17 22:24:02 adrian Exp $
d10 1
a10 1
PORTREVISION=	5
@


1.83
log
@Make sure we don't delete mime.conf and squid.conf at package
uninstallation time if they've been modified.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.82 2001/04/10 14:41:19 adrian Exp $
d10 1
a10 1
PORTREVISION=	4
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE1
d21 1
a21 6
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
d115 1
d117 1
@


1.82
log
@PR:	26339

Fix the diskd path issue. diskd should now be found by squid and work happy.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.81 2001/04/03 09:06:34 adrian Exp $
d10 1
a10 1
PORTREVISION=	3
@


1.81
log
@Add the latest patch - a HTCP (cache control protocol, not a HTTP extension)
fix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.80 2001/03/31 11:41:18 adrian Exp $
d10 1
a10 1
PORTREVISION=	2
d25 2
a26 1
		squid-2.4.stable1-htcp_assertion_fix.patch
@


1.80
log
@Add some PATCHFILES to this port, and bump its PORTREVISION.

I ran off and updated the patch files on the squid website for 2.4.stable1,
and then updated this port to use them.

Note that diskd is still broken here - I haven't actually
committed a fix to squid yet .. :-P
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.79 2001/03/29 16:35:01 sobomax Exp $
d10 1
a10 1
PORTREVISION=	1
d24 2
a25 1
		squid-2.4.stable1-kill_parent_on_child_sigkill.patch
@


1.79
log
@-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.78 2001/03/27 12:56:41 adrian Exp $
d10 1
d21 4
a24 1
PATCHFILES=
@


1.78
log
@ .. and update the Makefile to indicate that its my port, built by me. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.77 2001/03/27 12:28:47 adrian Exp $
d96 1
a96 1
	@@${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
@


1.77
log
@PR:		26059

Update the squid-2.4 port to actually _be_ squid-2.4 . Phew.
This port builds, installs, packages, pkg_delete's cleanly.

I'm going to run it through some more linting and tidying up before
I'm completely done with it.

Differences from squid22/squid23 :

* install-pinger isn't built. I'll tackle this later, possibly by creating
  a squid user/group. I don't like having suid binaries installed,
  even more so when 99% of the users of this port won't even enable
  ICMP pinging.

* I've enabled the lru and heap replacement policies. LRU is used by
  default, the beauty here is that the user can choose one or the other
  without needing a recompile.

* I've enabled ufs (sync), diskd (async) and null (no caching, only proxying).
  This again lets users choose what they want without needing a recompile.
  The default is still a 100mb cache in /usr/local/squid/cache/ running
  ufs. I would change it to diskd but if the user hasn't tweaked their
  sysV shm/msg parameters sufficiently they'll just be puzzled when squid
  gives mysterious sysV errors (and if they load it up enough to have UFS
  become an issue, they'd be better off reading the squid FAQ anyhow..)
@
text
@d1 3
a3 3
# New ports collection makefile for:	squid
# Date created:		Thu Nov  7 00:53:18 WST 1996
# Whom:			Peter Wemm <peter@@freebsd.org>
d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.76 2001/02/19 13:15:19 olgeni Exp $
@


1.76
log
@Fix typo: othervise -> otherwise.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.75 2001/02/05 15:33:48 olgeni Exp $
d9 1
a9 1
PORTVERSION=	2.3
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE4
d19 2
a20 8
PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.3/bugs/
PATCHFILES=	squid-2.3.stable4-ftp_icon_not_found.patch \
		squid-2.3.stable4-internal_dns_rcode_table_formatting.patch \
		squid-2.3.stable4-ipfw_configure.patch \
		squid-2.3.stable4-invalid_ip_acl_entry.patch \
		squid-2.3.stable4-accel_only_access.patch \
		squid-2.3.stable4-html_quoting.patch \
		squid-2.3.stable4-carp-assertion.patch
d24 1
a24 1
DIST_SUBDIR=	squid2.3
d29 4
a32 1
		--localstatedir=${PREFIX}/squid
a48 2
#  - Use ASYNC disk I/O (Requires real threads, apparently runs on 3.0 libc_r)
#CONFIGURE_ARGS+= --enable-async-io
d99 4
a102 1
	cd ${WRKSRC}/src; make install-pinger
@


1.75
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.74 2001/01/12 06:46:04 peter Exp $
d36 1
a36 1
STRIP=		# won't install scripts correctly othervise.
@


1.74
log
@Pass the maintainership bit to adrian (who happens to be a squid committer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.73 2001/01/05 10:49:01 peter Exp $
d9 1
a9 1
PORTVERSION= 	2.3
@


1.73
log
@Long overdue update. Add some vendor supplied patches.

Nagged by: many folks
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.72 2000/07/28 07:27:34 sobomax Exp $
d28 1
a28 1
MAINTAINER=	peter@@freebsd.org
@


1.72
log
@Update to the latest 2.3.STABLE4 version plus official patches.

PR:		20211
Submitted by:	Naoki IDO <ido@@hitachi-ms.co.jp>
Reviewed by:	adrian
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.71 2000/07/05 12:37:02 tg Exp $
d12 1
a12 1
	ftp://squid.nlanr.net/pub/squid-2/STABLE/ \
d21 6
a26 1
		squid-2.3.stable4-internal_dns_rcode_table_formatting.patch
@


1.71
log
@As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.70 2000/06/01 06:49:50 sobomax Exp $
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE3
d20 2
a21 1
PATCHFILES=	squid-2.3.stable3-storeExpiredReferenceAge.patch
a30 1
CONFIGURE_ENV=	CFLAGS=""
d94 3
@


1.70
log
@Add an official patch.

Synopsis:

"If you fill up your squid cache, CPU will go to 100% but the cache will not be
cleaned up."

PR:		18920
Submitted by:	Mike Harding <mvh@@ix.netcom.com>
Obtained from:	http://www.squid-cache.org/Versions/v2/2.3/bugs/
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.69 2000/05/29 23:48:03 steve Exp $
d111 1
a111 5
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "	(cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; ${ECHO} -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "fi" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${CHMOD} 751 ${PREFIX}/etc/rc.d/squid.sh; \
@


1.69
log
@Correct a typo.

PR:		16476
Submitted by:	Christopher J. Michaels <cjm2@@altavista.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.68 2000/05/17 01:18:36 peter Exp $
d19 2
a20 2
#PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.3/bugs/
#PATCHFILES=	
@


1.68
log
@Update from squid 2.3-stable2 to 2.3-stable3.  Unfortunately the new
package version mechanism doesn't seem to have a place to show this new
release. :-(
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.67 2000/04/17 20:32:57 peter Exp $
d83 1
a83 1
# (--enable-leakfinfer is a developer support tool only)
@


1.67
log
@Update the squid23 port to fix a few loose ends:
- the distributed patches got regenerated to have the correct paths
- disable optimization because of gcc bugs (as recommended by squid folks)
- list a few new --enable/--disable options
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.66 2000/04/10 00:06:52 cpiazza Exp $
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE2
d19 2
a20 11
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 \
		squid-2.3.stable2-USE_DNSSERVER_part2.patch \
		squid-2.3.stable2-hostname_whitespace.patch \
		squid-2.3.stable2-netdb_exchange_loop.patch \
		squid-2.3.stable2-getMyHostname.patch \
		squid-2.3.stable2-redirected_username_logging.patch \
		squid-2.3.stable2-snmp-problems.patch \
		squid-2.3.stable2-getpwnam_return_value.patch \
		squid-2.3.stable2-mimeGetIconURL_returns_NULL.patch
@


1.66
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.65 2000/03/05 14:11:42 peter Exp $
d21 9
a29 1
		squid-2.3.stable2-USE_DNSSERVER.patch
d39 1
a42 6
.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

d66 2
d95 8
@


1.65
log
@Remove NO_LATEST_LINK - both squid ports had it, which obviously isn't
useful.
@
text
@a1 1
# Version required:	2.3.STABLE2
d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.64 2000/03/05 14:08:48 peter Exp $
d8 2
a9 2
DISTNAME=	squid-2.3.STABLE2
PKGNAME=	squid-2.3
d16 1
d71 1
a71 1
#  - Enable ACL based on ethernet address (eg: for machines with dynamic DHCP 
@


1.64
log
@Update to squid 2.3-stable2.  This has matured enough that it should
probably be used instead of -stable1 now.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.63 2000/01/29 20:13:16 peter Exp $
a32 1
NO_LATEST_LINK=	yes
@


1.63
log
@Update squid2.2-STABLE5 -> squid2.3-STABLE1 after a repo copy from
ports/www/squid22.
@
text
@d2 1
a2 1
# Version required:	2.3.STABLE1
d6 1
a6 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.62 1999/11/11 02:40:18 peter Exp $
d9 1
a9 1
DISTNAME=	squid-2.3.STABLE1
d19 4
d34 6
@


1.62
log
@Update from squid-2.2.STABLE4 -> squid-2.2.STABLE5
@
text
@d2 1
a2 1
# Version required:	2.2.STABLE5
d6 1
a6 1
# $FreeBSD: ports/www/squid22/Makefile,v 1.61 1999/08/31 02:43:16 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.2.STABLE5
PKGNAME=	squid-2.2
d21 1
a21 1
DIST_SUBDIR=	squid2.2
@


1.61
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# Version required:	2.2.STABLE3
d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=	squid-2.2.STABLE4
@


1.60
log
@echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.59 1999/08/22 19:00:55 mharo Exp $
@


1.59
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.58 1999/08/08 13:53:34 peter Exp $
d97 5
a101 5
		echo "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/squid.sh; \
		echo "if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "	(cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "fi" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.58
log
@Update from 2.2-STABLE3 -> 2.2-STABLE4
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.57 1999/06/05 19:58:02 mharo Exp $
d102 1
a102 1
		chmod 751 ${PREFIX}/etc/rc.d/squid.sh; \
@


1.57
log
@s,/usr/local,${PREFIX},g
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.56 1999/05/23 21:15:07 peter Exp $
d9 1
a9 1
DISTNAME=	squid-2.2.STABLE3
@


1.56
log
@Update from squid 2.1 -> 2.2 after repository copy.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.55 1999/04/18 06:46:51 max Exp $
d99 2
a100 2
		echo "if [ -x /usr/local/sbin/RunCache -a -f /usr/local/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "	(cd /tmp; /usr/local/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.55
log
@Update the MASTER_SITES.
@
text
@d2 1
a2 1
# Version required:	2.1.PATCH2
d6 1
a6 1
# $Id: Makefile,v 1.54 1998/12/26 15:55:47 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.1.PATCH2
PKGNAME=	squid-2.1
a18 3
PATCH_SITES=	http://squid.nlanr.net/Squid/v2/2.1/
PATCHFILES=	squid-2.1.PATCH2-clientHandleIMSReply-leak.patch

d21 1
a21 1
DIST_SUBDIR=	squid2.1
d78 3
@


1.54
log
@Update from squid 2.0 -> squid 2.1 (after repository copy)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.53 1998/10/19 12:12:45 peter Exp $
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-2/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-2/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-2/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-2/
@


1.53
log
@Add patches to bring up to 2.0 patchlevel 2
@
text
@d2 1
a2 1
# Version required:	2.0.RELEASE
d6 1
a6 1
# $Id: Makefile,v 1.52 1998/10/06 00:19:50 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.0.RELEASE
PKGNAME=	squid-2.0
d19 2
a20 3
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	diff-2.0.RELEASE-2.0.PATCH1.gz \
		diff-2.0.PATCH1-2.0.PATCH2.gz
d24 2
a25 2
DIST_SUBDIR=	squid2.0
PATCH_DIST_STRIP= -p1
d47 1
a47 1
#  - Use ASYNC disk I/O (Requires real pthreads)
a105 3

# Put on peril sensitive sunglasses in case of stupid GNU make v2.5!
PATCH:=         env POSIXLY_CORRECT=yes ${PATCH}
@


1.52
log
@Update from squid-1.2beta22 -> 2.0.RELEASE after a repository copy.
Squid 2.0 is the-version-formerly-known-as-1.2.
v2.0 has NOVM-like functionality internally, so there's no seperate
NOVM version.  v1.1.* is no longer officially supported.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.51 1998/06/09 15:08:06 peter Exp $
d19 3
a21 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta21-1.patches
d26 1
@


1.51
log
@Update from squid 1.2b20 -> 1.2b22
@
text
@d2 1
a2 1
# Version required:	1.2-beta22
d6 1
a6 1
# $Id: Makefile,v 1.50 1998/04/26 07:57:20 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta22
PKGNAME=	squid-1.2b22
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-1.2.beta/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.2.beta/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.2.beta/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.2.beta/
d24 1
a24 1
DIST_SUBDIR=	squid1.2b22
a37 2
#  - Use tree function to store ACL lists
#CONFIGURE_ARGS+= --enable-splaytree
d44 2
d50 2
a51 2
#  - Enable delay hack to limit bandwidth usage
#CONFIGURE_ARGS+= --enable-delay-hack
d57 1
a57 1
#CONFIGURE_ARGS+= --enable-kill-parent
d67 13
@


1.50
log
@Update from 1.2.beta19 -> 1.2.beta20 (+patch 1)
@
text
@d2 1
a2 1
# Version required:	1.2-beta20
d6 1
a6 1
# $Id: Makefile,v 1.49 1998/04/10 05:11:37 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta20
PKGNAME=	squid-1.2b20
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta20-1.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b20
@


1.49
log
@Update squid-1.2b18 -> 1.2.b19 (with dist patch)
Read ChangeLog for the large list of bugfixes/changes/new features.
@
text
@d2 1
a2 1
# Version required:	1.2-beta19
d6 1
a6 1
# $Id: Makefile,v 1.48 1998/03/26 13:29:12 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta19
PKGNAME=	squid-1.2b19
d20 1
a20 1
PATCHFILES+=    1.2.beta19.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b19
@


1.48
log
@Update squid-1.2beta17 -> 1.2beta18
@
text
@d2 1
a2 1
# Version required:	1.2-beta18
d6 1
a6 1
# $Id: Makefile,v 1.47 1998/03/20 14:00:51 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta18
PKGNAME=	squid-1.2b18
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta18.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b18
d39 1
a39 2
#CONFIGURE_ARGS+= --enable-acltree=bin
#CONFIGURE_ARGS+= --enable-acltree=splay
d46 1
a46 1
#  - Use ASYNC disk I/O (Requires real pthreads, libc_r probably doesn't work)
@


1.47
log
@Update squid 1.2.beta16 -> 1.2.beta17
@
text
@d2 1
a2 1
# Version required:	1.2-beta17
d6 1
a6 1
# $Id: Makefile,v 1.46 1998/03/09 03:35:09 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta17
PKGNAME=	squid-1.2b17
d20 1
a20 1
#PATCHFILES+=    1.2.beta17.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b17
d53 2
@


1.46
log
@Include the regularly-scheduled post-beta-release patch.
@
text
@d2 1
a2 1
# Version required:	1.2-beta16
d6 1
a6 1
# $Id: Makefile,v 1.45 1998/03/05 06:43:03 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta16
PKGNAME=	squid-1.2b16
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta16.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b16
@


1.45
log
@Update squid1.2.beta14 -> beta16.

Note: the b14 -> b15 change will loose your cache unless you take
the steps on http://squid.nlanr.net/ to recover it.

Read the Changelog for details, this is a fairly large update.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.44 1998/02/16 13:16:37 asami Exp $
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta16.patches
@


1.44
log
@Define NO_LATEST_LINK for net/ncftp3 and www/squid12 because these are
unstable betas with better versions in the tree.  (There are probably more
but these were the only ones I could pull off the top of my head.)
@
text
@d2 1
a2 1
# Version required:	1.2-beta14
d6 1
a6 1
# $Id: Makefile,v 1.43 1998/02/14 14:36:12 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta14
PKGNAME=	squid-1.2b14
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta14.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b14
@


1.43
log
@Argh.. yet another botch..  Sigh.. :-/

Pointed out by:	 Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.42 1998/02/14 03:12:37 peter Exp $
d31 1
@


1.42
log
@Include 1.2.beta14 patches

Submitted by:	Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.41 1998/02/09 01:35:20 peter Exp $
d74 2
a75 2
	if [ -f ${PREFIX}/sbin/${file} ] ; then \
		strip ${PREFIX}/sbin/${file} ; \
@


1.41
log
@I forgot to strip the binaries in the new locations, I missed this
change in the Makefile Evan sent me.

Submitted by:	Evan Champion <evanc@@piano.synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.40 1998/02/08 03:39:05 peter Exp $
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta14.patches
@


1.40
log
@Evan sent me a port update moments after I committed one.  Pick out some
of the changes he's made..  (Although I'm not so sure about moving the
cache to /var/spool/squid...)

Reviewed by:	Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.39 1998/02/08 03:04:58 peter Exp $
d68 6
a73 1
.for file in cachemgr.cgi client dnsserver pinger squid
@


1.39
log
@Update from 1.2.beta11 -> 1.2beta14
Major changes:
  - the URL and SHA cache key methods are gone, MD5 is the only option.
  - the swap.state system has been redesigned as a transaction log for
    much faster restarts and crash recovery.
  - SIZE on ftp binary transfers.
  - Lots of bug fixes and code cleanups.

From the web page; http://squid.nlanr.net/Squid/1.2.beta/

WARNING, with beta12 we are starting to stuff object metadata into
the beginning of objects on disk.  With beta13 we have changed the
"swap.state" file format to binary instead of text. When you run this
version for the first time you WILL LOSE YOUR CACHE!

The previous warning still stands:
This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.38 1998/01/21 03:06:06 peter Exp $
d27 2
a28 2
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/squid --bindir=${PREFIX}/sbin \
		--libexecdir=${PREFIX}/sbin --localstatedir=${PREFIX}/squid
a32 2
#  - Use ASYNC disk I/O (Requires real pthreads, libc_r probably doesn't work)
#CONFIGURE_ARGS+= --enable-async-io
d35 2
d40 8
a64 6
#  - Enable simple malloc debugging
#CONFIGURE_ARGS+= --enable-xmalloc-debug
#  - Detailed trace of memory allocations
#CONFIGURE_ARGS+= --enable-xmalloc-debug-count
#  - Show malloc statistics in cachemgr status pages
#CONFIGURE_ARGS+= --enable-xmalloc-statistics
@


1.38
log
@Update this for the benefit of the new broken patch.  Tell it to look at
Index: like posix says, rather than going into dummy mode.  The distributed
patches are generated with standard cvs and don't have ache's hack (which
doesn't work when new files are added anyway).
@
text
@d2 1
a2 1
# Version required:	1.2-beta11
d6 1
a6 1
# $Id: Makefile,v 1.37 1998/01/10 14:38:23 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta11
PKGNAME=	squid-1.2b11
d19 2
a20 5
# Note, these are generated with CVS and the new patch does not correctly
# apply them, so we have to force the new patch into better POSIX compliant
# mode. See end of Makefile.  See also post-extract.
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta11.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b11
a32 3
# - Use hash function as store index, instead of URL (trades CPU for memory)
#CONFIGURE_ARGS+= --enable-new-storekey=sha
#CONFIGURE_ARGS+= --enable-new-storekey=md5
a63 4
# For the benefit of the new broken patch.
post-extract:
	touch ${WRKSRC}/lib/malloc-2.6.4.c

d84 1
a84 1
# Stupid GNU Make 2.5!!!
@


1.37
log
@Update squid-1.2.beta10+dist_patches -> squid-1.2.beta11+dist_patches
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.36 1998/01/04 09:30:18 peter Exp $
d19 3
d70 3
d93 3
@


1.36
log
@Update 1.2b8 -> 1.2b10 (plus dist patch)
@
text
@d2 1
a2 1
# Version required:	1.2-beta10
d6 1
a6 1
# $Id: Makefile,v 1.35 1997/12/06 12:27:32 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta10
PKGNAME=	squid-1.2b10
d20 1
a20 1
PATCHFILES+=    1.2.beta10.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b10
a31 7
# To turn on SNMP, uncomment these three.  I'm not sure how this works,
# I think you need some sort of snmp multiplexor if you run another snmp
# server as well.
#MAKE_ENV+=	SQUID_SNMP="-DSQUID_SNMP=1"
#MAKE_ENV+=	SQUID_MIB="mib.txt"
#MAKE_ENV+=	SQUID_SNMP_LIBS="-L../snmplib -lsnmp"

d34 3
a36 3
#CONFIGURE_ARGS+= --enable-hashkey=sha
#CONFIGURE_ARGS+= --enable-hashkey=md5
#  - Use ASYNC disk I/O (Requires pthreads, probably doesn't work yet)
d38 28
a66 10
# There are several other configurable options in ${WRKSRC}/src/options.h[.in]
# CACHEMGR_HOSTNAME	- alternate method for cachemgr.cgi to get hostname
# USE_ICMP 1		- enable ICMP pings (using pinger) for selecting hosts.
# DELAY_HACK 1		- see code.
# USE_USERAGENT_LOG 1	- log user agents
# KILL_PARENT_OPT 1	- kill parent (such as runcache) on SIGTERM etc.
# USE_SPLAY_TREE 1	- use splay or binary trees for storing and searching
# USE_BIN_TREE 1	  the in-memory cache contents table.
# ALARM_UPDATES_TIME 1	- optimize gettimeofday calls (default on)
# USE_ARP_ACL 1		- enable ethernet hardware address ACL's
@


1.35
log
@Initial squid 1.2beta8 port.  As the squid www page says:
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"

"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.

Here is a brief list of the major features of this version:
   HTTP/1.1 persisitent connections.
   Lower VM usage; in-transit objects are not held fully in memory.
   Totally independent swap directories.
   Customizable error texts.
   FTP supported internally; no more ftpget.
   Asynchronous disk operations (optional, requires pthreads library).
   Internal icons for FTP and gopher directories.
   snprintf() used everywhere instead of sprintf().
   ...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.

Please see  http://squid.nlanr.net/Squid/1.2.beta/  before using.
@
text
@d2 1
a2 1
# Version required:	1.2-beta8
d6 1
a6 1
# $Id: Makefile,v 1.34 1997/11/01 11:10:35 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta8
PKGNAME=	squid-1.2b8
d20 1
a20 1
PATCHFILES+=    1.2.beta8.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b8
a31 15
# If you need to set any of these options, read the source and uncomment
# these if appropriate.
#MAKE_ENV+=	HOST_OPT="-DCACHEMGR_HOSTNAME=\"getfullhostname()\""
#MAKE_ENV+=	ICMP_OPT="-DUSE_ICMP=1"
#MAKE_ENV+=	DELAY_HACK="-DDELAY_HACK=1"
#MAKE_ENV+=	USERAGENT_OPT="-DUSE_USERAGENT_LOG=1"
#MAKE_ENV+=	KILL_PARENT_OPT="-DKILL_PARENT_OPT"
# do NOT define both USE_SPLAY_TREE and USE_BIN_TREE at the same time!
#MAKE_ENV+=	USE_SPLAY_TREE="-DUSE_SPLAY_TREE"
#MAKE_ENV+=	USE_BIN_TREE="-DUSE_BIN_TREE"
#MAKE_ENV+=	ALARM_UPDATES_TIME="-DALARM_UPDATES_TIME=1"
#MAKE_ENV+=	STORE_KEY_SHA="-DSTORE_KEY_SHA=1"
#MAKE_ENV+=	STORE_KEY_MD5="-DSTORE_KEY_MD5=1"
#MAKE_ENV+=	USE_ASYNC_IO="-DUSE_ASYNC_IO=1"

d39 17
@


1.34
log
@Update squid 1.1.17 -> 1.1.18
@
text
@d2 1
a2 1
# Version required:	1.1.18
d6 1
a6 1
# $Id: Makefile,v 1.33 1997/10/25 02:51:12 peter Exp $
d9 2
a10 1
DISTNAME=	squid-1.1.18
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-1.1/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.1/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.1/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.1/
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.11/
#PATCHFILES+=    config.h.in.patch long-dns-coredump.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.1.18
a34 2
#MAKE_ENV+=	AUTH_OPT="-DUSE_PROXY_AUTH=1"
#MAKE_ENV+=	LOG_HDRS_OPT="-DLOG_FULL_HEADERS=1"
a38 1
#MAKE_ENV+=	USE_POLL_OPT="-DUSE_POLL"
d42 12
a53 2
#MAKE_ENV+=	RELOAD_INTO_IMS="-DRELOAD_INTO_IMS"
#MAKE_ENV+=	UNDERSCORES_OPT="-DALLOW_HOSTNAME_UNDERSCORES"
d57 1
a57 1
.for file in cachemgr.cgi client dnsserver ftpget pinger squid
@


1.33
log
@Update 1.1.16 -> 1.1.17
@
text
@d2 1
a2 1
# Version required:	1.1.17
d6 1
a6 1
# $Id: Makefile,v 1.32 1997/09/07 13:08:51 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.17
d23 1
a23 1
DIST_SUBDIR=	squid1.1.17
d45 1
@


1.32
log
@Update 1.1.15 -> 1.1.16.  Minor fixes - the ChangeLog has the details.
@
text
@d2 1
a2 1
# Version required:	1.1.16
d6 1
a6 1
# $Id: Makefile,v 1.31 1997/08/13 02:59:41 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.16
d23 1
a23 1
DIST_SUBDIR=	squid1.1.16
@


1.31
log
@Update to squid 1.1.15,  Among the changes is the fix for fetch's very slow
tranfsers due to it's T/TCP-style send-request-and-half-shutdown query.
@
text
@d2 1
a2 1
# Version required:	1.1.15
d6 1
a6 1
# $Id: Makefile,v 1.30 1997/07/18 05:06:49 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.15
d23 1
a23 1
DIST_SUBDIR=	squid1.1.15
@


1.30
log
@Update squid-1.1.11 -> 1.1.14.  See ChangeLog for details, there are some
important fixes, but note that 1.1.12 and 1.1.13 were withdrawn due to
stability problems.
@
text
@d2 1
a2 1
# Version required:	1.1.14
d6 1
a6 1
# $Id: Makefile,v 1.29 1997/07/01 21:05:22 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.14
d23 1
a23 1
DIST_SUBDIR=	squid1.1.14
d44 1
@


1.29
log
@Update squid-1.1.10 to squid-1.1.11
@
text
@d2 1
a2 1
# Version required:	1.1.11
d6 1
a6 1
# $Id: Makefile,v 1.28 1997/05/17 19:54:45 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.11
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.11/
PATCHFILES+=    config.h.in.patch long-dns-coredump.patch
d23 1
a23 1
DIST_SUBDIR=	squid1111
@


1.28
log
@Oops, editor glitch..  (and my xterm scrollback proves it.. :-)
@
text
@d2 1
a2 1
# Version required:	1.1.10
d6 1
a6 1
# $Id: Makefile,v 1.27 1997/05/17 19:45:27 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.10
d18 2
a19 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.10/
#PATCHFILES+=    fixes.patch
d23 1
a23 1
DIST_SUBDIR=	squid1110
@


1.27
log
@Update 1.1.9 -> 1.1.10.  See ChangeLog for details.
@
text
@d2 1
a2 1
# Version required:	1.1.910
d6 1
a6 1
# $Id: Makefile,v 1.26 1997/03/31 11:14:41 peter Exp $
@


1.26
log
@Update 1.1.8+patches -> 1.1.9.

See ChangeLog for the (large) list of changes.
@
text
@d2 1
a2 1
# Version required:	1.1.9
d6 1
a6 1
# $Id: Makefile,v 1.25 1997/03/23 15:43:41 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.9
d18 1
a18 1
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.9/
d23 1
a23 1
DIST_SUBDIR=	squid119
@


1.25
log
@Use official patches from dist site.  Included is a possible fix to the
slowdown problem.

Note, I've changed the DIST_SUBDIR.. all the patches files seem to be
called "fixes.patch" and were colliding with each other.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.8
d6 1
a6 1
# $Id: Makefile,v 1.24 1997/03/04 12:03:23 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.8
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.8/
PATCHFILES+=    fixes.patch
d23 1
a23 1
DIST_SUBDIR=	squid118
d46 1
d48 3
a50 1
	strip ${PREFIX}/sbin/${file}
@


1.24
log
@Update from 1.1.7+patches to 1.1.8.  This fixes a number of unresolved
problems, including a patching braino on my part...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.23 1997/03/02 02:50:41 peter Exp $
d18 3
d23 1
a23 1
DIST_SUBDIR=	squid
@


1.23
log
@Update 1.1.6 -> 1.1.7 + vendor patches.

Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version.  It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
@
text
@d2 1
a2 1
# Version required:	1.1.7
d6 1
a6 1
# $Id: Makefile,v 1.22 1997/02/20 17:17:32 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.7
a16 5

#Sigh. cannot use this since the author botched it so badly. :-(
#see patches/patch-ab
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.7/
#PATCHFILES+=    fixes.patch
@


1.22
log
@Include patch distributed on the web page to tie up some problems:
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.6
d6 1
a6 1
# $Id: Makefile,v 1.21 1997/02/08 16:19:15 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.6
d18 4
a21 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.6/
PATCHFILES+=    fixes.patch
d43 3
a45 1
#MAKE_ENV+=	ANON_OPT="-DUSE_ANONYMIZER"
@


1.21
log
@Update 1.1.5+patches -> 1.1.6

Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details.  Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default.  This may require changes to the port to create a
user or something.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.20 1997/01/29 07:53:58 peter Exp $
d17 3
@


1.20
log
@Update 1.1.4+vendor patches to 1.1.5+vendor patches
@
text
@d2 1
a2 1
# Version required:	1.1.5
d6 1
a6 1
# $Id: Makefile,v 1.19 1997/01/24 10:30:38 asami Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.5
a16 3

PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.5/
PATCHFILES+=    acl.c.patch main.c.patch redirect.c.patch
@


1.19
log
@Put DIST_SUBDIR in right place.
@
text
@d2 1
a2 1
# Version required:	1.1.4
d6 1
a6 1
# $Id: Makefile,v 1.18 1997/01/19 03:24:12 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.4
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.4/
PATCHFILES+=    ftpget.c.patch icp.c.patch ipcache.c.patch neighbors.c.patch
@


1.18
log
@Update 1.1.3 -> 1.1.4 + distributed patches

Among the changes are some patches submitted to the maintainers by
yours truly to improve the password support in cachemgr.cgi.  It also
reports the resource "maxrss" correctly for what it is.

The distributed patches to 1.1.4:
    * ftpget.c.patch: Changes the default MIME type to
      "application/octet-stream" and fixes directory listings from
      NetWare servers.
    * icp.c.patch: Fixes "Unknown status reply from server: 0!" error
      messages in Netscape.
    * ipcache.c.patch: Fixes ipcache_dnsHandleRead() coredumps.
    * neighbors.c.patch: Fixes BIT_SET/BIT_TEST typo in
      getDefaultParent().

Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.17 1997/01/07 18:49:06 peter Exp $
a20 2
DIST_SUBDIR=	squid

d23 1
@


1.17
log
@Update 1.1.2 -> 1.1.3
@
text
@d2 1
a2 1
# Version required:	1.1.3
d6 1
a6 1
# $Id: Makefile,v 1.16 1996/12/26 22:00:45 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.3
d18 5
d31 12
@


1.16
log
@Update 1.1.1 -> 1.1.2
The usual bug fixes, including one that prevented ftp objects being
cached (they immediately timed out).....
@
text
@d2 1
a2 1
# Version required:	1.1.2
d6 1
a6 1
# $Id: Makefile,v 1.15 1996/12/16 06:42:14 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.2
d31 2
a32 2
	${MKDIR} -p ${PREFIX}/squid/logs
	${MKDIR} -p ${PREFIX}/squid/cache
@


1.15
log
@Update 1.1.0 -> 1.1.1 ; from the Changelog:
- Fixed announcement bug.  Announcements were always off unless
  a file was specified.
- Fixed wrong number of args to examine_select() debug.
- Fixed null-string content-type
- Don't cache replies with 'Set-Cookie:' headers.
- Fixed bug when client issues IMS, Squid has stale object and
  Squid's lastmod time is greater than the client IMS time.
  A 304 reply would be appropriate for Squid, but not the client
  (diagnosed by Mark Treacy).
- Fixed httpBuildRequestHeader() content length bug which breaks for
  really large POST requests (Takahiro Yugawa).
- Fixed 'passthrough_proxy' to pick up port number from list of
  neighbors.
- Ensure pid file is world-readable if umask is set otherwise
  (Doug Urner).
- Collect statistics on a few more HTTP headers.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.1
d6 1
a6 1
# $Id: Makefile,v 1.14 1996/12/07 06:25:26 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.1
@


1.14
log
@Update 1.1.beta28 -> 1.1.0
@
text
@d2 1
a2 1
# Version required:	1.1.0
d6 1
a6 1
# $Id: Makefile,v 1.13 1996/12/06 11:17:57 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.0
@


1.13
log
@Update 1.1.beta27 to 1.1.beta28.

This fixes some small bugs, including a CR/LF problem and (I think) two
problems with aborting.  The author has hinted that this might be the last
beta before 1.1.0.
@
text
@d2 1
a2 1
# Version required:	1.1.beta28
d6 1
a6 1
# $Id: Makefile,v 1.12 1996/12/05 08:42:50 peter Exp $
d9 1
a9 2
DISTNAME=	squid-1.1.beta28
PKGNAME=	squid-1.1b28
d12 4
a15 4
	ftp://squid.nlanr.net/pub/squid-1.1.beta/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.1.beta/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.1.beta/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.1.beta/
@


1.12
log
@Update 1.1beta26 -> 1.1beta27

Among the changes is a strcasecmp() fix to make POST operations work.
@
text
@d2 1
a2 1
# Version required:	1.1.beta27
d6 1
a6 1
# $Id: Makefile,v 1.11 1996/12/04 15:58:27 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta27
PKGNAME=	squid-1.1b27
@


1.11
log
@Update 1.1.beta25 -> 1.1.beta26

Among the changes:
 - remove patch-aa, it's now in the standard distribution
 - checks for libgnumalloc for <= FreeBSD-2.1.x systems to avoid the
   nasty libc malloc problems.
 - more useful data in the logs
 - support for poll() syscall with unlimited number of file descriptors
   if present instead of select()'s restrictions.
   (Standard FreeBSD doesn't yet have poll()..)
 - the usual bug fixes
@
text
@d2 1
a2 1
# Version required:	1.1.beta26
d6 1
a6 1
# $Id: Makefile,v 1.10 1996/12/02 09:52:27 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta26
PKGNAME=	squid-1.1b26
@


1.10
log
@Update 1.1.beta20 to 1.1.beta25

Lots of changes, see ChangeLog

Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta25
d6 1
a6 1
# $Id: Makefile,v 1.9 1996/11/22 14:06:11 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta25
PKGNAME=	squid-1.1b25
@


1.9
log
@Update 1.1beta19 to 1.1beta20 - more bug fixes.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta20
d6 1
a6 1
# $Id: Makefile,v 1.8 1996/11/18 11:41:50 asami Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta20
PKGNAME=	squid-1.1b20
@


1.8
log
@Use MAN? macros.  CATEGORIES+= -> CATEGORIES.
@
text
@d2 1
a2 1
# Version required:	1.1.beta19
d6 1
a6 1
# $Id: Makefile,v 1.7 1996/11/15 12:41:53 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta19
PKGNAME=	squid-1.1b19
@


1.7
log
@Update 1.1.beta16 -> 1.1.beta19

Mostly bug fixes.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1996/11/12 08:38:31 peter Exp $
d11 1
a11 1
CATEGORIES+=	www
@


1.6
log
@Update 1.1.beta13 -> 1.1.beta16

Included in this update:
 - large objects fix, apparently large objects could get stuck (eg:
   netscape, msie downloads etc)
 - configurable 1st and 2nd level directory hash sizes
 - can have a password in squid.conf for cachemgr.cgi
 - POST is now passthrough
 - other bugfixes
 - other new features and corresponding bugfixes :-)
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta16
d6 1
a6 1
# $Id: Makefile,v 1.5 1996/11/12 08:26:06 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta16
PKGNAME=	squid-1.1b16
d32 2
a33 2
	${MKDIR} ${PREFIX}/squid/logs
	${MKDIR} ${PREFIX}/squid/cache
@


1.5
log
@Shorten PKGNAME
Don't send RunCache's output to /dev/console when run from the rc.d script,
it's a bit messy and unneeded.

Reviewed by:
Submitted by:	asami
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta13
d6 1
a6 1
# $Id: Makefile,v 1.4 1996/11/06 17:20:53 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta13
PKGNAME=	squid-1.1b13
@


1.4
log
@Squid-1.1.beta13.  This was a little unusual in that the www/squid ncvs
files were repository copied to www/squid11, then this commit brings it
to 1.1.b13.  (This was Satoshi's idea :-) It preserves the history)

Squid-1.0 and 1.1 are under parallel development, kinda like when we had
2.1-stable and 2.2-current in parallel development.  The 1.0 code is well
polished, and 1.1 is "on the bleeding edge" as such.  The features and
performance are much improved, but it can be a bit hair-raising.  I
personally have no major hassles with 1.1beta13.

Among the nicer things that this version has over 1.0:
- URL redirector..  ie: you can rewrite url's of sites with "mirrors"
  so that you don't have 15 copies of the same files.
- optional ident logging
- improved acl's
- dramatically improved cache directory structure (scales much better with
  gigantic disk caches)
- much improved DNS ttl handling (esp. with resolver hack)
- more control over neighbor status; parent, sibling etc.
- much improved refresh rules to help combat stupid sites that needlessly
  set the Expires: field to zero when it doesn't need to be.  (This is fine
  when it's genuinely needed, but some sites really abuse it to to attempt
  to negate caching to get inflated hit counts etc)
Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1996/11/06 16:37:10 peter Exp $
d10 1
d38 1
a38 1
		echo "	(cd /tmp; /usr/local/sbin/RunCache &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.3
log
@Update from squid-1.0.0 to 1.0.20.  There are a large number of bug fixes
and stability measures.

This port installs in a "FreeBSD-native" tree (like apache) rather than
with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...}

(the default behavior seems to have changed between 1.0.0 and 1.0.20)

Also, build a rc.d/squid.sh script.
@
text
@d2 3
a4 3
# Version required:	1.0.20
# Date created:		Fri May 17 04:02:53 EET DST 1996
# Whom:			Andrew Stesin <stesin@@elvisti.kiev.ua>
d6 1
a6 1
# $Id: Makefile,v 1.2 1996/07/10 21:48:58 asami Exp $
d9 1
a9 1
DISTNAME=	squid-1.0.20
d12 4
a15 4
	ftp://squid.nlanr.net/pub/squid-1.0/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.0/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.0/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.0/
d18 1
a18 1
MAINTAINER=	stesin@@elvisti.kiev.ua
d28 1
a28 1
.for file in cachemgr.cgi client dnsserver ftpget squid
@


1.2
log
@Upgrade from 1.0 beta11 to 1.0 release.

Submitted by:	Andrew Stesin <stesin@@elvisti.kiev.ua>
@
text
@d2 1
a2 1
# Version required:	1.0.0
d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1996/06/03 02:21:13 asami Exp $
d9 1
a9 2
DISTNAME=	squid-1.0.0
PKGNAME=	squid-1.0
d12 4
a15 4
	ftp://www.nlanr.net/Software/Squid/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/ \
	ftp://ftp.net.lut.ac.uk/squid/
d21 3
a23 2
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
CONFIGURE_ENV=	env "STD_CFLAGS=${CFLAGS}"
d25 1
d29 1
a29 1
	strip ${PREFIX}/bin/${file}
d31 10
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:	1.0.beta11
d6 1
a6 1
# $Id$
d9 2
a10 2
DISTNAME=	squid-1.0.beta11
PKGNAME=	squid-1.0b11
d12 1
a12 1
MASTER_SITES=  ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/ \
d14 1
d19 1
a19 1
MAINTAINER=		stesin@@elvisti.kiev.ua
@


1.1.1.1
log
@A post-harvest www cache proxy.

Submitted by:	Andrew V. Stesin <stesin@@elvisti.kiev.ua> and Peter Stubbs <PETERS@@staidan.qld.edu.au>
@
text
@@
