Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57450 - Patch and ebuild to add lm_sensors support to net-snmp
Summary: Patch and ebuild to add lm_sensors support to net-snmp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 23:07 UTC by Joshua Gerrish
Modified: 2004-07-21 12:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild to include lm_sensors support (net-snmp-5.1.1-r1.ebuild,2.15 KB, text/plain)
2004-07-17 23:10 UTC, Joshua Gerrish
Details
Patch to include lm_sensors support (sensors.patch,13.37 KB, patch)
2004-07-17 23:10 UTC, Joshua Gerrish
Details | Diff
diff to net-snmp-5.1.1.ebuild (net-snmp.diff,356 bytes, text/plain)
2004-07-21 11:42 UTC, Joshua Gerrish
Details
diff to net-snmp-5.1.1.ebuild (net-snmp.diff,599 bytes, text/plain)
2004-07-21 11:51 UTC, Joshua Gerrish
Details

Note You need to log in before you can comment on or make changes to this bug.
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.