1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

sysutils/p5-App-Regather: the port had been updated and improved (+)

- Update to version 0.81.03
- Install the startup script

Submitted by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2021-06-25 09:06:48 +00:00
parent d054616dec
commit bea4521eda
3 changed files with 43 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -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"