summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2016-07-04 18:12:31 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-07-18 14:02:36 +0200
commit4767ba5ddf13ffe51a48634fd9907391222d967c (patch)
tree1aa47496c0f69240d86ce8d2dd43fdec8a3a9f70
parentaa8ec3758d885d6ae4088174369d30f8493ec898 (diff)
downloadsssd-4767ba5ddf13ffe51a48634fd9907391222d967c.tar.gz
sssd-4767ba5ddf13ffe51a48634fd9907391222d967c.tar.xz
sssd-4767ba5ddf13ffe51a48634fd9907391222d967c.zip
SPEC: Move nfsidmap plugin to separate package
Resolves: https://fedorahosted.org/sssd/ticket/3024 Reviewed-by: Noam Meltzer <tsnoam@gmail.com>
-rw-r--r--contrib/sssd.spec.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index d5730a474..a9a43560e 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -595,6 +595,16 @@ License: GPLv3+ and LGPLv3+
The idmap_sss module provides a way for Winbind to call SSSD to map UIDs/GIDs
and SIDs.
+%package nfs-idmap
+Summary: SSSD plug-in for NFSv4 rpc.idmapd
+Group: Applications/System
+License: GPLv3+
+
+%description nfs-idmap
+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
+(user) name to IDs(UID or GID) or to obtain groups which user are member of.
+
%prep
%setup -q -n %{name}-%{version}
@@ -763,9 +773,6 @@ done
%{_libdir}/%{name}/libsss_util.so
%{_libdir}/%{name}/libsss_semanage.so
-# 3rd party application libraries
-%{_libdir}/libnfsidmap/sss.so
-
%{ldb_modulesdir}/memberof.so
%{_bindir}/sss_ssh_authorizedkeys
%{_bindir}/sss_ssh_knownhostsproxy
@@ -1059,6 +1066,9 @@ done
%{_libdir}/samba/idmap/sss.so
%{_mandir}/man8/idmap_sss.8*
+%files nfs-idmap
+%{_libdir}/libnfsidmap/sss.so
+
%pre common
getent group sssd >/dev/null || groupadd -r sssd
getent passwd sssd >/dev/null || useradd -r -g sssd -d / -s /sbin/nologin -c "User for sssd" sssd