diff options
author | asami <asami@FreeBSD.org> | 1996-06-03 10:21:13 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-06-03 10:21:13 +0800 |
commit | 481ccf5caea856d90f8348a60fbf6b32a91fb891 (patch) | |
tree | 5561645790c0d55e8a3b16bc823f9dca4b5ab8f1 /www/squid24 | |
parent | f9d4c4e77809771014f306b48d0aaa9bab6e3966 (diff) | |
download | freebsd-ports-gnome-481ccf5caea856d90f8348a60fbf6b32a91fb891.tar.gz freebsd-ports-gnome-481ccf5caea856d90f8348a60fbf6b32a91fb891.tar.zst freebsd-ports-gnome-481ccf5caea856d90f8348a60fbf6b32a91fb891.zip |
A post-harvest www cache proxy.
Submitted by: Andrew V. Stesin <stesin@elvisti.kiev.ua> and Peter Stubbs <PETERS@staidan.qld.edu.au>
Diffstat (limited to 'www/squid24')
-rw-r--r-- | www/squid24/Makefile | 30 | ||||
-rw-r--r-- | www/squid24/distinfo | 1 | ||||
-rw-r--r-- | www/squid24/pkg-comment | 1 | ||||
-rw-r--r-- | www/squid24/pkg-descr | 8 | ||||
-rw-r--r-- | www/squid24/pkg-install | 36 | ||||
-rw-r--r-- | www/squid24/pkg-plist | 9 |
6 files changed, 85 insertions, 0 deletions
diff --git a/www/squid24/Makefile b/www/squid24/Makefile new file mode 100644 index 000000000000..0207ae8f4d12 --- /dev/null +++ b/www/squid24/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: squid +# Version required: 1.0.beta11 +# Date created: Fri May 17 04:02:53 EET DST 1996 +# Whom: Andrew Stesin <stesin@elvisti.kiev.ua> +# +# $Id$ +# + +DISTNAME= squid-1.0.beta11 +PKGNAME= squid-1.0b11 +CATEGORIES+= www +MASTER_SITES= ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/ \ + ftp://www.nlanr.net/Software/Squid/ \ + ftp://sunsite.auc.dk/pub/infosystems/squid/ \ + ftp://ftp.net.lut.ac.uk/squid/ +EXTRACT_SUFX= -src.tar.gz + +MAINTAINER= stesin@elvisti.kiev.ua + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc +CONFIGURE_ENV= env "STD_CFLAGS=${CFLAGS}" +STRIP= # won't install scripts correctly othervise. + +post-install: +.for file in cachemgr.cgi client dnsserver ftpget squid + strip ${PREFIX}/bin/${file} +.endfor + +.include <bsd.port.mk> diff --git a/www/squid24/distinfo b/www/squid24/distinfo new file mode 100644 index 000000000000..5b8bf8d65dc9 --- /dev/null +++ b/www/squid24/distinfo @@ -0,0 +1 @@ +MD5 (squid-1.0.beta11-src.tar.gz) = f94d88cf76ef3b3076f271ace113780e diff --git a/www/squid24/pkg-comment b/www/squid24/pkg-comment new file mode 100644 index 000000000000..f03c05776742 --- /dev/null +++ b/www/squid24/pkg-comment @@ -0,0 +1 @@ +Post-Harvest_cached WWW accelerator diff --git a/www/squid24/pkg-descr b/www/squid24/pkg-descr new file mode 100644 index 000000000000..325c5a5df976 --- /dev/null +++ b/www/squid24/pkg-descr @@ -0,0 +1,8 @@ +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. +The Squid home page is http://www.nlanr.net/Squid/. + +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/. diff --git a/www/squid24/pkg-install b/www/squid24/pkg-install new file mode 100644 index 000000000000..e476199106d7 --- /dev/null +++ b/www/squid24/pkg-install @@ -0,0 +1,36 @@ +#!/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 " o add the following line to /etc/rc.local to start" + echo " ${PKGNAME} automatically:" + echo "" + echo " (cd /tmp; exec ${PREFIX:-/usr/local}/bin/RunCache) &" + 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 "==> Press Enter to edit the ${PKGNAME} config file." + echo " (The defaults are reasonable; and the file is well commented)" + echo " You'd probably like to pay attention to the" + echo " ACTUAL locations of BOTH cache \"spool\" AND logfiles." + read skip + chown root:wheel ${PREFIX:-/usr/local}/etc/squid.conf* + chmod 644 ${PREFIX:-/usr/local}/etc/squid.conf* + ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid.conf + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 + diff --git a/www/squid24/pkg-plist b/www/squid24/pkg-plist new file mode 100644 index 000000000000..dc5f780eea8d --- /dev/null +++ b/www/squid24/pkg-plist @@ -0,0 +1,9 @@ +bin/RunCache +bin/RunAccel +bin/squid +bin/client +bin/dnsserver +bin/ftpget +bin/cachemgr.cgi +etc/squid.conf.default +etc/squid.conf |