]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- added heimdal patch to prefer heimdal kerberos5 impl
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Oct 2010 11:08:03 +0000 (11:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-heimdal.patch -> 1.1
    postgresql.spec -> 1.458

postgresql-heimdal.patch [new file with mode: 0644]
postgresql.spec

diff --git a/postgresql-heimdal.patch b/postgresql-heimdal.patch
new file mode 100644 (file)
index 0000000..f54ffe8
--- /dev/null
@@ -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])])
index 87f367225a40d8c1620a68004757a751df7a8203..cff947c4d7a5e2b33efc3c0f1f746f500765c9c0 100644 (file)
@@ -47,6 +47,7 @@ Patch2:               %{name}-ecpg-includedir.patch
 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
@@ -773,6 +774,7 @@ Różne moduły dołączone do PostgreSQL-a.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 tar xzf %{SOURCE4} -C contrib
 
This page took 0.053709 seconds and 4 git commands to generate.