From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 26 06:20:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1989E16A4CF for ; Fri, 26 Nov 2004 06:20:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D57A443D55 for ; Fri, 26 Nov 2004 06:20:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAQ6KTTH045953 for ; Fri, 26 Nov 2004 06:20:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAQ6KTA1045952; Fri, 26 Nov 2004 06:20:29 GMT (envelope-from gnats) Resent-Date: Fri, 26 Nov 2004 06:20:29 GMT Resent-Message-Id: <200411260620.iAQ6KTA1045952@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, gregp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD61C16A4CF for ; Fri, 26 Nov 2004 06:12:56 +0000 (GMT) Received: from noc.tht.net (noc.tht.net [216.126.88.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8575443D39 for ; Fri, 26 Nov 2004 06:12:56 +0000 (GMT) (envelope-from gregp@noc.tht.net) Received: by noc.tht.net (Postfix, from userid 1000) id 8F1B32A888; Fri, 26 Nov 2004 01:12:55 -0500 (EST) Message-Id: <20041126061255.8F1B32A888@noc.tht.net> Date: Fri, 26 Nov 2004 01:12:55 -0500 (EST) From: gregp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: blaz@si.FreeBSD.org Subject: ports/74401: Unable to build nagios-plugins w/ net/radiusclient-0.4.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gregp List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 06:20:30 -0000 >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 >Release-Note: >Audit-Trail: >Unformatted: