summaryrefslogtreecommitdiff
path: root/sys-power/nut
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-12 08:41:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-12 08:41:54 +0100
commit4df3bf9762850b34cd1ead5c80374d1a0fc3362e (patch)
tree3080c5cb7ad17abcb63776a9f21c4947845546a6 /sys-power/nut
parent814f4cf860e299a046b649eaee5463427984c09c (diff)
gentoo resync : 12.07.2021
Diffstat (limited to 'sys-power/nut')
-rw-r--r--sys-power/nut/Manifest2
-rw-r--r--sys-power/nut/nut-2.7.4-r7.ebuild (renamed from sys-power/nut/nut-2.7.4-r6.ebuild)25
2 files changed, 12 insertions, 15 deletions
diff --git a/sys-power/nut/Manifest b/sys-power/nut/Manifest
index f4982b1df8d3..588848e7cc88 100644
--- a/sys-power/nut/Manifest
+++ b/sys-power/nut/Manifest
@@ -10,5 +10,5 @@ AUX nut-2.7.4-py3.patch 1940 BLAKE2B 5bb77bca18ad40a1ba4e579098accb0135c0f4b2443
AUX nut-openssl-1.1-support.patch 3873 BLAKE2B 17877276e46372aa17d357efc0851b9cdb33b14ac0c40913b47ea513a8ecaa6eebe3241ae8b324583070d76b6c12d3cf18c043778754b5774af846fb8a33b4d7 SHA512 8945f2f663dc50cfd7041cc7f2c4af5cca4b5ef9cfa1be48c122a623e6eadfc511bbaa60a8bd6b68bb2569c75d5f64613d595ad7444b8d6ec9f773d7743872a1
AUX nut.powerfail.initd 1306 BLAKE2B 9e9c6eb40c6a313ad625136523de730a75b811841331ae5f7dd42b71b65f591c4ab5b8da6e954ceab42da89f4a20e8655cae57354aec6ab796cec80f60ebb419 SHA512 b9aaab526d0996b36a7a6d76a3ee63c1452b0a1bed358e23f6f7f5534e0da7751281428091efc7dba2004706996850ec18318809fdacb94cd8d73ea22bda52ee
DIST nut-2.7.4.tar.gz 2509831 BLAKE2B 367c687efd739150898a14c700d5fddbe22bf926522923e1842011ec49b67d6638620500c4eda50291feb474cc6eef39fff63764cb3e0fad5898abee981f8308 SHA512 320c4aff85d8a370c5eff77d33924fdfc3caf6a250620693cdd5bf3336b3a80d8a207488eee841bcf8b72fbad68fda4c074e63b99c56e7886716fc934122d11a
-EBUILD nut-2.7.4-r6.ebuild 8997 BLAKE2B 475842f820d5358242bec32a77ca3148963287ac7cb2e47d478d210a5fcdec2ab7e9988bdca0c4c02af19f6fd46f1bcda9bbd24ae1a56fc883c615b3e596783b SHA512 5f88eb033be8bf77499ac5519acd55d8189ca90b6b50d0a3319d9b458fc6065213754c494e5bbdb8448f94eac52f713c7cfe3d1bd54ec74e450dc7d38938d379
+EBUILD nut-2.7.4-r7.ebuild 8748 BLAKE2B 7ef88bc7588399130a0f72d63f0d9f38f150fa5b8675520e35f2304e1f01873094d37f6eb7c5badd698f01459dffebca68da42c5b11c752d0cebb781ba0a91e4 SHA512 d7425b3ba2b16fa77f597df10d6e91857c7409ee80b26f51e4f1db893ef7f81d3d6f9b6cf01b73d28f513312e9d55a02cacb8f6190bbc9e017f736a3928ffa9a
MISC metadata.xml 5272 BLAKE2B cc580840e8c437fb37cd8c2132d2daf6751097374ccf11c5a7519756adc6b5d3654e3c40cfe7a66cee8ee5b016c09f65f4f425e4edbd503aed88da5f0eedc1a9 SHA512 f3133fcd673344452904f95d5898fdca3988970bf6526f50191cfa1741fb222468dc00652e968ba305a21851e6a070478627d181c26f6a1d152a215399f469ee
diff --git a/sys-power/nut/nut-2.7.4-r6.ebuild b/sys-power/nut/nut-2.7.4-r7.ebuild
index 740b94d0c143..581389d74b18 100644
--- a/sys-power/nut/nut-2.7.4-r6.ebuild
+++ b/sys-power/nut/nut-2.7.4-r7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools bash-completion-r1 desktop fixheadtails flag-o-matic systemd toolchain-funcs user
+inherit autotools bash-completion-r1 desktop fixheadtails flag-o-matic systemd toolchain-funcs
MY_P=${P/_/-}
@@ -16,6 +16,11 @@ KEYWORDS="amd64 arm ppc ppc64 x86"
IUSE="cgi ipmi snmp +usb selinux split-usr ssl tcpd xml zeroconf"
+CDEPEND="
+ acct-group/nut
+ acct-user/nut
+"
+
DEPEND="
dev-libs/libltdl:*
net-libs/libnsl
@@ -30,9 +35,12 @@ DEPEND="
zeroconf? ( net-dns/avahi )"
BDEPEND="
+ ${CDEPEND}
virtual/pkgconfig"
-RDEPEND="${DEPEND}
+RDEPEND="
+ ${CDEPEND}
+ ${DEPEND}
selinux? ( sec-policy/selinux-nut )"
S="${WORKDIR}/${MY_P}"
@@ -82,17 +90,6 @@ PATCHES=(
"${FILESDIR}"/nut-2.7.4-py3.patch
)
-pkg_setup() {
- enewgroup nut 84
- enewuser nut 84 -1 /var/lib/nut nut,uucp
- # As of udev-104, NUT must be in uucp and NOT in tty.
- gpasswd -d nut tty 2>/dev/null
- gpasswd -a nut uucp 2>/dev/null
- # in some cases on old systems it wasn't in the nut group either!
- gpasswd -a nut nut 2>/dev/null
- warningmsg ewarn
-}
-
src_prepare() {
default