Created attachment 230459 [details]
New port as an alternative for pycapy which is currently unmaintained.
- portlint -A runs fine
- poudriere bulk builds fine pkg
- poudriere testport runs without errors
Anyone who wants to have look at this? :)
DOS2UNIX isn't actually used?
Created attachment 231208 [details]
Thanks for taking the time, very appreciated!
Indeed, it seems the author of the forked port removed it so it's not neccessary anymore. Updated the patch.
Anyone motivated to take it? It's quite an easy port :)
This port brings fix of OOM for Maltrail port (https://www.freshports.org/security/maltrail) and for os-maltrail plugin in OPNSense Gateway.
Will be nice to have pcapy-ng port merged to make people use Maltrail for BSD-line and other BSD-ports, that use pcapy lib.
A commit in branch main references this bug:
Author: Michael Muenz <email@example.com>
AuthorDate: 2022-03-30 12:33:10 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-03-31 07:33:17 +0000
net/pcapy-ng: Add new port
Pcapy is a Python extension module that interfaces with the libpcap packet
capture library. Pcapy enables Python scripts to capture packets on the network.
Pcapy is highly effective when used in conjunction with a packet-handling
package such as Impacket, which is a collection of Python classes for
constructing and dissecting network packets.
net/Makefile | 1 +
net/py-pcapy-ng/Makefile (new) | 32 ++++++++++++++++++++++++++++++++
net/py-pcapy-ng/distinfo (new) | 3 +++
net/py-pcapy-ng/pkg-descr (new) | 9 +++++++++
4 files changed, 45 insertions(+)