| Port details |
- py-lib389 Python library and administration tools for 389 Directory Server
- 3.2.2 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-19 07:10:08
- Commit Hash: 02facc5
- 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 = 1787094160
SHA256 (389-ds-base-3.2.2.tar.bz2) = 30b5ba8ef2c4dddcf168e2ec9ba183a77950639b1c93d8ebf47208af9262a84a
SIZE (389-ds-base-3.2.2.tar.bz2) = 23842375
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.2 : net/389-ds-base
- python3.12 : lang/python312
- This port is required by:
- for Run
-
- net/freeipa-server
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: 5
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
3.2.2 19 Aug 2026 07:10:08
    |
Jochen Neumeister (joneum)  |
net/py-lib389: Update to 3.2.2
Built from the same tarball as net/389-ds-base, which it requires in a
matching version.
Sponsored by: Netzkommune GmbH |
3.2.1_2 13 Aug 2026 08:58:48
    |
Jochen Neumeister (joneum)  |
net/py-lib389: pass the process environment when starting dirsrv
Extend the FreeBSD start patch so lib389 launches the ns-slapd process
with a copy of the current environment (env = dict(os.environ)) instead
of an empty one. This lets the Kerberos settings (e.g. KRB5_KTNAME) reach
the directory server process, which is required for GSSAPI/GSS-SPNEGO binds
on FreeBSD.
Sponsored by: Netzkommune GmbH |
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: 5
|