summaryrefslogtreecommitdiffstats
path: root/share/examples/ipfilter/Makefile
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2001-10-20 04:17:07 +0000
committerdarrenr <darrenr@FreeBSD.org>2001-10-20 04:17:07 +0000
commit7460780f26ddb1a56ce9edcfda0fc5bdf0654760 (patch)
treea215edcaca466164008dd39dec8b0d08291f40cb /share/examples/ipfilter/Makefile
parent11dcd7407753aacaf46341311b4da0e4693142e8 (diff)
downloadFreeBSD-src-7460780f26ddb1a56ce9edcfda0fc5bdf0654760.zip
FreeBSD-src-7460780f26ddb1a56ce9edcfda0fc5bdf0654760.tar.gz
Add the IPFilter how-to and other related documents to the base install
so that users gets ipfilter examples without a source install. PR: 26763 Submitted by: Cyrille Lefevre <clefevre@poboxes.com>
Diffstat (limited to 'share/examples/ipfilter/Makefile')
-rw-r--r--share/examples/ipfilter/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/share/examples/ipfilter/Makefile b/share/examples/ipfilter/Makefile
new file mode 100644
index 0000000..f2f27b8
--- /dev/null
+++ b/share/examples/ipfilter/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../contrib/ipfilter/rules
+
+BINDIR= /usr/share/examples
+
+FILES= README
+
+# dist sample files
+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 \
+ example.11 example.12 example.13 example.sr firewall \
+ ftp-proxy ftppxy nat-setup nat.eg server tcpstate
+
+# ftp://ftp.OpenBSD.org/pub/OpenBSD/src/share/ipf/ sample files.
+FILES+= example.14 firewall.1 firewall.2 \
+ ipf.conf.permissive ipf.conf.restrictive \
+ ipf.conf.sample ipnat.conf.sample
+
+# http://www.obfuscation.org/ipf/ how-to
+FILES+= ipf-howto.txt
+
+# http://coombs.anu.edu.au/~avalon/ sample files
+FILES+= examples.txt rules.txt
+
+all:
+
+install: ${FILES}
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
+ ${.ALLSRC} ${DESTDIR}${BINDIR}/ipfilter
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud