packages: postgresql/postgresql.spec, postgresql/postgresql-heimdal.patch (...

qboosh qboosh at pld-linux.org
Sun Oct 3 13:08:08 CEST 2010


Author: qboosh                       Date: Sun Oct  3 11:08:08 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added heimdal patch to prefer heimdal kerberos5 impl

---- Files affected:
packages/postgresql:
   postgresql.spec (1.457 -> 1.458) , postgresql-heimdal.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/postgresql/postgresql.spec
diff -u packages/postgresql/postgresql.spec:1.457 packages/postgresql/postgresql.spec:1.458
--- packages/postgresql/postgresql.spec:1.457	Sun Oct  3 11:11:39 2010
+++ packages/postgresql/postgresql.spec	Sun Oct  3 13:08:03 2010
@@ -48,6 +48,7 @@
 Patch3:		%{name}-ac_version.patch
 Patch4:		%{name}-disable_horology_test.patch
 Patch5:		%{name}-pg_ctl-fix.patch
+Patch6:		%{name}-heimdal.patch
 URL:		http://www.postgresql.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -774,6 +775,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 tar xzf %{SOURCE4} -C contrib
 
@@ -1246,6 +1248,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.458  2010/10/03 11:08:03  qboosh
+- added heimdal patch to prefer heimdal kerberos5 impl
+
 Revision 1.457  2010/10/03 09:11:39  qboosh
 - fixed changelog, main O: -module-plpgsql
 

================================================================
Index: packages/postgresql/postgresql-heimdal.patch
diff -u /dev/null packages/postgresql/postgresql-heimdal.patch:1.1
--- /dev/null	Sun Oct  3 13:08:08 2010
+++ packages/postgresql/postgresql-heimdal.patch	Sun Oct  3 13:08:03 2010
@@ -0,0 +1,20 @@
+--- postgresql-9.0.0/configure.in.orig	2010-10-03 11:14:32.231741882 +0200
++++ postgresql-9.0.0/configure.in	2010-10-03 11:46:29.767741043 +0200
+@@ -906,7 +906,7 @@
+ 
+ if test "$with_gssapi" = yes ; then
+   if test "$PORTNAME" != "win32"; then
+-    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
++    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi 'gssapi -lkrb5 -lcrypto' gssapi_krb5 gss], [],
+ 		 		  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
+   else
+     LIBS="$LIBS -lgssapi32"
+@@ -915,7 +915,7 @@
+ 
+ if test "$with_krb5" = yes ; then
+   if test "$PORTNAME" != "win32"; then
+-     AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
++     AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
+                     [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
+      AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
+                     [AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postgresql/postgresql.spec?r1=1.457&r2=1.458&f=u



More information about the pld-cvs-commit mailing list