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.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/668967b2d9c8
branches:  trunk
changeset: 449187:668967b2d9c8
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sun Mar 21 19:50:54 2021 +0000

description:
scapy: update to 2.4.4

Main Changes
Core

    784 commits to master since this v2.4.3
    fix how timestamps are measured on layer 3 (broken since 2.4.1)
    drop DNET support (deprecated since 2.4.0)
    Scapy will now use libpcap instead of tcpdump to compile the filters (tcpdump is still used to filter pcaps)
    major changes to the online doc: add an automatically generated API reference with visual representation of each layer, move to Sphinx 3.0.0, new layer-specific doc...
    *BSD fixes
    more doc to many functions

Layers

    New layers (homeplug sg, smb2, NSH, RPL, ERSPAN, BFD, ROCE...)
    TLS: TLS 1.3 support & many fixes
    802.11 improvements / WPA3 detection
    Netflow 9 fixes
    Major refactor & changes of the Automotive layers
    HTTP changes
    DHCPv6 fixes according to revision of the RFC
    Bluetooth improvements (+BLE)
    minor fixes to Radius, PPP, GTP, IPsec, CDP, VTP, HTTP/2, ...

diffstat:

 net/scapy/Makefile                                          |   15 +-
 net/scapy/PLIST                                             |  121 ++++++++++-
 net/scapy/distinfo                                          |   17 +-
 net/scapy/patches/patch-ab                                  |   10 +-
 net/scapy/patches/patch-scapy_arch_bpf_supersocket.py       |   27 +-
 net/scapy/patches/patch-scapy_consts.py                     |    8 +-
 net/scapy/patches/patch-scapy_tools_generate__ethertypes.py |   15 -
 7 files changed, 143 insertions(+), 70 deletions(-)

diffs (truncated from 481 to 300 lines):

diff -r ef224ce9bfd9 -r 668967b2d9c8 net/scapy/Makefile
--- a/net/scapy/Makefile        Sun Mar 21 19:42:52 2021 +0000
+++ b/net/scapy/Makefile        Sun Mar 21 19:50:54 2021 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.32 2020/12/04 20:45:36 nia Exp $
+# $NetBSD: Makefile,v 1.33 2021/03/21 19:50:54 gutteridge Exp $
 
-DISTNAME=      scapy-2.4.3
-PKGREVISION=   2
+DISTNAME=      scapy-2.4.4
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=secdev/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.secdev.org/projects/scapy/
+HOMEPAGE=      https://scapy.net/
 COMMENT=       Interactive packet manipulation program
 LICENSE=       gnu-gpl-v2
 
 NO_BUILD=      yes
 
-PYTHON_VERSIONS_ACCEPTED=      37 36 27 # 3.8 not officially supported yet
+PYTHON_VERSIONS_ACCEPTED=      38 37 36 27 # 3.9 not officially supported yet
 
 INSTALLATION_DIRS+=    share/examples/scapy
 
@@ -35,8 +34,12 @@
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/ethertypes ${DESTDIR}${PREFIX}/share/examples/scapy/
 
+DATE_VAL=      ${DATE} "+%Y%m%d-%H%M%S"
+
 do-test:
-       cd ${WRKSRC}/test && ${SETENV} PYTHON=${PYTHONBIN} ./run_tests
+       cd ${WRKSRC}/test && ${SETENV} PYTHON=${PYTHONBIN} ./run_tests \
+               -t regression.uts -f html -K ipv6 -l \
+               -o /tmp/scapy_regression_test_${DATE_VAL:sh}.html
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff -r ef224ce9bfd9 -r 668967b2d9c8 net/scapy/PLIST
--- a/net/scapy/PLIST   Sun Mar 21 19:42:52 2021 +0000
+++ b/net/scapy/PLIST   Sun Mar 21 19:50:54 2021 +0000
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.9 2019/11/04 05:48:26 gutteridge Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/03/21 19:50:54 gutteridge Exp $
 bin/UTscapy
 bin/scapy
-${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-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/entry_points.txt
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/not-zip-safe
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/scapy-git_archive.dev95ba5b8504-py${PYVERSSUFFIX}.egg-info/top_level.txt
 ${PYSITELIB}/scapy/__init__.py
 ${PYSITELIB}/scapy/__init__.pyc
 ${PYSITELIB}/scapy/__init__.pyo
@@ -113,18 +113,30 @@
 ${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/definitions.py
+${PYSITELIB}/scapy/contrib/automotive/bmw/definitions.pyc
+${PYSITELIB}/scapy/contrib/automotive/bmw/definitions.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/ecu.py
+${PYSITELIB}/scapy/contrib/automotive/ecu.pyc
+${PYSITELIB}/scapy/contrib/automotive/ecu.pyo
+${PYSITELIB}/scapy/contrib/automotive/enumerator.py
+${PYSITELIB}/scapy/contrib/automotive/enumerator.pyc
+${PYSITELIB}/scapy/contrib/automotive/enumerator.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/gm/gmlanutils.py
+${PYSITELIB}/scapy/contrib/automotive/gm/gmlanutils.pyc
+${PYSITELIB}/scapy/contrib/automotive/gm/gmlanutils.pyo
 ${PYSITELIB}/scapy/contrib/automotive/obd/__init__.py
 ${PYSITELIB}/scapy/contrib/automotive/obd/__init__.pyc
 ${PYSITELIB}/scapy/contrib/automotive/obd/__init__.pyo
@@ -170,6 +182,9 @@
 ${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/scanner.py
+${PYSITELIB}/scapy/contrib/automotive/obd/scanner.pyc
+${PYSITELIB}/scapy/contrib/automotive/obd/scanner.pyo
 ${PYSITELIB}/scapy/contrib/automotive/obd/services.py
 ${PYSITELIB}/scapy/contrib/automotive/obd/services.pyc
 ${PYSITELIB}/scapy/contrib/automotive/obd/services.pyo
@@ -182,15 +197,21 @@
 ${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/automotive/volkswagen/__init__.py
+${PYSITELIB}/scapy/contrib/automotive/volkswagen/__init__.pyc
+${PYSITELIB}/scapy/contrib/automotive/volkswagen/__init__.pyo
+${PYSITELIB}/scapy/contrib/automotive/volkswagen/definitions.py
+${PYSITELIB}/scapy/contrib/automotive/volkswagen/definitions.pyc
+${PYSITELIB}/scapy/contrib/automotive/volkswagen/definitions.pyo
 ${PYSITELIB}/scapy/contrib/avs.py
 ${PYSITELIB}/scapy/contrib/avs.pyc
 ${PYSITELIB}/scapy/contrib/avs.pyo
+${PYSITELIB}/scapy/contrib/bfd.py
+${PYSITELIB}/scapy/contrib/bfd.pyc
+${PYSITELIB}/scapy/contrib/bfd.pyo
 ${PYSITELIB}/scapy/contrib/bgp.py
 ${PYSITELIB}/scapy/contrib/bgp.pyc
 ${PYSITELIB}/scapy/contrib/bgp.pyo
@@ -221,6 +242,9 @@
 ${PYSITELIB}/scapy/contrib/coap.py
 ${PYSITELIB}/scapy/contrib/coap.pyc
 ${PYSITELIB}/scapy/contrib/coap.pyo
+${PYSITELIB}/scapy/contrib/concox.py
+${PYSITELIB}/scapy/contrib/concox.pyc
+${PYSITELIB}/scapy/contrib/concox.pyo
 ${PYSITELIB}/scapy/contrib/dce_rpc.py
 ${PYSITELIB}/scapy/contrib/dce_rpc.pyc
 ${PYSITELIB}/scapy/contrib/dce_rpc.pyo
@@ -239,12 +263,18 @@
 ${PYSITELIB}/scapy/contrib/enipTCP.py
 ${PYSITELIB}/scapy/contrib/enipTCP.pyc
 ${PYSITELIB}/scapy/contrib/enipTCP.pyo
+${PYSITELIB}/scapy/contrib/erspan.py
+${PYSITELIB}/scapy/contrib/erspan.pyc
+${PYSITELIB}/scapy/contrib/erspan.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/exposure_notification.py
+${PYSITELIB}/scapy/contrib/exposure_notification.pyc
+${PYSITELIB}/scapy/contrib/exposure_notification.pyo
 ${PYSITELIB}/scapy/contrib/geneve.py
 ${PYSITELIB}/scapy/contrib/geneve.pyc
 ${PYSITELIB}/scapy/contrib/geneve.pyo
@@ -257,6 +287,12 @@
 ${PYSITELIB}/scapy/contrib/homeplugav.py
 ${PYSITELIB}/scapy/contrib/homeplugav.pyc
 ${PYSITELIB}/scapy/contrib/homeplugav.pyo
+${PYSITELIB}/scapy/contrib/homepluggp.py
+${PYSITELIB}/scapy/contrib/homepluggp.pyc
+${PYSITELIB}/scapy/contrib/homepluggp.pyo
+${PYSITELIB}/scapy/contrib/homeplugsg.py
+${PYSITELIB}/scapy/contrib/homeplugsg.pyc
+${PYSITELIB}/scapy/contrib/homeplugsg.pyo
 ${PYSITELIB}/scapy/contrib/http2.py
 ${PYSITELIB}/scapy/contrib/http2.pyc
 ${PYSITELIB}/scapy/contrib/http2.pyo
@@ -293,6 +329,9 @@
 ${PYSITELIB}/scapy/contrib/lldp.py
 ${PYSITELIB}/scapy/contrib/lldp.pyc
 ${PYSITELIB}/scapy/contrib/lldp.pyo
+${PYSITELIB}/scapy/contrib/loraphy2wan.py
+${PYSITELIB}/scapy/contrib/loraphy2wan.pyc
+${PYSITELIB}/scapy/contrib/loraphy2wan.pyo
 ${PYSITELIB}/scapy/contrib/ltp.py
 ${PYSITELIB}/scapy/contrib/ltp.pyc
 ${PYSITELIB}/scapy/contrib/ltp.pyo
@@ -305,6 +344,9 @@
 ${PYSITELIB}/scapy/contrib/modbus.py
 ${PYSITELIB}/scapy/contrib/modbus.pyc
 ${PYSITELIB}/scapy/contrib/modbus.pyo
+${PYSITELIB}/scapy/contrib/mount.py
+${PYSITELIB}/scapy/contrib/mount.pyc
+${PYSITELIB}/scapy/contrib/mount.pyo
 ${PYSITELIB}/scapy/contrib/mpls.py
 ${PYSITELIB}/scapy/contrib/mpls.pyc
 ${PYSITELIB}/scapy/contrib/mpls.pyo
@@ -314,9 +356,18 @@
 ${PYSITELIB}/scapy/contrib/mqttsn.py
 ${PYSITELIB}/scapy/contrib/mqttsn.pyc
 ${PYSITELIB}/scapy/contrib/mqttsn.pyo
+${PYSITELIB}/scapy/contrib/nfs.py
+${PYSITELIB}/scapy/contrib/nfs.pyc
+${PYSITELIB}/scapy/contrib/nfs.pyo
+${PYSITELIB}/scapy/contrib/nlm.py
+${PYSITELIB}/scapy/contrib/nlm.pyc
+${PYSITELIB}/scapy/contrib/nlm.pyo
 ${PYSITELIB}/scapy/contrib/nsh.py
 ${PYSITELIB}/scapy/contrib/nsh.pyc
 ${PYSITELIB}/scapy/contrib/nsh.pyo
+${PYSITELIB}/scapy/contrib/oncrpc.py
+${PYSITELIB}/scapy/contrib/oncrpc.pyc
+${PYSITELIB}/scapy/contrib/oncrpc.pyo
 ${PYSITELIB}/scapy/contrib/opc_da.py
 ${PYSITELIB}/scapy/contrib/opc_da.pyc
 ${PYSITELIB}/scapy/contrib/opc_da.pyo
@@ -329,6 +380,9 @@
 ${PYSITELIB}/scapy/contrib/ospf.py
 ${PYSITELIB}/scapy/contrib/ospf.pyc
 ${PYSITELIB}/scapy/contrib/ospf.pyo
+${PYSITELIB}/scapy/contrib/pfcp.py
+${PYSITELIB}/scapy/contrib/pfcp.pyc
+${PYSITELIB}/scapy/contrib/pfcp.pyo
 ${PYSITELIB}/scapy/contrib/pnio.py
 ${PYSITELIB}/scapy/contrib/pnio.pyc
 ${PYSITELIB}/scapy/contrib/pnio.pyo
@@ -338,6 +392,9 @@
 ${PYSITELIB}/scapy/contrib/pnio_rpc.py
 ${PYSITELIB}/scapy/contrib/pnio_rpc.pyc
 ${PYSITELIB}/scapy/contrib/pnio_rpc.pyo
+${PYSITELIB}/scapy/contrib/portmap.py
+${PYSITELIB}/scapy/contrib/portmap.pyc
+${PYSITELIB}/scapy/contrib/portmap.pyo
 ${PYSITELIB}/scapy/contrib/ppi_cace.py
 ${PYSITELIB}/scapy/contrib/ppi_cace.pyc
 ${PYSITELIB}/scapy/contrib/ppi_cace.pyo
@@ -347,6 +404,15 @@
 ${PYSITELIB}/scapy/contrib/ripng.py
 ${PYSITELIB}/scapy/contrib/ripng.pyc
 ${PYSITELIB}/scapy/contrib/ripng.pyo
+${PYSITELIB}/scapy/contrib/roce.py
+${PYSITELIB}/scapy/contrib/roce.pyc
+${PYSITELIB}/scapy/contrib/roce.pyo
+${PYSITELIB}/scapy/contrib/rpl.py
+${PYSITELIB}/scapy/contrib/rpl.pyc
+${PYSITELIB}/scapy/contrib/rpl.pyo
+${PYSITELIB}/scapy/contrib/rpl_metrics.py
+${PYSITELIB}/scapy/contrib/rpl_metrics.pyc
+${PYSITELIB}/scapy/contrib/rpl_metrics.pyo
 ${PYSITELIB}/scapy/contrib/rsvp.py
 ${PYSITELIB}/scapy/contrib/rsvp.pyc
 ${PYSITELIB}/scapy/contrib/rsvp.pyo
@@ -359,9 +425,6 @@
 ${PYSITELIB}/scapy/contrib/scada/iec104/__init__.py
 ${PYSITELIB}/scapy/contrib/scada/iec104/__init__.pyc
 ${PYSITELIB}/scapy/contrib/scada/iec104/__init__.pyo
-${PYSITELIB}/scapy/contrib/scada/iec104/iec104.py
-${PYSITELIB}/scapy/contrib/scada/iec104/iec104.pyc
-${PYSITELIB}/scapy/contrib/scada/iec104/iec104.pyo
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_fields.py
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_fields.pyc
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_fields.pyo
@@ -371,6 +434,9 @@
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_information_objects.py
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_information_objects.pyc
 ${PYSITELIB}/scapy/contrib/scada/iec104/iec104_information_objects.pyo
+${PYSITELIB}/scapy/contrib/scada/pcom.py
+${PYSITELIB}/scapy/contrib/scada/pcom.pyc
+${PYSITELIB}/scapy/contrib/scada/pcom.pyo
 ${PYSITELIB}/scapy/contrib/sdnv.py
 ${PYSITELIB}/scapy/contrib/sdnv.pyc
 ${PYSITELIB}/scapy/contrib/sdnv.pyo
@@ -545,6 +611,9 @@
 ${PYSITELIB}/scapy/layers/smb.py
 ${PYSITELIB}/scapy/layers/smb.pyc
 ${PYSITELIB}/scapy/layers/smb.pyo
+${PYSITELIB}/scapy/layers/smb2.py
+${PYSITELIB}/scapy/layers/smb2.pyc
+${PYSITELIB}/scapy/layers/smb2.pyo
 ${PYSITELIB}/scapy/layers/snmp.py
 ${PYSITELIB}/scapy/layers/snmp.pyc
 ${PYSITELIB}/scapy/layers/snmp.pyo
@@ -665,15 +734,24 @@
 ${PYSITELIB}/scapy/layers/zigbee.py
 ${PYSITELIB}/scapy/layers/zigbee.pyc
 ${PYSITELIB}/scapy/layers/zigbee.pyo
+${PYSITELIB}/scapy/libs/__init__.py
+${PYSITELIB}/scapy/libs/__init__.pyc
+${PYSITELIB}/scapy/libs/__init__.pyo
+${PYSITELIB}/scapy/libs/ethertypes.py
+${PYSITELIB}/scapy/libs/ethertypes.pyc
+${PYSITELIB}/scapy/libs/ethertypes.pyo
+${PYSITELIB}/scapy/libs/structures.py
+${PYSITELIB}/scapy/libs/structures.pyc
+${PYSITELIB}/scapy/libs/structures.pyo
+${PYSITELIB}/scapy/libs/winpcapy.py
+${PYSITELIB}/scapy/libs/winpcapy.pyc
+${PYSITELIB}/scapy/libs/winpcapy.pyo
 ${PYSITELIB}/scapy/main.py
 ${PYSITELIB}/scapy/main.pyc
 ${PYSITELIB}/scapy/main.pyo
 ${PYSITELIB}/scapy/modules/__init__.py
 ${PYSITELIB}/scapy/modules/__init__.pyc



Home | Main Index | Thread Index | Old Index