ports/115758: net/freeradius: error install FreeRadius, conflicts dependencias

David Wood david at wood2.org.uk
Sat Aug 25 14:20:07 UTC 2007


The following reply was made to PR ports/115758; it has been noted by GNATS.

From: David Wood <david at wood2.org.uk>
To: bug-followup at FreeBSD.org, carlos_mmc at hotmail.com, kuriyama at FreeBSD.org
Cc:  
Subject: Re: ports/115758: net/freeradius: error install FreeRadius, conflicts dependencias
Date: Sat, 25 Aug 2007 15:18:02 +0100

 I don't speak any Spanish, so this reply is in English only. If Carlos 
 doesn't understand, maybe someone could translate.
 
 
 Unfortunately the SNMP SMUX code in FreeRADIUS uses the UCD SNMP API. It 
 is possible to use Net-SNMP if Net-SNMP is configured and installed with 
 the --enable-ucd-snmp-compatibility option, but the FreeBSD 
 net-mgmt/net-snmp port doesn't provide any mechanism for enabling that 
 option.
 
 The net/freeradius port is therefore correct - if you want to build the 
 port with SNMP support, the port must depend on UCD SNMP 
 (net-mgmt/net-snmp4).
 
 UCD SNMP (net-mgmt/net-snmp4) and Net-SNMP (net-mgmt/net-snmp) conflict 
 - you can only have one or the other installed, hence the reported 
 error.
 
 
 I have looked at the feasibility of reworking FreeRADIUS to work with 
 net-snmp without ucd-snmp compatibility installed, and it became clear 
 that this is not straightforward. I haven't the time to work further on 
 this at the moment, much as I would like to do something bearing in mind 
 that UCD SNMP is arguably obsolescent.
 
 If someone wants to add support for Net-SNMP to FreeRADIUS they should 
 really be working against the FreeRADIUS CVS HEAD, which will become 
 FreeRADIUS 2.0.0 within the next few months. This may be best done by 
 adding AgentX support to FreeRADIUS, as SMUX is obsolescent - see 
 http://preview.tinyurl.com/yvgnpm
 
 
 The other possibility is to explore whether net-mgmt/net-snmp could be 
 built with --enable-ucd-snmp-compatibility - I guess this is kuriyama@'s 
 department. I've cc'd him on this reply.
 
 
 The SNMP counters in FreeRADIUS 1.1 are rather limited anyway - see 
 http://wiki.freeradius.org/SNMP_HOWTO#SNMP_Query for example output.
 
 
 At the moment, there are two ways ahead if you can't remove the 
 dependency of those other ports on net-mgmt/net-snmp, then remove 
 net-mgmt/net-snmp from your system.
 
 1. Turn off the SNMP option in FreeRADIUS; it's not turned on by 
 default.
 
 2. Install FreeRADIUS in a jail, along with net-mgmt/net-snmp4. If you 
 are considering doing this, I suggest you consider using ezjail - it 
 makes creating and managing jails much easier.
 
 
 Whilst this is a regrettable state of affairs, I believe that this is 
 "not a bug". The port is not in error; the requirement for 
 net-mgmt/net-snmp4 is unfortunate, but accurate.
 
 
 
 Best wishes,
 
 
 
 
 David (net/freeradius maintainer)



More information about the freebsd-ports-bugs mailing list