|
|
fca6d9 |
diff --git a/doc/developers/release_checklist b/doc/developers/release_checklist
|
|
|
fca6d9 |
index b84256b5..a97745e1 100644
|
|
|
fca6d9 |
--- a/doc/developers/release_checklist
|
|
|
fca6d9 |
+++ b/doc/developers/release_checklist
|
|
|
fca6d9 |
@@ -10,7 +10,7 @@ Release steps:
|
|
|
fca6d9 |
- Update the CHANGES file (set version and release date)
|
|
|
fca6d9 |
- Update doc/developers/lm_sensors.lsm (Version, Entered-date and Primary-site)
|
|
|
fca6d9 |
- Update doc/libsensors-API.txt and SENSORS_API_VERSION in lib/sensors.h
|
|
|
fca6d9 |
-- Update version.h
|
|
|
fca6d9 |
+- grep for LM_VERSION and update values of the constants
|
|
|
fca6d9 |
- Commit
|
|
|
fca6d9 |
- Tag the release using git:
|
|
|
fca6d9 |
git tag V3-x-x
|
|
|
fca6d9 |
@@ -22,6 +22,7 @@ After release, remember to:
|
|
|
fca6d9 |
https://github.com/lm-sensors/lm-sensors/archive/V3-x-x/lm-sensors-3-x-x.tar.gz
|
|
|
fca6d9 |
- Add a news item to https://hwmon.wiki.kernel.org/lm_sensors
|
|
|
fca6d9 |
- Announce on the lm-sensors mailing list
|
|
|
fca6d9 |
-- Add "+git" to version.h and commit
|
|
|
fca6d9 |
+- grep for LM_VERSION and add "+git" to the values of the constants
|
|
|
fca6d9 |
+- Commit
|
|
|
fca6d9 |
- Send lm_sensors.lsm to the LSM by mailing it to lsm@qqx.org with the
|
|
|
fca6d9 |
subject `add' (no quotes)
|
|
|
fca6d9 |
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
|
|
|
fca6d9 |
index 78b0b5a1..07df0fbe 100755
|
|
|
fca6d9 |
--- a/prog/detect/sensors-detect
|
|
|
fca6d9 |
+++ b/prog/detect/sensors-detect
|
|
|
fca6d9 |
@@ -38,12 +38,9 @@ foreach ('/usr/sbin', '/usr/local/sbin', '/sbin') {
|
|
|
fca6d9 |
#########################
|
|
|
fca6d9 |
|
|
|
fca6d9 |
use constant NO_CACHE => 1;
|
|
|
fca6d9 |
+use constant LM_VERSION => '3.4.0+git';
|
|
|
fca6d9 |
use vars qw(@pci_adapters @chip_ids @ipmi_ifs @non_hwmon_chip_ids
|
|
|
fca6d9 |
- $i2c_addresses_to_scan $revision @i2c_byte_cache %opt);
|
|
|
fca6d9 |
-
|
|
|
fca6d9 |
-$revision = '$Revision$ ($Date$)';
|
|
|
fca6d9 |
-$revision =~ s/\$\w+: (.*?) \$/$1/g;
|
|
|
fca6d9 |
-$revision =~ s/ \([^()]*\)//;
|
|
|
fca6d9 |
+ $i2c_addresses_to_scan @i2c_byte_cache %opt);
|
|
|
fca6d9 |
|
|
|
fca6d9 |
# This is the list of SMBus or I2C adapters we recognize by their PCI
|
|
|
fca6d9 |
# signature. This is an easy and fast way to determine which SMBus or I2C
|
|
|
fca6d9 |
@@ -7511,7 +7508,7 @@ sub main
|
|
|
fca6d9 |
system("/sbin/service", "lm_sensors", "stop");
|
|
|
fca6d9 |
}
|
|
|
fca6d9 |
|
|
|
fca6d9 |
- print "# sensors-detect revision $revision\n";
|
|
|
fca6d9 |
+ print "# sensors-detect version ".LM_VERSION."\n";
|
|
|
fca6d9 |
initialize_dmi_data();
|
|
|
fca6d9 |
print_dmi_summary();
|
|
|
fca6d9 |
print_kernel_version();
|
|
|
fca6d9 |
diff --git a/prog/init/fancontrol.init b/prog/init/fancontrol.init
|
|
|
fca6d9 |
index eabe734c..8ab2c929 100755
|
|
|
fca6d9 |
--- a/prog/init/fancontrol.init
|
|
|
fca6d9 |
+++ b/prog/init/fancontrol.init
|
|
|
fca6d9 |
@@ -1,7 +1,5 @@
|
|
|
fca6d9 |
#!/bin/sh
|
|
|
fca6d9 |
#
|
|
|
fca6d9 |
-# $Id$
|
|
|
fca6d9 |
-#
|
|
|
fca6d9 |
# fancontrol
|
|
|
fca6d9 |
#
|
|
|
fca6d9 |
# chkconfig: 2345 90 01
|
|
|
fca6d9 |
diff --git a/prog/pwm/pwmconfig b/prog/pwm/pwmconfig
|
|
|
fca6d9 |
index a40acd5c..3ecdca5b 100755
|
|
|
fca6d9 |
--- a/prog/pwm/pwmconfig
|
|
|
fca6d9 |
+++ b/prog/pwm/pwmconfig
|
|
|
fca6d9 |
@@ -29,8 +29,7 @@
|
|
|
fca6d9 |
#
|
|
|
fca6d9 |
#
|
|
|
fca6d9 |
|
|
|
fca6d9 |
-REVISION=$(echo '$Revision$' | cut -d' ' -f2)
|
|
|
fca6d9 |
-REVDATE=$(echo '$Date$' | cut -d' ' -f2)
|
|
|
fca6d9 |
+LM_VERSION='3.4.0+git'
|
|
|
fca6d9 |
PIDFILE="/var/run/fancontrol.pid"
|
|
|
fca6d9 |
|
|
|
fca6d9 |
if [ -f "$PIDFILE" ]
|
|
|
fca6d9 |
@@ -48,7 +47,7 @@ then
|
|
|
fca6d9 |
exit 1
|
|
|
fca6d9 |
fi
|
|
|
fca6d9 |
|
|
|
fca6d9 |
-echo "# pwmconfig revision $REVISION ($REVDATE)"
|
|
|
fca6d9 |
+echo "# pwmconfig version $LM_VERSION"
|
|
|
fca6d9 |
echo 'This program will search your sensors for pulse width modulation (pwm)'
|
|
|
fca6d9 |
echo 'controls, and test each one to see if it controls a fan on'
|
|
|
fca6d9 |
echo 'your motherboard. Note that many motherboards do not have pwm'
|