[packages/gdm] - don't add ssh-agent to the command mix, we have separate methodology for that, and no other DM d

baggins baggins at pld-linux.org
Mon Jan 20 09:47:16 CET 2014


commit b38212cb9595cbd75782af5e3322ba18bf43c161
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jan 20 09:46:24 2014 +0100

    - don't add ssh-agent to the command mix, we have separate methodology
      for that, and no other DM does this
    - rel 2

 gdm-xsession.patch | 16 ++++++++++++----
 gdm.spec           |  2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/gdm.spec b/gdm.spec
index 1413934..e197b55 100644
--- a/gdm.spec
+++ b/gdm.spec
@@ -17,7 +17,7 @@ Summary(ru.UTF-8):	Дисплейный менеджер GNOME
 Summary(uk.UTF-8):	Дисплейний менеджер GNOME
 Name:		gdm
 Version:	3.10.0.1
-Release:	1
+Release:	2
 Epoch:		2
 License:	GPL/LGPL
 Group:		X11/Applications
diff --git a/gdm-xsession.patch b/gdm-xsession.patch
index b60d73a..07b7c0e 100644
--- a/gdm-xsession.patch
+++ b/gdm-xsession.patch
@@ -12,7 +12,7 @@ diff -urN gdm-2.6.0.3.orig/data/Xsession.in gdm-2.6.0.3/data/Xsession.in
  # Translation stuff
  if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then
    gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate"
-@@ -222,6 +226,23 @@
+@@ -222,14 +226,23 @@
    fi
  fi
  
@@ -33,6 +33,14 @@ diff -urN gdm-2.6.0.3.orig/data/Xsession.in gdm-2.6.0.3/data/Xsession.in
 +    command="$wmstyledir/$command.sh"
 +fi
 +
- # add ssh-agent if found
- sshagent="`gdmwhich ssh-agent`"
- if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
+-# add ssh-agent if found
+-sshagent="`gdmwhich ssh-agent`"
+-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
+-    command="$sshagent -- $command"
+-elif [ -z "$sshagent" ] ; then
+-    echo "$0: ssh-agent not found!"
+-fi
+-
+ echo "$0: Setup done, will execute: $command"
+ 
+ eval exec $command
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdm.git/commitdiff/b38212cb9595cbd75782af5e3322ba18bf43c161



More information about the pld-cvs-commit mailing list