2019-11-03 12:45:28 +01:00
|
|
|
# $NetBSD: Makefile,v 1.29 2019/11/03 11:45:52 rillig Exp $
|
2005-08-10 15:54:58 +02:00
|
|
|
|
2016-05-09 13:07:51 +02:00
|
|
|
DISTNAME= scapy-2.3.2
|
2019-04-25 09:32:34 +02:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
CATEGORIES= net
|
2016-05-09 13:07:51 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=secdev/}
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
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
|
|
|
|
|
2019-11-03 12:45:28 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # py-libpcap, py-libdnet
|
2014-01-25 11:29:56 +01: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
|
|
|
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
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.config= pre-configure
|
2016-04-21 14:08:29 +02:00
|
|
|
SUBST_FILES.config= scapy/data.py setup.py
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.config= PKG_SYSCONFDIR
|
2016-04-21 14:08:29 +02:00
|
|
|
SUBST_SED.config+= -e "s|share/man|${PKGMANDIR}|g"
|
2007-01-03 16:02:51 +01:00
|
|
|
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"
|