This commit is contained in:
parent
ff058e9309
commit
6a9e762b0c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3854cd0e77c6f2fea53a3646511635f0e079ef0fbca7e9dd2e38f5f37251deb
|
||||
size 682749
|
@ -47,18 +47,9 @@
|
||||
endif
|
||||
|
||||
ifeq ($(WARN),1)
|
||||
@@ -279,7 +279,7 @@ LIBCPPFLAGS := $(ALL_CPPFLAGS)
|
||||
ifdef SYSFS_SUPPORT
|
||||
LIBCPPFLAGS := $(LIBCPPFLAGS) -DSYSFS_SUPPORT
|
||||
endif
|
||||
-LIBCFLAGS := -fpic $(ALL_CFLAGS)
|
||||
+LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS)
|
||||
|
||||
.PHONY: all user clean install user_install uninstall user_uninstall version package
|
||||
|
||||
--- prog/detect/sensors-detect
|
||||
+++ prog/detect/sensors-detect 2006-11-10 17:45:13.000000000 +0100
|
||||
@@ -2106,7 +2106,9 @@ sub initialize_conf
|
||||
@@ -2147,7 +2147,9 @@ sub initialize_conf
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,7 +60,7 @@
|
||||
$modules_conf = '/etc/modules.conf';
|
||||
} elsif (-f '/etc/conf.modules') {
|
||||
$modules_conf = '/etc/conf.modules';
|
||||
@@ -5406,7 +5408,7 @@ sub generate_modprobes
|
||||
@@ -5416,7 +5418,7 @@ sub generate_modprobes
|
||||
$modprobes .= "# I2C adapter drivers\n" if $nr;
|
||||
for ($i = 0; $i < $nr; $i++) {
|
||||
foreach $adap (@adapters) {
|
||||
@ -78,7 +69,7 @@
|
||||
if ($adap->{driver} eq "UNKNOWN") {
|
||||
$modprobes .= "# modprobe unknown adapter ".$adap->{adapname}."\n";
|
||||
} elsif ($adap->{driver} eq "DISABLED") {
|
||||
@@ -5436,6 +5438,19 @@ sub generate_modprobes
|
||||
@@ -5446,6 +5448,19 @@ sub generate_modprobes
|
||||
next if $chip->{driver} eq "use-isa-instead";
|
||||
if ($chip->{driver} eq "to-be-written") {
|
||||
$modprobes .= "# no driver for $chip->{detected}[0]{chipname} yet\n";
|
||||
@ -98,7 +89,7 @@
|
||||
} else {
|
||||
# need the * for 2.4 kernels, won't necessarily be an exact match
|
||||
open(local *INPUTFILE, "modprobe -l $chip->{driver}\\* 2>/dev/null |");
|
||||
@@ -5714,7 +5729,7 @@ sub main
|
||||
@@ -5727,7 +5742,7 @@ sub main
|
||||
print "#----cut here----\n".
|
||||
$modprobes.
|
||||
"# sleep 2 # optional\n".
|
||||
@ -107,7 +98,7 @@
|
||||
"#----cut here----\n\n";
|
||||
|
||||
print "If you have some drivers built into your kernel, the list above will\n".
|
||||
@@ -5783,6 +5798,8 @@ EOT
|
||||
@@ -5796,6 +5811,8 @@ EOT
|
||||
print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
|
||||
"for initialization at boot time.\n"
|
||||
unless -f "/etc/init.d/lm_sensors";
|
||||
@ -149,7 +140,7 @@
|
||||
unsigned long isa_io_base = 0; /* XXX for now */
|
||||
#endif /* __powerpc__ */
|
||||
|
||||
@@ -252,7 +263,7 @@ int main(int argc, char *argv[])
|
||||
@@ -242,7 +253,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
3
lm_sensors-2.10.3.tar.bz2
Normal file
3
lm_sensors-2.10.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:90eba6cf01772557aa151621116f92c16e1a5fb0111c00ff5d5fb1d1c285e98b
|
||||
size 685127
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 17:15:43 CEST 2007 - werner@suse.de
|
||||
|
||||
- Update to lm_sensors version 2.10.3 which added support for
|
||||
recent devices and support for kernel 2.6.22.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 22:23:41 CEST 2007 - ro@suse.de
|
||||
|
||||
|
13
sensors.spec
13
sensors.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package sensors (Version 2.10.2)
|
||||
# spec file for package sensors (Version 2.10.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -13,16 +13,16 @@
|
||||
Name: sensors
|
||||
BuildRequires: bison flex rrdtool sysfsutils udev
|
||||
URL: http://www.lm-sensors.org/
|
||||
Version: 2.10.2
|
||||
Release: 10
|
||||
Version: 2.10.3
|
||||
Release: 1
|
||||
Summary: Hardware health monitoring for Linux
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/Monitoring
|
||||
Requires: modules udev
|
||||
Autoreqprov: on
|
||||
Source0: lm_sensors-2.10.2.tar.bz2
|
||||
Source0: lm_sensors-2.10.3.tar.bz2
|
||||
Source1: README.SuSE
|
||||
Patch: lm_sensors-2.10.2.dif
|
||||
Patch: lm_sensors-2.10.3.dif
|
||||
Patch1: lm_sensors-2.8.3-nodump.patch
|
||||
Patch2: lm_sensors-2.7.0-kernelheaders.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -118,6 +118,9 @@ rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h
|
||||
%doc /usr/share/man/man8/*.8.gz
|
||||
|
||||
%changelog
|
||||
* Thu Apr 05 2007 - werner@suse.de
|
||||
- Update to lm_sensors version 2.10.3 which added support for
|
||||
recent devices and support for kernel 2.6.22.
|
||||
* Thu Mar 29 2007 - ro@suse.de
|
||||
- added bison,flex to buildreq
|
||||
* Mon Feb 19 2007 - werner@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user