Compare commits

..

2 Commits
rawhide ... f33

Author SHA1 Message Date
Alexander Bokovoy
81cb1d8986 CVE-2021-3480: invalid bind DN crash
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2021-05-18 10:02:36 +03:00
Alexander Bokovoy
b26533164b Update to slapi-nis 0.56.6
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2020-12-04 16:04:16 +02:00
4 changed files with 4 additions and 70 deletions

2
.gitignore vendored
View File

@ -85,5 +85,3 @@ slapi-nis-0.17.tar.gz
/slapi-nis-0.56.6.tar.gz.asc
/slapi-nis-0.56.7.tar.gz
/slapi-nis-0.56.7.tar.gz.asc
/slapi-nis-0.60.0.tar.gz
/slapi-nis-0.60.0.tar.gz.asc

View File

@ -1,36 +0,0 @@
From 610cf4ce34ad850eda67d9fba1f98f8ab6001e6e Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue, 1 Feb 2022 08:28:18 +0200
Subject: [PATCH] Update OpenLDAP detection code to deal with libldap_r removal
in 2.6
Resolves: rhbz#2032691
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7cd7d76..24fbe20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,8 +71,13 @@ dirsrv)
;;
openldap)
runtime_modules="nss nspr"
- LDAP_CFLAGS=
- LDAP_LIBS="-lldap_r -llber"
+ SAVE_LIBS="$LIBS"
+ LIBS=
+ AC_SEARCH_LIBS([ldap_search], [ldap_r ldap], [], [AC_MSG_ERROR([libldap or libldap_r not found])])
+ AC_SEARCH_LIBS([ber_peek_tag], [lber], [], [AC_MSG_ERROR([liblber not found])])
+ LDAP_LIBS="$LIBS"
+ LDAP_CFLAGS=""
+ LIBS="$SAVE_LIBS"
;;
*)
runtime_modules="nss nspr"
--
2.34.1

View File

@ -10,15 +10,13 @@
%endif
Name: slapi-nis
Version: 0.60.0
Version: 0.56.7
Release: 1%{?dist}
Summary: NIS Server and Schema Compatibility plugins for Directory Server
License: GPL-3.0-or-later
License: GPLv2
URL: http://pagure.io/slapi-nis/
Source0: https://releases.pagure.org/slapi-nis/slapi-nis-%{version}.tar.gz
Source1: https://releases.pagure.org/slapi-nis/slapi-nis-%{version}.tar.gz.asc
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@ -83,36 +81,10 @@ make check
%{_sbindir}/nisserver-plugin-defs
%changelog
* Sat Aug 20 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.60.0-1
- new upstream release
- Change license from GPLv2 to GPLv3+ to follow 389-ds licensing
- Fix ID views integration
- Fix base scope lookups
- Bump NIS max dgram size to 8KB by default instead of 1KB
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Feb 01 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.7-5
- Resolves: rhbz#2032691
- Rebuild against newer OpenLDAP version
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 0.56.7-3
- Rebuild(libnsl2)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue May 18 2021 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.7-1
- CVE-2021-3480: invalid bind DN crash
- New upstream release
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Dec 04 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.6-1
- New upstream release
- Ignore searches which don't match any configured map

View File

@ -1,2 +1,2 @@
SHA512 (slapi-nis-0.60.0.tar.gz) = 15fe7f821c6b7eea5f93edb46adcc8ba8ac8369e47b607bd56db23bbaf3e0a3e35da412bcc3665aa35bfd01d3863222d926d661adb70491f3ecce1204bc4b6e7
SHA512 (slapi-nis-0.60.0.tar.gz.asc) = 117c1da76320ec065970752cfb5de379dbe7899e08dbcb7f2699daa26cb8cb429e1436092e4d5b39c162fc3b3f58b3c48a24c6884c2bd909767bccdd27cf7786
SHA512 (slapi-nis-0.56.7.tar.gz) = f363bf6db965034ed6e4344a487fafef1d4264464fbec2bb70ff19906e8f9ac5b81bae301397d325ce271852c344538215b7cc8317121d4b626d1d9e8c1296cc
SHA512 (slapi-nis-0.56.7.tar.gz.asc) = ec719893473b215e1a00b032579bd9063a39848bcbbe5fbee880831ff1e964d83a4a3cc8ed5d331079b04b0d01d098d9cdbb99fb45322e7c64dee2e13fa415c3