buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
This commit is contained in:
parent
446c26a512
commit
5e82482f1f
11 changed files with 100 additions and 36 deletions
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.13 2007/01/07 09:14:02 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2007/02/18 18:57:33 adrianp Exp $
|
||||
#
|
||||
|
||||
DISTNAME= cdpd-1.0.2
|
||||
#PKGREVISION= 1
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
|
||||
|
||||
|
@ -11,13 +11,17 @@ COMMENT= Simple daemon to send Cisco Discovery Protocol packets
|
|||
|
||||
GNU_CONFIGURE= YES
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
|
||||
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= configure
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cdpd ${PREFIX}/sbin/cdpd
|
||||
${INSTALL_DATA} ${WRKSRC}/cdpd.8 ${PREFIX}/${PKGMANDIR}/man8/cdpd.8
|
||||
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.15 2006/04/06 06:22:33 reed Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2007/02/18 18:58:13 adrianp Exp $
|
||||
|
||||
DISTNAME= nemesis-1.4
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nemesis/}
|
||||
|
||||
|
@ -9,9 +10,15 @@ HOMEPAGE= http://jeff.wwti.com/nemesis/
|
|||
COMMENT= Nemesis is a command-line UNIX network packet injection suite
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet10}/include/libnet10
|
||||
CONFIGURE_ARGS+= --with-libnet-libs=${BUILDLINK_PREFIX.libnet10}/lib/libnet10
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.2a
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= configure
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.7 2006/10/04 21:53:18 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2007/02/18 18:54:23 adrianp Exp $
|
||||
#
|
||||
|
||||
DISTNAME= scdp-1.0b
|
||||
PKGNAME= scdp-1.0.2
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scdp/}
|
||||
|
||||
|
@ -13,7 +13,11 @@ COMMENT= Program to send Cisco Discovery Protocol packets
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= configure
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2007/01/07 09:14:07 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2007/02/18 18:58:55 adrianp Exp $
|
||||
#
|
||||
|
||||
DISTNAME= tcptraceroute-1.4
|
||||
|
@ -10,9 +10,6 @@ MAINTAINER= kim@tac.nyc.ny.us
|
|||
HOMEPAGE= http://michael.toren.net/code/tcptraceroute/
|
||||
COMMENT= Traceroute implementation using TCP packets
|
||||
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
|
||||
BUILD_TARGET= tcptraceroute
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/tcptraceroute
|
||||
|
@ -20,6 +17,12 @@ BINMODE= 4711
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-build
|
||||
SUBST_FILES.conf= Makefile
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
||||
|
||||
do-install:
|
||||
|
@ -28,7 +31,7 @@ do-install:
|
|||
${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples.txt ${DOCDIR}
|
||||
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.24 2006/09/03 00:56:30 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2007/02/18 18:55:17 adrianp Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xipdump-1.5.4
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.lse.epita.fr/twiki/pub/Projects/XipDump/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.lse.epita.fr/twiki/bin/view/Projects/XipDump
|
||||
COMMENT= Displays IP packets using X Window System
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
|
||||
PLIST_SRC= ${WRKDIR}/PLIST
|
||||
|
||||
USE_X11BASE= yes
|
||||
|
@ -20,7 +18,7 @@ GNU_CONFIGURE= yes
|
|||
CFLAGS+= -I${PREFIX}/include ${LIBNET_CFLAGS_CMD:sh}
|
||||
LIBS+= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
|
||||
|
||||
LIBNET_CFLAGS_CMD= ${BUILDLINK_PREFIX.libnet}/bin/libnet-config --defines
|
||||
LIBNET_CFLAGS_CMD= ${BUILDLINK_PREFIX.libnet10}/bin/libnet10-config --defines
|
||||
|
||||
post-build:
|
||||
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
||||
|
@ -30,6 +28,6 @@ post-build:
|
|||
@${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}
|
||||
@${ECHO} "@dirrm share/xipdump" >> ${PLIST_SRC}
|
||||
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../mk/x11.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile.common,v 1.5 2006/05/11 15:39:20 joerg Exp $
|
||||
# $NetBSD: Makefile.common,v 1.6 2007/02/18 18:56:13 adrianp Exp $
|
||||
|
||||
DISTNAME= dsniff-${VERS}
|
||||
PKGREVISION= 1
|
||||
VERS= 2.3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES+= http://monkey.org/~dugsong/dsniff/
|
||||
|
@ -10,11 +11,17 @@ HOMEPAGE= http://monkey.org/~dugsong/dsniff/
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../../security/dsniff/patches
|
||||
DISTINFO_FILE= ${.CURDIR}/../../security/dsniff/distinfo
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= configure
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_SED.conf+= -e "s|@@LN_INC@@|${BUILDLINK_PREFIX.libnet10}/include/libnet10|g"
|
||||
SUBST_SED.conf+= -e "s|@@LN_LIB@@|${BUILDLINK_PREFIX.libnet10}/lib/libnet10|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../net/libnids/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.6 2006/05/11 15:39:20 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.7 2007/02/18 18:56:13 adrianp Exp $
|
||||
|
||||
SHA1 (dsniff-2.3.tar.gz) = 671a1df823ab0657fc95e79112924a57281e9c3b
|
||||
RMD160 (dsniff-2.3.tar.gz) = 89dad0259e90acef30a7aa5f3471de3aaeb06147
|
||||
|
@ -6,3 +6,4 @@ Size (dsniff-2.3.tar.gz) = 126797 bytes
|
|||
SHA1 (patch-aa) = b50347c772c13abd6b62a80315c7bfecc139ba60
|
||||
SHA1 (patch-ab) = 6385da7139dcb11ea29ffba468e7fac260b61b44
|
||||
SHA1 (patch-ac) = 55ad4f73e53578857bc5ad7a445c8e6125c39215
|
||||
SHA1 (patch-ad) = cab09e1b1a61fd6a3fa96c24fff3cd1519146a3e
|
||||
|
|
18
security/dsniff/patches/patch-ad
Normal file
18
security/dsniff/patches/patch-ad
Normal file
|
@ -0,0 +1,18 @@
|
|||
$NetBSD: patch-ad,v 1.1 2007/02/18 18:56:13 adrianp Exp $
|
||||
|
||||
--- configure.orig 2000-12-03 04:35:46.000000000 +0000
|
||||
+++ configure
|
||||
@@ -3083,10 +3083,10 @@ if test "${with_libnet+set}" = set; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
- if test -f ${prefix}/include/libnet.h; then
|
||||
+ if test -f @@LN_INC@@/libnet.h; then
|
||||
CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
|
||||
- LNETINC="-I${prefix}/include"
|
||||
- LNETLIB="-L${prefix}/lib -lnet"
|
||||
+ LNETINC="-I@@LN_INC@@"
|
||||
+ LNETLIB="-L@@LN_LIB@@ -lnet"
|
||||
elif test -f /usr/include/libnet.h; then
|
||||
CFLAGS="$CFLAGS `libnet-config --defines`"
|
||||
LNETLIB="-lnet"
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.23 2006/10/04 21:58:14 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2007/02/18 18:56:46 adrianp Exp $
|
||||
|
||||
DISTNAME= pakemon-0.3.1
|
||||
PKGREVISION= 3
|
||||
PKGREVISION= 4
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.binarii.com/files/security/ \
|
||||
http://www.mirrors.wiretapped.net/security/network-intrusion-detection/pakemon/
|
||||
|
@ -12,12 +12,18 @@ COMMENT= Packet monster, an Open Source Intrusion Detection System
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= configure
|
||||
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
|
||||
SUBST_SED.conf+= -e "s|@@LN_INC@@|${BUILDLINK_PREFIX.libnet10}/include/libnet10|g"
|
||||
SUBST_SED.conf+= -e "s|@@LN_LIB@@|${BUILDLINK_PREFIX.libnet10}/lib/libnet10|g"
|
||||
SUBST_MESSAGE.conf= Fixing configuration script.
|
||||
|
||||
post-extract:
|
||||
${CP} ${WRKSRC}/pakemon.h ${WRKSRC}/pakemon.h.in
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../devel/libnet/buildlink3.mk"
|
||||
.include "../../devel/libnet10/buildlink3.mk"
|
||||
.include "../../net/libnids/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.4 2005/02/24 13:10:11 agc Exp $
|
||||
$NetBSD: distinfo,v 1.5 2007/02/18 18:56:47 adrianp Exp $
|
||||
|
||||
SHA1 (pakemon-0.3.1.tar.gz) = 27708ac303a58432222b53b71b6ca13e71502f7e
|
||||
RMD160 (pakemon-0.3.1.tar.gz) = 156c1829630e2e59a5797882d6309cc423217fee
|
||||
Size (pakemon-0.3.1.tar.gz) = 110065 bytes
|
||||
SHA1 (patch-aa) = 22155e703130a28ba4bf34922b3926411cb917b8
|
||||
SHA1 (patch-ab) = d35a76ae3ef96d51526f20d9973d1743c038cf81
|
||||
SHA1 (patch-ac) = 2f259e12f54742789e8ac36f8a1eead4afcfac14
|
||||
SHA1 (patch-ac) = 98766fc5c20fba4c7750b9744bfa59fbf9ad22d2
|
||||
|
|
|
@ -1,7 +1,23 @@
|
|||
$NetBSD: patch-ac,v 1.1 2002/10/02 19:12:00 dillo Exp $
|
||||
$NetBSD: patch-ac,v 1.2 2007/02/18 18:56:47 adrianp Exp $
|
||||
|
||||
--- configure.orig Sun Jan 7 07:06:39 2001
|
||||
--- configure.orig 2001-01-07 06:06:39.000000000 +0000
|
||||
+++ configure
|
||||
@@ -1651,11 +1651,11 @@ if test "${with_libnet+set}" = set; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
- if test -f ${prefix}/include/libnet.h; then
|
||||
+ if test -f @@LN_INC@@/libnet.h; then
|
||||
CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
|
||||
- LNETINC="-I${prefix}/include"
|
||||
- LNETLIB="-L${prefix}/lib -lnet"
|
||||
- LDFLAGS="$LDFLAGS -L${prefix}/lib"
|
||||
+ LNETINC="-I@@LN_INC@@"
|
||||
+ LNETLIB="-L@@LN_LIB@@ -lnet"
|
||||
+ LDFLAGS="$LDFLAGS -L@@LN_LIB@@"
|
||||
elif test -f /usr/include/libnet.h; then
|
||||
CFLAGS="$CFLAGS `libnet-config --defines`"
|
||||
LNETLIB="-lnet"
|
||||
@@ -1908,7 +1908,7 @@ EOF
|
||||
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
|
Loading…
Reference in a new issue