summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 04:20:11 +0000
committersnj <snj@pkgsrc.org>2004-04-25 04:20:11 +0000
commit95246413ca0eac2b041bc0ca32fea122bc8c3a50 (patch)
tree379bb90604b42b2bb05da7a3b893cbc6071e5421
parent23ab92c58641a35f2243683ef7fc6e35f4eee27e (diff)
downloadpkgsrc-95246413ca0eac2b041bc0ca32fea122bc8c3a50.tar.gz
Convert to buildlink3.
-rw-r--r--net/libnids/Makefile8
-rw-r--r--net/libnids/buildlink3.mk19
-rw-r--r--net/tcpreplay/Makefile6
-rw-r--r--security/dsniff/Makefile10
-rw-r--r--security/pakemon/Makefile10
5 files changed, 36 insertions, 17 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index b6f50ff9690..a0a9e389ae6 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/02/14 00:54:45 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/25 04:25:11 snj Exp $
# $FreeBSD: ports/net/libnids/Makefile,v 1.5 2000/04/24 07:42:58 kris Exp $
#
@@ -10,12 +10,12 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://libnids.sourceforge.net/
COMMENT= Network monitoring library with TCP/IP reassembly
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
BUILDLINK_DEPMETHOD.libnet= build
BUILDLINK_DEPMETHOD.libpcap= build
-.include "../../devel/libnet/buildlink2.mk"
-.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libnids/buildlink3.mk b/net/libnids/buildlink3.mk
new file mode 100644
index 00000000000..e5c3183fca4
--- /dev/null
+++ b/net/libnids/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 04:25:11 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNIDS_BUILDLINK3_MK:= ${LIBNIDS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libnids
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnids}
+BUILDLINK_PACKAGES+= libnids
+
+.if !empty(LIBNIDS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libnids+= libnids>=1.18
+BUILDLINK_PKGSRCDIR.libnids?= ../../net/libnids
+BUILDLINK_DEPMETHOD.libnids?= build
+.endif # LIBNIDS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/tcpreplay/Makefile b/net/tcpreplay/Makefile
index 120abb360de..ebe53b360da 100644
--- a/net/tcpreplay/Makefile
+++ b/net/tcpreplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 22:51:55 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/25 04:20:11 snj Exp $
DISTNAME= tcpreplay-1.3.2
CATEGORIES= net
@@ -8,9 +8,9 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://tcpreplay.sourceforge.net/
COMMENT= Replay saved tcpdump or snoop files
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libnetver=1.0.x
-.include "../../devel/libnet/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile
index 382eb2faa5b..f6e2c5b4b5a 100644
--- a/security/dsniff/Makefile
+++ b/security/dsniff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/03/10 07:12:09 cube Exp $
+# $NetBSD: Makefile,v 1.19 2004/04/25 04:25:23 snj Exp $
# $OpenBSD: Makefile,v 1.13 2000/06/19 18:38:55 dugsong Exp $
DISTNAME= dsniff-2.3
@@ -10,12 +10,12 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://monkey.org/~dugsong/dsniff/
COMMENT= Password sniffer
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_X11= yes
NO_EXPORT_CPP= yes
-.include "../../net/libpcap/buildlink2.mk"
-.include "../../devel/libnet/buildlink2.mk"
-.include "../../net/libnids/buildlink2.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libnids/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pakemon/Makefile b/security/pakemon/Makefile
index f00e3d56357..63503a40014 100644
--- a/security/pakemon/Makefile
+++ b/security/pakemon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2003/10/28 16:59:14 cube Exp $
+# $NetBSD: Makefile,v 1.16 2004/04/25 04:26:14 snj Exp $
DISTNAME= pakemon-0.3.1
PKGREVISION= 2
@@ -11,13 +11,13 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://web.sfc.keio.ac.jp/~keiji/backup/ids/pakemon/index.html
COMMENT= Packet monster, an Open Source Intrusion Detection System
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
post-extract:
${CP} ${WRKSRC}/pakemon.h ${WRKSRC}/pakemon.h.in
-.include "../../net/libpcap/buildlink2.mk"
-.include "../../devel/libnet/buildlink2.mk"
-.include "../../net/libnids/buildlink2.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libnids/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"