head	1.17;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.02.01.15.53.08;	author tabthorpe;	state Exp;
branches;
next	1.15;

1.15
date	2010.04.06.12.01.55;	author garga;	state Exp;
branches;
next	1.14;

1.14
date	2009.03.27.11.53.05;	author garga;	state Exp;
branches;
next	1.13;

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

1.12
date	2008.06.09.23.17.14;	author mnag;	state Exp;
branches;
next	1.11;

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

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

1.9
date	2007.07.30.09.41.54;	author alexbl;	state Exp;
branches;
next	1.8;

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

1.7
date	2007.03.06.22.19.48;	author mnag;	state Exp;
branches;
next	1.6;

1.6
date	2006.04.25.21.16.24;	author mnag;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.22.14.00.38;	author mnag;	state Exp;
branches;
next	1.4;

1.4
date	2005.09.16.17.58.31;	author mnag;	state Exp;
branches;
next	1.3;

1.3
date	2005.07.19.19.22.50;	author novel;	state Exp;
branches;
next	1.2;

1.2
date	2005.01.13.16.10.42;	author niels;	state Exp;
branches;
next	1.1;

1.1
date	2005.01.08.17.28.39;	author sem;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-clamav
# Date created:				26 Dec 2004
# Whom:					Marcus Alves Grando <mnag@@FreeBSD.org>
#
# $FreeBSD: head/security/py-clamav/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	clamav
PORTVERSION=	0.4.1
PORTREVISION=	3
CATEGORIES=	security python
MASTER_SITES=	http://xael.org/norman/python/pyclamav/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	py${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A python binding to libclamav written in C

LIB_DEPENDS=	clamav.7:${PORTSDIR}/security/clamav

DIST_SUBDIR=	python
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	pyclamav

PYDISTUTILS_BUILDARGS=	build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib

DOCSDIR?=	${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR?=	${PREFIX}/share/examples/py-${PORTNAME}

PORTDOCS=	*

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}

.include <bsd.port.mk>
@


1.16
log
@- Reassign to the heap
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@Chase clamav's lib bump
@
text
@d16 1
a16 1
MAINTAINER=	mnag@@FreeBSD.org
@


1.14
log
@- Bump necessary PORTREVISIONS and fix some ports to new clamav API
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 1
a19 1
LIB_DEPENDS=	clamav.6:${PORTSDIR}/security/clamav
@


1.13
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=	1
d19 1
a19 1
LIB_DEPENDS=	clamav.5:${PORTSDIR}/security/clamav
@


1.12
log
@- Update to 0.4.1

PR:		123725
Submitted by:	Wen heping <wenheping___gmail.com>
@
text
@d10 1
d19 1
a19 1
LIB_DEPENDS=	clamav.4:${PORTSDIR}/security/clamav
@


1.11
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 1
a9 2
PORTVERSION=	0.4.0
PORTREVISION=	3
a31 2
BROKEN=	Doesn't build with clamav-0.93

@


1.10
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
d19 1
a19 1
LIB_DEPENDS=	clamav.3:${PORTSDIR}/security/clamav
d33 2
@


1.9
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
LIB_DEPENDS=	clamav.2:${PORTSDIR}/security/clamav
@


1.8
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
@d24 1
@


1.7
log
@- Update to 0.4.0

Notified by:	Milan Obuch <bsd___dino.sk>
@
text
@d10 1
d19 1
a19 1
LIB_DEPENDS=	clamav.1:${PORTSDIR}/security/clamav
@


1.6
log
@- Update to 0.3.3
@
text
@d9 1
a9 1
PORTVERSION=	0.3.3
@


1.5
log
@- Update to 0.3.2
- Remove extra tabs in Makefile
- portlint(1)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.2
a30 3
post-patch:
	@@${REINPLACE_CMD} -e 's|stat64|stat|g' ${WRKSRC}/pyclamav.c

@


1.4
log
@Update my email

Approved by: pav (mentor)
@
text
@d8 6
a13 6
PORTNAME=		clamav
PORTVERSION=		0.3.1
CATEGORIES=		security python
MASTER_SITES=		http://xael.org/norman/python/pyclamav/
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
DISTNAME=		py${PORTNAME}-${PORTVERSION}
d15 2
a16 2
MAINTAINER=		mnag@@FreeBSD.org
COMMENT=		A python binding to libclamav written in C
d18 1
a18 1
LIB_DEPENDS=		clamav.1:${PORTSDIR}/security/clamav
d20 2
a21 2
DIST_SUBDIR=		python
USE_PYTHON=		yes
a22 1
USE_REINPLACE=		yes
d26 2
a27 2
DOCSDIR?=		${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR?=		${PREFIX}/share/examples/py-${PORTNAME}
a28 1
.if !defined(NOPORTDOCS)
a29 1
.endif
@


1.3
log
@- Update to 0.3.1
- Update WWW and MASTER_SITES
- Now install examples too

PR:		83740
Submitted by:	Marcus Grando (maintainer)
@
text
@d3 1
a3 1
# Whom:					Marcus Grando <marcus@@corp.grupos.com.br>
d15 1
a15 1
MAINTAINER=		marcus@@corp.grupos.com.br
@


1.2
log
@Updated the port to version 0.2.2 + small cleanup

PR:		ports/76186
Submitted by:	maintainer
Approved by:	nectar (mentor)
@
text
@d9 1
a9 1
PORTVERSION=		0.2.2
d11 1
a11 1
MASTER_SITES=		http://norman.free.fr/norman/python/pyclamav/
d23 1
d28 1
d34 3
d42 2
@


1.1
log
@New port: security/py-clamav A python binding to libclamav written in C

PR:		ports/75539
Submitted by:	Marcus Grando <marcus(at)corp.grupos.com.br>
@
text
@d9 1
a9 1
PORTVERSION=		0.2.1
a26 1
EXAMPLESDIR?=		${PREFIX}/share/examples/py-${PORTNAME}
a29 3
PLIST_SUB+=	EXAMPLES=""
.else
PLIST_SUB+=	EXAMPLES="@@comment "
a35 2
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}
@

