[arch-commits] Commit in cpufrequtils/repos (12 files)
Pierre Schmitz
pierre at archlinux.org
Wed Feb 8 09:53:00 UTC 2012
Date: Wednesday, February 8, 2012 @ 04:53:00
Author: pierre
Revision: 149475
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
cpufrequtils/repos/extra-i686/PKGBUILD
(from rev 149474, cpufrequtils/trunk/PKGBUILD)
cpufrequtils/repos/extra-i686/cpufreq.confd
(from rev 149474, cpufrequtils/trunk/cpufreq.confd)
cpufrequtils/repos/extra-i686/cpufreq.rcd
(from rev 149474, cpufrequtils/trunk/cpufreq.rcd)
cpufrequtils/repos/extra-x86_64/PKGBUILD
(from rev 149474, cpufrequtils/trunk/PKGBUILD)
cpufrequtils/repos/extra-x86_64/cpufreq.confd
(from rev 149474, cpufrequtils/trunk/cpufreq.confd)
cpufrequtils/repos/extra-x86_64/cpufreq.rcd
(from rev 149474, cpufrequtils/trunk/cpufreq.rcd)
Deleted:
cpufrequtils/repos/extra-i686/PKGBUILD
cpufrequtils/repos/extra-i686/cpufreq.confd
cpufrequtils/repos/extra-i686/cpufreq.rcd
cpufrequtils/repos/extra-x86_64/PKGBUILD
cpufrequtils/repos/extra-x86_64/cpufreq.confd
cpufrequtils/repos/extra-x86_64/cpufreq.rcd
----------------------------+
extra-i686/PKGBUILD | 67 ++++++++++++------------
extra-i686/cpufreq.confd | 28 +++++-----
extra-i686/cpufreq.rcd | 120 +++++++++++++++++++++----------------------
extra-x86_64/PKGBUILD | 67 ++++++++++++------------
extra-x86_64/cpufreq.confd | 28 +++++-----
extra-x86_64/cpufreq.rcd | 120 +++++++++++++++++++++----------------------
6 files changed, 218 insertions(+), 212 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-i686/PKGBUILD 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: kevin <kevin at archlinux.org>
-# Contributor: phrakture <aaronmgriffin+gmail+com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=cpufrequtils
-pkgver=008
-pkgrel=1
-pkgdesc="Userspace tools for the kernel cpufreq subsystem"
-arch=('i686' 'x86_64')
-url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
-license=('GPL')
-depends=('sysfsutils')
-backup=('etc/conf.d/cpufreq')
-source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
- cpufreq.rcd
- cpufreq.confd)
-options=(!libtool)
-md5sums=('c59b71c044d463896f3247e8dd83dd7e'
- '7f2b5085df44d2df3e7c2d0b9f6dab08'
- 'baae1f2abffc6bef2bd32a8dd8263c09')
-
-build()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make -j1 || return 1
- make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1
-
- install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
- install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
-}
Copied: cpufrequtils/repos/extra-i686/PKGBUILD (from rev 149474, cpufrequtils/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: kevin <kevin at archlinux.org>
+# Contributor: phrakture <aaronmgriffin+gmail+com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=cpufrequtils
+pkgver=008
+pkgrel=2
+pkgdesc="Userspace tools for the kernel cpufreq subsystem"
+arch=('i686' 'x86_64')
+url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
+license=('GPL')
+depends=('sysfsutils')
+backup=('etc/conf.d/cpufreq')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'cpufreq.rcd'
+ 'cpufreq.confd')
+options=('!libtool' '!makeflags')
+md5sums=('c59b71c044d463896f3247e8dd83dd7e'
+ '7f2b5085df44d2df3e7c2d0b9f6dab08'
+ 'baae1f2abffc6bef2bd32a8dd8263c09')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install
+
+ install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq"
+ install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq"
+}
Deleted: extra-i686/cpufreq.confd
===================================================================
--- extra-i686/cpufreq.confd 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-i686/cpufreq.confd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,14 +0,0 @@
-#configuration for cpufreq control
-
-# valid governors:
-# ondemand, performance, powersave,
-# conservative, userspace
-#governor="ondemand"
-
-# limit frequency range (optional)
-# valid suffixes: Hz, kHz (default), MHz, GHz, THz
-#min_freq="2.25GHz"
-#max_freq="3GHz"
-
-# use freq to set up the exact cpu frequency using it with userspace governor
-#freq=
Copied: cpufrequtils/repos/extra-i686/cpufreq.confd (from rev 149474, cpufrequtils/trunk/cpufreq.confd)
===================================================================
--- extra-i686/cpufreq.confd (rev 0)
+++ extra-i686/cpufreq.confd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,14 @@
+#configuration for cpufreq control
+
+# valid governors:
+# ondemand, performance, powersave,
+# conservative, userspace
+#governor="ondemand"
+
+# limit frequency range (optional)
+# valid suffixes: Hz, kHz (default), MHz, GHz, THz
+#min_freq="2.25GHz"
+#max_freq="3GHz"
+
+# use freq to set up the exact cpu frequency using it with userspace governor
+#freq=
Deleted: extra-i686/cpufreq.rcd
===================================================================
--- extra-i686/cpufreq.rcd 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-i686/cpufreq.rcd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
-
-case "$1" in
- start)
- stat_busy "Setting cpufreq governing rules"
-
- params=""
- if [ -n "$governor" ]; then
- mod="cpufreq_$governor"
- params="-g $governor"
- grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
- if [ $? -eq 0 ]; then
- if [ "$min_freq" != "" ]; then
- params="$params -d $min_freq"
- fi
- if [ "$max_freq" != "" ]; then
- params="$params -u $max_freq"
- fi
- else
- stat_busy " Cannot load governor module '$governor'"
- stat_fail
- exit
- fi
- fi
-
- if [ "$params" != "" ]; then
- CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
- stat_append ", cpu"
- for cpu in $CPUS; do
- stat_append " $cpu"
- cpufreq-set -c $cpu $params
- if [ "$freq" != "" ]; then
- cpufreq-set -c $cpu -f $freq
- fi
- done
- stat_done
- else
- stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
- stat_fail
- fi
- ;;
- stop)
- # nothing to do
- ;;
- restart)
- $0 start
- ;;
- set)
- # TODO: make callable... "cpufreq set 800MHz"
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: cpufrequtils/repos/extra-i686/cpufreq.rcd (from rev 149474, cpufrequtils/trunk/cpufreq.rcd)
===================================================================
--- extra-i686/cpufreq.rcd (rev 0)
+++ extra-i686/cpufreq.rcd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,60 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+# source application-specific settings
+[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
+
+case "$1" in
+ start)
+ stat_busy "Setting cpufreq governing rules"
+
+ params=""
+ if [ -n "$governor" ]; then
+ mod="cpufreq_$governor"
+ params="-g $governor"
+ grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
+ if [ $? -eq 0 ]; then
+ if [ "$min_freq" != "" ]; then
+ params="$params -d $min_freq"
+ fi
+ if [ "$max_freq" != "" ]; then
+ params="$params -u $max_freq"
+ fi
+ else
+ stat_busy " Cannot load governor module '$governor'"
+ stat_fail
+ exit
+ fi
+ fi
+
+ if [ "$params" != "" ]; then
+ CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
+ stat_append ", cpu"
+ for cpu in $CPUS; do
+ stat_append " $cpu"
+ cpufreq-set -c $cpu $params
+ if [ "$freq" != "" ]; then
+ cpufreq-set -c $cpu -f $freq
+ fi
+ done
+ stat_done
+ else
+ stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
+ stat_fail
+ fi
+ ;;
+ stop)
+ # nothing to do
+ ;;
+ restart)
+ $0 start
+ ;;
+ set)
+ # TODO: make callable... "cpufreq set 800MHz"
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-x86_64/PKGBUILD 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: kevin <kevin at archlinux.org>
-# Contributor: phrakture <aaronmgriffin+gmail+com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=cpufrequtils
-pkgver=008
-pkgrel=1
-pkgdesc="Userspace tools for the kernel cpufreq subsystem"
-arch=('i686' 'x86_64')
-url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
-license=('GPL')
-depends=('sysfsutils')
-backup=('etc/conf.d/cpufreq')
-source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
- cpufreq.rcd
- cpufreq.confd)
-options=(!libtool)
-md5sums=('c59b71c044d463896f3247e8dd83dd7e'
- '7f2b5085df44d2df3e7c2d0b9f6dab08'
- 'baae1f2abffc6bef2bd32a8dd8263c09')
-
-build()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make -j1 || return 1
- make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1
-
- install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
- install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
-}
Copied: cpufrequtils/repos/extra-x86_64/PKGBUILD (from rev 149474, cpufrequtils/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: kevin <kevin at archlinux.org>
+# Contributor: phrakture <aaronmgriffin+gmail+com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=cpufrequtils
+pkgver=008
+pkgrel=2
+pkgdesc="Userspace tools for the kernel cpufreq subsystem"
+arch=('i686' 'x86_64')
+url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
+license=('GPL')
+depends=('sysfsutils')
+backup=('etc/conf.d/cpufreq')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'cpufreq.rcd'
+ 'cpufreq.confd')
+options=('!libtool' '!makeflags')
+md5sums=('c59b71c044d463896f3247e8dd83dd7e'
+ '7f2b5085df44d2df3e7c2d0b9f6dab08'
+ 'baae1f2abffc6bef2bd32a8dd8263c09')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install
+
+ install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq"
+ install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq"
+}
Deleted: extra-x86_64/cpufreq.confd
===================================================================
--- extra-x86_64/cpufreq.confd 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-x86_64/cpufreq.confd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,14 +0,0 @@
-#configuration for cpufreq control
-
-# valid governors:
-# ondemand, performance, powersave,
-# conservative, userspace
-#governor="ondemand"
-
-# limit frequency range (optional)
-# valid suffixes: Hz, kHz (default), MHz, GHz, THz
-#min_freq="2.25GHz"
-#max_freq="3GHz"
-
-# use freq to set up the exact cpu frequency using it with userspace governor
-#freq=
Copied: cpufrequtils/repos/extra-x86_64/cpufreq.confd (from rev 149474, cpufrequtils/trunk/cpufreq.confd)
===================================================================
--- extra-x86_64/cpufreq.confd (rev 0)
+++ extra-x86_64/cpufreq.confd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,14 @@
+#configuration for cpufreq control
+
+# valid governors:
+# ondemand, performance, powersave,
+# conservative, userspace
+#governor="ondemand"
+
+# limit frequency range (optional)
+# valid suffixes: Hz, kHz (default), MHz, GHz, THz
+#min_freq="2.25GHz"
+#max_freq="3GHz"
+
+# use freq to set up the exact cpu frequency using it with userspace governor
+#freq=
Deleted: extra-x86_64/cpufreq.rcd
===================================================================
--- extra-x86_64/cpufreq.rcd 2012-02-08 09:51:57 UTC (rev 149474)
+++ extra-x86_64/cpufreq.rcd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
-
-case "$1" in
- start)
- stat_busy "Setting cpufreq governing rules"
-
- params=""
- if [ -n "$governor" ]; then
- mod="cpufreq_$governor"
- params="-g $governor"
- grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
- if [ $? -eq 0 ]; then
- if [ "$min_freq" != "" ]; then
- params="$params -d $min_freq"
- fi
- if [ "$max_freq" != "" ]; then
- params="$params -u $max_freq"
- fi
- else
- stat_busy " Cannot load governor module '$governor'"
- stat_fail
- exit
- fi
- fi
-
- if [ "$params" != "" ]; then
- CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
- stat_append ", cpu"
- for cpu in $CPUS; do
- stat_append " $cpu"
- cpufreq-set -c $cpu $params
- if [ "$freq" != "" ]; then
- cpufreq-set -c $cpu -f $freq
- fi
- done
- stat_done
- else
- stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
- stat_fail
- fi
- ;;
- stop)
- # nothing to do
- ;;
- restart)
- $0 start
- ;;
- set)
- # TODO: make callable... "cpufreq set 800MHz"
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: cpufrequtils/repos/extra-x86_64/cpufreq.rcd (from rev 149474, cpufrequtils/trunk/cpufreq.rcd)
===================================================================
--- extra-x86_64/cpufreq.rcd (rev 0)
+++ extra-x86_64/cpufreq.rcd 2012-02-08 09:53:00 UTC (rev 149475)
@@ -0,0 +1,60 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+# source application-specific settings
+[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
+
+case "$1" in
+ start)
+ stat_busy "Setting cpufreq governing rules"
+
+ params=""
+ if [ -n "$governor" ]; then
+ mod="cpufreq_$governor"
+ params="-g $governor"
+ grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
+ if [ $? -eq 0 ]; then
+ if [ "$min_freq" != "" ]; then
+ params="$params -d $min_freq"
+ fi
+ if [ "$max_freq" != "" ]; then
+ params="$params -u $max_freq"
+ fi
+ else
+ stat_busy " Cannot load governor module '$governor'"
+ stat_fail
+ exit
+ fi
+ fi
+
+ if [ "$params" != "" ]; then
+ CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
+ stat_append ", cpu"
+ for cpu in $CPUS; do
+ stat_append " $cpu"
+ cpufreq-set -c $cpu $params
+ if [ "$freq" != "" ]; then
+ cpufreq-set -c $cpu -f $freq
+ fi
+ done
+ stat_done
+ else
+ stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
+ stat_fail
+ fi
+ ;;
+ stop)
+ # nothing to do
+ ;;
+ restart)
+ $0 start
+ ;;
+ set)
+ # TODO: make callable... "cpufreq set 800MHz"
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
More information about the arch-commits
mailing list