From nobody Tue Feb 14 20:35:41 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PGXz16H6pz3py1T; Tue, 14 Feb 2023 20:35:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGXz15rl4z41nT; Tue, 14 Feb 2023 20:35:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676406941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6hbpMudgzspKH+/tfqM4TyEobtyp61a4jmNo/h3q5K8=; b=qLCuCeM5nrz4GQxQ2HEWA1uCv8lmQ/MSAR+xTpsgJRcxrzNzAi9C0ZnosRo9eThaWFaLao mKMggpGUn1t2SJgpYLtY3M9N1ivnMHkAaitO5uuL6vDkcYaSJzxW/RIgonMvc9UiIkQ7ao xkHaH4f2tI2TbMaTyDjXpnN+iDAqkr+F7GkwV5agoL3ny4dP4LIUNLFeJILEPG0zVFcaZC CkH5+QCdNdLiws94AGrU8Szx0ZmvG2C3TKMqJ1i1B29hJqyyhc1qCfnZ7g5ZoJeC99V4mY pqDKu8At0AedLtq4qvIF5ut8+FVSxRVTTDlhYpVHDOJHX7/rVnJuUYZp78zbmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676406941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6hbpMudgzspKH+/tfqM4TyEobtyp61a4jmNo/h3q5K8=; b=Wk82SAKEKn6GtESDw2wXMsN2d2QnJ/bMxBW5WdJJRn2DX1hrNdUs1ksY9r2nHK8mHtYg58 4PgRDpv8J81diBDmRRSv8b+13QwZXeSnmIJa4FryCSUxL/7EGTuETi0zus6QyFlXLSLUsL oPiliKarjlAQh/P7TTbUNV9KzPFVf2SYhItAwTTLDQfdw9PqIYfBYFuIDEWCrHf+maH0+S wbU1BsbvydAqtKKDwsHNiAw0bgEIBqzU4JaPUb2CRuuOKG51gYpqVu8Bnh5lzj1KPtvsR+ nulHA+05sZn9T28nt9YHuXlT43razRUKa7L2FhQmL373HI9kkA/AsHxPYNvOuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676406941; a=rsa-sha256; cv=none; b=jpAylBom57Lud8D5r2b8FlaWgZ1gnrNN1G5vTv74WUcj9mJoh4DsGs+mW7ABJs9XODxbf+ MpVEeC8BsF0NTs916+SmdgowQYsf52KpF/PUsLQlQIHPrvBCuGYbrnrzuu9I68IU/1HOBr RIj98ogL56V4ydCNlx1aIapM8MeoGmLxJVFjnVKRmE6Qo2LvlqaoEOFmCUBKMZVBCqhgar 1Aoq/HCMWBrai5vWyrK32z/mcmBt/Xgh0cn/yMWJq11qy66IySIR3ObvRs1chUzbolF3RC LiIh5ssawIMbzyuERz+pGTYJEMXQR1nMxerKy8spAC6HnS1Wq30iCZjiZAzbUQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PGXz14wq0z1CWY; Tue, 14 Feb 2023 20:35:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31EKZfqJ074787; Tue, 14 Feb 2023 20:35:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EKZf7a074786; Tue, 14 Feb 2023 20:35:41 GMT (envelope-from git) Date: Tue, 14 Feb 2023 20:35:41 GMT Message-Id: <202302142035.31EKZf7a074786@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: e2630f644fcb - main - sysutils/nut*: Fix syntax error List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2630f644fcb41ca2f9cba64a2e4416043b59fda Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2630f644fcb41ca2f9cba64a2e4416043b59fda commit e2630f644fcb41ca2f9cba64a2e4416043b59fda Author: Cy Schubert AuthorDate: 2023-02-14 20:33:59 +0000 Commit: Cy Schubert CommitDate: 2023-02-14 20:33:59 +0000 sysutils/nut*: Fix syntax error Add missing then. PR: 269497 Reported by: Fixes: 6558c2506990 --- sysutils/nut-devel/Makefile | 2 +- sysutils/nut-devel/files/nut.in | 2 +- sysutils/nut/Makefile | 2 +- sysutils/nut/files/nut.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile index 897c6440da75..f6f5908d9153 100644 --- a/sysutils/nut-devel/Makefile +++ b/sysutils/nut-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= nut PORTVERSION= ${NUT_COMMIT_DATE} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils PKGNAMESUFFIX= -devel # MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ diff --git a/sysutils/nut-devel/files/nut.in b/sysutils/nut-devel/files/nut.in index c9a86debbe32..ac68c0d7649c 100644 --- a/sysutils/nut-devel/files/nut.in +++ b/sysutils/nut-devel/files/nut.in @@ -39,7 +39,7 @@ nut_prestart() { # Instead UID/GID nut is used. Make sure preexisting nut files # and directories are owned by nut instead of uucp. # - if [ "${nut_file_fixup}" == "YES" ] + if [ "${nut_file_fixup}" == "YES" ]; then find ${nut_prefix}/etc/nut -user uucp -exec chown %%NUT_USER%% {} \; find ${nut_prefix}/etc/nut -group uucp -exec chgrp %%NUT_GROUP%% {} \; find %%STATEDIR%% -user uucp -exec chown %%NUT_USER%% {} \; diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index e017bc4e69af..3dcc437aecb1 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -1,6 +1,6 @@ PORTNAME= nut PORTVERSION= 2.8.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in index c9a86debbe32..ac68c0d7649c 100644 --- a/sysutils/nut/files/nut.in +++ b/sysutils/nut/files/nut.in @@ -39,7 +39,7 @@ nut_prestart() { # Instead UID/GID nut is used. Make sure preexisting nut files # and directories are owned by nut instead of uucp. # - if [ "${nut_file_fixup}" == "YES" ] + if [ "${nut_file_fixup}" == "YES" ]; then find ${nut_prefix}/etc/nut -user uucp -exec chown %%NUT_USER%% {} \; find ${nut_prefix}/etc/nut -group uucp -exec chgrp %%NUT_GROUP%% {} \; find %%STATEDIR%% -user uucp -exec chown %%NUT_USER%% {} \;