2007-12-12 19:12:07 +01:00
|
|
|
# New ports collection makefile for: tcpreplay
|
|
|
|
# Date created: 2 November 2000
|
|
|
|
# Whom: cnh@ivmg.net
|
2000-11-29 03:29:03 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-23 09:45:52 +01:00
|
|
|
PORTNAME= tcpreplay
|
2007-12-12 19:12:07 +01:00
|
|
|
PORTVERSION= 3.2.3
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2002-10-10 02:24:03 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-04-15 22:03:51 +02:00
|
|
|
|
2007-12-12 19:12:07 +01:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tool to replay saved packet capture files
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2007-12-12 19:12:07 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2002-04-15 22:03:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2007-12-12 19:12:07 +01:00
|
|
|
CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
|
|
|
|
--without-pcapnav-config \
|
|
|
|
--program-transform-name='s|.*\(tcp.*\)|\1|' \
|
|
|
|
--enable-tcpreplay-edit
|
2004-06-23 17:41:32 +02:00
|
|
|
|
2007-12-12 19:12:07 +01:00
|
|
|
MAN1= tcpreplay.1 tcpprep.1 tcprewrite.1 tcpbridge.1
|
|
|
|
PLIST_FILES= bin/tcpreplay bin/tcpprep bin/tcprewrite bin/tcpbridge
|
2007-01-31 15:09:55 +01:00
|
|
|
|
|
|
|
post-patch:
|
2007-12-12 19:12:07 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2007-01-31 15:09:55 +01:00
|
|
|
|
2000-11-29 03:29:03 +01:00
|
|
|
.include <bsd.port.mk>
|