sssd-2.6.2-1: Rebase to latest upstream release

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa 2021-12-23 16:53:38 +01:00
parent 2bec749253
commit 2739fd3aa8
3 changed files with 24 additions and 13 deletions

1
.gitignore vendored
View File

@ -96,3 +96,4 @@ sssd-1.2.91.tar.gz
/sssd-2.5.2.tar.gz /sssd-2.5.2.tar.gz
/sssd-2.6.0.tar.gz /sssd-2.6.0.tar.gz
/sssd-2.6.1.tar.gz /sssd-2.6.1.tar.gz
/sssd-2.6.2.tar.gz

View File

@ -1 +1 @@
SHA512 (sssd-2.6.1.tar.gz) = 5b35a66c37593de738f52d5ad2f7860067af4061bd11b2f5c4b701177ef1bc3091d3c3df573d751339e9c9bb07476988b0b030b91b6a33adcb663df16be80d81 SHA512 (sssd-2.6.2.tar.gz) = 56a10d96be828790b3278fd2f2476f0f1d97cf0ce6a7d6bad6e8797ed3863098889c3b12b4ebf63883a44886a548c4ee082d3dd8d373553b38dd39e29bc7339d

View File

@ -42,12 +42,12 @@
%global samba_package_version %(rpm -q samba-devel --queryformat %{version}-%{release}) %global samba_package_version %(rpm -q samba-devel --queryformat %{version}-%{release})
Name: sssd Name: sssd
Version: 2.6.1 Version: 2.6.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: System Security Services Daemon Summary: System Security Services Daemon
License: GPLv3+ License: GPLv3+
URL: https://github.com/SSSD/sssd/ URL: https://github.com/SSSD/sssd/
Source0: https://github.com/SSSD/sssd/releases/download/2.6.1/sssd-2.6.1.tar.gz Source0: https://github.com/SSSD/sssd/releases/download/2.6.2/sssd-2.6.2.tar.gz
### Patches ### ### Patches ###
@ -58,8 +58,8 @@ Requires: sssd-common = %{version}-%{release}
Requires: sssd-ipa = %{version}-%{release} Requires: sssd-ipa = %{version}-%{release}
Requires: sssd-krb5 = %{version}-%{release} Requires: sssd-krb5 = %{version}-%{release}
Requires: sssd-ldap = %{version}-%{release} Requires: sssd-ldap = %{version}-%{release}
Recommends: sssd-proxy = %{version}-%{release} Requires: sssd-proxy = %{version}-%{release}
Recommends: logrotate Suggests: logrotate
Suggests: python3-sssdconfig = %{version}-%{release} Suggests: python3-sssdconfig = %{version}-%{release}
Suggests: sssd-dbus = %{version}-%{release} Suggests: sssd-dbus = %{version}-%{release}
@ -161,9 +161,9 @@ License: GPLv3+
Requires: libldb >= %{ldb_version} Requires: libldb >= %{ldb_version}
Requires: libtevent >= 0.11.0 Requires: libtevent >= 0.11.0
Requires: sssd-client%{?_isa} = %{version}-%{release} Requires: sssd-client%{?_isa} = %{version}-%{release}
Recommends: libsss_sudo = %{version}-%{release} Requires: (libsss_sudo = %{version}-%{release} if sudo)
Recommends: libsss_autofs%{?_isa} = %{version}-%{release} Requires: (libsss_autofs%{?_isa} = %{version}-%{release} if autofs)
Recommends: sssd-nfs-idmap = %{version}-%{release} Requires: (sssd-nfs-idmap = %{version}-%{release} if libnfsidmap)
Requires: libsss_idmap = %{version}-%{release} Requires: libsss_idmap = %{version}-%{release}
Requires: libsss_certmap = %{version}-%{release} Requires: libsss_certmap = %{version}-%{release}
%if 0%{?rhel} %if 0%{?rhel}
@ -216,10 +216,9 @@ Requires: sssd-common = %{version}-%{release}
Requires: python3-sss = %{version}-%{release} Requires: python3-sss = %{version}-%{release}
Requires: python3-sssdconfig = %{version}-%{release} Requires: python3-sssdconfig = %{version}-%{release}
Requires: libsss_certmap = %{version}-%{release} Requires: libsss_certmap = %{version}-%{release}
# required by sss_analyze # for logger=journald support with sss_analyze
Requires: python3-systemd Requires: python3-systemd
Requires: python3-click Requires: sssd-dbus
Recommends: sssd-dbus
%description tools %description tools
Provides several administrative tools: Provides several administrative tools:
@ -533,7 +532,7 @@ autoreconf -ivf
%make_build all docs runstatedir=%{_rundir} %make_build all docs runstatedir=%{_rundir}
%py3_shebang_fix src/tools/analyzer/sss_analyze.py %py3_shebang_fix src/tools/analyzer/sss_analyze
sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
%check %check
@ -561,6 +560,10 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/krb5.conf.d
cp $RPM_BUILD_ROOT/%{_datadir}/sssd-kcm/kcm_default_ccache \ cp $RPM_BUILD_ROOT/%{_datadir}/sssd-kcm/kcm_default_ccache \
$RPM_BUILD_ROOT/%{_sysconfdir}/krb5.conf.d/kcm_default_ccache $RPM_BUILD_ROOT/%{_sysconfdir}/krb5.conf.d/kcm_default_ccache
# krb5 configuration snippet
cp $RPM_BUILD_ROOT/%{_datadir}/sssd/krb5-snippets/enable_sssd_conf_dir \
$RPM_BUILD_ROOT/%{_sysconfdir}/krb5.conf.d/enable_sssd_conf_dir
# Create directory for cifs-idmap alternative # Create directory for cifs-idmap alternative
# Otherwise this directory could not be owned by sssd-client # Otherwise this directory could not be owned by sssd-client
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cifs-utils mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cifs-utils
@ -787,6 +790,9 @@ done
%license COPYING %license COPYING
%{_libdir}/%{name}/libsss_krb5.so %{_libdir}/%{name}/libsss_krb5.so
%{_mandir}/man5/sssd-krb5.5* %{_mandir}/man5/sssd-krb5.5*
%config(noreplace) %{_sysconfdir}/krb5.conf.d/enable_sssd_conf_dir
%dir %{_datadir}/sssd/krb5-snippets
%{_datadir}/sssd/krb5-snippets/enable_sssd_conf_dir
%files common-pac %files common-pac
%license COPYING %license COPYING
@ -866,6 +872,7 @@ done
%{_sbindir}/sss_debuglevel %{_sbindir}/sss_debuglevel
%{_sbindir}/sss_seed %{_sbindir}/sss_seed
%{_sbindir}/sssctl %{_sbindir}/sssctl
%{_libexecdir}/%{servicename}/sss_analyze
%{python3_sitelib}/sssd/ %{python3_sitelib}/sssd/
%{_mandir}/man8/sss_obfuscate.8* %{_mandir}/man8/sss_obfuscate.8*
%{_mandir}/man8/sss_override.8* %{_mandir}/man8/sss_override.8*
@ -1027,7 +1034,10 @@ fi
%systemd_postun_with_restart sssd.service %systemd_postun_with_restart sssd.service
%changelog %changelog
* Tue Nov 08 2021 Pavel Březina <pbrezina@redhat.com> - 2.6.1-1 * Thu Dec 23 2021 Iker Pedrosa <ipedrosa@redhat.com> - 2.6.2-1
- Rebase to SSSD 2.6.2
* Tue Nov 09 2021 Pavel Březina <pbrezina@redhat.com> - 2.6.1-1
- Rebase to SSSD 2.6.1 - Rebase to SSSD 2.6.1
* Mon Nov 01 2021 Pavel Březina <pbrezina@redhat.com> - 2.6.0-2 * Mon Nov 01 2021 Pavel Březina <pbrezina@redhat.com> - 2.6.0-2