@@ -5,37 +5,37 @@ Subject: [PATCH] patch the debian package info to get sensord
5
5
6
6
Signed-off-by: Mykola Faryma <
[email protected] >
7
7
---
8
- .../lm-sensors-3.4.0/ debian/sensord.NEWS | 12 ++++
9
- .../lm-sensors-3.4.0/ debian/sensord.README.Debian | 23 ++++++++
10
- .../lm-sensors-3.4.0/ debian/sensord.default | 20 +++++++
11
- .../lm-sensors-3.4.0/ debian/sensord.dirs | 3 +
12
- .../lm-sensors-3.4.0/ debian/sensord.init | 64 ++++++++++++++++++++++
13
- .../lm-sensors-3.4.0/ debian/sensord.install | 2 +
14
- .../lm-sensors-3.4.0/ debian/sensord.maintscript | 2 +
15
- .../lm-sensors-3.4.0/ debian/sensord.postinst | 23 ++++++++
16
- .../lm-sensors-3.4.0/ debian/sensord.substvars | 2 +
17
- .../lm-sensors-3.4.0/ debian/control | 14 ++++++++++++++
8
+ debian/sensord.NEWS | 12 ++++
9
+ debian/sensord.README.Debian | 23 ++++++++
10
+ debian/sensord.default | 20 +++++++
11
+ debian/sensord.dirs | 3 +
12
+ debian/sensord.init | 64 ++++++++++++++++++++++
13
+ debian/sensord.install | 2 +
14
+ debian/sensord.maintscript | 2 +
15
+ debian/sensord.postinst | 23 ++++++++
16
+ debian/sensord.substvars | 2 +
17
+ debian/control | 14 ++++++++++++++
18
18
11 files changed, 167 insertions(+), 1 deletion(-)
19
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.NEWS
20
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.README.Debian
21
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.default
22
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.dirs
23
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.init
24
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.install
25
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.maintscript
26
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.postinst
27
- create mode 100644 src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.substvars
19
+ create mode 100644 /debian/sensord.NEWS
20
+ create mode 100644 /debian/sensord.README.Debian
21
+ create mode 100644 /debian/sensord.default
22
+ create mode 100644 /debian/sensord.dirs
23
+ create mode 100644 /debian/sensord.init
24
+ create mode 100644 /debian/sensord.install
25
+ create mode 100644 /debian/sensord.maintscript
26
+ create mode 100644 /debian/sensord.postinst
27
+ create mode 100644 /debian/sensord.substvars
28
28
29
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.NEWS b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.NEWS
29
+ diff --git a/debian/sensord.NEWS b/debian/sensord.NEWS
30
30
new file mode 100644
31
31
index 0000000..4bcfdb9
32
32
--- /dev/null
33
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.NEWS
33
+ +++ b/debian/sensord.NEWS
34
34
@@ -0,0 +1,12 @@
35
35
+ lm-sensors (1:2.9.0-7) unstable; urgency=low
36
36
+
37
- + Since version 2.9.0 sensord doesn't scale the loadavg itself (* 10) as
38
- + RRDs work with floating-point values and thus do very well with
37
+ + Since version 2.9.0 sensord doesn't scale the loadavg itself (* 10) as
38
+ + RRDs work with floating-point values and thus do very well with
39
39
+ non-integer values even < 1.
40
40
+
41
41
+ They can even be scaled later at display time by rrdtool itself using:
@@ -44,40 +44,40 @@ index 0000000..4bcfdb9
44
44
+
45
45
+ -- Aurelien Jarno <[email protected] > Tue, 11 Jan 2005 22:41:34 +0100
46
46
+
47
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.README.Debian b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.README.Debian
47
+ diff --git a/debian/sensord.README.Debian b/debian/sensord.README.Debian
48
48
new file mode 100644
49
49
index 0000000..9159fbc
50
50
--- /dev/null
51
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.README.Debian
51
+ +++ b/debian/sensord.README.Debian
52
52
@@ -0,0 +1,23 @@
53
53
+ This is the Debian packaging of sensord, the sensord logging daemon.
54
54
+
55
- + The file /etc/default/sensord specifies the configuration parameters
56
- + used to start the daemon. In particular, the syslog facility is set
55
+ + The file /etc/default/sensord specifies the configuration parameters
56
+ + used to start the daemon. In particular, the syslog facility is set
57
57
+ to `daemon' and not `local4'.
58
58
+
59
59
+ You must load the appropriate lm-sensors modules during system boot in
60
60
+ order for the daemon to function correctly.
61
61
+
62
- + The file /etc/modules is a useful place to list these modules; for
63
- + example, you might list i2c-amd756 (an I2C/SMBUS module) and w83781d
62
+ + The file /etc/modules is a useful place to list these modules; for
63
+ + example, you might list i2c-amd756 (an I2C/SMBUS module) and w83781d
64
64
+ (a sensor chip module).
65
65
+
66
- + The daemon does not setup the sensors limits from /etc/sensors3.conf,
66
+ + The daemon does not setup the sensors limits from /etc/sensors3.conf,
67
67
+ this is the job of sensors, when called with -s. Note that 'sensors -s'
68
- + is called at boot time from /etc/init.d/lm-sensors, so that the sensors
69
- + limits should be the right ones in normal use. Don't forget to run
68
+ + is called at boot time from /etc/init.d/lm-sensors, so that the sensors
69
+ + limits should be the right ones in normal use. Don't forget to run
70
70
+ sensors -s again if you changed the limits in /etc/sensors3.conf.
71
71
+
72
72
+ For full documentation on setting up lm-sensors on your system,
73
73
+ see /usr/share/doc/lm-sensors.
74
74
+
75
75
+ -- David Z. Maze <[email protected] >
76
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.default b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.default
76
+ diff --git a/debian/sensord.default b/debian/sensord.default
77
77
new file mode 100644
78
78
index 0000000..589b94c
79
79
--- /dev/null
80
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.default
80
+ +++ b/debian/sensord.default
81
81
@@ -0,0 +1,20 @@
82
82
+ # Interval between scanning for alarms; e.g., 30s, 1m, 1h
83
83
+ # ALARM_INTERVAL=1m
@@ -99,20 +99,20 @@ index 0000000..589b94c
99
99
+ # Include the load average in the RRD file. If you enable this you
100
100
+ # must remove your old RRD file and rebuild your CGI script.
101
101
+ # RRD_LOADAVG=yes
102
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.dirs b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.dirs
102
+ diff --git a/debian/sensord.dirs b/debian/sensord.dirs
103
103
new file mode 100644
104
104
index 0000000..b9cd814
105
105
--- /dev/null
106
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.dirs
106
+ +++ b/debian/sensord.dirs
107
107
@@ -0,0 +1,3 @@
108
108
+ usr/sbin
109
109
+ usr/share/man/man8
110
110
+ etc/default
111
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.init b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.init
111
+ diff --git a/debian/sensord.init b/debian/sensord.init
112
112
new file mode 100644
113
113
index 0000000..4d70d43
114
114
--- /dev/null
115
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.init
115
+ +++ b/debian/sensord.init
116
116
@@ -0,0 +1,64 @@
117
117
+ #!/bin/sh
118
118
+
@@ -178,27 +178,27 @@ index 0000000..4d70d43
178
178
+ esac
179
179
+
180
180
+ exit 0
181
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.install b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.install
181
+ diff --git a/debian/sensord.install b/debian/sensord.install
182
182
new file mode 100644
183
183
index 0000000..9713fee
184
184
--- /dev/null
185
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.install
185
+ +++ b/debian/sensord.install
186
186
@@ -0,0 +1,2 @@
187
187
+ usr/sbin/sensord
188
188
+ usr/share/man/man8/sensord.8
189
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.maintscript b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.maintscript
189
+ diff --git a/debian/sensord.maintscript b/debian/sensord.maintscript
190
190
new file mode 100644
191
191
index 0000000..0e0ff03
192
192
--- /dev/null
193
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.maintscript
193
+ +++ b/debian/sensord.maintscript
194
194
@@ -0,0 +1,2 @@
195
195
+ # Remove old logcheck ignore file
196
- + rm_conffile /etc/logcheck/ignore.d.server/sensord 1:3.3.5-1~
197
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.postinst b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.postinst
196
+ + rm_conffile /etc/logcheck/ignore.d.server/sensord 1:3.3.5-1~
197
+ diff --git a/debian/sensord.postinst b/debian/sensord.postinst
198
198
new file mode 100644
199
199
index 0000000..3418fa6
200
200
--- /dev/null
201
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.postinst
201
+ +++ b/debian/sensord.postinst
202
202
@@ -0,0 +1,23 @@
203
203
+ #!/bin/sh
204
204
+ # postinst script for sensord
@@ -223,17 +223,17 @@ index 0000000..3418fa6
223
223
+ esac
224
224
+
225
225
+ #DEBHELPER#
226
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.substvars b/src/lm-sensors/lm-sensors-3.4.0 /debian/sensord.substvars
226
+ diff --git a/debian/sensord.substvars b/debian/sensord.substvars
227
227
new file mode 100644
228
228
index 0000000..978fc8b
229
229
--- /dev/null
230
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/sensord.substvars
230
+ +++ b/debian/sensord.substvars
231
231
@@ -0,0 +1,2 @@
232
232
+ misc:Depends=
233
233
+ misc:Pre-Depends=
234
- diff --git a/src/lm-sensors/lm-sensors-3.4.0/ debian/control b/src/lm-sensors/lm-sensors-3.4.0 /debian/control
235
- --- a/src/lm-sensors/lm-sensors-3.4.0/ debian/control
236
- +++ b/src/lm-sensors/lm-sensors-3.4.0/ debian/control
234
+ diff --git a/debian/control b/debian/control
235
+ --- a/debian/control
236
+ +++ b/debian/control
237
237
@@ -68,3 +68,17 @@ Description: utility to control the fan speed
238
238
and sets the corresponding PWM outputs to the computed values. This is
239
239
useful when this feature is not provided by the BIOS or ACPI, which should
@@ -252,5 +252,5 @@ diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/control b/src/lm-sensors/lm-
252
252
+ This package contains a daemon that logs hardware health status to the
253
253
+ system log with optional warnings on potential system problems.
254
254
+
255
- - -
255
+ - -
256
256
1.9.1
0 commit comments