[packages/openssh/GIT_-nopass] don't pass and accept GIT_ variables

draenog draenog at pld-linux.org
Mon Oct 14 23:56:37 CEST 2013


commit 289a902d894a2dc8d78d5e4a762568132f3c8108
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Oct 14 22:52:22 2013 +0100

    don't pass and accept GIT_ variables
    
    Passing GIT_* variables can break some packages. For example gitolite
    (see gitolite-env.patch) and gitolite3.

 openssh-config.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/openssh-config.patch b/openssh-config.patch
index e124f10..5bd317b 100644
--- a/openssh-config.patch
+++ b/openssh-config.patch
@@ -50,8 +50,8 @@
  # no default banner path
  #Banner /some/path
  
-+# Accept locale-related environment variables, also accept GIT vars
-+AcceptEnv LANG LC_* LANGUAGE TZ GIT_*
++# Accept locale-related environment variables
++AcceptEnv LANG LC_* LANGUAGE TZ
 +
  # override default of no subsystems
  Subsystem	sftp	/usr/libexec/sftp-server
@@ -92,6 +92,6 @@
 +	ServerAliveInterval 60
 +	ServerAliveCountMax 10
 +	TCPKeepAlive no
-+# Send locale-related environment variables, also pass GIT vars
-+	SendEnv LANG LC_* LANGUAGE TZ GIT_*
++# Send locale-related environment variables
++	SendEnv LANG LC_* LANGUAGE TZ
 +	HashKnownHosts yes
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/289a902d894a2dc8d78d5e4a762568132f3c8108



More information about the pld-cvs-commit mailing list