fix empty soft link

(cherry picked from commit 756e5295850c9ef0d58efbfd07b3529de96c38d2)
This commit is contained in:
sunhai 2023-07-24 17:29:37 +08:00 committed by openeuler-sync-bot
parent 4b26f130b9
commit 18eb7cb2c9

View File

@ -2,9 +2,9 @@
Name: openldap
Version: 2.6.0
Release: 6
Release: 7
Summary: LDAP support libraries
License: OpenLDAP
License: Open LDAP Public License v2.8
URL: https://www.openldap.org/
Source0: https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-%{version}.tgz
Source1: slapd.service
@ -25,7 +25,7 @@ Patch5: backport-openldap-switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-s
Patch7: backport-check-password-makefile.patch
Patch8: backport-check-password.patch
Patch9: add-ber_sockbuf_io_udp-to-liber.map.patch
Patch10: backport-fix-cve-2022-29155.patch
Patch10: backport-fix-cve-2022-29155.patch
Patch6000: backport-ITS-7165-back-mdb-check-for-stale-readers-on-MDB_REA.patch
Patch6001: backport-ITS-8039-Free-resinfo-even-if-opcookie-is-the-last-o.patch
@ -287,12 +287,12 @@ install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/slapd.service
mv %{buildroot}%{_libdir}/slapd %{buildroot}%{_sbindir}/
for X in acl add auth cat dn index passwd test schema; do
for X in acl add auth cat dn index passwd test schema modify; do
rm -f %{buildroot}%{_sbindir}/slap$X
rm -f %{buildroot}%{_libdir}/slap$X
done
for X in acl add auth cat dn index passwd test schema; do
for X in acl add auth cat dn index passwd test schema modify; do
ln -s slapd %{buildroot}%{_sbindir}/slap$X
done
@ -467,6 +467,12 @@ popd
%doc ltb-project-openldap-ppolicy-check-password-1.1/README.check_pwd
%changelog
* Mon Jul 24 2023 sunhai <sunhai10@huawei.com> - 2.6.0-7
- Type:bugfix
- ID:NA
- SUG:restart
- DESC:fix empty soft link
* Wed Jun 7 2023 zhujunhao <zhujunhao11@huawei.com> - 2.6.0-6
- Type:cve
- CVE:cve-2023-2953