ports/154095: [patch] databases/evolution-data-server problem with kerberos

David Demelier demelier.david at gmail.com
Mon Jan 17 19:20:09 UTC 2011


>Number:         154095
>Category:       ports
>Synopsis:       [patch] databases/evolution-data-server problem with kerberos
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 19:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        8.1-RELEASE-p2
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Mon Jan 17 15:18:15 CET 2011     root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64

>Description:
You need to enable the KNOB NO_KERBEROS to build evolution-data-server without kerberos support. Because there is already an option I propose to add an option and to remove the HEIMDAL support since it looks broken see:

camel-sasl-gssapi.c:157: warning: assignment makes pointer from integer without a cast
gmake[4]: *** [libcamel_provider_1_2_la-camel-sasl-gssapi.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/databases/evolution-data-server.
*** Error code 1

Stop in /usr/ports/databases/evolution-data-server.

I propose the removal of HEIMDAL option and only the kerberos support :
>How-To-Repeat:

>Fix:
--- evolutiondataserver.diff begins here ---
--- Makefile.orig	2011-01-17 19:35:14.000000000 +0100
+++ Makefile	2011-01-17 20:16:22.000000000 +0100
@@ -45,17 +45,12 @@
 PLIST_SUB=	VERSION="2.32" EVO_VERSION="1.2"
 
 #OPTIONS=	IMAP4	"Enable experimental IMAP4 backend" off
-OPTIONS=	WEATHER "Enable weather calendar backend" on
+OPTIONS=	WEATHER		"Enable weather calendar backend"	on	\
+		KERBEROS	"Adds Kerberos support"			on	\
 
 .include <bsd.port.pre.mk>
 
-.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
-HEIMDAL_HOME?=		${LOCALBASE}
-LIB_DEPENDS+=		krb5:${PORTSDIR}/security/heimdal
-CONFIGURE_ARGS+=	--with-krb5=${HEIMDAL_HOME} \
-			--with-krb5-includes=${HEIMDAL_HOME}/include
-KRB5_LIB=		`${HEIMDAL_HOME}/bin/krb5-config gssapi --libs`
-.elif !defined(NO_KERBEROS)
+.if !defined(WITHOUT_KERBEROS)
 CONFIGURE_ARGS+=	--with-krb5=/usr
 KRB5_LIB=		`/usr/bin/krb5-config gssapi --libs`
 .endif
--- evolutiondataserver ends here ---

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



More information about the freebsd-ports-bugs mailing list