update to 0.6.2

fixes build with the recently updated swig (noticed by sturm and naddy)
This commit is contained in:
steven 2008-11-04 22:38:52 +00:00
parent 4bc4653e96
commit 34f7aa4486
4 changed files with 20 additions and 19 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.18 2007/10/08 08:22:42 steven Exp $
# $OpenBSD: Makefile,v 1.19 2008/11/04 22:38:52 steven Exp $
SHARED_ONLY= Yes
COMMENT= libpcap bindings for Python
DISTNAME= pylibpcap-0.5.1
PKGNAME= ${DISTNAME:S/py/py-/}p1
DISTNAME= pylibpcap-0.6.2
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= net
HOMEPAGE= http://pylibpcap.sourceforge.net/
@ -28,7 +28,7 @@ NO_REGRESS= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-libpcap
pre-build:
@perl -p -i -e "s,^(\#\S+ )python2\$$,#!${LOCALBASE}/bin/python${MODPY_VERSION}," \
@perl -p -i -e "s,^\#\! /usr/bin/env python,#!${MODPY_BIN}," \
${WRKSRC}/examples/*.py
post-install:

View File

@ -1,5 +1,5 @@
MD5 (pylibpcap-0.5.1.tar.gz) = ha2+/Ye+OjoyvtiZl0/j3A==
RMD160 (pylibpcap-0.5.1.tar.gz) = 8eIwn7rwh45rT7h7YmaGN3xsEFo=
SHA1 (pylibpcap-0.5.1.tar.gz) = yOhSWLOz951ilTGFbPsyQsB/V5Y=
SHA256 (pylibpcap-0.5.1.tar.gz) = S363nV5HbMDgO82xPEqHTPftrGUO9Voh/eOF1nbjp90=
SIZE (pylibpcap-0.5.1.tar.gz) = 25171
MD5 (pylibpcap-0.6.2.tar.gz) = RXk8Mf4Aj6UIqaUddE6dAA==
RMD160 (pylibpcap-0.6.2.tar.gz) = 29pv7AeGYww69l1UC1dQf4iNHXg=
SHA1 (pylibpcap-0.6.2.tar.gz) = 9H1uXXIhniFi8bFuWfPEXklmUtk=
SHA256 (pylibpcap-0.6.2.tar.gz) = DNtQfq8n59b04+50pZhuFHKP2BYXhTUNIBoSGYwZ/MY=
SIZE (pylibpcap-0.6.2.tar.gz) = 49021

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-setup_py,v 1.3 2005/12/03 22:03:44 alek Exp $
--- setup.py.orig Mon Nov 28 22:20:33 2005
+++ setup.py Mon Nov 28 22:20:41 2005
@@ -150,7 +150,7 @@ defines = [ ('SWIG_COBJECT_TYPES', None)
$OpenBSD: patch-setup_py,v 1.4 2008/11/04 22:38:52 steven Exp $
--- setup.py.orig Sat Jan 26 04:45:50 2008
+++ setup.py Mon Nov 3 22:01:22 2008
@@ -151,7 +151,7 @@ defines = [ ('SWIG_COBJECT_TYPES', None) ] + \
map(lambda x: (x, None), config_defines)
if libpcap_dir is None:
- pcap_extension = Extension("_pcapmodule",
+ pcap_extension = Extension("_pcap",
sourcefiles,
include_dirs = include_dirs,
define_macros = defines,
- pcap_extension = Extension("_pcapmodule",
+ pcap_extension = Extension("_pcap",
sourcefiles,
include_dirs = include_dirs,
define_macros = defines,

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.5 2005/12/03 22:03:44 alek Exp $
@comment $OpenBSD: PLIST,v 1.6 2008/11/04 22:38:52 steven Exp $
%%SHARED%%
lib/python${MODPY_VERSION}/site-packages/pcap.py
lib/python${MODPY_VERSION}/site-packages/pcap.pyc
lib/python${MODPY_VERSION}/site-packages/pylibpcap-0.6.2-py${MODPY_VERSION}.egg-info
share/examples/py-libpcap/
share/examples/py-libpcap/findalldevs.py
share/examples/py-libpcap/sniff.py