[arch-commits] CVS update of extra/system/lm_sensors (3 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Feb 2 09:39:52 UTC 2008
Date: Saturday, February 2, 2008 @ 04:39:52
Author: andyrtr
Path: /home/cvs-extra/extra/system/lm_sensors
Modified: PKGBUILD (1.13 -> 1.14) sensors.install (1.3 -> 1.4)
sensors.rc (1.1 -> 1.2)
upgpkg: lm_sensors 3.0.1-1
fixed sensors.rc script's config detection; added an install message for #9355
-----------------+
PKGBUILD | 14 ++++++++------
sensors.install | 4 ++++
sensors.rc | 43 +++++++++++++++++++++++--------------------
3 files changed, 35 insertions(+), 26 deletions(-)
Index: extra/system/lm_sensors/PKGBUILD
diff -u extra/system/lm_sensors/PKGBUILD:1.13 extra/system/lm_sensors/PKGBUILD:1.14
--- extra/system/lm_sensors/PKGBUILD:1.13 Tue Jan 1 14:41:31 2008
+++ extra/system/lm_sensors/PKGBUILD Sat Feb 2 04:39:52 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.13 2008/01/01 19:41:31 andyrtr Exp $
+# $Id: PKGBUILD,v 1.14 2008/02/02 09:39:52 andyrtr Exp $
# Maintainer: aurelien <aurelien at archlinux.org>
# Contributor: Aurelien Foret <orelien at chez.com>
pkgname=lm_sensors
-pkgver=3.0.0
-pkgrel=3
+pkgver=3.0.1
+pkgrel=1
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
arch=('i686' 'x86_64')
license=('GPL')
@@ -12,14 +12,16 @@
backup=(etc/sensors3.conf)
install=sensors.install
source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-$pkgver.tar.bz2
- sensors.rc fancontrol.rc)
+ sensors.rc
+ fancontrol.rc)
url="http://www.lm-sensors.org/"
-md5sums=('9daeed4b0c9681562541e5d481bf9cf9'
- 'ed3fc34e7c7df783b5d6160db6f157d8'
+md5sums=('dace0c6bb031bd097a46a336de60587c'
+ '1dec48b55f4ce3894f4c84bc9b4083e6'
'f14e335a8eea27388892c36af8099782')
build() {
cd $startdir/src/$pkgname-$pkgver
+
make PREFIX=/usr user || return 1
make user_install PREFIX=/usr DESTDIR=$startdir/pkg
Index: extra/system/lm_sensors/sensors.install
diff -u extra/system/lm_sensors/sensors.install:1.3 extra/system/lm_sensors/sensors.install:1.4
--- extra/system/lm_sensors/sensors.install:1.3 Tue Jan 1 08:14:44 2008
+++ extra/system/lm_sensors/sensors.install Sat Feb 2 04:39:52 2008
@@ -8,6 +8,10 @@
echo ">>> before you can use the fancontrol daemon"
echo ">>> first create a fancontrol config file, use \"pwmconfig\""
echo ">>> then type \"/etc/rc.d/fancontrol start|stop|restart\" "
+ echo ">>> --------------------------------------"
+ echo ">>> to decode memory SPD timings modprobe eeprom module"
+ echo ">>> and get this perl script from"
+ echo ">>> \"http://www.lm-sensors.org/browser/lm-sensors/trunk/prog/eeprom/decode-dimms.pl\""
}
post_upgrade() {
Index: extra/system/lm_sensors/sensors.rc
diff -u extra/system/lm_sensors/sensors.rc:1.1 extra/system/lm_sensors/sensors.rc:1.2
--- extra/system/lm_sensors/sensors.rc:1.1 Sat Dec 9 10:19:43 2006
+++ extra/system/lm_sensors/sensors.rc Sat Feb 2 04:39:52 2008
@@ -45,7 +45,7 @@
case "$1" in
start)
- stat_busy "Starting up sensors: "
+ stat_busy "Starting Up Sensors"
if [ $WITHSYS == "0" ]; then
# If sensors isn't supported by the kernel, try loading the module...
@@ -60,16 +60,17 @@
fi
- test -r "$CONFIG" && . "$CONFIG"
-
- modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '`
- i=0
- while [ $i -lt $modules ] ; do
- module=`eval echo '$'MODULE_$i`
- #echo starting module __${module}__ #debug
- /sbin/modprobe $module &>/dev/null
- i=`expr $i + 1`
- done
+ if [ -r "$CONFIG" ]; then
+ . "$CONFIG"
+ modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '`
+ i=0
+ while [ $i -lt $modules ] ; do
+ module=`eval echo '$'MODULE_$i`
+ #echo starting module __${module}__ #debug
+ /sbin/modprobe $module &>/dev/null
+ i=`expr $i + 1`
+ done
+ fi
$PSENSORS -s
if [ $? -gt 0 ]; then
@@ -81,16 +82,18 @@
;;
stop)
- stat_busy "Shutting down sensors: "
- test -r "$CONFIG" && . "$CONFIG"
+ stat_busy "Shutting Down Sensors"
- modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '`
- i=`expr $modules`
- while [ $i -ge 0 ] ; do
- module=`eval echo '$'MODULE_$i`
- /sbin/modprobe -r $module &>/dev/null
- i=`expr $i - 1`
- done
+ if [ -r "$CONFIG" ]; then
+ . "$CONFIG"
+ modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '`
+ i=`expr $modules`
+ while [ $i -ge 0 ] ; do
+ module=`eval echo '$'MODULE_$i`
+ /sbin/modprobe -r $module &>/dev/null
+ i=`expr $i - 1`
+ done
+ fi
if [ $WITHSYS == "0" ]; then
/sbin/modprobe -r i2c-proc &>/dev/null
More information about the arch-commits
mailing list