Date: Wed, 24 Apr 2002 04:43:14 +0900 (KST) From: Hye-Shik Chang <perky@fallin.lv> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37390: Update port: net/py-pcap Message-ID: <200204231943.g3NJhECS000980@akaraka.yonsei.ac.kr>
next in thread | raw e-mail | index | archive | help
>Number: 37390 >Category: ports >Synopsis: Update port: net/py-pcap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Apr 23 12:50:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 5.0-CURRENT i386 >Organization: Yonsei University >Environment: System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Apr 15 01:05:17 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386 >Description: Update to 0.3 >How-To-Repeat: >Fix: diff -ruN py-pcap.orig/Makefile py-pcap/Makefile --- py-pcap.orig/Makefile Tue Mar 12 08:23:55 2002 +++ py-pcap/Makefile Wed Apr 24 04:41:14 2002 @@ -6,7 +6,7 @@ # PORTNAME= pcap -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pylibpcap @@ -16,34 +16,9 @@ MAINTAINER= perky@fallin.lv -BUILD_DEPENDS= ${SWIG_CMD}:${PORTSDIR}/devel/SWIG +BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG -EXAMPLESDIR= ${PREFIX}/share/examples/py-pcap -PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g} -SWIG_CMD?= ${LOCALBASE}/bin/swig -WRKSRC= ${WRKDIR}/pylibpcap USE_PYTHON= yes - -post-patch: - ${SED} -e 's|^\(PYTHON_INCLUDES=\).*|\1-I${PYTHON_INCLUDEDIR}|g' \ - -e 's|^\(SWIG=\).*|\1${SWIG_CMD}|g' \ - ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.temp && \ - ${MV} -f ${WRKSRC}/Makefile.temp ${WRKSRC}/Makefile - ${SED} -e 's|pcap/pcap\.h|pcap.h|g' \ - ${WRKSRC}/pypcap.h > ${WRKSRC}/pypcap.h.temp && \ - ${MV} -f ${WRKSRC}/pypcap.h.temp ${WRKSRC}/pypcap.h - -post-build: - ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} - ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} - -do-install: -.for f in pcapcmodule.so pcap.py pcap.pyc pcap.pyo - ${INSTALL_DATA} ${WRKSRC}/$f ${PYTHON_SITELIBDIR} -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/sniff.py ${EXAMPLESDIR} -.endif +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff -ruN py-pcap.orig/distinfo py-pcap/distinfo --- py-pcap.orig/distinfo Sun Nov 25 18:41:29 2001 +++ py-pcap/distinfo Wed Apr 24 04:33:04 2002 @@ -1 +1 @@ -MD5 (python/pylibpcap-0.2.tar.gz) = f0e9fec4cd90305674ab1d4187f30a9e +MD5 (python/pylibpcap-0.3.tar.gz) = d2ec5112f383dcbe9a964097194fcc7f diff -ruN py-pcap.orig/pkg-plist py-pcap/pkg-plist --- py-pcap.orig/pkg-plist Sun Nov 25 18:41:29 2001 +++ py-pcap/pkg-plist Wed Apr 24 04:40:25 2002 @@ -1,6 +1,4 @@ -%%PYTHON_SITELIBDIR%%/pcap.py -%%PYTHON_SITELIBDIR%%/pcap.pyc -%%PYTHON_SITELIBDIR%%/pcap.pyo -%%PYTHON_SITELIBDIR%%/pcapcmodule.so -%%PORTDOCS%%share/examples/py-pcap/sniff.py -%%PORTDOCS%%@dirrm share/examples/py-pcap +lib/%%PYTHON_VERSION%%/site-packages/pcap.py +lib/%%PYTHON_VERSION%%/site-packages/pcap.pyc +lib/%%PYTHON_VERSION%%/site-packages/pcap.pyo +lib/%%PYTHON_VERSION%%/site-packages/pcapcmodule.so >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204231943.g3NJhECS000980>