Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 20:55:52 GMT
From:      Barbara <barbara@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189037: databases/evolution-data-server: bad option helper for KERBEROS
Message-ID:  <201404262055.s3QKtqgj093390@cgiserv.freebsd.org>
Resent-Message-ID: <201404262100.s3QL01DR065725@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189037
>Category:       ports
>Synopsis:       databases/evolution-data-server: bad option helper for KERBEROS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 21:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Barbara
>Release:        RELENG_9
>Organization:
>Environment:
FreeBSD satanasso.local.net 9.2-STABLE FreeBSD 9.2-STABLE #0 r264675: Sat Apr 19 13:57:57 CEST 2014     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386
>Description:
According to how option helpers work, the following line is not correct:
	KERBEROS_CONFIGURE_WITH=	--with-krb5=/usr
as it should be:
	KERBEROS_CONFIGURE_WITH=	krb5=/usr
else it should get expanded as something like
	--with---with-krb5

Even fixing the helper it can't be used because running make configure after unchecking kerberos, should result in
	--without-krb5=/usr
which causes configure error.

>How-To-Repeat:
cd /usr/ports/databases/evolution-data-server && make configure
with kerberos -> no kerberos
without kerberos -> configure error
>Fix:
The helper should be reverted as in the attached patch.
PORTREVISION should be bumped because of the incoherency between option and configure result.


Patch attached with submission follows:

Index: databases/evolution-data-server/Makefile
===================================================================
--- databases/evolution-data-server/Makefile	(revision 352367)
+++ databases/evolution-data-server/Makefile	(working copy)
@@ -4,7 +4,7 @@
 
 PORTNAME=	evolution-data-server
 PORTVERSION=	2.32.1
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	databases gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -44,11 +44,11 @@
 
 WEATHER_LIB_DEPENDS=	libgweather.so:${PORTSDIR}/net/libgweather
 WEATHER_CONFIGURE_WITH=	weather
-KERBEROS_CONFIGURE_WITH=	--with-krb5=/usr
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MKERBEROS}
+CONFIGURE_ARGS+=	--with-krb5=/usr
 KRB5_LIB=	`/usr/bin/krb5-config gssapi --libs`
 .endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404262055.s3QKtqgj093390>