aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pftables
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-08-29 14:33:48 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-08-29 14:33:48 +0000
commit5576dfc975333bfc34a94d2a8b1b65eaab950136 (patch)
treead188758477ec9c8e0ab26cfd7b22cb1c23d3c99 /sysutils/pftables
parent782b56aef84c4a09c19108124bbbf0b174cb9552 (diff)
downloadports-5576dfc975333bfc34a94d2a8b1b65eaab950136.tar.gz
ports-5576dfc975333bfc34a94d2a8b1b65eaab950136.zip
- Import pftables
Minimal rc script to save and restore pf tables upon reboots
Notes
Notes: svn path=/head/; revision=366512
Diffstat (limited to 'sysutils/pftables')
-rw-r--r--sysutils/pftables/Makefile28
-rw-r--r--sysutils/pftables/distinfo2
-rw-r--r--sysutils/pftables/pkg-descr5
3 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/pftables/Makefile b/sysutils/pftables/Makefile
new file mode 100644
index 000000000000..310f5272d2e9
--- /dev/null
+++ b/sysutils/pftables/Makefile
@@ -0,0 +1,28 @@
+# Created by: Thomas Zander <riggs@FreeBSD.org>
+# $FreeBSD$
+#
+
+PORTNAME= pftables
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+
+MAINTAINER= riggs@FreeBSD.org
+COMMENT= Minimal rc script to save and restore pf tables upon reboots
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= riggs-
+GH_COMMIT= 6a29e7a
+GH_TAGNAME= ${GH_COMMIT}
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= etc/rc.d/pftables
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pftables ${STAGEDIR}${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>
diff --git a/sysutils/pftables/distinfo b/sysutils/pftables/distinfo
new file mode 100644
index 000000000000..6d6c0821762b
--- /dev/null
+++ b/sysutils/pftables/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pftables-0.1.tar.gz) = 44e0008bbeadcda5b74ee01ed2f36c3003dded0c1a8d9b477f5fbd41b8983993
+SIZE (pftables-0.1.tar.gz) = 1919
diff --git a/sysutils/pftables/pkg-descr b/sysutils/pftables/pkg-descr
new file mode 100644
index 000000000000..6a93bf2f52fd
--- /dev/null
+++ b/sysutils/pftables/pkg-descr
@@ -0,0 +1,5 @@
+While the FreeBSD Handbook on pf explains the simple steps necessary
+to make pf tables survive a reboot, it does not (yet) point to an
+already existing script. This rc script provides a minimum solution.
+
+WWW: https://github.com/riggs-/pftables