From nobody@FreeBSD.org  Wed Jan 17 19:36:37 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A057916A47C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Jan 2007 19:36:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 7830613C4A7
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Jan 2007 19:36:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0HJabSN048660
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Jan 2007 19:36:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l0HJabGh048659;
	Wed, 17 Jan 2007 19:36:37 GMT
	(envelope-from nobody)
Message-Id: <200701171936.l0HJabGh048659@www.freebsd.org>
Date: Wed, 17 Jan 2007 19:36:37 GMT
From: David Wood<david@wood2.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer-update] fix configure failure for net/freeradius 1.1.4 when experimental modules are enabled
X-Send-Pr-Version: www-3.0

>Number:         108054
>Category:       ports
>Synopsis:       [maintainer-update] fix configure failure for net/freeradius 1.1.4 when experimental modules are enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 17 19:40:25 GMT 2007
>Closed-Date:    Thu Jan 18 19:13:52 GMT 2007
>Last-Modified:  Thu Jan 18 19:20:18 GMT 2007
>Originator:     David Wood
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD titanium.wood2.org.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Jan 17 11:50:20 GMT 2007     david@titanium.wood2.org.uk:/usr/obj/usr/src/sys/TITANIUM  i386
>Description:
Under some circumstances the make configure step fails when experimental modules are enabled in FreeRADIUS 1.1.4.

Issue reported via private mail from Nurulfaizal b M Shukeri <nfaizal@usm.my>.
>How-To-Repeat:
cd /usr/ports/net/freeradius
make config
Select experimental modules and MySQL.
Attempt to build the port.


rlm_sql_firebird is faulty as shipped in 1.1.4 - see http://lists.freeradius.org/pipermail/freeradius-users/2007-January/059119.html (this may be fixed in a forthcoming 1.1.5 build - see http://lists.freeradius.org/pipermail/freeradius-users/2007-January/059129.html )

This fault causes the configure step to fail in the above circumstances even though the port (implicitly) issues --without-rlm_sql_firebird
>Fix:
Fix port to configure with experimental modules enabled (by removing defective rlm_sql_firebird in Makefile's post-patch target).

Bump PORTREVISION.

Patch attached with submission follows:

diff -ruN /usr/ports/net/freeradius/Makefile /usr/ports_updated/net/freeradius/Makefile
--- /usr/ports/net/freeradius/Makefile	Mon Jan 15 14:55:38 2007
+++ /usr/ports_updated/net/freeradius/Makefile	Wed Jan 17 18:20:19 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=	freeradius
 PORTVERSION=	1.1.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.freeradius.org/pub/radius/ \
 		ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \
@@ -196,6 +197,10 @@
 
 post-patch:
 	@${RM} ${WRKSRC}/doc/Makefile.orig
+# rlm_sql_firebird in 1.1.4 makes configure fail with experimental modules enabled,
+# even though the port implicitly issues --without-rlm_sql_firebird. Delete the module
+# until it is fixed
+	@${RM} -r ${WRKSRC}/src/modules/rlm_sql/drivers/rlm_sql_firebird
 .if ${OSVERSION} < 500000
 	@${REINPLACE_CMD} -e 's/-DNO_OPENSSL//' ${WRKSRC}/configure
 .endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jan 17 20:18:37 UTC 2007 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108054 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jan 18 18:59:41 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108054 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108054: commit references a PR
Date: Thu, 18 Jan 2007 19:13:35 +0000 (UTC)

 pav         2007-01-18 19:13:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/freeradius       Makefile 
   Log:
   - Remove rlm_sql_firebird module, it breaks configure run
   
   PR:             ports/108054
   Submitted by:   David Wood <david@wood2.org.uk> (maintainer)
   
   Revision  Changes    Path
   1.53      +5 -0      ports/net/freeradius/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
