diff --git a/contrib/ipfilter/man/Makefile b/contrib/ipfilter/man/Makefile index 3f12ccbe87b4..0b8f2a14c5a3 100644 --- a/contrib/ipfilter/man/Makefile +++ b/contrib/ipfilter/man/Makefile @@ -3,10 +3,13 @@ # # See the IPFILTER.LICENCE file for details on licencing. # +# $FreeBSD$ +# all: install: + $(INSTALL) -m 0644 -c -o root -g bin mkfilters.1 $(MANDIR)/man1 $(INSTALL) -m 0644 -c -o root -g bin ipftest.1 $(MANDIR)/man1 $(INSTALL) -m 0644 -c -o root -g bin ipnat.8 $(MANDIR)/man8 $(INSTALL) -m 0644 -c -o root -g bin ipf.4 $(MANDIR)/man4 diff --git a/contrib/ipfilter/man/mkfilters.1 b/contrib/ipfilter/man/mkfilters.1 index 89a8d47e0214..b9e1ddd8872a 100644 --- a/contrib/ipfilter/man/mkfilters.1 +++ b/contrib/ipfilter/man/mkfilters.1 @@ -5,6 +5,8 @@ mkfilters \- generate a minimal firewall ruleset for ipfilter .SH SYNOPSIS .B mkfilters +.SH FILES +/usr/share/examples/ipf/mkfilters .SH DESCRIPTION .PP \fBmkfilters\fP is a perl script that generates a minimal filter rule set for diff --git a/share/examples/ipfilter/Makefile b/share/examples/ipfilter/Makefile index 4826dac39694..8cf0ceaa875e 100644 --- a/share/examples/ipfilter/Makefile +++ b/share/examples/ipfilter/Makefile @@ -5,7 +5,8 @@ NO_OBJ= FILES= README # dist sample files -.PATH: ${.CURDIR}/../../../contrib/ipfilter/rules +.PATH: ${.CURDIR}/../../../contrib/ipfilter/rules \ + ${.CURDIR}/../../../contrib/ipfilter FILES+= BASIC.NAT BASIC_1.FW BASIC_2.FW \ example.1 example.2 example.3 example.4 example.5 \ example.6 example.7 example.8 example.9 example.10 \ @@ -23,6 +24,9 @@ FILES+= ipf-howto.txt # http://coombs.anu.edu.au/~avalon/ sample files FILES+= examples.txt rules.txt +BINMODE=0755 +PROG= mkfilters + FILESDIR= ${SHAREDIR}/examples/ipfilter .include