1
0
forked from pool/openldap2

Accepting request 491547 from home:stroeder:branches:network:ldap

added overlay addpartial to package openldap2-contrib

OBS-URL: https://build.opensuse.org/request/show/491547
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=175
This commit is contained in:
Martin Pluskal 2017-04-29 09:21:48 +00:00 committed by Git OBS Bridge
parent 09f2c84a56
commit 787c8bf6cf
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 27 10:08:31 UTC 2017 - michael@stroeder.com
- added overlay addpartial to package openldap2-contrib
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 7 16:47:24 UTC 2017 - jengelh@inai.de Fri Apr 7 16:47:24 UTC 2017 - jengelh@inai.de

View File

@ -150,6 +150,7 @@ Requires: openldap2 = %{version_main}
%description contrib %description contrib
Various overlays found in contrib/: Various overlays found in contrib/:
addpartial Intercepts ADD requests, applies changes to existing entries
allop allop
allowed Generates attributes indicating access rights allowed Generates attributes indicating access rights
autogroup autogroup
@ -302,7 +303,7 @@ export STRIP=""
make depend make depend
make %{?_smp_mflags} make %{?_smp_mflags}
# Build selected contrib overlays # Build selected contrib overlays
for SLAPO_NAME in allowed allop autogroup lastbind nops denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 for SLAPO_NAME in addpartial allowed allop autogroup lastbind nops denyop cloak noopsrch passwd/sha2 passwd/pbkdf2
do do
make -C contrib/slapd-modules/${SLAPO_NAME} %{?_smp_mflags} "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" make -C contrib/slapd-modules/${SLAPO_NAME} %{?_smp_mflags} "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}"
done done
@ -347,7 +348,7 @@ make STRIP="" "DESTDIR=${RPM_BUILD_ROOT}" "sysconfdir=%{_sysconfdir}/openldap" "
# Additional symbolic link to slapd executable in /usr/sbin/ # Additional symbolic link to slapd executable in /usr/sbin/
ln -s %{_libdir}/slapd ${RPM_BUILD_ROOT}/usr/sbin/slapd ln -s %{_libdir}/slapd ${RPM_BUILD_ROOT}/usr/sbin/slapd
# Install selected contrib overlays # Install selected contrib overlays
for SLAPO_NAME in allowed allop autogroup lastbind nops denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 for SLAPO_NAME in addpartial allowed allop autogroup lastbind nops denyop cloak noopsrch passwd/sha2 passwd/pbkdf2
do do
make -C contrib/slapd-modules/${SLAPO_NAME} STRIP="" "DESTDIR=${RPM_BUILD_ROOT}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install make -C contrib/slapd-modules/${SLAPO_NAME} STRIP="" "DESTDIR=${RPM_BUILD_ROOT}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install
done done
@ -581,6 +582,7 @@ fi
%files contrib %files contrib
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/openldap/addpartial.*
%{_libdir}/openldap/allowed.* %{_libdir}/openldap/allowed.*
%{_libdir}/openldap/allop.* %{_libdir}/openldap/allop.*
%{_libdir}/openldap/autogroup.* %{_libdir}/openldap/autogroup.*