From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 22 04:14:05 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2185B16A4D0 for ; Sun, 22 Feb 2004 04:14:05 -0800 (PST) Received: from herring.nlsystems.com (mailgate.nlsystems.com [80.177.232.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 827F843D2D for ; Sun, 22 Feb 2004 04:14:04 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [10.0.0.2] (herring.nlsystems.com [10.0.0.2]) i1MCDrKW003112 for ; Sun, 22 Feb 2004 12:13:53 GMT (envelope-from dfr@nlsystems.com) From: Doug Rabson To: gnome@freebsd.org Content-Type: text/plain Message-Id: <1077452033.2402.7.camel@herring.nlsystems.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 22 Feb 2004 12:13:53 +0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on herring.nlsystems.com X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' Subject: Enabling GSSAPI with evolution X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 12:14:05 -0000 I've been using GSSAPI authentication with evolution for a while now and apart from problems when the tickets expire (which seems to be a heimdal issue as far as I can see), it works great. This patch enables GSSAPI if its installed: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/evolution/Makefile,v retrieving revision 1.93 diff -u -r1.93 Makefile --- Makefile 7 Feb 2004 20:26:30 -0000 1.93 +++ Makefile 22 Feb 2004 10:56:16 -0000 @@ -39,7 +39,8 @@ CONFIGURE_ARGS= --with-db3-libs=${DB3_WRKSRC} \ --with-db3-includes=${DB3_WRKSRC} \ --enable-nss=no \ - --enable-openssl=yes + --enable-openssl=yes \ + --with-krb5=/usr EVO_VERSION= 1.4 Index: files/patch-aa =================================================================== RCS file: /home/ncvs/ports/mail/evolution/files/patch-aa,v retrieving revision 1.18 diff -u -r1.18 patch-aa --- files/patch-aa 11 Jun 2003 06:16:16 -0000 1.18 +++ files/patch-aa 22 Feb 2004 10:53:22 -0000 @@ -1,6 +1,6 @@ ---- configure.orig Mon Mar 10 12:01:16 2003 -+++ configure Thu Mar 13 01:31:35 2003 -@@ -11148,7 +11148,7 @@ +--- configure.orig Sun Feb 22 10:49:35 2004 ++++ configure Sun Feb 22 10:52:58 2004 +@@ -11724,7 +11724,7 @@ CPPFLAGS="$DB3_CFLAGS $CPPFLAGS" @@ -9,7 +9,7 @@ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then -@@ -11341,9 +11341,9 @@ +@@ -11917,9 +11917,9 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@ -22,7 +22,16 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext -@@ -13495,10 +13495,10 @@ +@@ -13283,7 +13283,7 @@ + LDFLAGS_save="$LDFLAGS" + + mitlibs="-lkrb5 -lk5crypto -lcom_err -lgssapi_krb5" +- heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi" ++ heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi -lcrypt" + echo "$as_me:$LINENO: checking for Kerberos 5" >&5 + echo $ECHO_N "checking for Kerberos 5... $ECHO_C" >&6 + if test "${ac_cv_lib_kerberos5+set}" = set; then +@@ -14068,10 +14068,10 @@ Example: --with-nspr-libs=/usr/lib" >&2;} { (exit 1); exit 1; }; } else @@ -35,7 +44,7 @@ fi echo "$as_me:$LINENO: checking for Mozilla nspr libraries" >&5 -@@ -16710,7 +16710,7 @@ +@@ -17454,7 +17454,7 @@ idldir="$datadir/idl/evolution-$BASE_VERSION"