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.
Created attachment 35669 [details] Updated ebuild to include lm_sensors support
Created attachment 35670 [details, diff] Patch to include lm_sensors support
can you attach the ebuild again as a plain/text? better - attach the diff to the current ebuild. Thanks.
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.
Created attachment 35899 [details] diff to net-snmp-5.1.1.ebuild Here's a diff against net-snmp-5.1.1.ebuild
Sorry about the original ebuild and not masking it. New ebuild diff is masked , but doesn't include local useflag
Created attachment 35900 [details] diff to net-snmp-5.1.1.ebuild diff to net-snmp-5.1.1.ebuild
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.