15
0
forked from pool/python-ldap

131 Commits

Author SHA256 Message Date
Steve Kowalik
a5a36145b2 - 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
- Switch to building with pip, wheel and the pyproject macros.
- Fix filename due to new setuptools.
2025-10-24 14:09:54 +11:00
c01cc26fc0 Sync changes to SLFO-1.2 branch 2025-08-20 11:31:09 +02:00
77ae4e4307 Accepting request 1289272 from devel:languages:python
Forwarded request #1289231 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1289272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=62
2025-07-01 09:33:48 +00:00
dc258b6ad5 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=139
2025-06-30 12:57:58 +00:00
6deef255af Accepting request 1201623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=61
2024-09-17 16:19:46 +00:00
643d0b776d - Enable sle15_python_module_pythons (boo#1229549)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=137
2024-09-17 13:11:46 +00:00
a851fce10d Accepting request 1133198 from devel:languages:python
- update to 3.4.4:
  * Reconnect race condition in ReconnectLDAPObject is now fixed
  * Socket ownership is now claimed once we've passed it to
    libldap LDAP_set_option string formats are now compatible
    with Python 3.12

- use sasl2
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore
- changed for openldap2
- fixed neededforbuild (added ldaplib)

OBS-URL: https://build.opensuse.org/request/show/1133198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=60
2023-12-15 20:48:28 +00:00
3a887b6307 - update to 3.4.4:
* Reconnect race condition in ReconnectLDAPObject is now fixed
  * Socket ownership is now claimed once we've passed it to
    libldap LDAP_set_option string formats are now compatible
    with Python 3.12
- use sasl2
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore
- changed for openldap2
- fixed neededforbuild (added ldaplib)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=135
2023-12-14 21:15:27 +00:00
33c8c95abd Accepting request 1103858 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1103858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=59
2023-08-14 20:35:57 +00:00
3e12ce9b0a Accepting request 1103789 from home:firstyear:branches:devel:languages:python
- Re-run source download due to file differences.

OBS-URL: https://build.opensuse.org/request/show/1103789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=133
2023-08-14 11:57:35 +00:00
fb0469c704 Accepting request 1004054 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1004054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=58
2022-09-16 11:32:37 +00:00
09c6155ffd Accepting request 1003980 from home:firstyear:branches:devel:languages:python
- up to upstream release 3.4.3
  This is a minor release to bring back the removed OPT_X_TLS option.
  Please note, it's still a deprecated option and it will be removed in 3.5.0.
  The following deprecated option has been brought back:
  * OPT_X_TLS
  * Fixes:
  - Sphinx documentation is now successfully built
  _ pypy3 tests stability was improved
  _ setup.py deprecation warning is now resolved

OBS-URL: https://build.opensuse.org/request/show/1003980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=131
2022-09-16 08:30:58 +00:00
f04c418697 Accepting request 991064 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/991064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=57
2022-07-26 17:45:12 +00:00
d8ffa4dd30 Accepting request 990896 from home:stroeder:branches:devel:languages:python
- update to upstream release 3.4.2
  minor release to provide out-of-the-box compatibility with the merge
  of libldap and libldap_r that happened with OpenLDAP's 2.5 release.

OBS-URL: https://build.opensuse.org/request/show/990896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=129
2022-07-25 15:57:22 +00:00
0ef5e80069 Accepting request 962609 from devel:languages:python
- skip Python 2 builds
- set PATH when running tests
- update to upstream release 3.4.0
  * Security fixes:
    - Fix inefficient regular expression which allows denial-of-service attacks
      when parsing specially-crafted LDAP schema (GHSL-2021-117, bsc#1194834)
  * Changes:
    - On MacOS, remove option to make LDAP connections from a file descriptor
      when built with the system libldap (which lacks the underlying function,
      ldap_init_fd)
    - Attribute values of the post read control are now bytes
      instead of ISO8859-1 decoded str
    - LDAPUrl now treats urlscheme as case-insensitive
    - Several OpenLDAP options are now supported:
        - OPT_X_TLS_REQUIRE_SAN
        - OPT_X_SASL_SSF_EXTERNAL
        - OPT_X_TLS_PEERCERT
  * Fixes:
    - The copy() method of cidict was added back. It was unintentionally
      removed in 3.3.0
    - Fixed getting/setting SASL options on big endian platforms
    - Unknown LDAP result code are now converted to LDAPexception,
      rather than raising a SystemError.
  * slapdtest:
    - Show stderr of slapd -Ttest
    - SlapdObject uses directory-based configuration of slapd
    - SlapdObject startup is now faster
- %check: use %pyunittest_arch rpm macro
- update to upstream release 3.3.1:
Highlights:
* ``LDAPError`` now contains additional fields, such as ctrls, result, msgid
* ``passwd_s`` can now extract the newly generated password
* LDAP connections can now be made from a file descriptor
This release is tested on Python 3.8, and the beta of Python 3.9.
The following undocumented functions are deprecated and scheduled for removal:
- ``ldap.cidict.strlist_intersection``
- ``ldap.cidict.strlist_minus``
- ``ldap.cidict.strlist_union``
Modules/
* Ensure ReconnectLDAPObject is not left in an inconsistent state after
  a reconnection timeout
* Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet
* Release GIL around global get/set option call
* Do not leak serverctrls in result functions
* Don't overallocate memory in attrs_from_List()
* Fix thread support check for Python 3
* With OpenLDAP 2.4.48, use the new header openldap.h
Lib/
* Fix some edge cases regarding quoting in the schema tokenizer
* Fix escaping a single space in ldap.escape_dn_chars
* Fix string formatting in ldap.compare_ext_s
* Prefer iterating dict instead of calling dict.keys()
Doc/
* Clarify the relationship between initialize() and LDAPObject()
* Improve documentation of TLS options
* Update FAQ to include Samba AD-DC error message
  "Operation unavailable without authentication"
* Fix several incorrect examples and demos
  (but note that these are not yet tested)
* Update Debian installation instructions for Debian Buster
* Typo fixes in docs and docstrings
Test/
* Test and document error cases in ldap.compare_s
* Test if reconnection is done after connection loss
* Make test certificates valid for the far future
* Use slapd -Tt instead of slaptest
Infrastructure:
* Mark the LICENCE file as a license for setuptools
* Use "unittest discover" rather than "setup.py test" to run tests
- Reduce the runtime dependencies to match the actual needs
  * User can use either openldap or 389-ds or anything else
- Run the tests on the package
- Fix the fdupes call
- Add this package to SLE wrt fate#325747
- Do not add version dependency to devel requirement
- Require openldap2-client as some of the binaries are called
  on the runtime
- update to upstream release 3.1.0:
  * Long-deprecated functions `ldap.open()` and `ldap.init()` are removed
  * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1
  * Tons of changes see CHANGES file
- update to upstream release 3.0.0b4:
  - Adds support for Python 3.4+
  - Adds support for `bytes_mode`
  - Idiotmatic python code changes
  - Adds testing for `pypy`
  - Fixes/enhances tests
- Remove python-ldap.keyring and python-ldap-%{version}.tar.gz.asc:
  There is no signature provided for the new upstream tarball
- update to upstream release 2.5.2
Changes since 2.5.1:
* code-cleaning in setup.py
Modules/
* PyBytes_ instead of PyString_ and added PyInt_FromLong compat macro
* moved code from version.c to ldapmodule.c
* removed obsolete back-ward compability constants from common.h
* build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
* _ldap.__author__ and _ldap.__license__ also set from ldap.pkginfo
* assume C extension API for Python 2.7+
Lib/
* removed all dependencies on modules string and types
* removed use of .has_key()
* removed class ldap.ldapobject.NonblockingLDAPObject
* new global constant ldap.LIBLDAP_API_INFO
* right after importing _ldap there is a call into libldap to initialize it
* method .decodeControlValue() of SSSResponseControl and VLVResponseControl
  does not set class attribute result_code anymore
* always use bytes() for UUID() constructor in ldap.syncrepl
* module ldif now uses functions b64encode() and b64decode()
* fixed pickling and restoring of ReconnectLDAPObject
* more modules with PEP-8 compliance
* ldap.ldapobject split into module-package
Tests/
* scripts do not directly call SlapdTestCase.setUpClass() anymore
* added LDIF test with folded, base64-encoded attribute
* added more tests for sub-module ldap.dn
* added tests for ldap.syncrepl (thanks to Karl Kornel)
- update to upstream release 2.5.1
- adjusted BuildRequires to match upstream prerequisites
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject
- update to upstream release 2.4.45
  * fixed error handling
- update to upstream release 2.4.44
  * GIL fix
- update to upstream release 2.4.43
  * SASL bind fix
- update to upstream release 2.4.42
  * small enhancements to test suite
- update to upstream release 2.4.41 (small LDIF parser enhancement)
- update to upstream release 2.4.40 (small memleak fix)
- update to upstream release 2.4.39
- provide python2-ldap to support singlespec packages
- update to upstream release 2.4.38
- update to upstream release 2.4.37
- Update to upstream release 2.4.30
  (with compability fix for pyasn1 0.2.x)
- Update to upstream release 2.4.29
- added python-ldap.keyring to validate upstream source signatures
- Update to upstream release 2.4.28
- Update to upstream release 2.4.27
- Update to upstream release 2.4.26
- updated pypi source URL
- Use HTTPS links
- Aligned desciption with project's web site
- Removed obsolete stuff:
  * build flag -DLDAP_DEPRECATED
  * outdated URL in package description
  * removing of CVS files
- Update to upstream release 2.4.25
- Update to upstream release 2.4.22
- Update to upstream release 2.4.21
- Update to upstream release 2.4.20
- Update to upstream release 2.4.19
- Update to upstream release 2.4.18
- Update to upstream release 2.4.17
- Update to upstream release 2.4.16
- Set license ot Python-2.0 (according to legal)
- Update to upstream release 2.4.15
  * Various fixes
  * Support for subordinates search scope
  * Support for select schema description extension
- Update to upstream release 2.4.13
  * mainly important fixes for ReconnectLDAPObject
- Explicitly specify openssl build dependency
- update to 2.4.10
- Added dependencies to python-pyasn1 and python-pyasn1-modules
- Remove service
- Spec file cleanup:
  * Remove outdated sections
  * Proper macro usage
- removed sasl.patch as it is no longer necessary
- update to 2.4.3
  * requires OpenLDAP 2.4.11 or higher
  * improved documentation
  * backwards-incompatible API for ldap.control
  * a couple new features, e.g. support for OPT_X_TLS_PACKAGE
  * improved LDAPv3 support
- update to 2.3.13:
  * Correct #ifdef-statement for LDAP_OPT_X_TLS_CRLFILE in
    constants.c fixes build with older OpenLDAP libs
  * Support for LDAP_OPT_DEFBASE (see SF#3072016)
  * Several documentation improvements
- update to 2.3.9
  * support for handling ldap url extensions without explicit exvalue
  * common version number for all modules
- update to 2.3.8
  * supposedly supports gcc4.4
  * better handling of corner case errors
  * minor fixes
- fixed rpmlint warnings
- update to 2.3.5
  * minor fixes
- removed cvs-related files from the package
- update to 2.3.4
  * better RFC 4514 compatibility
  * bugfixes
- cleaned up spec file
- removed unnecessary source
- added %fdupes
- update to 2.3.1
  * openLDAP 2.3+ is now required
  * upstream fixed python2.5 problems
  * support for Cancel operation
  * DN related functions moved to submodule ldap.dn
  * numerous bugfixes
- removed dependency on openldap, added dependency on openldap-client
- fixed a bug that would in some cases lead to invalid free() call
  while deallocating the object
- update to 2.2.0
  - OpenLDAP 2.2+ is now required
  - code is cleaned up, many memory leaks fixed
  - improved ldap.async - fixed Dict, added IndexedDict
  - lots of bugs fixed
- fixed some 64bit problems with PEP353 conversion
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 2.0.11
- using setup.cfg source designed for SuSE (minor adjustments
  against Build/setup.cfg.suse-linux
- added LDAP_DEPRECATED to CFLAGS to build correctly with·
  OpenLDAP 2.3
- update to 2.0.10
- update to 2.0.8
- update to 2.0.7
- update to 2.0.6
- update to 2.0.5
- update to 2.0.2
- update to 2.0.1
- update to 2.0.0 final
- include licence
- updated to 2.0.0pre19
- updated to 2.0.0pre18
- updated to 2.0.0pre15
- don't build as root
- updated to 2.0.0pre14:
    ldap.ldapobject:
    * Added class attribute LDAPObject.network_timeout mapped to
      set_option(ldap.OPT_NETWORK_TIMEOUT,..)
    * LDAPObject.search_ext(): Pass arguments serverctrls,clientctrls
      to _ldap.search_ext()
    ldap.sasl:
    * Added class ldap.sasl.external for handling
      the SASL mechanism EXTERNAL
    * Dictionary ldap.sasl.saslmech_handler_class built during import
      for all the known SASL mechanisms derived from class definitions
    ldap.schema:
    * More graceful handling of KeyError in SubSchema.attribute_types()
    * New method SubSchema.get_inheritedattr() for retrieving inherited
      class attributes
    * New method SubSchema.get_inheritedobj() for retrieving a
      schema element instance including all inherited class attributes
- updated to 2.0.0pre13
- use record-rpm
- updated to 2.0.0pre12
- updated to 2.0.0pre11
- use distutils for build
- use versioned dependency on python
- use sasl2 
- updated to 2.0.0pre06
- build with more features
- add demo into docs
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore 
- new version: 2.0.0pre05
- use %_lib instead of lib
- version 2.0.0pre04 to work with openldap2 (bug #13948)
- fix Group tag to Development/Libraries/Python
- Remove openldap from Requires
- changed for openldap2 
- fixed neededforbuild for openldap
- renamed from pyldapm to python-ldap
- updated to python-ldap-1.10alpha3
- adopted spec file for python2.0
- fixed neededforbuild (added ldaplib) 
- fix need for build
- ran old prepare_spec on spec file to switch to new prepare_spec.
- new version 1.5

OBS-URL: https://build.opensuse.org/request/show/962609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=56
2022-03-18 15:42:18 +00:00
cd8ff01dfa Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=127
2022-03-17 18:28:21 +00:00
b7dc533693 Accepting request 939448 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/939448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=55
2021-12-11 23:56:25 +00:00
16c8daa6ef Accepting request 939167 from home:stroeder:iam
- skip Python 2 builds
- set PATH when running tests
- update to upstream release 3.4.0
  * Security fixes:
    - Fix inefficient regular expression which allows denial-of-service attacks
    - when parsing specially-crafted LDAP schema.
    - (GHSL-2021-117)
  * Changes:
    - On MacOS, remove option to make LDAP connections from a file descriptor
    - when built with the system libldap (which lacks the underlying function,
    - ldap_init_fd)
    - Attribute values of the post read control are now bytes
    - instead of ISO8859-1 decoded str
    - LDAPUrl now treats urlscheme as case-insensitive
    - Several OpenLDAP options are now supported:
        - OPT_X_TLS_REQUIRE_SAN
        - OPT_X_SASL_SSF_EXTERNAL
        - OPT_X_TLS_PEERCERT
  * Fixes:
    - The copy() method of cidict was added back. It was unintentionally
    - removed in 3.3.0
    - Fixed getting/setting SASL options on big endian platforms
    - Unknown LDAP result code are now converted to LDAPexception,
    - rather than raising a SystemError.
  * slapdtest:
    - Show stderr of slapd -Ttest
    - SlapdObject uses directory-based configuration of slapd
    - SlapdObject startup is now faster

OBS-URL: https://build.opensuse.org/request/show/939167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=126
2021-12-10 19:21:11 +00:00
26da22a220 Accepting request 918972 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/918972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=54
2021-09-14 19:14:55 +00:00
eea80aba69 Accepting request 918915 from home:pgajdos:python
- %check: use %pyunittest_arch rpm macro

OBS-URL: https://build.opensuse.org/request/show/918915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=125
2021-09-14 15:17:06 +00:00
bcce63a277 Accepting request 838190 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/838190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=53
2020-09-28 12:29:06 +00:00
Tomáš Chvátal
27d629b472 Accepting request 838140 from home:firstyear:branches:devel:languages:python
- update to upstream release 3.3.1:
Highlights:
* ``LDAPError`` now contains additional fields, such as ctrls, result, msgid
* ``passwd_s`` can now extract the newly generated password
* LDAP connections can now be made from a file descriptor
This release is tested on Python 3.8, and the beta of Python 3.9.
The following undocumented functions are deprecated and scheduled for removal:
- ``ldap.cidict.strlist_intersection``
- ``ldap.cidict.strlist_minus``
- ``ldap.cidict.strlist_union``
Modules/
* Ensure ReconnectLDAPObject is not left in an inconsistent state after
  a reconnection timeout
* Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet
* Release GIL around global get/set option call
* Do not leak serverctrls in result functions
* Don't overallocate memory in attrs_from_List()
* Fix thread support check for Python 3
* With OpenLDAP 2.4.48, use the new header openldap.h
Lib/
* Fix some edge cases regarding quoting in the schema tokenizer
* Fix escaping a single space in ldap.escape_dn_chars
* Fix string formatting in ldap.compare_ext_s
* Prefer iterating dict instead of calling dict.keys()
Doc/
* Clarify the relationship between initialize() and LDAPObject()
* Improve documentation of TLS options
* Update FAQ to include Samba AD-DC error message
  "Operation unavailable without authentication"
* Fix several incorrect examples and demos

OBS-URL: https://build.opensuse.org/request/show/838140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=123
2020-09-28 06:36:33 +00:00
2675303e8c Accepting request 656823 from devel:languages:python
- Reduce the runtime dependencies to match the actual needs
  * User can use either openldap or 389-ds or anything else
- Run the tests on the package
- Fix the fdupes call

OBS-URL: https://build.opensuse.org/request/show/656823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=52
2019-01-03 17:06:19 +00:00
Tomáš Chvátal
16f23de5ca - Reduce the runtime dependencies to match the actual needs
* User can use either openldap or 389-ds or anything else
- Run the tests on the package
- Fix the fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=121
2018-12-10 12:24:48 +00:00
16c02550d9 Accepting request 655978 from devel:languages:python
- Add this package to SLE wrt fate#325747
- Do not add version dependency to devel requirement

OBS-URL: https://build.opensuse.org/request/show/655978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=51
2018-12-07 13:39:45 +00:00
Tomáš Chvátal
9241d70d2d - Do not add version dependency to devel requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=119
2018-12-07 09:20:41 +00:00
Tomáš Chvátal
75759d82db - Add this package to SLE wrt fate#325747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=118
2018-12-07 09:20:23 +00:00
0242516349 Accepting request 629178 from devel:languages:python
- Require openldap2-client as some of the binaries are called
  on the runtime

OBS-URL: https://build.opensuse.org/request/show/629178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=50
2018-08-15 08:38:02 +00:00
Tomáš Chvátal
12b797821c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=116 2018-08-14 07:05:14 +00:00
Tomáš Chvátal
764204f70b - Require openldap2-client as some of the binaries are called
on the runtime

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=115
2018-08-14 07:01:27 +00:00
9a97755345 Accepting request 628063 from devel:languages:python
- update to upstream release 3.1.0:
  * Long-deprecated functions `ldap.open()` and `ldap.init()` are removed
  * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1
  * Tons of changes see CHANGES file

OBS-URL: https://build.opensuse.org/request/show/628063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=49
2018-08-10 07:48:43 +00:00
Tomáš Chvátal
0a0d889f13 - update to upstream release 3.1.0:
* Long-deprecated functions `ldap.open()` and `ldap.init()` are removed
  * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1
  * Tons of changes see CHANGES file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=113
2018-08-08 11:47:38 +00:00
Tomáš Chvátal
9e7a346d1d Accepting request 627947 from home:stroeder:branches:devel:languages:python
- update to upstream release 3.1.0

OBS-URL: https://build.opensuse.org/request/show/627947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=112
2018-08-08 11:41:40 +00:00
e34917e1f2 Accepting request 567667 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/567667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=48
2018-01-20 10:27:55 +00:00
Tomáš Chvátal
c398cdfacb Accepting request 567662 from home:bergmannf:branches:devel:languages:python
Reworked changes file to be more concise.

OBS-URL: https://build.opensuse.org/request/show/567662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=110
2018-01-19 12:11:12 +00:00
f8f51ed551 Accepting request 544080 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/544080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=47
2017-11-21 14:34:33 +00:00
233d43305a Accepting request 543962 from home:stroeder:branches:devel:languages:python
update to upstream release 2.5.2

OBS-URL: https://build.opensuse.org/request/show/543962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=108
2017-11-21 08:15:54 +00:00
07989e063f Accepting request 541892 from devel:languages:python
- update to upstream release 2.5.1
- adjusted BuildRequires to match upstream prerequisites
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject

OBS-URL: https://build.opensuse.org/request/show/541892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=46
2017-11-15 16:02:32 +00:00
Michael Ströder
873f202d40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=106 2017-11-12 17:49:32 +00:00
Michael Ströder
4167dd865d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=105 2017-11-12 17:49:22 +00:00
Michael Ströder
f99bf85aaa OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=104 2017-11-12 17:48:24 +00:00
Michael Ströder
287565aa10 Accepting request 541096 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.5.1
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject

OBS-URL: https://build.opensuse.org/request/show/541096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=103
2017-11-12 17:41:56 +00:00
5cc8dc8500 Accepting request 532814 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/532814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=45
2017-10-10 09:42:48 +00:00
Michael Ströder
335dde0bb0 Accepting request 532813 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.45
  * fixed error handling

OBS-URL: https://build.opensuse.org/request/show/532813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=101
2017-10-09 15:16:04 +00:00
afb446ccbe Accepting request 522190 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/522190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=44
2017-09-09 18:26:41 +00:00
Michael Ströder
0a3fa17a6f Accepting request 522189 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.44
  * GIL fix

OBS-URL: https://build.opensuse.org/request/show/522189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=99
2017-09-07 22:24:58 +00:00
Michael Ströder
485b8ea52a Accepting request 521904 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.43
  * SASL bind fix

OBS-URL: https://build.opensuse.org/request/show/521904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=98
2017-09-07 08:00:08 +00:00
c2e5f1dfd5 Accepting request 520806 from devel:languages:python
- update to upstream release 2.4.42
  * small enhancements to test suite

OBS-URL: https://build.opensuse.org/request/show/520806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=43
2017-09-05 13:17:07 +00:00
Michael Ströder
746d85b971 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=96 2017-09-04 13:23:51 +00:00
Michael Ströder
1d34cde0ed Accepting request 520611 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.42

OBS-URL: https://build.opensuse.org/request/show/520611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=95
2017-09-04 09:01:35 +00:00
595c627bf3 Accepting request 509843 from devel:languages:python
update to 2.4.41

OBS-URL: https://build.opensuse.org/request/show/509843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=42
2017-07-17 07:09:15 +00:00
Michael Ströder
d9ad7413cf OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=93 2017-07-12 18:07:51 +00:00
Michael Ströder
c277063f32 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=92 2017-07-12 18:07:47 +00:00
Michael Ströder
1453f20ae8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=91 2017-07-12 18:07:41 +00:00
Michael Ströder
4d5b082bd9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=90 2017-07-12 18:07:29 +00:00
Michael Ströder
a7b7d5ac22 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=89 2017-07-12 18:06:58 +00:00
Michael Ströder
2e7c4c99af OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=88 2017-07-12 18:06:45 +00:00
7b1b94e435 Accepting request 506527 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/506527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=41
2017-06-28 08:37:38 +00:00
Michael Ströder
e746f18b2b Accepting request 506526 from home:stroeder:branches:devel:languages:python
update to upstream release 2.4.40

OBS-URL: https://build.opensuse.org/request/show/506526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=86
2017-06-27 18:43:17 +00:00
321ab70ba7 Accepting request 500227 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/500227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=40
2017-06-01 14:34:49 +00:00
Michael Ströder
5228b54120 Accepting request 500226 from home:stroeder:branches:devel:languages:python
update to 2.4.39

OBS-URL: https://build.opensuse.org/request/show/500226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=84
2017-05-31 20:07:25 +00:00
Jan Matejek
b5b55938e4 - provide python2-ldap to support singlespec packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=83
2017-05-18 15:06:32 +00:00
Michael Ströder
909e658df7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=82 2017-04-28 09:06:49 +00:00
Michael Ströder
72fde9ef3d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=81 2017-04-28 09:06:36 +00:00
Michael Ströder
8647f3cdb4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=80 2017-04-28 09:06:22 +00:00
Michael Ströder
bf553dff38 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=79 2017-04-28 09:06:08 +00:00
Michael Ströder
6225ebe28f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=78 2017-04-28 09:05:45 +00:00
Michael Ströder
eab2886243 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=77 2017-04-28 09:05:40 +00:00
Michael Ströder
69d1169675 Accepting request 491443 from home:stroeder:branches:devel:languages:python
update to 2.4.37

OBS-URL: https://build.opensuse.org/request/show/491443
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=76
2017-04-27 08:50:05 +00:00
50d9ac33e2 Accepting request 455460 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/455460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=39
2017-02-09 10:18:32 +00:00
Michael Ströder
1a90320b6e Accepting request 455457 from home:stroeder:branches:devel:languages:python
update to 2.4.30 (needed for pyasn1 0.2.x)

OBS-URL: https://build.opensuse.org/request/show/455457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=74
2017-02-08 10:01:35 +00:00
f824b76b84 Accepting request 452487 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/452487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=38
2017-01-27 10:17:10 +00:00
Michael Ströder
ba3b5394fa Accepting request 452486 from home:stroeder:branches:devel:languages:python
update to 2.4.29

OBS-URL: https://build.opensuse.org/request/show/452486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=72
2017-01-25 20:14:59 +00:00
dd4258e1f0 Accepting request 440800 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/440800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=37
2016-11-18 21:03:59 +00:00
Michael Ströder
95d18268f5 Accepting request 440799 from home:stroeder:branches:devel:languages:python
update to 2.4.28 (tested)

OBS-URL: https://build.opensuse.org/request/show/440799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=70
2016-11-18 07:36:22 +00:00
02180984c5 Accepting request 416377 from devel:languages:python
update to 2.4.27

OBS-URL: https://build.opensuse.org/request/show/416377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=36
2016-08-12 13:42:19 +00:00
Michael Ströder
6f189e9bb5 Accepting request 416375 from home:stroeder:branches:devel:languages:python
update to 2.4.27

OBS-URL: https://build.opensuse.org/request/show/416375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=69
2016-08-01 10:52:00 +00:00
Michael Ströder
f40f76510c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=68 2016-07-24 16:45:22 +00:00
Michael Ströder
82829bfc7c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=67 2016-07-24 16:45:05 +00:00
Michael Ströder
c19a53360e Accepting request 414895 from home:stroeder:branches:devel:languages:python
update to 2.4.26

OBS-URL: https://build.opensuse.org/request/show/414895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=66
2016-07-24 16:39:37 +00:00
3edfe6c2f5 Accepting request 361093 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/361093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=35
2016-02-25 21:07:50 +00:00
Michael Ströder
0a394c64f0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=65 2016-02-23 10:33:40 +00:00
Michael Ströder
8afadada51 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=64 2016-02-23 10:25:22 +00:00
33e495cbf9 Accepting request 358761 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/358761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=34
2016-02-17 09:24:28 +00:00
Michael Ströder
0fdf049ea5 Accepting request 358760 from home:stroeder:branches:devel:languages:python
removed obsolete stuff

OBS-URL: https://build.opensuse.org/request/show/358760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=62
2016-02-10 17:20:20 +00:00
c9dff4072c Accepting request 355856 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/355856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=33
2016-01-26 09:15:24 +00:00
Michael Ströder
35e9e8a181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=60 2016-01-18 21:28:34 +00:00
Michael Ströder
97338eafa7 Accepting request 354621 from home:stroeder:branches:devel:languages:python
update to 2.4.25

OBS-URL: https://build.opensuse.org/request/show/354621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=59
2016-01-18 15:26:21 +00:00
Michael Ströder
7a3c13711d Accepting request 354389 from home:stroeder:branches:devel:languages:python
update to 2.4.23

OBS-URL: https://build.opensuse.org/request/show/354389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=58
2016-01-17 15:29:20 +00:00
Stephan Kulow
2619294d31 Accepting request 340768 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/340768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=32
2015-10-25 13:18:16 +00:00
Michael Ströder
11a229b890 Accepting request 340767 from home:stroeder:branches:devel:languages:python
update to 2.4.22 (successfully tested)

OBS-URL: https://build.opensuse.org/request/show/340767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=56
2015-10-24 16:40:16 +00:00
Stephan Kulow
c00a7df218 Accepting request 333793 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/333793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=31
2015-09-27 06:40:29 +00:00
Michael Ströder
5e0847df9c Accepting request 333792 from home:stroeder:branches:devel:languages:python
update to 2.4.21

OBS-URL: https://build.opensuse.org/request/show/333792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=54
2015-09-25 16:46:34 +00:00
Stephan Kulow
af4a3924ac Accepting request 315478 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/315478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=30
2015-07-08 05:00:02 +00:00
Michael Ströder
c6b5f502a0 Accepting request 315477 from home:stroeder:branches:devel:languages:python
update to 2.4.20, tested (with web2ldap) on Tumbleweed x86_64

OBS-URL: https://build.opensuse.org/request/show/315477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=52
2015-07-07 13:40:45 +00:00
ffc19d0fca Accepting request 280784 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/280784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=29
2015-01-12 08:50:04 +00:00
Michael Ströder
de2d110296 Accepting request 280783 from home:stroeder:branches:devel:languages:python
Update to upstream release 2.4.19

OBS-URL: https://build.opensuse.org/request/show/280783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=50
2015-01-11 13:32:08 +00:00
Stephan Kulow
4794b31999 Accepting request 254811 from devel:languages:python
Update to upstream release 2.4.18

OBS-URL: https://build.opensuse.org/request/show/254811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=28
2014-10-09 10:52:32 +00:00
Michael Ströder
685d31f002 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=49 2014-10-09 08:26:38 +00:00
Michael Ströder
36612cc0cb OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=48 2014-10-09 08:26:30 +00:00
Michael Ströder
90b8b710c8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=47 2014-10-09 08:26:13 +00:00
Michael Ströder
c44c209b87 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=46 2014-10-09 08:26:06 +00:00
Michael Ströder
f7c7a8559f Accepting request 252584 from home:stroeder:branches:devel:languages:python
Update to upstream release 2.4.17

OBS-URL: https://build.opensuse.org/request/show/252584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=45
2014-09-27 10:11:45 +00:00
Stephan Kulow
71f192f4ce Accepting request 248359 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/248359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=27
2014-09-10 16:51:34 +00:00
Michael Ströder
b68e6f3934 Accepting request 248354 from home:stroeder:branches:devel:languages:python
Update to new upstream release 2.4.16

OBS-URL: https://build.opensuse.org/request/show/248354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=43
2014-09-10 13:51:02 +00:00
Stephan Kulow
f56f4116f8 Accepting request 228097 from devel:languages:python
- Set license ot Python-2.0 (according to legal)

- Update to upstream release 2.4.15
  * Various fixes
  * Support for subordinates search scope
  * Support for select schema description extension

OBS-URL: https://build.opensuse.org/request/show/228097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=25
2014-03-30 05:56:08 +00:00
Sascha Peilicke
19a8de9ff6 - Set license ot Python-2.0 (according to legal)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=41
2014-03-28 13:50:51 +00:00
Michael Ströder
3fd670b06e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=40 2014-03-24 10:29:37 +00:00
Michael Ströder
86f4947e7f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=38 2014-03-24 10:29:22 +00:00
Michael Ströder
336a25ea48 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=37 2014-03-24 10:28:02 +00:00
Michael Ströder
fdde915295 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=36 2014-03-24 10:27:52 +00:00
Michael Ströder
5a4580816e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=35 2014-01-31 17:37:53 +00:00
Michael Ströder
cd523cdcad OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=34 2014-01-31 17:37:39 +00:00
Michael Ströder
0a65b2e261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=33 2014-01-31 17:37:23 +00:00
Stephan Kulow
3f4426ff38 Accepting request 181188 from devel:languages:python
Update to upstream release 2.4.13

OBS-URL: https://build.opensuse.org/request/show/181188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=23
2013-07-01 13:59:40 +00:00
Michael Ströder
84982251bc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=31 2013-06-27 15:51:19 +00:00
Michael Ströder
95d8952420 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=30 2013-06-27 15:43:29 +00:00
Michael Ströder
4507d38b87 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=29 2013-06-27 15:43:21 +00:00
Michael Ströder
2fd45d5ab6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=28 2013-06-27 15:43:15 +00:00
Stephan Kulow
7b95aa5321 Accepting request 179881 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=22
2013-06-19 15:03:40 +00:00
Sascha Peilicke
421631d88e Accepting request 179540 from home:jengelh:sasl
- Explicitly specify openssl build dependency

OBS-URL: https://build.opensuse.org/request/show/179540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=26
2013-06-18 11:32:48 +00:00
Stephan Kulow
e9461f5d82 Accepting request 124112 from devel:languages:python
Update to upstream release 2.4.10 with fix to ReconnectLDAPObject and syncrepl demo.

OBS-URL: https://build.opensuse.org/request/show/124112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=19
2012-06-10 18:19:01 +00:00
Michael Ströder
b8323b6673 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=24 2012-06-07 18:45:12 +00:00
Michael Ströder
908c037fd4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=23 2012-06-07 18:44:43 +00:00
Michael Ströder
e0d224301d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=22 2012-06-07 18:43:44 +00:00
Michael Ströder
03a2c8d009 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=21 2012-06-07 18:43:34 +00:00
Stephan Kulow
04b20ce911 Accepting request 110796 from devel:languages:python
Added dependencies on other (recently submitted) packages python-pyasn1 and python-pyasn1-modules (forwarded request 110736 from stroeder)

OBS-URL: https://build.opensuse.org/request/show/110796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=18
2012-04-02 08:30:49 +00:00
Sascha Peilicke
0f7da46d20 Accepting request 110736 from home:stroeder:branches:devel:languages:python
Added dependencies on other (recently submitted) packages python-pyasn1 and python-pyasn1-modules

OBS-URL: https://build.opensuse.org/request/show/110736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=19
2012-03-23 11:50:02 +00:00
Stephan Kulow
ae6f7e92be Accepting request 109730 from devel:languages:python
- Remove service
- Spec file cleanup:
  * Remove outdated sections
  * Proper macro usage

OBS-URL: https://build.opensuse.org/request/show/109730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=17
2012-03-20 10:33:34 +00:00
Sascha Peilicke
11d82bee78 - Remove service
- Spec file cleanup:
  * Remove outdated sections
  * Proper macro usage

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=17
2012-03-16 14:35:11 +00:00
Sascha Peilicke
2dad762569 Accepting request 109646 from home:stroeder:branches:devel:languages:python
Changes since 2.4.3:
- Fixes for ReconnectLDAPObject
- More improvements for various LDAPv3 controls
- Fixed memory leaks
- Fixed locking issue in LDAPObject
- new experimental(!) sub-module ldap.syncrepl
- some updates to docs

OBS-URL: https://build.opensuse.org/request/show/109646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=16
2012-03-16 13:25:48 +00:00
5 changed files with 533 additions and 37 deletions

View 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)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88fb00ed5811e3df49d0f28317a48be2ae7e46252e473923005c7eb292d25e9d
size 125989

View File

@@ -1,3 +1,454 @@
-------------------------------------------------------------------
Fri Oct 24 03:09:41 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
- Switch to building with pip, wheel and the pyproject macros.
- Fix filename due to new setuptools.
-------------------------------------------------------------------
Tue Aug 5 05:27:36 UTC 2025 - William Brown <william.brown@suse.com>
- Allow building against OpenLDAP 2.5
* 0001-Use-reentrant-libldap.patch
-------------------------------------------------------------------
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>
- update to 3.4.4:
* Reconnect race condition in ReconnectLDAPObject is now fixed
* Socket ownership is now claimed once we've passed it to
libldap LDAP_set_option string formats are now compatible
with Python 3.12
-------------------------------------------------------------------
Mon Aug 14 06:14:37 UTC 2023 - William Brown <william.brown@suse.com>
- Re-run source download due to file differences.
-------------------------------------------------------------------
Fri Sep 16 01:06:45 UTC 2022 - William Brown <william.brown@suse.com>
- up to upstream release 3.4.3
This is a minor release to bring back the removed OPT_X_TLS option.
Please note, it's still a deprecated option and it will be removed in 3.5.0.
The following deprecated option has been brought back:
* OPT_X_TLS
* Fixes:
- Sphinx documentation is now successfully built
_ pypy3 tests stability was improved
_ setup.py deprecation warning is now resolved
-------------------------------------------------------------------
Sun Jul 24 17:36:21 UTC 2022 - Michael Ströder <michael@stroeder.com>
- update to upstream release 3.4.2
minor release to provide out-of-the-box compatibility with the merge
of libldap and libldap_r that happened with OpenLDAP's 2.5 release.
-------------------------------------------------------------------
Fri Dec 10 14:13:43 UTC 2021 - Michael Ströder <michael@stroeder.com>
- skip Python 2 builds
- set PATH when running tests
- update to upstream release 3.4.0
* Security fixes:
- Fix inefficient regular expression which allows denial-of-service attacks
when parsing specially-crafted LDAP schema (GHSL-2021-117, bsc#1194834)
* Changes:
- On MacOS, remove option to make LDAP connections from a file descriptor
when built with the system libldap (which lacks the underlying function,
ldap_init_fd)
- Attribute values of the post read control are now bytes
instead of ISO8859-1 decoded str
- LDAPUrl now treats urlscheme as case-insensitive
- Several OpenLDAP options are now supported:
- OPT_X_TLS_REQUIRE_SAN
- OPT_X_SASL_SSF_EXTERNAL
- OPT_X_TLS_PEERCERT
* Fixes:
- The copy() method of cidict was added back. It was unintentionally
removed in 3.3.0
- Fixed getting/setting SASL options on big endian platforms
- Unknown LDAP result code are now converted to LDAPexception,
rather than raising a SystemError.
* slapdtest:
- Show stderr of slapd -Ttest
- SlapdObject uses directory-based configuration of slapd
- SlapdObject startup is now faster
-------------------------------------------------------------------
Tue Sep 14 12:35:59 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest_arch rpm macro
-------------------------------------------------------------------
Mon Sep 28 02:59:28 UTC 2020 - William Brown <william.brown@suse.com>
- update to upstream release 3.3.1:
Highlights:
* ``LDAPError`` now contains additional fields, such as ctrls, result, msgid
* ``passwd_s`` can now extract the newly generated password
* LDAP connections can now be made from a file descriptor
This release is tested on Python 3.8, and the beta of Python 3.9.
The following undocumented functions are deprecated and scheduled for removal:
- ``ldap.cidict.strlist_intersection``
- ``ldap.cidict.strlist_minus``
- ``ldap.cidict.strlist_union``
Modules/
* Ensure ReconnectLDAPObject is not left in an inconsistent state after
a reconnection timeout
* Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet
* Release GIL around global get/set option call
* Do not leak serverctrls in result functions
* Don't overallocate memory in attrs_from_List()
* Fix thread support check for Python 3
* With OpenLDAP 2.4.48, use the new header openldap.h
Lib/
* Fix some edge cases regarding quoting in the schema tokenizer
* Fix escaping a single space in ldap.escape_dn_chars
* Fix string formatting in ldap.compare_ext_s
* Prefer iterating dict instead of calling dict.keys()
Doc/
* Clarify the relationship between initialize() and LDAPObject()
* Improve documentation of TLS options
* Update FAQ to include Samba AD-DC error message
"Operation unavailable without authentication"
* Fix several incorrect examples and demos
(but note that these are not yet tested)
* Update Debian installation instructions for Debian Buster
* Typo fixes in docs and docstrings
Test/
* Test and document error cases in ldap.compare_s
* Test if reconnection is done after connection loss
* Make test certificates valid for the far future
* Use slapd -Tt instead of slaptest
Infrastructure:
* Mark the LICENCE file as a license for setuptools
* Use "unittest discover" rather than "setup.py test" to run tests
-------------------------------------------------------------------
Mon Dec 10 12:23:48 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Reduce the runtime dependencies to match the actual needs
* User can use either openldap or 389-ds or anything else
- Run the tests on the package
- Fix the fdupes call
-------------------------------------------------------------------
Fri Dec 7 09:18:38 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Add this package to SLE wrt fate#325747
- Do not add version dependency to devel requirement
-------------------------------------------------------------------
Tue Aug 14 07:00:52 UTC 2018 - tchvatal@suse.com
- Require openldap2-client as some of the binaries are called
on the runtime
-------------------------------------------------------------------
Tue Aug 7 17:43:33 UTC 2018 - michael@stroeder.com
- update to upstream release 3.1.0:
* Long-deprecated functions `ldap.open()` and `ldap.init()` are removed
* `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1
* Tons of changes see CHANGES file
-------------------------------------------------------------------
Thu Jan 18 09:04:33 UTC 2018 - fbergmann@suse.com
- update to upstream release 3.0.0b4:
- Adds support for Python 3.4+
- Adds support for `bytes_mode`
- Idiotmatic python code changes
- Adds testing for `pypy`
- Fixes/enhances tests
- Remove python-ldap.keyring and python-ldap-%{version}.tar.gz.asc:
There is no signature provided for the new upstream tarball
-------------------------------------------------------------------
Mon Nov 20 17:49:28 UTC 2017 - michael@stroeder.com
- update to upstream release 2.5.2
Changes since 2.5.1:
* code-cleaning in setup.py
Modules/
* PyBytes_ instead of PyString_ and added PyInt_FromLong compat macro
* moved code from version.c to ldapmodule.c
* removed obsolete back-ward compability constants from common.h
* build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
* _ldap.__author__ and _ldap.__license__ also set from ldap.pkginfo
* assume C extension API for Python 2.7+
Lib/
* removed all dependencies on modules string and types
* removed use of .has_key()
* removed class ldap.ldapobject.NonblockingLDAPObject
* new global constant ldap.LIBLDAP_API_INFO
* right after importing _ldap there is a call into libldap to initialize it
* method .decodeControlValue() of SSSResponseControl and VLVResponseControl
does not set class attribute result_code anymore
* always use bytes() for UUID() constructor in ldap.syncrepl
* module ldif now uses functions b64encode() and b64decode()
* fixed pickling and restoring of ReconnectLDAPObject
* more modules with PEP-8 compliance
* ldap.ldapobject split into module-package
Tests/
* scripts do not directly call SlapdTestCase.setUpClass() anymore
* added LDIF test with folded, base64-encoded attribute
* added more tests for sub-module ldap.dn
* added tests for ldap.syncrepl (thanks to Karl Kornel)
-------------------------------------------------------------------
Sun Nov 12 17:49:25 UTC 2017 - michael@stroeder.com
- update to upstream release 2.5.1
- adjusted BuildRequires to match upstream prerequisites
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
(thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
VLVResponseControl.decodeControlValue() now follow the coding
convention to use camel-cased ASN.1 name as class attribute name.
The old class names are still set for back-ward compability
but should not be used in new code because they might be removed
in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject
-------------------------------------------------------------------
Mon Oct 9 15:14:14 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.45
* fixed error handling
-------------------------------------------------------------------
Thu Sep 7 22:23:21 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.44
* GIL fix
-------------------------------------------------------------------
Thu Sep 7 07:57:14 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.43
* SASL bind fix
-------------------------------------------------------------------
Mon Sep 4 08:57:32 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.42
* small enhancements to test suite
-------------------------------------------------------------------
Wed Jul 12 18:07:10 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.41 (small LDIF parser enhancement)
-------------------------------------------------------------------
Tue Jun 27 18:40:32 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.40 (small memleak fix)
-------------------------------------------------------------------
Wed May 31 20:03:45 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.39
-------------------------------------------------------------------
Thu May 18 15:05:14 UTC 2017 - jmatejek@suse.com
- provide python2-ldap to support singlespec packages
-------------------------------------------------------------------
Fri Apr 28 09:06:40 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.38
-------------------------------------------------------------------
Thu Apr 27 08:45:02 UTC 2017 - michael@stroeder.com
- update to upstream release 2.4.37
-------------------------------------------------------------------
Wed Feb 8 09:52:17 UTC 2017 - michael@stroeder.com
- Update to upstream release 2.4.30
(with compability fix for pyasn1 0.2.x)
-------------------------------------------------------------------
Wed Jan 25 19:54:48 UTC 2017 - michael@stroeder.com
- Update to upstream release 2.4.29
- added python-ldap.keyring to validate upstream source signatures
-------------------------------------------------------------------
Fri Nov 18 07:05:01 UTC 2016 - michael@stroeder.com
- Update to upstream release 2.4.28
-------------------------------------------------------------------
Mon Aug 1 10:44:31 UTC 2016 - michael@stroeder.com
- Update to upstream release 2.4.27
-------------------------------------------------------------------
Sun Jul 24 16:31:08 UTC 2016 - michael@stroeder.com
- Update to upstream release 2.4.26
- updated pypi source URL
-------------------------------------------------------------------
Tue Feb 23 10:33:29 UTC 2016 - michael@stroeder.com
- Use HTTPS links
-------------------------------------------------------------------
Wed Feb 10 15:23:31 UTC 2016 - michael@stroeder.com
- Aligned desciption with project's web site
- Removed obsolete stuff:
* build flag -DLDAP_DEPRECATED
* outdated URL in package description
* removing of CVS files
-------------------------------------------------------------------
Mon Jan 18 15:20:02 UTC 2016 - michael@stroeder.com
- Update to upstream release 2.4.25
-------------------------------------------------------------------
Sat Oct 24 16:33:35 UTC 2015 - michael@stroeder.com
- Update to upstream release 2.4.22
-------------------------------------------------------------------
Fri Sep 25 16:37:00 UTC 2015 - michael@stroeder.com
- Update to upstream release 2.4.21
-------------------------------------------------------------------
Tue Jul 7 13:30:34 UTC 2015 - michael@stroeder.com
- Update to upstream release 2.4.20
-------------------------------------------------------------------
Sun Jan 11 00:06:05 UTC 2015 - michael@stroeder.com
- Update to upstream release 2.4.19
-------------------------------------------------------------------
Thu Oct 9 08:26:21 UTC 2014 - michael@stroeder.com
- Update to upstream release 2.4.18
-------------------------------------------------------------------
Sat Sep 27 10:03:14 UTC 2014 - michael@stroeder.com
- Update to upstream release 2.4.17
-------------------------------------------------------------------
Wed Sep 10 12:49:52 UTC 2014 - michael@stroeder.com
- Update to upstream release 2.4.16
-------------------------------------------------------------------
Fri Mar 28 13:50:39 UTC 2014 - speilicke@suse.com
- Set license ot Python-2.0 (according to legal)
-------------------------------------------------------------------
Mon Mar 24 10:28:22 UTC 2014 - michael@stroeder.com
- Update to upstream release 2.4.15
* Various fixes
* Support for subordinates search scope
* Support for select schema description extension
-------------------------------------------------------------------
Thu Jun 27 15:50:55 UTC 2013 - michael@stroeder.com
- Update to upstream release 2.4.13
* mainly important fixes for ReconnectLDAPObject
-------------------------------------------------------------------
Tue Jun 18 10:34:35 UTC 2013 - jengelh@inai.de
- Explicitly specify openssl build dependency
-------------------------------------------------------------------
Thu Jun 7 18:44:07 UTC 2012 - michael@stroeder.com
- update to 2.4.10
-------------------------------------------------------------------
Fri Mar 23 10:29:12 UTC 2012 - michael@stroeder.com
- Added dependencies to python-pyasn1 and python-pyasn1-modules
-------------------------------------------------------------------
Fri Mar 16 14:34:59 UTC 2012 - saschpe@suse.de
- Remove service
- Spec file cleanup:
* Remove outdated sections
* Proper macro usage
-------------------------------------------------------------------
Tue Oct 11 12:45:02 UTC 2011 - jmatejek@suse.com
@@ -218,7 +669,7 @@ Mon May 12 14:17:53 CEST 2003 - mcihar@suse.cz
-------------------------------------------------------------------
Fri Jan 31 00:33:50 CET 2003 - ro@suse.de
- use sasl2
- use sasl2
-------------------------------------------------------------------
Fri Jan 10 17:37:27 CET 2003 - mcihar@suse.cz
@@ -230,7 +681,7 @@ Fri Jan 10 17:37:27 CET 2003 - mcihar@suse.cz
-------------------------------------------------------------------
Mon Aug 26 12:34:03 CEST 2002 - rhafer@suse.de
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore
-------------------------------------------------------------------
Wed Aug 14 13:32:28 CEST 2002 - vinil@suse.cz
@@ -260,7 +711,7 @@ Thu Mar 15 14:05:43 CET 2001 - kukuk@suse.de
-------------------------------------------------------------------
Thu Mar 15 13:04:03 CET 2001 - ro@suse.de
- changed for openldap2
- changed for openldap2
-------------------------------------------------------------------
Thu Mar 15 01:08:35 CET 2001 - ro@suse.de
@@ -277,7 +728,7 @@ Wed Nov 22 10:48:46 CET 2000 - mt@suse.de
-------------------------------------------------------------------
Mon Nov 6 10:03:38 CET 2000 - ro@suse.de
- fixed neededforbuild (added ldaplib)
- fixed neededforbuild (added ldaplib)
-------------------------------------------------------------------
Sun Oct 29 09:52:22 CET 2000 - kukuk@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ldap
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,50 +12,70 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
%{?sle15_python_module_pythons}
Name: python-ldap
BuildRequires: fdupes krb5-devel openldap2-devel >= 2.4.11 python-devel
Requires: openldap2-client >= 2.4.11
License: SUSE-Public-Domain
Group: Development/Libraries/Python
AutoReqProv: on
Version: 2.4.3
Release: 1
Version: 3.4.5
Release: 0
Summary: Python LDAP interface
Url: http://www.python-ldap.org/
Source: http://pypi.python.org/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
License: Python-2.0
Group: Development/Libraries/Python
URL: https://www.python-ldap.org/
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 pip}
BuildRequires: %{python_module pyasn1 >= 0.3.7}
BuildRequires: %{python_module pyasn1-modules >= 0.1.5}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: cyrus-sasl-devel >= 2.1
BuildRequires: fdupes
BuildRequires: krb5-devel
BuildRequires: libopenssl-devel >= 0.9.7
# needed for slapd binary in tests
BuildRequires: openldap2
# needed for ldapadd binary in tests
BuildRequires: openldap2-client
BuildRequires: openldap2-devel >= 2.4.11
BuildRequires: python-rpm-macros
Requires: python-pyasn1 >= 0.3.7
Requires: python-pyasn1-modules >= 0.1.5
%python_subpackages
%description
python-ldap provides an LDAP client API for Python in the spirit of
RFC1823. It includes a Python module called _ldapmodule that wraps an
LDAP C library, an object-oriented API for X.500 directories. See
python-ldap pages on http://python-ldap.sourceforge.net/
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. Mainly it wraps the OpenLDAP 2.x libs
for that purpose. Additionally the package contains modules for other
LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
%prep
%setup
%autosetup -p1 -n python_ldap-%{version}
cp Build/setup.cfg.suse-linux setup.cfg
find -name ".CVS" -o -name ".cvsignore" -exec rm -rf {} ";"
%build
#export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED"
python setup.py build
CFLAGS="%{optflags}" %pyproject_wheel
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%fdupes $RPM_BUILD_ROOT/%{_libdir}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%clean
rm -rf $RPM_BUILD_ROOT
%check
PATH=/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin %pyunittest_arch discover -v -s Tests -p 't_*'
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README Demo CHANGES TODO LICENCE
%files %{python_files}
%license LICENCE
%doc README Demo CHANGES TODO
%{python_sitearch}/ldap
%{python_sitearch}/python_ldap-%{version}.dist-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

BIN
python_ldap-3.4.5.tar.gz LFS Normal file

Binary file not shown.