From owner-svn-ports-all@freebsd.org Fri Nov 9 13:47:53 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97ACC1130AB2; Fri, 9 Nov 2018 13:47:53 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA45B7B976; Fri, 9 Nov 2018 13:47:52 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CC7FC14B2B; Fri, 9 Nov 2018 13:47:52 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA9Dlqhg079108; Fri, 9 Nov 2018 13:47:52 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA9Dlq3l079106; Fri, 9 Nov 2018 13:47:52 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201811091347.wA9Dlq3l079106@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Fri, 9 Nov 2018 13:47:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484513 - in head/sysutils/nut: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cy X-SVN-Commit-Paths: in head/sysutils/nut: . files X-SVN-Commit-Revision: 484513 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EA45B7B976 X-Spamd-Result: default: False [-106.87 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.76)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.87), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2018 13:47:53 -0000 Author: cy Date: Fri Nov 9 13:47:51 2018 New Revision: 484513 URL: https://svnweb.freebsd.org/changeset/ports/484513 Log: Fix incorrect script default parameter expansion. PR: 233083 Modified: head/sysutils/nut/Makefile (contents, props changed) head/sysutils/nut/files/nut_upslog.in head/sysutils/nut/files/nut_upsmon.in Modified: head/sysutils/nut/Makefile ============================================================================== --- head/sysutils/nut/Makefile Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/Makefile Fri Nov 9 13:47:51 2018 (r484513) @@ -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} Modified: head/sysutils/nut/files/nut_upslog.in ============================================================================== --- head/sysutils/nut/files/nut_upslog.in Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/files/nut_upslog.in Fri Nov 9 13:47:51 2018 (r484513) @@ -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" Modified: head/sysutils/nut/files/nut_upsmon.in ============================================================================== --- head/sysutils/nut/files/nut_upsmon.in Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/files/nut_upsmon.in Fri Nov 9 13:47:51 2018 (r484513) @@ -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"