Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
a5a36145b2 | ||
| c01cc26fc0 |
25
0001-Use-reentrant-libldap.patch
Normal file
25
0001-Use-reentrant-libldap.patch
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
From de85e6b833fc43f273f688680d7a95e9a8330704 Mon Sep 17 00:00:00 2001
|
||||||
|
From: William Brown <william@blackhats.net.au>
|
||||||
|
Date: Tue, 5 Aug 2025 15:24:49 +1000
|
||||||
|
Subject: [PATCH] Use reentrant libldap
|
||||||
|
|
||||||
|
---
|
||||||
|
Build/setup.cfg.suse-linux | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Build/setup.cfg.suse-linux b/Build/setup.cfg.suse-linux
|
||||||
|
index 0a48ef2..d715737 100644
|
||||||
|
--- a/Build/setup.cfg.suse-linux
|
||||||
|
+++ b/Build/setup.cfg.suse-linux
|
||||||
|
@@ -15,7 +15,7 @@ extra_objects =
|
||||||
|
# Support for StartTLS/LDAPS, SASL bind and reentrant libldap_r.
|
||||||
|
# This needs recent OpenLDAP 2.0.26+ or 2.1.3+ built with
|
||||||
|
# ./configure --with-cyrus-sasl --with-tls
|
||||||
|
-libs = ldap_r lber sasl2 ssl crypto
|
||||||
|
+libs = ldap lber sasl2 ssl crypto
|
||||||
|
|
||||||
|
[install]
|
||||||
|
# Installation options
|
||||||
|
--
|
||||||
|
2.39.5 (Apple Git-154)
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 14 00:55:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Oct 24 03:09:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Update to 3.4.5:
|
- Update to 3.4.5:
|
||||||
* Security fixes:
|
* Security fixes:
|
||||||
@@ -16,15 +16,14 @@ Tue Oct 14 00:55:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|||||||
for result types
|
for result types
|
||||||
+ Fixed error handling in SearchNoOpMixIn to prevent a undefined variable
|
+ Fixed error handling in SearchNoOpMixIn to prevent a undefined variable
|
||||||
error
|
error
|
||||||
|
- Switch to building with pip, wheel and the pyproject macros.
|
||||||
- Fix filename due to new setuptools.
|
- Fix filename due to new setuptools.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 30 09:36:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue Aug 5 05:27:36 UTC 2025 - William Brown <william.brown@suse.com>
|
||||||
|
|
||||||
- Switch build system from setuptools to pyproject.toml
|
- Allow building against OpenLDAP 2.5
|
||||||
* Add python-pip and python-wheel to BuildRequires
|
* 0001-Use-reentrant-libldap.patch
|
||||||
* Replace %python_build with %pyproject_wheel
|
|
||||||
* Replace %python_install with %pyproject_install
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 29 07:22:28 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Thu Aug 29 07:22:28 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ldap
|
# spec file for package python-ldap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,8 +22,10 @@ Version: 3.4.5
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python LDAP interface
|
Summary: Python LDAP interface
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
Group: Development/Libraries/Python
|
||||||
URL: https://www.python-ldap.org/
|
URL: https://www.python-ldap.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/python-ldap/python_ldap-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/python-ldap/python_ldap-%{version}.tar.gz
|
||||||
|
Patch0: 0001-Use-reentrant-libldap.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyasn1 >= 0.3.7}
|
BuildRequires: %{python_module pyasn1 >= 0.3.7}
|
||||||
@@ -68,7 +70,7 @@ PATH=/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin %pyunittest_arch discover -v -
|
|||||||
%license LICENCE
|
%license LICENCE
|
||||||
%doc README Demo CHANGES TODO
|
%doc README Demo CHANGES TODO
|
||||||
%{python_sitearch}/ldap
|
%{python_sitearch}/ldap
|
||||||
%{python_sitearch}/python_ldap-%{version}*info
|
%{python_sitearch}/python_ldap-%{version}.dist-info
|
||||||
%{python_sitearch}/slapdtest
|
%{python_sitearch}/slapdtest
|
||||||
%{python_sitearch}/ldapurl.py
|
%{python_sitearch}/ldapurl.py
|
||||||
%{python_sitearch}/ldif.py
|
%{python_sitearch}/ldif.py
|
||||||
|
|||||||
Reference in New Issue
Block a user