Bug 206331 - [patch] net-mgmt/nagios-plugins give SUDO_PATH a proper value
Summary: [patch] net-mgmt/nagios-plugins give SUDO_PATH a proper value
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-01-17 12:54 UTC by Olli Hauer
Modified: 2016-01-19 14:37 UTC (History)
0 users

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


Attachments
set default sudo path (569 bytes, text/plain)
2016-01-17 12:54 UTC, Olli Hauer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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