freebsd-ports/security/sudo/files/patch-plugins__sudoers__sudoers.in
Wesley Shields 91a0810f4f Revert the removal of sudoers.d. It is a POLA violation. While here remove
the UPDATING entry as it no longer applies.
2011-04-11 16:50:19 +00:00

17 lines
729 B
Text

--- ./plugins/sudoers/sudoers.in.orig 2010-08-18 07:45:38.000000000 -0400
+++ ./plugins/sudoers/sudoers.in 2011-04-11 12:47:45.440272893 -0400
@@ -31,6 +31,14 @@
##
## Defaults specification
##
+## Uncomment if needed to preserve environmental variables related to the
+## FreeBSD pkg_* utilities and fetch.
+# Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR 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.
##