[Midnightbsd-cvs] mports: net-mgmt/tcpreplay: This port appears to work if libdnet is NOT

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 16 11:50:55 EDT 2008


Log Message:
-----------
This port appears to work if libdnet is NOT installed.  Otherwise it tries to -L a directory that does not exist causing a build failure.

Modified Files:
--------------
    mports/net-mgmt/tcpreplay:
        Makefile (r1.3 -> r1.4)
        distinfo (r1.1 -> r1.2)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net-mgmt/tcpreplay/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L net-mgmt/tcpreplay/Makefile -L net-mgmt/tcpreplay/Makefile -u -r1.3 -r1.4
--- net-mgmt/tcpreplay/Makefile
+++ net-mgmt/tcpreplay/Makefile
@@ -1,13 +1,13 @@
-# New ports collection makefile for:   tcpreplay
-# Date created:        2 November 2000
-# Whom:                cnh at ivmg.net
+# New ports collection makefile for:	tcpreplay
+# Date created:				2 November 2000
+# Whom:					cnh at ivmg.net
 #
-# $FreeBSD: ports/net-mgmt/tcpreplay/Makefile,v 1.21 2005/12/21 06:02:47 az Exp $
 # $MidnightBSD$
+# $FreeBSD: ports/net-mgmt/tcpreplay/Makefile,v 1.28 2008/06/25 22:07:29 ehaupt Exp $
 #
 
 PORTNAME=	tcpreplay
-PORTVERSION=	2.3.5
+PORTVERSION=	3.3.2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,20 +16,21 @@
 COMMENT=	A tool to replay saved packet capture files
 LICENSE=	bsd3
 
-BUILD_DEPENDS=	libnet*>=1.1.2,1:${PORTSDIR}/net/libnet \
-		${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
+BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
+
+CONFLICTS=	libdnet-[0-9]*
 
 GNU_CONFIGURE=	yes
-# Pickup correct pcap.h; CFLAGS gets overwritten
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
+
 CONFIGURE_ARGS=	--with-libpcap=${LOCALBASE} \
-		--without-pcapnav-config
+		--without-pcapnav-config \
+		--program-transform-name='s|.*\(tcp.*\)|\1|' \
+		--enable-tcpreplay-edit
 
-FAKE_OPTS=	prefixhack
-FAKE_MAKEARGS=	MAN1DIR=${FAKE_DESTDIR}${PREFIX}/man/man1 MAN8DIR=${FAKE_DESTDIR}${PREFIX}/man/man8
-MAN1=		capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
-MAN8=		tcpreplay.8
+MAN1=		tcpreplay.1 tcpprep.1 tcprewrite.1 tcpbridge.1 tcpreplay-edit.1
+PLIST_FILES=	bin/tcpreplay bin/tcpprep bin/tcprewrite bin/tcpbridge
 
-PLIST_FILES=	bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay
+post-patch:
+	@${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/net-mgmt/tcpreplay/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net-mgmt/tcpreplay/distinfo -L net-mgmt/tcpreplay/distinfo -u -r1.1 -r1.2
--- net-mgmt/tcpreplay/distinfo
+++ 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.3.2.tar.gz) = d6bda50e505dcd2c4a9bf45c124c5d69
+SHA256 (tcpreplay-3.3.2.tar.gz) = b20dbc127668a3c02bf12c86fb511ad23f5483f4c5e3b8ab3f4df4af449c3076
+SIZE (tcpreplay-3.3.2.tar.gz) = 855896


More information about the Midnightbsd-cvs mailing list