summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-12-03 13:01:42 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-12-06 09:30:13 -0500
commitf414e7061d600a656c6773fd4e5e87dd561fae16 (patch)
treeee0b4ffd4a89b0696ad71a1f1311a8389d4ca39e /contrib/sssd.spec.in
parent52e0894fd65bff4715c88330eb62b28e1635228f (diff)
downloadsssd-f414e7061d600a656c6773fd4e5e87dd561fae16.tar.gz
sssd-f414e7061d600a656c6773fd4e5e87dd561fae16.tar.xz
sssd-f414e7061d600a656c6773fd4e5e87dd561fae16.zip
Move sss_* tools into their own subpackage
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in49
1 files changed, 33 insertions, 16 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6416128c9..d1e505b58 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -90,6 +90,19 @@ License: LGPLv3+
Provides the libraries needed by the PAM and NSS stacks to connect to the SSSD
service.
+%package tools
+Summary: Userspace tools for use with the SSSD
+Group: Applications/System
+License: GPLv3+
+Requires: sssd = %{version}-%{release}
+
+%description tools
+Provides userspace tools for manipulating users, groups, and nested groups in
+SSSD when using id_provider = local in /etc/sssd/sssd.conf.
+
+Also provides a userspace tool for generating an obfuscated LDAP password for
+use with ldap_default_authtok_type = obfuscated_password.
+
%prep
%setup -q
@@ -161,14 +174,6 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING
%{_initrddir}/%{name}
%{_sbindir}/sssd
-%{_sbindir}/sss_useradd
-%{_sbindir}/sss_userdel
-%{_sbindir}/sss_usermod
-%{_sbindir}/sss_groupadd
-%{_sbindir}/sss_groupdel
-%{_sbindir}/sss_groupmod
-%{_sbindir}/sss_groupshow
-%{_sbindir}/sss_obfuscate
%{_libexecdir}/%{servicename}/
%{_libdir}/%{name}/
%{_libdir}/ldb/memberof.so
@@ -191,14 +196,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man5/sssd-ldap.5*
%{_mandir}/man5/sssd-simple.5*
%{_mandir}/man8/sssd.8*
-%{_mandir}/man8/sss_groupadd.8*
-%{_mandir}/man8/sss_groupdel.8*
-%{_mandir}/man8/sss_groupmod.8*
-%{_mandir}/man8/sss_groupshow.8*
-%{_mandir}/man8/sss_useradd.8*
-%{_mandir}/man8/sss_userdel.8*
-%{_mandir}/man8/sss_usermod.8*
-%{_mandir}/man8/sss_obfuscate.8*
%{python_sitearch}/pysss.so
%{python_sitelib}/*.py*
@@ -211,6 +208,26 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/pam_sss.8*
%{_mandir}/man8/sssd_krb5_locator_plugin.8*
+%files tools
+%defattr(-,root,root,-)
+%doc COPYING
+%{_sbindir}/sss_useradd
+%{_sbindir}/sss_userdel
+%{_sbindir}/sss_usermod
+%{_sbindir}/sss_groupadd
+%{_sbindir}/sss_groupdel
+%{_sbindir}/sss_groupmod
+%{_sbindir}/sss_groupshow
+%{_sbindir}/sss_obfuscate
+%{_mandir}/man8/sss_groupadd.8*
+%{_mandir}/man8/sss_groupdel.8*
+%{_mandir}/man8/sss_groupmod.8*
+%{_mandir}/man8/sss_groupshow.8*
+%{_mandir}/man8/sss_useradd.8*
+%{_mandir}/man8/sss_userdel.8*
+%{_mandir}/man8/sss_usermod.8*
+%{_mandir}/man8/sss_obfuscate.8*
+
%post
/sbin/ldconfig
/sbin/chkconfig --add %{servicename}