1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update to 3.2.3

- Update WWW
- Take maintainership

Approved by:	laszlof (maintainer, implicit)
This commit is contained in:
Emanuel Haupt 2007-12-12 18:12:07 +00:00
parent b9401a2b68
commit 2b3d2210ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203367
3 changed files with 17 additions and 26 deletions

View File

@ -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
--without-pcapnav-config \
--program-transform-name='s|.*\(tcp.*\)|\1|' \
--enable-tcpreplay-edit
MAN1= capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
MAN8= tcpreplay.8
PLIST_FILES= bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay
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>

View File

@ -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

View File

@ -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/