| Port details |
- py-lib389 Python library and administration tools for 389 Directory Server
- 3.2.1_1 net
=0 3.2.1Version of this port present on the latest quarterly branch. - Maintainer: joneum@FreeBSD.org
 - Port Added: 2026-06-29 20:30:13
- Last Update: 2026-08-06 16:42:38
- Commit Hash: e297efc
- Also Listed In: python
- License: GPLv3+
- WWW:
- https://www.port389.org/
- Description:
- lib389 is the Python administration library for 389 Directory Server. It
provides APIs and command-line tools for creating, configuring, managing,
and inspecting directory server instances.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}lib389>0:net/py-lib389@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net/py-lib389/ && make install clean
- To add the package, run one of these commands:
- pkg install net/py-lib389
- pkg install py312-lib389
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-lib389 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-lib389
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1782503513
SHA256 (389-ds-base-3.2.1.tar.bz2) = a5b7b533484f16d5271c97b7dbde485b22fa63d2bfb4434ce9b6720849e67559
SIZE (389-ds-base-3.2.1.tar.bz2) = 23711885
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-argcomplete>=0 : devel/py-argcomplete@py312
- py312-argparse-manpage>=0 : devel/py-argparse-manpage@py312
- py312-cryptography>=0 : security/py-cryptography@py312
- py312-distro>=0 : sysutils/py-distro@py312
- py312-psutil>=0 : sysutils/py-psutil@py312
- py312-pyasn1-modules>=0 : devel/py-pyasn1-modules@py312
- py312-pyasn1>=0 : devel/py-pyasn1@py312
- py312-python-ldap>=0 : net/py-python-ldap@py312
- py312-setuptools>=0 : devel/py-setuptools@py312
- py312-wheel>=0 : devel/py-wheel@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- py312-argcomplete>=0 : devel/py-argcomplete@py312
- py312-cryptography>=0 : security/py-cryptography@py312
- py312-distro>=0 : sysutils/py-distro@py312
- py312-psutil>=0 : sysutils/py-psutil@py312
- py312-pyasn1-modules>=0 : devel/py-pyasn1-modules@py312
- py312-pyasn1>=0 : devel/py-pyasn1@py312
- py312-python-ldap>=0 : net/py-python-ldap@py312
- 389-ds-base>=3.2.1 : net/389-ds-base
- python3.12 : lang/python312
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net_py-lib389
- USES:
- python:3.12+ shebangfix tar:bzip2
- pkg-message:
- For install:
- The lib389 command-line tools can be used to create and manage
389 Directory Server instances.
Create an instance interactively:
dscreate interactive
Create an instance from an INF file:
dscreate from-file /path/to/instance.inf
Manage an existing instance:
dsctl <instance> status
dsctl <instance> start
dsctl <instance> stop
dsctl <instance> remove --do-it
Use dsconf to manage the server configuration and dsidm to manage
directory entries.
- Master Sites:
|
Number of commits found: 3
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
3.2.1_1 06 Aug 2026 16:42:38
    |
Jochen Neumeister (joneum)  |
net/py-lib389: Fix instance creation on FreeBSD
Adjust the FreeBSD patch for lib389's instance setup code.
Guard the container detection against a missing systemd-detect-virt
binary. Upstream initializes container_result to an integer and then
unconditionally executes systemd-detect-virt on non-containerised
systems, which aborts instance creation with a FileNotFoundError on
FreeBSD. The check now only runs when the binary is present and
falls back to the non-container code path otherwise.
Use a plain localhost LDAP connection with the generated temporary
Directory Manager password for the authenticated setup session, as
LDAPI autobind via SASL EXTERNAL did not work reliably during setup
on FreeBSD.
Sponsored by: Netzkommune GmbH |
3.2.1 30 Jun 2026 16:54:14
    |
Jochen Neumeister (joneum)  |
net/py-lib389: Pet portclippy and portfmt
Fix the Makefile and make portclippy happy.
Sponsored by: Netzkommune GmbH |
3.2.1 29 Jun 2026 20:27:24
    |
Jochen Neumeister (joneum)  |
net/py-lib389: Add new port
lib389 provides the Python library and command-line administration
tools for 389 Directory Server.
It includes tools for creating and managing Directory Server
instances, configuring servers, and managing directory entries.
This port is required for the development of net/freeipa-server.
WWW: https://www.port389.org/
Sponsored by: Netzkommune GmbH |
Number of commits found: 3
|