opnsense-ports/security/sudo/files/patch-plugins__sudoers__sudoers.in
Franco Fichtner 72266e117b security/sudo: sync with upstream
Taken from: FreeBSD
2015-11-06 07:57:56 +01:00

17 lines
628 B
Text

--- plugins/sudoers/sudoers.in.orig 2015-07-15 18:44:07 UTC
+++ plugins/sudoers/sudoers.in
@@ -32,6 +32,14 @@
##
## Defaults specification
##
+## Uncomment if needed to preserve environmental variables related to the
+## FreeBSD pkg utility and fetch.
+# Defaults env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE"
+##
+## Additionally uncomment if needed to preserve environmental variables
+## related to portupgrade
+# Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
+##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##