misc/108054: [maintainer-update] fix configure failure for net/freeradius 1.1.4 when experimental modules are enabled

David Wood david at wood2.org.uk
Wed Jan 17 19:40:26 UTC 2007


>Number:         108054
>Category:       misc
>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-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 17 19:40:25 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list