pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/scapy Update to 2.0.1. Changes are too numerous si...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04a6794e1739
branches:  trunk
changeset: 394371:04a6794e1739
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Jun 09 12:30:02 2009 +0000

description:
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.

diffstat:

 net/scapy/Makefile         |   23 ++--
 net/scapy/PLIST            |  231 ++++++++++++++++++++++++++++++++++++++++++++-
 net/scapy/distinfo         |   15 +-
 net/scapy/patches/patch-aa |   45 +++-----
 net/scapy/patches/patch-ab |   13 ++
 net/scapy/patches/patch-ac |   13 ++
 net/scapy/patches/patch-ad |   13 ++
 net/scapy/patches/patch-ae |   13 ++
 net/scapy/patches/patch-af |   12 ++
 9 files changed, 333 insertions(+), 45 deletions(-)

diffs (truncated from 451 to 300 lines):

diff -r 6162fa214ce7 -r 04a6794e1739 net/scapy/Makefile
--- a/net/scapy/Makefile        Tue Jun 09 12:12:00 2009 +0000
+++ b/net/scapy/Makefile        Tue Jun 09 12:30:02 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2009/02/09 22:56:26 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2009/06/09 12:30:02 hasso Exp $
 #
 
-DISTNAME=              scapy-1.0.5
-PKGREVISION=           1
+DISTNAME=              scapy-2.0.1
 CATEGORIES=            net
 MASTER_SITES=          http://www.secdev.org/projects/scapy/files/
 
@@ -10,9 +9,11 @@
 HOMEPAGE=              http://www.secdev.org/projects/scapy/
 COMMENT=               Interactive packet manipulation program
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PYDISTUTILSPKG=                        yes
 NO_BUILD=                      yes
-PYTHON_VERSIONS_ACCEPTED=      25 24
-PYTHON_PATCH_SCRIPTS=          scapy.py
+PYTHON_VERSIONS_ACCEPTED=      26 25
 
 .include "options.mk"
 
@@ -21,20 +22,20 @@
 
 SUBST_CLASSES+=                config
 SUBST_STAGE.config=    post-patch
-SUBST_FILES.config=    scapy.py
+SUBST_FILES.config=    scapy/data.py
 SUBST_SED.config=      -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
 SUBST_MESSAGE.config=  Fixing paths.
 
 post-extract:
        ${CP} ${FILESDIR}/ethertypes ${WRKSRC}
 
-do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scapy
-       ${INSTALL_DATA} ${WRKSRC}/ethertypes ${PREFIX}/share/examples/scapy/
-       ${INSTALL_SCRIPT} ${WRKSRC}/scapy.py ${PREFIX}/bin/scapy
-       ${INSTALL_MAN} ${WRKSRC}/scapy.1 ${PREFIX}/${PKGMANDIR}/man1
+post-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/scapy
+       ${INSTALL_DATA} ${WRKSRC}/ethertypes ${DESTDIR}${PREFIX}/share/examples/scapy/
+
 
 .include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
 .include "../../net/py-libpcap/buildlink3.mk"
 .include "../../net/py-libdnet/buildlink3.mk"
 .include "../../devel/py-readline/buildlink3.mk"
diff -r 6162fa214ce7 -r 04a6794e1739 net/scapy/PLIST
--- a/net/scapy/PLIST   Tue Jun 09 12:12:00 2009 +0000
+++ b/net/scapy/PLIST   Tue Jun 09 12:30:02 2009 +0000
@@ -1,5 +1,234 @@
-@comment $NetBSD: PLIST,v 1.2 2007/01/03 15:02:51 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/06/09 12:30:02 hasso Exp $
 bin/scapy
+bin/UTscapy
+${PYSITELIB}/scapy/__init__.py
+${PYSITELIB}/scapy/__init__.pyc
+${PYSITELIB}/scapy/__init__.pyo
+${PYSITELIB}/scapy/all.py
+${PYSITELIB}/scapy/all.pyc
+${PYSITELIB}/scapy/all.pyo
+${PYSITELIB}/scapy/ansmachine.py
+${PYSITELIB}/scapy/ansmachine.pyc
+${PYSITELIB}/scapy/ansmachine.pyo
+${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/linux.py
+${PYSITELIB}/scapy/arch/linux.pyc
+${PYSITELIB}/scapy/arch/linux.pyo
+${PYSITELIB}/scapy/arch/pcapdnet.py
+${PYSITELIB}/scapy/arch/pcapdnet.pyc
+${PYSITELIB}/scapy/arch/pcapdnet.pyo
+${PYSITELIB}/scapy/arch/solaris.py
+${PYSITELIB}/scapy/arch/solaris.pyc
+${PYSITELIB}/scapy/arch/solaris.pyo
+${PYSITELIB}/scapy/arch/unix.py
+${PYSITELIB}/scapy/arch/unix.pyc
+${PYSITELIB}/scapy/arch/unix.pyo
+${PYSITELIB}/scapy/as_resolvers.py
+${PYSITELIB}/scapy/as_resolvers.pyc
+${PYSITELIB}/scapy/as_resolvers.pyo
+${PYSITELIB}/scapy/asn1/__init__.py
+${PYSITELIB}/scapy/asn1/__init__.pyc
+${PYSITELIB}/scapy/asn1/__init__.pyo
+${PYSITELIB}/scapy/asn1/asn1.py
+${PYSITELIB}/scapy/asn1/asn1.pyc
+${PYSITELIB}/scapy/asn1/asn1.pyo
+${PYSITELIB}/scapy/asn1/ber.py
+${PYSITELIB}/scapy/asn1/ber.pyc
+${PYSITELIB}/scapy/asn1/ber.pyo
+${PYSITELIB}/scapy/asn1/mib.py
+${PYSITELIB}/scapy/asn1/mib.pyc
+${PYSITELIB}/scapy/asn1/mib.pyo
+${PYSITELIB}/scapy/asn1fields.py
+${PYSITELIB}/scapy/asn1fields.pyc
+${PYSITELIB}/scapy/asn1fields.pyo
+${PYSITELIB}/scapy/asn1packet.py
+${PYSITELIB}/scapy/asn1packet.pyc
+${PYSITELIB}/scapy/asn1packet.pyo
+${PYSITELIB}/scapy/automaton.py
+${PYSITELIB}/scapy/automaton.pyc
+${PYSITELIB}/scapy/automaton.pyo
+${PYSITELIB}/scapy/autorun.py
+${PYSITELIB}/scapy/autorun.pyc
+${PYSITELIB}/scapy/autorun.pyo
+${PYSITELIB}/scapy/base_classes.py
+${PYSITELIB}/scapy/base_classes.pyc
+${PYSITELIB}/scapy/base_classes.pyo
+${PYSITELIB}/scapy/config.py
+${PYSITELIB}/scapy/config.pyc
+${PYSITELIB}/scapy/config.pyo
+${PYSITELIB}/scapy/dadict.py
+${PYSITELIB}/scapy/dadict.pyc
+${PYSITELIB}/scapy/dadict.pyo
+${PYSITELIB}/scapy/data.py
+${PYSITELIB}/scapy/data.pyc
+${PYSITELIB}/scapy/data.pyo
+${PYSITELIB}/scapy/error.py
+${PYSITELIB}/scapy/error.pyc
+${PYSITELIB}/scapy/error.pyo
+${PYSITELIB}/scapy/fields.py
+${PYSITELIB}/scapy/fields.pyc
+${PYSITELIB}/scapy/fields.pyo
+${PYSITELIB}/scapy/layers/__init__.py
+${PYSITELIB}/scapy/layers/__init__.pyc
+${PYSITELIB}/scapy/layers/__init__.pyo
+${PYSITELIB}/scapy/layers/all.py
+${PYSITELIB}/scapy/layers/all.pyc
+${PYSITELIB}/scapy/layers/all.pyo
+${PYSITELIB}/scapy/layers/bluetooth.py
+${PYSITELIB}/scapy/layers/bluetooth.pyc
+${PYSITELIB}/scapy/layers/bluetooth.pyo
+${PYSITELIB}/scapy/layers/dhcp.py
+${PYSITELIB}/scapy/layers/dhcp.pyc
+${PYSITELIB}/scapy/layers/dhcp.pyo
+${PYSITELIB}/scapy/layers/dhcp6.py
+${PYSITELIB}/scapy/layers/dhcp6.pyc
+${PYSITELIB}/scapy/layers/dhcp6.pyo
+${PYSITELIB}/scapy/layers/dns.py
+${PYSITELIB}/scapy/layers/dns.pyc
+${PYSITELIB}/scapy/layers/dns.pyo
+${PYSITELIB}/scapy/layers/dot11.py
+${PYSITELIB}/scapy/layers/dot11.pyc
+${PYSITELIB}/scapy/layers/dot11.pyo
+${PYSITELIB}/scapy/layers/gprs.py
+${PYSITELIB}/scapy/layers/gprs.pyc
+${PYSITELIB}/scapy/layers/gprs.pyo
+${PYSITELIB}/scapy/layers/hsrp.py
+${PYSITELIB}/scapy/layers/hsrp.pyc
+${PYSITELIB}/scapy/layers/hsrp.pyo
+${PYSITELIB}/scapy/layers/inet.py
+${PYSITELIB}/scapy/layers/inet.pyc
+${PYSITELIB}/scapy/layers/inet.pyo
+${PYSITELIB}/scapy/layers/inet6.py
+${PYSITELIB}/scapy/layers/inet6.pyc
+${PYSITELIB}/scapy/layers/inet6.pyo
+${PYSITELIB}/scapy/layers/ir.py
+${PYSITELIB}/scapy/layers/ir.pyc
+${PYSITELIB}/scapy/layers/ir.pyo
+${PYSITELIB}/scapy/layers/isakmp.py
+${PYSITELIB}/scapy/layers/isakmp.pyc
+${PYSITELIB}/scapy/layers/isakmp.pyo
+${PYSITELIB}/scapy/layers/l2.py
+${PYSITELIB}/scapy/layers/l2.pyc
+${PYSITELIB}/scapy/layers/l2.pyo
+${PYSITELIB}/scapy/layers/l2tp.py
+${PYSITELIB}/scapy/layers/l2tp.pyc
+${PYSITELIB}/scapy/layers/l2tp.pyo
+${PYSITELIB}/scapy/layers/llmnr.py
+${PYSITELIB}/scapy/layers/llmnr.pyc
+${PYSITELIB}/scapy/layers/llmnr.pyo
+${PYSITELIB}/scapy/layers/mgcp.py
+${PYSITELIB}/scapy/layers/mgcp.pyc
+${PYSITELIB}/scapy/layers/mgcp.pyo
+${PYSITELIB}/scapy/layers/mobileip.py
+${PYSITELIB}/scapy/layers/mobileip.pyc
+${PYSITELIB}/scapy/layers/mobileip.pyo
+${PYSITELIB}/scapy/layers/netbios.py
+${PYSITELIB}/scapy/layers/netbios.pyc
+${PYSITELIB}/scapy/layers/netbios.pyo
+${PYSITELIB}/scapy/layers/netflow.py
+${PYSITELIB}/scapy/layers/netflow.pyc
+${PYSITELIB}/scapy/layers/netflow.pyo
+${PYSITELIB}/scapy/layers/ntp.py
+${PYSITELIB}/scapy/layers/ntp.pyc
+${PYSITELIB}/scapy/layers/ntp.pyo
+${PYSITELIB}/scapy/layers/pflog.py
+${PYSITELIB}/scapy/layers/pflog.pyc
+${PYSITELIB}/scapy/layers/pflog.pyo
+${PYSITELIB}/scapy/layers/ppp.py
+${PYSITELIB}/scapy/layers/ppp.pyc
+${PYSITELIB}/scapy/layers/ppp.pyo
+${PYSITELIB}/scapy/layers/radius.py
+${PYSITELIB}/scapy/layers/radius.pyc
+${PYSITELIB}/scapy/layers/radius.pyo
+${PYSITELIB}/scapy/layers/rip.py
+${PYSITELIB}/scapy/layers/rip.pyc
+${PYSITELIB}/scapy/layers/rip.pyo
+${PYSITELIB}/scapy/layers/rtp.py
+${PYSITELIB}/scapy/layers/rtp.pyc
+${PYSITELIB}/scapy/layers/rtp.pyo
+${PYSITELIB}/scapy/layers/sebek.py
+${PYSITELIB}/scapy/layers/sebek.pyc
+${PYSITELIB}/scapy/layers/sebek.pyo
+${PYSITELIB}/scapy/layers/skinny.py
+${PYSITELIB}/scapy/layers/skinny.pyc
+${PYSITELIB}/scapy/layers/skinny.pyo
+${PYSITELIB}/scapy/layers/smb.py
+${PYSITELIB}/scapy/layers/smb.pyc
+${PYSITELIB}/scapy/layers/smb.pyo
+${PYSITELIB}/scapy/layers/snmp.py
+${PYSITELIB}/scapy/layers/snmp.pyc
+${PYSITELIB}/scapy/layers/snmp.pyo
+${PYSITELIB}/scapy/layers/tftp.py
+${PYSITELIB}/scapy/layers/tftp.pyc
+${PYSITELIB}/scapy/layers/tftp.pyo
+${PYSITELIB}/scapy/layers/x509.py
+${PYSITELIB}/scapy/layers/x509.pyc
+${PYSITELIB}/scapy/layers/x509.pyo
+${PYSITELIB}/scapy/main.py
+${PYSITELIB}/scapy/main.pyc
+${PYSITELIB}/scapy/main.pyo
+${PYSITELIB}/scapy/modules/__init__.py
+${PYSITELIB}/scapy/modules/__init__.pyc
+${PYSITELIB}/scapy/modules/__init__.pyo
+${PYSITELIB}/scapy/modules/geoip.py
+${PYSITELIB}/scapy/modules/geoip.pyc
+${PYSITELIB}/scapy/modules/geoip.pyo
+${PYSITELIB}/scapy/modules/nmap.py
+${PYSITELIB}/scapy/modules/nmap.pyc
+${PYSITELIB}/scapy/modules/nmap.pyo
+${PYSITELIB}/scapy/modules/p0f.py
+${PYSITELIB}/scapy/modules/p0f.pyc
+${PYSITELIB}/scapy/modules/p0f.pyo
+${PYSITELIB}/scapy/modules/queso.py
+${PYSITELIB}/scapy/modules/queso.pyc
+${PYSITELIB}/scapy/modules/queso.pyo
+${PYSITELIB}/scapy/modules/voip.py
+${PYSITELIB}/scapy/modules/voip.pyc
+${PYSITELIB}/scapy/modules/voip.pyo
+${PYSITELIB}/scapy/packet.py
+${PYSITELIB}/scapy/packet.pyc
+${PYSITELIB}/scapy/packet.pyo
+${PYSITELIB}/scapy/plist.py
+${PYSITELIB}/scapy/plist.pyc
+${PYSITELIB}/scapy/plist.pyo
+${PYSITELIB}/scapy/route.py
+${PYSITELIB}/scapy/route.pyc
+${PYSITELIB}/scapy/route.pyo
+${PYSITELIB}/scapy/route6.py
+${PYSITELIB}/scapy/route6.pyc
+${PYSITELIB}/scapy/route6.pyo
+${PYSITELIB}/scapy/sendrecv.py
+${PYSITELIB}/scapy/sendrecv.pyc
+${PYSITELIB}/scapy/sendrecv.pyo
+${PYSITELIB}/scapy/supersocket.py
+${PYSITELIB}/scapy/supersocket.pyc
+${PYSITELIB}/scapy/supersocket.pyo
+${PYSITELIB}/scapy/themes.py
+${PYSITELIB}/scapy/themes.pyc
+${PYSITELIB}/scapy/themes.pyo
+${PYSITELIB}/scapy/tools/UTscapy.py
+${PYSITELIB}/scapy/tools/UTscapy.pyc
+${PYSITELIB}/scapy/tools/UTscapy.pyo
+${PYSITELIB}/scapy/tools/__init__.py
+${PYSITELIB}/scapy/tools/__init__.pyc
+${PYSITELIB}/scapy/tools/__init__.pyo
+${PYSITELIB}/scapy/tools/check_asdis.py
+${PYSITELIB}/scapy/tools/check_asdis.pyc
+${PYSITELIB}/scapy/tools/check_asdis.pyo
+${PYSITELIB}/scapy/utils.py
+${PYSITELIB}/scapy/utils.pyc
+${PYSITELIB}/scapy/utils.pyo
+${PYSITELIB}/scapy/utils6.py
+${PYSITELIB}/scapy/utils6.pyc
+${PYSITELIB}/scapy/utils6.pyo
+${PYSITELIB}/scapy/volatile.py
+${PYSITELIB}/scapy/volatile.pyc
+${PYSITELIB}/scapy/volatile.pyo
 man/man1/scapy.1
 share/examples/scapy/ethertypes
 @dirrm share/examples/scapy
diff -r 6162fa214ce7 -r 04a6794e1739 net/scapy/distinfo
--- a/net/scapy/distinfo        Tue Jun 09 12:12:00 2009 +0000
+++ b/net/scapy/distinfo        Tue Jun 09 12:30:02 2009 +0000
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.2 2007/01/03 15:02:51 adrianp Exp $
+$NetBSD: distinfo,v 1.3 2009/06/09 12:30:02 hasso Exp $



Home | Main Index | Thread Index | Old Index