ea15012be8
_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
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2007/01/03 15:02:51 adrianp Exp $
|
|
#
|
|
|
|
DISTNAME= scapy-1.0.5
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.secdev.org/projects/scapy/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.secdev.org/projects/scapy/
|
|
COMMENT= Interactive packet manipulation program
|
|
|
|
NO_BUILD= yes
|
|
PYTHON_VERSIONS_ACCEPTED= 24
|
|
PYTHON_PATCH_SCRIPTS= scapy.py
|
|
|
|
.include "options.mk"
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/scapy/ethertypes \
|
|
${PKG_SYSCONFDIR}/ethertypes
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= post-patch
|
|
SUBST_FILES.config= scapy.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
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../net/py-libpcap/buildlink3.mk"
|
|
.include "../../net/py-libdnet/buildlink3.mk"
|
|
.include "../../devel/py-readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|