aboutsummaryrefslogtreecommitdiff
path: root/security/sudo/files/patch-sudoers
blob: adb81b144c7c73551b475b20ab6394fd593ed67d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./sudoers.in.orig	2010-07-30 11:58:54.000000000 -0400
+++ ./sudoers.in	2010-08-15 21:31:54.000000000 -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.
 ##