head	1.32;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.27
	RELEASE_8_2_0:1.27
	RELEASE_6_EOL:1.26
	RELEASE_8_1_0:1.25
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.32
date	2013.03.06.12.55.11;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2013.02.07.14.08.07;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2011.09.23.22.26.02;	author amdmi3;	state Exp;
branches;
next	1.28;

1.28
date	2011.08.20.19.00.07;	author ohauer;	state Exp;
branches;
next	1.27;

1.27
date	2010.12.04.07.33.58;	author ade;	state Exp;
branches;
next	1.26;

1.26
date	2010.08.31.01.13.56;	author pgollucci;	state Exp;
branches;
next	1.25;

1.25
date	2010.05.25.20.17.29;	author pgollucci;	state Exp;
branches;
next	1.24;

1.24
date	2010.05.18.04.07.51;	author pgollucci;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.05.21.54.05;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2010.04.06.12.01.56;	author garga;	state Exp;
branches;
next	1.21;

1.21
date	2009.08.02.19.36.01;	author mezz;	state Exp;
branches;
next	1.20;

1.20
date	2009.05.21.20.45.27;	author pgollucci;	state Exp;
branches;
next	1.19;

1.19
date	2009.05.09.18.58.19;	author garga;	state Exp;
branches;
next	1.18;

1.18
date	2009.04.29.01.41.18;	author pgollucci;	state Exp;
branches;
next	1.17;

1.17
date	2009.03.27.11.53.07;	author garga;	state Exp;
branches;
next	1.16;

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

1.15
date	2008.08.16.21.55.22;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2008.08.15.06.53.14;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2008.04.16.16.10.18;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2007.12.19.23.08.38;	author garga;	state Exp;
branches;
next	1.11;

1.11
date	2007.10.15.15.35.25;	author garga;	state Exp;
branches;
next	1.10;

1.10
date	2007.08.20.17.14.38;	author itetcu;	state Exp;
branches;
next	1.9;

1.9
date	2007.03.13.20.11.17;	author garga;	state Exp;
branches;
next	1.8;

1.8
date	2007.01.29.23.51.54;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2006.02.23.10.39.42;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2005.11.15.06.51.33;	author ade;	state Exp;
branches;
next	1.5;

1.5
date	2004.06.04.17.29.35;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2004.05.05.12.36.02;	author clement;	state Exp;
branches;
next	1.3;

1.3
date	2004.04.21.20.39.23;	author clement;	state Exp;
branches;
next	1.2;

1.2
date	2004.04.20.09.34.54;	author clement;	state Exp;
branches;
next	1.1;

1.1
date	2004.04.18.17.01.11;	author clement;	state Exp;
branches;
next	;


desc
@@


1.32
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313460
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Clement Laforet <clement@@FreeBSD.org>
# $FreeBSD: head/www/mod_clamav/Makefile 313460 2013-03-05 17:07:43Z miwi $

PORTNAME=	mod_clamav
PORTVERSION=	0.23
PORTREVISION=	4
CATEGORIES=	www security
MASTER_SITES=	http://software.othello.ch/mod_clamav/ \
		http://www.kommunity.net/download/mod_clamav/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	tmueko@@kommunity.net
COMMENT=	Scans content delivered by the Apache20 proxy module for viruses

MAKE_JOBS_SAFE=	yes

USE_AUTOTOOLS=	libtool
USE_APACHE=	22
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=		CLAMAVDEVEL
CLAMAVDEVEL_DESC=	development version of CLAMAV

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCLAMAVDEVEL}
LIB_DEPENDS+=	clamav.7:${PORTSDIR}/security/clamav-devel
.else
CLAMAV_PORT=	security/clamav
LIB_DEPENDS+=	clamav.7:${PORTSDIR}/security/clamav
.endif

CONFIGURE_ARGS=	--with-apxs=${APXS} \
		--libdir=${PREFIX}/lib/apache2
CFLAGS+=	-I${LOCALBASE}/include
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib \
		-pthread

post-patch:
	@@${REINPLACE_CMD} -e 's,REG_EXTENDED,AP_REG_EXTENDED,' \
		${WRKSRC}/config.c
	@@${REINPLACE_CMD} -e '/^AC_CHECK_HEADERS/ s,regex.h ,,g' \
		${WRKSRC}/configure.in

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311829
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 6
# New ports collection makefile for:	mod_clamav
# Date created:				Sun Oct 19
# Whom:					Clement Laforet <clement@@FreeBSD.org>
#
# $FreeBSD: head/www/mod_clamav/Makefile 311829 2013-02-07 12:37:48Z gahr $
#
d21 2
a22 1
OPTIONS=	CLAMAVDEVEL	"Use development version of CLAMAV" off
d26 1
a26 1
.if defined(WITH_CLAMAVDEVEL)
@


1.30
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/mod_clamav/Makefile 300897 2012-07-14 14:29:18Z beat $
d39 1
a39 2
CPPFLAGS+=	-I${LOCALBASE}/include \
		${PTHREAD_CFLAGS}
d41 1
a41 1
		${PTHREAD_LIBS}
@


1.29
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.28
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@a42 2
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}"
@


1.27
log
@Sync to new bsd.autotools.mk
@
text
@d22 1
a22 1
USE_APACHE=	2.2
@


1.26
log
@- pet portlint
- add OPTIONS
- use apxs not sed in pkg-plist
- use PLIST_SUB vars in pkg-plist
- bump PORTREVISION

PR:             ports/147145
Submitted by:   myself (pgollucci)
Approved by:    maintainer timeout (tmueko@@kommunity.net ; ~3 months)
With Hat:       apache@@
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	libtool:22
@


1.25
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	3
d19 1
a19 1
MAKE_JOBS_SAFE=  yes
d25 4
@


1.24
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d14 1
@


1.23
log
@5/5: Chase www/apache22 (bundled apr shlib bump)

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.22
log
@Chase clamav's lib bump
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.21
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d10 1
d25 1
a25 1
LIB_DEPENDS+=	clamav.6:${PORTSDIR}/security/clamav-devel
d28 1
a28 1
LIB_DEPENDS+=	clamav.6:${PORTSDIR}/security/clamav
@


1.20
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	libtool:15
@


1.19
log
@- Update to version 0.23

PR:		ports/133876
Submitted by:	garga
Approved by:	maintainer timeout (> 2 weeks)
@
text
@d17 2
@


1.18
log
@- WITH_APACHE2 is deprecated and was never needed
- Remove version check USE_APACHE=2.0 takes care of it
- Use some bsd.apache.mk vars
- PREFIX->LOCALBASE

PR:             ports/133683
Approved by:    maintainer timeout (2 weeks)
Submitted by:   me
@
text
@d9 1
a9 2
PORTVERSION=	0.22
PORTREVISION=	4
d18 1
a18 1
USE_APACHE=	2.0
d38 6
@


1.17
log
@- Bump necessary PORTREVISIONS and fix some ports to new clamav API
@
text
@a19 1
WITH_APACHE2=	YES
a21 6
.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/include/apache22/http_core.h) || exists(${LOCALBASE}/include/apache/http_core.h)
IGNORE=	mod_clamav only compile and run with apache-2.0.x
.endif

d29 1
a29 1
CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs \
d41 2
a42 1
.include <bsd.port.post.mk>
@


1.16
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
@d10 1
a10 1
PORTREVISION=	3
d30 1
a30 1
LIB_DEPENDS+=	clamav.5:${PORTSDIR}/security/clamav-devel
d33 1
a33 1
LIB_DEPENDS+=	clamav.5:${PORTSDIR}/security/clamav
@


1.15
log
@Fix build process.

Submitted by:	pavbot
@
text
@d10 1
a10 1
PORTREVISION=	2
d30 1
a30 1
LIB_DEPENDS+=	clamav:${PORTSDIR}/security/clamav-devel
d33 1
a33 1
LIB_DEPENDS+=	clamav:${PORTSDIR}/security/clamav
@


1.14
log
@maintainer update www/mod_clamav

	Update to 0.22.
	Check that Apache-2.2 is NOT installed

PR:		ports/123594
Submitted by:	Tom Mller-Kortkamp <tmueko@@kommunity.net>
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
USE_APACHE=	YES
a35 2
BUILD_DEPENDS+=	apache20:${PORTSDIR}/www/apache20

@


1.13
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
@d9 2
a10 2
PORTVERSION=	0.21
PORTREVISION=	3
d12 2
a13 1
MASTER_SITES=	http://software.othello.ch/mod_clamav/
d16 1
a16 3
COMMENT=	Scans content delivered by the Apache2 proxy module for viruses

LIB_DEPENDS+=	clamav.4:${PORTSDIR}/${CLAMAV_PORT}
d23 6
d30 1
a30 1
CLAMAV_PORT=	security/clamav-devel
d33 1
d36 2
d50 1
a50 2

.include <bsd.port.mk>
@


1.12
log
@- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
  issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports

Approved by:	portmgr (pav)
Security:	CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
@
text
@d10 1
a10 1
PORTREVISION=	2
d17 1
a17 1
LIB_DEPENDS+=	clamav.3:${PORTSDIR}/${CLAMAV_PORT}
@


1.11
log
@- Unbreak

PR:		ports/117135
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
LIB_DEPENDS+=	clamav:${PORTSDIR}/${CLAMAV_PORT}
@


1.10
log
@Mark broken.

PR:		ports/115648
Submitted by:	Tom Mueller-Kortkamp
@
text
@a16 2
BROKEN=		doesn't work since cl_buildtrie() and cl_freetrie() where removed from clamlib (upstream problem)

@


1.9
log
@- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
@
text
@d17 2
@


1.8
log
@Use libtool port instead of included version to avoid a.out objformat botch
@
text
@d10 1
@


1.7
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d18 1
@


1.6
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	libtool:13
@


1.5
log
@Sync with new bsd.autotools.mk
@
text
@d20 1
a20 1
USE_LIBTOOL_VER=13
@


1.4
log
@- Update to 0.21
  Problem with gcc 2.95 has been fixed, so patch is removed.

Submitted by:   Tom Mller-Kortkamp <tmueko@@kommunity.net> (maintainer)
@
text
@d20 1
a20 1
USE_LIBTOOL=	YES
@


1.3
log
@- Fix build on 4.x

Approved by:	maintainer, portmgr (marcus)
@
text
@d9 1
a9 1
PORTVERSION=	0.20
@


1.2
log
@- Update to 0.20

Submitted by:    Tom Mller-Kortkamp <tmueko@@kommunity.net> (maintainer)
@
text
@d31 6
a36 2
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
@


1.1
log
@All mod_clamev 0.19, scans content delivered by the Apache2 proxy
module for viruses

Submitted by:   Tom Mller-Kortkamp <tmueko@@kommunity.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.19
@

