From a22a54b95a1bea761081b7e391ea3d51174dec90 Mon Sep 17 00:00:00 2001 From: icebal Date: Tue, 20 Nov 2018 18:11:57 -0600 Subject: [PATCH 1/4] 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/4] 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/4] 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/4] 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')