head	1.46;
access;
symbols
	RELEASE_8_3_0:1.37
	RELEASE_9_0_0:1.34
	RELEASE_7_4_0:1.33
	RELEASE_8_2_0:1.33
	RELEASE_6_EOL:1.33
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.31
	RELEASE_8_0_0:1.31
	RELEASE_7_2_0:1.30
	RELEASE_7_1_0:1.26
	RELEASE_6_4_0:1.26
	RELEASE_5_EOL:1.26
	RELEASE_7_0_0:1.26
	RELEASE_6_3_0:1.26
	PRE_XORG_7:1.25
	RELEASE_4_EOL:1.24
	RELEASE_6_2_0:1.24
	RELEASE_6_1_0:1.22
	RELEASE_5_5_0:1.22
	RELEASE_6_0_0:1.20
	RELEASE_5_4_0:1.20
	RELEASE_4_11_0:1.19
	RELEASE_5_3_0:1.19
	RELEASE_4_10_0:1.16
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.8
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.2;
locks; strict;
comment	@# @;


1.46
date	2012.12.10.19.24.05;	author svnexp;	state Exp;
branches;
next	1.45;

1.45
date	2012.11.17.06.02.30;	author svnexp;	state Exp;
branches;
next	1.44;

1.44
date	2012.10.05.12.41.45;	author garga;	state Exp;
branches;
next	1.43;

1.43
date	2012.09.10.00.38.33;	author garga;	state Exp;
branches;
next	1.42;

1.42
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.41;

1.41
date	2012.08.03.15.34.45;	author garga;	state Exp;
branches;
next	1.40;

1.40
date	2012.07.16.20.04.11;	author garga;	state Exp;
branches;
next	1.39;

1.39
date	2012.07.05.14.27.30;	author garga;	state Exp;
branches;
next	1.38;

1.38
date	2012.07.02.22.20.19;	author garga;	state Exp;
branches;
next	1.37;

1.37
date	2012.02.14.12.45.32;	author mm;	state Exp;
branches;
next	1.36;

1.36
date	2012.01.05.01.20.28;	author garga;	state Exp;
branches;
next	1.35;

1.35
date	2012.01.01.16.47.36;	author ohauer;	state Exp;
branches;
next	1.34;

1.34
date	2011.08.20.17.27.36;	author ohauer;	state Exp;
branches;
next	1.33;

1.33
date	2010.08.30.19.40.16;	author garga;	state Exp;
branches;
next	1.32;

1.32
date	2010.06.06.08.31.40;	author miwi;	state Exp;
branches;
next	1.31;

1.31
date	2009.09.19.20.24.13;	author linimon;	state Exp;
branches;
next	1.30;

1.30
date	2009.03.24.19.17.02;	author garga;	state Exp;
branches;
next	1.29;

1.29
date	2009.02.14.19.21.04;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2009.02.01.18.28.43;	author amdmi3;	state Exp;
branches;
next	1.27;

1.27
date	2009.01.06.21.10.48;	author pav;	state Exp;
branches;
next	1.26;

1.26
date	2007.07.23.09.36.42;	author rafan;	state Exp;
branches;
next	1.25;

1.25
date	2007.04.11.02.26.53;	author shaun;	state Exp;
branches;
next	1.24;

1.24
date	2006.09.03.06.35.31;	author kris;	state Exp;
branches;
next	1.23;

1.23
date	2006.04.08.12.57.42;	author pav;	state Exp;
branches;
next	1.22;

1.22
date	2005.12.17.19.54.49;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2005.10.06.18.28.23;	author garga;	state Exp;
branches;
next	1.20;

1.20
date	2005.03.05.07.26.11;	author sem;	state Exp;
branches;
next	1.19;

1.19
date	2004.08.10.11.48.14;	author sem;	state Exp;
branches;
next	1.18;

1.18
date	2004.07.28.10.28.59;	author vs;	state Exp;
branches;
next	1.17;

1.17
date	2004.05.06.20.09.40;	author pav;	state Exp;
branches;
next	1.16;

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

1.15
date	2004.03.09.20.36.57;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2004.01.08.23.52.37;	author linimon;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.08.22.34.05;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2004.01.08.02.11.44;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2004.01.07.08.33.41;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2003.11.07.09.12.49;	author marcus;	state Exp;
branches;
next	1.9;

1.9
date	2003.09.04.01.09.23;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.21.14.01.15;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.07.02.44.21;	author seanc;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.20.16.02.37;	author cy;	state Exp;
branches;
next	1.5;

1.5
date	2002.05.14.19.43.39;	author cy;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.20.06.21.28;	author pat;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.08.01.48.41;	author cy;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.31.04.28.18;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.28.02.25.13;	author cy;	state Exp;
branches;
next	;


desc
@@


1.46
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Freddie Cash <fcash@@sd73.bc.ca>
# $FreeBSD: head/www/dansguardian/Makefile 308630 2012-12-10 19:11:11Z mm $

PORTNAME=	dansguardian
PORTVERSION=	2.10.1.1
PORTREVISION=	4
CATEGORIES=	www
MASTER_SITES=	# empty, see below

MAINTAINER=	garga@@FreeBSD.org
COMMENT=	A fast, feature-rich web content filter for Squid proxy servers

RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
LIB_DEPENDS+=	pcre:${PORTSDIR}/devel/pcre

USE_RC_SUBR=	dansguardian
USE_GNOME=	pkgconfig

CONFLICTS=	dansguardian-2.12.*
LATEST_LINK=	dansguardian

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var \
		--with-logdir=/var/log \
		--with-piddir=/var/run \
		--with-libiconv=${LOCALBASE} \
		--enable-fancydm

MAN8=		dansguardian.8

PORTDOCS=	*

OPTIONS_DEFINE=	APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM EMAIL DEBUG DOCS
OPTIONS_DEFAULT=APACHE TRICKLE DOCS

APACHE_DESC=	Enable Apache support for access denied page
TRICKLE_DESC=	Enable the trickle download manager
CLISCAN_DESC=	Enable support for CLI content scanners
CLAMD_DESC=	Enable ClamAV daemon support (clamd)
ICAP_DESC=	Enable ICAP AV content scanner support (testing)
KAV_DESC=	Enable Kaspersky AV support (testing)
EMAIL_DESC=	Enable e-mail reporting support

DG_URL=		http://dansguardian.org/index.php?page=copyright2
CONFDIR=	${PREFIX}/etc/dansguardian

RESTRICTED=	Redistribution and commercial download is restricted.  Check ${DG_URL} for more info

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN=	22+
.endif

.if ${PORT_OPTIONS:MTRICKLE}
CONFIGURE+=		--enable-trickledm
PLIST_SUB+=		TRICKLECONF=""
.else
PLIST_SUB+=		TRICKLECONF="@@comment "
.endif

.if ${PORT_OPTIONS:MCLISCAN}
CONFIGURE_ARGS+=	--enable-commandline
PLIST_SUB+=		CLISCANCONF=""
.else
PLIST_SUB+=		CLISCANCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MCLAMD}
CONFIGURE_ARGS+=	--enable-clamd
RUN_DEPENDS+=		${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav
PLIST_SUB+=		CLAMDCONF=""
.else
PLIST_SUB+=		CLAMDCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MICAP}
CONFIGURE_ARGS+=	--enable-icap
PLIST_SUB+=		ICAPCONF=""
.else
PLIST_SUB+=		ICAPCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MKAV}
CONFIGURE_ARGS+=	--enable-kavd
PLIST_SUB+=		KAVDCONF=""
.else
PLIST_SUB+=		KAVDCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \
    ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN}
PLIST_SUB+=		SCANNERS=""
.else
PLIST_SUB+=		SCANNERS="@@comment "
.endif

.if ${PORT_OPTIONS:MNTLM}
CONFIGURE_ARGS+=	--enable-ntlm --with-libiconv=${LOCALBASE}
USE_ICONV=	yes
PLIST_SUB+=		NTLMCONF=""
.else
PLIST_SUB+=		NTLMCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MEMAIL}
CONFIGURE_ARGS+=	--enable-email
PLIST_SUB+=		EMAILCONF=""
.else
PLIST_SUB+=		EMAILCONF="@@comment "
.endif

.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=	--with-dgdebug
.endif

# User needs to manually download the distfile
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
IGNORE=	commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make
.endif

post-patch:
.if empty(PORT_OPTIONS:MDOCS)
	@@${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \
		${WRKSRC}/doc/Makefile.in
.endif

post-install:
# Display post-install message
	@@${CAT} pkg-message

.include <bsd.port.post.mk>
@


1.45
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/dansguardian/Makefile 305298 2012-10-05 12:41:45Z garga $
d6 1
a6 1
PORTREVISION=	3
@


1.44
log
@SVN rev 305298 on 2012-10-05 12:41:45Z by garga

Change headers of all ports maintained by me to new format
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.43
log
@SVN rev 304006 on 2012-09-10 00:38:33Z by garga

Apache is used only during runtime, so s/USE_APACHE/USE_APACHE_RUN/

PR:		ports/171479
Submitted by:	ohauer@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	dansguardian
# Date created:				March 26, 2002
# Whom:					Freddie Cash <fcash@@sd73.bc.ca>
#
a2 1
#
@


1.42
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d56 1
a56 1
USE_APACHE=	22+
@


1.41
log
@SVN rev 301957 on 2012-08-03 15:34:45Z by garga

Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
@
text
@d56 1
a56 1
USE_APACHE=	20+
@


1.40
log
@SVN rev 300977 on 2012-07-16 20:04:11Z by garga

- Move to OPTIONSng
- Handle DOCS using PORTDOCS and cleanup pkg-plist
@
text
@d37 2
a38 2
OPTIONS_DEFINE=	APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM EMAIL DEBUG
OPTIONS_DEFAULT=APACHE TRICKLE
@


1.39
log
@- Fix dansguardian to run with new versions of pcre
- Bump PORTREVISION

Submitted by:	Anthony Brown <anthony@@found-it.net>
@
text
@d35 12
a46 9
OPTIONS=	APACHE  "Enable Apache support for access denied page" on \
		TRICKLE "Enable the trickle download manager" on \
		CLISCAN "Enable support for CLI content scanners" off \
		CLAMD   "Enable ClamAV daemon support (clamd)" off \
		ICAP    "Enable ICAP AV content scanner support (testing)" off \
		KAV     "Enable Kaspersky AV support (testing)" off \
		NTLM    "Enable NTLM authentication plugin" off \
		EMAIL   "Enable e-mail reporting support" off \
		DEBUG   "Enable debug options - not for production use" off
d55 1
a55 1
.if !defined(WITHOUT_APACHE)
d59 1
a59 1
.if !defined(WITHOUT_TRICKLE)
d66 1
a66 1
.if defined(WITH_CLISCAN)
d73 1
a73 1
.if defined(WITH_CLAMD)
d81 1
a81 1
.if defined(WITH_ICAP)
d88 1
a88 1
.if defined(WITH_KAV)
d95 2
a96 1
.if defined(WITH_CLAMD) || defined(WITH_ICAP) || defined(WITH_KAV) || defined(WITH_CLISCAN)
d102 1
a102 1
.if defined(WITH_NTLM)
d110 1
a110 1
.if defined(WITH_EMAIL)
d117 1
a117 1
.if defined(WITH_DEBUG)
a120 6
#.if defined(NOPORTDOCS)
#PLISTSUB+=              DOCINST="@@comment "
#.else
#PLISTSUB+=              DOCINST=""
#.endif

d127 1
a127 1
.if defined(NOPORTDOCS)
@


1.38
log
@Remove lib version from LIB_DEPENDS to silence portlint
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.37
log
@Bump pcre library dependency due to 8.30 update
@
text
@d18 1
a18 1
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
@


1.36
log
@Re-add www/dansguardian-devel with new alpha version 2.12.0.0

Requested by:	Marcello Coutinho <marcellocoutinho@@gmail.com>
Thanks to:	dougb@@
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 1
a18 1
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
@


1.35
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d23 1
a23 1
CONFLICTS=	dansguardian-2.[6789]*
@


1.34
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d53 1
a53 1
USE_APACHE=	13+
@


1.33
log
@Adopt it
@
text
@d10 1
d53 1
a53 1
USE_APACHE=	1.3+
@


1.32
log
@- Update to 2.10.1.1

PR:		147164
Submitted by:	Nick Rogers <ncrogers@@gmail.com> (maintainer)
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.31
log
@Reset maintainer at his request.

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2.10.0.3
@


1.30
log
@- Remove WITH_DG_CLAMAV option since it's deprecated by devs, users must use
  CLAMD option instead
- No need to bump PORTREVISION since it was off by default

Submitted by:	maintainer (by email)
@
text
@d13 1
a13 1
MAINTAINER=	fjwcash@@gmail.com
@


1.29
log
@- Update to 2.10.0.3

PR:		131660
Submitted by:	Freddie Cash <fjwcash@@gmail.com>
@
text
@a37 1
		CLAMAV  "Enable ClamAV library support (libclamav)" off \
a68 8
.if defined(WITH_CLAMAV)
CONFIGURE_ARGS+=	--enable-clamav
LIB_DEPENDS+=		clamav.5:${PORTSDIR}/security/clamav
PLIST_SUB+=		CLAMAVCONF=""
.else
PLIST_SUB+=		CLAMAVCONF="@@comment "
.endif

d91 1
a91 1
.if defined(WITH_CLAMD) || defined(WITH_CLAMAV) || defined(WITH_ICAP) || defined(WITH_KAV) || defined(WITH_CLISCAN)
@


1.28
log
@- Update to 2.10.0.2
- Update maintainer's email

PR:		130561
Submitted by:	Freddie Cash <fjwcash at gmail dot com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.10.0.2
d122 1
a122 1
CONFIGURE_ARGS+=	--enable-dgdebug
@


1.27
log
@- Mistyped variables (does nothing)
@
text
@d9 1
a9 2
PORTVERSION=	2.8.0.6
PORTREVISION=	2
a11 1
DISTNAME=	${PORTNAME}-${PORTVERSION}.source
d13 1
a13 1
MAINTAINER=	fcash@@sd73.bc.ca
d17 1
d19 2
a20 1
USE_RC_SUBR=	dansguardian.sh
d22 1
a22 1
CONFLICTS=	dansguardian-2.[67]*
a24 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d26 5
a30 7
CONFIGURE_ARGS=	--bindir=/sbin/ \
		--sysconfdir=/etc/dansguardian/ \
		--sysvdir=/etc/rc.d/ \
		--logdir=/var/log/ \
		--cgidir=/www/cgi-bin/ \
		--piddir=/var/run/ \
		--gccver=3
d34 10
a43 2
OPTIONS=	DG_APACHE "Enable Apache support for access denied page" on \
		DG_PHRASELISTS "Install new phraselists over the old ones." off
d52 1
a52 1
.if !defined(WITHOUT_DG_APACHE)
d56 42
a97 3
# User needs to manually download the distfile
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
IGNORE="Commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
d100 5
a104 3
post-configure:
	@@${REINPLACE_CMD} -e 's,^MANUALFILES = .*,MANUALFILES = ${MANPREFIX}/man/,' \
		${WRKSRC}/Makefile
d106 4
a109 4
pre-install:
# Configure pkg-plist based on whether phraselists are to be installed or not
.if defined(WITH_DG_PHRASELISTS)
PLIST_SUB=	PHRASELISTS=""
d111 1
a111 1
PLIST_SUB=	PHRASELISTS="@@comment "
d114 3
a116 5
post-install:
# Check whether to install default phraselists
.if defined(WITH_DG_PHRASELISTS)
	@@${ECHO_MSG} "===>   Installing default phraselists into ${CONFDIR}/phraselists"
	@@${CP} -R ${WRKSRC}/phraselists ${CONFDIR}
d118 5
a122 1
	@@${ECHO_MSG} "===>   Skipping installation of phraselists."
d125 18
@


1.26
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@a35 1
NOMANCOMPRESSED=	yes
@


1.25
log
@- Add SHA256 checksum.
- Remove FreeBSD 4.x checks.

PR:		ports/109957
Submitted by:	Freddie Cash <fcash@@.sd73.bc.ca> (maintainer)
@
text
@a29 1
		--mandir=/man/ \
d57 4
@


1.24
log
@NO_PACKAGE and NO_CDROM are superfluous
@
text
@d33 2
a34 1
		--piddir=/var/run/
a48 7
# Set which version of GCC to compile the port with
.if ${OSVERSION} > 500000
CONFIGURE_ARGS+=	--gccver=3
.else
CONFIGURE_ARGS+=	--gccver=2
.endif

a74 4
# Install startup script
#	@@${ECHO_MSG} "===>   Installing startup script into ${PREFIX}/etc/rc.d"
#	@@${INSTALL_SCRIPT} ${WRKSRC}/dansguardian.sh ${PREFIX}/etc/rc.d/start-dg.sh

@


1.23
log
@- Better use of rc_subr framework
- Updated startup script
- Fixed pkg-plist

PR:		ports/94802
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d44 1
a44 3
NO_CDROM=	Commercial download is restricted.  Check ${DG_URL} for more info
NO_PACKAGE=	Redistribution is restricted.  Check ${DG_URL} for more info
RESTRICTED=	${NO_PACKAGE}
@


1.22
log
@- Make apache dependency optional

PR:		ports/90513
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 2
USE_RC_SUBR=	yes
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
d38 1
a38 1
OPTIONS=	DG_APACHE "Enable Apache support." on \
d44 3
a46 3
NO_CDROM=	"Commercial download is restricted.  Check ${DG_URL} for more info"
NO_PACKAGE=	"Redistribution is restricted.  Check ${DG_URL} for more info"
RESTRICTED=	"${NO_PACKAGE}"
a65 4
post-extract:
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/dansguardian.sh > ${WRKSRC}/dansguardian.sh

d84 2
a85 2
	@@${ECHO_MSG} "===>   Installing startup script into ${PREFIX}/etc/rc.d"
	@@${INSTALL_SCRIPT} ${WRKSRC}/dansguardian.sh ${PREFIX}/etc/rc.d/start-dg.sh
@


1.21
log
@- Update to 2.8.0.6

PR:		ports/86998
Submitted by:	maintainer
@
text
@d10 1
d18 1
a18 2
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
d39 2
a40 2
OPTIONS=	DG_GCC3 "Compile using GCC 3.3 on FreeBSD 4.x." off \
		DG_PHRASELISTS "Install new phraselists. (Overwrites existing.)" off
d47 1
a47 1
RESTRICTED=	${NO_PACKAGE}
d58 4
@


1.20
log
@- Update to 2.8.0.4
	* updated Big5 Chinese and Lithuanian language files
	* added Hebrew and Swedish language files
	* fixed several bugs in HTTP header handling
	* fixed a few bugs in the -r soft-restart feature
	* fixed a security issue with malformed URL processing
- install all default config files under samples/ directory

PR:		ports/78372
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.8.0.4
@


1.19
log
@* Update to version 2.8.0.2
  Minor bug fix release
* Also removed the "Compile with GCC 3" option as it never really worked
correctly anyway

PR:		ports/70226
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.8.0.2
d35 1
d37 1
@


1.18
log
@DansGuardian 2.8.0-0 has been released as the new stable version.  New features since 2.6.x include:
- Changed process model from fork-on-connect to fork-pool.  This dramatically improves the performance and allows it to scale to many more concurrent users.
- Improved internationalisation language file support.
- Image replacement for advert removal.
- Added support for fully qualified addresses in banned and exception IP lists.
- Added URL Greylists.
- Added filter group support so different filtering settings can be used for different groups of users.
- Added a '-g' gentle restart that does not kill current connections but filter group config is re-read.
- Ident now uses X-Forwarded-For when DansGuardian is configured to use it.
- Added a temporal denied page bypass facility.
- It is no longer needed to run as root to bind to a low port.

PR:		ports/69625
Submitted by:	Freddie Cash (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.8.0.0
d12 1
a12 1
DISTNAME=	DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
d21 1
a21 1
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
d26 1
a26 1
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
d49 2
a50 2
# On FreeBSD 4.x, user can choose which GCC version to use
.if ${OSVERSION} > 500000 || defined(WITH_DG_GCC3)
a51 1
USE_GCC=		3.3
@


1.17
log
@- Update to 2.6.1-13
- Convert rc script to RCng

PR:		ports/66333
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.6.1.13
d23 1
a23 1
CONFLICTS=	dansguardian-2.7*
d26 1
a26 1
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}
d37 2
a38 2
OPTIONS=	DG_GCC3 "Compile using GCC 3.x on FreeBSD 4.x." off \
		DG_PHRASELISTS "Install new phraselists." off
a50 1
USE_GCC=	3
d52 1
d58 2
a59 2
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
IGNORE=	"Commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
@


1.16
log
@Correct the CONFLICTS.  Remove unneccessary fluff.

Pointed out by:		eik
@
text
@d9 1
a9 2
PORTVERSION=	2.6.1.11
PORTREVISION=	2
d18 4
a21 1
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}
d35 1
d37 2
a38 1
OPTIONS=	WITH_GCC3 "Compile using GCC 3.x." off
d41 1
a41 2

MAN8=		dansguardian.8
d49 3
a51 1
.if ${OSVERSION} > 500000 || defined(WITH_GCC3)
d57 1
d62 12
d75 13
@


1.15
log
@Update port to support new ports features including unique LATEST_LINK,
OPTIONS, and distinfo SIZE.

PR:		ports/63996
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d18 2
a19 2
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid:install \
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}:install
d21 1
a21 1
CONFLICTS=	dansguardian*
d26 1
a26 2
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--bindir=/sbin/ \
@


1.14
log
@One more attempt to get the plist right.
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
d34 2
@


1.13
log
@Fix conflicts.  Also check in the changes to the plist that I foolishly
forgot last time (thank you cvs update!)

PR:		ports/61098
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d10 1
@


1.12
log
@Update to 2.6.1-11: bugfixes and better start/stop script; also, some
attempt to pacify gcc3.3.

PR:		ports/61048
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d20 1
a20 1
CONFLICTS=	dansguardian-devel
@


1.11
log
@Update to version 2.6.1.6: mainly bugfixes.

PR:		ports/57162
Submitted by:	Petr Rehor <petr.rehor@@i.cz>
Reworked by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.6.1.6
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \
@


1.10
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d9 1
a9 1
PORTVERSION=	2.6.1.3
d15 1
a15 1
COMMENT=	A fast, featureful web content filter for Squid proxy servers
d19 2
@


1.9
log
@port update: www/dansguardian to version 2.6.1-3

	The latest stable release of DansGuardian is 2.6.1-3.  This
	release fixes a few security glitches in earlier releases,
	and adds several new features to improve filtering, throughput,
	and resource usage.  A recommended update for all DG users.

PR:		ports/54199
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca>
@
text
@d18 1
a18 1
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install
@


1.8
log
@De-pkg-comment.
@
text
@d3 1
a3 1
# Whom:					Freddie Cash <fcash@@bigfoot.com>
d9 1
a9 2
PORTVERSION=	2.2.10.0
PORTREVISION=	1
d14 2
a15 2
MAINTAINER=	fcash@@bigfoot.com
COMMENT=	A fast, simple web content filter for Squid proxy servers
a32 4
.if defined(WITHOUT_PICS)
CONFIGURE_ARGS+=	--without-pics-filter
.endif

d37 1
d40 6
@


1.7
log
@Correct ports that were abusing the FORBIDDEN variable and replace with
either IGNORE or BROKEN.

Since there seems to be some confusion, for the record:

BROKEN		is reserved for ports that don't work.  This will prevent
		users from installing the port, but please note that
		ports marked as BROKEN will still be built by bento
IGNORE		is reserved for ports that should not be built for one
		reason or another (including bento).  Users and bento
		will not build ports marked as IGNORE.
FORBIDDEN	is reserved for security breakages only!!!  Only mark a
		port as FORBIDDEN if there is a security issue with the
		port at the time.

Reviewed by:	kris (portmgr)
@
text
@d16 1
@


1.6
log
@Dansguardian requires squid be running before it starts. This patch
starts dansguardian after squid starts up.

PR:		43660
Submitted by:	MAINTAINER: Freddie Cash <fcash@@bigfoot.com>
@
text
@d45 1
a45 1
FORBIDDEN="Commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
@


1.5
log
@Upgrade 2.2.9.1 --> 2.2.10.0

PR:             37396
Submitted by:   MAINTAINER <fcash@@bigfoot.com>
@
text
@d10 1
@


1.4
log
@Update to 2.2.9.1

PR:		37113
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.2.9.1
@


1.3
log
@Update 2.2.7-1 -> 2.2.8-0.

PR:		36677
Submitted by:	MAINTAINER:  Freddie Cash <fcash@@bigfoot.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.2.8.0
d12 1
a12 1
DISTNAME=	DansGuardian-2.2.8-0.source
d19 1
a19 1
WRKSRC=		${WRKDIR}/DansGuardian-2.2.8
@


1.2
log
@Use FORBIDDEN to display notice about manual fetching of distfile.

Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.2.7.1
d12 1
a12 1
DISTNAME=	DansGuardian-2.2.7-1.source
d19 1
a19 1
WRKSRC=		${WRKDIR}/DansGuardian-2.2.7
d26 1
a26 1
		--logdir=/squid/logs/ \
d33 1
a33 1
CONFIGURE_ARGS+= --without-pics-filter
a36 1
MANCOMPRESSED=	no
d41 3
a43 1
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
d47 4
a50 1
.include <bsd.port.mk>
@


1.1
log
@Add dansguardian 2.2.7.1, a fast, simple web content filter for
Squid proxy servers.

PR:		35382
Submitted by:	Freddie Cash <fcash@@bigfoot.com>
@
text
@d42 3
a44 12
do-fetch:
	@@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then         \
	${ECHO} "";							 \
	${ECHO} "   Commercial downloading is restricted.  Please read"; \
	${ECHO} "   the licensing info at ${DG_URL}"; \
	${ECHO} "";							 \
	${ECHO} "   The DansGuardian sources must be fetched manually."; \
	${ECHO} "   Download ${DISTNAME}${EXTRACT_SUFX} and place it in";\
	${ECHO} "   ${DISTDIR} then run make install.";\
	${ECHO} "";\
	${FALSE};\
	fi
@

