From a22a54b95a1bea761081b7e391ea3d51174dec90 Mon Sep 17 00:00:00 2001 From: icebal Date: Tue, 20 Nov 2018 18:11:57 -0600 Subject: [PATCH 1/9] updated PKGBUILD and dependancies --- .SRCINFO | 17 +++++++++-------- PKGBUILD | 15 ++++++--------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a2238ee..16d5c6c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,24 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.5.0.r6.ge32bd6b + pkgver = v2.10.0.r40.gb9e1316 pkgrel = 1 - url = https://fedorahosted.org/tuned/ + url = https://github.com/redhat-performance/tuned install = tuned.install arch = any license = GPL makedepends = git depends = ethtool - depends = python2-configobj - depends = python2-pyudev - depends = python2-gobject2 - depends = python2-decorator - depends = python2-dbus + depends = python-configobj + depends = python-pyudev + depends = python-gobject2 + depends = python-decorator + depends = python-dbus + depends = python-dmidecode optdepends = virt-what optdepends = systemtap provides = tuned backup = etc/tuned/active_profile - source = tuned-git::git://git.fedorahosted.org/git/tuned.git + source = tuned-git::git://github.com/redhat-performance/tuned sha256sums = SKIP pkgname = tuned-git diff --git a/PKGBUILD b/PKGBUILD index f6af3e6..20511aa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,21 @@ -# Maintainer: Timothée Ravier < tim at siosm dot fr > +# Maintainer: Wes Jackson < icebal dot 7 at gmail dot com > # Contributor: Tom < reztho at archlinux dot org > pkgname=tuned-git -pkgver=2.5.0.r6.ge32bd6b +pkgver=v2.10.0.r40.gb9e1316 pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') -url='https://fedorahosted.org/tuned/' +url='https://github.com/redhat-performance/tuned' license=('GPL') -depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2' - 'python2-decorator' 'python2-dbus') +depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject2' + 'python-decorator' 'python-dbus' 'python-dmidecode') optdepends=('virt-what' 'systemtap') makedepends=('git') provides=('tuned') backup=('etc/tuned/active_profile') install="${pkgname/-git}.install" -source=("${pkgname}::git://git.fedorahosted.org/git/${pkgname/-/.}") +source=("${pkgname}::git://github.com/redhat-performance/tuned") sha256sums=('SKIP') pkgver() { @@ -32,9 +32,6 @@ package() { mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/ mv "${pkgdir}"/usr/libexec/tuned/* "${pkgdir}"/usr/lib/tuned/ rm -r "${pkgdir}"/run "${pkgdir}"/usr/sbin "${pkgdir}"/usr/libexec - - find "${pkgdir}"/usr/bin/ -type f -exec sed -i 's@#!/usr/bin/python@#!/usr/bin/python2@' {} \; - install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service } From a8c7e56571abcc7559acdce47cb33324114753dd Mon Sep 17 00:00:00 2001 From: icebal Date: Wed, 9 Jan 2019 21:55:16 -0600 Subject: [PATCH 2/9] fixed deps --- .SRCINFO | 12 +++++++++--- PKGBUILD | 9 ++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 16d5c6c..b6b6b1b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = v2.10.0.r40.gb9e1316 - pkgrel = 1 + pkgver = 2.10.0.r75.g26db89d + pkgrel = 2 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any @@ -13,9 +13,15 @@ pkgbase = tuned-git depends = python-gobject2 depends = python-decorator depends = python-dbus - depends = python-dmidecode + depends = python-schedutils + depends = python-linux-procfs + depends = python-perf + depends = hdparm + depends = polkit + depends = hicolor-icon-theme optdepends = virt-what optdepends = systemtap + optdepends = python-dmidecode provides = tuned backup = etc/tuned/active_profile source = tuned-git::git://github.com/redhat-performance/tuned diff --git a/PKGBUILD b/PKGBUILD index 20511aa..26e5b27 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,15 +2,14 @@ # Contributor: Tom < reztho at archlinux dot org > pkgname=tuned-git -pkgver=v2.10.0.r40.gb9e1316 -pkgrel=1 +pkgver=2.10.0.r75.g26db89d +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url='https://github.com/redhat-performance/tuned' license=('GPL') -depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject2' - 'python-decorator' 'python-dbus' 'python-dmidecode') -optdepends=('virt-what' 'systemtap') +depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject2' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'python-perf' 'hdparm' 'polkit' 'hicolor-icon-theme') +optdepends=('virt-what' 'systemtap' 'python-dmidecode') makedepends=('git') provides=('tuned') backup=('etc/tuned/active_profile') From f59c17b2265f7ff28e6e032a4bf0ecaaf1ff0dde Mon Sep 17 00:00:00 2001 From: icebal Date: Sat, 12 Jan 2019 17:21:05 -0600 Subject: [PATCH 3/9] added more makedepends and optdeps --- .SRCINFO | 6 ++++-- PKGBUILD | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b6b6b1b..73ebdde 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,17 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.10.0.r75.g26db89d - pkgrel = 2 + pkgrel = 3 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any license = GPL makedepends = git + makedepends = desktop-file-utils depends = ethtool depends = python-configobj depends = python-pyudev - depends = python-gobject2 + depends = python-gobject depends = python-decorator depends = python-dbus depends = python-schedutils @@ -22,6 +23,7 @@ pkgbase = tuned-git optdepends = virt-what optdepends = systemtap optdepends = python-dmidecode + optdepends = x86_energy_perf_policy provides = tuned backup = etc/tuned/active_profile source = tuned-git::git://github.com/redhat-performance/tuned diff --git a/PKGBUILD b/PKGBUILD index 26e5b27..85b1a08 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,14 +3,14 @@ pkgname=tuned-git pkgver=2.10.0.r75.g26db89d -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/tuned' license=('GPL') -depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject2' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'python-perf' 'hdparm' 'polkit' 'hicolor-icon-theme') -optdepends=('virt-what' 'systemtap' 'python-dmidecode') -makedepends=('git') +depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'python-perf' 'hdparm' 'polkit' 'hicolor-icon-theme') +optdepends=('virt-what' 'systemtap' 'python-dmidecode' 'x86_energy_perf_policy') +makedepends=('git' 'desktop-file-utils') provides=('tuned') backup=('etc/tuned/active_profile') install="${pkgname/-git}.install" From 4f103da55165bcb04fe300281b43ff6e1f11824b Mon Sep 17 00:00:00 2001 From: icebal Date: Thu, 17 Jan 2019 12:12:27 -0600 Subject: [PATCH 4/9] updated depends --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 73ebdde..962694f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.10.0.r75.g26db89d - pkgrel = 3 + pkgrel = 4 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any @@ -16,7 +16,7 @@ pkgbase = tuned-git depends = python-dbus depends = python-schedutils depends = python-linux-procfs - depends = python-perf + depends = perf depends = hdparm depends = polkit depends = hicolor-icon-theme diff --git a/PKGBUILD b/PKGBUILD index 85b1a08..be6f5f5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,12 +3,12 @@ pkgname=tuned-git pkgver=2.10.0.r75.g26db89d -pkgrel=3 +pkgrel=4 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url='https://github.com/redhat-performance/tuned' license=('GPL') -depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'python-perf' 'hdparm' 'polkit' 'hicolor-icon-theme') +depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'perf' 'hdparm' 'polkit' 'hicolor-icon-theme') optdepends=('virt-what' 'systemtap' 'python-dmidecode' 'x86_energy_perf_policy') makedepends=('git' 'desktop-file-utils') provides=('tuned') From 997cf996cef383dd9b373cf1c1421e8b7c328f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 21 Oct 2024 23:44:42 +0200 Subject: [PATCH 5/9] Deleted package: tuned Moved to [extra] --- tuned/.SRCINFO | 45 ----------------------------------- tuned/PKGBUILD | 64 -------------------------------------------------- 2 files changed, 109 deletions(-) delete mode 100644 tuned/.SRCINFO delete mode 100644 tuned/PKGBUILD diff --git a/tuned/.SRCINFO b/tuned/.SRCINFO deleted file mode 100644 index f1ede23..0000000 --- a/tuned/.SRCINFO +++ /dev/null @@ -1,45 +0,0 @@ -pkgbase = tuned - pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.24.0 - pkgrel = 3 - url = https://github.com/redhat-performance/tuned - arch = any - license = GPL-2.0-or-later - makedepends = desktop-file-utils - depends = dbus-glib - depends = ethtool - depends = gawk - depends = hdparm - depends = polkit - depends = python-configobj - depends = python-dbus - depends = python-gobject - depends = python-linux-procfs - depends = python-perf - depends = python-pyudev - source = https://github.com/redhat-performance/tuned/archive/v2.24.0/tuned-2.24.0.tar.gz - sha512sums = d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e - -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 - 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 - 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 - provides = power-profiles-daemon - conflicts = power-profiles-daemon - options = !emptydirs - backup = etc/tuned/ppd.conf diff --git a/tuned/PKGBUILD b/tuned/PKGBUILD deleted file mode 100644 index ee2408d..0000000 --- a/tuned/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer: Manuel Hüsers -# Contributor: Iwan Timmer -# Contributor: Timothée Ravier -# Contributor: Tom - -pkgbase=tuned -pkgname=("${pkgbase}" "${pkgbase}-ppd") -pkgver=2.24.0 -pkgrel=3 -pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' -arch=('any') -url="https://github.com/redhat-performance/${pkgbase}" -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=('d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e') - -prepare() { - cd "${pkgbase}-${pkgver}" - mv libexec lib - - 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() { - optdepends=('virt-what: virtual machine detection' - 'systemtap: detailed system monitoring' - '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' - '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' - 'etc/tuned/tuned-main.conf') - - 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" -} - -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') - - cd "${pkgbase}-${pkgver}" - - make DESTDIR="${pkgdir}" install-ppd -} From c515f3e3ba91153d4dbe96b1dc748022240696ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 21 Oct 2024 23:45:11 +0200 Subject: [PATCH 6/9] Deleted package: systemtap Moved to [extra] --- systemtap/.SRCINFO | 23 ---------------- systemtap/PKGBUILD | 52 ------------------------------------- systemtap/systemtap.install | 18 ------------- 3 files changed, 93 deletions(-) delete mode 100644 systemtap/.SRCINFO delete mode 100644 systemtap/PKGBUILD delete mode 100644 systemtap/systemtap.install diff --git a/systemtap/.SRCINFO b/systemtap/.SRCINFO deleted file mode 100644 index e200204..0000000 --- a/systemtap/.SRCINFO +++ /dev/null @@ -1,23 +0,0 @@ -pkgbase = systemtap - pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system - pkgver = 5.1 - pkgrel = 1 - url = https://sourceware.org/systemtap/ - install = systemtap.install - arch = x86_64 - license = GPL-2.0-or-later - makedepends = python-setuptools - makedepends = xmlto - depends = elfutils - depends = nss - depends = python - depends = cpio - optdepends = sqlite3: for storing results in a database - options = !emptydirs - source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz - source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz.asc - validpgpkeys = 41A0C11274B1E87FE28E4C53E3D77E1F95161991 - sha512sums = da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f - sha512sums = SKIP - -pkgname = systemtap diff --git a/systemtap/PKGBUILD b/systemtap/PKGBUILD deleted file mode 100644 index f7222fe..0000000 --- a/systemtap/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer: Manuel Hüsers -# Contributor: Christian Pellegrin (chripell) -# Contributor: An Nguyen (stk) -# Contributor: George Angelopoulos -# Contributor: Christian Rebischke -# Contributor: dront78 - -pkgname=systemtap -pkgver=5.1 -pkgrel=1 -pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system" -url="https://sourceware.org/systemtap/" -arch=('x86_64') -license=('GPL-2.0-or-later') -depends=('elfutils' 'nss' 'python' 'cpio') -makedepends=('python-setuptools' 'xmlto') -optdepends=('sqlite3: for storing results in a database') -options=('!emptydirs') -install="${pkgname}.install" -source=("https://sourceware.org/ftp/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha512sums=('da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f' - 'SKIP') - -validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991') - -build() { - cd "${pkgname}-${pkgver}" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib/"${pkgname}" \ - --libdir=/usr/lib/"${pkgname}" \ - --mandir=/usr/share/man/ \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --enable-pie \ - --disable-docs \ - --enable-htmldocs \ - --with-python3 - make -} - -check() { - cd "${pkgname}-${pkgver}" - make check -} - -package() { - cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - rm -r "${pkgdir}/usr/include/sys" -} diff --git a/systemtap/systemtap.install b/systemtap/systemtap.install deleted file mode 100644 index f39e7c3..0000000 --- a/systemtap/systemtap.install +++ /dev/null @@ -1,18 +0,0 @@ -post_install() { - getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr - getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys - getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev - - getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf - chmod 04110 /usr/bin/stapbpf - - getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun - chmod 04110 /usr/bin/staprun - - echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile" - echo "the kernel with CONFIG_DEBUG_INFO enabled." -} - -post_upgrade() { - post_install $1 -} From 1150336506ae99cb684ac64f8511f3304c273574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Tue, 22 Oct 2024 00:10:47 +0200 Subject: [PATCH 7/9] upgpkg: tuned-git 2.24.0.r6.g35eed3c-1: refactor * Refactor of PKGBUILD for parity with non-git package --- tuned-git/.SRCINFO | 61 +++++++++++++++++---------- tuned-git/PKGBUILD | 92 +++++++++++++++++++++++++++++------------ tuned-git/tuned.install | 3 -- 3 files changed, 104 insertions(+), 52 deletions(-) delete mode 100644 tuned-git/tuned.install diff --git a/tuned-git/.SRCINFO b/tuned-git/.SRCINFO index 962694f..e9eb87d 100644 --- a/tuned-git/.SRCINFO +++ b/tuned-git/.SRCINFO @@ -1,33 +1,50 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.10.0.r75.g26db89d - pkgrel = 4 + pkgver = 2.24.0.r6.g35eed3c + pkgrel = 1 url = https://github.com/redhat-performance/tuned - install = tuned.install arch = any - license = GPL - makedepends = git + license = GPL-2.0-or-later makedepends = desktop-file-utils + makedepends = git + depends = dbus-glib depends = ethtool - depends = python-configobj - depends = python-pyudev - depends = python-gobject - depends = python-decorator - depends = python-dbus - depends = python-schedutils - depends = python-linux-procfs - depends = perf + depends = gawk depends = hdparm depends = polkit - depends = hicolor-icon-theme - optdepends = virt-what - optdepends = systemtap - optdepends = python-dmidecode - optdepends = x86_energy_perf_policy - provides = tuned - backup = etc/tuned/active_profile - source = tuned-git::git://github.com/redhat-performance/tuned - sha256sums = SKIP + depends = python-configobj + depends = python-dbus + depends = python-gobject + depends = python-linux-procfs + depends = python-perf + depends = python-pyudev + source = git+https://github.com/redhat-performance/tuned.git + sha512sums = SKIP pkgname = tuned-git + 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 + provides = tuned + conflicts = tuned + 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/profile_mode + 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-git + pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) + depends = tuned + provides = tuned-ppd + provides = power-profiles-daemon + conflicts = tuned-ppd + conflicts = power-profiles-daemon + options = !emptydirs + backup = etc/tuned/ppd.conf diff --git a/tuned-git/PKGBUILD b/tuned-git/PKGBUILD index be6f5f5..946233b 100644 --- a/tuned-git/PKGBUILD +++ b/tuned-git/PKGBUILD @@ -1,37 +1,75 @@ -# Maintainer: Wes Jackson < icebal dot 7 at gmail dot com > -# Contributor: Tom < reztho at archlinux dot org > +# Maintainer: Manuel Hüsers +# Contributor: Wes Jackson +# Contributor: Iwan Timmer +# Contributor: Timothée Ravier +# Contributor: Tom -pkgname=tuned-git -pkgver=2.10.0.r75.g26db89d -pkgrel=4 +_pkgbase=tuned +pkgbase="${_pkgbase}-git" +pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git") +pkgver=2.24.0.r6.g35eed3c +pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') -url='https://github.com/redhat-performance/tuned' -license=('GPL') -depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject' 'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'perf' 'hdparm' 'polkit' 'hicolor-icon-theme') -optdepends=('virt-what' 'systemtap' 'python-dmidecode' 'x86_energy_perf_policy') -makedepends=('git' 'desktop-file-utils') -provides=('tuned') -backup=('etc/tuned/active_profile') -install="${pkgname/-git}.install" -source=("${pkgname}::git://github.com/redhat-performance/tuned") -sha256sums=('SKIP') +url="https://github.com/redhat-performance/${_pkgbase}" +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' 'git') +source=("git+${url}.git") +sha512sums=('SKIP') pkgver() { - cd ${pkgname} - local ver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g') - printf "%s\n" "${ver:1}" + cd "${_pkgbase}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/^v//g;s/-/./g' } -package() { - cd ${pkgname} +prepare() { + cd "${_pkgbase}" + mv libexec lib - make DESTDIR="${pkgdir}" install - - mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/ - mv "${pkgdir}"/usr/libexec/tuned/* "${pkgdir}"/usr/lib/tuned/ - rm -r "${pkgdir}"/run "${pkgdir}"/usr/sbin "${pkgdir}"/usr/libexec - install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service + 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 } -# vim:set ts=2 sw=2 et: +package_tuned-git() { + optdepends=('virt-what: virtual machine detection' + 'systemtap: detailed system monitoring' + 'tuned-ppd: power-profiles-daemon api translation' + 'wireless_tools: wireless device power management') + provides=("${_pkgbase}") + conflicts=("${_pkgbase}") + 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/profile_mode' + 'etc/tuned/realtime-variables.conf' + 'etc/tuned/realtime-virtual-guest-variables.conf' + 'etc/tuned/realtime-virtual-host-variables.conf' + 'etc/tuned/tuned-main.conf') + + cd "${_pkgbase}" + + 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" +} + +package_tuned-ppd-git() { + pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' + depends=("${_pkgbase}") + provides=("${_pkgbase}-ppd" 'power-profiles-daemon') + conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon') + backup=('etc/tuned/ppd.conf') + options=('!emptydirs') + + cd "${_pkgbase}" + + make DESTDIR="${pkgdir}" install-ppd +} diff --git a/tuned-git/tuned.install b/tuned-git/tuned.install deleted file mode 100644 index dbe414b..0000000 --- a/tuned-git/tuned.install +++ /dev/null @@ -1,3 +0,0 @@ -post_install() { - systemd-tmpfiles --create tuned.conf -} From ecbe182fe134214d3c64f1d18b86506d0983eeea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Tue, 22 Oct 2024 00:14:04 +0200 Subject: [PATCH 8/9] upgpkg: discord-electron 0.0.72-1 upstream release --- discord-electron/.SRCINFO | 8 ++++---- discord-electron/PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/discord-electron/.SRCINFO b/discord-electron/.SRCINFO index 7005887..09a0d71 100644 --- a/discord-electron/.SRCINFO +++ b/discord-electron/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = discord-electron pkgdesc = Discord using system provided electron (v33) for increased security and performance - pkgver = 0.0.71 - pkgrel = 2 + pkgver = 0.0.72 + pkgrel = 1 url = https://discord.com install = discord-electron.install arch = x86_64 @@ -18,10 +18,10 @@ pkgbase = discord-electron provides = discord conflicts = discord options = !strip - source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz + source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz source = discord-launcher.sh source = krisp-patcher.py - sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93 + sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424 sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666 sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c diff --git a/discord-electron/PKGBUILD b/discord-electron/PKGBUILD index 7eb2e88..5bba7ca 100644 --- a/discord-electron/PKGBUILD +++ b/discord-electron/PKGBUILD @@ -1,7 +1,7 @@ pkgname=discord-electron _pkgname=discord -pkgver=0.0.71 -pkgrel=2 +pkgver=0.0.72 +pkgrel=1 _electronver=33 _electronname="electron${_electronver}" pkgdesc="Discord using system provided electron (v${_electronver}) for increased security and performance" @@ -24,7 +24,7 @@ optdepends=( source=("https://dl.discordapp.net/apps/linux/${pkgver}/${_pkgname}-${pkgver}.tar.gz" 'discord-launcher.sh' 'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py -sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93' +sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424' '4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666' '42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c') From a66a4a7981e3fd931b67deb644df325e42b87ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Tue, 22 Oct 2024 00:14:11 +0200 Subject: [PATCH 9/9] upgpkg: discord-electron-openasar 0.0.72+830-1 upstream release --- discord-electron-openasar/.SRCINFO | 8 ++++---- discord-electron-openasar/PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/discord-electron-openasar/.SRCINFO b/discord-electron-openasar/.SRCINFO index 09d0727..9e4ddc0 100644 --- a/discord-electron-openasar/.SRCINFO +++ b/discord-electron-openasar/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = discord-electron-openasar pkgdesc = Discord packaged with OpenAsar using system provided electron (v33) for increased security and performance - pkgver = 0.0.71+830 - pkgrel = 2 + pkgver = 0.0.72+830 + pkgrel = 1 url = https://discord.com install = discord-electron-openasar.install arch = x86_64 @@ -21,11 +21,11 @@ pkgbase = discord-electron-openasar provides = discord conflicts = discord options = !strip - source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz + source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz source = discord-launcher.sh source = krisp-patcher.py source = git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c - sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93 + sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424 sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666 sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c sha512sums = 4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573 diff --git a/discord-electron-openasar/PKGBUILD b/discord-electron-openasar/PKGBUILD index 475653a..8056913 100644 --- a/discord-electron-openasar/PKGBUILD +++ b/discord-electron-openasar/PKGBUILD @@ -2,9 +2,9 @@ pkgname=discord-electron-openasar _pkgname=discord -pkgver=0.0.71+830 +pkgver=0.0.72+830 _pkgver=${pkgver%%+*} -pkgrel=2 +pkgrel=1 _electronver=33 _electronname="electron${_electronver}" pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electronver}) for increased security and performance" @@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/${_pkgname}-${_pkgver}. 'discord-launcher.sh' 'krisp-patcher.py' # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py "git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c") -sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93' +sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424' '4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666' '42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c' '4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573')