The attached patch upgrades the maintainer-less FreeRADIUS port to 1.1.2. It has been tested so far as being built and installed in my EAP-TLS wireless LAN environment, where it works OK, but I'd appreciate review and further testing from anyone more experienced. I've added support for Net-SNMP as well as UCD-SNMP, as Net-SNMP is supposedly supported in this version of FreeRADIUS. The previous way the Makefile was coded didn't allow installation with SNMP support in FreeRADIUS on a box with Net-SNMP. I chose to add this support using a new option to switch the SNMP dependency to the Net-SNMP library, and made this flag default to off - that way, I shouldn't break existing installations where UCD-SNMP is in use. Nevertheless, this feels like something of a kludge. If anyone can think of a more elegant fix to detect Net-SNMP or UCD-SNMP programatically in the Makefile, that would be a good thing. FreeRADIUS 1.1.2 builds without errors on my box with Net-SNMP installed (both the existing SNMP and my new Net-SNMP options were configured on), but I haven't tested SNMP functionality in FreeRADIUS. Fix: --- Patch begins ---
Forget the Net-SMMP part of this - further testing and research indicates that FreeRADIUS has only been fixed to work with Net-SNMP in UCD-SNMP compatibility mode. To build Net-SNMP in that mode will require messing with the Net-SNMP port, which is going to lead to compatibility issues on systems that don't have it built in that mode. That clearly isn't the right course to pursue. It looks like it might be possible to patch FreeRADIUS itself to work with Net-SNMP (and then submit the patch to the FreeRADIUS team); but that's not something I'm likely to manage in the next few hours and it may be that other work takes priority. For now, let's forget all about the second and third chunks of my suggested patch to Makefile. Apologies for the lack of word-wrapping in the original PR - that's what the web interface did. David
State Changed From-To: open->closed Committed, thanks!