Bug 227926 - security/sudo: Installation failure when Option LDAP enabled
Summary: security/sudo: Installation failure when Option LDAP enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 14:04 UTC by O. Hartmann
Modified: 2018-05-03 20:52 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2018-05-02 14:04:59 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-05-03 12:36:58 UTC
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