upgpkg: tuned 2.23.0-1

upstream release
This commit is contained in:
Manuel 2024-06-09 17:54:31 +02:00
parent 7d104b4240
commit dca59af8cb
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 12 additions and 10 deletions

View file

@ -1,7 +1,7 @@
pkgbase = tuned pkgbase = tuned
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
pkgver = 2.22.1 pkgver = 2.23.0
pkgrel = 2 pkgrel = 1
url = https://github.com/redhat-performance/tuned url = https://github.com/redhat-performance/tuned
arch = any arch = any
license = GPL license = GPL
@ -18,8 +18,8 @@ pkgbase = tuned
depends = python-perf depends = python-perf
depends = python-pyudev depends = python-pyudev
options = !emptydirs options = !emptydirs
source = https://github.com/redhat-performance/tuned/archive/v2.22.1/tuned-2.22.1.tar.gz source = https://github.com/redhat-performance/tuned/archive/v2.23.0/tuned-2.23.0.tar.gz
sha512sums = 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f sha512sums = b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8
pkgname = tuned pkgname = tuned
install = tuned.install install = tuned.install
@ -31,6 +31,7 @@ pkgname = tuned
backup = etc/tuned/cpu-partitioning-powersave-variables.conf backup = etc/tuned/cpu-partitioning-powersave-variables.conf
backup = etc/tuned/cpu-partitioning-variables.conf backup = etc/tuned/cpu-partitioning-variables.conf
backup = etc/tuned/post_loaded_profile backup = etc/tuned/post_loaded_profile
backup = etc/tuned/profile_mode
backup = etc/tuned/realtime-variables.conf backup = etc/tuned/realtime-variables.conf
backup = etc/tuned/realtime-virtual-guest-variables.conf backup = etc/tuned/realtime-virtual-guest-variables.conf
backup = etc/tuned/realtime-virtual-host-variables.conf backup = etc/tuned/realtime-virtual-host-variables.conf

View file

@ -5,8 +5,8 @@
pkgbase=tuned pkgbase=tuned
pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgname=("${pkgbase}" "${pkgbase}-ppd")
pkgver=2.22.1 pkgver=2.23.0
pkgrel=2 pkgrel=1
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
arch=('any') arch=('any')
url="https://github.com/redhat-performance/${pkgbase}" url="https://github.com/redhat-performance/${pkgbase}"
@ -15,15 +15,15 @@ depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'pyth
makedepends=('desktop-file-utils') makedepends=('desktop-file-utils')
options=('!emptydirs') options=('!emptydirs')
source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz")
sha512sums=('160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f') sha512sums=('b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8')
prepare() { prepare() {
cd "${pkgbase}-${pkgver}" cd "${pkgbase}-${pkgver}"
mv libexec lib mv libexec lib
sed -i 's/libexec/lib/g' Makefile sed -i 's|/libexec/|/lib/|g' Makefile
sed -i 's/sbin/bin/g' Makefile sed -i 's|/sbin/|/bin/|g' Makefile tuned.service tuned-gui.py tuned-gui.desktop tuned/ppd/tuned-ppd.service
sed -i 's/install-ppd: install$/install-ppd: install-dirs/' Makefile sed -i 's|install-ppd: install$|install-ppd: install-dirs|' Makefile
} }
package_tuned() { package_tuned() {
@ -35,6 +35,7 @@ package_tuned() {
'etc/tuned/cpu-partitioning-powersave-variables.conf' 'etc/tuned/cpu-partitioning-powersave-variables.conf'
'etc/tuned/cpu-partitioning-variables.conf' 'etc/tuned/cpu-partitioning-variables.conf'
'etc/tuned/post_loaded_profile' 'etc/tuned/post_loaded_profile'
'etc/tuned/profile_mode'
'etc/tuned/realtime-variables.conf' 'etc/tuned/realtime-variables.conf'
'etc/tuned/realtime-virtual-guest-variables.conf' 'etc/tuned/realtime-virtual-guest-variables.conf'
'etc/tuned/realtime-virtual-host-variables.conf' 'etc/tuned/realtime-virtual-host-variables.conf'