Date: Mon, 21 Feb 2011 11:45:03 GMT From: "Y.A." <nexther0@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/154932: add IPv6 support to net/trafshow port Message-ID: <201102211145.p1LBj3pe079941@red.freebsd.org> Resent-Message-ID: <201102211150.p1LBoAYc022718@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154932 >Category: ports >Synopsis: add IPv6 support to net/trafshow port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 21 11:50:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Y.A. >Release: 7.3-RELEASE >Organization: >Environment: >Description: building net/trafshow with IPv6 support >How-To-Repeat: run trafshow and see only 'IPv6' string on this traffic type >Fix: apply patch Patch attached with submission follows: --- Makefile.orig 2009-09-11 17:24:22.000000000 +0300 +++ Makefile 2011-02-21 13:38:32.000000000 +0200 @@ -22,6 +22,8 @@ MAN1= trafshow.1 +OPTIONS= IPV6 "Build with IPv6 support" off + .include <bsd.port.pre.mk> post-patch: @@ -32,6 +34,10 @@ @${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+ .endif +.if defined(WITH_IPV6) +CFLAGS+= -DINET6 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102211145.p1LBj3pe079941>