[arch-commits] Commit in linux-tools/repos (10 files)
Date: Monday, November 16, 2020 @ 16:54:34 Author: foutrelis Revision: 755400 archrelease: copy trunk to community-staging-x86_64 Added: linux-tools/repos/community-staging-x86_64/ linux-tools/repos/community-staging-x86_64/PKGBUILD (from rev 755399, linux-tools/trunk/PKGBUILD) linux-tools/repos/community-staging-x86_64/cpupower.default (from rev 755399, linux-tools/trunk/cpupower.default) linux-tools/repos/community-staging-x86_64/cpupower.install (from rev 755399, linux-tools/trunk/cpupower.install) linux-tools/repos/community-staging-x86_64/cpupower.service (from rev 755399, linux-tools/trunk/cpupower.service) linux-tools/repos/community-staging-x86_64/cpupower.systemd (from rev 755399, linux-tools/trunk/cpupower.systemd) linux-tools/repos/community-staging-x86_64/hv_fcopy_daemon.service (from rev 755399, linux-tools/trunk/hv_fcopy_daemon.service) linux-tools/repos/community-staging-x86_64/hv_kvp_daemon.service (from rev 755399, linux-tools/trunk/hv_kvp_daemon.service) linux-tools/repos/community-staging-x86_64/hv_vss_daemon.service (from rev 755399, linux-tools/trunk/hv_vss_daemon.service) linux-tools/repos/community-staging-x86_64/usbipd.service (from rev 755399, linux-tools/trunk/usbipd.service) -+ PKGBUILD| 308 ++ cpupower.default| 29 cpupower.install| 13 + cpupower.service| 12 + cpupower.systemd| 32 hv_fcopy_daemon.service |9 + hv_kvp_daemon.service |9 + hv_vss_daemon.service |9 + usbipd.service |9 + 9 files changed, 430 insertions(+) Copied: linux-tools/repos/community-staging-x86_64/PKGBUILD (from rev 755399, linux-tools/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-16 16:54:34 UTC (rev 755400) @@ -0,0 +1,308 @@ +# Maintainer: Sébastien Luttringer + +pkgbase=linux-tools +pkgname=( + 'bpf' + 'cgroup_event_listener' + 'cpupower' + 'hyperv' + 'libtraceevent' + 'linux-tools-meta' + 'perf' +# 'python-perf' + 'tmon' + 'turbostat' + 'usbip' + 'x86_energy_perf_policy' +) +pkgver=5.9 +pkgrel=2 +license=('GPL2') +arch=('x86_64') +url='https://www.kernel.org' +options=('!strip') +makedepends=('git') +# split packages need all package dependencies set manually in makedepends +# kernel source deps +makedepends+=('asciidoc' 'xmlto') +# perf deps +makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 'gtk2') +# cpupower deps +makedepends+=('pciutils') +# usbip deps +makedepends+=('glib2' 'sysfsutils' 'udev') +# tmon deps +makedepends+=('ncurses') +# bpf deps +makedepends+=('python-docutils') +groups=("$pkgbase") +source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}; +"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz; + "$pkgname-$pkgver-perf-visibility.patch::https://github.com/torvalds/linux/commit/d0e7b0c71fbb.patch; +'cpupower.default' +'cpupower.systemd' +'cpupower.service' +'usbipd.service' +'hv_fcopy_daemon.service' +'hv_kvp_daemon.service' +'hv_vss_daemon.service') +sha256sums=('SKIP' +'7edb7b9d06b02f9b88d868c74ab618baf899c94edb19a73291f640dbea55c312' +'f29c9f8fc2db88856f02738b4af36c16127e22e2fa5d06f2113784b741011d3c' +'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f' +'b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a' +'42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2' +'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f' +'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8' +'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61' +'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af') + +prepare() { + cd linux + + # apply patch from the source array (should be a pacman feature) + local src + for src in "${source[@]}"; do +src="${src%%::*}" +src="${src##*/}" +src="${src%.xz}" +[[ $src = *.patch || $src = patch-* ]] || continue +echo ":: Applying patch $src" +patch -p1 -N -i "$srcdir/$src" + done +} + +build() { + echo ':: libtraceevent' + pushd linux/tools/lib/traceevent + make + popd + + echo ':: perf' + pushd linux/tools/perf + make -f Makefile.perf \ +prefix=/usr \ +lib=lib/perf \ +perfexecdir=lib/perf \ +NO_SDT=1 \ +PYTHON=python \ +PYTHON_CONFIG=python-config \ +PERF_VERSION=$pkgver-$pkgrel \ +DESTDIR="$pkgdir" + popd + + echo ':: cpupower' + pushd linux/tools/power/cpupower + make VERSION=$pkgver-$pkgrel + popd + + echo ':: x86_energy_perf_policy' + pushd
[arch-commits] Commit in linux-tools/repos (10 files)
Date: Tuesday, December 3, 2019 @ 01:21:08 Author: heftig Revision: 534920 archrelease: copy trunk to community-testing-x86_64 Added: linux-tools/repos/community-testing-x86_64/ linux-tools/repos/community-testing-x86_64/PKGBUILD (from rev 534919, linux-tools/trunk/PKGBUILD) linux-tools/repos/community-testing-x86_64/cpupower.default (from rev 534919, linux-tools/trunk/cpupower.default) linux-tools/repos/community-testing-x86_64/cpupower.install (from rev 534919, linux-tools/trunk/cpupower.install) linux-tools/repos/community-testing-x86_64/cpupower.service (from rev 534919, linux-tools/trunk/cpupower.service) linux-tools/repos/community-testing-x86_64/cpupower.systemd (from rev 534919, linux-tools/trunk/cpupower.systemd) linux-tools/repos/community-testing-x86_64/hv_fcopy_daemon.service (from rev 534919, linux-tools/trunk/hv_fcopy_daemon.service) linux-tools/repos/community-testing-x86_64/hv_kvp_daemon.service (from rev 534919, linux-tools/trunk/hv_kvp_daemon.service) linux-tools/repos/community-testing-x86_64/hv_vss_daemon.service (from rev 534919, linux-tools/trunk/hv_vss_daemon.service) linux-tools/repos/community-testing-x86_64/usbipd.service (from rev 534919, linux-tools/trunk/usbipd.service) -+ PKGBUILD| 304 ++ cpupower.default| 29 cpupower.install| 13 + cpupower.service| 11 + cpupower.systemd| 30 hv_fcopy_daemon.service |9 + hv_kvp_daemon.service |9 + hv_vss_daemon.service |9 + usbipd.service |9 + 9 files changed, 423 insertions(+) Copied: linux-tools/repos/community-testing-x86_64/PKGBUILD (from rev 534919, linux-tools/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-12-03 01:21:08 UTC (rev 534920) @@ -0,0 +1,304 @@ +# Maintainer: Sébastien Luttringer + +pkgbase=linux-tools +pkgname=( + 'bpf' + 'cgroup_event_listener' + 'cpupower' + 'hyperv' + 'libtraceevent' + 'linux-tools-meta' + 'perf' +# 'python-perf' + 'tmon' + 'turbostat' + 'usbip' + 'x86_energy_perf_policy' +) +pkgver=5.4 +pkgrel=3 +license=('GPL2') +arch=('x86_64') +url='https://www.kernel.org' +options=('!strip') +makedepends=('git') +# split packages need all package dependencies set manually in makedepends +# kernel source deps +makedepends+=('asciidoc' 'xmlto') +# perf deps +makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 'gtk2') +# cpupower deps +makedepends+=('pciutils') +# usbip deps +makedepends+=('glib2' 'sysfsutils' 'udev') +# tmon deps +makedepends+=('ncurses') +# bpf deps +makedepends+=('python-docutils') +groups=("$pkgbase") +source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}; +"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz; +'cpupower.default' +'cpupower.systemd' +'cpupower.service' +'usbipd.service' +'hv_fcopy_daemon.service' +'hv_kvp_daemon.service' +'hv_vss_daemon.service') +sha256sums=('SKIP' +'78f08a9d16bc88f1478c560bd9a3a71be6e2af1bbd5f6ff60771fa1e14b74705' +'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f' +'d2e8e5e8b22c6089a91f573aa1c59e442a1f3b67a2c9f047abe3b57d3d6558cc' +'fa2560630576464739ede14c9292249f4007f36a684bc378add174fc88394550' +'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f' +'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8' +'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61' +'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af') + +prepare() { + cd linux + + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do +filename="${filename##*/}" +if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch $filename" + patch -p1 -N -i "$srcdir/$filename" +elif [[ "$filename" =~ ^patch- ]]; then + msg2 "Applying linux $filename" + patch -p1 -N -i "$srcdir/${filename%.*}" +fi + done +} + +build() { + msg2 'libtraceevent' + pushd linux/tools/lib/traceevent + make + popd + + msg2 'perf' + pushd linux/tools/perf + make -f Makefile.perf \ +prefix=/usr \ +lib=lib/perf \ +perfexecdir=lib/perf \ +NO_SDT=1 \ +PYTHON=python \ +PYTHON_CONFIG=python-config \ +PERF_VERSION=$pkgver-$pkgrel \ +DESTDIR="$pkgdir" + popd + + msg2 'cpupower' + pushd linux/tools/power/cpupower + make VERSION=$pkgver-$pkgrel + popd + + msg2 'x86_energy_perf_policy' + pushd linux/tools/power/x86/x86_energy_perf_policy + make + popd + + msg2 'usbip' + pushd
[arch-commits] Commit in linux-tools/repos (10 files)
Date: Monday, November 4, 2019 @ 08:32:00 Author: foutrelis Revision: 523762 archrelease: copy trunk to community-staging-x86_64 Added: linux-tools/repos/community-staging-x86_64/ linux-tools/repos/community-staging-x86_64/PKGBUILD (from rev 523761, linux-tools/trunk/PKGBUILD) linux-tools/repos/community-staging-x86_64/cpupower.default (from rev 523761, linux-tools/trunk/cpupower.default) linux-tools/repos/community-staging-x86_64/cpupower.install (from rev 523761, linux-tools/trunk/cpupower.install) linux-tools/repos/community-staging-x86_64/cpupower.service (from rev 523761, linux-tools/trunk/cpupower.service) linux-tools/repos/community-staging-x86_64/cpupower.systemd (from rev 523761, linux-tools/trunk/cpupower.systemd) linux-tools/repos/community-staging-x86_64/hv_fcopy_daemon.service (from rev 523761, linux-tools/trunk/hv_fcopy_daemon.service) linux-tools/repos/community-staging-x86_64/hv_kvp_daemon.service (from rev 523761, linux-tools/trunk/hv_kvp_daemon.service) linux-tools/repos/community-staging-x86_64/hv_vss_daemon.service (from rev 523761, linux-tools/trunk/hv_vss_daemon.service) linux-tools/repos/community-staging-x86_64/usbipd.service (from rev 523761, linux-tools/trunk/usbipd.service) -+ PKGBUILD| 304 ++ cpupower.default| 29 cpupower.install| 13 + cpupower.service| 11 + cpupower.systemd| 30 hv_fcopy_daemon.service |9 + hv_kvp_daemon.service |9 + hv_vss_daemon.service |9 + usbipd.service |9 + 9 files changed, 423 insertions(+) Copied: linux-tools/repos/community-staging-x86_64/PKGBUILD (from rev 523761, linux-tools/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-04 08:32:00 UTC (rev 523762) @@ -0,0 +1,304 @@ +# Maintainer: Sébastien Luttringer + +pkgbase=linux-tools +pkgname=( + 'bpf' + 'cgroup_event_listener' + 'cpupower' + 'hyperv' + 'libtraceevent' + 'linux-tools-meta' + 'perf' +# 'python-perf' + 'tmon' + 'turbostat' + 'usbip' + 'x86_energy_perf_policy' +) +pkgver=5.3 +pkgrel=2 +license=('GPL2') +arch=('x86_64') +url='https://www.kernel.org' +options=('!strip') +makedepends=('git') +# split packages need all package dependencies set manually in makedepends +# kernel source deps +makedepends+=('asciidoc' 'xmlto') +# perf deps +makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 'gtk2') +# cpupower deps +makedepends+=('pciutils') +# usbip deps +makedepends+=('glib2' 'sysfsutils' 'udev') +# tmon deps +makedepends+=('ncurses') +# bpf deps +makedepends+=('python-docutils') +groups=("$pkgbase") +source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}; +#"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz; +'cpupower.default' +'cpupower.systemd' +'cpupower.service' +'usbipd.service' +'hv_fcopy_daemon.service' +'hv_kvp_daemon.service' +'hv_vss_daemon.service') +sha256sums=('SKIP' +'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f' +'d2e8e5e8b22c6089a91f573aa1c59e442a1f3b67a2c9f047abe3b57d3d6558cc' +'fa2560630576464739ede14c9292249f4007f36a684bc378add174fc88394550' +'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f' +'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8' +'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61' +'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af') + +prepare() { + cd linux + + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do +filename="${filename##*/}" +if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch $filename" + patch -p1 -N -i "$srcdir/$filename" +elif [[ "$filename" =~ ^patch- ]]; then + msg2 "Applying linux $filename" + patch -p1 -N -i "$srcdir/${filename%.*}" +fi + done +} + +build() { + msg2 'libtraceevent' + pushd linux/tools/lib/traceevent + make + popd + + msg2 'perf' + pushd linux/tools/perf + make -f Makefile.perf \ +prefix=/usr \ +lib=lib/perf \ +perfexecdir=lib/perf \ +NO_SDT=1 \ +PYTHON=python \ +PYTHON_CONFIG=python-config \ +PERF_VERSION=$pkgver-$pkgrel \ +DESTDIR="$pkgdir" \ +all man + popd + + msg2 'cpupower' + pushd linux/tools/power/cpupower + make VERSION=$pkgver-$pkgrel + popd + + msg2 'x86_energy_perf_policy' + pushd linux/tools/power/x86/x86_energy_perf_policy + make + popd + + msg2 'usbip' + pushd linux/tools/usb/usbip + # Fix gcc compilation + sed -i 's,-Wall
[arch-commits] Commit in linux-tools/repos (10 files)
Date: Saturday, January 26, 2013 @ 00:52:20 Author: seblu Revision: 82937 archrelease: copy trunk to community-i686, community-x86_64 Deleted: linux-tools/repos/community-i686/PKGBUILD linux-tools/repos/community-i686/cpupower.default linux-tools/repos/community-i686/cpupower.service linux-tools/repos/community-i686/cpupower.systemd linux-tools/repos/community-i686/usbipd.service linux-tools/repos/community-x86_64/PKGBUILD linux-tools/repos/community-x86_64/cpupower.default linux-tools/repos/community-x86_64/cpupower.service linux-tools/repos/community-x86_64/cpupower.systemd linux-tools/repos/community-x86_64/usbipd.service ---+ community-i686/PKGBUILD | 150 community-i686/cpupower.default | 29 -- community-i686/cpupower.service | 10 -- community-i686/cpupower.systemd | 32 --- community-i686/usbipd.service |9 -- community-x86_64/PKGBUILD | 150 community-x86_64/cpupower.default | 29 -- community-x86_64/cpupower.service | 10 -- community-x86_64/cpupower.systemd | 32 --- community-x86_64/usbipd.service |9 -- 10 files changed, 460 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2013-01-25 23:28:31 UTC (rev 82936) +++ community-i686/PKGBUILD 2013-01-25 23:52:20 UTC (rev 82937) @@ -1,150 +0,0 @@ -# $Id$ -# Maintainer: Sébastien Luttringer se...@archlinux.org - -pkgbase=linux-tools -pkgname=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') -pkgver=3.7 -pkgrel=5 -license=('GPL2') -arch=('i686' 'x86_64') -url='http://www.kernel.org' -options=('!strip') -# split packages need all package dependencies set manually in makedepends -# kernel source deps -makedepends=('asciidoc' 'xmlto') -# perf deps -makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') -# cpupower deps -makedepends+=('pciutils') -# usbip deps -makedepends+=('glib2' 'sysfsutils') -groups=($pkgbase) -source=(http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz; -http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.1.xz; -'cpupower.default' -'cpupower.systemd' -'cpupower.service' -'usbipd.service') -md5sums=('21223369d682bcf44bcdfe1521095983' - '48f5f530b048e387e978e3e49de7742a' - '56883c159381ba89e50ab8ea65efec77' - '7e0710c2f31c1eb1e1417a7972e676b1' - '2450e8ff41b30eb58d43b5fffbfde1f4' - 'a8fb0c6159bee1b9e345a87cabb3ba27') - -build() { - # apply stable patching set - if (( NOEXTRACT == 0 )) [[ -e $srcdir/patch-* ]]; then -msg2 'Applying stable patch set' -patch -N -p1 -i $srcdir/patch-* - fi - - msg2 'Build libtraceevent' - pushd linux-$pkgver/tools/lib/traceevent - make - popd - - msg2 'Build perf' - pushd linux-$pkgver/tools/perf - make \ -WERROR=0 \ -DESTDIR=$pkgdir/usr \ -perfexecdir='lib/perf' \ -PYTHON=python2 \ -NO_GTK2=1 \ -PERF_VERSION=$pkgver-$pkgrel \ -all man - popd - - msg2 'Build cpupower' - pushd linux-$pkgver/tools/power/cpupower - # we cannot use --as-needed - LDFLAGS=${LDFLAGS:+$LDFLAGS,--no-as-needed} - make VERSION=$pkgver-$pkgrel - popd - - msg2 'Build x86_energy_perf_policy' - pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy - make - popd - - msg2 'Build usbip' - pushd linux-$pkgver/drivers/staging/usbip/userspace - # fix missing man page - sed -i 's/usbip_bind_driver.8//' Makefile.am - ./autogen.sh - ./configure --prefix=/usr - make - popd -} - -package_libtraceevent() { - pkgdesc='Linux kernel trace event library' - depends=('glibc') - - cd linux-$pkgver/tools/lib/traceevent - install -dm 755 $pkgdir/usr/lib - install -m 644 libtraceevent.a libtraceevent.so $pkgdir/usr/lib -} - -package_perf() { - pkgdesc='Linux kernel performance auditing tool' - depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind' 'binutils') - - cd linux-$pkgver/tools/perf - make \ -WERROR=0 \ -DESTDIR=$pkgdir/usr \ -perfexecdir='lib/perf' \ -PYTHON=python2 \ -NO_GTK2=1 \ -PERF_VERSION=$pkgver-$pkgrel \ -install install-man -} - -package_cpupower() { - pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' - backup=('etc/default/cpupower') - depends=('bash' 'pciutils') - conflicts=('cpufrequtils') - replaces=('cpufrequtils') - install=cpupower.install - - pushd linux-$pkgver/tools/power/cpupower - make \ -DESTDIR=$pkgdir \ -mandir='/usr/share/man' \ -docdir='/usr/share/doc/cpupower' \ -install install-man - popd - # install startup scripts - install -Dm 644 $pkgname.default $pkgdir/etc/default/$pkgname - install -Dm 644 $pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service - install -Dm 755 $pkgname.systemd