summaryrefslogtreecommitdiff
path: root/www/squid22/Makefile
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-12-06 12:28:14 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-12-06 12:28:14 +0000
commit63a33a0692382edb0ebefcbc5a3716cf8c607e38 (patch)
tree024f90ae54c4d89d7bdd4560706c3ae2d41c2f2e /www/squid22/Makefile
parentUpdate version number in PLIST (diff)
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.
Notes
Notes: svn path=/head/; revision=9004
Diffstat (limited to 'www/squid22/Makefile')
-rw-r--r--www/squid22/Makefile40
1 files changed, 24 insertions, 16 deletions
diff --git a/www/squid22/Makefile b/www/squid22/Makefile
index a1ac89a14a7c..716395f91aa5 100644
--- a/www/squid22/Makefile
+++ b/www/squid22/Makefile
@@ -1,26 +1,27 @@
# New ports collection makefile for: squid
-# Version required: 1.1.18
+# Version required: 1.2-beta8
# Date created: Thu Nov 7 00:53:18 WST 1996
# Whom: Peter Wemm <peter@freebsd.org>
#
-# $Id: Makefile,v 1.33 1997/10/25 02:51:12 peter Exp $
+# $Id: Makefile,v 1.34 1997/11/01 11:10:35 peter Exp $
#
-DISTNAME= squid-1.1.18
+DISTNAME= squid-1.2.beta8
+PKGNAME= squid-1.2b8
CATEGORIES= www
MASTER_SITES= \
- 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/
+ 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/
EXTRACT_SUFX= -src.tar.gz
-#PATCH_SITES+= http://squid.nlanr.net/Squid/1.1/1.1.11/
-#PATCHFILES+= config.h.in.patch long-dns-coredump.patch
+PATCH_SITES+= http://squid.nlanr.net/Squid/1.2.beta/
+PATCHFILES+= 1.2.beta8.patches
MAINTAINER= peter@freebsd.org
-DIST_SUBDIR= squid1.1.18
+DIST_SUBDIR= squid1.2b8
GNU_CONFIGURE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/squid --bindir=${PREFIX}/sbin \
@@ -31,22 +32,29 @@ MAKEFILE= makefile
# 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+= AUTH_OPT="-DUSE_PROXY_AUTH=1"
-#MAKE_ENV+= LOG_HDRS_OPT="-DLOG_FULL_HEADERS=1"
#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"
-#MAKE_ENV+= USE_POLL_OPT="-DUSE_POLL"
# 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+= RELOAD_INTO_IMS="-DRELOAD_INTO_IMS"
-#MAKE_ENV+= UNDERSCORES_OPT="-DALLOW_HOSTNAME_UNDERSCORES"
+#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"
+
+# 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"
+
post-install:
cd ${WRKSRC}/src; make install-pinger
-.for file in cachemgr.cgi client dnsserver ftpget pinger squid
+.for file in cachemgr.cgi client dnsserver pinger squid
if [ -f ${PREFIX}/sbin/${file} ] ; then \
strip ${PREFIX}/sbin/${file} ; \
fi