Bug 206331

Summary: [patch] net-mgmt/nagios-plugins give SUDO_PATH a proper value
Product: Ports & Packages Reporter: Olli Hauer <ohauer>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (mat)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
set default sudo path none

Description Olli Hauer freebsd_committer freebsd_triage 2016-01-17 12:54:36 UTC
Created attachment 165709 [details]
set default sudo path

version 2.1.x has a new configure option 
 --with-sudo-command=PATH sets path to sudo (default /usr/sbin/sudo)

If build on local tree with installed sudo the path is adjusted but not if build in poudriere.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-01-19 14:37:42 UTC
A commit references this bug:

Author: mat
Date: Tue Jan 19 14:37:16 UTC 2016
New revision: 406706
URL: https://svnweb.freebsd.org/changeset/ports/406706

Log:
  Version 2.1 has a knob to tell where sudo is. Use it.

  PR:		206331
  Submitted by:	ohauer
  Sponsored by:	Absolight

Changes:
  head/net-mgmt/nagios-plugins/Makefile