svn commit: r549722 - in head/sysutils/reggae: . files
Fernando Apesteguía
fernape at FreeBSD.org
Wed Sep 23 12:31:15 UTC 2020
Author: fernape
Date: Wed Sep 23 12:31:14 2020
New Revision: 549722
URL: https://svnweb.freebsd.org/changeset/ports/549722
Log:
sysutils/reggae: Update to 0.1.16
From ChangeLog: https://github.com/cbsd/reggae/releases/tag/0.1.16
* Add PF helper script
* Pass SYSPKG to test script
* Add deployment helpers
* Allow target override
* Firewall configuration improvements
* Pass IPv6 ICMP in PF
* Devel depends on init
PR: 249517
Submitted by: meka at tilda.center
Added:
head/sysutils/reggae/files/
head/sysutils/reggae/files/reggae_pf.in (contents, props changed)
Modified:
head/sysutils/reggae/Makefile
head/sysutils/reggae/distinfo
head/sysutils/reggae/pkg-plist
Modified: head/sysutils/reggae/Makefile
==============================================================================
--- head/sysutils/reggae/Makefile Wed Sep 23 12:30:38 2020 (r549721)
+++ head/sysutils/reggae/Makefile Wed Sep 23 12:31:14 2020 (r549722)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= reggae
-PORTVERSION= 0.1.15
+PORTVERSION= 0.1.16
CATEGORIES= sysutils
MAINTAINER= meka at tilda.center
@@ -13,9 +13,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/bin/cbsd:sysutils/cbsd \
sudo:security/sudo
-NO_ARCH= yes
-
USE_GITHUB= yes
GH_ACCOUNT= cbsd
+USE_RC_SUBR= reggae_pf
+
+NO_ARCH= yes
.include <bsd.port.mk>
Modified: head/sysutils/reggae/distinfo
==============================================================================
--- head/sysutils/reggae/distinfo Wed Sep 23 12:30:38 2020 (r549721)
+++ head/sysutils/reggae/distinfo Wed Sep 23 12:31:14 2020 (r549722)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594990836
-SHA256 (cbsd-reggae-0.1.15_GH0.tar.gz) = 3f417d20c2996edb59eab4656afe78726a33d17e112308283c6e008a9cc0b400
-SIZE (cbsd-reggae-0.1.15_GH0.tar.gz) = 45510
+TIMESTAMP = 1600723946
+SHA256 (cbsd-reggae-0.1.16_GH0.tar.gz) = 63c5bd29a2592e87a7290601d0010d40af41faa706331cd348a6866a38d20d82
+SIZE (cbsd-reggae-0.1.16_GH0.tar.gz) = 46136
Added: head/sysutils/reggae/files/reggae_pf.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/reggae/files/reggae_pf.in Wed Sep 23 12:31:14 2020 (r549722)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# $FreeBSD$
+#
+# PROVIDE: reggae_pf
+# REQUIRE: pf
+# AFTER: NETWORKING local_unbound named nsd unbound
+
+# Add the following lines to /etc/rc.conf.local, /etc/rc.conf or
+# /etc/rc.conf.d/reggae_pf to enable this service:
+#
+# reggae_pf_enable (bool): Set to NO by default.
+# Set it to "YES" to enable virtual_oss.
+# reggae_pf_directory (string): Directory containing PF anchor files
+# Default is "/etc/pf.d"
+
+. /etc/rc.subr
+
+name=reggae_pf
+desc="Reggae helper to load PF anchors"
+rcvar=${name}_enable
+start_precmd="${name}_precmd"
+
+load_rc_config $name
+
+: ${reggae_pf_enable:="NO"}
+: ${reggae_pf_directory:="/etc/pf.d"}
+
+command="%%PREFIX%%/bin/reggae"
+command_args="pf ${reggae_pf_directory}"
+
+reggae_pf_precmd()
+{
+ if [ ! -d "${reggae_pf_directory}" ]; then
+ echo "${reggae_pf_directory} is not directory" >&2
+ exit 1
+ fi
+}
+
+run_rc_command $*
Modified: head/sysutils/reggae/pkg-plist
==============================================================================
--- head/sysutils/reggae/pkg-plist Wed Sep 23 12:30:38 2020 (r549721)
+++ head/sysutils/reggae/pkg-plist Wed Sep 23 12:31:14 2020 (r549722)
@@ -65,15 +65,18 @@ man/man1/reggae.1.gz
%%DATADIR%%/scripts/cbsd-init.sh
%%DATADIR%%/scripts/chef-provision.sh
%%DATADIR%%/scripts/default.conf
+%%DATADIR%%/scripts/expect-run.sh
%%DATADIR%%/scripts/get-config.sh
%%DATADIR%%/scripts/get-ip.sh
%%DATADIR%%/scripts/import.sh
%%DATADIR%%/scripts/init.sh
%%DATADIR%%/scripts/master-init.sh
%%DATADIR%%/scripts/network-init.sh
+%%DATADIR%%/scripts/pf.sh
%%DATADIR%%/scripts/pkg-upgrade.sh
%%DATADIR%%/scripts/project-init.sh
%%DATADIR%%/scripts/puppet-provision.sh
+%%DATADIR%%/scripts/read-pass.sh
%%DATADIR%%/scripts/register.sh
%%DATADIR%%/scripts/salt-provision.sh
%%DATADIR%%/scripts/scp.sh
More information about the svn-ports-all
mailing list