pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/scapy scapy: update to 2.4.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc7fa0b9312c
branches: trunk
changeset: 403969:bc7fa0b9312c
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Mon Nov 04 05:48:26 2019 +0000
description:
scapy: update to 2.4.3
This latest version of scapy has improved BSD and SunOS support, among
other changes. I've continued our DragonFly support, since we were
already carrying patches for it. (These should be submitted upstream.)
(This also addresses PR pkg/54550, submitted by Gabriel Potter of
scapy. Thanks for the reminder, and for all your work on your project!)
I have tested a pkgsrc build and scapy regression suite in the
following environments:
NetBSD 8.1_STABLE with Python 3.6.9
NetBSD 9.99.17 with Python 3.7.5
DragonFly BSD 5.6.2 with Python 3.6.9
OpenIndiana Hipster 2019.04 with Python 3.7.5
Fedora Linux 30 with Python 3.7.5
Significant details from the upstream change summaries:
2.4.3
Main Changes
Core
364 commits since v2.4.2
better native support for FreeBSD, NetBSD, OpenBSD
Windows: native RAW sockets support, load interfaces/routes using C calls, ...
Solaris: fixed support
latency improvements
sniff() can be used to test BPF fiters on pcap files
more unit tests and Python3 compatibility
asynchronous sniffing
UTScapy vim syntax highlighting
drop distutils for setuptools
Console / IPython integration improvements
Layers
Major changes
New
HTTP (from the deprecated scapy-http module), TLS 1.3, ATA over Ethernet, OVD, IEC 60870-5-104, enip, ...
Improved
NetflowV9, ISOTP, Zigbee, RTR, BLE, PPI, DNS, LLDP, ...
Bluetooth/BTLE rework
PPI / 802.11 improvements
2.4.2
Main changes
Gabriel Potter is officially part of the Scapy maintainers team
PEP08 compliance (see #1277)
Speed improvements (see #642)
Core
253 merged pull requests since v2.4.0
Python 3.7 support
Enhanced Windows support
unit testing is now 100% tox based
Layers
Major changes
Many automotive related layers added (ISO-TP...)
New
EtherCat
OPCDA
SOCKS
USBpcap
RPKI
Improved
MACsec, MQTT, MPLS, DNS, ARP, Dot15d4, Zigbee, Bluetooth4LE, RadioTap ...
Enhanced monitor mode support
Other
addresses a v2.4.0 vulnerability
2.4.0
Main changes
Python3 support
85% code coverage
Core
Pcap/PcapNg improvements
enhanced Windows support
OpenBSD improvements
OSX 802.11 monitor mode
Krack AP module
iPython support
automatically tested on Linux, OSX & Windows
...
Layers
Major changes
TLS (including TLS1.3), X.509 ...
New
HTTP/2, EAP-TTLS, TACACS, MQTT ...
Improved
IPv6, SCTP, NTP, PPTP, CDP, BGP, ISIS ...
diffstat:
net/scapy/Makefile | 13 +-
net/scapy/PLIST | 457 ++++++++++++++++-
net/scapy/distinfo | 19 +-
net/scapy/options.mk | 16 +-
net/scapy/patches/patch-aa | 21 -
net/scapy/patches/patch-ab | 44 +-
net/scapy/patches/patch-ac | 13 -
net/scapy/patches/patch-ad | 22 +-
net/scapy/patches/patch-af | 17 -
net/scapy/patches/patch-scapy_arch_bpf_supersocket.py | 32 +
net/scapy/patches/patch-scapy_consts.py | 16 +
11 files changed, 543 insertions(+), 127 deletions(-)
diffs (truncated from 955 to 300 lines):
diff -r dd776429bcb1 -r bc7fa0b9312c net/scapy/Makefile
--- a/net/scapy/Makefile Mon Nov 04 04:33:40 2019 +0000
+++ b/net/scapy/Makefile Mon Nov 04 05:48:26 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2019/11/03 11:45:52 rillig Exp $
+# $NetBSD: Makefile,v 1.30 2019/11/04 05:48:26 gutteridge Exp $
-DISTNAME= scapy-2.3.2
-PKGREVISION= 1
+DISTNAME= scapy-2.4.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=secdev/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -11,13 +10,9 @@
COMMENT= Interactive packet manipulation program
LICENSE= gnu-gpl-v2
-DEPENDS+= ${PYPKGPREFIX}-libpcap-[0-9]*:../../net/py-libpcap
-DEPENDS+= ${PYPKGPREFIX}-libdnet-[0-9]*:../../net/py-libdnet
-DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
-
NO_BUILD= yes
-PYTHON_VERSIONS_ACCEPTED= 27 # py-libpcap, py-libdnet
+PYTHON_VERSIONS_ACCEPTED= 37 36 27 # 3.8 not officially supported yet
INSTALLATION_DIRS+= share/examples/scapy
@@ -43,5 +38,5 @@
cd ${WRKSRC}/test && ${SETENV} PYTHON=${PYTHONBIN} ./run_tests
.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r dd776429bcb1 -r bc7fa0b9312c net/scapy/PLIST
--- a/net/scapy/PLIST Mon Nov 04 04:33:40 2019 +0000
+++ b/net/scapy/PLIST Mon Nov 04 05:48:26 2019 +0000
@@ -1,10 +1,19 @@
-@comment $NetBSD: PLIST,v 1.8 2016/05/09 11:07:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/11/04 05:48:26 gutteridge Exp $
bin/UTscapy
bin/scapy
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/entry_points.txt
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/not-zip-safe
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/scapy-git_archive.dev304758016-py${PYVERSSUFFIX}.egg-info/top_level.txt
${PYSITELIB}/scapy/__init__.py
${PYSITELIB}/scapy/__init__.pyc
${PYSITELIB}/scapy/__init__.pyo
+${PYSITELIB}/scapy/__main__.py
+${PYSITELIB}/scapy/__main__.pyc
+${PYSITELIB}/scapy/__main__.pyo
${PYSITELIB}/scapy/all.py
${PYSITELIB}/scapy/all.pyc
${PYSITELIB}/scapy/all.pyo
@@ -14,9 +23,21 @@
${PYSITELIB}/scapy/arch/__init__.py
${PYSITELIB}/scapy/arch/__init__.pyc
${PYSITELIB}/scapy/arch/__init__.pyo
-${PYSITELIB}/scapy/arch/bsd.py
-${PYSITELIB}/scapy/arch/bsd.pyc
-${PYSITELIB}/scapy/arch/bsd.pyo
+${PYSITELIB}/scapy/arch/bpf/__init__.py
+${PYSITELIB}/scapy/arch/bpf/__init__.pyc
+${PYSITELIB}/scapy/arch/bpf/__init__.pyo
+${PYSITELIB}/scapy/arch/bpf/consts.py
+${PYSITELIB}/scapy/arch/bpf/consts.pyc
+${PYSITELIB}/scapy/arch/bpf/consts.pyo
+${PYSITELIB}/scapy/arch/bpf/core.py
+${PYSITELIB}/scapy/arch/bpf/core.pyc
+${PYSITELIB}/scapy/arch/bpf/core.pyo
+${PYSITELIB}/scapy/arch/bpf/supersocket.py
+${PYSITELIB}/scapy/arch/bpf/supersocket.pyc
+${PYSITELIB}/scapy/arch/bpf/supersocket.pyo
+${PYSITELIB}/scapy/arch/common.py
+${PYSITELIB}/scapy/arch/common.pyc
+${PYSITELIB}/scapy/arch/common.pyo
${PYSITELIB}/scapy/arch/linux.py
${PYSITELIB}/scapy/arch/linux.pyc
${PYSITELIB}/scapy/arch/linux.pyo
@@ -32,6 +53,12 @@
${PYSITELIB}/scapy/arch/windows/__init__.py
${PYSITELIB}/scapy/arch/windows/__init__.pyc
${PYSITELIB}/scapy/arch/windows/__init__.pyo
+${PYSITELIB}/scapy/arch/windows/native.py
+${PYSITELIB}/scapy/arch/windows/native.pyc
+${PYSITELIB}/scapy/arch/windows/native.pyo
+${PYSITELIB}/scapy/arch/windows/structures.py
+${PYSITELIB}/scapy/arch/windows/structures.pyc
+${PYSITELIB}/scapy/arch/windows/structures.pyo
${PYSITELIB}/scapy/as_resolvers.py
${PYSITELIB}/scapy/as_resolvers.pyc
${PYSITELIB}/scapy/as_resolvers.pyo
@@ -62,21 +89,126 @@
${PYSITELIB}/scapy/base_classes.py
${PYSITELIB}/scapy/base_classes.pyc
${PYSITELIB}/scapy/base_classes.pyo
+${PYSITELIB}/scapy/compat.py
+${PYSITELIB}/scapy/compat.pyc
+${PYSITELIB}/scapy/compat.pyo
${PYSITELIB}/scapy/config.py
${PYSITELIB}/scapy/config.pyc
${PYSITELIB}/scapy/config.pyo
-${PYSITELIB}/scapy/contrib/HomePlugAV.py
-${PYSITELIB}/scapy/contrib/HomePlugAV.pyc
-${PYSITELIB}/scapy/contrib/HomePlugAV.pyo
+${PYSITELIB}/scapy/consts.py
+${PYSITELIB}/scapy/consts.pyc
+${PYSITELIB}/scapy/consts.pyo
${PYSITELIB}/scapy/contrib/__init__.py
${PYSITELIB}/scapy/contrib/__init__.pyc
${PYSITELIB}/scapy/contrib/__init__.pyo
+${PYSITELIB}/scapy/contrib/altbeacon.py
+${PYSITELIB}/scapy/contrib/altbeacon.pyc
+${PYSITELIB}/scapy/contrib/altbeacon.pyo
+${PYSITELIB}/scapy/contrib/aoe.py
+${PYSITELIB}/scapy/contrib/aoe.pyc
+${PYSITELIB}/scapy/contrib/aoe.pyo
+${PYSITELIB}/scapy/contrib/automotive/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/bmw/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/bmw/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/bmw/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/bmw/enet.py
+${PYSITELIB}/scapy/contrib/automotive/bmw/enet.pyc
+${PYSITELIB}/scapy/contrib/automotive/bmw/enet.pyo
+${PYSITELIB}/scapy/contrib/automotive/ccp.py
+${PYSITELIB}/scapy/contrib/automotive/ccp.pyc
+${PYSITELIB}/scapy/contrib/automotive/ccp.pyo
+${PYSITELIB}/scapy/contrib/automotive/gm/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/gm/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/gm/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/gm/gmlan.py
+${PYSITELIB}/scapy/contrib/automotive/gm/gmlan.pyc
+${PYSITELIB}/scapy/contrib/automotive/gm/gmlan.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/obd/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/iids.py
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/iids.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/iid/iids.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/mids.py
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/mids.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/mid/mids.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/obd.py
+${PYSITELIB}/scapy/contrib/automotive/obd/obd.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/obd.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/packet.py
+${PYSITELIB}/scapy/contrib/automotive/obd/packet.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/packet.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_00_1F.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_00_1F.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_00_1F.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_20_3F.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_20_3F.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_20_3F.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_40_5F.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_40_5F.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_40_5F.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_60_7F.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_60_7F.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_60_7F.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_80_9F.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_80_9F.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_80_9F.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_A0_C0.py
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_A0_C0.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/pid/pids_A0_C0.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/services.py
+${PYSITELIB}/scapy/contrib/automotive/obd/services.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/services.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/tids.py
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/tids.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/tid/tids.pyo
+${PYSITELIB}/scapy/contrib/automotive/someip.py
+${PYSITELIB}/scapy/contrib/automotive/someip.pyc
+${PYSITELIB}/scapy/contrib/automotive/someip.pyo
+${PYSITELIB}/scapy/contrib/automotive/someip_sd.py
+${PYSITELIB}/scapy/contrib/automotive/someip_sd.pyc
+${PYSITELIB}/scapy/contrib/automotive/someip_sd.pyo
+${PYSITELIB}/scapy/contrib/automotive/uds.py
+${PYSITELIB}/scapy/contrib/automotive/uds.pyc
+${PYSITELIB}/scapy/contrib/automotive/uds.pyo
${PYSITELIB}/scapy/contrib/avs.py
${PYSITELIB}/scapy/contrib/avs.pyc
${PYSITELIB}/scapy/contrib/avs.pyo
${PYSITELIB}/scapy/contrib/bgp.py
${PYSITELIB}/scapy/contrib/bgp.pyc
${PYSITELIB}/scapy/contrib/bgp.pyo
+${PYSITELIB}/scapy/contrib/bier.py
+${PYSITELIB}/scapy/contrib/bier.pyc
+${PYSITELIB}/scapy/contrib/bier.pyo
+${PYSITELIB}/scapy/contrib/bp.py
+${PYSITELIB}/scapy/contrib/bp.pyc
+${PYSITELIB}/scapy/contrib/bp.pyo
+${PYSITELIB}/scapy/contrib/cansocket.py
+${PYSITELIB}/scapy/contrib/cansocket.pyc
+${PYSITELIB}/scapy/contrib/cansocket.pyo
+${PYSITELIB}/scapy/contrib/cansocket_native.py
+${PYSITELIB}/scapy/contrib/cansocket_native.pyc
+${PYSITELIB}/scapy/contrib/cansocket_native.pyo
+${PYSITELIB}/scapy/contrib/cansocket_python_can.py
+${PYSITELIB}/scapy/contrib/cansocket_python_can.pyc
+${PYSITELIB}/scapy/contrib/cansocket_python_can.pyo
${PYSITELIB}/scapy/contrib/carp.py
${PYSITELIB}/scapy/contrib/carp.pyc
${PYSITELIB}/scapy/contrib/carp.pyo
@@ -86,24 +218,57 @@
${PYSITELIB}/scapy/contrib/chdlc.py
${PYSITELIB}/scapy/contrib/chdlc.pyc
${PYSITELIB}/scapy/contrib/chdlc.pyo
+${PYSITELIB}/scapy/contrib/coap.py
+${PYSITELIB}/scapy/contrib/coap.pyc
+${PYSITELIB}/scapy/contrib/coap.pyo
+${PYSITELIB}/scapy/contrib/dce_rpc.py
+${PYSITELIB}/scapy/contrib/dce_rpc.pyc
+${PYSITELIB}/scapy/contrib/dce_rpc.pyo
+${PYSITELIB}/scapy/contrib/diameter.py
+${PYSITELIB}/scapy/contrib/diameter.pyc
+${PYSITELIB}/scapy/contrib/diameter.pyo
${PYSITELIB}/scapy/contrib/dtp.py
${PYSITELIB}/scapy/contrib/dtp.pyc
${PYSITELIB}/scapy/contrib/dtp.pyo
+${PYSITELIB}/scapy/contrib/eddystone.py
+${PYSITELIB}/scapy/contrib/eddystone.pyc
+${PYSITELIB}/scapy/contrib/eddystone.pyo
${PYSITELIB}/scapy/contrib/eigrp.py
${PYSITELIB}/scapy/contrib/eigrp.pyc
${PYSITELIB}/scapy/contrib/eigrp.pyo
+${PYSITELIB}/scapy/contrib/enipTCP.py
+${PYSITELIB}/scapy/contrib/enipTCP.pyc
+${PYSITELIB}/scapy/contrib/enipTCP.pyo
+${PYSITELIB}/scapy/contrib/ethercat.py
+${PYSITELIB}/scapy/contrib/ethercat.pyc
+${PYSITELIB}/scapy/contrib/ethercat.pyo
${PYSITELIB}/scapy/contrib/etherip.py
${PYSITELIB}/scapy/contrib/etherip.pyc
${PYSITELIB}/scapy/contrib/etherip.pyo
-${PYSITELIB}/scapy/contrib/gsm_um.py
-${PYSITELIB}/scapy/contrib/gsm_um.pyc
-${PYSITELIB}/scapy/contrib/gsm_um.pyo
+${PYSITELIB}/scapy/contrib/geneve.py
+${PYSITELIB}/scapy/contrib/geneve.pyc
+${PYSITELIB}/scapy/contrib/geneve.pyo
${PYSITELIB}/scapy/contrib/gtp.py
${PYSITELIB}/scapy/contrib/gtp.pyc
${PYSITELIB}/scapy/contrib/gtp.pyo
+${PYSITELIB}/scapy/contrib/gtp_v2.py
+${PYSITELIB}/scapy/contrib/gtp_v2.pyc
+${PYSITELIB}/scapy/contrib/gtp_v2.pyo
+${PYSITELIB}/scapy/contrib/homeplugav.py
+${PYSITELIB}/scapy/contrib/homeplugav.pyc
+${PYSITELIB}/scapy/contrib/homeplugav.pyo
+${PYSITELIB}/scapy/contrib/http2.py
+${PYSITELIB}/scapy/contrib/http2.pyc
+${PYSITELIB}/scapy/contrib/http2.pyo
+${PYSITELIB}/scapy/contrib/ibeacon.py
+${PYSITELIB}/scapy/contrib/ibeacon.pyc
+${PYSITELIB}/scapy/contrib/ibeacon.pyo
${PYSITELIB}/scapy/contrib/icmp_extensions.py
${PYSITELIB}/scapy/contrib/icmp_extensions.pyc
${PYSITELIB}/scapy/contrib/icmp_extensions.pyo
+${PYSITELIB}/scapy/contrib/ife.py
+${PYSITELIB}/scapy/contrib/ife.pyc
+${PYSITELIB}/scapy/contrib/ife.pyo
${PYSITELIB}/scapy/contrib/igmp.py
${PYSITELIB}/scapy/contrib/igmp.pyc
${PYSITELIB}/scapy/contrib/igmp.pyo
@@ -116,12 +281,45 @@
${PYSITELIB}/scapy/contrib/isis.py
${PYSITELIB}/scapy/contrib/isis.pyc
${PYSITELIB}/scapy/contrib/isis.pyo
+${PYSITELIB}/scapy/contrib/isotp.py
+${PYSITELIB}/scapy/contrib/isotp.pyc
+${PYSITELIB}/scapy/contrib/isotp.pyo
+${PYSITELIB}/scapy/contrib/lacp.py
+${PYSITELIB}/scapy/contrib/lacp.pyc
+${PYSITELIB}/scapy/contrib/lacp.pyo
${PYSITELIB}/scapy/contrib/ldp.py
Home |
Main Index |
Thread Index |
Old Index