From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 25 14:20:07 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45AE016A418 for ; Sat, 25 Aug 2007 14:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8A113C481 for ; Sat, 25 Aug 2007 14:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7PEK72u067054 for ; Sat, 25 Aug 2007 14:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7PEK6lZ067053; Sat, 25 Aug 2007 14:20:06 GMT (envelope-from gnats) Date: Sat, 25 Aug 2007 14:20:06 GMT Message-Id: <200708251420.l7PEK6lZ067053@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: David Wood Cc: Subject: Re: ports/115758: net/freeradius: error install FreeRadius, conflicts dependencias X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Wood List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 14:20:07 -0000 The following reply was made to PR ports/115758; it has been noted by GNATS. From: David Wood To: bug-followup@FreeBSD.org, carlos_mmc@hotmail.com, kuriyama@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)