head	1.13;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.12;

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

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

1.10
date	2008.09.15.19.56.36;	author garga;	state Exp;
branches;
next	1.9;

1.9
date	2008.08.21.06.18.14;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2008.04.16.16.10.17;	author garga;	state Exp;
branches;
next	1.7;

1.7
date	2007.12.19.23.08.36;	author garga;	state Exp;
branches;
next	1.6;

1.6
date	2007.03.13.20.11.16;	author garga;	state Exp;
branches;
next	1.5;

1.5
date	2007.03.11.09.04.11;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2006.11.13.10.17.09;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2006.05.13.04.15.00;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2006.02.23.10.38.53;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.15.15.24.16;	author pav;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:	clamcour
# Whom:					Milan Obuch
# Date created:				January 13 2006
#
# $FreeBSD: head/security/clamcour/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	clamcour
PORTVERSION=	0.3.8
PORTREVISION=	6
CATEGORIES=	security mail
MASTER_SITES=	http://www.becrux.com/pages/projects/clamcour/

MAINTAINER=	bsd@@dino.sk
COMMENT=	ClamAV courier filter

BUILD_DEPENDS=	courier-config:${PORTSDIR}/mail/courier
LIB_DEPENDS=	clamav.7:${PORTSDIR}/security/clamav

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--with-clamav-config=${LOCALBASE}/bin \
		--with-courier-config=${LOCALBASE}/bin
CPPFLAGS+=	-I${LOCALBASE}/include
CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib

MAN1=		clamcour.1
PLIST_DIRS=	etc/courier/clamcour
PLIST_FILES=	libexec/filters/clamcour

post-patch:
	@@${REINPLACE_CMD} -e 's/^CXXFLAGS *=/CXXFLAGS?=/g' \
		${WRKSRC}/configure
	@@${REINPLACE_CMD} -e '/cl_limits/d; s/cl_node/cl_engine/' \
		${WRKSRC}/src/clam.h

.include <bsd.port.mk>
@


1.12
log
@Chase clamav's lib bump
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- Bump necessary PORTREVISIONS and fix some ports to new clamav API
@
text
@d10 1
a10 1
PORTREVISION=	5
d18 1
a18 1
LIB_DEPENDS=	clamav.6:${PORTSDIR}/security/clamav
@


1.10
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=	4
d18 1
a18 1
LIB_DEPENDS=	clamav.5:${PORTSDIR}/security/clamav
a26 1
CONFIGURE_ENV=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
d32 6
@


1.9
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	3
d18 1
a18 1
LIB_DEPENDS=	clamav.4:${PORTSDIR}/security/clamav
@


1.8
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
@a20 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.7
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
d18 1
a18 1
LIB_DEPENDS=	clamav.3:${PORTSDIR}/security/clamav
@


1.6
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
@d10 1
a10 1
PORTREVISION=	1
d18 1
a18 1
LIB_DEPENDS=	clamav.2:${PORTSDIR}/security/clamav
@


1.5
log
@BROKEN: Does not compile
@
text
@d10 1
d18 1
a18 3
LIB_DEPENDS=	clamav.1:${PORTSDIR}/security/clamav

BROKEN=		Does not compile
@


1.4
log
@- Update to 0.3.8

PR:		ports/105432
Submitted by:	Milan Obuch<bsd@@dino.sk> (maintainer)
@
text
@d19 2
@


1.3
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 1
PORTVERSION=	0.2.3
d30 1
@


1.2
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a18 1
USE_REINPLACE=	yes
@


1.1
log
@ClamCour is a filter for courier MTA using ClamAV for scanning mails for
viruses.

PR:		ports/91740
Submitted by:	Milan Obuch <bsd@@dino.sk>
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	libtool:15
@

