wbclient plugin handling

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=129
This commit is contained in:
Jan Engelhardt 2014-10-10 07:25:27 +00:00 committed by Git OBS Bridge
parent 8ca2d3df1c
commit 9164480cf8

View File

@ -175,9 +175,11 @@ the "local" id provider of the System Security Services Daemon (sssd).
Summary: SSSD's implementation of the Winbind pipe protocol
License: LGPL-3.0+
Group: System/Libraries
AutoReqProv: off
%description wbclient
libwbclient is a plugin for the Samba client, though it has been
implemented as a regular shared library requested via DT_NEEDED.
sssd-wbclient implements the libwbclient API for Samba daemons and
utilities. The main purpose is to map Active Directory users and
groups identified by their SID to POSIX users and groups identified
@ -375,6 +377,10 @@ install src/sysv/SUSE/sssd "$b/%_sysconfdir/init.d/sssd";
ln -sf ../../etc/init.d/sssd "$b/usr/sbin/rcsssd"
%endif
mkdir -p "$b/%_sysconfdir/ld.so.conf.d"
cat >"$b/%_sysconfdir/ld.so.conf.d/sssd-wbclient.conf" <<-EOF
%_libdir/%name/modules
EOF
find "$b" -type f -name "*.la" -delete;
%if %suse_version <= 1110
@ -594,6 +600,7 @@ rm -f /var/lib/sss/db/*.ldb
%files wbclient
%defattr(-,root,root)
%_sysconfdir/ld.so.conf.d/sssd-wbclient.conf
%dir %_libdir/sssd/
%dir %_libdir/sssd/modules/
%_libdir/sssd/modules/libwbclient.so.*