I've just upgraded pkgs in 11.4-RELEASE-p9, including this change: openldap-server: 2.4.59 -> 2.4.59_3 and now the command line: /usr/local/libexec/slapd -l DAEMON -h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ fails with: slapd: illegal option -- l usage: /usr/local/libexec/slapd options -4 IPv4 only -6 IPv6 only -T {acl|add|auth|cat|dn|index|passwd|test} Run in Tool mode -c cookie Sync cookie of consumer -d level Debug level -f filename Configuration file -F dir Configuration directory -g group Group (id or name) to run as -h URLs List of URLs to serve -n serverName Service name -o <opt>[=val] generic means to specify options; supported options: slp[={on|off|(attrs)}] enable/disable SLP using (attrs) -r directory Sandbox directory to chroot to -s level Syslog level -u user User (id or name) to run as -V print version info (-VV exit afterwards, -VVV print info about static overlays and backends) The -l option was supported in version 2.4.59: -l facility Syslog facility (default: LOCAL4) and is still in the manual page slapd(8c).
Confirmed, working on a fix.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea525437cd38a64c0ce84e442ad8b4e2e2ee3a4a commit ea525437cd38a64c0ce84e442ad8b4e2e2ee3a4a Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2021-09-06 21:22:58 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2021-09-06 21:27:39 +0000 net/openldap24-server: Make DEBUG default. In 616f384d5cce7f52a9f5a2164d405f4185bbcab9 the port was converted to use the option framework's handling of options. Previously, when "DEBUG" is unchecked, the port will not pass --disable-debug and because debug was enabled by default in upstream, the option is effectively saying build with debug anyways. After the conversion, we are now correctly building a non-debug build which will also remove syslog support. Restore the historical behavior and build with debug option by default as it's what expected by upstream and the option never worked on FreeBSD until the recent conversion actually fixed the option to do what it was intended to do. PR: ports/257884 net/openldap24-server/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)