Accepting request 651465 from home:malcolmlewis:branches:Base:System
Updated to version 3.5.0 OBS-URL: https://build.opensuse.org/request/show/651465 OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=99
This commit is contained in:
parent
fee853e96f
commit
44db4b53fd
@ -1,3 +1,3 @@
|
|||||||
libsensors4
|
libsensors5
|
||||||
obsoletes "sensors-<targettype> <= <version>"
|
obsoletes "sensors-<targettype> <= <version>"
|
||||||
provides "sensors-<targettype> = <version>"
|
provides "sensors-<targettype> = <version>"
|
||||||
|
3
lm-sensors-3-5-0.tar.gz
Normal file
3
lm-sensors-3-5-0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
|
||||||
|
size 267133
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1db77e206b28c9194e5c017c88460e730fdf849cff7ef704fb3e4b8b49fd6d31
|
|
||||||
size 260917
|
|
@ -1,14 +1,7 @@
|
|||||||
Now that the kernel package is split into 3 parts, it is possible
|
diff -Naur a/prog/detect/sensors-detect b/prog/detect/sensors-detect
|
||||||
that not all required hwmon drivers are installed on the system when
|
--- a/prog/detect/sensors-detect 2018-11-23 19:04:09.562152712 -0600
|
||||||
sensors-detect is being run. Point the user to the kernel-*-extra
|
+++ b/prog/detect/sensors-detect 2018-11-23 19:08:21.037599155 -0600
|
||||||
package if drivers are found to be missing.
|
@@ -3051,13 +3051,16 @@
|
||||||
---
|
|
||||||
prog/detect/sensors-detect | 7 ++++++-
|
|
||||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/prog/detect/sensors-detect
|
|
||||||
+++ b/prog/detect/sensors-detect
|
|
||||||
@@ -2796,13 +2796,16 @@ sub initialize_conf
|
|
||||||
# [2] -> SUBLEVEL
|
# [2] -> SUBLEVEL
|
||||||
# [3] -> EXTRAVERSION
|
# [3] -> EXTRAVERSION
|
||||||
#
|
#
|
||||||
@ -26,12 +19,13 @@ package if drivers are found to be missing.
|
|||||||
chomp($kernel_arch = `uname -m`);
|
chomp($kernel_arch = `uname -m`);
|
||||||
|
|
||||||
# We only support kernels >= 2.6.5
|
# We only support kernels >= 2.6.5
|
||||||
@@ -7022,6 +7025,8 @@ sub generate_modprobes
|
@@ -7303,6 +7306,9 @@
|
||||||
print "Warning: the required module $driver is not currently installed\n".
|
print "Warning: the required module $driver is not currently installed\n".
|
||||||
"on your system. Check http://www.lm-sensors.org/wiki/Devices for\n".
|
"on your system. Check https://hwmon.wiki.kernel.org/device_support_status for\n".
|
||||||
"driver availability.\n\n";
|
"driver availability.\n\n";
|
||||||
+ print "You may need to install package kernel-$kernel_flavor-extra for\n".
|
+ print "You may need to install package kernel-$kernel_flavor-extra for\n".
|
||||||
+ "lm-sensors to work properly.\n\n" if $kernel_flavor;
|
+ "lm-sensors to work properly.\n\n" if $kernel_flavor;
|
||||||
|
+
|
||||||
} else {
|
} else {
|
||||||
$hwmon_modules{$driver}++
|
$hwmon_modules{$driver}++
|
||||||
unless hwmon_is_autoloaded($driver);
|
unless hwmon_is_autoloaded($driver);
|
||||||
|
@ -1,3 +1,61 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 24 01:08:57 UTC 2018 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.5.0:
|
||||||
|
+ soname was bumped due to commit dcf2367 which introduced an
|
||||||
|
ABI change.
|
||||||
|
+ Fixed disappearance of certain hwmon chips with 4.19+ kernels,
|
||||||
|
(gh#lm-sensors/lm-sensors#139, boo#1116021).
|
||||||
|
+ Add the find-driver script for debugging.
|
||||||
|
+ Various documentation and man page improvements.
|
||||||
|
+ Fix various issues found by Coverity Scan.
|
||||||
|
+ Fix compilation with the musl C library.
|
||||||
|
+ Updated links in documentation to reflect the new home of
|
||||||
|
lm_sensors.
|
||||||
|
+ sensors.1: Add reference to sensors-detect and document -j
|
||||||
|
option (json output).
|
||||||
|
+ sensors: Add support for json output, add support for power
|
||||||
|
min, lcrit, min_alarm, lcrit_alarm.
|
||||||
|
+ sensors-detect:
|
||||||
|
* Fix systemd paths.
|
||||||
|
* Add detection of Fintek F81768.
|
||||||
|
* Only probe I/O ports on x86.
|
||||||
|
* Add detection of Nuvoton NCT6793D.
|
||||||
|
* Add detection of Microchip MCP9808.
|
||||||
|
* Mark F71868A as supported by the f71882fg driver.
|
||||||
|
* Mark F81768D as supported by the f71882fg driver.
|
||||||
|
* Mark F81866D as supported by the f71882fg driver.
|
||||||
|
* Add detection of various ITE chips.
|
||||||
|
* Add detection of Nuvoton NCT6795D.
|
||||||
|
* Add detection of DDR4 SPD.
|
||||||
|
* Add detection of ITE IT8987D.
|
||||||
|
* Add detection of AMD Family 17h temperature sensors.
|
||||||
|
* Add detection of AMD KERNCZ SMBus controller.
|
||||||
|
* Add detection of various Intel SMBus controllers.
|
||||||
|
* Add detection of Giantec GT30TS00.
|
||||||
|
* Add detection of ONS CAT34TS02C and CAT34TS04.
|
||||||
|
* Add detection of AMD Family 15h Model 60+ temperature
|
||||||
|
sensors.
|
||||||
|
* Add detection of Nuvoton NCT6796D.
|
||||||
|
* Add detection of AMD Family 15h Model 70+ temperature
|
||||||
|
sensors.
|
||||||
|
+ configs: Add sample configuration files.
|
||||||
|
+ sensors.conf.default:
|
||||||
|
* Add hardwired inputs of NCT6795D
|
||||||
|
* Add hardwired inputs of F71868A
|
||||||
|
* Add hardwired NCT6796D inputs
|
||||||
|
+ vt1211_pwm: replaced deprecated sub shell syntax, run with
|
||||||
|
bash instead of sh.
|
||||||
|
+ pwmconfig: replaced deprecated sub shell syntax.
|
||||||
|
+ fancontrol: replaced deprecated sub shell syntax, save
|
||||||
|
original pwm values.
|
||||||
|
+ fancontrol.8: replaced deprecated sub shell syntax.
|
||||||
|
+ libsensors: Add support for SENSORS_BUS_TYPE_SCSI, add support
|
||||||
|
for power min, lcrit, min_alarm, lcrit_alarm
|
||||||
|
- Rebase lm_sensors-3.0.3-hint-at-kernel-extra-package.patch for
|
||||||
|
new release.
|
||||||
|
- Spec file tidy up for man page extension.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 14 15:39:15 UTC 2018 - hillwood@opensuse.org
|
Mon May 14 15:39:15 UTC 2018 - hillwood@opensuse.org
|
||||||
|
|
||||||
|
62
sensors.spec
62
sensors.spec
@ -12,25 +12,27 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define commit 1c48b191c8a2b9fc747e3db3816247c666c5c3f1
|
#%%define commit 1c48b191c8a2b9fc747e3db3816247c666c5c3f1
|
||||||
%define shortcommit 1c48b19
|
#%%define shortcommit 1c48b19
|
||||||
%define _name lm_sensors
|
%define _name lm-sensors
|
||||||
|
%define _version 3-5-0
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: sensors
|
Name: sensors
|
||||||
Version: 3.4.0git20180510.1c48b19
|
Version: 3.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Hardware health monitoring for Linux
|
Summary: Hardware health monitoring for Linux
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
URL: https://github.com/groeck/lm-sensors
|
Url: https://github.com/groeck/lm-sensors
|
||||||
Source0: https://github.com/groeck/lm-sensors/archive/%{commit}/%{_name}-%{shortcommit}.tar.gz
|
Source0: https://github.com/lm-sensors/lm-sensors/%{_name}/archive/%{_version}.tar.gz#/%{_name}-%{_version}.tar.gz
|
||||||
|
#Source0: https://github.com/groeck/lm-sensors/archive/%%{commit}/%%{_name}-%%{shortcommit}.tar.gz
|
||||||
Source1: sysconfig.sensord
|
Source1: sysconfig.sensord
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch1: lm_sensors-3.1.1-build.patch
|
Patch1: lm_sensors-3.1.1-build.patch
|
||||||
@ -73,28 +75,28 @@ round-robin database (RRD) and to alert when a sensor alarm is
|
|||||||
signalled; for example, if a fan fails, a temperature limit is
|
signalled; for example, if a fan fails, a temperature limit is
|
||||||
exceeded, etc.
|
exceeded, etc.
|
||||||
|
|
||||||
%package -n libsensors4
|
%package -n libsensors5
|
||||||
Summary: Hardware health monitoring library
|
Summary: Hardware health monitoring library
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libsensors4
|
%description -n libsensors5
|
||||||
libsensors offers a way for applications to access the hardware
|
libsensors offers a way for applications to access the hardware
|
||||||
monitoring chips of the system. A system-dependent configuration file
|
monitoring chips of the system. A system-dependent configuration file
|
||||||
controls how the different inputs are labeled and what scaling factors
|
controls how the different inputs are labeled and what scaling factors
|
||||||
have to be applied for the specific hardware, so that the output makes
|
have to be applied for the specific hardware, so that the output makes
|
||||||
sense to the user.
|
sense to the user.
|
||||||
|
|
||||||
%package -n libsensors4-devel
|
%package -n libsensors5-devel
|
||||||
Summary: Hardware health monitoring library
|
Summary: Hardware health monitoring library
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libsensors4 = %{version}
|
Requires: libsensors5 = %{version}
|
||||||
Conflicts: libsensors3-devel
|
Conflicts: libsensors4-devel
|
||||||
Provides: sensors:%{_includedir}/sensors/sensors.h
|
Provides: sensors:%{_includedir}/sensors/sensors.h
|
||||||
|
|
||||||
%description -n libsensors4-devel
|
%description -n libsensors5-devel
|
||||||
libsensors offers a way for applications to access the hardware
|
libsensors offers a way for applications to access the hardware
|
||||||
monitoring chips of the system. A system-dependent configuration file
|
monitoring chips of the system. A system-dependent configuration file
|
||||||
controls how the different inputs are labeled and what scaling factors
|
controls how the different inputs are labeled and what scaling factors
|
||||||
@ -102,8 +104,8 @@ have to be applied for the specific hardware, so that the output makes
|
|||||||
sense to the user.
|
sense to the user.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# %setup -q -n lm_sensors-%{version}
|
%setup -q -n %{_name}-%{_version}
|
||||||
%setup -q -n lm-%{name}-%{commit}
|
#%%setup -q -n lm-%%{name}-%%{commit}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
@ -178,9 +180,9 @@ fi
|
|||||||
%postun -n sensord
|
%postun -n sensord
|
||||||
%service_del_postun sensord.service
|
%service_del_postun sensord.service
|
||||||
|
|
||||||
%post -n libsensors4 -p /sbin/ldconfig
|
%post -n libsensors5 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libsensors4 -p /sbin/ldconfig
|
%postun -n libsensors5 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -203,15 +205,15 @@ fi
|
|||||||
%doc %{_docdir}/sensors/temperature-sensors
|
%doc %{_docdir}/sensors/temperature-sensors
|
||||||
%doc %{_docdir}/sensors/vid
|
%doc %{_docdir}/sensors/vid
|
||||||
%license %{_docdir}/sensors/COPYING
|
%license %{_docdir}/sensors/COPYING
|
||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
%{_mandir}/man8/fancontrol.8.gz
|
%{_mandir}/man8/fancontrol.8%{?ext_man}
|
||||||
%ifarch i386 i486 i586 i686 x86_64
|
%ifarch i386 i486 i586 i686 x86_64
|
||||||
%{_mandir}/man8/isadump.8.gz
|
%{_mandir}/man8/isadump.8%{?ext_man}
|
||||||
%{_mandir}/man8/isaset.8.gz
|
%{_mandir}/man8/isaset.8%{?ext_man}
|
||||||
%endif
|
%endif
|
||||||
%{_mandir}/man8/pwmconfig.8.gz
|
%{_mandir}/man8/pwmconfig.8%{?ext_man}
|
||||||
%{_mandir}/man8/sensors-conf-convert.8.gz
|
%{_mandir}/man8/sensors-conf-convert.8%{?ext_man}
|
||||||
%{_mandir}/man8/sensors-detect.8.gz
|
%{_mandir}/man8/sensors-detect.8%{?ext_man}
|
||||||
|
|
||||||
%files -n sensord
|
%files -n sensord
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -220,23 +222,23 @@ fi
|
|||||||
%{_sbindir}/sensord
|
%{_sbindir}/sensord
|
||||||
%dir %{_docdir}/sensord
|
%dir %{_docdir}/sensord
|
||||||
%license %{_docdir}/sensord/COPYING
|
%license %{_docdir}/sensord/COPYING
|
||||||
%{_mandir}/man8/sensord.8.gz
|
%{_mandir}/man8/sensord.8%{?ext_man}
|
||||||
|
|
||||||
%files -n libsensors4
|
%files -n libsensors5
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config %{_sysconfdir}/sensors3.conf
|
%config %{_sysconfdir}/sensors3.conf
|
||||||
%config %{_sysconfdir}/sensors.d/
|
%config %{_sysconfdir}/sensors.d/
|
||||||
%{_libdir}/libsensors.so.4*
|
%{_libdir}/libsensors.so.5*
|
||||||
%dir %{_docdir}/sensors
|
%dir %{_docdir}/sensors
|
||||||
%license %{_docdir}/sensors/COPYING.LGPL
|
%license %{_docdir}/sensors/COPYING.LGPL
|
||||||
%{_mandir}/man5/*.5.gz
|
%{_mandir}/man5/*.5%{?ext_man}
|
||||||
|
|
||||||
%files -n libsensors4-devel
|
%files -n libsensors5-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/sensors/
|
%{_includedir}/sensors/
|
||||||
%{_libdir}/libsensors.so
|
%{_libdir}/libsensors.so
|
||||||
%dir %{_docdir}/sensors
|
%dir %{_docdir}/sensors
|
||||||
%doc %{_docdir}/sensors/libsensors-API.txt
|
%doc %{_docdir}/sensors/libsensors-API.txt
|
||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user