From owner-svn-ports-head@FreeBSD.ORG Fri Aug 29 14:33:49 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A540A18F; Fri, 29 Aug 2014 14:33:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76E6714C9; Fri, 29 Aug 2014 14:33:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7TEXn3T086670; Fri, 29 Aug 2014 14:33:49 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7TEXmks086666; Fri, 29 Aug 2014 14:33:48 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201408291433.s7TEXmks086666@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Fri, 29 Aug 2014 14:33:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366512 - in head/sysutils: . pftables X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 14:33:49 -0000 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 +# $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 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