- Add FTP_PASSIVE_MODE to example env_keep line for pkg utilities and fetch.

Suggested by:	koitsu
This commit is contained in:
Tom McLaughlin 2008-10-11 20:39:03 +00:00
parent 70fe31aee8
commit fe81eb3aa4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221444

View file

@ -1,16 +1,15 @@
--- sudoers.orig 2007-07-08 09:06:33.000000000 -0400
+++ sudoers 2007-08-27 15:37:00.868840000 -0400
@@ -12,6 +12,14 @@
--- sudoers.orig 2008-01-15 22:18:17.000000000 +0000
+++ sudoers 2008-10-11 20:36:46.928244000 +0000
@@ -14,6 +14,13 @@
# Cmnd alias specification
# Defaults specification
+# Uncomment if needed to preserve environmental variables related to the
+# FreeBSD pkg_* utilities.
+#Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR"
+# FreeBSD pkg_* utilities and fetch.
+#Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR FTP_PASSIVE_MODE"
+
+# Uncomment if needed to preserve environmental variables related to
+# portupgrade. (portupgrade uses some of the same variables as the pkg_*
+# tools so their Defaults above should be uncommented if needed too.)
+# Additionally uncomment if needed to preserve environmental variables
+# related to portupgrade.
+#Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
# Runas alias specification