head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.18
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.18
	RELEASE_6_3_0:1.18
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.18
	RELEASE_6_1_0:1.18
	RELEASE_5_5_0:1.18
	RELEASE_6_0_0:1.17
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.17
	RELEASE_5_3_0:1.17
	RELEASE_4_10_0:1.17
	RELEASE_5_2_1:1.16
	RELEASE_5_2_0:1.16
	RELEASE_4_9_0:1.15
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.13
	RELEASE_4_7_0:1.13
	RELEASE_4_6_2:1.13
	RELEASE_4_6_1:1.13
	RELEASE_4_6_0:1.13
	RELEASE_5_0_DP1:1.13
	RELEASE_4_5_0:1.13
	RELEASE_4_4_0:1.11
	RELEASE_4_3_0:1.11
	RELEASE_4_2_0:1.10
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	v1_0b:1.1.1.1
	SOBOMAX:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2011.06.22.23.20.03;	author nox;	state Exp;
branches;
next	1.18;

1.18
date	2005.09.01.15.16.20;	author garga;	state Exp;
branches;
next	1.17;

1.17
date	2004.01.06.21.55.47;	author clement;	state Exp;
branches;
next	1.16;

1.16
date	2003.10.27.02.58.25;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2003.07.29.09.12.34;	author sobomax;	state Exp;
branches;
next	1.14;

1.14
date	2003.03.07.06.12.54;	author ade;	state Exp;
branches;
next	1.13;

1.13
date	2001.11.07.20.26.36;	author sobomax;	state Exp;
branches;
next	1.12;

1.12
date	2001.10.05.14.40.23;	author adrian;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.05.15.33.49;	author olgeni;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.01.15.51.10;	author sobomax;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.07.08.00.46;	author sobomax;	state Exp;
branches;
next	1.8;

1.8
date	2000.05.17.11.18.25;	author sobomax;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.10.00.06.55;	author cpiazza;	state Exp;
branches;
next	1.6;

1.6
date	2000.02.15.23.54.36;	author mharo;	state Exp;
branches;
next	1.5;

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

1.4
date	99.08.27.22.30.31;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	99.08.23.04.23.59;	author mharo;	state Exp;
branches;
next	1.2;

1.2
date	99.06.30.19.27.17;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.06.09.01.39.19;	author steve;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.06.09.01.39.19;	author steve;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# New ports collection makefile for:	squirm
# Date created:				24 May 1999
# Whom:					Maxim Sobolev <sobomax@@FreeBSD.org>
#
# $FreeBSD: head/www/squirm/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	squirm
PORTVERSION=	1.26
CATEGORIES=	www
MASTER_SITES=	http://squirm.foote.com.au/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A fast & configurable redirector for the Squid

RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid

USE_CSTD=	gnu89

SQUID_UID?=	squid
SQUID_GID?=	squid

MAKE_ENV+=	SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID}

PLIST_SUB=	SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID}

pre-install:
.if (${SQUID_UID} == "nobody") || (${SQUID_GID} == "nogroup")
	@@${ECHO_MSG}
	@@${ECHO_MSG}	'WARNING! You are going to install squirm files with either nobody owner or'
	@@${ECHO_MSG}	'nogroup group, which may be insecure.'
	@@${ECHO_MSG}
.endif
post-install:
	@@${ECHO_MSG}
.if (${SQUID_UID} == "squid") && (${SQUID_GID} == "squid")
	@@${ECHO_MSG}
	@@${ECHO_MSG} 'INFO: Your SQUID_UID and SQUID_GID variables are set to the default'
	@@${ECHO_MSG} '      squid user/group: SQUID_UID = ${SQUID_UID}  SQUID_GID = ${SQUID_GID}'
	@@${ECHO_MSG} '      These values are used by the www/squid port. They must match what you have chosen'
	@@${ECHO_MSG} '      for the www/squid port. If you are using different UID/GID they must match,'
	@@${ECHO_MSG} '      or else you are asking for problems !'
	@@${ECHO_MSG}
.endif
	@@${ECHO_MSG} ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
	@@${ECHO_MSG} '  You have to manually add "redirect_program ${PREFIX}/bin/squirm"'
	@@${ECHO_MSG} '  into your squid.conf file.'
	@@${ECHO_MSG} '  For help on configuring squirm try http://www.senet.com.au/squirm/'
	@@${ECHO_MSG} ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
	@@${ECHO_MSG}

.include <bsd.port.mk>
@


1.19
log
@Fix build with clang.

PR:		ports/158177 (after fixing a typo :)
Submitted by:	Niclas Zeising <niclas.zeising@@gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@- Update to 1.2.6 [1]
- Fix patch files to match new source [1]
- Change logic in Makefile to use the SQUID_UID and SQUID_GID defaults
  that the squid port uses, remove the need to specify the uid/gid,
  but inform the user that the defaults are used. (remove the
  NO_PACKAGE block) [1]
- Rename patches to reflect which files are patched

PR:		ports/85215
Submitted by:	Phil Kernick <philk@@rotfl.com.au>
Reviewed by:	Chris Larsen <darth@@vader.dk> [1]
@
text
@d19 2
@


1.17
log
@- Change runtime dependency from www/squid24 (which is about to be retired) to
  www/squid. Since the squid redirector interface should not have changed from
  squid 2.4 to 2.5, squirm should work with squid 2.5 as well (testers welcome).
- Reinstate original MASTER_SITE: while the content on that site only refers to
  squirm 1.0-BetaB, squirm-1.23 is actually fetchable from there.
- Bump PORTREVISION.

PR:             60991
Submitted by:   Thomas-Martin Seck <tmseck@@netcologne.de>
Approved by:    erwin (mentor) (implicitly)
@
text
@d9 1
a9 2
PORTVERSION=	1.23
PORTREVISION=	2
d19 2
a20 1
NO_PACKAGE=	must set SQUID_UID and SQUID_GID before building
a26 1
.if defined(SQUID_UID) && defined(SQUID_GID)
d33 3
a35 1
.else
d37 5
a41 2
	@@${ECHO_MSG} 	'You should set SQUID_UID and SQUID_GID variables to your squid effective'
	@@${ECHO_MSG}	'user/group. For example: SQUID_UID=squid SQUID_GID=squid.'
a42 1
	@@${FALSE}
a43 3

post-install:
	@@${ECHO_MSG}
@


1.16
log
@Per distfile survey, mastersites have disappeared.  I have listed
the only one I could find on Google, which has a much older version
of the distfile.
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 1
a12 2
# this mastersite hosts an older version; mastersites with newer version have disappeared
MASTER_SITES=	# http://squirm.foote.com.au/
d18 1
a18 1
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24
@


1.15
log
@Let be hohest: I really don't have a time now to properly maintain all
these great pieces of software, so that let others with more free time
to take over them.
@
text
@d12 2
a13 2
MASTER_SITES=	http://www.senet.com.au/squirm/ \
		http://www.elab.co.za/squirm/
@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d16 1
a16 1
MAINTAINER=	sobomax@@FreeBSD.org
@


1.13
log
@Make substitution in PUT and HEAD methods work.

Submitted by:	Alexey Khlyamkov <official@@lll.pp.ru>
@
text
@d17 1
@


1.12
log
@Change the ports that relied on squid23 to rely on squid24.
I should have checked this first. :(

PR:		31050
Submitted by:	des
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.11 2001/02/05 15:33:49 olgeni Exp $
d10 1
@


1.11
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.10 2000/11/01 15:51:10 sobomax Exp $
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid23
@


1.10
log
@Whitespace-only:
Make indentation uniform across my ports.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.9 2000/06/07 08:00:46 sobomax Exp $
d9 1
a9 1
PORTVERSION= 	1.23
@


1.9
log
@Update to 1.23.
@
text
@d1 3
a3 3
# New ports collection makefile for:  squirm
# Date created:     24 May 1999
# Whom:             Maxim Sobolev <sobomax@@FreeBSD.org>
d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.8 2000/05/17 11:18:25 sobomax Exp $
@


1.8
log
@'s|sobomax@@altavista.net|sobomax@@FreeBSD.org|'
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.7 2000/04/10 00:06:55 cpiazza Exp $
d9 1
a9 1
PORTVERSION= 	1.0b
d13 1
a13 1
DISTNAME=	squirm-1.0betaB
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid22
d23 1
a23 2
post-patch:
	@@${PERL} -pi -e "s.%PREFIX%.${PREFIX}.g" ${WRKSRC}/paths.h
@


1.7
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d3 1
a3 1
# Whom:             Maxim Sobolev <sobomax@@altavista.net>
d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.6 2000/02/15 23:54:36 mharo Exp $
d15 1
a15 1
MAINTAINER=	sobomax@@altavista.net
@


1.6
log
@PREFIX -> LOCALBASE in *_DEPENDS (portlint)
@
text
@a1 1
# Version required: 1.0betaB
d5 1
a5 1
# $FreeBSD: ports/www/squirm/Makefile,v 1.5 1999/08/31 02:43:17 peter Exp $
d8 2
a9 2
DISTNAME=	squirm-1.0betaB
PKGNAME=	squirm-1.0b
d13 1
@


1.5
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
d17 1
a17 1
RUN_DEPENDS=	${PREFIX}/sbin/squid:${PORTSDIR}/www/squid22
@


1.4
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.3 1999/08/23 04:23:59 mharo Exp $
@


1.3
log
@grep -> ${GREP}
true -> ${TRUE}
false -> ${FALSE}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1999/06/30 19:27:17 steve Exp $
d29 4
a32 4
	@@echo
	@@echo	'WARNING! You are going to install squirm files with either nobody owner or'
	@@echo	'nogroup group, which may be insecure.'
	@@echo
d35 4
a38 4
	@@echo
	@@echo 	'You should set SQUID_UID and SQUID_GID variables to your squid effective'
	@@echo	'user/group. For example: SQUID_UID=squid SQUID_GID=squid.'
	@@echo
d43 7
a49 7
	@@echo
	@@echo ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
	@@echo '  You have to manually add "redirect_program ${PREFIX}/bin/squirm"'
	@@echo '  into your squid.conf file.'
	@@echo '  For help on configuring squirm try http://www.senet.com.au/squirm/'
	@@echo ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
	@@echo
@


1.2
log
@In an attempt to avoid possible security implications with having files
owned by nobody:nogroup, install them owned by SQUIG_UID:SQUID_GID instead.
Also mark this as NO_PACKAGE since you have to set these values in your
environment before installing this port.

Submitted by:	maintainer
Reviewed by:	Rodney W. Grimes <rgrimes@@gndrsh.aac.dev.com>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/06/09 01:39:19 steve Exp $
d39 1
a39 1
	@@false
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d19 4
d25 16
@


1.1.1.1
log
@Initial import of squirm version 1.0b.
A fast & configurable redirector for the Squid.

PR:		11885
Submitted by:	Maxim Sobolev <sobomax@@altavista.net>
@
text
@@
