summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2000-10-31 22:29:27 +0000
committernectar <nectar@FreeBSD.org>2000-10-31 22:29:27 +0000
commit11bc42974263912f0a6fe465a2ce7721deaf4c6e (patch)
tree5eca143ab58451416631ede049a8e8c6e2dbe9ce
parent04add97618439dcdf5fc249e49ac9e112eaee3e5 (diff)
downloadFreeBSD-src-11bc42974263912f0a6fe465a2ce7721deaf4c6e.zip
FreeBSD-src-11bc42974263912f0a6fe465a2ce7721deaf4c6e.tar.gz
Build with -DUSE_INET6 so that we can actually use the IPv6 support in
IPFilter 3.4.x. Approved by: darrenr, guido
-rw-r--r--sbin/ipf/Makefile2
-rw-r--r--sbin/ipfstat/Makefile2
-rw-r--r--sbin/ipmon/Makefile2
-rw-r--r--sbin/ipnat/Makefile2
-rw-r--r--usr.sbin/ipftest/Makefile2
-rw-r--r--usr.sbin/ipresend/Makefile1
-rw-r--r--usr.sbin/ipsend/Makefile1
-rw-r--r--usr.sbin/iptest/Makefile1
8 files changed, 8 insertions, 5 deletions
diff --git a/sbin/ipf/Makefile b/sbin/ipf/Makefile
index b21a622..39a22b5 100644
--- a/sbin/ipf/Makefile
+++ b/sbin/ipf/Makefile
@@ -7,7 +7,7 @@ MAN4= ipf.4
MAN5= ipf.5
MAN8= ipf.8
SRCS= ipf.c parse.c opt.c facpri.c common.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org
diff --git a/sbin/ipfstat/Makefile b/sbin/ipfstat/Makefile
index be7bde5..7a23800 100644
--- a/sbin/ipfstat/Makefile
+++ b/sbin/ipfstat/Makefile
@@ -5,7 +5,7 @@
PROG= ipfstat
MAN8= ipfstat.8
SRCS= fils.c parse.c opt.c kmem.c facpri.c common.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
DPADD= ${NCURSES}
LDADD= -lncurses
diff --git a/sbin/ipmon/Makefile b/sbin/ipmon/Makefile
index 9a07889..9df9905 100644
--- a/sbin/ipmon/Makefile
+++ b/sbin/ipmon/Makefile
@@ -7,7 +7,7 @@ MAN4= ipl.4
MAN8= ipmon.8
SRCS= ipmon.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org
diff --git a/sbin/ipnat/Makefile b/sbin/ipnat/Makefile
index 35ab85b..87f8239 100644
--- a/sbin/ipnat/Makefile
+++ b/sbin/ipnat/Makefile
@@ -8,7 +8,7 @@ MAN4= ipnat.4
MAN5= ipnat.5
MLINKS= ipnat.5 ipnat.conf.5
SRCS= ipnat.c kmem.c natparse.c common.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org
diff --git a/usr.sbin/ipftest/Makefile b/usr.sbin/ipftest/Makefile
index 284236a..8d015b8 100644
--- a/usr.sbin/ipftest/Makefile
+++ b/usr.sbin/ipftest/Makefile
@@ -10,7 +10,7 @@ SRCS= opt_ipfilter.h \
ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c \
ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
CLEANFILES+= opt_ipfilter.h
diff --git a/usr.sbin/ipresend/Makefile b/usr.sbin/ipresend/Makefile
index 1313213..d7f3380 100644
--- a/usr.sbin/ipresend/Makefile
+++ b/usr.sbin/ipresend/Makefile
@@ -8,6 +8,7 @@ MAN1= ipresend.1
SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipft_tx.c sbpf.c 44arp.c ipft_pc.c
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
+ -DUSE_INET6 \
-I- -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter
diff --git a/usr.sbin/ipsend/Makefile b/usr.sbin/ipsend/Makefile
index 4b1b80e..f356fa8 100644
--- a/usr.sbin/ipsend/Makefile
+++ b/usr.sbin/ipsend/Makefile
@@ -11,6 +11,7 @@ SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l \
y.tab.h
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
+ -DUSE_INET6 \
-I- -I. -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter/iplang \
diff --git a/usr.sbin/iptest/Makefile b/usr.sbin/iptest/Makefile
index 9465369..b86e42f 100644
--- a/usr.sbin/iptest/Makefile
+++ b/usr.sbin/iptest/Makefile
@@ -8,6 +8,7 @@ MAN1= iptest.1
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
+ -DUSE_INET6 \
-I- -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter
OpenPOWER on IntegriCloud