aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-11 17:47:14 +0800
committerpav <pav@FreeBSD.org>2006-06-11 17:47:14 +0800
commit55946c63134643ca1ac40b529267ee3416fa52bf (patch)
tree7084ff083faeb77662dd00695cb98d1c2e5fa4e2
parent4ca8b91c90f3099d50874acd25a7933f37b23237 (diff)
downloadfreebsd-ports-gnome-55946c63134643ca1ac40b529267ee3416fa52bf.tar.gz
freebsd-ports-gnome-55946c63134643ca1ac40b529267ee3416fa52bf.tar.zst
freebsd-ports-gnome-55946c63134643ca1ac40b529267ee3416fa52bf.zip
Python module for fast, simple packet creation / parsing, with definitions for
the basic TCP/IP protocols. WWW: http://monkey.org/~dugsong/dpkt/ PR: ports/95992 Submitted by: Krzysztof Pawlowski <msciciel@darkzone.ma.cx>
-rw-r--r--net/Makefile1
-rw-r--r--net/py-dpkt/Makefile21
-rw-r--r--net/py-dpkt/distinfo3
-rw-r--r--net/py-dpkt/pkg-descr4
-rw-r--r--net/py-dpkt/pkg-plist136
5 files changed, 165 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 921255a3e7b9..b661c40e0f30 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -565,6 +565,7 @@
SUBDIR += pxe
SUBDIR += py-GeoIP
SUBDIR += py-avahi
+ SUBDIR += py-dpkt
SUBDIR += py-google
SUBDIR += py-impacket
SUBDIR += py-ldap2
diff --git a/net/py-dpkt/Makefile b/net/py-dpkt/Makefile
new file mode 100644
index 000000000000..95a4de34f791
--- /dev/null
+++ b/net/py-dpkt/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: py-dpkt
+# Date created: 18 Apr 2006
+# Whom: Krzysztof Pawlowski
+#
+# $FreeBSD$
+#
+
+PORTNAME= dpkt
+PORTVERSION= 1.4
+CATEGORIES= net python
+MASTER_SITES= http://monkey.org/~dugsong/dpkt/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= msciciel@darkzone.ma.cx
+COMMENT= Python fast, simple packet creation / parsing module
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+USE_PYTHON_PREFIX= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-dpkt/distinfo b/net/py-dpkt/distinfo
new file mode 100644
index 000000000000..7ae04024c65e
--- /dev/null
+++ b/net/py-dpkt/distinfo
@@ -0,0 +1,3 @@
+MD5 (dpkt-1.4.tar.gz) = 12d1b704a5e5e72ca49a5f831cc4ce11
+SHA256 (dpkt-1.4.tar.gz) = 42764780d1cf4e4a9cd21331afdbbd32212eeda4374d11ba8337d139e269170a
+SIZE (dpkt-1.4.tar.gz) = 40103
diff --git a/net/py-dpkt/pkg-descr b/net/py-dpkt/pkg-descr
new file mode 100644
index 000000000000..23fa32e13e2e
--- /dev/null
+++ b/net/py-dpkt/pkg-descr
@@ -0,0 +1,4 @@
+Python module for fast, simple packet creation / parsing, with definitions for
+the basic TCP/IP protocols.
+
+WWW: http://monkey.org/~dugsong/dpkt/
diff --git a/net/py-dpkt/pkg-plist b/net/py-dpkt/pkg-plist
new file mode 100644
index 000000000000..eb071dde9dff
--- /dev/null
+++ b/net/py-dpkt/pkg-plist
@@ -0,0 +1,136 @@
+%%PYTHON_SITELIBDIR%%/dpkt/__init__.py
+%%PYTHON_SITELIBDIR%%/dpkt/__init__.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ah.py
+%%PYTHON_SITELIBDIR%%/dpkt/ah.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ah.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/aim.py
+%%PYTHON_SITELIBDIR%%/dpkt/aim.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/aim.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/arp.py
+%%PYTHON_SITELIBDIR%%/dpkt/arp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/arp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/asn1.py
+%%PYTHON_SITELIBDIR%%/dpkt/asn1.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/asn1.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/cdp.py
+%%PYTHON_SITELIBDIR%%/dpkt/cdp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/cdp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/dhcp.py
+%%PYTHON_SITELIBDIR%%/dpkt/dhcp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/dhcp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/dns.py
+%%PYTHON_SITELIBDIR%%/dpkt/dns.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/dns.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/dpkt.py
+%%PYTHON_SITELIBDIR%%/dpkt/dpkt.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/dpkt.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/dtp.py
+%%PYTHON_SITELIBDIR%%/dpkt/dtp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/dtp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/esp.py
+%%PYTHON_SITELIBDIR%%/dpkt/esp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/esp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ethernet.py
+%%PYTHON_SITELIBDIR%%/dpkt/ethernet.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ethernet.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/gre.py
+%%PYTHON_SITELIBDIR%%/dpkt/gre.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/gre.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/hsrp.py
+%%PYTHON_SITELIBDIR%%/dpkt/hsrp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/hsrp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/http.py
+%%PYTHON_SITELIBDIR%%/dpkt/http.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/http.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/icmp.py
+%%PYTHON_SITELIBDIR%%/dpkt/icmp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/icmp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/icmp6.py
+%%PYTHON_SITELIBDIR%%/dpkt/icmp6.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/icmp6.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/igmp.py
+%%PYTHON_SITELIBDIR%%/dpkt/igmp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/igmp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ip.py
+%%PYTHON_SITELIBDIR%%/dpkt/ip.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ip.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ip6.py
+%%PYTHON_SITELIBDIR%%/dpkt/ip6.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ip6.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ipx.py
+%%PYTHON_SITELIBDIR%%/dpkt/ipx.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ipx.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/loopback.py
+%%PYTHON_SITELIBDIR%%/dpkt/loopback.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/loopback.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/netbios.py
+%%PYTHON_SITELIBDIR%%/dpkt/netbios.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/netbios.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/netflow.py
+%%PYTHON_SITELIBDIR%%/dpkt/netflow.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/netflow.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ospf.py
+%%PYTHON_SITELIBDIR%%/dpkt/ospf.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ospf.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/pcap.py
+%%PYTHON_SITELIBDIR%%/dpkt/pcap.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/pcap.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/pim.py
+%%PYTHON_SITELIBDIR%%/dpkt/pim.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/pim.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/pmap.py
+%%PYTHON_SITELIBDIR%%/dpkt/pmap.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/pmap.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ppp.py
+%%PYTHON_SITELIBDIR%%/dpkt/ppp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ppp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/rpc.py
+%%PYTHON_SITELIBDIR%%/dpkt/rpc.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/rpc.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/rtp.py
+%%PYTHON_SITELIBDIR%%/dpkt/rtp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/rtp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/sccp.py
+%%PYTHON_SITELIBDIR%%/dpkt/sccp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/sccp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/sip.py
+%%PYTHON_SITELIBDIR%%/dpkt/sip.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/sip.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/sll.py
+%%PYTHON_SITELIBDIR%%/dpkt/sll.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/sll.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/smb.py
+%%PYTHON_SITELIBDIR%%/dpkt/smb.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/smb.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/ssl.py
+%%PYTHON_SITELIBDIR%%/dpkt/ssl.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/ssl.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/stp.py
+%%PYTHON_SITELIBDIR%%/dpkt/stp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/stp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/stun.py
+%%PYTHON_SITELIBDIR%%/dpkt/stun.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/stun.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/tcp.py
+%%PYTHON_SITELIBDIR%%/dpkt/tcp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/tcp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/telnet.py
+%%PYTHON_SITELIBDIR%%/dpkt/telnet.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/telnet.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/tftp.py
+%%PYTHON_SITELIBDIR%%/dpkt/tftp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/tftp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/tns.py
+%%PYTHON_SITELIBDIR%%/dpkt/tns.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/tns.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/udp.py
+%%PYTHON_SITELIBDIR%%/dpkt/udp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/udp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/vrrp.py
+%%PYTHON_SITELIBDIR%%/dpkt/vrrp.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/vrrp.pyo
+%%PYTHON_SITELIBDIR%%/dpkt/yahoo.py
+%%PYTHON_SITELIBDIR%%/dpkt/yahoo.pyc
+%%PYTHON_SITELIBDIR%%/dpkt/yahoo.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/dpkt