diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-02-28 21:50:50 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-02-28 21:50:50 +0000 |
commit | 54bb06645bcb9423b6e98622189414a1d7172428 (patch) | |
tree | d016b40bab1394f6970ee950fb5dbee5ba58df94 /usr.sbin/authpf | |
parent | 02eb7bf2735c624b038835c99be4c2af76077293 (diff) | |
download | FreeBSD-src-54bb06645bcb9423b6e98622189414a1d7172428.zip FreeBSD-src-54bb06645bcb9423b6e98622189414a1d7172428.tar.gz |
Add skeleton build dirs for pf userland:
libexec/ftp-proxy - ftp proxy for pf
sbin/pfctl - equivalent to sbin/ipf
sbin/pflogd - deamon logging packets via if_pflog in pcap format
usr.sbin/authpf - authentification shell to modify pf rulesets
Bring along some altq headers used to satisfy pfctl/authpf compile. This
helps to keep the diff down and will make it easy to have a altq-patchset
use the full powers of pf.
Also make sure that the pf headers are installed.
This does not link anything to the build. There will be a NO_PF switch for
make.conf once pf userland is linked.
Approved by: bms(mentor)
Diffstat (limited to 'usr.sbin/authpf')
-rw-r--r-- | usr.sbin/authpf/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.sbin/authpf/Makefile b/usr.sbin/authpf/Makefile new file mode 100644 index 0000000..c4bcd63 --- /dev/null +++ b/usr.sbin/authpf/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../contrib/pf/authpf +.PATH: ${.CURDIR}/../../contrib/pf/pfctl + +PROG= authpf +MAN= authpf.8 +BINOWN= root +BINGRP= authpf +BINMODE= 6555 + +SRCS= authpf.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c +SRCS+= pfctl_radix.c pfctl_osfp.c + +CFLAGS+= -I${.CURDIR}/../../contrib/pf/pfctl -Wall -Werror + +# XXX ALTQ: +#CFLAGS+= -DENABLE_ALTQ +CFLAGS+= -I${.CURDIR}/../../sbin/pfctl/missing + +LDADD+= -lm -lmd +DPADD+= ${LIBM} ${LIBMD} + +CLEANFILES+=y.tab.h + +.include <bsd.prog.mk> |