Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 23:19:52 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40600: Update Port: www/squidpurge
Message-ID:  <200207151519.XAA19991@mail.wa.apana.org.au>

next in thread | raw e-mail | index | archive | help

>Number:         40600
>Category:       ports
>Synopsis:       Update Port: www/squidpurge
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 08:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dean Hollister
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Australian Public Access Network Association Inc.
>Environment:
System: FreeBSD odyssey.apana.org.au 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jun 28 22:38:46 WST 2002 root@odyssey.apana.org.au:/usr/obj/usr/src/sys/ODYSSEY i386
>Description:
RUN_DEPENDS directive added to enable automatic installation of ports/squid24. 
Port requires Squid anyhow.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	squidpurge
#	squidpurge/Makefile
#	squidpurge/pkg-comment
#	squidpurge/pkg-descr
#	squidpurge/pkg-plist
#	squidpurge/distinfo
#	squidpurge/files
#	squidpurge/files/patch-Makefile
#	squidpurge/files/patch-conffile.hh
#	squidpurge/files/patch-README
#
echo c - squidpurge
mkdir -p squidpurge > /dev/null 2>&1
echo x - squidpurge/Makefile
sed 's/^X//' >squidpurge/Makefile << 'END-of-squidpurge/Makefile'
X# New ports collection makefile for:	squidpurge
X# Date created:		Fri Oct 19 23:00:00 WST 2001
X# Whom:			Dean Hollister <dean@odyssey.apana.org.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squidpurge
XPORTVERSION=	1.17
XPORTREVISION=	2
XCATEGORIES=	www
XMASTER_SITES=	http://www.cache.dfn.de/DFN-Cache/Development/Purge/ \
X		http://www.wa.apana.org.au/~dean/sources/ \
X		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
XDISTNAME=	purge
XEXTRACT_SUFX=	-20000921-src.tar.gz
X
XMAINTAINER=	dean@odyssey.apana.org.au
X
XRUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24
X
XUSE_GMAKE=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/purge ${PREFIX}/sbin
X
X.include <bsd.port.mk>
END-of-squidpurge/Makefile
echo x - squidpurge/pkg-comment
sed 's/^X//' >squidpurge/pkg-comment << 'END-of-squidpurge/pkg-comment'
XPowerful object purging utility for the Squid web proxy cache
END-of-squidpurge/pkg-comment
echo x - squidpurge/pkg-descr
sed 's/^X//' >squidpurge/pkg-descr << 'END-of-squidpurge/pkg-descr'
XPowerful purge utility for Squid. Includes support for wildcards in URLs.
X
XFull details of syntax and usage are at
X
XWWW: http://www.cache.dfn.de/DFN-Cache/Development/purge.html
X
X
X
X- Dean
Xdean@odyssey.apana.org.au
END-of-squidpurge/pkg-descr
echo x - squidpurge/pkg-plist
sed 's/^X//' >squidpurge/pkg-plist << 'END-of-squidpurge/pkg-plist'
Xsbin/purge
END-of-squidpurge/pkg-plist
echo x - squidpurge/distinfo
sed 's/^X//' >squidpurge/distinfo << 'END-of-squidpurge/distinfo'
XMD5 (purge-20000921-src.tar.gz) = 8df42b5f278542cfc2645fd3071462be
END-of-squidpurge/distinfo
echo c - squidpurge/files
mkdir -p squidpurge/files > /dev/null 2>&1
echo x - squidpurge/files/patch-Makefile
sed 's/^X//' >squidpurge/files/patch-Makefile << 'END-of-squidpurge/files/patch-Makefile'
X--- Makefile	Thu Sep 21 21:05:31 2000
X+++ Makefile.orig	Fri Oct 19 23:47:22 2001
X@@ -16,7 +16,7 @@
X # === [1] ==================================================== generics section
X #
X CXX	= g++ -ffor-scope -DHAS_BOOL -DHAS_PSIGNAL
X-CC	= gcc
X+CC	= g++
X LD	= $(CC)		# yes, I do mean gcc and not g++
X CXXFLAGS = # -pg -g # -fprofile-arcs -ftest-coverage
X SYSTEM  = $(shell uname -s | tr '[a-z]' '[A-Z]' | tr -d '_ -/')
END-of-squidpurge/files/patch-Makefile
echo x - squidpurge/files/patch-conffile.hh
sed 's/^X//' >squidpurge/files/patch-conffile.hh << 'END-of-squidpurge/files/patch-conffile.hh'
X--- conffile.hh.orig	Wed May 22 11:03:47 2002
X+++ conffile.hh	Wed May 22 11:04:20 2002
X@@ -55,7 +55,7 @@
X 
X 
X #ifndef DEFAULT_SQUID_CONF
X-#define DEFAULT_SQUID_CONF "/usr/local/squid/etc/squid.conf"
X+#define DEFAULT_SQUID_CONF "/usr/local/etc/squid/squid.conf"
X #endif // DEFAULT_SQUID_CONF
X 
X #include <stdio.h>      // FILE*
END-of-squidpurge/files/patch-conffile.hh
echo x - squidpurge/files/patch-README
sed 's/^X//' >squidpurge/files/patch-README << 'END-of-squidpurge/files/patch-README'
X--- README.orig	Fri Jun 28 07:45:03 2002
X+++ README	Fri Jun 28 07:46:06 2002
X@@ -73,7 +73,7 @@
X                 [-P #] [-s] [-v] [-C dir [-H]] [-n]
X 
X  -a     display a little rotating thingy to indicate that I am alive (tty only).
X- -c c   squid.conf location, default "/usr/local/squid/etc/squid.conf".
X+ -c c   squid.conf location, default "/usr/local/etc/squid/squid.conf".
X  -C dir base directory for content extraction (copy-out mode).
X  -d l   debug level, an OR of different debug options.
X  -e re  single regular expression per -e instance (use quotes!).
X@@ -111,7 +111,7 @@
X 	of Squid-2 cache_dir specifications, and will automatically try
X 	to use the correct one.
X 
X-	default: /usr/local/squid/etc/squid.conf
X+	default: /usr/local/etc/squid/squid.conf
X 
X -C cd	if you want to rescue files from your cache, you need to specify
X 	the directory into which the files will be copied. Please note
END-of-squidpurge/files/patch-README
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207151519.XAA19991>