mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 20:21:10 +01:00
Revive userland stuff for ipfilter.
Also fixes: PR: 7791
This commit is contained in:
parent
9cc86ee930
commit
ebcb6d9e5b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53643
12
sbin/ipf/Makefile
Normal file
12
sbin/ipf/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipf
|
||||
MAN4= ipf.4
|
||||
MAN5= ipf.5
|
||||
MAN8= ipf.8
|
||||
SRCS= ipf.c parse.c opt.c facpri.c
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
10
sbin/ipfstat/Makefile
Normal file
10
sbin/ipfstat/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipfstat
|
||||
MAN8= ipfstat.8
|
||||
SRCS= fils.c parse.c opt.c kmem.c facpri.c
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
11
sbin/ipmon/Makefile
Normal file
11
sbin/ipmon/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipmon
|
||||
MAN8= ipmon.8
|
||||
SRCS= ipmon.c
|
||||
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
12
sbin/ipnat/Makefile
Normal file
12
sbin/ipnat/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipnat
|
||||
MAN1= ipnat.1
|
||||
MAN4= ipnat.4
|
||||
MAN5= ipnat.5
|
||||
SRCS= ipnat.c kmem.c natparse.c
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
10
usr.sbin/ipfstat/Makefile
Normal file
10
usr.sbin/ipfstat/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipfstat
|
||||
MAN8= ipfstat.8
|
||||
SRCS= fils.c parse.c opt.c kmem.c facpri.c
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
20
usr.sbin/ipftest/Makefile
Normal file
20
usr.sbin/ipftest/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/netinet \
|
||||
${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipftest
|
||||
MAN1= ipftest.1
|
||||
SRCS= opt_ipfilter.h \
|
||||
ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
|
||||
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
|
||||
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
CLEANFILES+= opt_ipfilter.h
|
||||
|
||||
opt_ipfilter.h: Makefile
|
||||
echo "#define IPFILTER 1" > opt_ipfilter.h
|
||||
|
||||
.include <bsd.prog.mk>
|
11
usr.sbin/ipmon/Makefile
Normal file
11
usr.sbin/ipmon/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipmon
|
||||
MAN8= ipmon.8
|
||||
SRCS= ipmon.c
|
||||
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
12
usr.sbin/ipnat/Makefile
Normal file
12
usr.sbin/ipnat/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
||||
|
||||
PROG= ipnat
|
||||
MAN1= ipnat.1
|
||||
MAN4= ipnat.4
|
||||
MAN5= ipnat.5
|
||||
SRCS= ipnat.c kmem.c natparse.c
|
||||
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
15
usr.sbin/ipresend/Makefile
Normal file
15
usr.sbin/ipresend/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
PROG= ipresend
|
||||
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\" \
|
||||
-I- -I${.CURDIR}/../../sys/netinet \
|
||||
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
-I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
22
usr.sbin/ipsend/Makefile
Normal file
22
usr.sbin/ipsend/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
${.CURDIR}/../../contrib/ipfilter/iplang \
|
||||
${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
PROG= ipsend
|
||||
MAN1= ipsend.1
|
||||
MAN5= ipsend.5
|
||||
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\" \
|
||||
-I- -I. -I${.CURDIR}/../../sys/netinet \
|
||||
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
-I${.CURDIR}/../../contrib/ipfilter/iplang \
|
||||
-I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
DPADD= ${LIBL}
|
||||
LDADD= -ll
|
||||
|
||||
.include <bsd.prog.mk>
|
15
usr.sbin/iptest/Makefile
Normal file
15
usr.sbin/iptest/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
PROG= iptest
|
||||
MAN1= iptest.1
|
||||
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
|
||||
|
||||
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
|
||||
-I- -I${.CURDIR}/../../sys/netinet \
|
||||
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
|
||||
-I${.CURDIR}/../../contrib/ipfilter
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user