From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC1A81581D3 for ; Wed, 29 May 2024 18:56:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FB13E29F7; Wed, 29 May 2024 18:56:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2D5FE29F7 for ; Wed, 29 May 2024 18:56:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 047D133BEBE for ; Wed, 29 May 2024 18:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F92A148D for ; Wed, 29 May 2024 18:56:10 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1717008966.2575dc7c05a83eeb1ae28e32d7067173861b3785.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/nut/files/, sys-power/nut/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/nut/files/systemd_notify.patch sys-power/nut/files/systemd_notify.path sys-power/nut/nut-2.8.2.ebuild sys-power/nut/nut-9999.ebuild X-VCS-Directories: sys-power/nut/ sys-power/nut/files/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 2575dc7c05a83eeb1ae28e32d7067173861b3785 X-VCS-Branch: master Date: Wed, 29 May 2024 18:56:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b4a478bd-fa28-4882-938e-735ef4ef352b X-Archives-Hash: f469c88c77b42c8dfb496225c54d1389 commit: 2575dc7c05a83eeb1ae28e32d7067173861b3785 Author: Robin H. Johnson gentoo org> AuthorDate: Wed May 29 18:43:31 2024 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed May 29 18:56:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2575dc7c sys-power/nut: fix systemd-analyze sandbox violation Signed-off-by: Robin H. Johnson gentoo.org> Closes: https://bugs.gentoo.org/932962 sys-power/nut/files/{systemd_notify.path => systemd_notify.patch} | 0 sys-power/nut/nut-2.8.2.ebuild | 5 +++-- sys-power/nut/nut-9999.ebuild | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-power/nut/files/systemd_notify.path b/sys-power/nut/files/systemd_notify.patch similarity index 100% rename from sys-power/nut/files/systemd_notify.path rename to sys-power/nut/files/systemd_notify.patch diff --git a/sys-power/nut/nut-2.8.2.ebuild b/sys-power/nut/nut-2.8.2.ebuild index fbd9812f3c08..9a6702956acb 100644 --- a/sys-power/nut/nut-2.8.2.ebuild +++ b/sys-power/nut/nut-2.8.2.ebuild @@ -69,8 +69,9 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-2.6.2-lowspeed-buffer-size.patch" - "${FILESDIR}/systemd_notify.path" + "${FILESDIR}/systemd_notify.patch" ) +PATCH_NEEDS_AUTOGEN=1 pkg_pretend() { if use i2c; then @@ -102,7 +103,7 @@ pkg_setup() { src_prepare() { default - if [[ ${PV} == *9999 ]] ; then + if [[ ${PV} == *9999 ]] || [[ ${PATCH_NEEDS_AUTOGEN} == 1 ]] ; then ./autogen.sh || die fi diff --git a/sys-power/nut/nut-9999.ebuild b/sys-power/nut/nut-9999.ebuild index fbd9812f3c08..9a6702956acb 100644 --- a/sys-power/nut/nut-9999.ebuild +++ b/sys-power/nut/nut-9999.ebuild @@ -69,8 +69,9 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-2.6.2-lowspeed-buffer-size.patch" - "${FILESDIR}/systemd_notify.path" + "${FILESDIR}/systemd_notify.patch" ) +PATCH_NEEDS_AUTOGEN=1 pkg_pretend() { if use i2c; then @@ -102,7 +103,7 @@ pkg_setup() { src_prepare() { default - if [[ ${PV} == *9999 ]] ; then + if [[ ${PV} == *9999 ]] || [[ ${PATCH_NEEDS_AUTOGEN} == 1 ]] ; then ./autogen.sh || die fi