Date: Wed, 14 Jun 2017 02:08:56 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443552 - in head/sysutils/nut: . files Message-ID: <201706140208.v5E28uIu012418@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Jun 14 02:08:56 2017 New Revision: 443552 URL: https://svnweb.freebsd.org/changeset/ports/443552 Log: Fixup "use default values" assignments for real. Modified: head/sysutils/nut/Makefile head/sysutils/nut/files/nut.in head/sysutils/nut/files/nut_upslog.in head/sysutils/nut/files/nut_upsmon.in Modified: head/sysutils/nut/Makefile ============================================================================== --- head/sysutils/nut/Makefile Wed Jun 14 02:07:14 2017 (r443551) +++ head/sysutils/nut/Makefile Wed Jun 14 02:08:56 2017 (r443552) @@ -3,7 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig Modified: head/sysutils/nut/files/nut.in ============================================================================== --- head/sysutils/nut/files/nut.in Wed Jun 14 02:07:14 2017 (r443551) +++ head/sysutils/nut/files/nut.in Wed Jun 14 02:08:56 2017 (r443552) @@ -15,8 +15,8 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -nut_enable=${nut_enable-"NO"} -nut_prefix=${nut_prefix-"%%PREFIX%%"} +nut_enable=${nut_enable:-"NO"} +nut_prefix=${nut_prefix:-"%%PREFIX%%"} . /etc/rc.subr Modified: head/sysutils/nut/files/nut_upslog.in ============================================================================== --- head/sysutils/nut/files/nut_upslog.in Wed Jun 14 02:07:14 2017 (r443551) +++ head/sysutils/nut/files/nut_upslog.in Wed Jun 14 02:08:56 2017 (r443552) @@ -15,11 +15,11 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -nut_upslog_enable=${nut_upslog_enable-"NO"} -nut_upslog_prefix=${nut_upslog_prefix-"%%PREFIX%%"} -nut_upslog_logfile=${nut_upslog_logfile-"/var/log/ups.log"} -nut_upslog_interval=${nut_upslog_interval-"300"} -nut_upslog_ups=${nut_upslog_ups-"myups@localhost"} +nut_upslog_enable=${nut_upslog_enable:-"NO"} +nut_upslog_prefix=${nut_upslog_prefix:-"%%PREFIX%%"} +nut_upslog_logfile=${nut_upslog_logfile:-"/var/log/ups.log"} +nut_upslog_interval=${nut_upslog_interval:-"300"} +nut_upslog_ups=${nut_upslog_ups:-"myups@localhost"} . /etc/rc.subr Modified: head/sysutils/nut/files/nut_upsmon.in ============================================================================== --- head/sysutils/nut/files/nut_upsmon.in Wed Jun 14 02:07:14 2017 (r443551) +++ head/sysutils/nut/files/nut_upsmon.in Wed Jun 14 02:08:56 2017 (r443552) @@ -15,8 +15,8 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -nut_upsmon_enable=${nut_upsmon_enable-"NO"} -nut_upsmon_prefix=${nut_upsmon_prefix-"%%PREFIX%%"} +nut_upsmon_enable=${nut_upsmon_enable:-"NO"} +nut_upsmon_prefix=${nut_upsmon_prefix:-"%%PREFIX%%"} . /etc/rc.subr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706140208.v5E28uIu012418>