remove old tuned
This commit is contained in:
parent
b76f12239e
commit
16e8282d83
@ -1,5 +0,0 @@
|
||||
AUX tuned.initd 421 BLAKE2B b60d6fbf4110ba7e0b5c36159dc9624460ccb8774f101a50b89e633bb177a8ef9d7c36fa425a27d8c5ec6c7b9b19965212cb5ee4b60e02abb3c3990beb26840a SHA512 0123e60def031887040df8690222cc553d93b3c5eb7413e19f722ef04ccf2aeb6468709f66866d432d4d0b0c0ed6875929f1292fde8ad18c4a6b589d1b40fab4
|
||||
DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15 SHA512 d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927
|
||||
DIST tuned-2.14.0.tar.gz 202857 BLAKE2B 81b0da8c8bac1977272b40baa632eaa81d8056a463ad28a7355b7199b41633085921e581708fbed5f9169f763a00a520749446d729273aca6fb9225b056d6151 SHA512 b44391962d820f74f42926bdcded51ef539ec6b8086807cb8454aea98755d3f61343a96c52d665079bb0aa3916aeba3eb1bbdc5d95f64ece08aca3114a954683
|
||||
EBUILD tuned-2.13.0-r2.ebuild 1332 BLAKE2B 842acd362f0940df249128249c2835cc0235573cbc52586e621c1c2517b5f65cd334d05a39ab86b233c021fcffb23dabbb37079256445aecdb37f38e82f0089d SHA512 614b0e6000754d17b938f95e4b74ffb2510b13dbd877433dfe28cfc3b0ce0c9860cf3bf79ac2fb9de6e6f64023aebd6a7aaa1dbcb634c1d16ab0404bcf169ee7
|
||||
EBUILD tuned-2.14.0.ebuild 1332 BLAKE2B 842acd362f0940df249128249c2835cc0235573cbc52586e621c1c2517b5f65cd334d05a39ab86b233c021fcffb23dabbb37079256445aecdb37f38e82f0089d SHA512 614b0e6000754d17b938f95e4b74ffb2510b13dbd877433dfe28cfc3b0ce0c9860cf3bf79ac2fb9de6e6f64023aebd6a7aaa1dbcb634c1d16ab0404bcf169ee7
|
@ -1,16 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
TUNED_PIDFILE="/run/tuned.pid"
|
||||
TUNED_LOGFILE="/var/log/tuned.log"
|
||||
|
||||
command="/usr/sbin/tuned"
|
||||
command_args="-d --pid ${TUNED_PIDFILE} --log ${TUNED_LOGFILE}"
|
||||
pidfile=${TUNED_PIDFILE}
|
||||
|
||||
description="tuned is a daemon for monitoring and adaptive tuning of system devices."
|
||||
|
||||
depend() {
|
||||
need dbus
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit python-single-r1 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_MULTI_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/dbus
|
||||
sys-apps/ethtool
|
||||
sys-power/powertop
|
||||
dev-util/systemtap"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-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() {
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit python-single-r1 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_MULTI_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/dbus
|
||||
sys-apps/ethtool
|
||||
sys-power/powertop
|
||||
dev-util/systemtap"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-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() {
|
||||
xdg_icon_cache_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user