From owner-svn-ports-all@freebsd.org Sun Aug 12 04:24:06 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 66793106351B; Sun, 12 Aug 2018 04:24:06 +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 1B286779A0; Sun, 12 Aug 2018 04:24:06 +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 EF70A21217; Sun, 12 Aug 2018 04:24:05 +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 w7C4O5DZ093395; Sun, 12 Aug 2018 04:24:05 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7C4O5ch093393; Sun, 12 Aug 2018 04:24:05 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201808120424.w7C4O5ch093393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Sun, 12 Aug 2018 04:24:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476960 - 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: 476960 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 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: Sun, 12 Aug 2018 04:24:06 -0000 Author: cy Date: Sun Aug 12 04:24:05 2018 New Revision: 476960 URL: https://svnweb.freebsd.org/changeset/ports/476960 Log: Avoid $nut_upsshut is not set properly messages by defining a default. MFH: 2018Q3 Suggested by: Dan Mahoney Modified: head/sysutils/nut/Makefile (contents, props changed) head/sysutils/nut/files/nut.in Modified: head/sysutils/nut/Makefile ============================================================================== --- head/sysutils/nut/Makefile Sun Aug 12 04:14:20 2018 (r476959) +++ head/sysutils/nut/Makefile Sun Aug 12 04:24:05 2018 (r476960) @@ -3,7 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 7 +PORTREVISION= 8 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 Sun Aug 12 04:14:20 2018 (r476959) +++ head/sysutils/nut/files/nut.in Sun Aug 12 04:24:05 2018 (r476960) @@ -17,6 +17,7 @@ # nut_enable=${nut_enable:-"NO"} nut_prefix=${nut_prefix:-"%%PREFIX%%"} +nut_upsshut=${nut_upsshut:-"NO"} . /etc/rc.subr