[PATCH] Net-SNMP 5.0.x updates to 2.2 CVS branch
William K. Hardeman
wont-i at wkh.org
Thu Sep 25 01:22:15 EDT 2003
I've created a patch that replaces the UCD SNMP code with it's
corresponding Net-SNMP 5.0.x requirements. I tried to limit my changes to
adding --enable-ucd-snmp-compatibility, but Cyrus wouldn't compile
successfully when I did that. The current patch does compile successfully,
although I've not yet tested it very well. Having said that, it's actually
not a very invasive patch from an actual code stance (and a good thing,
since I'm a complete C-coding tyro). Most of the changes come in with
define changes and changing UCD SNMP function and constant names to their
corresponding Net-SNMP names.
The patch is against the cyrus-imapd-2_2 CVS branch. It doesn't have any
nice if/then comparisons for determining if UCD SNMP or Net-SNMP is
installed and therefore setting the code up to compile correctly. I thought
about doing this, but I didn't have the time, and I'm not really sure who
to do the autoconf stuff to work right, so I skipped that.
I've attached the patch to bug #2152 as a potential partial resolution of
that bug. If there's anything more I can do, let me know.
Best regards,
Will
----------------------------------------------------------------------------
William K. Hardeman
wont-i at wkh.org
http://www.wkh.org
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
-- Isaac Asimov
Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-imapd-2.2-netsnmp.patch
Type: application/octet-stream
Size: 18262 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030925/8f0687fc/cyrus-imapd-2.2-netsnmp.obj
More information about the Info-cyrus
mailing list