diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-26 12:00:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-26 12:00:09 +0100 |
commit | f300354de9fe5d997850456a9e1f400193e6544f (patch) | |
tree | 402fd6a7727db790bf57f683894052e8791d389e /sys-apps/tuned | |
parent | 5c42677148c717eb9f4673237db807f74740b4e9 (diff) |
gentoo auto-resync : 26:08:2024 - 12:00:09
Diffstat (limited to 'sys-apps/tuned')
-rw-r--r-- | sys-apps/tuned/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/tuned/tuned-2.24.0.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest index 32ce71ce5af0..2ce0e2f10849 100644 --- a/sys-apps/tuned/Manifest +++ b/sys-apps/tuned/Manifest @@ -1,6 +1,8 @@ AUX tuned.initd 421 BLAKE2B b60d6fbf4110ba7e0b5c36159dc9624460ccb8774f101a50b89e633bb177a8ef9d7c36fa425a27d8c5ec6c7b9b19965212cb5ee4b60e02abb3c3990beb26840a SHA512 0123e60def031887040df8690222cc553d93b3c5eb7413e19f722ef04ccf2aeb6468709f66866d432d4d0b0c0ed6875929f1292fde8ad18c4a6b589d1b40fab4 DIST tuned-2.22.1.tar.gz 254690 BLAKE2B 1942aed859425494df702a45900d6e0c26c799f19427cb1ff18160ed49cf8ac78ae3b73a39f1120a1dc5d344c3c1e61298085c54655aa13052600b946cb16a41 SHA512 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f DIST tuned-2.23.0.tar.gz 261402 BLAKE2B 7fb46fc8eb074779c963c8424c3e802cd9ef216ef80cd96ba8d9d3f1bc83dc03187496044d164cbc1ef6c164ee9004b2dfc6795cf6b6605cb662502f3b4cc5c2 SHA512 b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8 +DIST tuned-2.24.0.tar.gz 263676 BLAKE2B e699ca612bdf9395e47c0882c8302c14a3d657299f224580cab0a9c3eda73a6a435af6d34d69d5cf9df138a1d87fcd2eb16e551427d348231322a1250de4981d SHA512 d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e EBUILD tuned-2.22.1-r1.ebuild 1661 BLAKE2B 0dbb4e4bd026c23b9df9dc150ed823a01a4fcfb945dfb4aec55f42142be0f33c4a1de6d56b8a65208d5a61f202044fa53694fea327198d7f5ec47c0ebfac7542 SHA512 a6e50c3389abb2c4ced5232468bfa4d6c5ebddb45f9db9b05dd39a342d1343a5a88e5cf8150ce0cb25c9ea3675b1cb3e5e9b9cb550ef5ee2755f9582fc6fd16f EBUILD tuned-2.23.0.ebuild 1661 BLAKE2B 0dbb4e4bd026c23b9df9dc150ed823a01a4fcfb945dfb4aec55f42142be0f33c4a1de6d56b8a65208d5a61f202044fa53694fea327198d7f5ec47c0ebfac7542 SHA512 a6e50c3389abb2c4ced5232468bfa4d6c5ebddb45f9db9b05dd39a342d1343a5a88e5cf8150ce0cb25c9ea3675b1cb3e5e9b9cb550ef5ee2755f9582fc6fd16f +EBUILD tuned-2.24.0.ebuild 1661 BLAKE2B 0dbb4e4bd026c23b9df9dc150ed823a01a4fcfb945dfb4aec55f42142be0f33c4a1de6d56b8a65208d5a61f202044fa53694fea327198d7f5ec47c0ebfac7542 SHA512 a6e50c3389abb2c4ced5232468bfa4d6c5ebddb45f9db9b05dd39a342d1343a5a88e5cf8150ce0cb25c9ea3675b1cb3e5e9b9cb550ef5ee2755f9582fc6fd16f MISC metadata.xml 475 BLAKE2B ca2eee9508f8d677576ed4d45fc766caf947e7d6489d35419d8093259d8b1aae0cc9986c5c24487ccb2d07fa33553396f7cc1cd6de9ad2ad013dce102d76ce65 SHA512 2a065af5dcd2dd55ca66f7b56207578a97b173af82e77b1d3f2c912b3efcfa6f4b3d2febe2e84f36028a83e59c0809e7da7cdd93bc0020e1e5ae46b39e0e735e diff --git a/sys-apps/tuned/tuned-2.24.0.ebuild b/sys-apps/tuned/tuned-2.24.0.ebuild new file mode 100644 index 000000000000..7f5306e69847 --- /dev/null +++ b/sys-apps/tuned/tuned-2.24.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit optfeature python-single-r1 tmpfiles xdg-utils + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://github.com/redhat-performance/tuned" +SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-linux-procfs[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + ')" + +RDEPEND=" + ${DEPEND} + app-emulation/virt-what + dev-debug/systemtap + sys-apps/dbus + sys-apps/ethtool + sys-power/powertop + " + +RESTRICT="test" + +src_prepare() { + default + + sed -i \ + -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" \ + -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \ + -e "/\$(DESTDIR)\/var\/log\/tuned/d" \ + Makefile || die +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + python_fix_shebang "${D}" + python_optimize +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf + xdg_icon_cache_update + + optfeature_header + optfeature "Optimize for power saving by spinning-down rotational disks" sys-apps/hdparm + optfeature "Get hardware info" sys-apps/dmidecode + optfeature "Optimize network txqueuelen" sys-apps/iproute2 +} |