diff --git a/net/Makefile b/net/Makefile index 63c76d7064a5..e0943bdb7d77 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1076,6 +1076,7 @@ SUBDIR += py-pynamecheap SUBDIR += py-pynmsg SUBDIR += py-pynsq + SUBDIR += py-pypacker SUBDIR += py-pypcap SUBDIR += py-pyroute2 SUBDIR += py-pyroute2.core diff --git a/net/py-pypacker/Makefile b/net/py-pypacker/Makefile new file mode 100644 index 000000000000..30a327bd95d1 --- /dev/null +++ b/net/py-pypacker/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pypacker +PORTVERSION= 5.0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nobutaka@FreeBSD.org +COMMENT= Packet manipulation library for Python + +LICENSE= BSD3CLAUSE GPLv2 +LICENSE_COMB= dual + +USES= python +USE_GITLAB= yes +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +GL_ACCOUNT= mike01 +GL_COMMIT= 268e27c813545bf7995dd0a80abdb4da24d64722 + +.include diff --git a/net/py-pypacker/distinfo b/net/py-pypacker/distinfo new file mode 100644 index 000000000000..8a6b1084840c --- /dev/null +++ b/net/py-pypacker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633835778 +SHA256 (mike01-pypacker-268e27c813545bf7995dd0a80abdb4da24d64722_GL0.tar.gz) = c0e19b8fab13dcbf67105fb8564c50cdaf5eb35ff23801acef7f118e31b0da22 +SIZE (mike01-pypacker-268e27c813545bf7995dd0a80abdb4da24d64722_GL0.tar.gz) = 608601 diff --git a/net/py-pypacker/pkg-descr b/net/py-pypacker/pkg-descr new file mode 100644 index 000000000000..aaf9d4680693 --- /dev/null +++ b/net/py-pypacker/pkg-descr @@ -0,0 +1,8 @@ +pypacker is a packet manipulation library for Python. + +Key features: +- Creating custom Packets (via keywords) or from raw byte and change their data +- Reading/writing packets from/to file (Support only for Wireshark/tcpdump pcap format) +- Merging multiple pcap files to one file + +WWW: https://gitlab.com/mike01/pypacker