From 9560651f417485f69d2cbecd0a167edaece577c2 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Mon, 1 Oct 2012 12:41:07 +0000
Subject: [PATCH] community/linux-tools to 3.6-1

---
 community/linux-tools/PKGBUILD      | 11 ++++++-----
 community/linux-tools/cpupower.conf |  3 ++-
 community/linux-tools/cpupower.rc   |  1 -
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD
index 00ca0deb3..8dfd2fe1f 100644
--- a/community/linux-tools/PKGBUILD
+++ b/community/linux-tools/PKGBUILD
@@ -6,8 +6,8 @@
 
 pkgbase=linux-tools
 pkgname=('perf' 'cpupower' 'usbip')
-pkgver=3.5
-pkgrel=5
+pkgver=3.6
+pkgrel=1
 license=('GPL2')
 arch=('i686' 'x86_64')
 url='http://www.kernel.org'
@@ -31,9 +31,9 @@ source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz"
         'usbipd.conf'
         'usbipd.rc'
         'usbipd.service')
-md5sums=('24153eaaa81dedc9481ada8cd9c3b83d'
-         '857ccdd0598511e3bf4b63522754dc48'
-         '1d9214637968b91706b6e616a100d44b'
+md5sums=('1a1760420eac802c541a20ab51a093d1'
+         '56883c159381ba89e50ab8ea65efec77'
+         '5fc1fcda4cef93f16e752b1931db23e3'
          'c0d17b5295fe964623c772a2dd981771'
          '2450e8ff41b30eb58d43b5fffbfde1f4'
          'e8fac9c45a628015644b4150b139278a'
@@ -94,6 +94,7 @@ package_cpupower() {
   backup=('etc/conf.d/cpupower')
   depends=('bash' 'pciutils')
   conflicts=('cpufrequtils')
+  replaces=('cpufrequtils')
 
   pushd linux-$pkgver/tools/power/cpupower
   make \
diff --git a/community/linux-tools/cpupower.conf b/community/linux-tools/cpupower.conf
index ee8602953..b5c522ea1 100644
--- a/community/linux-tools/cpupower.conf
+++ b/community/linux-tools/cpupower.conf
@@ -8,7 +8,8 @@
 #max_freq="3GHz"
 
 # Specific frequency to be set.
-# Requires userspace governor to be available and loaded.
+# Requires userspace governor to be available.
+# Do not set governor field if you use this one.
 #freq=
 
 # Utilizes cores in one processor package/socket first before processes are 
diff --git a/community/linux-tools/cpupower.rc b/community/linux-tools/cpupower.rc
index 2c4441c4e..88edaf791 100644
--- a/community/linux-tools/cpupower.rc
+++ b/community/linux-tools/cpupower.rc
@@ -2,7 +2,6 @@
 
 . /etc/rc.conf
 . /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
 
 case "$1" in
   start|restart)