Date: Tue, 19 Jul 2005 15:22:37 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83740: [MAINTAINER] Update port: security/py-clamav to 0.3.1 Message-ID: <20050719182237.7021A55AB@corp.grupos.com.br> Resent-Message-ID: <200507191830.j6JIUO4g053657@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83740 >Category: ports >Synopsis: [MAINTAINER] Update port: security/py-clamav to 0.3.1 >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: Tue Jul 19 18:30:24 GMT 2005 >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 #0: Mon Jul 11 10:07:29 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386 >Description: - Update to 0.3.1 - Update WWW and MASTER_SITES - Now install examples too. >How-To-Repeat: >Fix: --- py-clamav.patch begins here --- diff -ruN py-clamav.orig/Makefile py-clamav/Makefile --- py-clamav.orig/Makefile Thu Jan 13 18:07:34 2005 +++ py-clamav/Makefile Tue Jul 19 15:16:50 2005 @@ -6,9 +6,9 @@ # PORTNAME= clamav -PORTVERSION= 0.2.2 +PORTVERSION= 0.3.1 CATEGORIES= security python -MASTER_SITES= http://norman.free.fr/norman/python/pyclamav/ +MASTER_SITES= http://xael.org/norman/python/pyclamav/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} @@ -20,19 +20,26 @@ DIST_SUBDIR= python USE_PYTHON= yes USE_PYDISTUTILS= yes +USE_REINPLACE= yes PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME} .if !defined(NOPORTDOCS) PORTDOCS= * .endif +post-patch: + @${REINPLACE_CMD} -e 's|stat64|stat|g' ${WRKSRC}/pyclamav.c + 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> diff -ruN py-clamav.orig/distinfo py-clamav/distinfo --- py-clamav.orig/distinfo Thu Jan 13 18:07:34 2005 +++ py-clamav/distinfo Tue Jul 19 15:08:20 2005 @@ -1,2 +1,2 @@ -MD5 (python/pyclamav-0.2.2.tar.gz) = 0b274b73f71b8e4481c8fb30fd1c2bb2 -SIZE (python/pyclamav-0.2.2.tar.gz) = 10736 +MD5 (python/pyclamav-0.3.1.tar.gz) = cf8e0e7850c417c76134cb4b11856e2c +SIZE (python/pyclamav-0.3.1.tar.gz) = 12678 diff -ruN py-clamav.orig/pkg-descr py-clamav/pkg-descr --- py-clamav.orig/pkg-descr Sat Jan 8 15:28:39 2005 +++ py-clamav/pkg-descr Tue Jul 19 15:08:13 2005 @@ -5,6 +5,6 @@ capabilities to your python software in an efficient and easy way. -WWW: http://norman.free.fr/norman/python/pyclamav/ +WWW: http://xael.org/norman/python/pyclamav/ Marcus Grando <marcus@corp.grupos.com.br> diff -ruN py-clamav.orig/pkg-plist py-clamav/pkg-plist --- py-clamav.orig/pkg-plist Thu Jan 13 18:07:34 2005 +++ py-clamav/pkg-plist Tue Jul 19 15:19:19 2005 @@ -1 +1,3 @@ -lib/%%PYTHON_VERSION%%/site-packages/pyclamav.so +%%PYTHON_SITELIBDIR%%/pyclamav.so +share/examples/py-clamav/example.py +@dirrm %%EXAMPLESDIR%% --- py-clamav.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050719182237.7021A55AB>