aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-17 06:47:20 +0800
committerpav <pav@FreeBSD.org>2005-09-17 06:47:20 +0800
commit187af4962b0251cfadbe36524ac1e97fc01d10bb (patch)
tree1f3bf359f7166c1ee9119441ebe4be108f22a8b8 /net
parent623cb3238ea2dc674433a56dc152289f82e26f1b (diff)
downloadfreebsd-ports-gnome-187af4962b0251cfadbe36524ac1e97fc01d10bb.tar.gz
freebsd-ports-gnome-187af4962b0251cfadbe36524ac1e97fc01d10bb.tar.zst
freebsd-ports-gnome-187af4962b0251cfadbe36524ac1e97fc01d10bb.zip
Impacket is a collection of Python classes focused
on providing access to network packets. Impacket allows Python developers to craft and decode network packets in simple and consistent manner. PR: ports/86203 Submitted by: Marcin Jessa <yazzy@yazzy.org>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/py-impacket/Makefile32
-rw-r--r--net/py-impacket/distinfo2
-rw-r--r--net/py-impacket/pkg-descr17
-rw-r--r--net/py-impacket/pkg-plist60
5 files changed, 112 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 43e081eaa9f4..485fe7755891 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -659,6 +659,7 @@
SUBDIR += py-bittorrent-devel
SUBDIR += py-fngrab
SUBDIR += py-google
+ SUBDIR += py-impacket
SUBDIR += py-jabber
SUBDIR += py-kenosis
SUBDIR += py-kenosis-bittorrent
diff --git a/net/py-impacket/Makefile b/net/py-impacket/Makefile
new file mode 100644
index 000000000000..77295ebe95bb
--- /dev/null
+++ b/net/py-impacket/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Impacket
+# Date created: 15th September 2005
+# Whom: Marcin Jessa <yazzy@yazzy.org>
+#
+# $FreeBSD$
+
+PORTNAME= Impacket
+PORTVERSION= 0.9.5.1
+CATEGORIES= net python
+MASTER_SITES= http://oss.coresecurity.com/repo/ \
+ http://www.yazzy.org/ports/impacket/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yazzy@yazzy.org
+COMMENT= Collection of Python classes providing access to network packets
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pcapy.so:${PORTSDIR}/net/py-pcapy
+
+USE_PYTHON= yes
+NO_BUILD= yes
+USE_PYDISTUTILS=yes
+PORTDOCS= README LICENSE
+
+.if defined(NOPORTDOCS)
+post-install:
+ @${RM} ${DOCSDIR}/README
+ @${RM} ${DOCSDIR}/LICENSE
+ @${RMDIR} ${DOCSDIR}
+ @${ECHO} "Removing ${DOCSDIR} and the files in it."
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/py-impacket/distinfo b/net/py-impacket/distinfo
new file mode 100644
index 000000000000..58f9549cdbae
--- /dev/null
+++ b/net/py-impacket/distinfo
@@ -0,0 +1,2 @@
+MD5 (Impacket-0.9.5.1.tar.gz) = fb5d0264544076853e0640466767d917
+SIZE (Impacket-0.9.5.1.tar.gz) = 65260
diff --git a/net/py-impacket/pkg-descr b/net/py-impacket/pkg-descr
new file mode 100644
index 000000000000..66f062ca093b
--- /dev/null
+++ b/net/py-impacket/pkg-descr
@@ -0,0 +1,17 @@
+Impacket is a collection of Python classes focused
+on providing access to network packets.
+Impacket allows Python developers to craft and decode
+network packets in simple and consistent manner.
+It includes support for low-level protocols such as
+IP, UDP and TCP, as well as higher-level protocols
+such as NMB and SMB. Impacket is highly effective
+when used in conjunction with a packet capture utility
+or package such as Pcapy. Packets can be constructed
+from scratch, as well as parsed from raw data. Furthermore,
+the object oriented API makes it simple to work with deep
+protocol hierarchies.
+
+- Marcin Jessa
+yazzy@yazzy.org
+
+WWW: http://oss.coresecurity.com/projects/impacket.html
diff --git a/net/py-impacket/pkg-plist b/net/py-impacket/pkg-plist
new file mode 100644
index 000000000000..0c949d692239
--- /dev/null
+++ b/net/py-impacket/pkg-plist
@@ -0,0 +1,60 @@
+bin/ping.py
+bin/rpcdump.py
+bin/samrdump.py
+bin/sniff.py
+bin/sniffer.py
+bin/split.py
+bin/tracer.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/__init__.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/__init__.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/__init__.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcom.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcom.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcom.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/conv.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/conv.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/conv.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc_v4.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc_v4.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/dcerpc_v4.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/epm.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/epm.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/epm.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/ndrutils.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/ndrutils.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/ndrutils.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/samr.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/samr.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/samr.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/svcctl.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/svcctl.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/svcctl.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/winreg.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/winreg.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/winreg.pyo
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/transport.py
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/transport.pyc
+%%PYTHON_SITELIBDIR%%/impacket/dcerpc/transport.pyo
+%%PYTHON_SITELIBDIR%%/impacket/ImpactDecoder.py
+%%PYTHON_SITELIBDIR%%/impacket/ImpactDecoder.pyc
+%%PYTHON_SITELIBDIR%%/impacket/ImpactDecoder.pyo
+%%PYTHON_SITELIBDIR%%/impacket/ImpactPacket.py
+%%PYTHON_SITELIBDIR%%/impacket/ImpactPacket.pyc
+%%PYTHON_SITELIBDIR%%/impacket/ImpactPacket.pyo
+%%PYTHON_SITELIBDIR%%/impacket/__init__.py
+%%PYTHON_SITELIBDIR%%/impacket/__init__.pyc
+%%PYTHON_SITELIBDIR%%/impacket/__init__.pyo
+%%PYTHON_SITELIBDIR%%/impacket/nmb.py
+%%PYTHON_SITELIBDIR%%/impacket/nmb.pyc
+%%PYTHON_SITELIBDIR%%/impacket/nmb.pyo
+%%PYTHON_SITELIBDIR%%/impacket/smb.py
+%%PYTHON_SITELIBDIR%%/impacket/smb.pyc
+%%PYTHON_SITELIBDIR%%/impacket/smb.pyo
+%%PYTHON_SITELIBDIR%%/impacket/uuid.py
+%%PYTHON_SITELIBDIR%%/impacket/uuid.pyc
+%%PYTHON_SITELIBDIR%%/impacket/uuid.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/impacket/dcerpc
+@dirrm %%PYTHON_SITELIBDIR%%/impacket