Date: Tue, 27 Apr 2004 22:38:27 +0200 From: "Stephane Lentz" <milter@free.fr> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/66034: pf building for kernel without IPV6 support Message-ID: <1083098307.0@ds9.gotdns.org> Resent-Message-ID: <200404272040.i3RKeHm8051388@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66034 >Category: ports >Synopsis: pf building for kernel without IPV6 support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 27 13:40:17 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Stephane Lentz >Release: FreeBSD 5.2.1-RELEASE-p5 i386 >Organization: World >Environment: System: FreeBSD 5.2.1-RELEASE-p5 #0: Wed Apr 21 07:31:23 CEST 2004 root@ds9.gotdns.org:/usr/src/sys/i386/compile/CARDASSIA >Description: If you recompile your kernel without IPV6 you cannot use pf due to in6_cksum calls. messages log : Apr 25 20:49:29 ds9 kernel: link_elf: symbol in6_cksum undefined Apr 26 20:39:58 ds9 kernel: link_elf: symbol in6_cksum undefined Apr 27 21:41:22 ds9 kernel: link_elf: symbol in6_cksum undefined >How-To-Repeat: install pf with a kernel witout options INET6 line >Fix: Introduce WITHOUT_IPV6 knob (3 lines) . ds9# diff -u Makefile.orig Makefile.new --- Makefile.orig Tue Apr 27 22:02:24 2004 +++ Makefile.new Tue Apr 27 22:09:00 2004 @@ -44,6 +44,9 @@ PLIST_SUB+= WITH_ALTQ="@comment " .endif +.if defined(WITHOUT_IPV6) +MAKE_ARGS+= NOINET6=yes +.endif .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1083098307.0>