summaryrefslogtreecommitdiff
path: root/sys-power/nut
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/nut')
-rw-r--r--sys-power/nut/Manifest6
-rw-r--r--sys-power/nut/files/systemd_notify.patch (renamed from sys-power/nut/files/systemd_notify.path)0
-rw-r--r--sys-power/nut/nut-2.8.2.ebuild9
-rw-r--r--sys-power/nut/nut-9999.ebuild9
4 files changed, 13 insertions, 11 deletions
diff --git a/sys-power/nut/Manifest b/sys-power/nut/Manifest
index 92160a37d833..6aee0b71eede 100644
--- a/sys-power/nut/Manifest
+++ b/sys-power/nut/Manifest
@@ -11,10 +11,10 @@ AUX nut-2.7.4-slibtool.patch 2470 BLAKE2B 6baadd663f83209f3abbb4a6b83f170df56da0
AUX nut-2.8.0-init.d-upsd 667 BLAKE2B f3ec275cd401df017428c3772fb3f0d51b66173e3d08fdd844e8499bd216b455d6a2846e991c53285092eafc1ad3f43665185c853a438f5331ecd95c2c8c2e30 SHA512 4a58aea9b0119c6ba0949a5d8365cf8785aa49050fb9cb6f6e0ac4d12d1b8e947823d0c41b64500f453fdf236dee6cf60f812c76a65bff9b2ea0f2b713852dc3
AUX nut-openssl-1.1-support.patch 3873 BLAKE2B 17877276e46372aa17d357efc0851b9cdb33b14ac0c40913b47ea513a8ecaa6eebe3241ae8b324583070d76b6c12d3cf18c043778754b5774af846fb8a33b4d7 SHA512 8945f2f663dc50cfd7041cc7f2c4af5cca4b5ef9cfa1be48c122a623e6eadfc511bbaa60a8bd6b68bb2569c75d5f64613d595ad7444b8d6ec9f773d7743872a1
AUX nut.powerfail.initd 1305 BLAKE2B 88bd2a1b5b3fbb2ab9ea4d408e4cc57399702c587ec8314c5b78aa5ce03d4de0f4850ecd580140bf5a42947853f7f64953e0a2859fb1f83de185682d6b600500 SHA512 9e171fc192efaa16e554725b6bf40377e648400f6f6e860d436218289fadcf96c7209fed76129d0dfec912dc5702cca11c90fea072767135fe1a2ba8e11ef2ac
-AUX systemd_notify.path 1753 BLAKE2B a44167bf491b393474b94ee4c375013cd23d1e1151311eab40ba6ca2c190019631aeb3fd21e20b9ce0a0b98d98506c88ddd9fe043a1000268d8b7b4195d8b489 SHA512 9984fb879a002cd00949dd7e10f5720f3b50ce871312750dbdb8b805903b37b1f8be2c7b2f6b79a13739fba2c28bf0f85427af7c9b7421ebf13cabfb3cd88381
+AUX systemd_notify.patch 1753 BLAKE2B a44167bf491b393474b94ee4c375013cd23d1e1151311eab40ba6ca2c190019631aeb3fd21e20b9ce0a0b98d98506c88ddd9fe043a1000268d8b7b4195d8b489 SHA512 9984fb879a002cd00949dd7e10f5720f3b50ce871312750dbdb8b805903b37b1f8be2c7b2f6b79a13739fba2c28bf0f85427af7c9b7421ebf13cabfb3cd88381
DIST nut-2.8.0.tar.gz 3287640 BLAKE2B 6ad87e9c90920d45846d9c1311e8feeb3c36bfa506d62d938940c00d2fc7f7b30632d079a8ee969db624824ae4fd3e14e41e8acd1eda296e26a3aa340f186b94 SHA512 3c413ae54088045a713eb80cf1bdda474f41bb3b67c7c0248aa7a0c4d441dce1ff42627a2735273d7e36892d1f2eeb895220cf28af63fec2fa0c7a267f82d577
DIST nut-2.8.2.tar.gz 5599935 BLAKE2B 87187293d8acda72c2d807d6f41f2601a318540f63a0ea93782b115402c6b43a0b61ecc710fd6de126d25e59dd4e03681f2b859a87549e9d5f7617ac7b2dad8c SHA512 b6f8f22318e4a4fcb8073a63132b1cb083952c665191b82a7d6765a61b859575a4b0c2ba84ed17cfb8c88d34179876d64520dd2f75f02fe8707b406da2c0821c
EBUILD nut-2.8.0-r3.ebuild 5736 BLAKE2B ff76344746befe48fbdcd9c3f9d6230151c5443504e26cf55fc4dd6e24aa98f361470d80a2ce913a08eb66fe0d9ac8a3fa7c9bd3bbff98c2f82a4ee98ee635e9 SHA512 6f213d2a7e9affa7b598ce3bea7c0cf2915e25d9143007fe679733a95cf584ac6a810a4ccd8dc12b8b3ce8184cafc4d45572ca26130068409efd43754bdd62c0
-EBUILD nut-2.8.2.ebuild 6947 BLAKE2B af572f794a44c2c2f3e33261604dfc42cce5f5a868201345487b7269cf0160c3aa5bde31e629d40b8728a4446ce05418b128d107af2e0f54883dbe9d86795264 SHA512 96892af86c21b5217829770eb441e02fef88e921e78516fb9fb2e3959ac9b50cc8b90bfbc324738b4894d9bda00aa47534a14cc6a69a6833fd6ffc996fd45dcf
-EBUILD nut-9999.ebuild 6947 BLAKE2B af572f794a44c2c2f3e33261604dfc42cce5f5a868201345487b7269cf0160c3aa5bde31e629d40b8728a4446ce05418b128d107af2e0f54883dbe9d86795264 SHA512 96892af86c21b5217829770eb441e02fef88e921e78516fb9fb2e3959ac9b50cc8b90bfbc324738b4894d9bda00aa47534a14cc6a69a6833fd6ffc996fd45dcf
+EBUILD nut-2.8.2.ebuild 7023 BLAKE2B ad690148ce213afab2543325097f54f446dacd46f87859a187c44e56e7b72cd77e749cc94656d4284ceac13fe3e12f03aa7bd2913ba590d354514f3a10c570c7 SHA512 155e017f531bbe10465e1205088811cd07d05da1e73df32f6af856f88df1a47c30d4e8fe5f499654a725cbdf3f67d1fe6aef825b84f80ec4fafa243caa928311
+EBUILD nut-9999.ebuild 7023 BLAKE2B ad690148ce213afab2543325097f54f446dacd46f87859a187c44e56e7b72cd77e749cc94656d4284ceac13fe3e12f03aa7bd2913ba590d354514f3a10c570c7 SHA512 155e017f531bbe10465e1205088811cd07d05da1e73df32f6af856f88df1a47c30d4e8fe5f499654a725cbdf3f67d1fe6aef825b84f80ec4fafa243caa928311
MISC metadata.xml 1351 BLAKE2B 7673ac0c20af6c4b5e3a57f2cad063b40f4141069974544202fe0c34e1df3996fa91af47598616208b17c100c590db4afeff3d0ef61731c6a05768ed2421c9b3 SHA512 7f4755b84bd2c84f42c987a035cd4b91f74a57bbfa57289cfe7aafd02e10e43beca25edced1273a4282db6a257262201e6921190c5ac069fc9ffcd0767ebb31b
diff --git a/sys-power/nut/files/systemd_notify.path b/sys-power/nut/files/systemd_notify.patch
index 657e0075420c..657e0075420c 100644
--- a/sys-power/nut/files/systemd_notify.path
+++ b/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 e59050b0c4e5..9a6702956acb 100644
--- a/sys-power/nut/nut-2.8.2.ebuild
+++ b/sys-power/nut/nut-2.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -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
@@ -190,7 +191,7 @@ src_install() {
einstalldocs
if use doc; then
- newdoc lib/README.adoc
+ newdoc lib/README.adoc README.lib.adoc
dodoc docs/*.txt
docinto cables
dodoc docs/cables/*
diff --git a/sys-power/nut/nut-9999.ebuild b/sys-power/nut/nut-9999.ebuild
index e59050b0c4e5..9a6702956acb 100644
--- a/sys-power/nut/nut-9999.ebuild
+++ b/sys-power/nut/nut-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -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
@@ -190,7 +191,7 @@ src_install() {
einstalldocs
if use doc; then
- newdoc lib/README.adoc
+ newdoc lib/README.adoc README.lib.adoc
dodoc docs/*.txt
docinto cables
dodoc docs/cables/*