update dpkt to 1.8.8.

ok Thanasoulas Spiros (maintainer)
This commit is contained in:
rpointel 2016-10-04 04:44:52 +00:00
parent dc2c3028cb
commit 2600048431
4 changed files with 26 additions and 24 deletions

View File

@ -1,23 +1,24 @@
# $OpenBSD: Makefile,v 1.12 2016/10/01 11:54:16 naddy Exp $
# $OpenBSD: Makefile,v 1.13 2016/10/04 04:44:52 rpointel Exp $
COMMENT = python network packet manipulation library
MODPY_EGG_VERSION = 1.7
MODPY_EGG_VERSION = 1.8.8
DISTNAME = dpkt-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 5
CATEGORIES = net
HOMEPAGE = https://code.google.com/p/dpkt/
HOMEPAGE = https://github.com/kbandla/dpkt
GH_ACCOUNT = kbandla
GH_PROJECT = dpkt
GH_TAGNAME = v${MODPY_EGG_VERSION}
MAINTAINER = Thanasoulas Spiros <dsp@2f30.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=dpkt/}
MODULES = lang/python
NO_TEST = Yes

View File

@ -1,2 +1,2 @@
SHA256 (dpkt-1.7.tar.gz) = GFJ3zTfOHWWpXXqLhlK/M3JWRep8oAhrrz/mQ1BqvnI=
SIZE (dpkt-1.7.tar.gz) = 66396
SHA256 (dpkt-1.8.8.tar.gz) = 3Dg9O5l2t2D3Vsk6ukoDvW1Duq15q1yJMJn/HiFqtxI=
SIZE (dpkt-1.8.8.tar.gz) = 119808

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-dpkt_ip_py,v 1.1 2010/06/23 16:53:15 fgsch Exp $
--- dpkt/ip.py.orig Thu Jun 17 15:51:24 2010
+++ dpkt/ip.py Thu Jun 17 15:50:52 2010
@@ -247,9 +247,9 @@ def __load_protos():
name = k[9:].lower()
try:
mod = __import__(name, g)
- except ImportError:
+ IP.set_proto(v, getattr(mod, name.upper()))
+ except (ImportError, AttributeError):
continue
- IP.set_proto(v, getattr(mod, name.upper()))
if not IP._protosw:
__load_protos()

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2010/06/15 17:16:13 fgsch Exp $
@comment $OpenBSD: PLIST,v 1.3 2016/10/04 04:44:52 rpointel Exp $
lib/python${MODPY_VERSION}/site-packages/dpkt/
lib/python${MODPY_VERSION}/site-packages/dpkt-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/dpkt/__init__.py
@ -7,6 +7,12 @@ lib/python${MODPY_VERSION}/site-packages/dpkt/ah.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ah.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/aim.py
lib/python${MODPY_VERSION}/site-packages/dpkt/aim.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/aoe.py
lib/python${MODPY_VERSION}/site-packages/dpkt/aoe.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/aoeata.py
lib/python${MODPY_VERSION}/site-packages/dpkt/aoeata.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/aoecfg.py
lib/python${MODPY_VERSION}/site-packages/dpkt/aoecfg.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/arp.py
lib/python${MODPY_VERSION}/site-packages/dpkt/arp.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/asn1.py
@ -17,6 +23,8 @@ lib/python${MODPY_VERSION}/site-packages/dpkt/cdp.py
lib/python${MODPY_VERSION}/site-packages/dpkt/cdp.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/crc32c.py
lib/python${MODPY_VERSION}/site-packages/dpkt/crc32c.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/decorators.py
lib/python${MODPY_VERSION}/site-packages/dpkt/decorators.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/dhcp.py
lib/python${MODPY_VERSION}/site-packages/dpkt/dhcp.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/diameter.py
@ -55,6 +63,8 @@ lib/python${MODPY_VERSION}/site-packages/dpkt/ip6.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ip6.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/ipx.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ipx.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/llc.py
lib/python${MODPY_VERSION}/site-packages/dpkt/llc.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/loopback.py
lib/python${MODPY_VERSION}/site-packages/dpkt/loopback.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/mrt.py
@ -69,6 +79,8 @@ lib/python${MODPY_VERSION}/site-packages/dpkt/ospf.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ospf.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/pcap.py
lib/python${MODPY_VERSION}/site-packages/dpkt/pcap.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/pcapng.py
lib/python${MODPY_VERSION}/site-packages/dpkt/pcapng.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/pim.py
lib/python${MODPY_VERSION}/site-packages/dpkt/pim.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/pmap.py
@ -103,8 +115,12 @@ lib/python${MODPY_VERSION}/site-packages/dpkt/sll.py
lib/python${MODPY_VERSION}/site-packages/dpkt/sll.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/smb.py
lib/python${MODPY_VERSION}/site-packages/dpkt/smb.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/snoop.py
lib/python${MODPY_VERSION}/site-packages/dpkt/snoop.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/ssl.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ssl.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/ssl_ciphersuites.py
lib/python${MODPY_VERSION}/site-packages/dpkt/ssl_ciphersuites.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/stp.py
lib/python${MODPY_VERSION}/site-packages/dpkt/stp.pyc
lib/python${MODPY_VERSION}/site-packages/dpkt/stun.py