commit d63b3d02048574fb241077db2e3e22371f22ce0f
Author: Kacper Kornet <[email protected]>
Date:   Mon Oct 21 08:28:24 2013 +0100

    pass only some GIT_ variables
    
    Passing GIT_* variables can break some packages like gitolite (see
    gitolite-env.patch) and gitolite3. Therefore pass only the ones which
    are used by some developers and should be safe.

 openssh-config.patch | 8 ++++----
 openssh.spec         | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 4a69f56..bc83dfe 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -34,7 +34,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       6.2p2
-Release:       3
+Release:       4
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
diff --git a/openssh-config.patch b/openssh-config.patch
index e124f10..a25de2f 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, also accept some GIT vars
++AcceptEnv LANG LC_* LANGUAGE TZ GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL 
GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
 +
  # 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, also pass some GIT vars
++      SendEnv LANG LC_* LANGUAGE TZ GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL 
GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
 +      HashKnownHosts yes
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to