Port security/sudo fails to install properly when Option LDAP is enabled. [..] ===> The following configuration options are available for sudo-1.8.23: AUDIT=on: Enable BSM audit support DISABLE_AUTH=off: Do not require authentication by default DISABLE_ROOT_SUDO=off: Do not allow root to run sudo DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples INSULTS=off: Enable insults on failures LDAP=on: LDAP protocol support NLS=on: Native Language Support NOARGS_SHELL=off: Run a shell if no arguments are given OPIE=off: Enable one-time passwords (no PAM support) PAM=on: Pluggable authentication module support SSSD=off: Enable SSSD backend support. ====> Enable Kerberos 5 authentication (no PAM support): you can only select none or one of them GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 ===> Use 'make config' to modify these settings [...] ===> Installing for sudo-1.8.23 ===> Registering installation for sudo-1.8.23 pkg-static: Unable to access file /usr/ports/security/sudo/work/stage/usr/local/bin/sudoers2ldif:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/security/sudo *** Error code 1
A commit references this bug: Author: garga Date: Thu May 3 12:36:26 UTC 2018 New revision: 468922 URL: https://svnweb.freebsd.org/changeset/ports/468922 Log: Fix PLIST without LDAP PR: 227926 Reported by: O. Hartmann Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/security/sudo/Makefile head/security/sudo/pkg-plist