From e91bd6575670dafa4d82396b6606332e0d7e97b10e61aa076004a8b7ec5a3bf4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 15 Feb 2019 17:36:42 +0000 Subject: [PATCH] - Add krb-noversion.diff so sssd_pac builds even with newer krb. OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=211 --- krb-noversion.diff | 20 ++++++++++++++++++++ sssd.changes | 5 +++++ sssd.spec | 3 ++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 krb-noversion.diff diff --git a/krb-noversion.diff b/krb-noversion.diff new file mode 100644 index 0000000..3dea2c2 --- /dev/null +++ b/krb-noversion.diff @@ -0,0 +1,20 @@ +From: Jan Engelhardt +Date: 2019-02-15 17:20:47.842813210 +0100 + +Remove versions checks that need updating every iteration. +--- + src/external/pac_responder.m4 | 1 + + 1 file changed, 1 insertion(+) + +Index: sssd-2.0.0/src/external/pac_responder.m4 +=================================================================== +--- sssd-2.0.0.orig/src/external/pac_responder.m4 ++++ sssd-2.0.0/src/external/pac_responder.m4 +@@ -11,6 +11,7 @@ then + AC_MSG_CHECKING(for supported MIT krb5 version) + KRB5_VERSION="`$KRB5_CONFIG --version`" + case $KRB5_VERSION in ++ *|\ + Kerberos\ 5\ release\ 1.9* | \ + Kerberos\ 5\ release\ 1.10* | \ + Kerberos\ 5\ release\ 1.11* | \ diff --git a/sssd.changes b/sssd.changes index 73a92ad..4cfcf04 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 15 17:36:22 UTC 2019 - Jan Engelhardt + +- Add krb-noversion.diff so sssd_pac builds even with newer krb. + ------------------------------------------------------------------- Mon Oct 1 13:34:56 UTC 2018 - ckowalczyk@suse.com diff --git a/sssd.spec b/sssd.spec index 968ff3c..972de34 100644 --- a/sssd.spec +++ b/sssd.spec @@ -30,6 +30,7 @@ Source2: http://releases.pagure.org/SSSD/sssd/%name-%version.tar.gz.asc Source3: baselibs.conf Source4: sssd.service Source5: %name.keyring +Patch1: krb-noversion.diff BuildRoot: %_tmppath/%name-%version-build %define servicename sssd @@ -366,7 +367,7 @@ Provide python module to access and manage configuration of the System Security Services Daemon (sssd). %prep -%setup -q +%autosetup -p1 %build %if 0%{?suse_version} < 1210