- Update to lm_sensors-2.8.8

- Added Buildprereq for bison (#138888)
- Modified lm_sensors-2.8.3-redhat.patch to drop patch to initscript, we
    provide a separate file.
This commit is contained in:
Phil Knirsch 2004-12-21 13:06:59 +00:00
parent 6a957e099a
commit 6fc6323e65
4 changed files with 9 additions and 47 deletions

View File

@ -1 +1 @@
lm_sensors-2.8.7.tar.gz
lm_sensors-2.8.8.tar.gz

View File

@ -1,45 +1,3 @@
--- lm_sensors-2.8.3/prog/init/lm_sensors.init.redhat 2003-02-25 03:50:46.000000000 +0100
+++ lm_sensors-2.8.3/prog/init/lm_sensors.init 2004-03-08 17:15:56.960344769 +0100
@@ -29,17 +29,17 @@
# MODULE_1, MODULE_2, MODULE_3, etc.
# If sensors isn't supported by the kernel, try loading the module...
-[ -e /proc/sys/dev/sensors ] || /sbin/modprobe i2c-proc &>/dev/null
+[ -e /sys/bus/i2c ] || /sbin/modprobe i2c-dev &>/dev/null
# Don't bother if /proc/sensors still doesn't exist, kernel doesn't have
# support for sensors.
-[ -e /proc/sys/dev/sensors ] || exit 0
+[ -e /sys/bus/i2c ] || exit 0
# If sensors was not already running, unload the module...
-[ -e /var/lock/subsys/sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null
+[ -e /var/lock/subsys/sensors ] || /sbin/modprobe -r i2c-dev &>/dev/null
CONFIG=/etc/sysconfig/lm_sensors
-PSENSORS=/usr/local/bin/sensors
+PSENSORS=/usr/bin/sensors
# Source function library.
. /etc/init.d/functions
@@ -54,7 +54,7 @@
i=0
while [ $i -lt $modules ] ; do
module=`eval echo '$'MODULE_$i`
- echo starting module __${module}__
+# echo starting module __${module}__
/sbin/modprobe $module &>/dev/null
i=`expr $i + 1`
done
@@ -81,7 +81,7 @@
/sbin/modprobe -r $module &>/dev/null
i=`expr $i - 1`
done
- /sbin/modprobe -r i2c-proc &>/dev/null
+ /sbin/modprobe -r i2c-dev &>/dev/null
RETVAL=$?
if [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sensors ; then
--- lm_sensors-2.8.3/Makefile.redhat 2003-12-29 20:29:16.000000000 +0100
+++ lm_sensors-2.8.3/Makefile 2004-03-08 16:37:36.262280059 +0100
@@ -44,7 +44,7 @@

View File

@ -1,6 +1,6 @@
Name: lm_sensors
Version: 2.8.7
Release: 2
Version: 2.8.8
Release: 1
URL: http://secure.netroedge.com/~lm78/
Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
Source1: lm_sensors.sysconfig
@ -17,7 +17,7 @@ Group: Applications/System
License: GPL
Buildroot: %{_tmppath}/%{name}-root
Requires: kernel-utils
BuildPrereq: kernel-headers >= 2.2.16
BuildPrereq: kernel-headers >= 2.2.16, bison
ExclusiveArch: alpha %{ix86} x86_64
%description
@ -99,6 +99,10 @@ fi
%{_libdir}/lib*.so
%changelog
* Tue Dec 21 2004 Phil Knirsch <pknirsch@redhat.com> 2.8.7-3
- Added Buildprereq for bison (#138888)
- Update to lm_sensors-2.8.8
* Thu Oct 14 2004 Harald Hoyer <harald@redhat.com> 2.8.7-2
- added initial /etc/sysconfig/lm_sensors
- added initscript

View File

@ -1 +1 @@
64b4a4f547b2e1eab8a574d871867ca5 lm_sensors-2.8.7.tar.gz
95cdb083b4d16e2419a2c78b35f608d0 lm_sensors-2.8.8.tar.gz