Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 12:09:15 -0200 (BRST)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75539: New port: security/py-clamav A python binding to libclamav written in C
Message-ID:  <20041227140915.7479820A74@corp.grupos.com.br>
Resent-Message-ID: <200412271410.iBREAPHQ060008@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75539
>Category:       ports
>Synopsis:       New port: security/py-clamav A python binding to libclamav written in C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 27 14:10:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #36: Sun Dec 26 16:00:38 BRST 2004 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
New port: security/py-clamav A python binding to libclamav written in C

	
>How-To-Repeat:
	
>Fix:

	

--- py-clamav.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-clamav
#	py-clamav/Makefile
#	py-clamav/distinfo
#	py-clamav/pkg-descr
#	py-clamav/pkg-plist
#
echo c - py-clamav
mkdir -p py-clamav > /dev/null 2>&1
echo x - py-clamav/Makefile
sed 's/^X//' >py-clamav/Makefile << 'END-of-py-clamav/Makefile'
X# New ports collection makefile for:	py-clamav
X# Date created:				26 Dec 2004
X# Whom:					Marcus Grando <marcus@corp.grupos.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		clamav
XPORTVERSION=		0.2.1
XCATEGORIES=		security python
XMASTER_SITES=		http://norman.free.fr/norman/python/pyclamav/
XPKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
XDISTNAME=		py${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=		marcus@corp.grupos.com.br
XCOMMENT=		A python binding to libclamav written in C
X
XLIB_DEPENDS=		clamav.1:${PORTSDIR}/security/clamav
X
XDIST_SUBDIR=		python
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
X
XPYDISTUTILS_BUILDARGS=	build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
X
XDOCSDIR?=		${PREFIX}/share/doc/py-${PORTNAME}
XEXAMPLESDIR?=		${PREFIX}/share/examples/py-${PORTNAME}
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=       *
XPLIST_SUB+=	EXAMPLES=""
X.else
XPLIST_SUB+=	EXAMPLES="@comment "
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-clamav/Makefile
echo x - py-clamav/distinfo
sed 's/^X//' >py-clamav/distinfo << 'END-of-py-clamav/distinfo'
XMD5 (python/pyclamav-0.2.1.tar.gz) = d802d2e9076bd1e17023dc8276083fd3
XSIZE (python/pyclamav-0.2.1.tar.gz) = 10813
END-of-py-clamav/distinfo
echo x - py-clamav/pkg-descr
sed 's/^X//' >py-clamav/pkg-descr << 'END-of-py-clamav/pkg-descr'
XpyClamAV is a python binding to libclamav written 
Xin C.
X
XBy using pyClamAV, you can add virus detection 
Xcapabilities to your python software in an efficient 
Xand easy way.
X
XWWW: http://norman.free.fr/norman/python/pyclamav/
X
XMarcus Grando <marcus@corp.grupos.com.br>
END-of-py-clamav/pkg-descr
echo x - py-clamav/pkg-plist
sed 's/^X//' >py-clamav/pkg-plist << 'END-of-py-clamav/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/pyclamav.so
X%%EXAMPLES%%%%EXAMPLESDIR%%/example.py
X%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
END-of-py-clamav/pkg-plist
exit
--- py-clamav.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041227140915.7479820A74>