pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-dpkt Fast, simple packet creation / parsing, wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc6cfa012022
branches: trunk
changeset: 573037:dc6cfa012022
user: pettai <pettai%pkgsrc.org@localhost>
date: Thu Mar 11 11:31:19 2010 +0000
description:
Fast, simple packet creation / parsing, with definitions for
the basic TCP/IP protocols.
diffstat:
net/py-dpkt/DESCR | 2 +
net/py-dpkt/Makefile | 22 +++++
net/py-dpkt/PLIST | 175 +++++++++++++++++++++++++++++++++++++++++++
net/py-dpkt/distinfo | 6 +
net/py-dpkt/patches/patch-aa | 34 ++++++++
5 files changed, 239 insertions(+), 0 deletions(-)
diffs (259 lines):
diff -r 0fd0f1f359d3 -r dc6cfa012022 net/py-dpkt/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dpkt/DESCR Thu Mar 11 11:31:19 2010 +0000
@@ -0,0 +1,2 @@
+Fast, simple packet creation / parsing, with definitions for
+the basic TCP/IP protocols.
diff -r 0fd0f1f359d3 -r dc6cfa012022 net/py-dpkt/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dpkt/Makefile Thu Mar 11 11:31:19 2010 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/11 11:31:19 pettai Exp $
+#
+
+DISTNAME= dpkt-1.6
+PKGNAME= ${PYPKGPREFIX}-dpkt-1.6
+CATEGORIES= net python
+MASTER_SITES= http://dpkt.googlecode.com/files/
+
+MAINTAINER= pettai%NetBSD.org@localhost
+HOMEPAGE= http://code.google.com/p/dpkt/
+COMMENT= Python packet creation / parsing library
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PYDISTUTILSPKG= yes
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0fd0f1f359d3 -r dc6cfa012022 net/py-dpkt/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dpkt/PLIST Thu Mar 11 11:31:19 2010 +0000
@@ -0,0 +1,175 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/11 11:31:19 pettai Exp $
+${PYSITELIB}/dpkt/__init__.py
+${PYSITELIB}/dpkt/__init__.pyc
+${PYSITELIB}/dpkt/__init__.pyo
+${PYSITELIB}/dpkt/ah.py
+${PYSITELIB}/dpkt/ah.pyc
+${PYSITELIB}/dpkt/ah.pyo
+${PYSITELIB}/dpkt/aim.py
+${PYSITELIB}/dpkt/aim.pyc
+${PYSITELIB}/dpkt/aim.pyo
+${PYSITELIB}/dpkt/arp.py
+${PYSITELIB}/dpkt/arp.pyc
+${PYSITELIB}/dpkt/arp.pyo
+${PYSITELIB}/dpkt/asn1.py
+${PYSITELIB}/dpkt/asn1.pyc
+${PYSITELIB}/dpkt/asn1.pyo
+${PYSITELIB}/dpkt/bgp.py
+${PYSITELIB}/dpkt/bgp.pyc
+${PYSITELIB}/dpkt/bgp.pyo
+${PYSITELIB}/dpkt/cdp.py
+${PYSITELIB}/dpkt/cdp.pyc
+${PYSITELIB}/dpkt/cdp.pyo
+${PYSITELIB}/dpkt/crc32c.py
+${PYSITELIB}/dpkt/crc32c.pyc
+${PYSITELIB}/dpkt/crc32c.pyo
+${PYSITELIB}/dpkt/dhcp.py
+${PYSITELIB}/dpkt/dhcp.pyc
+${PYSITELIB}/dpkt/dhcp.pyo
+${PYSITELIB}/dpkt/diameter.py
+${PYSITELIB}/dpkt/diameter.pyc
+${PYSITELIB}/dpkt/diameter.pyo
+${PYSITELIB}/dpkt/dns.py
+${PYSITELIB}/dpkt/dns.pyc
+${PYSITELIB}/dpkt/dns.pyo
+${PYSITELIB}/dpkt/dpkt.py
+${PYSITELIB}/dpkt/dpkt.pyc
+${PYSITELIB}/dpkt/dpkt.pyo
+${PYSITELIB}/dpkt/dtp.py
+${PYSITELIB}/dpkt/dtp.pyc
+${PYSITELIB}/dpkt/dtp.pyo
+${PYSITELIB}/dpkt/esp.py
+${PYSITELIB}/dpkt/esp.pyc
+${PYSITELIB}/dpkt/esp.pyo
+${PYSITELIB}/dpkt/ethernet.py
+${PYSITELIB}/dpkt/ethernet.pyc
+${PYSITELIB}/dpkt/ethernet.pyo
+${PYSITELIB}/dpkt/gre.py
+${PYSITELIB}/dpkt/gre.pyc
+${PYSITELIB}/dpkt/gre.pyo
+${PYSITELIB}/dpkt/gzip.py
+${PYSITELIB}/dpkt/gzip.pyc
+${PYSITELIB}/dpkt/gzip.pyo
+${PYSITELIB}/dpkt/h225.py
+${PYSITELIB}/dpkt/h225.pyc
+${PYSITELIB}/dpkt/h225.pyo
+${PYSITELIB}/dpkt/hsrp.py
+${PYSITELIB}/dpkt/hsrp.pyc
+${PYSITELIB}/dpkt/hsrp.pyo
+${PYSITELIB}/dpkt/http.py
+${PYSITELIB}/dpkt/http.pyc
+${PYSITELIB}/dpkt/http.pyo
+${PYSITELIB}/dpkt/icmp.py
+${PYSITELIB}/dpkt/icmp.pyc
+${PYSITELIB}/dpkt/icmp.pyo
+${PYSITELIB}/dpkt/icmp6.py
+${PYSITELIB}/dpkt/icmp6.pyc
+${PYSITELIB}/dpkt/icmp6.pyo
+${PYSITELIB}/dpkt/igmp.py
+${PYSITELIB}/dpkt/igmp.pyc
+${PYSITELIB}/dpkt/igmp.pyo
+${PYSITELIB}/dpkt/ip.py
+${PYSITELIB}/dpkt/ip.pyc
+${PYSITELIB}/dpkt/ip.pyo
+${PYSITELIB}/dpkt/ip6.py
+${PYSITELIB}/dpkt/ip6.pyc
+${PYSITELIB}/dpkt/ip6.pyo
+${PYSITELIB}/dpkt/ipx.py
+${PYSITELIB}/dpkt/ipx.pyc
+${PYSITELIB}/dpkt/ipx.pyo
+${PYSITELIB}/dpkt/loopback.py
+${PYSITELIB}/dpkt/loopback.pyc
+${PYSITELIB}/dpkt/loopback.pyo
+${PYSITELIB}/dpkt/mrt.py
+${PYSITELIB}/dpkt/mrt.pyc
+${PYSITELIB}/dpkt/mrt.pyo
+${PYSITELIB}/dpkt/netbios.py
+${PYSITELIB}/dpkt/netbios.pyc
+${PYSITELIB}/dpkt/netbios.pyo
+${PYSITELIB}/dpkt/netflow.py
+${PYSITELIB}/dpkt/netflow.pyc
+${PYSITELIB}/dpkt/netflow.pyo
+${PYSITELIB}/dpkt/ntp.py
+${PYSITELIB}/dpkt/ntp.pyc
+${PYSITELIB}/dpkt/ntp.pyo
+${PYSITELIB}/dpkt/ospf.py
+${PYSITELIB}/dpkt/ospf.pyc
+${PYSITELIB}/dpkt/ospf.pyo
+${PYSITELIB}/dpkt/pcap.py
+${PYSITELIB}/dpkt/pcap.pyc
+${PYSITELIB}/dpkt/pcap.pyo
+${PYSITELIB}/dpkt/pim.py
+${PYSITELIB}/dpkt/pim.pyc
+${PYSITELIB}/dpkt/pim.pyo
+${PYSITELIB}/dpkt/pmap.py
+${PYSITELIB}/dpkt/pmap.pyc
+${PYSITELIB}/dpkt/pmap.pyo
+${PYSITELIB}/dpkt/ppp.py
+${PYSITELIB}/dpkt/ppp.pyc
+${PYSITELIB}/dpkt/ppp.pyo
+${PYSITELIB}/dpkt/pppoe.py
+${PYSITELIB}/dpkt/pppoe.pyc
+${PYSITELIB}/dpkt/pppoe.pyo
+${PYSITELIB}/dpkt/qq.py
+${PYSITELIB}/dpkt/qq.pyc
+${PYSITELIB}/dpkt/qq.pyo
+${PYSITELIB}/dpkt/radius.py
+${PYSITELIB}/dpkt/radius.pyc
+${PYSITELIB}/dpkt/radius.pyo
+${PYSITELIB}/dpkt/rip.py
+${PYSITELIB}/dpkt/rip.pyc
+${PYSITELIB}/dpkt/rip.pyo
+${PYSITELIB}/dpkt/rpc.py
+${PYSITELIB}/dpkt/rpc.pyc
+${PYSITELIB}/dpkt/rpc.pyo
+${PYSITELIB}/dpkt/rtp.py
+${PYSITELIB}/dpkt/rtp.pyc
+${PYSITELIB}/dpkt/rtp.pyo
+${PYSITELIB}/dpkt/sccp.py
+${PYSITELIB}/dpkt/sccp.pyc
+${PYSITELIB}/dpkt/sccp.pyo
+${PYSITELIB}/dpkt/sctp.py
+${PYSITELIB}/dpkt/sctp.pyc
+${PYSITELIB}/dpkt/sctp.pyo
+${PYSITELIB}/dpkt/sip.py
+${PYSITELIB}/dpkt/sip.pyc
+${PYSITELIB}/dpkt/sip.pyo
+${PYSITELIB}/dpkt/sll.py
+${PYSITELIB}/dpkt/sll.pyc
+${PYSITELIB}/dpkt/sll.pyo
+${PYSITELIB}/dpkt/smb.py
+${PYSITELIB}/dpkt/smb.pyc
+${PYSITELIB}/dpkt/smb.pyo
+${PYSITELIB}/dpkt/ssl.py
+${PYSITELIB}/dpkt/ssl.pyc
+${PYSITELIB}/dpkt/ssl.pyo
+${PYSITELIB}/dpkt/stp.py
+${PYSITELIB}/dpkt/stp.pyc
+${PYSITELIB}/dpkt/stp.pyo
+${PYSITELIB}/dpkt/stun.py
+${PYSITELIB}/dpkt/stun.pyc
+${PYSITELIB}/dpkt/stun.pyo
+${PYSITELIB}/dpkt/tcp.py
+${PYSITELIB}/dpkt/tcp.pyc
+${PYSITELIB}/dpkt/tcp.pyo
+${PYSITELIB}/dpkt/telnet.py
+${PYSITELIB}/dpkt/telnet.pyc
+${PYSITELIB}/dpkt/telnet.pyo
+${PYSITELIB}/dpkt/tftp.py
+${PYSITELIB}/dpkt/tftp.pyc
+${PYSITELIB}/dpkt/tftp.pyo
+${PYSITELIB}/dpkt/tns.py
+${PYSITELIB}/dpkt/tns.pyc
+${PYSITELIB}/dpkt/tns.pyo
+${PYSITELIB}/dpkt/tpkt.py
+${PYSITELIB}/dpkt/tpkt.pyc
+${PYSITELIB}/dpkt/tpkt.pyo
+${PYSITELIB}/dpkt/udp.py
+${PYSITELIB}/dpkt/udp.pyc
+${PYSITELIB}/dpkt/udp.pyo
+${PYSITELIB}/dpkt/vrrp.py
+${PYSITELIB}/dpkt/vrrp.pyc
+${PYSITELIB}/dpkt/vrrp.pyo
+${PYSITELIB}/dpkt/yahoo.py
+${PYSITELIB}/dpkt/yahoo.pyc
+${PYSITELIB}/dpkt/yahoo.pyo
diff -r 0fd0f1f359d3 -r dc6cfa012022 net/py-dpkt/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dpkt/distinfo Thu Mar 11 11:31:19 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/11 11:31:19 pettai Exp $
+
+SHA1 (dpkt-1.6.tar.gz) = 2a5ee8b44968b38ad4ee15112212ffc0ed2d8a5a
+RMD160 (dpkt-1.6.tar.gz) = e6e5f5a5d439d7c6eb165f5899903c167fd21551
+Size (dpkt-1.6.tar.gz) = 116518 bytes
+SHA1 (patch-aa) = 0e85ce2df69538e65a8a4ac933d63da9c27c14c2
diff -r 0fd0f1f359d3 -r dc6cfa012022 net/py-dpkt/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dpkt/patches/patch-aa Thu Mar 11 11:31:19 2010 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/03/11 11:31:19 pettai Exp $
+
+# 'as' became a reserved keyword in newer python versions
+#
+
+--- dpkt/bgp.py.orig 2010-02-13 21:32:43.000000000 +0100
++++ dpkt/bgp.py 2010-02-13 21:33:17.000000000 +0100
+@@ -140,7 +140,7 @@
+ class Open(dpkt.Packet):
+ __hdr__ = (
+ ('v', 'B', 4),
+- ('as', 'H', 0),
++ ('AS', 'H', 0),
+ ('holdtime', 'H', 0),
+ ('identifier', 'I', 0),
+ ('param_len', 'B', 0)
+@@ -675,7 +675,7 @@
+ self.failUnless(a.len == 12)
+ self.failUnless(len(a.communities.list) == 3)
+ c = a.communities.list[0]
+- self.failUnless(c.as == 65215)
++ self.failUnless(c.AS == 65215)
+ self.failUnless(c.value == 1)
+ r = b2.update.announced[0]
+ self.failUnless(r.len == 22)
+@@ -712,7 +712,7 @@
+ b4 = BGP(self.bgp4)
+ self.failUnless(b4.len == 45)
+ self.failUnless(b4.type == OPEN)
+- self.failUnless(b4.open.as == 237)
++ self.failUnless(b4.open.AS == 237)
+ self.failUnless(b4.open.param_len == 16)
+ self.failUnless(len(b4.open.parameters) == 3)
+ p = b4.open.parameters[0]
Home |
Main Index |
Thread Index |
Old Index