diff options
Diffstat (limited to 'www/squid25')
-rw-r--r-- | www/squid25/Makefile | 126 | ||||
-rw-r--r-- | www/squid25/distinfo | 7 | ||||
-rw-r--r-- | www/squid25/files/squid.sh | 21 | ||||
-rw-r--r-- | www/squid25/pkg-comment | 1 | ||||
-rw-r--r-- | www/squid25/pkg-descr | 17 | ||||
-rw-r--r-- | www/squid25/pkg-install | 45 | ||||
-rw-r--r-- | www/squid25/pkg-plist | 79 |
7 files changed, 0 insertions, 296 deletions
diff --git a/www/squid25/Makefile b/www/squid25/Makefile deleted file mode 100644 index 5b71dc952dd7..000000000000 --- a/www/squid25/Makefile +++ /dev/null @@ -1,126 +0,0 @@ -# New ports collection makefile for: squid24 -# Date created: Tue Mar 27 14:56:08 CEST 2001 -# Whom: Adrian Chadd <adrian@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= squid -PORTVERSION= 2.4 -PORTREVISION= 3 -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 -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 - -MAINTAINER= adrian@freebsd.org - -DIST_SUBDIR= squid2.4 -PATCH_DIST_STRIP= -p0 -GNU_CONFIGURE= yes -# Follow the apache port's lead... -CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \ - --localstatedir=${PREFIX}/squid \ - --enable-storeio="ufs diskd null" \ - --enable-removal-policies="lru heap" \ - -STRIP= # won't install scripts correctly otherwise. -MAKEFILE= makefile - -# 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-heap-replacement - -post-extract: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - -post-install: -# 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 ${PREFIX}/sbin/${file} ; \ - fi -.endfor -.for file in cachemgr.cgi dnsserver pinger unlinkd - if [ -f ${PREFIX}/libexec/${file} ] ; then \ - strip ${PREFIX}/libexec/${file} ; \ - fi -.endfor - ${MKDIR} ${PREFIX}/squid/logs - ${MKDIR} ${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; \ - fi - -.include <bsd.port.mk> diff --git a/www/squid25/distinfo b/www/squid25/distinfo deleted file mode 100644 index 5e1301505188..000000000000 --- a/www/squid25/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -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 diff --git a/www/squid25/files/squid.sh b/www/squid25/files/squid.sh deleted file mode 100644 index e9a3144e8c93..000000000000 --- a/www/squid25/files/squid.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then - (cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid' - fi - ;; -stop) - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/www/squid25/pkg-comment b/www/squid25/pkg-comment deleted file mode 100644 index eec4966b0f07..000000000000 --- a/www/squid25/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The successful WWW proxy cache and accelerator diff --git a/www/squid25/pkg-descr b/www/squid25/pkg-descr deleted file mode 100644 index a030d6c271b8..000000000000 --- a/www/squid25/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -This is the Squid Internet Object Cache developed by the National -Laboratory for Applied Networking Research (NLANR) and Internet -volunteers. This software is freely available for anyone to use. - -This software is based on the Harvest Object Cache developed by -the University of Colorado and the University of Southern California. -The Harvest home page is http://harvest.cs.colorado.edu/. - -ARPA funding for the Harvest project has ended, the squid project has -continued development of the cache where Harvest finished. - -FreeBSD PORTER'S NOTES. To this moment, Squid is not well documented. -But you aren't lost in space: there is a mailing list, -<squid-users@squid-cache.org>, where you will find some support and help. -We also _strongly_ suggest you to examine Web pages noted above. - -WWW: http://www.squid-cache.org/ diff --git a/www/squid25/pkg-install b/www/squid25/pkg-install deleted file mode 100644 index 82f6605be3a2..000000000000 --- a/www/squid25/pkg-install +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -PKGNAME=$1 - -case $2 in - PRE-INSTALL) - ;; - POST-INSTALL) - echo "==> Post-installation configuration of ${PKGNAME}" - echo "" - echo " o you DO need running nameservice to start and run ${PKGNAME}" - echo "" - echo " o use the ${PKGNAME} proxy and caching WWW Server by" - echo " configuring your WWW Navigator (Netscape, Mosaic,...)" - echo " to use it as a proxy server." - echo "" - echo " o Note that before you can run ${PKGNAME} you will" - echo " need to initialise the cache directory." - echo " You can do this by typing \"squid -z\"." - echo "" - echo "==> Press Enter to edit the ${PKGNAME} config file." - echo " (The defaults are reasonable; and the file is well commented)" - tput md - echo " You'd certainly like to pay attention to the" - echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" - tput me - if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi - chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* - chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* - [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ - cp -fp ${PREFIX:-/usr/local}/etc/squid/squid.conf.default \ - ${PREFIX:-/usr/local}/etc/squid/squid.conf - [ -f ${PREFIX:-/usr/local}/etc/squid/mime.conf ] || \ - cp -fp ${PREFIX:-/usr/local}/etc/squid/mime.conf.default \ - ${PREFIX:-/usr/local}/etc/squid/mime.conf - ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid/squid.conf \ - ${PREFIX:-/usr/local}/etc/squid/mime.conf - ;; - *) - echo "Unexpected Argument $2!!!" - exit 1 - ;; -esac -exit 0 - diff --git a/www/squid25/pkg-plist b/www/squid25/pkg-plist deleted file mode 100644 index 38572224f947..000000000000 --- a/www/squid25/pkg-plist +++ /dev/null @@ -1,79 +0,0 @@ -etc/rc.d/squid.sh -etc/squid/mib.txt -etc/squid/squid.conf.default -etc/squid/squid.conf -etc/squid/mime.conf.default -etc/squid/mime.conf -etc/squid/icons/anthony-binhex.gif -etc/squid/icons/anthony-bomb.gif -etc/squid/icons/anthony-box.gif -etc/squid/icons/anthony-box2.gif -etc/squid/icons/anthony-c.gif -etc/squid/icons/anthony-compressed.gif -etc/squid/icons/anthony-dir.gif -etc/squid/icons/anthony-dirup.gif -etc/squid/icons/anthony-dvi.gif -etc/squid/icons/anthony-f.gif -etc/squid/icons/anthony-image.gif -etc/squid/icons/anthony-image2.gif -etc/squid/icons/anthony-layout.gif -etc/squid/icons/anthony-link.gif -etc/squid/icons/anthony-movie.gif -etc/squid/icons/anthony-pdf.gif -etc/squid/icons/anthony-portal.gif -etc/squid/icons/anthony-ps.gif -etc/squid/icons/anthony-quill.gif -etc/squid/icons/anthony-script.gif -etc/squid/icons/anthony-sound.gif -etc/squid/icons/anthony-tar.gif -etc/squid/icons/anthony-tex.gif -etc/squid/icons/anthony-text.gif -etc/squid/icons/anthony-unknown.gif -etc/squid/icons/anthony-xbm.gif -etc/squid/icons/anthony-xpm.gif -etc/squid/errors/ERR_ACCESS_DENIED -etc/squid/errors/ERR_CACHE_ACCESS_DENIED -etc/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED -etc/squid/errors/ERR_CANNOT_FORWARD -etc/squid/errors/ERR_CONNECT_FAIL -etc/squid/errors/ERR_DNS_FAIL -etc/squid/errors/ERR_FORWARDING_DENIED -etc/squid/errors/ERR_FTP_DISABLED -etc/squid/errors/ERR_FTP_FAILURE -etc/squid/errors/ERR_FTP_FORBIDDEN -etc/squid/errors/ERR_FTP_NOT_FOUND -etc/squid/errors/ERR_FTP_PUT_CREATED -etc/squid/errors/ERR_FTP_PUT_ERROR -etc/squid/errors/ERR_FTP_PUT_MODIFIED -etc/squid/errors/ERR_FTP_UNAVAILABLE -etc/squid/errors/ERR_INVALID_REQ -etc/squid/errors/ERR_INVALID_URL -etc/squid/errors/ERR_LIFETIME_EXP -etc/squid/errors/ERR_NO_RELAY -etc/squid/errors/ERR_ONLY_IF_CACHED_MISS -etc/squid/errors/ERR_READ_ERROR -etc/squid/errors/ERR_READ_TIMEOUT -etc/squid/errors/ERR_SHUTTING_DOWN -etc/squid/errors/ERR_SOCKET_FAILURE -etc/squid/errors/ERR_TOO_BIG -etc/squid/errors/ERR_UNSUP_REQ -etc/squid/errors/ERR_URN_RESOLVE -etc/squid/errors/ERR_WRITE_ERROR -etc/squid/errors/ERR_ZERO_SIZE_OBJECT -libexec/diskd -libexec/unlinkd -libexec/cachemgr.cgi -sbin/RunCache -sbin/RunAccel -sbin/squid -sbin/client -@exec mkdir -p %D/squid/cache -@exec chown nobody:nogroup %D/squid/cache -@exec mkdir -p %D/squid/logs -@exec chown nobody:nogroup %D/squid/logs -@dirrm etc/squid/icons -@dirrm etc/squid/errors -@dirrm etc/squid -@dirrm squid/logs -@dirrm squid/cache -@dirrm squid |