mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Import pftables
Minimal rc script to save and restore pf tables upon reboots
This commit is contained in:
parent
782b56aef8
commit
5576dfc975
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366512
@ -689,6 +689,7 @@
|
||||
SUBDIR += pessulus
|
||||
SUBDIR += pflogx
|
||||
SUBDIR += pfstat
|
||||
SUBDIR += pftables
|
||||
SUBDIR += pftop
|
||||
SUBDIR += phantom
|
||||
SUBDIR += philesight
|
||||
|
28
sysutils/pftables/Makefile
Normal file
28
sysutils/pftables/Makefile
Normal file
@ -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>
|
2
sysutils/pftables/distinfo
Normal file
2
sysutils/pftables/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (pftables-0.1.tar.gz) = 44e0008bbeadcda5b74ee01ed2f36c3003dded0c1a8d9b477f5fbd41b8983993
|
||||
SIZE (pftables-0.1.tar.gz) = 1919
|
5
sysutils/pftables/pkg-descr
Normal file
5
sysutils/pftables/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user