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
|
2010-04-12 23:33:27 +02:00
|
|
|
PORTVERSION= 3.4.4
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF
|
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
|
|
|
|
2009-09-20 13:56:10 +02:00
|
|
|
BUILD_DEPENDS= pcapnav-config:${PORTSDIR}/net/libpcapnav
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2002-04-15 22:03:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-03-27 10:53:36 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2009-09-20 13:56:10 +02:00
|
|
|
CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\)|\1|' \
|
|
|
|
--with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config \
|
2007-12-12 19:12:07 +01:00
|
|
|
--enable-tcpreplay-edit
|
2004-06-23 17:41:32 +02:00
|
|
|
|
2008-01-27 04:22:16 +01:00
|
|
|
MAN1= tcpreplay.1 tcpprep.1 tcprewrite.1 tcpbridge.1 tcpreplay-edit.1
|
2009-03-09 14:58:32 +01:00
|
|
|
PLIST_FILES= bin/tcpreplay bin/tcpprep bin/tcprewrite bin/tcpbridge \
|
|
|
|
bin/tcpreplay-edit
|
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>
|