Date: Fri, 29 Aug 2014 14:33:48 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366512 - in head/sysutils: . pftables Message-ID: <201408291433.s7TEXmks086666@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Fri Aug 29 14:33:48 2014 New Revision: 366512 URL: http://svnweb.freebsd.org/changeset/ports/366512 QAT: https://qat.redports.org/buildarchive/r366512/ Log: - Import pftables Minimal rc script to save and restore pf tables upon reboots Added: head/sysutils/pftables/ head/sysutils/pftables/Makefile (contents, props changed) head/sysutils/pftables/distinfo (contents, props changed) head/sysutils/pftables/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Fri Aug 29 14:32:18 2014 (r366511) +++ head/sysutils/Makefile Fri Aug 29 14:33:48 2014 (r366512) @@ -689,6 +689,7 @@ SUBDIR += pessulus SUBDIR += pflogx SUBDIR += pfstat + SUBDIR += pftables SUBDIR += pftop SUBDIR += phantom SUBDIR += philesight Added: head/sysutils/pftables/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pftables/Makefile Fri Aug 29 14:33:48 2014 (r366512) @@ -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> Added: head/sysutils/pftables/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pftables/distinfo Fri Aug 29 14:33:48 2014 (r366512) @@ -0,0 +1,2 @@ +SHA256 (pftables-0.1.tar.gz) = 44e0008bbeadcda5b74ee01ed2f36c3003dded0c1a8d9b477f5fbd41b8983993 +SIZE (pftables-0.1.tar.gz) = 1919 Added: head/sysutils/pftables/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pftables/pkg-descr Fri Aug 29 14:33:48 2014 (r366512) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408291433.s7TEXmks086666>