Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 01:46:25 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        joe@tao.org.uk
Subject:   ports/40511: update for net/zebra (no-ipv6 option)
Message-ID:  <200207122146.g6CLkPo94672@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help

>Number:         40511
>Category:       ports
>Synopsis:       update for net/zebra (no-ipv6 option)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 15:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4-STABLE i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 4-STABLE 


>Description:
	net/zebra running under machine without INET6 produce annoying 
warnings about unability to access IPv6 sockets:

2002/07/13 01:36:23 ZEBRA: can't get ip6forwarding value
2002/07/13 01:36:23 ZEBRA: can't create router advertisement socket: Protocol not supported


>How-To-Repeat:
	Build and run kernel without "options INET6"
	cd /usr/ports/net/zebra
	make install
	/usr/local/sbin/zebra -d
	
>Fix:

(maybe even create net/zebra-noipv6 directory with small derived Makefile?)

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/zebra/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile    25 Mar 2002 09:19:19 -0000      1.59
+++ Makefile    12 Jul 2002 15:42:07 -0000
@@ -41,12 +41,17 @@
 
 .include <bsd.port.pre.mk>
 
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6 --disable-ripngd
+PKGNAMESUFFIX=-noipv6
+.else
 .if ${OSVERSION} >= 400014
 PLIST:=                ${WRKDIR}/PLIST
 pre-install:
        @${CAT} ${PKGDIR}/pkg-plist.v6 ${PKGDIR}/pkg-plist > ${PLIST}
 .else
 CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
+.endif
 .endif
 
 post-install:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207122146.g6CLkPo94672>