diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f7af11 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lm-sensors-f9185e5c060ff22d2c8d4f6a19d317a529171c72.tar.gz diff --git a/.lm_sensors.metadata b/.lm_sensors.metadata new file mode 100644 index 0000000..f653d5c --- /dev/null +++ b/.lm_sensors.metadata @@ -0,0 +1 @@ +dd5bf20d5c25bd66848a74dac5ee1968a2cf3bb0 SOURCES/lm-sensors-f9185e5c060ff22d2c8d4f6a19d317a529171c72.tar.gz diff --git a/SOURCES/0001-Add-detection-of-AMD-Ryzen-w-Vega-graphics.patch b/SOURCES/0001-Add-detection-of-AMD-Ryzen-w-Vega-graphics.patch new file mode 100644 index 0000000..ae3d0e3 --- /dev/null +++ b/SOURCES/0001-Add-detection-of-AMD-Ryzen-w-Vega-graphics.patch @@ -0,0 +1,27 @@ +From c874e11639b6fd4002b155f7414f54f632465ec1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Thu, 3 May 2018 12:41:41 +0200 +Subject: [PATCH] Add detection of AMD Ryzen w/ Vega graphics + +Kernel support was added in commit +https://github.com/torvalds/linux/commit/877d8948d0aa402fb +--- + prog/detect/sensors-detect | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index 9b399e74..0d1cbb5d 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2773,7 +2773,7 @@ use vars qw(@cpu_ids); + }, { + name => "AMD Family 17h thermal sensors", + driver => "k10temp", +- detect => sub { amd_pci_detect('1463') }, ++ detect => sub { amd_pci_detect('1463', '15d0') }, + }, { + name => "AMD Family 15h power sensors", + driver => "fam15h_power", +-- +2.14.3 + diff --git a/SOURCES/0001-Detect-AMD-Family-17h-thermal-sensors.patch b/SOURCES/0001-Detect-AMD-Family-17h-thermal-sensors.patch new file mode 100644 index 0000000..aa1cf4a --- /dev/null +++ b/SOURCES/0001-Detect-AMD-Family-17h-thermal-sensors.patch @@ -0,0 +1,27 @@ +From f7d7997cf41bb0e1db0fb300073b434e0ea7dcc3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Fri, 20 Apr 2018 16:24:24 +0200 +Subject: [PATCH] Detect AMD Family 17h thermal sensors + +--- + prog/detect/sensors-detect | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index 6013aa3..f522b95 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2532,6 +2532,10 @@ use vars qw(@cpu_ids); + name => "AMD Family 16h thermal sensors", + driver => "k10temp", + detect => sub { amd_pci_detect('1533', '1583') }, ++ }, { ++ name => "AMD Family 17h thermal sensors", ++ driver => "k10temp", ++ detect => sub { amd_pci_detect('1463') }, + }, { + name => "AMD Family 15h power sensors", + driver => "fam15h_power", +-- +2.14.3 + diff --git a/SOURCES/0001-Fix-a-use-after-free.patch b/SOURCES/0001-Fix-a-use-after-free.patch new file mode 100644 index 0000000..aaf80b8 --- /dev/null +++ b/SOURCES/0001-Fix-a-use-after-free.patch @@ -0,0 +1,38 @@ +From 3b548b74aeaefb41ac9eca1f2e82ae693b469345 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Thu, 3 May 2018 17:28:52 +0200 +Subject: [PATCH] Fix a use after free() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The issue was reported by Coverity Scan. + +Signed-off-by: Ondřej Lysoněk +--- + prog/sensors/chips.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c +index 668f508f..01c08fa8 100644 +--- a/prog/sensors/chips.c ++++ b/prog/sensors/chips.c +@@ -48,7 +48,6 @@ void print_chip_raw(const sensors_chip_name *name) + continue; + } + printf("%s:\n", label); +- free(label); + + b = 0; + while ((sub = sensors_get_all_subfeatures(name, feature, &b))) { +@@ -64,6 +63,7 @@ void print_chip_raw(const sensors_chip_name *name) + } else + printf("(%s)\n", label); + } ++ free(label); + } + } + +-- +2.14.3 + diff --git a/SOURCES/0001-Fix-stale-links-and-outdated-info.patch b/SOURCES/0001-Fix-stale-links-and-outdated-info.patch new file mode 100644 index 0000000..207a80c --- /dev/null +++ b/SOURCES/0001-Fix-stale-links-and-outdated-info.patch @@ -0,0 +1,484 @@ +From 999b99de9415a3d55f6f46dcb99d74ed3d476982 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Wed, 27 Mar 2019 15:11:05 +0100 +Subject: [PATCH] Fix stale links and outdated info +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This combines several upstream commits, see below. The change to +sensors.conf.default is downstream-only. + +Resolves: rhbz#1356253 + +Signed-off-by: Ondřej Lysoněk + +(cherry picked from commit 75dbc240d9d758a75ff04f6b6bfa3f34e8842087) +(cherry picked from commit 4bc6ae4b8fdb7db96aa65537225922ec0dd1b284) +(cherry picked from commit e0e2d2d787d8d86fad1d3c545fbf487605903bd6) +(cherry picked from commit 24dab30d23cd99098b487585b54e30b8c4e899cf) +(cherry picked from commit 6413b80847ec54792d026191c01cdb985441a28b) +(cherry picked from commit be3679ae06b622b1d868271ddeb6ae8d12196d1f) +(cherry picked from commit 17d62bd3180d01676834d8a901d9bb1216b2f979) +(cherry picked from commit 8f54fe85e8c9015190a2c80b8297ea69b5111728) +(cherry picked from commit 807f9b1529892c0ac89bca0c7ae781c59f9c8393) +(cherry picked from commit 255804953e039a725df47c596e47f68554118ca5) +(cherry picked from commit 012d76b9785b467cf219bf134d6610861de58a97) +(cherry picked from commit 84f773b3ec8b75f377a68fd1436ea3ac6d11b170) +--- + Makefile | 2 +- + README | 27 ++++++++++++++++++--------- + doc/developers/lm_sensors.lsm | 10 ++++------ + doc/developers/release_checklist | 30 ++++++++---------------------- + doc/donations | 2 +- + doc/git | 22 ++++++++++++++++++++++ + doc/progs | 7 +++++-- + doc/svn | 31 ------------------------------- + etc/sensors.conf.default | 2 +- + etc/sensors.conf.eg | 4 ++-- + lib/libsensors.3 | 3 +-- + lib/sensors.conf.5 | 5 +---- + prog/detect/sensors-detect | 6 +++--- + prog/dump/isadump.8 | 2 +- + prog/dump/isaset.8 | 2 +- + prog/init/lm_sensors.init | 2 +- + prog/rrd/sens_day.in | 2 +- + prog/rrd/sens_week.in | 2 +- + prog/rrd/summ_week.in | 2 +- + prog/sensord/rrd.c | 3 ++- + prog/sensors/sensors.1 | 2 +- + prog/tellerstats/index.shtml | 2 +- + 22 files changed, 77 insertions(+), 93 deletions(-) + create mode 100644 doc/git + delete mode 100644 doc/svn + +diff --git a/Makefile b/Makefile +index d6f2192c..2f5859f0 100644 +--- a/Makefile ++++ b/Makefile +@@ -226,7 +226,7 @@ manhtml: + cp $(MANPAGES) html + cd html ; \ + export LOGNAME=sensors ; \ +- export HOSTNAME=www.lm-sensors.org ; \ ++ export HOSTNAME=hwmon.wiki.kernel.org ; \ + man2html *.[1-8] ; \ + $(RM) *.[1-8] + +diff --git a/README b/README +index 9c09ae4a..87b324b4 100644 +--- a/README ++++ b/README +@@ -82,23 +82,32 @@ daemon watching for sensor values, logging alarms and feeding an RRD + database with the sensor measurements. + + This package does not contain a nice graphical monitor. See +-http://www.lm-sensors.org/wiki/UsefulLinks for pointers to such programs. ++http://sensors-applet.sourceforge.net/ ++https://01.org/powertop/ ++https://wpitchoune.net/psensor/ ++https://amanusk.github.io/s-tui/ ++for such programs. + + + OTHER INFORMATION + ----------------- + +-The developers of this package can be reached through a mailing-list +-(see http://www.lm-sensors.org/wiki/AuthorsAndContributors). Do not hesitate +-to mail us if you have questions, suggestions, problems, want to +-contribute, or just want to report it works for you. But please try to ++The lm_sensors website can be found at ++https://hwmon.wiki.kernel.org/lm_sensors ++ ++The developers of this package can be reached using ++* a mailing list lm-sensors vger kernel org ++ (you can get information on how to subscribe, unsubscribe, and the list ++ of archives at http://vger.kernel.org/vger-lists.html#lm-sensors; ++ you do not need to be subscribed to post to the list) ++* GitHub (see https://github.com/lm-sensors/lm-sensors) ++ ++Do not hesitate to contact us if you have questions, suggestions, problems, ++want to contribute, or just want to report it works for you. But please try to + read the documentation before you ask any questions! It's all under doc/. +-Also make sure you read the FAQ at http://www.lm-sensors.org/wiki/FAQ. + + The latest version of this package can always be found at: +-http://www.lm-sensors.org/wiki/Download. Pre-release versions can be +-retrieved through anonymous SVN; see doc/svn for details. +- ++https://github.com/lm-sensors/lm-sensors. + + LICENSE + ------- +diff --git a/doc/developers/lm_sensors.lsm b/doc/developers/lm_sensors.lsm +index dcccd623..cf239557 100644 +--- a/doc/developers/lm_sensors.lsm ++++ b/doc/developers/lm_sensors.lsm +@@ -6,13 +6,11 @@ Description: Hardware health monitoring package for Linux. It consists of + a library to allow applications to read sensors data more + easily, and of an example program to pretty print this data. + Also included is a fan speed control script. +- http://www.lm-sensors.org/ ++ https://hwmon.wiki.kernel.org/lm_sensors + Keywords: sensors health hardware-monitoring fan-speed + Author: jdelvare@suse.de (Jean Delvare) +-Maintained-by: jdelvare@suse.de (Jean Delvare) +-Primary-site: http://dl.lm-sensors.org /lm-sensors/releases/ +- lm_sensors-3.4.0.tar.bz2 +- lm_sensors-3.4.0.tar.bz2.sig +-Alternate-site: ftp.netroedge.com /pub/lm-sensors/ ++Maintained-by: olysonek@redhat.com (Ondřej Lysoněk) ++Primary-site: https://github.com ++ /lm-sensors/lm-sensors/archive/V3-4-0/lm-sensors-3-4-0.tar.gz + Copying-policy: GPL/LGPL + End +diff --git a/doc/developers/release_checklist b/doc/developers/release_checklist +index 9ea1ddf2..b84256b5 100644 +--- a/doc/developers/release_checklist ++++ b/doc/developers/release_checklist +@@ -12,30 +12,16 @@ Release steps: + - Update doc/libsensors-API.txt and SENSORS_API_VERSION in lib/sensors.h + - Update version.h + - Commit +-- Tag the release using SVN: +- svn copy http://lm-sensors.org/svn/lm-sensors/trunk http://lm-sensors.org/svn/lm-sensors/tags/V3-x-x -m "3.x.x release" +- +-- Move to a temporary directory and get a copy of the freshly tagged code: +- svn export http://lm-sensors.org/svn/lm-sensors/tags/V3-x-x lm_sensors-3.x.x +-- Tar it up: +- tar -jcf lm_sensors-3.x.x.tar.bz2 lm_sensors-3.x.x +-- Sign it: +- gpg -b lm_sensors-3.x.x.tar.bz2 +-- Post it: +- scp lm_sensors-3.x.x.tar.bz2{,.sig} devel.atrpms.net:/srv/lm-sensors.org/dl/lm-sensors/releases +-- Set correct permissions: +- ssh devel.atrpms.net chmod 664 '/srv/lm-sensors.org/dl/lm-sensors/releases/lm_sensors-3.x.x.tar.bz2{,.sig}' ++- Tag the release using git: ++ git tag V3-x-x ++ git push origin V3-x-x + + After release, remember to: +-- Update the Download page on lm-sensors.org, then add a news item ++- Update the Download page on https://hwmon.wiki.kernel.org/download - use ++ a URL in the following format: ++ https://github.com/lm-sensors/lm-sensors/archive/V3-x-x/lm-sensors-3-x-x.tar.gz ++- Add a news item to https://hwmon.wiki.kernel.org/lm_sensors + - Announce on the lm-sensors mailing list +-- Add "+SVN" to version.h and commit +-- Mark the corresponding release milestone as complete using trac-admin +- e.g. 'trac-admin /srv/lm-sensors.org/trac milestone completed 3.x.x now' +-- Create a new version for the bug tracking system using trac-admin +- e.g. 'trac-admin /srv/lm-sensors.org/trac version add 3.x.x now' +-- Create a new release milestone using trac-admin +- e.g. 'trac-admin /srv/lm-sensors.org/trac milestone add 3.x.x+1 2012-05-10' ++- Add "+git" to version.h and commit + - Send lm_sensors.lsm to the LSM by mailing it to lsm@qqx.org with the + subject `add' (no quotes) +-- Copy to mirrors +diff --git a/doc/donations b/doc/donations +index 92eea578..4a30c2d0 100644 +--- a/doc/donations ++++ b/doc/donations +@@ -12,7 +12,7 @@ so hardware which isn't directly related to the development of a hardware + monitoring driver, but can be used to build test systems, is welcome too. + + If you would like to make a donation, please contact us. See +-http://www.lm-sensors.org/wiki/AuthorsAndContributors. Thanks! ++https://hwmon.wiki.kernel.org/authorsandcontributors. Thanks! + + + Donations are listed in chronological order. Note that the person mentioned +diff --git a/doc/git b/doc/git +new file mode 100644 +index 00000000..beeaedd8 +--- /dev/null ++++ b/doc/git +@@ -0,0 +1,22 @@ ++Git Repository ++ ++Anonymous access to our git repository is available. This means ++that users can have direct access to up-to-the-minute code. ++ ++Driver development for kernel version 3 is taking place directly in the kernel ++using git. The git repository is only used for user-space tools. ++ ++We presume that you have git installed on your machine. To check out a ++working copy of the code for this project use the following command: ++ ++git clone https://github.com/lm-sensors/lm-sensors.git ++ ++To update the code, do a git pull from within the lm-sensors directory. ++Please read the README and INSTALL files of your working copy for how ++to build the code. Also read the related files in the 'doc' directory ++for info regarding the different bus and chip drivers. Lastly, you can use ++the regular git commands on the files (like git log [filename]) to see the ++comments made by the developers as changes were made. ++ ++If you're not familiar with the use of we recommend the excellent ++online git documentation at https://git-scm.com/doc. +diff --git a/doc/progs b/doc/progs +index 080f461f..0c5464df 100644 +--- a/doc/progs ++++ b/doc/progs +@@ -6,8 +6,11 @@ These programs are generally small utilities used for debugging, + and installation of the lm_sensors package, and for demonstrating + the use of the drivers and libraries in this package. + For more elaborate programs (for example, GUI sensor displays), +-see http://www.lm-sensors.org/wiki/UsefulLinks. +- ++see https://github.com/lm-sensors/lm-sensors/ ++ http://sensors-applet.sourceforge.net/ ++ https://01.org/powertop/ ++ https://wpitchoune.net/psensor/ ++ https://amanusk.github.io/s-tui/ + + * prog/daemon/healthd.sh (written in bash, not installed) + An example of a very simple hardware health monitoring daemon. +diff --git a/doc/svn b/doc/svn +deleted file mode 100644 +index 2f0b1a84..00000000 +--- a/doc/svn ++++ /dev/null +@@ -1,31 +0,0 @@ +-Subversion Repository +- +-Anonymous access to our Subversion repository (SVN) is available. This means +-that users can have direct access to up-to-the-minute code. +-(http://subversion.tigris.org/) +- +-Driver development for kernel version 3 is taking place directly in the kernel +-using GIT. Do not use the drivers from our SVN repository for kernel version +-2.6 or 3, it will not work. The user-space tools will work though. +- +-We presume that you have Subversion installed on your machine. To check out a +-working copy of the code for this project use the following commands: +- +-svn checkout http://lm-sensors.org/svn/i2c/trunk i2c +-svn checkout http://lm-sensors.org/svn/lm-sensors/trunk lm-sensors +- +-To update the code, do a svn update from within the i2c or lm-sensors +-directories. Please read the README and INSTALL files of your working copy +-for how to build the code. Also read the related files in the 'doc' directory +-for info regarding the different bus and chip drivers. Lastly, you can use +-the regular svn commands on the files (like svn log [filename]) to see the +-comments made by the developers as changes were made. +- +-If you're not familiar with the use of Subversion we recommend the excellent +-Subversion book which is a valuable resource. +-(http://svnbook.red-bean.com/) +- +-Commits to the repositories are notified on the lm-sensors-notify +-mailing-list. Feel free to subscribe if you want to be informed of the +-changes made to the i2c and lm-sensors repositories. +-(http://lists.lm-sensors.org/mailman/listinfo/lm-sensors-notify) +diff --git a/etc/sensors.conf.default b/etc/sensors.conf.default +index 0365c6e5..f007e61a 100644 +--- a/etc/sensors.conf.default ++++ b/etc/sensors.conf.default +@@ -10,7 +10,7 @@ + # approach makes further updates much easier. + # + # Such custom configuration files for specific mainboards can be found at +-# http://www.lm-sensors.org/wiki/Configurations ++# https://github.com/lm-sensors/lm-sensors/tree/master/configs + + chip "lm78-*" "lm79-*" "lm80-*" "lm96080-*" + +diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg +index 309aad6d..d8f1dfdc 100644 +--- a/etc/sensors.conf.eg ++++ b/etc/sensors.conf.eg +@@ -2000,7 +2000,7 @@ chip "f71805f-*" "f71872f-*" + # The configuration below is for the Kv8Pro and AV8 this is the default as this + # driver is developed and tested on a Kv8Pro. + # Configurations for many other Abit boards can be found at: +-# http://www.lm-sensors.org/trac/wiki/Configurations/Abit ++# https://github.com/lm-sensors/lm-sensors/tree/master/configs/Abit + # If your motherboard isn't listed there and you create a configuration for it + # please add it there. + +@@ -2108,7 +2108,7 @@ chip "dme1737-*" + # driver is developed and tested on an Epox EP-9U1697 GLI board. + # + # Premade configurations for other boards can be found at: +-# http://www.lm-sensors.org/trac/wiki/Configurations/ ++# https://github.com/lm-sensors/lm-sensors/tree/master/configs + # If your motherboard isn't listed there and you create a configuration for it + # please add it there. + # +diff --git a/lib/libsensors.3 b/lib/libsensors.3 +index 399e90f4..23059bea 100644 +--- a/lib/libsensors.3 ++++ b/lib/libsensors.3 +@@ -274,5 +274,4 @@ sensors.conf(5) + + .SH AUTHOR + Frodo Looijaard, Jean Delvare and others +-http://www.lm-sensors.org/ +- ++https://hwmon.wiki.kernel.org/lm_sensors +diff --git a/lib/sensors.conf.5 b/lib/sensors.conf.5 +index dbf1ba21..fa0414b0 100644 +--- a/lib/sensors.conf.5 ++++ b/lib/sensors.conf.5 +@@ -566,7 +566,4 @@ libsensors(3) + + .SH AUTHOR + Frodo Looijaard and the lm_sensors group +-http://www.lm-sensors.org/ +- +- +- ++https://hwmon.wiki.kernel.org/lm_sensors +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index fb6658c0..279caf80 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -7004,7 +7004,7 @@ sub generate_modprobes + next if not @{$chips_detected{$driver}}; + if ($driver eq "to-be-written") { + print "Note: there is no driver for ${$chips_detected{$driver}}[0]{chipname} yet.\n". +- "Check http://www.lm-sensors.org/wiki/Devices for updates.\n\n"; ++ "Check https://hwmon.wiki.kernel.org/device_support_status for updates.\n\n"; + } elsif (!is_module_builtin($driver)) { + open(local *INPUTFILE, "modprobe -l $driver 2>/dev/null |"); + local $_; +@@ -7020,7 +7020,7 @@ sub generate_modprobes + # isn't supported + if ((($? >> 8) == 0) && ! $modulefound) { + 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"; + } else { + $hwmon_modules{$driver}++ +@@ -7312,7 +7312,7 @@ sub main + print "Either your system has no sensors, or they are not supported, or\n". + "they are connected to an I2C or SMBus adapter that is not\n". + "supported. If you find out what chips are on your board, check\n". +- "http://www.lm-sensors.org/wiki/Devices for driver status.\n"; ++ "https://hwmon.wiki.kernel.org/device_support_status for driver status.\n"; + } + exit; + } +diff --git a/prog/dump/isadump.8 b/prog/dump/isadump.8 +index 6bf5ea4a..1fa09fd0 100644 +--- a/prog/dump/isadump.8 ++++ b/prog/dump/isadump.8 +@@ -107,7 +107,7 @@ i2cdump(8), isaset(8) + + .SH AUTHOR + Frodo Looijaard, Mark D. Studebaker, and the lm_sensors group +-(http://www.lm-sensors.org/) ++(https://hwmon.wiki.kernel.org/lm_sensors) + .PP + This manual page was originally written by David Z Maze for + the Debian GNU/Linux system. It was then reviewed and augmented by the lm_sensors +diff --git a/prog/dump/isaset.8 b/prog/dump/isaset.8 +index e7bcd5db..4051af9e 100644 +--- a/prog/dump/isaset.8 ++++ b/prog/dump/isaset.8 +@@ -77,7 +77,7 @@ i2cset(8), isadump(8) + + .SH AUTHOR + Mark D. Studebaker, and the lm_sensors group +-(http://www.lm-sensors.org/) ++(https://hwmon.wiki.kernel.org/lm_sensors) + .PP + This manual page was shamelessly ripped from the i2cset and isadump manual + pages by Jean Delvare. +diff --git a/prog/init/lm_sensors.init b/prog/init/lm_sensors.init +index 77172d24..2ad58abc 100755 +--- a/prog/init/lm_sensors.init ++++ b/prog/init/lm_sensors.init +@@ -20,7 +20,7 @@ + # MA 02110-1301 USA. + + # See also the lm_sensors homepage at: +-# http://www.lm-sensors.org ++# https://hwmon.wiki.kernel.org/lm_sensors + + # It uses a config file /etc/sysconfig/lm_sensors that contains the modules + # to be loaded/unloaded. That file is sourced into this one. +diff --git a/prog/rrd/sens_day.in b/prog/rrd/sens_day.in +index 75dc13bd..15412f2b 100644 +--- a/prog/rrd/sens_day.in ++++ b/prog/rrd/sens_day.in +@@ -217,7 +217,7 @@ See also:
+

+ + This page generated with data and scripts from +-the lm_sensors project; ++the lm_sensors project; + the data are stored in a Round Robin Database and + the graphs are generated by + +diff --git a/prog/rrd/sens_week.in b/prog/rrd/sens_week.in +index cce50555..2b92f655 100644 +--- a/prog/rrd/sens_week.in ++++ b/prog/rrd/sens_week.in +@@ -217,7 +217,7 @@ See also:
+

+ + This page generated with data and scripts from +-
the lm_sensors project; ++the lm_sensors project; + the data are stored in a Round Robin Database and + the graphs are generated by + +diff --git a/prog/rrd/summ_week.in b/prog/rrd/summ_week.in +index 713197dc..7051d5f0 100644 +--- a/prog/rrd/summ_week.in ++++ b/prog/rrd/summ_week.in +@@ -89,7 +89,7 @@ See also:
+

+ + This page generated with data and scripts from +-
the lm_sensors project; ++the lm_sensors project; + the data are stored in a Round Robin Database and + the graphs are generated by + +diff --git a/prog/sensord/rrd.c b/prog/sensord/rrd.c +index 3cde7f18..a531362b 100644 +--- a/prog/sensord/rrd.c ++++ b/prog/sensord/rrd.c +@@ -498,7 +498,8 @@ int rrdCGI(void) + printf("

\nsensord by " + "Merlin Hughes" + ", all credit to the " +- "lm_sensors " ++ "" ++ "lm_sensors " + "crew.\n

\n"); + + printf("\n\n"); +diff --git a/prog/sensors/sensors.1 b/prog/sensors/sensors.1 +index c787e4a2..16d3e61b 100644 +--- a/prog/sensors/sensors.1 ++++ b/prog/sensors/sensors.1 +@@ -91,6 +91,6 @@ sensors.conf(5) + + .SH AUTHOR + Frodo Looijaard and the lm_sensors group +-http://www.lm-sensors.org/ ++https://hwmon.wiki.kernel.org/lm_sensors + + +diff --git a/prog/tellerstats/index.shtml b/prog/tellerstats/index.shtml +index 60c8ca14..1b71376e 100644 +--- a/prog/tellerstats/index.shtml ++++ b/prog/tellerstats/index.shtml +@@ -40,7 +40,7 @@ These plots were generated +

+ + This page generated with drivers and the tellerstats scripts from +-The lm_sensors drivers. ++The lm_sensors drivers. + +

+ +-- +2.20.1 + diff --git a/SOURCES/0001-Remove-superfluous-call-to-get_input_value.patch b/SOURCES/0001-Remove-superfluous-call-to-get_input_value.patch new file mode 100644 index 0000000..6c85330 --- /dev/null +++ b/SOURCES/0001-Remove-superfluous-call-to-get_input_value.patch @@ -0,0 +1,31 @@ +From 40aa494c026c67f089a4a84c600114473e9d7787 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Mon, 7 May 2018 13:37:26 +0200 +Subject: [PATCH] Remove superfluous call to get_input_value() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It is already called in the line above. +Discovered thanks to a Coverity Scan warning. + +Signed-off-by: Ondřej Lysoněk +--- + prog/sensors/chips.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c +index 01c08fa8..99df8264 100644 +--- a/prog/sensors/chips.c ++++ b/prog/sensors/chips.c +@@ -364,7 +364,6 @@ static void print_chip_temp(const sensors_chip_name *name, + sf = sensors_get_subfeature(name, feature, + SENSORS_SUBFEATURE_TEMP_INPUT); + if (sf && get_input_value(name, sf, &val) == 0) { +- get_input_value(name, sf, &val); + if (fahrenheit) + val = deg_ctof(val); + printf("%+6.1f%s ", val, degstr); +-- +2.14.3 + diff --git a/SOURCES/0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch b/SOURCES/0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch new file mode 100644 index 0000000..d08a855 --- /dev/null +++ b/SOURCES/0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch @@ -0,0 +1,31 @@ +From 1c41bbaea791b81382afe9a1c339df6b8aca9e00 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Thu, 10 Jan 2019 15:09:24 +0100 +Subject: [PATCH] sensors-detect: Add detection of AMD Family 17h model 30h +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Kernel support was added in mainline commit 210ba1201ff95. + +Signed-off-by: Ondřej Lysoněk +--- + prog/detect/sensors-detect | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index 206eb82..0151efc 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2535,7 +2535,7 @@ use vars qw(@cpu_ids); + }, { + name => "AMD Family 17h thermal sensors", + driver => "k10temp", +- detect => sub { amd_pci_detect('1463', '15d0') }, ++ detect => sub { amd_pci_detect('1463', '15d0', '1493') }, + }, { + name => "AMD Family 15h power sensors", + driver => "fam15h_power", +-- +2.17.2 + diff --git a/SOURCES/lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch b/SOURCES/lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch new file mode 100644 index 0000000..17e633b --- /dev/null +++ b/SOURCES/lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch @@ -0,0 +1,28 @@ +From 198101f07f8f70a471596b16788af69c43c41ddc Mon Sep 17 00:00:00 2001 +From: Martin Sehnoutka +Date: Wed, 1 Jun 2016 12:54:13 +0200 +Subject: [PATCH] lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings + +--- + prog/init/lm_sensors.service | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/prog/init/lm_sensors.service b/prog/init/lm_sensors.service +index 7d3bf80..fb56a91 100644 +--- a/prog/init/lm_sensors.service ++++ b/prog/init/lm_sensors.service +@@ -5,9 +5,9 @@ Description=Initialize hardware monitoring sensors + EnvironmentFile=/etc/sysconfig/lm_sensors + Type=oneshot + RemainAfterExit=yes +-ExecStart=-/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES ++ExecStart=-/usr/libexec/lm_sensors/modprobe $BUS_MODULES $HWMON_MODULES + ExecStart=/usr/bin/sensors -s +-ExecStop=-/sbin/modprobe -qabr $BUS_MODULES $HWMON_MODULES ++ExecStop=-/usr/libexec/lm_sensors/modprobe-r $BUS_MODULES $HWMON_MODULES + + [Install] + WantedBy=multi-user.target +-- +2.7.4 + diff --git a/SOURCES/lm_sensors-3.4.0-alternative-architectures-warning.patch b/SOURCES/lm_sensors-3.4.0-alternative-architectures-warning.patch new file mode 100644 index 0000000..7756fec --- /dev/null +++ b/SOURCES/lm_sensors-3.4.0-alternative-architectures-warning.patch @@ -0,0 +1,21 @@ +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index 005bbd0..737be98 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2877,7 +2877,15 @@ sub initialize_cpu_list + sub print_cpu_info + { + my $cpu = $cpu[0]; +- print "# Processor: $cpu->{'model name'} ($cpu->{'cpu family'}/$cpu->{model}/$cpu->{stepping})\n"; ++ if (!exists $cpu->{'model name'} || !exists $cpu->{'cpu family'} || !exists $cpu->{'model'}){ ++ print "**********\n"; ++ print "Your processor's architecture is not yet supported. Beware that sensors-detect might not work properly!\n"; ++ print "**********\n"; ++ } ++ else{ ++ print "# Processor: $cpu->{'model name'} ($cpu->{'cpu family'}/$cpu->{model}/$cpu->{stepping})\n"; ++ } ++ + } + + # @i2c_adapters is a list of references to hashes, one hash per I2C/SMBus diff --git a/SOURCES/lm_sensors-3.4.0-fix-systemd-paths.patch b/SOURCES/lm_sensors-3.4.0-fix-systemd-paths.patch new file mode 100644 index 0000000..94aeeb6 --- /dev/null +++ b/SOURCES/lm_sensors-3.4.0-fix-systemd-paths.patch @@ -0,0 +1,119 @@ +From b26a85f06c231e488f99e698861932077aab7be5 Mon Sep 17 00:00:00 2001 +From: Jean Delvare +Date: Mon, 6 Jul 2015 11:51:24 +0000 +Subject: [PATCH 1/6] sensors-detect: Fix systemd paths + +--- + CHANGES | 3 +++ + prog/detect/sensors-detect | 53 ++++++++++++++++++++++++++++------------------ + 2 files changed, 35 insertions(+), 21 deletions(-) + +diff --git a/CHANGES b/CHANGES +index a33bc42..9a761f5 100644 +--- a/CHANGES ++++ b/CHANGES +@@ -1,6 +1,9 @@ + lm-sensors CHANGES file + ----------------------- + ++SVN HEAD ++ sensors-detect: Fix systemd paths ++ + 3.4.0 (2015-06-25) + documentation: Update the note about libsensors license + sensors.conf.5: Enhance the hysteresis documentation +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index fb6658c..6c0c566 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2728,7 +2728,7 @@ sub isa_read_i5d6 + # AUTODETECTION # + ################# + +-use vars qw($dev_i2c $sysfs_root); ++use vars qw($dev_i2c $sysfs_root $systemd_systemctl $systemd_system_dir); + + sub initialize_conf + { +@@ -2789,6 +2789,19 @@ sub initialize_conf + exit -1; + } + } ++ ++ # Detect systemd presence and paths ++ if (-x "/usr/bin/systemctl") { ++ $systemd_systemctl = "/usr/bin/systemctl"; ++ } elsif (-x "/bin/systemctl") { ++ $systemd_systemctl = "/bin/systemctl"; ++ } ++ ++ if (-d "/usr/lib/systemd/system") { ++ $systemd_system_dir = "/usr/lib/systemd/system"; ++ } elsif (-d "/lib/systemd/system") { ++ $systemd_system_dir = "/lib/systemd/system"; ++ } + } + + # [0] -> VERSION +@@ -7090,19 +7103,16 @@ EOT + print SYSCONFIG "HWMON_MODULES=\"", join(" ", @{$hwmon_modules}), "\"\n"; + close(SYSCONFIG); + +- if (-x "/bin/systemctl" && -d "/lib/systemd/system" && +- ! -f "/lib/systemd/system/lm_sensors.service") { +- print "Copy prog/init/lm_sensors.service to /lib/systemd/system\n". +- "and run 'systemctl enable lm_sensors.service'\n". +- "for initialization at boot time.\n"; +- return; +- } +- +- if (-x "/bin/systemctl" && +- -f "/lib/systemd/system/lm_sensors.service") { +- system("/bin/systemctl", "enable", "lm_sensors.service"); +- system("/bin/systemctl", "start", "lm_sensors.service"); +- # All done, don't check for /etc/init.d/lm_sensors ++ if ($systemd_systemctl && $systemd_system_dir) { ++ if (-f "$systemd_system_dir/lm_sensors.service") { ++ system($systemd_systemctl, "enable", "lm_sensors.service"); ++ system($systemd_systemctl, "start", "lm_sensors.service"); ++ # All done, don't check for /etc/init.d/lm_sensors ++ } else { ++ print "Copy prog/init/lm_sensors.service to $systemd_system_dir\n". ++ "and run 'systemctl enable lm_sensors.service'\n". ++ "for initialization at boot time.\n"; ++ } + return; + } + +@@ -7170,13 +7180,6 @@ sub main + exit -1; + } + +- if (-x "/bin/systemctl" && -f "/lib/systemd/system/lm_sensors.service") { +- system("/bin/systemctl", "stop", "lm_sensors.service"); +- } elsif (-x "/sbin/service" && -f "/etc/init.d/lm_sensors" && +- -f "/var/lock/subsys/lm_sensors") { +- system("/sbin/service", "lm_sensors", "stop"); +- } +- + initialize_kernel_version(); + initialize_conf(); + initialize_pci(); +@@ -7187,6 +7190,14 @@ sub main + initialize_modules_supported(); + initialize_cpu_list(); + ++ if ($systemd_systemctl && $systemd_system_dir && ++ -f "$systemd_system_dir/lm_sensors.service") { ++ system("$systemd_systemctl", "stop", "lm_sensors.service"); ++ } elsif (-x "/sbin/service" && -f "/etc/init.d/lm_sensors" && ++ -f "/var/lock/subsys/lm_sensors") { ++ system("/sbin/service", "lm_sensors", "stop"); ++ } ++ + print "# sensors-detect revision $revision\n"; + initialize_dmi_data(); + print_dmi_summary(); +-- +2.7.4 + diff --git a/SOURCES/lm_sensors-modprobe b/SOURCES/lm_sensors-modprobe new file mode 100755 index 0000000..4d7e753 --- /dev/null +++ b/SOURCES/lm_sensors-modprobe @@ -0,0 +1,8 @@ +#!/bin/sh +if [ $# -ne 0 ]; then + /sbin/modprobe -ab $@ +else + echo "No sensors with loadable kernel modules configured." + echo "Please, run 'sensors-detect' as root in order to search for available sensors." + exit 1 +fi diff --git a/SOURCES/lm_sensors-modprobe-r b/SOURCES/lm_sensors-modprobe-r new file mode 100755 index 0000000..46027cf --- /dev/null +++ b/SOURCES/lm_sensors-modprobe-r @@ -0,0 +1,8 @@ +#!/bin/sh +if [ $# -ne 0 ]; then + /sbin/modprobe -abr $@ +else + echo "No sensors with loadable kernel modules configured." + echo "Please, run 'sensors-detect' as root in order to search for available sensors." + exit 1 +fi diff --git a/SOURCES/lm_sensors.sysconfig b/SOURCES/lm_sensors.sysconfig new file mode 100644 index 0000000..c1b5809 --- /dev/null +++ b/SOURCES/lm_sensors.sysconfig @@ -0,0 +1,2 @@ +# /etc/sysconfig/sensors - Defines modules loaded by /etc/rc.d/init.d/lm_sensors +# Run sensors-detect to generate this config file diff --git a/SOURCES/sensord.sysconfig b/SOURCES/sensord.sysconfig new file mode 100644 index 0000000..2d251c9 --- /dev/null +++ b/SOURCES/sensord.sysconfig @@ -0,0 +1,16 @@ +# configuration for harware sensors monitoring daemon +# in intevrals use suffix "m" for minutes, "s" for seconds, "h" for hours +# 0 means turning facility off + +# interval between scanning alarms +INTERVAL=1m + +# interval between logging +LOG_INTERVAL=20m + +# interval between RRD logging +# RRD_INTERVAL=1m + +# RRD db location +# RRD_LOGFILE=/var/log/sensors.rrd + diff --git a/SPECS/lm_sensors.spec b/SPECS/lm_sensors.spec new file mode 100644 index 0000000..8f6ee3d --- /dev/null +++ b/SPECS/lm_sensors.spec @@ -0,0 +1,648 @@ +%global commit f9185e5c060ff22d2c8d4f6a19d317a529171c72 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global year 2016 +%global month 06 +%global day 01 +%global date %{year}%{month}%{day} + +Name: lm_sensors +Version: 3.4.0 +Release: 8.%{date}git%{shortcommit}%{?dist} +Summary: Hardware monitoring tools +Group: Applications/System +License: LGPLv2+ and GPLv3+ and GPLv2+ and Verbatim and Public Domain + +#URL: http://www.lm-sensors.org/ +URL: http://github.com/groeck/lm-sensors/ + +# Official website seems to be dead. Using github temporarily. +#Source: http://dl.lm-sensors.org/lm-sensors/releases/%%{name}-%%{version}.tar.bz2 +Source0: http://github.com/groeck/lm-sensors/archive/%{commit}/lm-sensors-%{commit}.tar.gz +Source1: lm_sensors.sysconfig +# these 2 were taken from PLD-linux, Thanks! +Source2: sensord.sysconfig +Source3: lm_sensors-modprobe +Source4: lm_sensors-modprobe-r + +Patch0: lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch +Patch1: lm_sensors-3.4.0-fix-systemd-paths.patch +Patch2: lm_sensors-3.4.0-alternative-architectures-warning.patch +# Upstream patch: +Patch3: 0001-Detect-AMD-Family-17h-thermal-sensors.patch +# Upstream patch: +Patch4: 0001-Add-detection-of-AMD-Ryzen-w-Vega-graphics.patch +# Upstream patch: +Patch5: 0001-Fix-a-use-after-free.patch +# Upstream patch: +Patch6: 0001-Remove-superfluous-call-to-get_input_value.patch +# Upstream patch: +Patch7: 0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch +# Patch that combines several upstream patches. The change to +# sensors.conf.default is downstream-only, but can be dropped if lm_sensors +# is rebased to 3.5.0 or later. +Patch8: 0001-Fix-stale-links-and-outdated-info.patch + +%ifarch %{ix86} x86_64 +Requires: /usr/sbin/dmidecode +%endif +Requires: %{name}-libs = %{version}-%{release} +Requires(post): systemd-units +BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk +BuildRequires: rrdtool-devel + +%description +The lm_sensors package includes a collection of modules for general SMBus +access and hardware monitoring. + + +%package libs +Summary: Lm_sensors core libraries +Group: System Environment/Libraries + +%description libs +Core libraries for lm_sensors applications + + +%package devel +Summary: Development files for programs which will use lm_sensors +Group: Development/System +Requires: %{name}-libs = %{version}-%{release} + +%description devel +The lm_sensors-devel package includes a header files and libraries for use +when building applications that make use of sensor data. + + +%package sensord +Summary: Daemon that periodically logs sensor readings +Group: System Environment/Daemons +Requires: %{name} = %{version}-%{release} + +%description sensord +Daemon that periodically logs sensor readings to syslog or a round-robin +database, and warns of sensor alarms. + + +%prep +%setup -q -n lm-sensors-%{commit} + +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 + +mv prog/init/README prog/init/README.initscripts +chmod -x prog/init/fancontrol.init + +# Exchange revision string in sensors-detect with version, release and date +RELEASE=$(echo %{release} | sed "s/\..*$//" ) +sed -i "s/\$Revision\$ (\$Date\$)/%{version}-$RELEASE (%{year}-%{month}-%{day})/" \ + prog/detect/sensors-detect +# Remove string formatting, because new string is already formatted +sed -i 's/^\$revision =~ .*$//' prog/detect/sensors-detect + +%build +export CFLAGS="%{optflags} -fPIC" +make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ + EXLDFLAGS="-pie -Wl,-z,relro,-z,now" PROG_EXTRA=sensord user + + +%install +make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} PROG_EXTRA=sensord \ + DESTDIR=$RPM_BUILD_ROOT user_install +rm $RPM_BUILD_ROOT%{_libdir}/libsensors.a + +ln -s sensors.conf.5.gz $RPM_BUILD_ROOT%{_mandir}/man5/sensors3.conf.5.gz + +mkdir -p $RPM_BUILD_ROOT%{_initrddir} +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sensors.d +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig +install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/lm_sensors +install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/sensord + +# service files +mkdir -p $RPM_BUILD_ROOT%{_unitdir} +install -pm 644 prog/init/sensord.service $RPM_BUILD_ROOT%{_unitdir} +install -pm 644 prog/init/lm_sensors.service $RPM_BUILD_ROOT%{_unitdir} +install -pm 644 prog/init/fancontrol.service $RPM_BUILD_ROOT%{_unitdir} + +# customized modprobe calls +mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name} +install -pm 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe +install -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe-r + + +# Note non standard systemd scriptlets, since reload / stop makes no sense +# for lm_sensors +%triggerun -- lm_sensors < 3.3.0-2 +if [ -L /etc/rc3.d/S26lm_sensors ]; then + /bin/systemctl enable lm_sensors.service >/dev/null 2>&1 || : +fi +/sbin/chkconfig --del lm_sensors + +# ===== main ===== + +%post +%systemd_post lm_sensors.service + +%preun +%systemd_preun lm_sensors.service + +%postun +%systemd_postun_with_restart lm_sensors.service + +# ==== sensord === + +%post sensord +%systemd_post sensord.service + +%preun sensord +%systemd_preun sensord.service + +%postun sensord +%systemd_postun_with_restart sensord.service + +# ===== libs ===== + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + + +%files +%doc CHANGES CONTRIBUTORS COPYING doc README* +%doc prog/init/fancontrol.init prog/init/README.initscripts +%config(noreplace) %{_sysconfdir}/sensors3.conf +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man5/* +%{_mandir}/man8/* +%{_sbindir}/* +%{_unitdir}/lm_sensors.service +%{_unitdir}/fancontrol.service +%{_libexecdir}/%{name}/modprobe* +%config(noreplace) %{_sysconfdir}/sysconfig/lm_sensors +%exclude %{_sbindir}/sensord +%exclude %{_mandir}/man8/sensord.8.gz + +%files libs +%{_libdir}/*.so.* + +%files devel +%{_includedir}/sensors +%{_libdir}/lib*.so +%{_mandir}/man3/* + +%files sensord +%doc prog/sensord/README +%{_sbindir}/sensord +%{_mandir}/man8/sensord.8.gz +%config(noreplace) %{_sysconfdir}/sysconfig/sensord +%{_unitdir}/sensord.service + + +%changelog +* Wed Mar 27 2019 Ondřej Lysoněk - 3.4.0-8.20160601gitf9185e5 +- Fixed stale links and outdated info +- Resolves: rhbz#1356253 + +* Tue Jan 15 2019 Ondřej Lysoněk - 3.4.0-7.20160601gitf9185e5 +- Detect AMD Rome - Family 17h model 30h +- Resolves: rhbz#1650199 + +* Mon Apr 23 2018 Ondřej Lysoněk - 3.4.0-6.20160601gitf9185e5 +- Fix License field capitalization +- Resolves: rhbz#1577175 +- Add detection of AMD Ryzen w/ Vega graphics +- Resolves: rhbz#1569542 +- Fix issues found by Coverity Scan +- Resolves: rhbz#1578007 + +* Fri Apr 20 2018 Ondřej Lysoněk - 3.4.0-5.20160601gitf9185e5 +- Detect AMD Family 17h thermal sensors +- Resolves: rhbz#1569542 + +* Tue Aug 23 2016 Martin Sehnoutka - 3.4.0-4.20160601gitf9185e5 +- Print warning message when running on an alternative architecture. +- Resolves: #1362664 + +* Mon Aug 22 2016 Martin Sehnoutka - 3.4.0-3.20160601gitf9185e5 +- Replace Revision string with release and date. Resolves: #1362658 + +* Wed Jun 15 2016 Martin Sehnoutka - 3.4.0-2.20160601gitf9185e5 +- Add explicit package version requirement. + +* Wed Jun 01 2016 Martin Sehnoutka - 3.4.0-0.20160601gitf9185e5.1 +- New upstream release +- Drop patches that are already present in upstream +- Apply upstream fix for systemd paths +- Resolves: #1297795 + +* Wed Oct 01 2014 Jaromir Capik - 3.3.4-11 +- Hardening the build (#1092536) +- Resolves: rhbz#1092536 + +* Fri Jan 24 2014 Daniel Mach - 3.3.4-10 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 3.3.4-9 +- Mass rebuild 2013-12-27 + +* Mon Sep 09 2013 Jaromir Capik - 3.3.4-8 +- Fixing use of uninitialized 'vendor_id' value on ppc (#996590) +- Fixing bogus date in the changelog + +* Wed Aug 07 2013 Jaromir Capik - 3.3.4-7 +- Fixing the license tag + +* Sat Aug 03 2013 Petr Pisar - 3.3.4-6 +- Perl 5.18 rebuild + +* Thu Aug 01 2013 Jaromir Capik - 3.3.4-5 +- RH man page scan (#948520) + +* Tue Jul 30 2013 Jaromir Capik - 3.3.4-4 +- Avoiding modprobe errors when no sensors configured (#834215) +- Introducing fancontrol service file (#988922) +- Replacing hardcoded systemd unit path with _unitdir macro + +* Thu Jul 25 2013 Jaromir Capik - 3.3.4-3 +- Avoiding warnings when piping /dev/null to sensors-detect (#843507) + +* Wed Jul 17 2013 Petr Pisar - 3.3.4-2 +- Perl 5.18 rebuild + +* Wed May 29 2013 Jaromir Capik - 3.3.4-1 +- Update to 3.3.4 + +* Thu Feb 14 2013 Fedora Release Engineering - 3.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jan 17 2013 Jaromir Capik - 3.3.3-2 +- Fixing sensors-detect to avoid failures when the /dev/port is missing (#843521) + +* Thu Dec 06 2012 Jaromir Capik - 3.3.3-1 +- Update to 3.3.3 + +* Wed Sep 26 2012 Jaromir Capik - 3.3.2-5 +- #856120 - sensors - Inconsistency between man page and help + +* Mon Aug 27 2012 Jaromir Capik - 3.3.2-4 +- Migration to new systemd scriptlet macros + +* Thu Jul 19 2012 Fedora Release Engineering - 3.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Apr 02 2012 Nikola Pajkovsky - 3.3.2-2 +- rhbz#806364 - sensors-detect fails with "/sys/bus/pci/devices: No such file or directory at /usr/sbin/sensors-detect line 2895" + PCI bus is always required even if it might be missing on + some platforms. So don't choke is it is missing. Patch from + Jaromir Capik + +* Thu Mar 15 2012 Nikola Pajkovsky - 3.3.2-1 +- upstream lm-sensors-3.3.2 + +* Mon Feb 13 2012 Nikola Pajkovsky - 3.3.1-3 +- 789761 - Provide native systemd service + +* Fri Jan 13 2012 Fedora Release Engineering - 3.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jul 22 2011 Nikola Pajkovsky - 3.3.1-1 +- new upstream release 3.3.1 + +* Sun Apr 24 2011 Hans de Goede - 3.3.0-2 +- Fix sensors-detect with the udevdb now living under /run (#697565) +- Provide a native systemd service file (#692159) +- Drop systemv initscript +- Drop configuration conversion scripts, the last Fedora with lm_sensors-2.x + was Fedora 8 ! + +* Tue Mar 29 2011 Nikola Pajkovsky - 3.3.0 +- new upstream release 3.3.0 +- Resolved: 691548 - include empty /etc/sensors.d into the package + +* Tue Feb 08 2011 Fedora Release Engineering - 3.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Oct 11 2010 Nikola Pajkovsky - 3.2.0 +- new upstream release 3.2.0 +- change lincese to LGPLv2.1 + +* Fri Sep 03 2010 Nikola Pajkovsky - 3.1.2.svn5857 +- update lm_sensors from svn +- drop patch lm_sensors-3.1.2-lm85.patch(already in svn) + +* Wed Mar 31 2010 Nikola Pajkovsky - 3.1.2-2 +- patch lm_sensors-3.1.2-lm85.patch add into sensors-detect driver lm85 +- Resolved: 578527 - sensors-detect fails to detect + +* Wed Feb 3 2010 Nikola Pajkovsky - 3.1.2-1 +- new upstream release +- drop sensors-detect, beacuse it was taken form svn(531126) + +* Thu Dec 17 2009 Nikola Pajkovsky - 3.1.1-7 +- Resovles: #226101 - Merge Review: lm_sensors + +* Tue Nov 10 2009 Dennis Gilmore - 3.1.1-6 +- remove Excludearch s390 s390x + +* Tue Nov 10 2009 Nikola Pajkovsky - 3.1.1-5 +- Resolved: 531126 - sensors-detect gives perl uninitialized var warnings + +* Wed Sep 30 2009 Hans de Goede 3.1.1-4 +- Create a sensor3.conf.5 symlink to the sensors.conf.5 manpage (#526178) + +* Sat Jul 25 2009 Fedora Release Engineering - 3.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Jul 10 2009 Adam Jackson 3.1.1-2 +- Add -libs subpackage so perl doesn't get dragged in just for linking + against libsensors. + +* Tue Jul 7 2009 Nikola Pajokvsky 3.1.1-1 +- New release 3.1.1 + +* Sun Mar 8 2009 Hans de Goede 3.1.0-1 +- New upstream release 3.1.0 + +* Wed Feb 25 2009 Fedora Release Engineering - 3.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 1 2009 Hans de Goede 3.0.3-1 +- New upstream release 3.0.3 +- Add a patch to support drivers with an ACPI "bus" (new Asus atk0110 drv) + +* Tue Jul 1 2008 Hans de Goede 3.0.2-1 +- New upstream release 3.0.2 +- This release contains various important fixes to sensors-detect, which made + it unsafe to run sensors-detect on certain systems +- Drop all patches (all upstreamed) + +* Sat Jun 14 2008 Hans de Goede 3.0.1-6 +- Rebuild for new rrdtool + +* Sun Mar 16 2008 Hans de Goede 3.0.1-5 +- Make libsensors work with hwmon class entries without a device link + such as the acpi thermal_zone driver (bz 437637) + +* Wed Mar 12 2008 Hans de Goede 3.0.1-4 +- One (last) minor cosmetical fix to the initscript + +* Tue Feb 26 2008 Hans de Goede 3.0.1-3 +- Some improvements to the lsb-retcodes and service-default-off patches + from a review by upstream + +* Tue Feb 19 2008 Fedora Release Engineering - 3.0.1-2 +- Autorebuild for GCC 4.3 + +* Mon Feb 11 2008 Hans de Goede 3.0.1-1 +- New upstream release 3.0.1 +- Drop several patches which are included in the new upstream release +- Add a patch to make the initscript returncodes LSB compliant (bug 431884) + +* Tue Dec 18 2007 Hans de Goede 3.0.0-3 +- Fix sensors.conf errors with certain chips (patch send in by upstream) + +* Thu Dec 13 2007 Hans de Goede 3.0.0-2 +- Fix sensord rdd mode (patch send in by upstream) + +* Sat Nov 24 2007 Hans de Goede 3.0.0-1 +- New upstream release 3.0.0 (final) + +* Sat Nov 10 2007 Hans de Goede - 3.0.0-0.1.rc3 +- New upstream release 3.0.0-rc3 +- Remove eeprommer sub-package as eeprommer (and the other i2c-tools) + have moved to the new i2c-tools package + +* Wed Aug 22 2007 Hans de Goede - 2.10.4-2 +- Update License tag for new Licensing Guidelines compliance +- Disable service by default (no use without any sensors being configured), + enable it automatically on a successfull sensors-detect run (bz 253750) + +* Thu Jul 19 2007 Hans de Goede - 2.10.4-1 +- New upstream release 2.10.4 +- Drop upstreamed patches 4, 5, 7 and 8 +- Drop no longer need patch 3 +- Move libsensors.3 manpage to -devel sub-package +- Move sensord.8 manpage to -sensord sub-package +- Switch from ExclusiveArch: alph ix86 x86_64, to ExcludeArch: s390 s390x, + so that we get build on ppc, arm, etc. too. (bz 181037 amongst others) + +* Mon Jul 9 2007 Hans de Goede - 2.10.3-3 +- Remove no longer needed patches 1, 2 & 6 +- Various specfile cleanups to match the Fedora packaging guidelines + this fixes bz 238787 amongst other things +- Use lm_sensors provided initscript instead of our own private one, this + stops the sometimes unnecessary loading of i2c-dev +- No longer ship a static version of the library in -devel +- Compile sensord and eepromer extra programs and put each in its own + subpackage (bz 236904) + +* Tue Apr 17 2007 Phil Knirsch - 2.10.3-2 +- Fixed one more problem with sensors-detect (#215984) + +* Tue Apr 17 2007 Phil Knirsch - 2.10.3-1 +- Update to lm_sensors-2.10.3 + +* Thu Mar 15 2007 Phil Knirsch - 2.10.2-2 +- Only require dmidecode on supported archs (#232264) + +* Tue Feb 06 2007 Florian La Roche - 2.10.2-1 +- Update to lm_sensors-2.10.2 + +* Thu Nov 23 2006 Phil Knirsch - 2.10.1-1.fc7 +- Update to lm_sensors-2.10.1 +- Tiny specfile updates + +* Wed Jul 12 2006 Jesse Keating - 2.10.0-3.1 +- rebuild + +* Sun Jul 09 2006 Warren Togami 2.10.0-3 +- change buildreq from sysfsutils-devel to libsysfs-devel (#198055) + +* Mon Jun 05 2006 Jesse Keating 2.10.0-2 +- Fix BuildRequires, added flex. (#193511) Changed to Requires(post) and + (postun) + +* Fri May 12 2006 Phil Knirsch 2.10.0-1 +- Update to lm_sensors-2.10.0 +- Added missing buildprereq on sysfsutils-devel (#189196) +- Added missing prereq on chkconfig (#182838) +- Some fiddling to make it build on latest kernels + +* Wed Feb 15 2006 Phil Knirsch 2.9.2-2 +- Added missing dependency to chkconfig + +* Fri Feb 10 2006 Phil Knirsch 2.9.2-1 +- Update to lm_sensors-2.9.2 +- Fixed wrong subsys locking (#176965) +- Removed lm_sensors pwmconfig, has been fixed upstream now + +* Tue Feb 07 2006 Jesse Keating - 2.9.1-6.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Mon Jan 16 2006 Peter Jones 2.9.1-6 +- fix initscript subsys locking + +* Fri Dec 16 2005 Jesse Keating 2.9.1-5.1 +- rebuilt for new gcj + +* Tue Nov 08 2005 Phil Knirsch 2.9.1-5 +- Fixed lm_sensors pwmconfig patch. + +* Thu Sep 01 2005 Phil Knirsch 2.9.1-4 +- Fixed CAN-2005-2672 lm_sensors pwmconfig insecure temporary file usage + (#166673) +- Fixed missing optflags during build (#166910) + +* Mon May 23 2005 Phil Knirsch 2.9.1-3 +- Update to lm_sensors-2.9.1 +- Fixed wrong/missing location variables for make user +- Fixed missing check for /etc/modprobe.conf in sensors-detect (#139245) + +* Wed Mar 02 2005 Phil Knirsch 2.8.8-5 +- bump release and rebuild with gcc 4 + +* Tue Jan 11 2005 Dave Jones 2.8.8-4 +- Add dependancy on dmidecode rather than the obsolete kernel-utils. +- Don't delete dmidecode from the buildroot. + +* Thu Dec 23 2004 Phil Knirsch 2.8.8-2 +- Fixed typo in initscript (#139030) + +* Tue Dec 21 2004 Phil Knirsch 2.8.8-1 +- Added Buildprereq for bison (#138888) +- Update to lm_sensors-2.8.8 + +* Thu Oct 14 2004 Harald Hoyer 2.8.7-2 +- added initial /etc/sysconfig/lm_sensors +- added initscript +- MAKEDEV the initial i2c devices in initscript and sensors-detect + +* Tue Jul 06 2004 Phil Knirsch 2.8.7-1 +- Update to latest upstream version. + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Apr 13 2004 Phil Knirsch 2.8.6-1 +- Update to latest upstream version. +- Enabled build for x86_64. + +* Mon Mar 08 2004 Phil Knirsch 2.8.3-5 +- Fixed initscript to work with 2.6 kernel and made it more quiet (#112286). +- Changed proposed location of sensors (#116496). +- Fixed rpath issue. + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Feb 05 2004 Phil Knirsch 2.8.3-3 +- Modified sensors.conf to a noreplace config file. + +* Wed Feb 04 2004 Phil Knirsch 2.8.3-2 +- Fixed newly included initscript (#114608). + +* Thu Jan 29 2004 Phil Knirsch 2.8.3-1 +- Updated to latest upstream version 2.8.3 + +* Thu Jan 08 2004 Phil Knirsch 2.8.2-1 +- Update to latest upstream version 2.8.2 +- Fixed wrong & usage in if expression. +- Included several new perl tools. + +* Fri Oct 24 2003 Phil Knirsch 2.8.1-1 +- Update to latest upstream version 2.8.1 + +* Wed Jul 23 2003 Phil Knirsch 2.8.0-1 +- Update to latest upstream version 2.8.0 + +* Fri Jun 27 2003 Phil Knirsch 2.6.5-6.1 +- rebuilt + +* Fri Jun 27 2003 Phil Knirsch 2.6.5-6 +- Included prog/init scripts and README (#90606). +- Require kernel-utils for dmidecode (#88367, #65057). + +* Wed Jan 22 2003 Tim Powers 2.6.5-5 +- rebuilt + +* Wed Dec 04 2002 Phil Knirsch 2.6.5-4 +- Bump release and try to rebuild. + +* Tue Dec 3 2002 Tim Powers 2.6.5-3 +- don't include dmidecode, conflicts with kernel-utils + +* Fri Nov 29 2002 Phil Knirsch 2.6.5-2 +- Added patch to fix utf8 problem with sensors-detect. +- Fixed Copyright: to License: in specfile + +* Fri Nov 29 2002 Phil Knirsch 2.6.5-1 +- Updated userlevel to 2.6.5. +- Include all the /usr/sbin/ apps (like dmidecode). + +* Fri Oct 04 2002 Phil Knirsch 2.6.3-3 +- Removed Serverworks patch as it is already in sensors-detect. + +* Fri Jun 21 2002 Tim Powers 2.6.3-2 +- automated rebuild + +* Tue Jun 18 2002 Phil Knirsch 2.6.3-1 +- Updated of userland package to 2.6.3 +- Fixed file packaging bug (#66126). + +* Thu May 23 2002 Tim Powers 2.6.2-2 +- automated rebuild + +* Mon Jan 28 2002 Phil Knirsch 2.6.2-1 +- Update to version 2.6.2 + +* Wed Aug 22 2001 Philipp Knirsch 2.5.5-6 +- Added the SMBus CSB5 detection (#50468) + +* Mon Jul 9 2001 Philipp Knirsch +- Fixed duplicate Summary: entry for devel package (#47714) + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + +* Thu Feb 15 2001 Philipp Knirsch +- Removed the i2c block patch as our newest kernel doesn't need it anymore. + +* Mon Feb 5 2001 Matt Wilson +- added patch to not include sys/perm.h, as it's gone now. +- added alpha to ExclusiveArch +- use make "LINUX_HEADERS=/usr/include" to get kernel headers + +* Tue Jan 16 2001 Philipp Knirsch +- Updated to 2.5.5 which includes the Serverworks drivers. Kernel modules are + not included though es they have to go into the kernel package +- Had to remove all references to I2C_SMBUS_I2C_BLOCK_DATA from + kernel/busses/i2c-i801.c and prog/dump/i2cdump.c as this is not defined in + our current kernel package + +* Tue Dec 19 2000 Philipp Knirsch +- update to 2.5.4 +- updated URL and Source entries to point to new home of lm-sensors +- rebuild + +* Wed Aug 16 2000 Nalin Dahyabhai +- fix summary + +* Fri Jul 28 2000 Harald Hoyer +- added static library to devel package + +* Thu Jul 20 2000 Nalin Dahyabhai +- update to 2.5.2 +- build against a kernel that actually has new i2c code in it + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 12 2000 Nalin Dahyabhai +- initial package without kernel support