From 756e5295850c9ef0d58efbfd07b3529de96c38d2 Mon Sep 17 00:00:00 2001 From: sunhai Date: Mon, 24 Jul 2023 17:29:37 +0800 Subject: [PATCH] fix empty soft link --- openldap.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/openldap.spec b/openldap.spec index 7b2a7ef..1d6796e 100644 --- a/openldap.spec +++ b/openldap.spec @@ -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 - 2.6.0-7 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC:fix empty soft link + * Wed Jun 7 2023 zhujunhao - 2.6.0-6 - Type:cve - CVE:cve-2023-2953 -- Gitee