commit 9e3fb88e8b24e7278d183347971f232feb0ff0bb Author: CentOS Sources Date: Tue Nov 2 14:44:29 2021 -0400 import lm_sensors-3.6.0-10.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aaccd9f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lm-sensors-3-6-0.tar.gz diff --git a/.lm_sensors.metadata b/.lm_sensors.metadata new file mode 100644 index 0000000..4df6e71 --- /dev/null +++ b/.lm_sensors.metadata @@ -0,0 +1 @@ +2ef03242b62d70523919d06859503f12feb9f7d4 SOURCES/lm-sensors-3-6-0.tar.gz diff --git a/SOURCES/0001-Change-PIDFile-path-from-var-run-to-run.patch b/SOURCES/0001-Change-PIDFile-path-from-var-run-to-run.patch new file mode 100644 index 0000000..e90afb7 --- /dev/null +++ b/SOURCES/0001-Change-PIDFile-path-from-var-run-to-run.patch @@ -0,0 +1,40 @@ +From 25f4f8793730ef3d170f1f2bd729a82fd61a4784 Mon Sep 17 00:00:00 2001 +From: puneetse <22071208+puneetse@users.noreply.github.com> +Date: Wed, 11 Mar 2020 09:36:51 -0700 +Subject: [PATCH] Change PIDFile path from /var/run to /run + +/var/run is considered a legacy directory by systemd 239+ and having it in unit files causes a warning to be emitted to the journal. +--- + prog/init/fancontrol.service | 2 +- + prog/init/sensord.service | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/prog/init/fancontrol.service b/prog/init/fancontrol.service +index 3ac1ed02..43293141 100644 +--- a/prog/init/fancontrol.service ++++ b/prog/init/fancontrol.service +@@ -5,7 +5,7 @@ After=lm_sensors.service + + [Service] + Type=simple +-PIDFile=/var/run/fancontrol.pid ++PIDFile=/run/fancontrol.pid + ExecStart=/usr/sbin/fancontrol + + [Install] +diff --git a/prog/init/sensord.service b/prog/init/sensord.service +index 2448beeb..af2f0ae9 100644 +--- a/prog/init/sensord.service ++++ b/prog/init/sensord.service +@@ -5,7 +5,7 @@ After=lm_sensors.service + [Service] + EnvironmentFile=/etc/sysconfig/sensord + Type=forking +-PIDFile=/var/run/sensord.pid ++PIDFile=/run/sensord.pid + ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon + + [Install] +-- +2.25.4 + diff --git a/SOURCES/0001-Revert-unnecessary-soname-bump.patch b/SOURCES/0001-Revert-unnecessary-soname-bump.patch new file mode 100644 index 0000000..b5d9cc9 --- /dev/null +++ b/SOURCES/0001-Revert-unnecessary-soname-bump.patch @@ -0,0 +1,33 @@ +From bc827e6d45f31f20a4f6d27bfc41747900faf60c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Wed, 2 Jan 2019 12:38:31 +0100 +Subject: [PATCH] Revert unnecessary soname bump + +The soname bump in lm-sensors 3.5.0 was unnecessary - there was no +API/ABI change. I'm reverting it so that we can update lm-sensors +in released Fedoras as well as Rawhide. + +Related: +https://marc.info/?l=lm-sensors&m=154515276523720&w=2 +--- + lib/Module.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Module.mk b/lib/Module.mk +index 7732242..299b7d3 100644 +--- a/lib/Module.mk ++++ b/lib/Module.mk +@@ -32,8 +32,8 @@ LIBMAN5FILES := $(MODULE_DIR)/sensors.conf.5 + # The library soname (major number) must be changed if and only if the interface is + # changed in a backward incompatible way. The interface is defined by + # the public header files - in this case they are error.h and sensors.h. +-LIBMAINVER := 5 +-LIBMINORVER := 0.0 ++LIBMAINVER := 4 ++LIBMINORVER := 5.0 + LIBVER := $(LIBMAINVER).$(LIBMINORVER) + + # The static lib name, the shared lib name, and the internal ('so') name of +-- +2.17.2 + diff --git a/SOURCES/lm_sensors-3.6.0-allow_no_sensors.patch b/SOURCES/lm_sensors-3.6.0-allow_no_sensors.patch new file mode 100644 index 0000000..17d85f0 --- /dev/null +++ b/SOURCES/lm_sensors-3.6.0-allow_no_sensors.patch @@ -0,0 +1,92 @@ +diff --git a/prog/sensors/main.c b/prog/sensors/main.c +index f535b66..a19b919 100644 +--- a/prog/sensors/main.c ++++ b/prog/sensors/main.c +@@ -54,15 +54,16 @@ static void print_short_help(void) + static void print_long_help(void) + { + printf("Usage: %s [OPTION]... [CHIP]...\n", PROGRAM); +- puts(" -c, --config-file Specify a config file\n" +- " -h, --help Display this help text\n" +- " -s, --set Execute `set' statements (root only)\n" +- " -f, --fahrenheit Show temperatures in degrees fahrenheit\n" +- " -A, --no-adapter Do not show adapter for each chip\n" +- " --bus-list Generate bus statements for sensors.conf\n" +- " -u Raw output\n" +- " -j Json output\n" +- " -v, --version Display the program version\n" ++ puts(" -c, --config-file Specify a config file\n" ++ " -h, --help Display this help text\n" ++ " -s, --set Execute `set' statements (root only)\n" ++ " -f, --fahrenheit Show temperatures in degrees fahrenheit\n" ++ " -A, --no-adapter Do not show adapter for each chip\n" ++ " --bus-list Generate bus statements for sensors.conf\n" ++ " -u Raw output\n" ++ " -j Json output\n" ++ " -v, --version Display the program version\n" ++ " -n, --allow-no-sensors Do not fail if no sensors found\n" + "\n" + "Use `-' after `-c' to read the config file from stdin.\n" + "If no chips are specified, all chip info will be printed.\n" +@@ -270,7 +271,7 @@ static void print_bus_list(void) + + int main(int argc, char *argv[]) + { +- int c, i, err, do_bus_list; ++ int c, i, err, do_bus_list, allow_no_sensors; + const char *config_file_name = NULL; + + struct option long_opts[] = { +@@ -281,6 +282,7 @@ int main(int argc, char *argv[]) + { "no-adapter", no_argument, NULL, 'A' }, + { "config-file", required_argument, NULL, 'c' }, + { "bus-list", no_argument, NULL, 'B' }, ++ { "allow-no-sensors", no_argument, NULL, 'n' }, + { 0, 0, 0, 0 } + }; + +@@ -291,8 +293,9 @@ int main(int argc, char *argv[]) + do_sets = 0; + do_bus_list = 0; + hide_adapter = 0; ++ allow_no_sensors = 0; + while (1) { +- c = getopt_long(argc, argv, "hsvfAc:uj", long_opts, NULL); ++ c = getopt_long(argc, argv, "hsvfAc:ujn", long_opts, NULL); + if (c == EOF) + break; + switch(c) { +@@ -327,6 +330,9 @@ int main(int argc, char *argv[]) + case 'B': + do_bus_list = 1; + break; ++ case 'n': ++ allow_no_sensors = 1; ++ break; + default: + fprintf(stderr, + "Internal error while parsing options!\n"); +@@ -349,7 +355,9 @@ int main(int argc, char *argv[]) + "No sensors found!\n" + "Make sure you loaded all the kernel drivers you need.\n" + "Try sensors-detect to find out which these are.\n"); +- err = 1; ++ if (!allow_no_sensors) { ++ err = 1; ++ } + } + } else { + int cnt = 0; +diff --git a/prog/sensors/sensors.1 b/prog/sensors/sensors.1 +index 7d66e4b..d207aa1 100644 +--- a/prog/sensors/sensors.1 ++++ b/prog/sensors/sensors.1 +@@ -78,6 +78,8 @@ are only needed if you have several chips sharing the same address on different + buses of the same type. As bus numbers are usually not guaranteed to be stable + over reboots, these statements let you refer to each bus by its name rather + than numbers. ++.IP "-n, --allow-no-sensors" ++Do not fail if no sensors found. The error message will be printed in the log. + .SH FILES + .I /etc/sensors3.conf + .br diff --git a/SOURCES/lm_sensors-3.6.0-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch b/SOURCES/lm_sensors-3.6.0-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch new file mode 100644 index 0000000..b3c251a --- /dev/null +++ b/SOURCES/lm_sensors-3.6.0-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch @@ -0,0 +1,15 @@ +diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect +index 32fd29f..49feecb 100755 +--- a/prog/detect/sensors-detect ++++ b/prog/detect/sensors-detect +@@ -2792,6 +2792,10 @@ use vars qw(@cpu_ids); + name => "AMD Family 17h thermal sensors", + driver => "k10temp", + detect => sub { amd_pci_detect('1463', '15d0', '1493', '1443') }, ++ }, { ++ name => "AMD Family 19h thermal sensors", ++ driver => "k10temp", ++ detect => sub { amd_pci_detect('1653') }, + }, { + name => "AMD Family 15h power sensors", + driver => "fam15h_power", diff --git a/SOURCES/lm_sensors-modprobe-r-wrapper b/SOURCES/lm_sensors-modprobe-r-wrapper new file mode 100755 index 0000000..3f8ad7e --- /dev/null +++ b/SOURCES/lm_sensors-modprobe-r-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh +if [ $# -ne 0 ]; then + /usr/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-modprobe-wrapper b/SOURCES/lm_sensors-modprobe-wrapper new file mode 100755 index 0000000..a1d5e8b --- /dev/null +++ b/SOURCES/lm_sensors-modprobe-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh +if [ $# -ne 0 ]; then + /usr/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-wrapper b/SOURCES/lm_sensors-wrapper new file mode 100644 index 0000000..8c6e9d8 --- /dev/null +++ b/SOURCES/lm_sensors-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh +if /usr/bin/systemd-detect-virt 2>/dev/null 1>&2; then + SENSORS_FLAGS_VM='-n'; +else + SENSORS_FLAGS_VM=''; +fi; + +/usr/bin/sensors -s $SENSORS_FLAGS_VM diff --git a/SOURCES/lm_sensors.service b/SOURCES/lm_sensors.service new file mode 100644 index 0000000..fc99241 --- /dev/null +++ b/SOURCES/lm_sensors.service @@ -0,0 +1,13 @@ +[Unit] +Description=Hardware Monitoring Sensors + +[Service] +EnvironmentFile=/etc/sysconfig/lm_sensors +Type=oneshot +RemainAfterExit=yes +ExecStart=-@WRAPPER_DIR@/lm_sensors-modprobe-wrapper $BUS_MODULES $HWMON_MODULES +ExecStart=@WRAPPER_DIR@/lm_sensors-wrapper +ExecStop=-@WRAPPER_DIR@/lm_sensors-modprobe-r-wrapper $BUS_MODULES $HWMON_MODULES + +[Install] +WantedBy=multi-user.target diff --git a/SOURCES/lm_sensors.sysconfig b/SOURCES/lm_sensors.sysconfig new file mode 100644 index 0000000..334c5ea --- /dev/null +++ b/SOURCES/lm_sensors.sysconfig @@ -0,0 +1,2 @@ +# /etc/sysconfig/lm_sensors - Defines modules loaded by the lm_sensors service +# Run 'sensors-detect' to generate this config file diff --git a/SOURCES/sensord-service-wrapper b/SOURCES/sensord-service-wrapper new file mode 100755 index 0000000..70ca0f1 --- /dev/null +++ b/SOURCES/sensord-service-wrapper @@ -0,0 +1,13 @@ +#!/bin/sh + +. /etc/sysconfig/sensord + +ARGS="" +[ "$INTERVAL" = "" ] || ARGS=`echo "$ARGS -i $INTERVAL"` +[ "$LOG_INTERVAL" = "" ] || ARGS=`echo "$ARGS -l $LOG_INTERVAL"` +[ "$RRD_INTERVAL" = "" ] || ARGS=`echo "$ARGS -t $RRD_INTERVAL"` +[ "$RRD_LOGFILE" = "" ] || ARGS=`echo "$ARGS -r $RRD_LOGFILE"` +[ "$RRD_NO_AVG" = "1" ] && ARGS=`echo "$ARGS -T"` +[ "$LOAD_AVG" = "1" ] && ARGS=`echo "$ARGS -a"` + +/usr/sbin/sensord -f daemon $ARGS diff --git a/SOURCES/sensord.service b/SOURCES/sensord.service new file mode 100644 index 0000000..2bc5539 --- /dev/null +++ b/SOURCES/sensord.service @@ -0,0 +1,12 @@ +[Unit] +Description=Hardware Monitoring Data Logger +After=lm_sensors.service + +[Service] +EnvironmentFile=-/etc/sysconfig/sensord +Type=forking +PIDFile=/var/run/sensord.pid +ExecStart=@WRAPPER_DIR@/sensord-service-wrapper + +[Install] +WantedBy=multi-user.target diff --git a/SOURCES/sensord.sysconfig b/SOURCES/sensord.sysconfig new file mode 100644 index 0000000..8f00618 --- /dev/null +++ b/SOURCES/sensord.sysconfig @@ -0,0 +1,21 @@ +# configuration for harware sensors monitoring daemon +# use suffix "m" for minutes, "s" for seconds, "h" for hours +# 0 turns the 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 + +# Switch RRD in non-average mode ... 1 - enabled, 0 - disabled (default) +# RRD_NO_AVG=1 + +# Include load average in RRD ... 1 - enabled, 0 - disabled (default) +# LOAD_AVG=1 diff --git a/SPECS/lm_sensors.spec b/SPECS/lm_sensors.spec new file mode 100644 index 0000000..53e2ae5 --- /dev/null +++ b/SPECS/lm_sensors.spec @@ -0,0 +1,749 @@ +Name: lm_sensors +Version: 3.6.0 +Release: 10%{?dist} +Summary: Hardware monitoring tools + +%define upstream_version %(echo %{version} | sed -e 's/\\./-/g') + +# Some man pages are licensed Verbatim (lib/sensors.conf.5, +# prog/sensors/sensors.1). Files from dist-git are licensed +# MIT (according to the Fedora Project Contributor Agreement +# https://fedoraproject.org/wiki/Licensing:Main#License_of_Fedora_SPEC_Files). +# The rest is GPLv2+. +License: GPLv2+ and Verbatim and MIT + +URL: http://github.com/lm-sensors/lm-sensors/ + +Source0: https://github.com/lm-sensors/lm-sensors/archive/V%{upstream_version}/lm-sensors-%{upstream_version}.tar.gz +Source1: lm_sensors.sysconfig +# This one was taken from PLD-linux, Thanks! +Source2: sensord.sysconfig +Source3: lm_sensors-modprobe-wrapper +Source4: lm_sensors-modprobe-r-wrapper +Source5: sensord.service +Source6: sensord-service-wrapper +Source7: lm_sensors.service +Source8: lm_sensors-wrapper + +# Downstream-only: +Patch0: 0001-Revert-unnecessary-soname-bump.patch + +# Upstream patch: +Patch1: 0001-Change-PIDFile-path-from-var-run-to-run.patch +Patch2: lm_sensors-3.6.0-allow_no_sensors.patch +# Upstream commit 5deee7d0c301df779: +Patch3: lm_sensors-3.6.0-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch + +Requires: /usr/sbin/modprobe +%ifarch %{ix86} x86_64 +Requires: /usr/sbin/dmidecode +%endif +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires(post): systemd-units +BuildRequires: kernel-headers >= 2.2.16, bison, flex, gawk +BuildRequires: perl-generators +BuildRequires: rrdtool-devel +BuildRequires: gcc +BuildRequires: make + + +%description +The lm_sensors package includes a collection of modules for general SMBus +access and hardware monitoring. + + +%package libs +Summary: Lm_sensors core libraries +License: LGPLv2+ + +%description libs +Core libraries for lm_sensors applications + + +%package devel +Summary: Development files for programs which will use lm_sensors +Requires: %{name}-libs = %{version}-%{release} +# One manual page is licensed Verbatim (lib/libsensors.3). The rest is LGPLv2+. +License: LGPLv2+ and Verbatim + +%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 +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +# One man page is licensed Verbatim (prog/sensord/sensord.8). Files from +# dist-git are licensed MIT according to the FPCA. The rest is GPLv2+. +License: GPLv2+ and Verbatim and MIT + +%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-%{upstream_version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 + +# Remove currently unused files to make sure we've got the license right +rm -f prog/init/sysconfig-lm_sensors-convert prog/hotplug/unhide_ICH_SMBus + +mv prog/init/README prog/init/README.initscripts +chmod -x prog/init/fancontrol.init + +# fixing the sensord-service-wrapper path +cp -p %{SOURCE5} sensord.service +cp -p %{SOURCE7} lm_sensors.service +sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" sensord.service +sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service + + +%build +%set_build_flags +%{make_build} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ + EXLDFLAGS="$LDFLAGS" PROG_EXTRA=sensord BUILD_STATIC_LIB=0 user + + +%install +make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} PROG_EXTRA=sensord \ + DESTDIR=$RPM_BUILD_ROOT BUILD_STATIC_LIB=0 user_install + +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/fancontrol.service $RPM_BUILD_ROOT%{_unitdir} +install -pm 644 lm_sensors.service $RPM_BUILD_ROOT%{_unitdir} +install -pm 644 sensord.service $RPM_BUILD_ROOT%{_unitdir} + +# customized modprobe calls +mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name} +install -pm 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/lm_sensors-modprobe-wrapper +install -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/lm_sensors-modprobe-r-wrapper +install -pm 755 %{SOURCE8} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/lm_sensors-wrapper + +# sensord service wrapper +install -pm 755 %{SOURCE6} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/sensord-service-wrapper + + +# 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 ===== + +%ldconfig_scriptlets libs + + +%files +%license COPYING +%doc CHANGES CONTRIBUTORS doc README* +%doc prog/init/fancontrol.init prog/init/README.initscripts +%config %{_sysconfdir}/sensors3.conf +%config(noreplace) %{_sysconfdir}/sysconfig/lm_sensors +%dir %{_sysconfdir}/sensors.d +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man5/* +%{_mandir}/man8/* +%{_sbindir}/* +%{_unitdir}/lm_sensors.service +%{_unitdir}/fancontrol.service +%dir %{_libexecdir}/%{name} +%{_libexecdir}/%{name}/lm_sensors-modprobe*wrapper +%{_libexecdir}/%{name}/lm_sensors-wrapper +%exclude %{_sbindir}/sensord +%exclude %{_mandir}/man8/sensord.8.gz + +%files libs +%{_libdir}/*.so.* +%license COPYING.LGPL + +%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 +%{_libexecdir}/%{name}/sensord-service-wrapper + + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 3.6.0-10 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 3.6.0-9 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 09 2021 Artem Egorenkov - 3.6.0-8 +- Add support for AMD CPU Family 19h + +* Wed Mar 03 2021 Artem Egorenkov - 3.6.0-7 +- New flag for no sensors added. This flag is used in VM environment + to make sensors binaries not fail if no sensors was detected. + +* Tue Jan 26 2021 Fedora Release Engineering - 3.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Aug 18 2020 Ondřej Lysoněk - 3.6.0-5 +- Fix systemd warning about use of /var/run +- Resolves: rhbz#1869421 + +* Tue Jul 28 2020 Fedora Release Engineering - 3.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 3.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 17 2020 Tom Stellard - 3.6.0-2 +- Use make_build macro + +* Fri Oct 18 2019 Ondřej Lysoněk - 3.6.0-1 +- New version + +* Thu Aug 15 2019 Ondřej Lysoněk - 3.5.0-6 +- Add detection support for AMD family 17h model 70h +- Add detection support for Nuvoton NCT6797D +- Resolves: rhbz#1740735 + +* Thu Jul 25 2019 Fedora Release Engineering - 3.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon May 06 2019 Ondřej Lysoněk - 3.5.0-4 +- Added explicit Requires on lm_sensors-libs + +* Fri Feb 01 2019 Fedora Release Engineering - 3.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 15 2019 Ondřej Lysoněk - 3.5.0-2 +- Detect AMD Rome - Family 17h model 30h + +* Wed Jan 02 2019 Ondřej Lysoněk - 3.5.0-1 +- New version +- Resolves: rhbz#1653259 + +* Fri Sep 28 2018 Ondřej Lysoněk - 3.4.0-18.20180522git70f7e08 +- Drop unneeded build dependency on libsysfs-devel + +* Tue Jul 17 2018 Ondřej Lysoněk - 3.4.0-17.20180522git70f7e08 +- Corrected the License tag + +* Fri Jul 13 2018 Fedora Release Engineering - 3.4.0-16.20180522git70f7e08 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jun 25 2018 Ondřej Lysoněk - 3.4.0-15.20180522git70f7e08 +- New version + +* Fri May 04 2018 Ondřej Lysoněk - 3.4.0-14 +- Add detection of AMD Ryzen w/ Vega graphics +- Resolves: rhbz#1573399 +- Covscan fixes + +* Fri Apr 20 2018 Ondřej Lysoněk - 3.4.0-13 +- Detect AMD Family 17h thermal sensors +- Resolves: rhbz#1569542 + +* Thu Apr 12 2018 Ondřej Lysoněk - 3.4.0-12 +- Use LDFLAGS when linking executables +- Resolves: rhbz#1548691 + +* Mon Apr 09 2018 Rafael Santos - 3.4.0-11 +- Use standard Fedora build and linker flags (bug #1548691) + +* Mon Feb 19 2018 Ondřej Lysoněk - 3.4.0-10 +- Add gcc to BuildRequires + +* Thu Feb 08 2018 Fedora Release Engineering - 3.4.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3.4.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.4.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Hans de Goede - 3.4.0-5 +- Rebuilt for new librrd + +* Thu Feb 04 2016 Fedora Release Engineering - 3.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Aug 20 2015 Jaromir Capik - 3.4.0-3 +- Removing 'noreplace' for sensors3.conf (#1239216) + +* Tue Aug 04 2015 Jaromir Capik - 3.4.0-2 +- Adding /etc/sensors.d in the %%files (#1236309) + +* Thu Jun 25 2015 Jaromir Capik - 3.4.0-1 +- Updating to 3.4.0 (#1235660) + +* Wed Jun 17 2015 Fedora Release Engineering - 3.3.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 3.3.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.3.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Jan 25 2014 Ville Skyttä - 3.3.5-3 +- Own the %%{_libexecdir}/lm_sensors dir. +- Fix case of Public Domain in license tag. + +* Fri Jan 24 2014 Jaromir Capik - 3.3.5-2 +- systemd units rework + +* Thu Jan 23 2014 Jaromir Capik - 3.3.5-1 +- Update to 3.3.5 (#1056448) + +* Sun Jan 19 2014 Ville Skyttä - 3.3.4-11 +- Do not order services after syslog.target. + +* Fri Jan 10 2014 Jaromir Capik - 3.3.4-10 +- Enhancing the sensord service wrapper (#863986) +- UsrMove and libexec path tunings + +* Thu Jan 09 2014 Jaromir Capik - 3.3.4-9 +- Introducing sensord service wrapper (#949521) + +* 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