Date: Fri, 26 Nov 2004 01:12:55 -0500 (EST) From: gregp <gregp-gnats-submit@noc.tht.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: blaz@si.FreeBSD.org Subject: ports/74401: Unable to build nagios-plugins w/ net/radiusclient-0.4.5 Message-ID: <20041126061255.8F1B32A888@noc.tht.net> Resent-Message-ID: <200411260620.iAQ6KTA1045952@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74401 >Category: ports >Synopsis: Unable to build nagios-plugins w/ net/radiusclient-0.4.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 26 06:20:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: gregp >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD noc.tht.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Dec 16 21:17:37 EST 2003 gregp@noc.tht.net:/big/freebsd/obj/big/freebsd/src/sys/NOCNOCWHOSETHERE i386 >Description: radiusclient-0.4.5 (from ports, installed at nagios-plugins request) seems to have a different API than nagios-plugins expects. This causes check_radius.c to cause compile errors when the RADIUS option is picked as an added feature when installing the nagios-plugins port. (radiusclient is /usr/ports/net/radiusclient, nagios-plugins is /usr/ports/net-mgmt/nagios-plugins) I've CC'd the maintainer. >How-To-Repeat: cd /usr/ports/net-mgmt/nagios-plugins && make WITH_RADIUS=yes >Fix: Either fix check_radius.c (I tried adding the now required rc_handle parameter to all the radiusclient library calls required, but that changed the behaviour to a segfault rather than a compile error), depend on a (perhaps older) radiusclient library, or just drop the option. This isn't show-stopping, since I can just elect to drop WITH_RADIUS on my own. Quick fix is to drop the option: --- Makefile~ Fri Nov 26 01:06:15 2004 +++ Makefile Fri Nov 26 01:10:36 2004 @@ -18,10 +18,11 @@ OPTIONS= QSTAT "Game server query support" off \ FPING "Support for non-flooding fast ping" off \ NETSNMP "SNMP support" off \ - RADIUS "Radius support" off \ MYSQL "MySQL support" off \ PGSQL "PostgreSQL support" off \ LDAP "OpenLDAP support" off + +# RADIUS: BROKEN: radiusclient API has changed; check_radius uses old API -gnp .include <bsd.port.pre.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041126061255.8F1B32A888>