From yazzy@yazzy.org  Fri Sep 17 00:40:59 2004
Return-Path: <yazzy@yazzy.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2AC5D16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Sep 2004 00:40:59 +0000 (GMT)
Received: from lapdance.yazzy.org (mail.yazzy.org [217.8.140.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 82ABB43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Sep 2004 00:40:58 +0000 (GMT)
	(envelope-from yazzy@yazzy.org)
Received: from [127.0.0.1] (helo=lapdance)
	by lapdance.yazzy.org with esmtp (Exim 4.42 (FreeBSD))
	id 1C86di-0006CH-J9
	for FreeBSD-gnats-submit@freebsd.org; Fri, 17 Sep 2004 02:30:14 +0200
Message-Id: <1095381014.0@lapdance>
Date: Fri, 17 Sep 2004 02:30:14 +0200
From: "YazzY" <yazzy@yazzy.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: SNMP fix for the FreeRadius port.
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         71806
>Category:       ports
>Synopsis:       SNMP fix for net/freeradius port.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 00:50:24 GMT 2004
>Closed-Date:    Wed Oct 20 04:13:41 GMT 2004
>Last-Modified:  Wed Oct 20 04:13:41 GMT 2004
>Originator:     YazzY
>Release:        FreeBSD 5.3-BETA4 i386
>Organization:
YazzY.org 
>Environment:


System: FreeBSD 5.3-BETA4 #13: Mon Sep 13 13:53:22 CEST 2004
    root@lapdance:/usr/obj/usr/src/sys/LAPDANCE



>Description:


FreeRadius with support for snmp uses the "old" version of snmp - net-mgmt/net-snmp4 which cannot coexist with net-mgmt/net-snmp used by other ports, i.e cacti or naggios. Those ports can be too installed with freeradius support and you get port-collision. 


>How-To-Repeat:


Install /net-mgmt/nagios-snmp-plugins and then try to install net/freeradius with snmp support.


>Fix:


--- Makefile begins here ---
--- Makefile.orig	Fri Sep 17 02:21:41 2004
+++ Makefile	Fri Sep 17 02:28:37 2004
@@ -71,7 +71,8 @@
 .endif
 
 .ifdef(WITH_SNMP)
-LIB_DEPENDS+=	snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
+BUILD_DEPENDS+= snmpcheck:${PORTSDIR}/net-mgmt/net-snmp 
+RUN_DEPENDS+=   snmpcheck:${PORTSDIR}/net-mgmt/net-snmp 
 .else
 CONFIGURE_ARGS+=--without-snmp
 .endif
--- Makefile ends here ---



>Release-Note:
>Audit-Trail:

From: Andrew Thompson <andy@fud.org.nz>
To: freebsd-gnats-submit@FreeBSD.org, yazzy@yazzy.org
Cc:  
Subject: Re: ports/71806: SNMP fix for net/freeradius port.
Date: Thu, 23 Sep 2004 09:05:20 +1200

 Hi,
 
 
 Its not a simple as switching from ucd-snmp to net-snmp. freeradius only
 supports ucd-snmp4 as it links to the shared library snmp.4, net-snmp
 provides snmp.6 which is not ABI/API compatable.
 
 You may want to discuss it on the freeradius mailing lists.
 
 regards,
 
 Andrew
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Oct 20 04:12:06 GMT 2004 
State-Changed-Why:  
Maintainer states that this should be closed since the SNMP ports are 
not ABI compatible and thus this scheme won't really work. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71806 
>Unformatted:
