Disable nfsplugin due to bug rhbz#1509063

This commit is contained in:
Lukas Slebodnik 2017-11-03 22:20:59 +01:00
parent 7ac8b3c4b5
commit b5c435b10b
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,5 @@
From 232305dd10b81955a3ee9dfc6d56c2d76ad5706f Mon Sep 17 00:00:00 2001 From 232305dd10b81955a3ee9dfc6d56c2d76ad5706f Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn@redhat.com> From: Lukas Slebodnik <lslebodn@fedoraproject.org>
Date: Fri, 3 Nov 2017 16:18:14 +0100 Date: Fri, 3 Nov 2017 16:18:14 +0100
Subject: [PATCH] Disable stopping idle socket activated responders Subject: [PATCH] Disable stopping idle socket activated responders

View File

@ -111,7 +111,9 @@ BuildRequires: nss_wrapper
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: cifs-utils-devel BuildRequires: cifs-utils-devel
%if 0
BuildRequires: libnfsidmap-devel BuildRequires: libnfsidmap-devel
%endif
BuildRequires: samba4-devel BuildRequires: samba4-devel
BuildRequires: libsmbclient-devel BuildRequires: libsmbclient-devel
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
@ -143,7 +145,9 @@ Requires: libldb >= %{ldb_version}
Requires: sssd-client%{?_isa} = %{version}-%{release} Requires: sssd-client%{?_isa} = %{version}-%{release}
Recommends: libsss_sudo = %{version}-%{release} Recommends: libsss_sudo = %{version}-%{release}
Recommends: libsss_autofs%{?_isa} = %{version}-%{release} Recommends: libsss_autofs%{?_isa} = %{version}-%{release}
%if 0
Recommends: sssd-nfs-idmap = %{version}-%{release} Recommends: sssd-nfs-idmap = %{version}-%{release}
%endif
Requires: libsss_idmap = %{version}-%{release} Requires: libsss_idmap = %{version}-%{release}
Requires(post): systemd-units chkconfig Requires(post): systemd-units chkconfig
Requires(preun): systemd-units chkconfig Requires(preun): systemd-units chkconfig
@ -534,6 +538,7 @@ Conflicts: sssd-common < %{version}-%{release}
The idmap_sss module provides a way for Winbind to call SSSD to map UIDs/GIDs The idmap_sss module provides a way for Winbind to call SSSD to map UIDs/GIDs
and SIDs. and SIDs.
%if 0
%package nfs-idmap %package nfs-idmap
Summary: SSSD plug-in for NFSv4 rpc.idmapd Summary: SSSD plug-in for NFSv4 rpc.idmapd
Group: Applications/System Group: Applications/System
@ -544,6 +549,7 @@ Conflicts: sssd-common < %{version}-%{release}
The libnfsidmap sssd module provides a way for rpc.idmapd to call SSSD to map The libnfsidmap sssd module provides a way for rpc.idmapd to call SSSD to map
UIDs/GIDs to names and vice versa. It can be also used for mapping principal UIDs/GIDs to names and vice versa. It can be also used for mapping principal
(user) name to IDs(UID or GID) or to obtain groups which user are member of. (user) name to IDs(UID or GID) or to obtain groups which user are member of.
%endif
%package -n libsss_certmap %package -n libsss_certmap
Summary: SSSD Certficate Mapping Library Summary: SSSD Certficate Mapping Library
@ -613,6 +619,7 @@ autoreconf -ivf
--enable-nsslibdir=%{_libdir} \ --enable-nsslibdir=%{_libdir} \
--enable-pammoddir=%{_libdir}/security \ --enable-pammoddir=%{_libdir}/security \
--enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \ --enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \
--without-nfsv4-idmapd-plugin \
--disable-static \ --disable-static \
--disable-rpath \ --disable-rpath \
--with-initscript=systemd \ --with-initscript=systemd \
@ -623,6 +630,8 @@ autoreconf -ivf
%{?enable_systemtap_opt} \ %{?enable_systemtap_opt} \
rm -fv ./src/man/uk/sss_rpcidmapd.5.xml
rm -fv ./src/man/ca/sss_rpcidmapd.5.xml
make %{?_smp_mflags} all docs make %{?_smp_mflags} all docs
%check %check
@ -1094,9 +1103,11 @@ done
%{_libdir}/samba/idmap/sss.so %{_libdir}/samba/idmap/sss.so
%{_mandir}/man8/idmap_sss.8* %{_mandir}/man8/idmap_sss.8*
%if 0
%files nfs-idmap -f sssd_nfs_idmap.lang %files nfs-idmap -f sssd_nfs_idmap.lang
%{_mandir}/man5/sss_rpcidmapd.5* %{_mandir}/man5/sss_rpcidmapd.5*
%{_libdir}/libnfsidmap/sss.so %{_libdir}/libnfsidmap/sss.so
%endif
%files -n libsss_certmap -f libsss_certmap.lang %files -n libsss_certmap -f libsss_certmap.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)