aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tcpreplay
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2007-12-12 18:12:07 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2007-12-12 18:12:07 +0000
commit2b3d2210adcb8ef95045a784f7d71d6a9d1f41db (patch)
treedd463226e9f7af5984bd6f9d62e8dab701dd4096 /net-mgmt/tcpreplay
parentb9401a2b68133fb389127bd42c0bf37bd0cbc69e (diff)
downloadports-2b3d2210adcb8ef95045a784f7d71d6a9d1f41db.tar.gz
ports-2b3d2210adcb8ef95045a784f7d71d6a9d1f41db.zip
Notes
Diffstat (limited to 'net-mgmt/tcpreplay')
-rw-r--r--net-mgmt/tcpreplay/Makefile35
-rw-r--r--net-mgmt/tcpreplay/distinfo6
-rw-r--r--net-mgmt/tcpreplay/pkg-descr2
3 files changed, 17 insertions, 26 deletions
diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile
index fce858982c9c..a4882e44232c 100644
--- a/net-mgmt/tcpreplay/Makefile
+++ b/net-mgmt/tcpreplay/Makefile
@@ -1,41 +1,32 @@
-# New ports collection makefile for: tcpreplay
-# Date created: 2 November 2000
-# Whom: cnh@ivmg.net
+# New ports collection makefile for: tcpreplay
+# Date created: 2 November 2000
+# Whom: cnh@ivmg.net
#
# $FreeBSD$
#
PORTNAME= tcpreplay
-PORTVERSION= 2.3.5
-PORTREVISION= 1
+PORTVERSION= 3.2.3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= laszlof@FreeBSD.org
+MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A tool to replay saved packet capture files
-BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet \
- ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
+BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
- --without-pcapnav-config
-CFLAGS+= `${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include
-
-MAN1= capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
-MAN8= tcpreplay.8
-PLIST_FILES= bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay
+CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
+ --without-pcapnav-config \
+ --program-transform-name='s|.*\(tcp.*\)|\1|' \
+ --enable-tcpreplay-edit
-LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
+MAN1= tcpreplay.1 tcpprep.1 tcprewrite.1 tcpbridge.1
+PLIST_FILES= bin/tcpreplay bin/tcpprep bin/tcprewrite bin/tcpbridge
post-patch:
- @${REINPLACE_CMD} -Ee \
- 's|-pipe -Wall|$$CFLAGS &|; \
- s|^(foundnet=)no|\1yes|; \
- s|\$$LNETLIB|`${LIBNET_CONFIG} --libs`|; \
- s|\$$LNETINCDIR/||' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
diff --git a/net-mgmt/tcpreplay/distinfo b/net-mgmt/tcpreplay/distinfo
index 8a1b166ef5a9..fcc7cc6ec05e 100644
--- a/net-mgmt/tcpreplay/distinfo
+++ b/net-mgmt/tcpreplay/distinfo
@@ -1,3 +1,3 @@
-MD5 (tcpreplay-2.3.5.tar.gz) = fff1c5a382bc869caabfb20f4b3b3dad
-SHA256 (tcpreplay-2.3.5.tar.gz) = 8582d169b8c56b7eb1bea2cf58ccc5e686d327a7039cca5a7b8279d26bc71fdc
-SIZE (tcpreplay-2.3.5.tar.gz) = 682045
+MD5 (tcpreplay-3.2.3.tar.gz) = dc3b1e013cda5ff98be742e01f953788
+SHA256 (tcpreplay-3.2.3.tar.gz) = 5e4a5dabf98cc75cfd3e719018de4a111d81f55eb582ab1c865a26930977db74
+SIZE (tcpreplay-3.2.3.tar.gz) = 776918
diff --git a/net-mgmt/tcpreplay/pkg-descr b/net-mgmt/tcpreplay/pkg-descr
index 9e37443022d0..0c17cba39ed3 100644
--- a/net-mgmt/tcpreplay/pkg-descr
+++ b/net-mgmt/tcpreplay/pkg-descr
@@ -11,4 +11,4 @@ reproduce the real-world anomalies that appear on production networks
etc.), tcpreplay allows for exact replication of real traffic seen on real
networks.
-WWW: http://sourceforge.net/projects/tcpreplay/
+WWW: http://tcpreplay.synfin.net/trac/