Date: Mon, 23 Dec 2002 16:46:13 +0300 (MSK) From: Oleg Koreshkov <okoreshkov@salut.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/46494: ipfw2 kld not builded, even if IPFW2=true is set Message-ID: <200212231346.gBNDkDsD054825@bazamot.salut.ru>
index | next in thread | raw e-mail
>Number: 46494
>Category: kern
>Synopsis: ipfw2 kld not builded, even if IPFW2=true is set
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 23 05:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Oleg Koreshkov
>Release: FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD xxxx.xxxxx.xx 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #8: Thu Nov 14 18:48:42 MSK 2002 root@xxxx.xxxxx.xx:/usr/obj/usr/src/sys/XXXXXX i386
>Description:
ipfw2 kernel loadable module not builded,
even if IPFW2=true is set in /etc/make.conf
>How-To-Repeat:
echo IPFW2=true >> /etc/make.conf
build kernel (and/or kernel modules)
...
patch below helps
>Fix:
--- sys/modules/ipfw/Makefile 1.11 1999/08/28
+++ sys/modules/ipfw/Makefile
@@ -2,9 +2,15 @@
.PATH: ${.CURDIR}/../../netinet
KMOD= ipfw
+CFLAGS+= -DIPFIREWALL
+.if defined(IPFW2)
+SRCS= ip_fw2.c
+CFLAGS+= -DIPFW2
+.else
SRCS= ip_fw.c
+.endif
+
NOMAN=
-CFLAGS+= -DIPFIREWALL
#
#If you want it verbose
#CFLAGS+= -DIPFIREWALL_VERBOSE
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212231346.gBNDkDsD054825>
