From 6d0e646d68a46c7856bc9677b550e5902aab6715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 23 Nov 2022 17:58:12 +0100 Subject: [PATCH 01/15] Use unique file names for sources --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 93f411e..6761ce0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -21,7 +21,7 @@ pkgbase = tuned optdepends = virt-what: For use with virtual machines optdepends = systemtap: Disk and net statistic monitoring systemtap scripts backup = etc/tuned/active_profile - source = https://github.com/redhat-performance/tuned/archive/v2.19.0.tar.gz + source = https://github.com/redhat-performance/tuned/archive/v2.19.0/tuned-2.19.0.tar.gz sha256sums = 3cb2aeb9ecebd66a1a1c3aaff9589f5c5402201d16f7caa01acf0b9374ed8724 pkgname = tuned diff --git a/PKGBUILD b/PKGBUILD index e3085cb..dd318d6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ optdepends=('virt-what: For use with virtual machines' 'systemtap: Disk and net makedepends=('desktop-file-utils') backup=('etc/tuned/active_profile') install="${pkgname}.install" -source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}.tar.gz") +source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") sha256sums=('3cb2aeb9ecebd66a1a1c3aaff9589f5c5402201d16f7caa01acf0b9374ed8724') prepare() { From 68db67cc62b161ff5bf8301aca294e28412fcb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sat, 18 Feb 2023 23:38:32 +0100 Subject: [PATCH 02/15] upgpkg: tuned 2.20.0-1 upstream release --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 6761ce0..d104877 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.19.0 + pkgver = 2.20.0 pkgrel = 1 url = https://github.com/redhat-performance/tuned install = tuned.install @@ -21,7 +21,7 @@ pkgbase = tuned optdepends = virt-what: For use with virtual machines optdepends = systemtap: Disk and net statistic monitoring systemtap scripts backup = etc/tuned/active_profile - source = https://github.com/redhat-performance/tuned/archive/v2.19.0/tuned-2.19.0.tar.gz - sha256sums = 3cb2aeb9ecebd66a1a1c3aaff9589f5c5402201d16f7caa01acf0b9374ed8724 + source = https://github.com/redhat-performance/tuned/archive/v2.20.0/tuned-2.20.0.tar.gz + sha256sums = df32ac7a25f2c413cc39368c8cfaf1d11bf75be14efd0944ecafad8a369e486c pkgname = tuned diff --git a/PKGBUILD b/PKGBUILD index dd318d6..95acc7d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Tom pkgname=tuned -pkgver=2.19.0 +pkgver=2.20.0 pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') @@ -16,7 +16,7 @@ makedepends=('desktop-file-utils') backup=('etc/tuned/active_profile') install="${pkgname}.install" source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('3cb2aeb9ecebd66a1a1c3aaff9589f5c5402201d16f7caa01acf0b9374ed8724') +sha256sums=('df32ac7a25f2c413cc39368c8cfaf1d11bf75be14efd0944ecafad8a369e486c') prepare() { cd "${pkgname}-${pkgver}" From c7ab6570dc767b69a24e4c4bf040f8629abbb7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Fri, 5 May 2023 17:24:45 +0200 Subject: [PATCH 03/15] upgpkg: tuned 2.20.0-2 Trigger rebuild for Python 3.11 --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index d104877..342ae5b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.20.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any diff --git a/PKGBUILD b/PKGBUILD index 95acc7d..3f93ada 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=tuned pkgver=2.20.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgname}" From 8ae859004a72f342c370f279432d70ce659c4553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Tue, 29 Aug 2023 17:44:00 +0200 Subject: [PATCH 04/15] upgpkg: tuned 2.21.0-1 upstream release --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 342ae5b..a66f225 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.20.0 - pkgrel = 2 + pkgver = 2.21.0 + pkgrel = 1 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any @@ -21,7 +21,7 @@ pkgbase = tuned optdepends = virt-what: For use with virtual machines optdepends = systemtap: Disk and net statistic monitoring systemtap scripts backup = etc/tuned/active_profile - source = https://github.com/redhat-performance/tuned/archive/v2.20.0/tuned-2.20.0.tar.gz - sha256sums = df32ac7a25f2c413cc39368c8cfaf1d11bf75be14efd0944ecafad8a369e486c + source = https://github.com/redhat-performance/tuned/archive/v2.21.0/tuned-2.21.0.tar.gz + sha512sums = f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0 pkgname = tuned diff --git a/PKGBUILD b/PKGBUILD index 3f93ada..5247ae4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,8 +4,8 @@ # Contributor: Tom pkgname=tuned -pkgver=2.20.0 -pkgrel=2 +pkgver=2.21.0 +pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgname}" @@ -16,7 +16,7 @@ makedepends=('desktop-file-utils') backup=('etc/tuned/active_profile') install="${pkgname}.install" source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('df32ac7a25f2c413cc39368c8cfaf1d11bf75be14efd0944ecafad8a369e486c') +sha512sums=('f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0') prepare() { cd "${pkgname}-${pkgver}" From 0c2a35fd71c24e9d5eed724551e74954f8a3648d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sat, 17 Feb 2024 09:45:14 +0100 Subject: [PATCH 05/15] upgpkg: tuned 2.22.0-1 upstream release --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a66f225..c54a3d2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.21.0 + pkgver = 2.22.0 pkgrel = 1 url = https://github.com/redhat-performance/tuned install = tuned.install @@ -21,7 +21,7 @@ pkgbase = tuned optdepends = virt-what: For use with virtual machines optdepends = systemtap: Disk and net statistic monitoring systemtap scripts backup = etc/tuned/active_profile - source = https://github.com/redhat-performance/tuned/archive/v2.21.0/tuned-2.21.0.tar.gz - sha512sums = f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0 + source = https://github.com/redhat-performance/tuned/archive/v2.22.0/tuned-2.22.0.tar.gz + sha512sums = 653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc pkgname = tuned diff --git a/PKGBUILD b/PKGBUILD index 5247ae4..bc18719 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Tom pkgname=tuned -pkgver=2.21.0 +pkgver=2.22.0 pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') @@ -16,7 +16,7 @@ makedepends=('desktop-file-utils') backup=('etc/tuned/active_profile') install="${pkgname}.install" source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0') +sha512sums=('653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc') prepare() { cd "${pkgname}-${pkgver}" From 726a3e6965461c0b9d14aa7f5da61765c03fbdac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 21 Feb 2024 19:25:35 +0100 Subject: [PATCH 06/15] upgpkg: tuned 2.22.0-2: add ppd service * Install optional PPD-to-TuneD daemon that translates DBus API calls to power-profiles-daemon into TuneD API calls. --- .SRCINFO | 6 +++--- PKGBUILD | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c54a3d2..701e700 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.22.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any @@ -18,8 +18,8 @@ pkgbase = tuned depends = python-linux-procfs depends = python-perf depends = python-pyudev - optdepends = virt-what: For use with virtual machines - optdepends = systemtap: Disk and net statistic monitoring systemtap scripts + optdepends = virt-what: virtual machine detection + optdepends = systemtap: detailed system monitoring backup = etc/tuned/active_profile source = https://github.com/redhat-performance/tuned/archive/v2.22.0/tuned-2.22.0.tar.gz sha512sums = 653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc diff --git a/PKGBUILD b/PKGBUILD index bc18719..d71e4c4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,13 +5,14 @@ pkgname=tuned pkgver=2.22.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgname}" license=('GPL') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') -optdepends=('virt-what: For use with virtual machines' 'systemtap: Disk and net statistic monitoring systemtap scripts') +optdepends=('virt-what: virtual machine detection' + 'systemtap: detailed system monitoring') makedepends=('desktop-file-utils') backup=('etc/tuned/active_profile') install="${pkgname}.install" @@ -29,7 +30,7 @@ prepare() { package() { cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install install-ppd rm -r "${pkgdir}"/{run,var} python -m compileall -d /usr/lib "${pkgdir}/usr/lib" From cd96c6dbd4d7ed0e4d6ba7d36b4fd60fdf21e110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Thu, 22 Feb 2024 07:36:00 +0100 Subject: [PATCH 07/15] upgpkg: tuned 2.22.0-3: split package * Split package to make ppd service optional since it conflicts with power-profiles-daemon package * Added missing backup files for tuned so that config files may not be overwritten on update --- .SRCINFO | 26 +++++++++++++++++++++----- PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 57 insertions(+), 20 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 701e700..9f308e1 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,8 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.22.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/redhat-performance/tuned - install = tuned.install arch = any license = GPL makedepends = desktop-file-utils @@ -18,10 +17,27 @@ pkgbase = tuned depends = python-linux-procfs depends = python-perf depends = python-pyudev - optdepends = virt-what: virtual machine detection - optdepends = systemtap: detailed system monitoring - backup = etc/tuned/active_profile + options = !emptydirs source = https://github.com/redhat-performance/tuned/archive/v2.22.0/tuned-2.22.0.tar.gz sha512sums = 653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc pkgname = tuned + install = tuned.install + optdepends = virt-what: virtual machine detection + optdepends = systemtap: detailed system monitoring + optdepends = tuned-ppd: power-profiles-daemon api translation + backup = etc/tuned/active_profile + backup = etc/tuned/bootcmdline + backup = etc/tuned/cpu-partitioning-powersave-variables.conf + backup = etc/tuned/cpu-partitioning-variables.conf + backup = etc/tuned/post_loaded_profile + backup = etc/tuned/realtime-variables.conf + backup = etc/tuned/realtime-virtual-guest-variables.conf + backup = etc/tuned/realtime-virtual-host-variables.conf + backup = etc/tuned/tuned-main.conf + +pkgname = tuned-ppd + pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) + depends = tuned + conflicts = power-profiles-daemon + backup = etc/tuned/ppd.conf diff --git a/PKGBUILD b/PKGBUILD index d71e4c4..62194d7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,38 +3,59 @@ # Contributor: Timothée Ravier # Contributor: Tom -pkgname=tuned +pkgbase=tuned +pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.22.0 -pkgrel=2 +pkgrel=3 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') -url="https://github.com/redhat-performance/${pkgname}" +url="https://github.com/redhat-performance/${pkgbase}" license=('GPL') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') -optdepends=('virt-what: virtual machine detection' - 'systemtap: detailed system monitoring') makedepends=('desktop-file-utils') -backup=('etc/tuned/active_profile') -install="${pkgname}.install" -source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +options=('!emptydirs') +source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") sha512sums=('653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc') prepare() { - cd "${pkgname}-${pkgver}" + cd "${pkgbase}-${pkgver}" mv libexec lib sed -i 's/libexec/lib/g' Makefile sed -i 's/sbin/bin/g' Makefile + sed -i 's/install-ppd: install$/install-ppd: install-dirs/' Makefile } -package() { - cd "${pkgname}-${pkgver}" +package_tuned() { + optdepends=('virt-what: virtual machine detection' + 'systemtap: detailed system monitoring' + 'tuned-ppd: power-profiles-daemon api translation') + backup=('etc/tuned/active_profile' + 'etc/tuned/bootcmdline' + 'etc/tuned/cpu-partitioning-powersave-variables.conf' + 'etc/tuned/cpu-partitioning-variables.conf' + 'etc/tuned/post_loaded_profile' + 'etc/tuned/realtime-variables.conf' + 'etc/tuned/realtime-virtual-guest-variables.conf' + 'etc/tuned/realtime-virtual-host-variables.conf' + 'etc/tuned/tuned-main.conf') + install="${pkgbase}.install" - make DESTDIR="${pkgdir}" install install-ppd - rm -r "${pkgdir}"/{run,var} + cd "${pkgbase}-${pkgver}" + + make DESTDIR="${pkgdir}" install python -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib" - - install -Dm644 tuned.service "${pkgdir}/usr/lib/systemd/system/" +} + +package_tuned-ppd() { + pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' + depends=('tuned') + conflicts=('power-profiles-daemon') + backup=('etc/tuned/ppd.conf') + + cd "${pkgbase}-${pkgver}" + + make DESTDIR="${pkgdir}" install-ppd } From bc2f5024db4e503d873e266429e07a53b49e7b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Thu, 22 Feb 2024 14:26:00 +0100 Subject: [PATCH 08/15] upgpkg: tuned 2.22.1-1 upstream release --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9f308e1..0462747 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.22.0 - pkgrel = 3 + pkgver = 2.22.1 + pkgrel = 1 url = https://github.com/redhat-performance/tuned arch = any license = GPL @@ -18,8 +18,8 @@ pkgbase = tuned depends = python-perf depends = python-pyudev options = !emptydirs - source = https://github.com/redhat-performance/tuned/archive/v2.22.0/tuned-2.22.0.tar.gz - sha512sums = 653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc + source = https://github.com/redhat-performance/tuned/archive/v2.22.1/tuned-2.22.1.tar.gz + sha512sums = 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f pkgname = tuned install = tuned.install diff --git a/PKGBUILD b/PKGBUILD index 62194d7..41a2468 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,8 +5,8 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") -pkgver=2.22.0 -pkgrel=3 +pkgver=2.22.1 +pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -15,7 +15,7 @@ depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'pyth makedepends=('desktop-file-utils') options=('!emptydirs') source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") -sha512sums=('653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc') +sha512sums=('160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f') prepare() { cd "${pkgbase}-${pkgver}" From 0cf45016947fb342f8c7f913b76125639f64b443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sat, 27 Apr 2024 20:57:00 +0200 Subject: [PATCH 09/15] upgpkg: tuned 2.22.1-2: rebuild * Trigger rebuild for Python 3.12 --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0462747..55cb52d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.22.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any license = GPL diff --git a/PKGBUILD b/PKGBUILD index 41a2468..f80563c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.22.1 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" From 4c062412e1159a2a7470ce7a431c60d7ec14b9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 9 Jun 2024 17:54:31 +0200 Subject: [PATCH 10/15] upgpkg: tuned 2.23.0-1 upstream release --- .SRCINFO | 9 +++++---- PKGBUILD | 13 +++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 55cb52d..09af01b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.22.1 - pkgrel = 2 + pkgver = 2.23.0 + pkgrel = 1 url = https://github.com/redhat-performance/tuned arch = any license = GPL @@ -18,8 +18,8 @@ pkgbase = tuned depends = python-perf depends = python-pyudev options = !emptydirs - source = https://github.com/redhat-performance/tuned/archive/v2.22.1/tuned-2.22.1.tar.gz - sha512sums = 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f + source = https://github.com/redhat-performance/tuned/archive/v2.23.0/tuned-2.23.0.tar.gz + sha512sums = b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8 pkgname = tuned install = tuned.install @@ -31,6 +31,7 @@ pkgname = tuned backup = etc/tuned/cpu-partitioning-powersave-variables.conf backup = etc/tuned/cpu-partitioning-variables.conf backup = etc/tuned/post_loaded_profile + backup = etc/tuned/profile_mode backup = etc/tuned/realtime-variables.conf backup = etc/tuned/realtime-virtual-guest-variables.conf backup = etc/tuned/realtime-virtual-host-variables.conf diff --git a/PKGBUILD b/PKGBUILD index f80563c..07b5dd4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,8 +5,8 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") -pkgver=2.22.1 -pkgrel=2 +pkgver=2.23.0 +pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') 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') options=('!emptydirs') source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") -sha512sums=('160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f') +sha512sums=('b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8') prepare() { cd "${pkgbase}-${pkgver}" mv libexec lib - sed -i 's/libexec/lib/g' Makefile - sed -i 's/sbin/bin/g' Makefile - sed -i 's/install-ppd: install$/install-ppd: install-dirs/' Makefile + sed -i 's|/libexec/|/lib/|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 } package_tuned() { @@ -35,6 +35,7 @@ package_tuned() { 'etc/tuned/cpu-partitioning-powersave-variables.conf' 'etc/tuned/cpu-partitioning-variables.conf' 'etc/tuned/post_loaded_profile' + 'etc/tuned/profile_mode' 'etc/tuned/realtime-variables.conf' 'etc/tuned/realtime-virtual-guest-variables.conf' 'etc/tuned/realtime-virtual-host-variables.conf' From 448dc0ac1dc23a8b4dcf04761217f1880be83834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 17 Jun 2024 21:19:12 +0200 Subject: [PATCH 11/15] upgpkg: tuned 2.23.0-2: preserve empty config dirs * Fix tuned-gui crash by preserving empty directories in `/etc/tuned` --- .SRCINFO | 4 ++-- PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 09af01b..479c28b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.23.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any license = GPL @@ -17,7 +17,6 @@ pkgbase = tuned depends = python-linux-procfs depends = python-perf depends = python-pyudev - options = !emptydirs source = https://github.com/redhat-performance/tuned/archive/v2.23.0/tuned-2.23.0.tar.gz sha512sums = b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8 @@ -41,4 +40,5 @@ pkgname = tuned-ppd pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) depends = tuned conflicts = power-profiles-daemon + options = !emptydirs backup = etc/tuned/ppd.conf diff --git a/PKGBUILD b/PKGBUILD index 07b5dd4..a0086a1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,14 +6,13 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.23.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" license=('GPL') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') makedepends=('desktop-file-utils') -options=('!emptydirs') source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") sha512sums=('b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8') @@ -45,6 +44,7 @@ package_tuned() { cd "${pkgbase}-${pkgver}" make DESTDIR="${pkgdir}" install + rm -rv "${pkgdir}"/{run,var} python -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib" @@ -55,6 +55,7 @@ package_tuned-ppd() { depends=('tuned') conflicts=('power-profiles-daemon') backup=('etc/tuned/ppd.conf') + options=('!emptydirs') cd "${pkgbase}-${pkgver}" From 897c013335baa1556aef5b15e7504d566ae439c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 21 Jul 2024 07:32:40 +0200 Subject: [PATCH 12/15] Adopt SPDX identifiers for license fields --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 479c28b..f34ad0a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -4,7 +4,7 @@ pkgbase = tuned pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any - license = GPL + license = GPL-2.0-or-later makedepends = desktop-file-utils depends = dbus-glib depends = ethtool diff --git a/PKGBUILD b/PKGBUILD index a0086a1..8149569 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" -license=('GPL') +license=('GPL-2.0-or-later') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') makedepends=('desktop-file-utils') source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") From 721a8fe264ae0b03cd90822eacbb26c5994e9c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 7 Aug 2024 23:10:00 +0200 Subject: [PATCH 13/15] upgpkg: tuned 2.24.0-1 upstream release --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f34ad0a..67444b9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.23.0 - pkgrel = 2 + pkgver = 2.24.0 + pkgrel = 1 url = https://github.com/redhat-performance/tuned arch = any license = GPL-2.0-or-later @@ -17,8 +17,8 @@ pkgbase = tuned depends = python-linux-procfs depends = python-perf depends = python-pyudev - source = https://github.com/redhat-performance/tuned/archive/v2.23.0/tuned-2.23.0.tar.gz - sha512sums = b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8 + source = https://github.com/redhat-performance/tuned/archive/v2.24.0/tuned-2.24.0.tar.gz + sha512sums = d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e pkgname = tuned install = tuned.install diff --git a/PKGBUILD b/PKGBUILD index 8149569..cd7f9f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,8 +5,8 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") -pkgver=2.23.0 -pkgrel=2 +pkgver=2.24.0 +pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -14,7 +14,7 @@ license=('GPL-2.0-or-later') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') makedepends=('desktop-file-utils') source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz") -sha512sums=('b7d95b17ab38ac944e6e5b8b4345ddf65120a03ebb73cdb1795525c237852a8fa4223dcef6ce28189874e5010c8076816bd3646fd7f700983f2449400a2057d8') +sha512sums=('d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e') prepare() { cd "${pkgbase}-${pkgver}" From d108f6d8af862f9db2928c51d583eb69ed447898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 9 Oct 2024 22:44:18 +0200 Subject: [PATCH 14/15] upgpkg: tuned 2.24.0-2 * Add wireless_tools as optional dependency * Make tuned-ppd provide power-profiles-daemon --- .SRCINFO | 4 +++- PKGBUILD | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 67444b9..c946156 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.24.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any license = GPL-2.0-or-later @@ -25,6 +25,7 @@ pkgname = tuned optdepends = virt-what: virtual machine detection optdepends = systemtap: detailed system monitoring optdepends = tuned-ppd: power-profiles-daemon api translation + optdepends = wireless_tools: wireless device power management backup = etc/tuned/active_profile backup = etc/tuned/bootcmdline backup = etc/tuned/cpu-partitioning-powersave-variables.conf @@ -39,6 +40,7 @@ pkgname = tuned pkgname = tuned-ppd pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) depends = tuned + provides = power-profiles-daemon conflicts = power-profiles-daemon options = !emptydirs backup = etc/tuned/ppd.conf diff --git a/PKGBUILD b/PKGBUILD index cd7f9f6..0b74b94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.24.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -28,7 +28,8 @@ prepare() { package_tuned() { optdepends=('virt-what: virtual machine detection' 'systemtap: detailed system monitoring' - 'tuned-ppd: power-profiles-daemon api translation') + 'tuned-ppd: power-profiles-daemon api translation' + 'wireless_tools: wireless device power management') backup=('etc/tuned/active_profile' 'etc/tuned/bootcmdline' 'etc/tuned/cpu-partitioning-powersave-variables.conf' @@ -53,6 +54,7 @@ package_tuned() { package_tuned-ppd() { pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' depends=('tuned') + provides=('power-profiles-daemon') conflicts=('power-profiles-daemon') backup=('etc/tuned/ppd.conf') options=('!emptydirs') From 251adcc2d9f661e2ff18d7797aa0f1f3d67a1e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Thu, 10 Oct 2024 11:59:45 +0200 Subject: [PATCH 15/15] upgpkg: tuned 2.24.0-3: remove install file --- .SRCINFO | 3 +-- PKGBUILD | 3 +-- tuned.install | 7 ------- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 tuned.install diff --git a/.SRCINFO b/.SRCINFO index c946156..f1ede23 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.24.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/redhat-performance/tuned arch = any license = GPL-2.0-or-later @@ -21,7 +21,6 @@ pkgbase = tuned sha512sums = d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e pkgname = tuned - install = tuned.install optdepends = virt-what: virtual machine detection optdepends = systemtap: detailed system monitoring optdepends = tuned-ppd: power-profiles-daemon api translation diff --git a/PKGBUILD b/PKGBUILD index 0b74b94..ee2408d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.24.0 -pkgrel=2 +pkgrel=3 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -40,7 +40,6 @@ package_tuned() { 'etc/tuned/realtime-virtual-guest-variables.conf' 'etc/tuned/realtime-virtual-host-variables.conf' 'etc/tuned/tuned-main.conf') - install="${pkgbase}.install" cd "${pkgbase}-${pkgver}" diff --git a/tuned.install b/tuned.install deleted file mode 100644 index 974c867..0000000 --- a/tuned.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - systemd-tmpfiles --create tuned.conf -} - -pre_remove() { - systemd-tmpfiles --remove tuned.conf -}