From nobody Thu Apr 6 21:49:36 2023 X-Original-To: dev-commits-ports-main@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 4PswBn5CNYz43Qcp; Thu, 6 Apr 2023 21:49:37 +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 4PswBn0rvbz4GD9; Thu, 6 Apr 2023 21:49:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680817777; 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=/oheeRUZQ9j0NJAELHfrmxY4EF6m6G8hK0CGUCbHRzc=; b=H0J/bUkwH+GVydHvq66ftOgin5HbK+VemZzIC7IubwTzDK9LRtlO/py+nq37OWlnvLNzdD 2v7VsjgHOZLTNa5Mvm1yYVLGZmRG+yBQ/FVMOfGhXR9Z5KYpuxwR7YrhYKx7r4Ser+hs08 dlT9DR980mtg6VvFsP81EG4vm9705ovZ3OGJwZ3tYxH0JECqPalmyTw2SPRRE7rxM6N+xh rlHVssVaRgmgDysYbmGWU0GD30yxtbu3fb5lYnXxWnWb90yFriGYrZOdJWzP011mqalved 52N8M+m8Nxgqas+IDvnYMS5NT/eW/sFvZvcQm1EhjRKafjTokl9P9TJO0tUWqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680817777; 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=/oheeRUZQ9j0NJAELHfrmxY4EF6m6G8hK0CGUCbHRzc=; b=p3nRYVRaDUmu6EDOIl+XoSB7Mv4tZBqq576B1kBa1naPaC1isXqBxIM3yUtYsPTLzOV0NR PYekedUslSObWV6DkJNuV/Ai3Y33MtEn6Glg948tEtbyiwKWDjtNXi5+uZPzSQUcqcW/zg 1wVhRyYbQqsouCChayXYcPkWApEagTzzrefM+Zb5yLfRRQzjUqN3z7fUN5X+WfYPy/Wkya SN3Rz7VRj8eUezjWpQInvh/kjxIB0e7AUCT6IetG/6k74aQtLDzdBGPoUWJTiMsEfp+9cM sV+w7TyXrGamEr/04VNiNUJ49nXZS3VRr8g+s2xYkXOMnsB8yvl5IWqno9dRgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680817777; a=rsa-sha256; cv=none; b=Fw5mRpxGBbkte9/bt3xs9tYswWXhcPKM6/+tp7o0z1TMKdAqrD0K995N9muqgGiQtLocEr TkOPGaQvJyPY6rmA03e2Spz891gCG3qMp9AUaKfOmCYtl5NCVjGEhIXo2Qs6khc4bCGX0h kxcatCxqGXrL9AGyeHdYqu0HdbIgv51sFAKx6WoOnZy/SWL1JIJ74FyC0YDLuh2sYH2NF6 7GkpteXIP7O/c8Qpp2bB/rdrcJ0oGzTyfFuWX+aDowBtEnzJDSKlg2mKEMHGtwiF/n2bjW epQDf40/AHZxnaRHAPSfK9gxvrEmoLcGce3NfmuMYtCDHl2yBBn2+4MobzuDrg== 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 4PswBm65XWzLNv; Thu, 6 Apr 2023 21:49:36 +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 336LnaHZ072002; Thu, 6 Apr 2023 21:49:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 336LnaOK072001; Thu, 6 Apr 2023 21:49:36 GMT (envelope-from git) Date: Thu, 6 Apr 2023 21:49:36 GMT Message-Id: <202304062149.336LnaOK072001@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: 7267b89b7488 - main - sysutils/nut: Install nut-usb.conf List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 7267b89b748860bd8dbca6d8682ebb3a541892df Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7267b89b748860bd8dbca6d8682ebb3a541892df commit 7267b89b748860bd8dbca6d8682ebb3a541892df Author: Cy Schubert AuthorDate: 2023-04-06 21:40:54 +0000 Commit: Cy Schubert CommitDate: 2023-04-06 21:45:49 +0000 sysutils/nut: Install nut-usb.conf devd fails to change UPS device node ownership because the nut port fails to install ${LOCALBASE}/etc/devd/nut-usb.conf. Install it. Reported by: Kostas Oikonomou MFH: 2023Q2 --- sysutils/nut/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 3dcc437aecb1..e9b3a93efe10 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -1,6 +1,6 @@ PORTNAME= nut PORTVERSION= 2.8.0 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ @@ -125,6 +125,9 @@ post-patch: pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nut +.if ${PORT_OPTIONS:MUSB} + @${REINPLACE_CMD} -e 's/device-name\*/cdev/g' ${WRKSRC}/scripts/devd/nut-usb.conf +.endif post-install: @${MKDIR} ${STAGEDIR}${STATEDIR}