"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "contrib/sssd.spec.in" between
sssd-2.4.1.tar.gz and sssd-2.4.2.tar.gz

About: SSSD is a system daemon to manage identity, authentication and authorization for centrally-managed systems. It provides several interfaces, including NSS and PAM modules or a D-Bus interface.

sssd.spec.in  (sssd-2.4.1):sssd.spec.in  (sssd-2.4.2)
# SSSD SPEC file for Fedora 34+ and RHEL-9+ # SSSD SPEC file for Fedora 34+ and RHEL-9+
# define SSSD user # define SSSD user
%if 0%{?rhel} %if 0%{?rhel}
%global sssd_user sssd %global sssd_user sssd
%else %else
%global sssd_user root %global sssd_user root
%endif %endif
# Set setuid bit on child helpers if we support non-root user.
%if "%{sssd_user}" == "root"
%global child_attrs 0750
%else
%global child_attrs 4750
%endif
# we don't want to provide private python extension libs # we don't want to provide private python extension libs
%define __provides_exclude_from %{python3_sitearch}/.*\.so$ %define __provides_exclude_from %{python3_sitearch}/.*\.so$
%define _hardened_build 1 %define _hardened_build 1
# Determine the location of the LDB modules directory # Determine the location of the LDB modules directory
%global ldb_modulesdir %(pkg-config --variable=modulesdir ldb) %global ldb_modulesdir %(pkg-config --variable=modulesdir ldb)
%global ldb_version 1.2.0 %global ldb_version 1.2.0
%global samba_package_version %(rpm -q samba-devel --queryformat %{version}-%{re lease}) %global samba_package_version %(rpm -q samba-devel --queryformat %{version}-%{re lease})
skipping to change at line 39 skipping to change at line 46
### Patches ### ### Patches ###
# Place your patches here: # Place your patches here:
# Patch0001: 0001-patch-file.patch # Patch0001: 0001-patch-file.patch
### Downstream only patches ### ### Downstream only patches ###
# Place your downstream only patches here: # Place your downstream only patches here:
# Patch0901: 0901-downstream-only-patch-file.patch # Patch0901: 0901-downstream-only-patch-file.patch
### Dependencies ### ### Dependencies ###
Requires: python3-sssdconfig = %{version}-%{release}
Requires: sssd-ad = %{version}-%{release} Requires: sssd-ad = %{version}-%{release}
Requires: sssd-common = %{version}-%{release} 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} Recommends: sssd-proxy = %{version}-%{release}
Recommends: logrotate Recommends: logrotate
Suggests: python3-sssdconfig = %{version}-%{release}
Suggests: sssd-dbus = %{version}-%{release} Suggests: sssd-dbus = %{version}-%{release}
%global servicename sssd %global servicename sssd
%global sssdstatedir %{_localstatedir}/lib/sss %global sssdstatedir %{_localstatedir}/lib/sss
%global dbpath %{sssdstatedir}/db %global dbpath %{sssdstatedir}/db
%global keytabdir %{sssdstatedir}/keytabs %global keytabdir %{sssdstatedir}/keytabs
%global pipepath %{sssdstatedir}/pipes %global pipepath %{sssdstatedir}/pipes
%global mcpath %{sssdstatedir}/mc %global mcpath %{sssdstatedir}/mc
%global pubconfpath %{sssdstatedir}/pubconf %global pubconfpath %{sssdstatedir}/pubconf
%global gpocachepath %{sssdstatedir}/gpo_cache %global gpocachepath %{sssdstatedir}/gpo_cache
skipping to change at line 482 skipping to change at line 489
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
autoreconf -ivf autoreconf -ivf
%configure \ %configure \
--disable-rpath \ --disable-rpath \
--disable-static \ --disable-static \
--enable-files-domain \
--enable-gss-spnego-for-zero-maxssf \ --enable-gss-spnego-for-zero-maxssf \
--enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \ --enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \
--enable-nsslibdir=%{_libdir} \ --enable-nsslibdir=%{_libdir} \
--enable-pammoddir=%{_libdir}/security \ --enable-pammoddir=%{_libdir}/security \
--enable-sss-default-nss-plugin \ --enable-sss-default-nss-plugin \
--enable-systemtap \ --enable-systemtap \
--with-db-path=%{dbpath} \ --with-db-path=%{dbpath} \
--with-gpo-cache-path=%{gpocachepath} \ --with-gpo-cache-path=%{gpocachepath} \
--with-init-dir=%{_initrddir} \ --with-init-dir=%{_initrddir} \
--with-initscript=systemd \ --with-initscript=systemd \
--with-krb5-rcache-dir=%{_localstatedir}/cache/krb5rcache \ --with-krb5-rcache-dir=%{_localstatedir}/cache/krb5rcache \
--with-mcache-path=%{mcpath} \ --with-mcache-path=%{mcpath} \
--with-pid-path=%{_rundir} \ --with-pid-path=%{_rundir} \
--with-pipe-path=%{pipepath} \ --with-pipe-path=%{pipepath} \
--with-pubconf-path=%{pubconfpath} \ --with-pubconf-path=%{pubconfpath} \
--with-sssd-user=%{sssd_user} \ --with-sssd-user=%{sssd_user} \
--with-syslog=journald \ --with-syslog=journald \
--with-test-dir=/dev/shm \ --with-test-dir=/dev/shm \
%if 0%{?fedora} %if 0%{?fedora}
--enable-files-domain \
--disable-polkit-rules-path \ --disable-polkit-rules-path \
%endif %endif
%{nil} %{nil}
%make_build all docs runstatedir=%{_rundir} %make_build all docs runstatedir=%{_rundir}
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
export CK_TIMEOUT_MULTIPLIER=10 export CK_TIMEOUT_MULTIPLIER=10
skipping to change at line 754 skipping to change at line 761
%files ldap -f sssd_ldap.lang %files ldap -f sssd_ldap.lang
%license COPYING %license COPYING
%{_libdir}/%{name}/libsss_ldap.so %{_libdir}/%{name}/libsss_ldap.so
%{_mandir}/man5/sssd-ldap.5* %{_mandir}/man5/sssd-ldap.5*
%{_mandir}/man5/sssd-ldap-attributes.5* %{_mandir}/man5/sssd-ldap-attributes.5*
%files krb5-common %files krb5-common
%license COPYING %license COPYING
%attr(755,%{sssd_user},%{sssd_user}) %dir %{pubconfpath}/krb5.include.d %attr(755,%{sssd_user},%{sssd_user}) %dir %{pubconfpath}/krb5.include.d
%attr(4750,root,%{sssd_user}) %{_libexecdir}/%{servicename}/ldap_child %attr(%{child_attrs},root,%{sssd_user}) %{_libexecdir}/%{servicename}/ldap_child
%attr(4750,root,%{sssd_user}) %{_libexecdir}/%{servicename}/krb5_child %attr(%{child_attrs},root,%{sssd_user}) %{_libexecdir}/%{servicename}/krb5_child
%files krb5 -f sssd_krb5.lang %files krb5 -f sssd_krb5.lang
%license COPYING %license COPYING
%{_libdir}/%{name}/libsss_krb5.so %{_libdir}/%{name}/libsss_krb5.so
%{_mandir}/man5/sssd-krb5.5* %{_mandir}/man5/sssd-krb5.5*
%files common-pac %files common-pac
%license COPYING %license COPYING
%{_libexecdir}/%{servicename}/sssd_pac %{_libexecdir}/%{servicename}/sssd_pac
%files ipa -f sssd_ipa.lang %files ipa -f sssd_ipa.lang
%license COPYING %license COPYING
%attr(700,%{sssd_user},%{sssd_user}) %dir %{keytabdir} %attr(700,%{sssd_user},%{sssd_user}) %dir %{keytabdir}
%{_libdir}/%{name}/libsss_ipa.so %{_libdir}/%{name}/libsss_ipa.so
%attr(4750,root,%{sssd_user}) %{_libexecdir}/%{servicename}/selinux_child %attr(%{child_attrs},root,%{sssd_user}) %{_libexecdir}/%{servicename}/selinux_ch ild
%{_mandir}/man5/sssd-ipa.5* %{_mandir}/man5/sssd-ipa.5*
%files ad -f sssd_ad.lang %files ad -f sssd_ad.lang
%license COPYING %license COPYING
%{_libdir}/%{name}/libsss_ad.so %{_libdir}/%{name}/libsss_ad.so
%{_libexecdir}/%{servicename}/gpo_child %{_libexecdir}/%{servicename}/gpo_child
%{_mandir}/man5/sssd-ad.5* %{_mandir}/man5/sssd-ad.5*
%files proxy %files proxy
%license COPYING %license COPYING
%attr(4750,root,%{sssd_user}) %{_libexecdir}/%{servicename}/proxy_child %attr(%{child_attrs},root,%{sssd_user}) %{_libexecdir}/%{servicename}/proxy_chil d
%{_libdir}/%{name}/libsss_proxy.so %{_libdir}/%{name}/libsss_proxy.so
%files dbus -f sssd_dbus.lang %files dbus -f sssd_dbus.lang
%license COPYING %license COPYING
%{_libexecdir}/%{servicename}/sssd_ifp %{_libexecdir}/%{servicename}/sssd_ifp
%{_mandir}/man5/sssd-ifp.5* %{_mandir}/man5/sssd-ifp.5*
%{_unitdir}/sssd-ifp.service %{_unitdir}/sssd-ifp.service
# InfoPipe DBus plumbing # InfoPipe DBus plumbing
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.sssd.infopipe.conf %{_sysconfdir}/dbus-1/system.d/org.freedesktop.sssd.infopipe.conf
%{_datadir}/dbus-1/system-services/org.freedesktop.sssd.infopipe.service %{_datadir}/dbus-1/system-services/org.freedesktop.sssd.infopipe.service
 End of changes. 8 change blocks. 
6 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)