Opened 11 years ago

Closed 9 years ago

#37273 closed defect (duplicate)

Fix for net-snmp +server variant

Reported by: gjasny@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: net-snmp

Description

Hello,

when I was testing the xsnmp package (currently in in the submission queue) I noticed that the net-snmp +server startup item does not work. Attached you'll find the patch to fix this.

For reference see

/System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

Personally I'd like to see the server variant enabled by default. The only downsides are the additional bytes for the snmp daemon and library.

This would resolve the linking problems for 3rd party componens like xsnmp that arise when MacPorts just installs the "regular" libnetsnmp and not libnetsnmpagent (due to missing +server). Then the MacOS system libnetsnmpagent library is linked instead. So one would end up with a mix of MacPorts and MacOS net-snmp libraries in one process.

Thanks, Gregor

Attachments (1)

Portfile-net-snmp-37273.diff (533 bytes) - added by gjasny@… 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by gjasny@…

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 11 years ago by gjasny@…

This is a duplicate of #26197

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.