ports/66034: pf building for kernel without IPV6 support
Stephane Lentz
milter at free.fr
Tue Apr 27 20:40:18 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list