aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2007-12-13 02:12:07 +0800
committerehaupt <ehaupt@FreeBSD.org>2007-12-13 02:12:07 +0800
commit7a4743b7f2867f6f023dfe65f1656cd432f24fbe (patch)
treed3f2e85e742b7f03d1f526d935a6e89d946b41c9 /net-mgmt
parentc4345db27042592540b4068170c6f74d60721e0c (diff)
downloadfreebsd-ports-gnome-7a4743b7f2867f6f023dfe65f1656cd432f24fbe.tar.gz
freebsd-ports-gnome-7a4743b7f2867f6f023dfe65f1656cd432f24fbe.tar.zst
freebsd-ports-gnome-7a4743b7f2867f6f023dfe65f1656cd432f24fbe.zip
- Update to 3.2.3
- Update WWW - Take maintainership Approved by: laszlof (maintainer, implicit)
Diffstat (limited to 'net-mgmt')
-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/