diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-04-08 13:26:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-04-08 13:26:29 +0000 |
commit | 24074aa936a9adf215a17c2f71226991f566f692 (patch) | |
tree | 9151e4db9f2dc46a68cd7a2c3a46190c1eff0cbd /usr.bin | |
parent | ef6ab41f91fb1e3fbd70a74a05c9d8017d405a39 (diff) |
add an error detection mechanism. People not used to doing ports often mess
up their sudo configuration, and end up telling us that "flavors are broken".
Add an explicit env variable that's there just to catch that early, to be
bumped each time sudoers need to be adjusted.
okay sthen@, matthieu@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sudo/sudoers | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers index 17169ae857b..f78b112f2a6 100644 --- a/usr.bin/sudo/sudoers +++ b/usr.bin/sudo/sudoers @@ -1,4 +1,4 @@ -# $OpenBSD: sudoers,v 1.27 2013/09/23 20:45:45 ajacoutot Exp $ +# $OpenBSD: sudoers,v 1.28 2014/04/08 13:26:28 espie Exp $ # # sudoers file. # @@ -22,7 +22,7 @@ Defaults env_keep +="FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK" Defaults:%wsrc env_keep +="DESTDIR DISTDIR FETCH_CMD FLAVOR GROUP MAKE MAKECONF" Defaults:%wsrc env_keep +="MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR" Defaults:%wsrc env_keep +="PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY" -Defaults:%wsrc env_keep +="SUBPACKAGE WRKOBJDIR" +Defaults:%wsrc env_keep +="SUBPACKAGE WRKOBJDIR SUDO_PORT_V1" # Uncomment to preserve the default proxy host variable #Defaults env_keep +="ftp_proxy http_proxy" |