Commit graph

35 commits

Author SHA1 Message Date
gutteridge
3d0bd511bd scapy: add a fix for Python 2.7 builds 2019-11-05 01:02:49 +00:00
gutteridge
3081a9de6c 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 ...
2019-11-04 05:48:26 +00:00
rillig
eb3c2b436e net: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 11:45:28 +00:00
adam
435af01a8b Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8 2019-09-02 13:19:35 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
maya
5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
gutteridge
7cd91a13fa scapy: improve a portability patch for the test suite 2019-03-24 19:44:48 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
adam
c9d4589be6 Changes 2.3.2:
Bug-fix release.
2016-05-09 11:07:51 +00:00
jperkin
0726bd8fc5 Use PKGMANDIR. Use subst.mk rather than patching. 2016-04-21 12:08:29 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
adam
30ec1d1858 Changes 2.2.0:
This release adds a contrib section filled with old contributions that were not distributed with Scapy yet: CDP, IGMP, MPLS, CHDLC, SLARP, WPA EAPOL, DTP, EIGRP, VQP, BGP, OSPF, VTP RSVP, EtherIP, RIPng, and IKEv2. It fixes some bugs.
2013-06-15 20:24:19 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
wiz
aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00
obache
2cd654bab6 Bump PKGREVISION from default python to 2.7. 2012-03-15 11:53:20 +00:00
obache
9629f04c25 * No need to buildlink with python modules, simple DEPENDS is sufficient.
* Convert PYDISTUTILSPKG to register egg-info.

Bump PKGREVISION.
2011-10-16 04:16:49 +00:00
drochner
e8d6903cfd update to 2.1.1
This release include many bugfixes, most of them for Windows platforms,
thanks mainly to Dirk Loss. There is also VRRP and SCTP protocols
suppor thanks to zer0, IPython support.
2011-02-25 15:43:51 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
hasso
7c7af4b3df Update to 2.0.1. Changes are too numerous since 1.0.5 and there is no normal
changelog except log in upstream repository.

Most notably (at least for me) it adds an IPv6 support.
2009-06-09 12:30:02 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
adrianp
ea15012be8 Update to 1.0.5
_lots_ of changes
In brief:

# Revision 1.0.0.7  2005/08/10 20:01:56  pbi
# - changed Ether.mysummary() (P. Lalet)
# - Update of Sebek protocols (P. Lalet)

# Revision 1.0.0.21  2005/09/06 17:05:19  pbi
# - new logging/warning facility using the logging module

# Revision 1.0.0.24  2005/09/08 14:13:36  pbi
# - added RandIP()

# Revision 1.0.0.33  2005/09/24 14:29:30  pbi
# - completed PrismHeader layer

# Revision 1.0.4.98  2006/10/06 16:31:41  pbi
# - added additionnal DHCP Options (ticket #11)

# Revision 1.0.4.84  2006/09/23 06:52:46  pbi
# - improved import_hexcap() to handle more hexdump outputs
2007-01-03 15:02:51 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
drochner
ae5670997b add scapy-1.0.0, a Python shell for network packet construction, injection
and capture
2005-08-10 13:54:58 +00:00