head	1.46;
access;
symbols
	RELEASE_8_3_0:1.36
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.32
	RELEASE_8_0_0:1.32
	RELEASE_7_2_0:1.31
	RELEASE_7_1_0:1.29
	RELEASE_6_4_0:1.29
	RELEASE_5_EOL:1.27
	RELEASE_7_0_0:1.25
	RELEASE_6_3_0:1.25
	PRE_XORG_7:1.24
	RELEASE_4_EOL:1.24
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.18
	RELEASE_5_5_0:1.18
	RELEASE_6_0_0:1.15
	RELEASE_5_4_0:1.15
	RELEASE_4_11_0:1.15
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.10
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1;
locks; strict;
comment	@# @;


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

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

1.44
date	2012.12.10.19.24.05;	author svnexp;	state Exp;
branches;
next	1.43;

1.43
date	2012.11.17.06.02.30;	author svnexp;	state Exp;
branches;
next	1.42;

1.42
date	2012.10.05.12.41.45;	author garga;	state Exp;
branches;
next	1.41;

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

1.40
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.39;

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

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

1.37
date	2012.07.02.22.20.27;	author garga;	state Exp;
branches;
next	1.36;

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

1.35
date	2012.02.14.12.45.32;	author mm;	state Exp;
branches;
next	1.34;

1.34
date	2012.01.05.01.20.28;	author garga;	state Exp;
branches;
next	1.33;

1.33
date	2010.08.30.19.42.43;	author garga;	state dead;
branches;
next	1.32;

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

1.31
date	2009.03.24.19.15.44;	author garga;	state Exp;
branches;
next	1.30;

1.30
date	2009.01.14.22.14.54;	author beech;	state Exp;
branches;
next	1.29;

1.29
date	2008.09.15.19.56.38;	author garga;	state Exp;
branches;
next	1.28;

1.28
date	2008.07.25.14.34.46;	author pav;	state Exp;
branches;
next	1.27;

1.27
date	2008.04.16.16.10.17;	author garga;	state Exp;
branches;
next	1.26;

1.26
date	2008.03.27.16.10.19;	author pav;	state Exp;
branches;
next	1.25;

1.25
date	2007.07.23.09.36.43;	author rafan;	state Exp;
branches;
next	1.24;

1.24
date	2007.01.27.23.58.45;	author miwi;	state Exp;
branches;
next	1.23;

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

1.22
date	2006.09.03.17.40.03;	author kris;	state Exp;
branches;
next	1.21;

1.21
date	2006.06.06.14.50.05;	author itetcu;	state Exp;
branches;
next	1.20;

1.20
date	2006.04.08.13.02.08;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2006.03.20.22.28.24;	author pav;	state Exp;
branches;
next	1.18;

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

1.17
date	2005.12.27.23.02.10;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2005.10.25.17.07.51;	author garga;	state Exp;
branches;
next	1.15;

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

1.14
date	2004.09.30.05.31.58;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.01.21.26.12;	author vs;	state Exp;
branches;
next	1.12;

1.12
date	2004.07.01.11.10.44;	author vs;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.09.21.41.14;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2004.03.09.22.48.23;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.19.04.59.48;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.07.09.12.49;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.28.01.25.19;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.14.01.14;	author knu;	state Exp;
branches;
next	1.5;

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

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

1.3
date	2002.06.28.02.25.39;	author pat;	state Exp;
branches;
next	1.2;

1.2
date	2002.06.02.22.14.36;	author cy;	state Exp;
branches;
next	1.1;

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


desc
@@


1.46
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311114
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Freddie Cash <fjwcash@@gmail.com>
# $FreeBSD: head/www/dansguardian-devel/Makefile 311114 2013-01-28 11:13:38Z garga $

PORTNAME=	dansguardian
PORTVERSION=	2.12.0.3
CATEGORIES=	www
MASTER_SITES=	SF/dansguardian

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_PKGCONFIG=	yes
USE_BZIP2=	yes

CONFLICTS=	dansguardian-2.10.*
LATEST_LINK=	dansguardian-devel

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 SSL 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

post-patch:
.if empty(PORT_OPTIONS:MDOCS)
	@@${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \
		${WRKSRC}/doc/Makefile.in
.endif
.if ${PORT_OPTIONS:MSSL}
	@@${REINPLACE_CMD} -e 's|ifdef __SSLCERT|ifdef __SSLCERT_ERROR_AUTH|' \
		${WRKSRC}/src/Auth.cpp
LDFLAGS+=	-lssl -lcrypto
CFLAGS+=	-D__SSLMITM -D__SSLCERT
.endif

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

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


1.45
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310118
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310118 | garga | 2013-01-09 00:47:51 +0000 (Wed, 09 Jan 2013) | 2 lines
## SVN ##
## SVN ## Update to 2.12.0.2
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/dansguardian-devel/Makefile 310118 2013-01-09 00:47:51Z garga $
d5 1
a5 1
PORTVERSION=	2.12.0.2
d7 1
a7 1
MASTER_SITES=	# empty, see below
d16 1
a16 1
USE_GNOME=	pkgconfig
a116 5
# 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

@


1.44
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
@d2 1
a2 1
# $FreeBSD: head/www/dansguardian-devel/Makefile 308630 2012-12-10 19:11:11Z mm $
d5 1
a5 2
PORTVERSION=	2.12.0.0
PORTREVISION=	2
d17 1
@


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


1.42
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.41
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:				April 02, 2002
# Whom:					Freddie Cash <fjwcash@@gmail.com>
#
a2 1
#
@


1.40
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.39
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.38
log
@SVN rev 300976 on 2012-07-16 20:03:57Z 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 SSL
OPTIONS_DEFAULT=APACHE TRICKLE
@


1.37
log
@Remove lib version from LIB_DEPENDS to silence portlint
@
text
@d35 12
a46 10
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 \
		SSL     "Enable SSL Cert verify and filtering (experimental)" 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)
d131 1
a131 1
.if defined(WITH_SSL)
@


1.36
log
@- Add a new OPTION to enable experimental SSL support

Submitted by:	Marcello Coutinho <marcellocoutinho@@gmail.com>
@
text
@d18 1
a18 1
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
@


1.35
log
@Bump pcre library dependency due to 8.30 update
@
text
@d43 2
a44 1
		DEBUG   "Enable debug options - not for production use" off
d134 6
@


1.34
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
d18 1
a18 1
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
@


1.33
log
@- Remove www/dansguardian-devel. It's older than www/dansguardian and
  unmaintained
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/dansguardian-devel/Makefile,v 1.32 2009/09/19 20:24:13 linimon Exp $
d9 1
a9 2
PORTVERSION=	2.9.9.3
PORTREVISION=	1
a11 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d17 1
a17 2

USE_ICONV=	yes
d20 1
d22 1
a22 1
CONFLICTS=	dansguardian-2.[678]*
a23 1
IGNORE=		dansGuardian 2.10 has gone stable, use www/dansguardian
d28 3
a30 1
		--with-piddir=/var/run
d34 9
a42 11
OPTIONS=	DG_APACHE  "Enable Apache support for access denied page" on \
		DG_PCRE    "Enable PCRE support" on \
		DG_DMGR    "Enable the fancy download manager" on \
		DG_TRICKLE "Enable the trickle download manager" on \
		DG_CLISCAN "Enable support for CLI content scanners" off \
		DG_CLAMD   "Enable ClamAV daemon support (clamd)" off \
		DG_ICAP    "Enable ICAP AV content scanner support (testing)" off \
		DG_KASP    "Enable Kaspersky AV support (testing)" off \
		DG_NTLM    "Enable NTLM authentication plugin" off \
		DG_EMAIL   "Enable e-mail reporting support" off \
		DG_DEBUG   "Enable debug options - not for production use" off
d47 1
a47 3
RESTRICTED=	Redistribution and commercial download is restricted. Check ${DG_URL} for more info

PORTDOCS=	AuthPlugins ContentScanners DownloadManagers FAQ FAQ.html Plugins
d51 2
a52 2
.if !defined(WITHOUT_DG_APACHE)
USE_APACHE=	1.3+
d55 5
a59 6
.if !defined(WITHOUT_DG_PCRE)
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
.endif

.if !defined(WITHOUT_DG_TRICKLE)
CONFIGURE_ARGS+=	--enable-trickledm
d62 1
a62 1
.if defined(WITH_DG_CLISCAN)
d69 1
a69 1
.if defined(WITH_DG_CLAMD)
d77 1
a77 1
.if defined(WITH_DG_ICAP)
d84 1
a84 1
.if defined(WITH_DG_KASP)
d91 1
a91 1
.if defined(WITH_DG_CLAMD) || defined(WITH_DG_ICAP) || defined(WITH_DG_KASP) || defined(WITH_CLISCANCONF)
d97 3
a99 9
.if !defined(WITHOUT_DG_DMGR)
CONFIGURE_ARGS+=	--enable-fancydm
#PLIST_SUB+=		DMGR=""
#.else
#PLIST_SUB+=		DMGR="@@comment "
.endif

.if defined(WITH_DG_NTLM)
CONFIGURE_ARGS+=	--enable-ntlm
d105 1
a105 1
.if defined(WITH_DG_EMAIL)
d112 2
a113 2
.if defined(WITH_DG_DEBUG)
CONFIGURE_ARGS+=	--enable-dgdebug
d116 6
d127 6
@


1.32
log
@Reset maintainer at his request.

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.31
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
@d15 1
a15 1
MAINTAINER=	fjwcash@@gmail.com
@


1.30
log
@- Mark ignore (per maintainer request)

PR:		ports/130562
Submitted by:	Freddie Cash <fjwcash@@gmail.com> (maintainer)
@
text
@a40 1
		DG_CLAMAV  "Enable ClamAV library support (libclamav)" off \
a74 8
.if defined(WITH_DG_CLAMAV)
CONFIGURE_ARGS+=	--enable-clamav
LIB_DEPENDS+=		clamav.5:${PORTSDIR}/security/clamav
PLIST_SUB+=		CLAMAVCONF=""
.else
PLIST_SUB+=		CLAMAVCONF="@@comment "
.endif

d97 1
a97 1
.if defined(WITH_DG_CLAMD) || defined(WITH_DG_CLAMAV) || defined(WITH_DG_ICAP) || defined(WITH_DG_KASP) || defined(WITH_CLISCANCONF)
@


1.29
log
@- Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
@
text
@d26 1
@


1.28
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@d77 1
a77 1
LIB_DEPENDS+=		clamav.4:${PORTSDIR}/security/clamav
@


1.27
log
@- Chase clamav library to version 4
- Bump PORTREVISION

Following ports are marked as BROKEN since they don't build with new clamav
0.93:

www/c-icap
mail/claws-mail-clamav
www/gurlchecker
www/havp
security/klamav
devel/p5-Mail-ClamAV
devel/py-clamav
www/squidclam

This clamav version needed to be updated without wait other ports fixes
because it fixes important vulnerabilities.
@
text
@a19 1
USE_GCC=	3.4+
@


1.26
log
@- Update to 2.9.9.3
- Update maintainer address

PR:		ports/122139
Submitted by:	Freddie Cash <fjwcash@@gmail.com> (maintainer)
@
text
@d10 1
a10 1
#PORTREVISION=	1
d78 1
a78 1
LIB_DEPENDS+=		clamav.3:${PORTSDIR}/security/clamav
@


1.25
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
@d3 1
a3 1
# Whom:					Freddie Cash <fcash@@bigfoot.com>
d9 1
a9 1
PORTVERSION=	2.9.8.2
d15 1
a15 1
MAINTAINER=	fcash@@sd73.bc.ca
d23 1
a23 1
USE_RC_SUBR=	dansguardian.sh
d53 2
d62 1
a62 1
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
d70 1
a70 1
CONFIGURE_ARGS+=	--enable-commandline=yes
a76 1
#IGNORE=		please use the clamd plugin support.  It's much more flexible, usable, tested, and just generally better
d78 1
a78 1
LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav
a92 1
#IGNORE=		I don't have access to ICAP AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks
a99 1
#IGNORE=		I don't have access to Kaspersky AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks
@


1.24
log
@- Update to 2.9.8.2

PR:		108359
Submitted by:	Freddie Cash<fcash@@ocis.net> (Maintainer)
@
text
@a29 1
		--mandir=/usr/local/man \
@


1.23
log
@- Update to 2.9.8.0

PR:		ports/103723
Submitted by:	Freddie Cash <fcash@@ocis.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.9.8.0
a17 1
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
d30 1
d37 1
d46 2
a47 1
		DG_EMAIL   "Enable e-mail reporting support" off
d60 4
d135 4
@


1.22
log
@Remove dead reference to ${NO_PACKAGE}
@
text
@d9 1
a9 1
PORTVERSION=	2.9.7.0
d38 2
d58 11
d71 1
a71 1
CONFIGURE_ARGS+=	--enable-clamav=yes
d79 1
a79 1
CONFIGURE_ARGS+=	--enable-clamd=yes
d102 1
a102 1
.if defined(WITH_DG_CLAMD) || defined(WITH_DG_CLAMAV) || defined(WITH_DG_ICAP) || defined(WITH_DG_KASP)
@


1.21
log
@- Update to 2.9.7.0
Add / unbreak support (defaults to off) for:
- DG_ICAP    "Enable ICAP AV content scanner support (testing)"
- DG_KASP    "Enable Kaspersky AV support (testing)"
- DG_NTLM    "Enable NTLM authentication plugin"
- DG_EMAIL   "Enable e-mail reporting support"

PR:		ports/97994
Submitted by:	maintainer
Approved by:	lawrance (mentor, implicit)
@
text
@d48 1
a48 1
RESTRICTED=	Redistribution and commercial download is restricted. Check ${DG_URL} for more info ${NO_PACKAGE}
@


1.20
log
@- Enable clamav, ICAP, Kaspersky options

PR:		ports/95089
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d9 2
a10 2
PORTVERSION=	2.9.6.1
PORTREVISION=	1
d40 4
a43 2
		DG_ICAP    "Enable ICAP AV content scanner support (broken)" off \
		DG_KASP    "Enable Kaspersky AV support (broken)" off
d48 1
a48 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}
d52 1
a52 1
.if defined(WITH_DG_APACHE)
d89 7
a95 1
.if defined(WITH_DG_DMGR)
d102 14
@


1.19
log
@- Update to 2.9.6.1

PR:		ports/94744
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d10 1
d39 1
a39 1
		DG_CLAMAV  "Enable ClamAV support (libclamav) (broken)" off \
d57 6
a62 9
#.if defined(WITH_DG_FORCE_CLAMAV)
#CONFIGURE_ARGS+=	--enable-clamav=yes
#LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav
#PLIST_SUB+=		CLAMAVCONF=""
#.else
#PLIST_SUB+=		CLAMAVCONF="@@comment "
#.endif
#.else
BROKEN=	Please use the clamd plugin support.  It's much more flexible, usable, tested, and just generally better
d74 5
a78 1
BROKEN=	I don't have access to ICAP AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks
d82 5
a86 1
BROKEN=	I don't have access to Kaspersky AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks
d98 1
a98 1
IGNORE="Commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
@


1.18
log
@- Update to 2.9.5.0

PR:		ports/93110
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.9.5.0
d35 2
a36 2
OPTIONS=	DG_APACHE  "Enable Apache support" on \
		DG_CLAMAV  "Enable ClamAV support (libclamav)" off \
d38 3
a40 3
		DG_ICAP    "Enable ICAP AV content scanner support" off \
		DG_KASP    "Enable Kaspersky AV support" off \
		DG_DMGR    "Enable the fancy download manager" off
d56 9
a64 2
CONFIGURE_ARGS+=	--enable-clamav=yes
LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav
d69 4
a72 1
RUN_DEPENDS+=		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
d85 3
@


1.17
log
@port-update: www/dansguardian-devel to 2.9.3.2

	Update to the latest development version of DansGuardian.
	Clean up the port Makefile, add Apache as an optional
	dependency, and use the new RCng rcorder framework.  Tested
	on the two systems listed above.  Compiles, installs,
	uninstalls, and runs correctly, although I am not able to
	test all the new auth plugins.

PR:		ports/90827
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca>
@
text
@d9 1
a9 1
PORTVERSION=	2.9.3.2
d17 1
a17 3
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre \
		iconv.3:${PORTSDIR}/converters/libiconv
		
d21 1
d45 3
a47 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}"
d57 1
a57 1
LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav:install
d66 1
a66 1
BROKEN=	"I don't have access to ICAP AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks"
d70 1
a70 1
BROKEN=	"I don't have access to Kaspersky AV, so I can't test this.  If you have access to it, drop me an e-mail.  Thanks"
@


1.16
log
@- Update to 2.9.0.1

PR:		ports/87962
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.9.0.1
d17 4
a20 5
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13

#IGNORE=		"currently at lower revision than www/dansguardian"
d24 1
a24 2
USE_RC_SUBR=	yes
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
d36 6
a41 6
OPTIONS=	DG_CLAMAV "Enable ClamAV support (libclamav)" off \
		DG_CLAMD  "Enable ClamAV daemon support (clamd)" off \
		DG_ICAP   "Enable ICAP AV content scanner support" off \
		DG_KASP   "Enable Kaspersky AV support" off \
		DG_DMGR   "Enable the fancy download manager" off
#		DG_PHRASELISTS "Install new phraselists. (Overwrites existing.)" off
d48 1
a48 1
RESTRICTED=	${NO_PACKAGE}
d52 2
a53 2
.if defined(WITH_DG_CLAMAV) && defined(WITH_DG_CLAMD)
BROKEN=	"You have select both ClamAV integration options, which is known to cause issues.  Please select only one of the ClamAV options.  Run make config to change the options"
d58 1
a58 1
LIB_DEPENDS=		clamav.1:${PORTSDIR}/security/clamav:install
a82 12
post-extract:
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/dansguardian.sh > ${WRKSRC}/dansguardian.sh

pre-install:
# Configure pkg-plist based on whether phraselists are to be installed or not
.if defined(WITH_DG_PHRASELISTS)
PLIST_SUB=	PHRASELISTS=""
.else
PLIST_SUB=	PHRASELISTS="@@comment "
.endif

a83 12
# Check whether to install default phraselists
.if defined(WITH_DG_PHRASELISTS)
	@@${ECHO_MSG} "===>   Installing default phraselists into ${CONFDIR}/phraselists"
	@@${CP} -R ${WRKSRC}/phraselists ${CONFDIR}
.else
	@@${ECHO_MSG} "===>   Skipping installation of phraselists."
.endif

# 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.15
log
@Mark as ignore for now since the non-devel version is newer.

PR:		ports/72099
Submitted by:	Freddie Cash <fcash at sd73 dot bc dot ca> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.7.9
d12 1
a12 1
DISTNAME=	DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
d17 1
d21 3
a23 1
IGNORE=		"currently at lower revision than www/dansguardian"
d28 1
a28 1
CONFLICTS=	dansguardian-2.6*
a30 1
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
d32 4
a35 7
CONFIGURE_ARGS=	--bindir=/sbin/ \
		--sysconfdir=/etc/dansguardian/ \
		--sysvdir=/etc/rc.d/ \
		--mandir=/man/ \
		--logdir=/var/log/ \
		--cgidir=/www/cgi-bin/ \
		--piddir=/var/run/
d38 6
a43 2
OPTIONS=	DG_GCC3 "Compile using GCC 3.3 on FreeBSD 4.x." off \
		DG_PHRASELISTS "Install new phraselists. (Overwrites existing.)" off
d54 24
a77 6
# On FreeBSD 4.x, user can choose which GCC version to use
.if ${OSVERSION} > 500000 || defined(WITH_DG_GCC3)
CONFIGURE_ARGS+=	--gccver=3
USE_GCC=		3.4
.else
CONFIGURE_ARGS+=	--gccver=2
@


1.14
log
@Increase USE_GCC to 3.4 for those ports which compile with it.

Approved by:	portmgr
@
text
@d20 2
@


1.13
log
@Fix left-over from testing.

Noticed by: kris
Pointy hat: me
@
text
@d52 1
a52 1
USE_GCC=		3.3
@


1.12
log
@- Update to 2.7.7.9
- Fixup OPTIONS/GCC 3.3 handling

PR:		ports/68517
Submitted by:	maintainer
@
text
@d44 1
a44 1
#NO_PACKAGE=	"Redistribution is restricted.  Check ${DG_URL} for more info"
@


1.11
log
@- Update to 2.7.7-8
- Convert to RCng
- Define latest link

PR:		ports/66336
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.7.8
d37 2
a38 2
OPTIONS=	DG_GCC3 "Compile using GCC 3.x on FreeBSD 4.x." off \
		DG_PHRASELISTS "Install new phraselists." off
d44 1
a44 1
NO_PACKAGE=	"Redistribution is restricted.  Check ${DG_URL} for more info"
d52 1
@


1.10
log
@Correct the CONFLICTS.  Remove unneccessary fluff.

Pointed out by:		eik
@
text
@d9 1
a9 1
PORTVERSION=	2.7.6.7
d14 1
a14 1
MAINTAINER=	fcash@@bigfoot.com
d18 1
a18 1
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}
d20 2
a21 1
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
d24 1
d26 1
d35 4
d41 1
a41 2

MAN8=		dansguardian.8
d49 2
a50 1
.if ${OSVERSION} > 500000 || defined(WITH_GCC3)
d56 1
d61 12
d74 13
@


1.9
log
@Update to latest development snapshot.

Submitted by:	fcash@@bigfoot.com (maintainer)
@
text
@d17 2
a18 2
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid:install \
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}:install
d22 1
a22 1
CONFLICTS=	dansguardian*
d25 1
a25 2
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--bindir=/sbin/ \
@


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

Submitted by:	dinoex
@
text
@d9 1
a9 1
PORTVERSION=	2.4.6.5
d15 1
a15 1
COMMENT=	A fast, simple web content filter for Squid proxy servers
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \
d20 3
a22 1
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}
d40 1
d43 6
@


1.7
log
@Use IGNORE instead of FORBIDDEN, and check for !PACKAGE_BUILDING
@
text
@d18 1
a18 1
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install
@


1.6
log
@De-pkg-comment.
@
text
@d41 2
a42 2
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
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
@Update 2.4.5.2 --> 2.4.6.5

PR:		43661
Submitted by:	MAINTAINER: fcash@@lug.kamloops.net
@
text
@d15 1
@


1.4
log
@Update to 2.4.5.2

PR:		ports/41129
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.4.5.2
@


1.3
log
@Update to 2.4.4.0

PR:		ports/39913
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.4.4.0
@


1.2
log
@Update 2.4.2-1 --> 2.4.3-2

PR:		38430
Submitted by:	MAINTAINER: Freddie Cash <fcash@@bigfoot.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.4.3.2
@


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

PR:		36676
Submitted by:	Freddie Cash <fcash@@bigfoot.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.4.2.1
d12 1
a12 1
DISTNAME=	DansGuardian-2.4.2-1.source
d19 2
a20 1
WRKSRC=		${WRKDIR}/DansGuardian-2.4.2
@

