sysutils/nut: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2018-11-09 17:45:02 +01:00
parent 7b374d30cb
commit cb56ee3ccc
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= nut
PORTVERSION= 2.7.4
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= sysutils
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}

View file

@ -31,6 +31,6 @@ load_rc_config $name
required_dirs="%%STATEDIR%%"
command="${nut_upslog_prefix}/bin/upslog"
pidfile="%%STATEDIR%%/upslog.pid"
nut_upslog_flags=${nut_upslog_flags-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"}
nut_upslog_flags=${nut_upslog_flags:-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"}
run_rc_command "$1"

View file

@ -29,7 +29,7 @@ required_dirs="%%STATEDIR%%"
required_files="${nut_upsmon_prefix}/etc/nut/upsmon.conf"
command="${nut_upsmon_prefix}/sbin/upsmon"
pidfile="%%STATEDIR%%/upsmon.pid"
nut_upsmon_flags=${nut_upsmon_flags-"localhost"}
nut_upsmon_flags=${nut_upsmon_flags:-"localhost"}
extra_commands=reload
stop_cmd="upsmon_stop"