ports/74401: Unable to build nagios-plugins w/ net/radiusclient-0.4.5

gregp gregp-gnats-submit at noc.tht.net
Fri Nov 26 06:20:30 UTC 2004

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 06:20:29 GMT 2004
>Originator:     gregp
>Release:        FreeBSD 4.9-STABLE i386
System: FreeBSD noc.tht.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Dec 16 21:17:37 EST 2003 gregp at noc.tht.net:/big/freebsd/obj/big/freebsd/src/sys/NOCNOCWHOSETHERE i386


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

I've CC'd the maintainer.


cd /usr/ports/net-mgmt/nagios-plugins && make WITH_RADIUS=yes


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>



More information about the freebsd-ports-bugs mailing list