mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Note: ldap0 is Python 3.x only since 0.3.0 While I'm here, level up ports compliance and fix ports issues: - Match COMMENT to setup.py:description - Match *_DEPENDS (and versions) to setup.py:*_requires - Add TEST_* variables and test (QA) target [1][2] - Replace setup.py INCLUDES patch with setuptools build_ext commands which honour environment variables - Strip extension/library - Patch setup.cfg to remove unconditional debug builds - Update pkg-descr formatting and WWW url (to match setup.py:homepage) [1] It's possible to make the unconditional requirement to HAVE_SASL, ie: a requirement to have a SASL enabled openldap client, optional, by conditionally adding --undef HAVE_SASL to PYDISTUTILS_BUILDARGS depending on WANT_OPENLDAP_SASL, but the ldap0 tests unconditionally run a number of unconditional sasl based tests. These tests should be made to skip (not fail) if SASL is not available, and the port made to support non-SASL based configuration. TODO: Upstream test improvements. [2] WANT_OPENLDAP_SASL currently only results in the openldap-client being SASL enabled, but doesn't affect the openldap-server port. There's no way at present to require/force a SASL enabled openldap-server port, which doesn't enable the SASL option by default either. A slave port (openldap24-sasl-server, matching client slave port) that enables the SASL option would be great. portlint: OK (looks fine.) testport: OK (poudriere: 12amd64, Python 3.7) maketest: OK (Ran 248 tests: (skipped=12, expected failures=3)) PR: 242043 [1] Submitted by: <geraud gcu info> [1] Approved by: portmgr (maintainer timeout: > 1 months, blanket: ports compliance)
13 lines
535 B
Text
13 lines
535 B
Text
ldap0 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 Python modules:
|
|
|
|
- parsing and producing LDIF
|
|
- handle LDAPURLs
|
|
- parse and handle LDAPv3 subschema
|
|
- LDAPv3 extended operations and controls
|
|
- automatic tests with OpenLDAP server This package is a non-compatible for
|
|
of python-ldap and therefore uses the separate module name-space 'ldap0'.
|
|
|
|
WWW: https://gitlab.com/ae-dir/python-ldap0
|