Enabling GSSAPI with evolution

Doug Rabson dfr at nlsystems.com
Sun Feb 22 04:14:05 PST 2004


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"
  
  




More information about the freebsd-gnome mailing list