Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2021 09:07:52 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bea4521eda87 - main - sysutils/p5-App-Regather: the port had been updated and improved (+)
Message-ID:  <202106250907.15P97qVc011148@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bea4521eda8735b09553d79ed1c7ee3cfbf64839

commit bea4521eda8735b09553d79ed1c7ee3cfbf64839
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-06-25 09:06:48 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
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 <danfe@FreeBSD.org>
 
 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 <bsd.port.mk>
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106250907.15P97qVc011148>