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 22:24:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2013/06/15 20:24:19 adam Exp $
|
2005-08-10 15:54:58 +02:00
|
|
|
|
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 22:24:19 +02:00
|
|
|
DISTNAME= scapy-2.2.0
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.secdev.org/projects/scapy/files/
|
2005-08-10 15:54:58 +02:00
|
|
|
|
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 22:24:19 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.secdev.org/projects/scapy/
|
|
|
|
COMMENT= Interactive packet manipulation program
|
|
|
|
LICENSE= gnu-gpl-v2
|
2005-08-10 15:54:58 +02:00
|
|
|
|
2011-10-16 06:16:49 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-libpcap-[0-9]*:../../net/py-libpcap
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-libdnet-[0-9]*:../../net/py-libdnet
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
|
|
|
|
|
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 22:24:19 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/examples/scapy
|
2007-01-03 16:02:51 +01:00
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/scapy/ethertypes \
|
|
|
|
${PKG_SYSCONFDIR}/ethertypes
|
|
|
|
|
|
|
|
SUBST_CLASSES+= config
|
|
|
|
SUBST_STAGE.config= post-patch
|
2009-06-09 14:30:02 +02:00
|
|
|
SUBST_FILES.config= scapy/data.py
|
2007-01-03 16:02:51 +01:00
|
|
|
SUBST_SED.config= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
|
|
|
|
SUBST_MESSAGE.config= Fixing paths.
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/ethertypes ${WRKSRC}
|
2005-08-10 15:54:58 +02:00
|
|
|
|
2009-06-09 14:30:02 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ethertypes ${DESTDIR}${PREFIX}/share/examples/scapy/
|
|
|
|
|
2011-02-25 16:43:51 +01:00
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC}/test && ${SETENV} PYTHON=${PYTHONBIN} ./run_tests
|
2005-08-10 15:54:58 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
2011-10-16 06:16:49 +02:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2005-08-10 15:54:58 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|