- Upgrade LDB_DIR shell variable to %ldbdir macro.
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=257
This commit is contained in:
parent
b3ac07a78b
commit
7d062dd5f9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 17 17:27:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Upgrade LDB_DIR shell variable to %ldbdir macro.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 11 18:04:46 UTC 2022 - Samuel Cabrero <scabrero@suse.de>
|
Tue Jan 11 18:04:46 UTC 2022 - Samuel Cabrero <scabrero@suse.de>
|
||||||
|
|
||||||
|
@ -89,6 +89,7 @@ Obsoletes: libsss_sudo < %version-%release
|
|||||||
%define pipepath %sssdstatedir/pipes
|
%define pipepath %sssdstatedir/pipes
|
||||||
%define pubconfpath %sssdstatedir/pubconf
|
%define pubconfpath %sssdstatedir/pubconf
|
||||||
%define gpocachepath %sssdstatedir/gpo_cache
|
%define gpocachepath %sssdstatedir/gpo_cache
|
||||||
|
%define ldbdir %(pkg-config ldb --variable=modulesdir)
|
||||||
|
|
||||||
# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko
|
# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko
|
||||||
# /etc/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins
|
# /etc/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins
|
||||||
@ -364,7 +365,6 @@ Security Services Daemon (sssd).
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LDB_DIR="$(pkg-config ldb --variable=modulesdir)"
|
|
||||||
# help configure find nscd
|
# help configure find nscd
|
||||||
export PATH="$PATH:/usr/sbin"
|
export PATH="$PATH:/usr/sbin"
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ autoreconf -fiv
|
|||||||
--with-pid-path="%_rundir" \
|
--with-pid-path="%_rundir" \
|
||||||
--enable-nsslibdir="/%_lib" \
|
--enable-nsslibdir="/%_lib" \
|
||||||
--enable-pammoddir="/%_lib/security" \
|
--enable-pammoddir="/%_lib/security" \
|
||||||
--with-ldb-lib-dir="$LDB_DIR" \
|
--with-ldb-lib-dir="%ldbdir" \
|
||||||
--with-selinux=no \
|
--with-selinux=no \
|
||||||
--with-os=suse \
|
--with-os=suse \
|
||||||
--with-semanage=no \
|
--with-semanage=no \
|
||||||
@ -539,8 +539,7 @@ fi
|
|||||||
%dir %_libdir/%name/modules/
|
%dir %_libdir/%name/modules/
|
||||||
%_libdir/%name/modules/libsss_autofs.so
|
%_libdir/%name/modules/libsss_autofs.so
|
||||||
%_libdir/libsss_sudo.so
|
%_libdir/libsss_sudo.so
|
||||||
%dir %_libdir/ldb/
|
%ldbdir/
|
||||||
%_libdir/ldb/memberof.so
|
|
||||||
%dir %_libexecdir/%name/
|
%dir %_libexecdir/%name/
|
||||||
%_libexecdir/%name/p11_child
|
%_libexecdir/%name/p11_child
|
||||||
%_libexecdir/%name/sssd_autofs
|
%_libexecdir/%name/sssd_autofs
|
||||||
|
Loading…
Reference in New Issue
Block a user