[openssh] Workaround krb5-config bug (#1204646)
Jakub Jelen
jjelen at fedoraproject.org
Tue Mar 24 09:43:28 UTC 2015
commit d276698802f88c1fff9d6fb5e8a53805bb0bab9d
Author: Jakub Jelen <jjelen at redhat.com>
Date: Mon Mar 23 15:29:06 2015 +0100
Workaround krb5-config bug (#1204646)
openssh-6.8p1-workaround-krb5-config-bug.patch | 22 ++++++++++++++++++++++
openssh.spec | 3 +++
2 files changed, 25 insertions(+)
---
diff --git a/openssh-6.8p1-workaround-krb5-config-bug.patch b/openssh-6.8p1-workaround-krb5-config-bug.patch
new file mode 100644
index 0000000..17f5820
--- /dev/null
+++ b/openssh-6.8p1-workaround-krb5-config-bug.patch
@@ -0,0 +1,22 @@
+diff --git a/configure.ac b/configure.ac
+index 4e6abce..af08091 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -4173,7 +4173,7 @@ AC_ARG_WITH([kerberos5],
+ [$KRB5ROOT/bin:$PATH])
+ if test -x $KRB5CONF ; then
+ K5CFLAGS="`$KRB5CONF --cflags`"
+- K5LIBS="`$KRB5CONF --libs`"
++ K5LIBS="-lkrb5 -lk5crypto -lcom_err"
+ CPPFLAGS="$CPPFLAGS $K5CFLAGS"
+
+ AC_MSG_CHECKING([for gssapi support])
+@@ -4183,7 +4183,7 @@ AC_ARG_WITH([kerberos5],
+ [Define this if you want GSSAPI
+ support in the version 2 protocol])
+ GSSCFLAGS="`$KRB5CONF --cflags gssapi`"
+- GSSLIBS="`$KRB5CONF --libs gssapi`"
++ GSSLIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
+ CPPFLAGS="$CPPFLAGS $GSSCFLAGS"
+ else
+ AC_MSG_RESULT([no])
diff --git a/openssh.spec b/openssh.spec
index 25622f4..bcceff5 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -215,6 +215,8 @@ Patch924: openssh-6.7p1-seccomp-aarch64.patch
Patch925: openssh-6.7p1-ssh-copy-id-truncated-keys.patch
# Add sftp option to force mode of created files (#1191055)
Patch926: openssh-6.7p1-sftp-force-permission.patch
+# Workaround krb5-config bug #1204646
+Patch927: openssh-6.8p1-workaround-krb5-config-bug.patch
@@ -435,6 +437,7 @@ popd
%patch924 -p1 -b .seccomp
%patch925 -p1 -b .newline
%patch926 -p1 -b .sftp-force-mode
+%patch927 -p1 -b .bz1204646
%patch200 -p1 -b .audit
%patch700 -p1 -b .fips
More information about the scm-commits
mailing list