forked from pool/python-ldap
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 07ddd8add4 | |||
| 09881c5701 | |||
| 77ae4e4307 | |||
| dc258b6ad5 | |||
| 6deef255af | |||
| 643d0b776d |
BIN
python-ldap-3.4.4.tar.gz
LFS
BIN
python-ldap-3.4.4.tar.gz
LFS
Binary file not shown.
@@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 14 00:55:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.4.5:
|
||||||
|
* Security fixes:
|
||||||
|
+ CVE-2025-61911 (GHSA-r7r6-cc7p-4v5m): Enforce str input in
|
||||||
|
ldap.filter.escape_filter_chars with escape_mode=1; ensure proper
|
||||||
|
escaping. (bsc#1251912)
|
||||||
|
+ CVE-2025-61912 (GHSA-p34h-wq7j-h5v6): Correct NUL escaping in
|
||||||
|
ldap.dn.escape_dn_chars to \00 per RFC 4514. (bsc#1251913)
|
||||||
|
* Fixes:
|
||||||
|
+ ReconnectLDAPObject now properly reconnects on UNAVAILABLE,
|
||||||
|
CONNECT_ERROR and TIMEOUT exceptions (previously only SERVER_DOWN),
|
||||||
|
fixing reconnection issues especially during server restarts
|
||||||
|
+ Fixed syncrepl.py to use named constants instead of raw decimal values
|
||||||
|
for result types
|
||||||
|
+ Fixed error handling in SearchNoOpMixIn to prevent a undefined variable
|
||||||
|
error
|
||||||
|
- Fix filename due to new setuptools.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 30 09:36:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Switch build system from setuptools to pyproject.toml
|
||||||
|
* Add python-pip and python-wheel to BuildRequires
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
- Enable sle15_python_module_pythons (boo#1229549)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 21:14:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Dec 14 21:14:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ldap
|
# spec file for package python-ldap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,22 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
|
|
||||||
Name: python-ldap
|
Name: python-ldap
|
||||||
Version: 3.4.4
|
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
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyasn1 >= 0.3.7}
|
BuildRequires: %{python_module pyasn1 >= 0.3.7}
|
||||||
BuildRequires: %{python_module pyasn1-modules >= 0.1.5}
|
BuildRequires: %{python_module pyasn1-modules >= 0.1.5}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: cyrus-sasl-devel >= 2.1
|
BuildRequires: cyrus-sasl-devel >= 2.1
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
@@ -53,14 +51,14 @@ for that purpose. Additionally the package contains modules for other
|
|||||||
LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
|
LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1 -n python_ldap-%{version}
|
||||||
cp Build/setup.cfg.suse-linux setup.cfg
|
cp Build/setup.cfg.suse-linux setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %python_build
|
CFLAGS="%{optflags}" %pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -69,6 +67,13 @@ PATH=/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin %pyunittest_arch discover -v -
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%doc README Demo CHANGES TODO
|
%doc README Demo CHANGES TODO
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/ldap
|
||||||
|
%{python_sitearch}/python_ldap-%{version}*info
|
||||||
|
%{python_sitearch}/slapdtest
|
||||||
|
%{python_sitearch}/ldapurl.py
|
||||||
|
%{python_sitearch}/ldif.py
|
||||||
|
%{python_sitearch}/_ldap*
|
||||||
|
%pycache_only %{python_sitearch}/__pycache__/ldapurl*
|
||||||
|
%pycache_only %{python_sitearch}/__pycache__/ldif*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
BIN
python_ldap-3.4.5.tar.gz
LFS
Normal file
BIN
python_ldap-3.4.5.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user