diff --git a/xinitrc-common b/xinitrc-common index 4564ebc..9554bbb 100644 --- a/xinitrc-common +++ b/xinitrc-common @@ -56,11 +56,10 @@ for file in /etc/X11/xinit/xinitrc.d/* ; do done # Prefix launch of session with ssh-agent if available and not already running. -SSH_AGENT= -if [ -z "$SSH_AGENT_PID" ] && [ -x /usr/bin/ssh-agent ]; then +if [ -z "$SSH_AGENT" ] && [ -z "$SSH_AGENT_PID" ] && [ -x /usr/bin/ssh-agent ]; then if [ "x$TMPDIR" != "x" ]; then SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR" else SSH_AGENT="/usr/bin/ssh-agent" - fi + fi fi diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 4784a7a..3e9f896 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -3,7 +3,7 @@ Summary: X.Org X11 X Window System xinit startup scripts Name: xorg-x11-%{pkgname} Version: 1.3.4 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT URL: http://www.x.org @@ -22,7 +22,8 @@ Source19: xinit-compat # Fedora specific patches Patch1: xinit-1.0.2-client-session.patch -# submitted upstream, rhbz#1111684 +# This is the Xserver default starting at xorg-x11-server >= 1.17, drop once +# we've that version, rhbz#1111684 Patch2: 0001-startx-Pass-nolisten-tcp-by-default.patch # submitted upstream, rhbz#1177513 Patch3: 0001-startx-Pass-keeptty-when-telling-the-server-to-start.patch @@ -107,6 +108,9 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa %{_datadir}/xsessions/xinit-compat.desktop %changelog +* Tue Feb 3 2015 Hans de Goede - 1.3.4-4 +- xinitrc-common: Do not override SSH_AGENT if already set (rhbz#1067676) + * Thu Jan 22 2015 Simone Caronni - 1.3.4-3 - Xorg without root rights breaks by streams redirection (#1177513). - Format SPEC file; trim changelog.