diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile index 25fae97adf23..3b008ae2da60 100644 --- a/net-mgmt/tcpreplay/Makefile +++ b/net-mgmt/tcpreplay/Makefile @@ -6,8 +6,7 @@ # PORTNAME= tcpreplay -PORTVERSION= 1.4.6 -PORTREVISION= 1 +PORTVERSION= 2.2.2 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,12 +14,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= smace@FreeBSD.org COMMENT= A tool to replay saved packet capture files -BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel +BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \ + ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libnet=${LOCALBASE} +# Pickup correct pcap.h; CFLAGS gets overwritten +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" +CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \ + --without-pcapnav-config -MAN1= capinfo.1 tcpprep.1 pcapmerge.1 +MAN1= capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1 MAN8= tcpreplay.8 +PLIST_FILES= bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay + .include diff --git a/net-mgmt/tcpreplay/distinfo b/net-mgmt/tcpreplay/distinfo index 3119c740539e..c0d315692119 100644 --- a/net-mgmt/tcpreplay/distinfo +++ b/net-mgmt/tcpreplay/distinfo @@ -1,2 +1,2 @@ -MD5 (tcpreplay-1.4.6.tar.gz) = 0fe0dfc1fac8bad23846d33ac04ade3a -SIZE (tcpreplay-1.4.6.tar.gz) = 488637 +MD5 (tcpreplay-2.2.2.tar.gz) = 45f531fe73d58079d83ec613fcdc710c +SIZE (tcpreplay-2.2.2.tar.gz) = 526814 diff --git a/net-mgmt/tcpreplay/pkg-plist b/net-mgmt/tcpreplay/pkg-plist deleted file mode 100644 index cbca05e7af6d..000000000000 --- a/net-mgmt/tcpreplay/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/capinfo -bin/pcapmerge -bin/tcpprep -sbin/tcpreplay