aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tcpreplay
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-06-23 15:41:32 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-06-23 15:41:32 +0000
commit942ecd5f452bb67cbe41c48590c036a0678354c1 (patch)
treee09b32c11a7f92b4a08d46413783008dd3d872a0 /net-mgmt/tcpreplay
parentaa9216ba2a95af7e07945215d50361715692905c (diff)
downloadports-942ecd5f452bb67cbe41c48590c036a0678354c1.tar.gz
ports-942ecd5f452bb67cbe41c48590c036a0678354c1.zip
Notes
Diffstat (limited to 'net-mgmt/tcpreplay')
-rw-r--r--net-mgmt/tcpreplay/Makefile15
-rw-r--r--net-mgmt/tcpreplay/distinfo4
-rw-r--r--net-mgmt/tcpreplay/pkg-plist4
3 files changed, 12 insertions, 11 deletions
diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile
index 25fae97adf23..3b008ae2da60 100644
--- a/net-mgmt/tcpreplay/Makefile
+++ b/net-mgmt/tcpreplay/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= tcpreplay
-PORTVERSION= 1.4.6
-PORTREVISION= 1
+PORTVERSION= 2.2.2
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,12 +14,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= smace@FreeBSD.org
COMMENT= A tool to replay saved packet capture files
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
+BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \
+ ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-libnet=${LOCALBASE}
+# Pickup correct pcap.h; CFLAGS gets overwritten
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
+ --without-pcapnav-config
-MAN1= capinfo.1 tcpprep.1 pcapmerge.1
+MAN1= capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
MAN8= tcpreplay.8
+PLIST_FILES= bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay
+
.include <bsd.port.mk>
diff --git a/net-mgmt/tcpreplay/distinfo b/net-mgmt/tcpreplay/distinfo
index 3119c740539e..c0d315692119 100644
--- a/net-mgmt/tcpreplay/distinfo
+++ b/net-mgmt/tcpreplay/distinfo
@@ -1,2 +1,2 @@
-MD5 (tcpreplay-1.4.6.tar.gz) = 0fe0dfc1fac8bad23846d33ac04ade3a
-SIZE (tcpreplay-1.4.6.tar.gz) = 488637
+MD5 (tcpreplay-2.2.2.tar.gz) = 45f531fe73d58079d83ec613fcdc710c
+SIZE (tcpreplay-2.2.2.tar.gz) = 526814
diff --git a/net-mgmt/tcpreplay/pkg-plist b/net-mgmt/tcpreplay/pkg-plist
deleted file mode 100644
index cbca05e7af6d..000000000000
--- a/net-mgmt/tcpreplay/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/capinfo
-bin/pcapmerge
-bin/tcpprep
-sbin/tcpreplay