[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

snmpd_5.2.3-7~bpo.1: missing lmSensors support


the current backport of snmpd 5.2.3 doesn't include support for the lmSensors
mib. After looing into debian/rules and comparing it to the original 5.1.2
included in sarge i found out, that a call to determine the host os fails.

In 5.2.3 debian/rules calls "dpkg-architecture -qDEB_HOST_ARCH_OS" to
determine the host os. While this obviously works on etch, one has to call
"dpkg-architecture -qDEB_HOST_GNU_SYSTEM" on sarge to get the host os.

Therefor the host os determination fails on sarge and prevents the lmSensors mib
support to be activated. Applying the patch below solves this problem!

---------- CUT HERE ---------
diff -ruN net-snmp-5.2.3.orig/debian/rules net-snmp-5.2.3/debian/rules
--- net-snmp-5.2.3.orig/debian/rules    2007-04-02 09:01:38.000000000 +0200
+++ net-snmp-5.2.3/debian/rules 2007-04-04 11:40:37.913710133 +0200
@@ -21,7 +21,7 @@
-DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
---------- CUT HERE ---------

Mit freundlichem Gruss...                                                                                                                     
                        ...Christian 'poedi' Nordmann                                                                                                 
orgatech GmbH - Ihr Partner in Sachen Internet                                                                         
Scheideweg 65 - D-26121 Oldenburg - fon +49-441-98347-0 - fax +49-441-98347-29                                                                
Geschaeftsfuehrer Claus Plachetka - HRB 4521 - Amtsgericht Oldenburg
Steuer-Nr 64/211/01406 - VAT-ID: DE220516052

Keyid/-fingerprint: 73C811B6/5752 B408 D2DD D2DA 361B 8B83 94AA 8F24 73C8 11B6

Attachment: signature.asc
Description: Digital signature

Reply to: