From 252f21485c76f965a0f05182581771d5616da350b0df0a24e7260c735d485cdc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Oct 2014 09:06:01 +0000 Subject: [PATCH] ship krb5 localauth plugin OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=130 --- sssd.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sssd.spec b/sssd.spec index 7818d03..ec788a3 100644 --- a/sssd.spec +++ b/sssd.spec @@ -45,7 +45,13 @@ BuildRequires: bind-utils BuildRequires: cifs-utils-devel BuildRequires: cyrus-sasl-devel BuildRequires: docbook-xsl-stylesheets +%if 0%{?suse_version} >= 1320 +BuildRequires: krb5-devel >= 1.12 +%define have_localauth 1 +%else BuildRequires: krb5-devel +%define have_localauth 0 +%endif BuildRequires: libsmbclient-devel BuildRequires: libtool BuildRequires: libxml2-tools @@ -497,6 +503,9 @@ rm -f /var/lib/sss/db/*.ldb /%_lib/security/pam_sss.so %_libdir/cifs-utils/ %_libdir/krb5/ +%if %have_localauth +%_libdir/%name/modules/sssd_krb5_localauth_plugin.so +%endif %_mandir/??/man8/pam_sss.8* %_mandir/??/man8/sssd_krb5_locator_plugin.8* %_mandir/man8/pam_sss.8*