From owner-svn-ports-head@freebsd.org Wed Sep 23 12:31:15 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 949683F8A0D; Wed, 23 Sep 2020 12:31:15 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxHbR3Vwyz4mLK; Wed, 23 Sep 2020 12:31:15 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BB00105C7; Wed, 23 Sep 2020 12:31:15 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08NCVFAm083069; Wed, 23 Sep 2020 12:31:15 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08NCVEU9083065; Wed, 23 Sep 2020 12:31:14 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202009231231.08NCVEU9083065@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Wed, 23 Sep 2020 12:31:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549722 - in head/sysutils/reggae: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/sysutils/reggae: . files X-SVN-Commit-Revision: 549722 X-SVN-Commit-Repository: ports 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.33 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: Wed, 23 Sep 2020 12:31:15 -0000 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@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@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 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