From owner-dev-commits-ports-main@freebsd.org Fri Jun 25 09:07:52 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 7D96A65C998; Fri, 25 Jun 2021 09:07:52 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBB3r2rvMz3hZr; Fri, 25 Jun 2021 09:07:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FB5568A; Fri, 25 Jun 2021 09:07:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15P97qKa011149; Fri, 25 Jun 2021 09:07:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15P97qVc011148; Fri, 25 Jun 2021 09:07:52 GMT (envelope-from git) Date: Fri, 25 Jun 2021 09:07:52 GMT Message-Id: <202106250907.15P97qVc011148@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: bea4521eda87 - main - sysutils/p5-App-Regather: the port had been updated and improved (+) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bea4521eda8735b09553d79ed1c7ee3cfbf64839 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2021 09:07:52 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=bea4521eda8735b09553d79ed1c7ee3cfbf64839 commit bea4521eda8735b09553d79ed1c7ee3cfbf64839 Author: Alexey Dokuchaev AuthorDate: 2021-06-25 09:06:48 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-06-25 09:07:04 +0000 sysutils/p5-App-Regather: the port had been updated and improved (+) - Update to version 0.81.03 - Install the startup script Submitted by: maintainer --- sysutils/p5-App-Regather/Makefile | 5 ++++- sysutils/p5-App-Regather/distinfo | 5 +++-- sysutils/p5-App-Regather/files/regather.in | 36 ++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/sysutils/p5-App-Regather/Makefile b/sysutils/p5-App-Regather/Makefile index 750d3d12416b..c47777ad2da7 100644 --- a/sysutils/p5-App-Regather/Makefile +++ b/sysutils/p5-App-Regather/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey Dokuchaev PORTNAME= App-Regather -PORTVERSION= 0.81.02 +PORTVERSION= 0.81.03 CATEGORIES= sysutils perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -23,4 +23,7 @@ USES= perl5 USE_PERL5= configure NO_ARCH= yes +USE_RC_SUBR= regather +SUB_LIST= PERL=${PERL} + .include diff --git a/sysutils/p5-App-Regather/distinfo b/sysutils/p5-App-Regather/distinfo index 9b81bf9bbeee..ea743714f1ed 100644 --- a/sysutils/p5-App-Regather/distinfo +++ b/sysutils/p5-App-Regather/distinfo @@ -1,2 +1,3 @@ -SHA256 (App-Regather-0.81.02.tar.gz) = fb4c7b8f3a9927020fdf3e1bb66b57a5ab2eafd2499bd2bcaf0fceed57f77adc -SIZE (App-Regather-0.81.02.tar.gz) = 39140 +TIMESTAMP = 1623734444 +SHA256 (App-Regather-0.81.03.tar.gz) = c39d6304ca7941cb1dd7bdc9a2aabb820b4c21737335a2a9e27126c7bd6b5f6a +SIZE (App-Regather-0.81.03.tar.gz) = 39369 diff --git a/sysutils/p5-App-Regather/files/regather.in b/sysutils/p5-App-Regather/files/regather.in new file mode 100644 index 000000000000..bc9d00421c0e --- /dev/null +++ b/sysutils/p5-App-Regather/files/regather.in @@ -0,0 +1,36 @@ +#!/bin/sh +# +# PROVIDE: regather +# KEYWORD: shutdown +# +# Add the following line(s) to /etc/rc.conf to enable regather: +# +# regather_enable (bool): Set to "NO" by default. +# Set to "YES" to enable regather +# +# regather_configfile (str): Set to "%%PREFIX%%/etc/regather.conf" by default. +# +# regather_flags (str): Set to "" by default. +# + +. /etc/rc.subr + +name=regather +rcvar=regather_enable + +: ${regather_enable="NO"} +: ${regather_configfile="%%PREFIX%%/etc/regather.conf"} +: ${regather_flags=""} + +command="%%PREFIX%%/bin/${name}" +command_args="-c ${regather_configfile} ${regather_flags}" +command_interpreter="%%PERL%%" + +required_files="${regather_configfile}" + +extra_commands="reload" +pidfile="/var/run/regather.pid" + +load_rc_config "${name}" + +run_rc_command "$1"