Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57450

Summary: Patch and ebuild to add lm_sensors support to net-snmp
Product: Gentoo Linux Reporter: Joshua Gerrish <jgerrish>
Component: [OLD] ServerAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated ebuild to include lm_sensors support
Patch to include lm_sensors support
diff to net-snmp-5.1.1.ebuild
diff to net-snmp-5.1.1.ebuild

Description Joshua Gerrish 2004-07-17 23:07:24 UTC
Attached is a patch and ebuild to add support for lm_sensors to net-snmp-5.1.1.  The patch is a slightly modified copy of the Redhat one detailed in the following bug reports:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69125
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107618

I believe Harold Hoyer originally wrote the patch.

I'm not sure if this adds a dependency on lm_sensors to snmp, and if it does how to resolve that, maybe add a new USE flag for sensors?

Reproducible: Always
Steps to Reproduce:
running snmpwalk after installing the new ebuild will show the new sensor tree.
Comment 1 Joshua Gerrish 2004-07-17 23:10:15 UTC
Created attachment 35669 [details]
Updated ebuild to include lm_sensors support
Comment 2 Joshua Gerrish 2004-07-17 23:10:44 UTC
Created attachment 35670 [details, diff]
Patch to include lm_sensors support
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-07-21 10:06:33 UTC
can you attach the ebuild again as a plain/text?
better - attach the diff to the current ebuild.
Thanks.
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-07-21 10:17:36 UTC
As this is an optional, I've intoduced a new local useflag for lm_sensors.

also, note, that a new ebuild should be arch masked (All stable -> ~)

I'll be putting this after testing.
Thanks.
Comment 5 Joshua Gerrish 2004-07-21 11:42:12 UTC
Created attachment 35899 [details]
diff to net-snmp-5.1.1.ebuild

Here's a diff against net-snmp-5.1.1.ebuild
Comment 6 Joshua Gerrish 2004-07-21 11:48:17 UTC
Sorry about the original ebuild and not masking it.  New ebuild diff is masked , but doesn't include local useflag
Comment 7 Joshua Gerrish 2004-07-21 11:51:31 UTC
Created attachment 35900 [details]
diff to net-snmp-5.1.1.ebuild

diff to net-snmp-5.1.1.ebuild
Comment 8 Eldad Zack (RETIRED) gentoo-dev 2004-07-21 12:51:48 UTC
note that it also has a dependency on lm-sensors (controlled by a local useflag)
I've put a new ebuild (net-snmp-5.1.1-r1) into portage.

you can diff net-snmp-5.1.1 against it to check my changes.

Thanks for the patch.