ports/92872: [PATCH] dns/dnstracer: disable IPv6 support optionally
Yen-Ming Lee
leeym at FreeBSD.org
Mon Feb 6 02:50:09 UTC 2006
>Number: 92872
>Category: ports
>Synopsis: [PATCH] dns/dnstracer: disable IPv6 support optionally
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 06 02:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Feb 3 08:02:39 CST
>Description:
- disable IPv6 support optionally
Port maintainer (edwin at mavetju.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
# dnstracer test.idv.tw
Tracing to test.idv.tw[a] via 127.0.0.1, maximum of 3 retries
127.0.0.1 (127.0.0.1)
|\___ c.twnic.net.tw [idv.tw] (168.95.192.10)
|\___ b.twnic.net.tw [idv.tw] (192.72.81.200)
|\___ a.twnic.net.tw [idv.tw] (192.83.166.9)
|\___ a.twnic.net.tw [idv.tw] (2001:0288:0001:1002:02e0:18ff:fe77:f174) create_socket/socket: Protocol not supported
If this is an IPv6 problem, run configure with --disable-ipv6
>Fix:
--- dnstracer-1.8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/dnstracer/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile 8 Jul 2004 11:29:29 -0000 1.10
+++ Makefile 6 Feb 2006 02:38:56 -0000
@@ -20,4 +20,12 @@
MAN8= dnstracer.8
PLIST_FILES= bin/dnstracer
-.include <bsd.port.mk>
+OPTIONS= IPV6 "With IPv6 support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
+.include <bsd.port.post.mk>
--- dnstracer-1.8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list