aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2008-10-12 04:39:03 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2008-10-12 04:39:03 +0800
commit640a0f121b3ddbfc74ef3ab84e9737a194c2c235 (patch)
tree39ace8aae8fb1dd7ac1256620f3228d938e84309 /security/sudo
parent814461839a1927983098102bb0952e788201fb84 (diff)
downloadfreebsd-ports-gnome-640a0f121b3ddbfc74ef3ab84e9737a194c2c235.tar.gz
freebsd-ports-gnome-640a0f121b3ddbfc74ef3ab84e9737a194c2c235.tar.zst
freebsd-ports-gnome-640a0f121b3ddbfc74ef3ab84e9737a194c2c235.zip
- Add FTP_PASSIVE_MODE to example env_keep line for pkg utilities and fetch.
Suggested by: koitsu
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/files/patch-sudoers15
1 files changed, 7 insertions, 8 deletions
diff --git a/security/sudo/files/patch-sudoers b/security/sudo/files/patch-sudoers
index 90bb834734dc..0183f396f043 100644
--- a/security/sudo/files/patch-sudoers
+++ b/security/sudo/files/patch-sudoers
@@ -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