Hello community,

here is the log from the commit of package xdm for openSUSE:Factory checked in 
at 2014-12-17 19:15:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xdm (Old)
 and      /work/SRC/openSUSE:Factory/.xdm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xdm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xdm/xdm.changes  2014-10-11 19:25:54.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.xdm.new/xdm.changes     2014-12-17 
19:14:38.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Dec 15 18:37:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in /etc/X11/xdm/* scripts
+
+-------------------------------------------------------------------
+Wed Dec  3 09:59:41 UTC 2014 - [email protected]
+
+- unset TMPDIR before executing the final user scripts/shell
+  (boo#907041)
+- start a login shell when using lksh/mksh
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xdm.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/GiveDevices new/etc/X11/xdm/GiveDevices
--- old/etc/X11/xdm/GiveDevices 2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/GiveDevices 2014-12-15 19:34:46.000000000 +0100
@@ -11,7 +11,7 @@
 # Author: Werner Fink,   <[email protected]>
 #
 
-if test -c /dev/tty0 && type -p showconsole > /dev/null 2>&1 ; then
+if test -c /dev/tty0 && type showconsole >/dev/null 2>&1; then
     device="`(showconsole < /dev/tty0) 2>/dev/null`"
     if test -n "$device" -a -c "$device" ; then
        chown ${USER}:tty  "$device"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/RunChooser new/etc/X11/xdm/RunChooser
--- old/etc/X11/xdm/RunChooser  2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/RunChooser  2014-12-15 19:34:46.000000000 +0100
@@ -13,8 +13,8 @@
  BINDIR=/usr/bin
 
 no_exit_on_failed_exec=1
-type shopt &> /dev/null && shopt -s execfail
-set +e     &> /dev/null
+type shopt 2>/dev/null 2>&1 && shopt -s execfail
+set +e >/dev/null 2>&1
 
 #
 # Background picture:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/TakeDevices new/etc/X11/xdm/TakeDevices
--- old/etc/X11/xdm/TakeDevices 2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/TakeDevices 2014-12-15 19:34:46.000000000 +0100
@@ -10,7 +10,7 @@
 # Author: Werner Fink,   <[email protected]>
 #
 
-if test -c /dev/tty0 && type -p showconsole > /dev/null 2>&1 ; then
+if test -c /dev/tty0 && type showconsole >/dev/null 2>&1; then
     device="`(exec showconsole < /dev/tty0) 2>/dev/null`"
     if test -n "$device" -a -c "$device" ; then
        chown root:tty  "$device"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/Xreset new/etc/X11/xdm/Xreset
--- old/etc/X11/xdm/Xreset      2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/Xreset      2014-12-15 19:34:46.000000000 +0100
@@ -16,8 +16,8 @@
 xconsole=${BINDIR}/xconsole
 
 no_exit_on_failed_exec=1
-type shopt &> /dev/null && shopt -s execfail
-set +e     &> /dev/null
+type shopt >/dev/null 2>&1 && shopt -s execfail
+set +e >/dev/null 2>&1
 
 # 
 # Find out if this is a local or remote connection
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/Xsession new/etc/X11/xdm/Xsession
--- old/etc/X11/xdm/Xsession    2014-03-10 09:17:14.000000000 +0100
+++ new/etc/X11/xdm/Xsession    2014-12-03 10:57:43.000000000 +0100
@@ -102,12 +102,14 @@
     : ${HOSTNAME:=$(hostname -f)}
     export HOSTNAME
 
+    unset TMPDIR
+
     case "${cmd}" in
     csh|tcsh)
        exec -l -a ${cmd} ${shell}         -c 'exec $argv:q'  "${@}"    ;;
     bash*|zsh)
        exec -l -a ${cmd} ${shell} --login -c 'exec "${@}"' - "${@}"    ;;
-    dash|pdksh|*pcksh|ksh*)
+    dash|lksh|mksh|*pcksh|ksh*)
        exec -l -a ${cmd} ${shell} -l      -c 'exec "${@}"' - "${@}"    ;;
     *)
        exec -l -a ${cmd} ${shell}         -c 'exec "${@}"' - "${@}"    ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/Xsetup new/etc/X11/xdm/Xsetup
--- old/etc/X11/xdm/Xsetup      2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/Xsetup      2014-12-15 19:34:46.000000000 +0100
@@ -13,8 +13,8 @@
  BINDIR=/usr/bin
 
 no_exit_on_failed_exec=1
-type shopt &> /dev/null && shopt -s execfail
-set +e     &> /dev/null
+type shopt >/dev/null 2>&1 && shopt -s execfail
+set +e >/dev/null 2>&1
 
 . /etc/sysconfig/displaymanager
 
@@ -22,7 +22,7 @@
 # Check for cpp
 #
 cpp=-nocpp
-type -p cpp &> /dev/null && cpp=
+type cpp >/dev/null 2>&1 && cpp=
 
 #
 # Background picture for plain xdm:
@@ -79,7 +79,7 @@
      xdm=no
 
 test -x ${xdmroot}/xdm && \
-  /sbin/checkproc -p $xdmpid ${xdmroot}/xdm &> /dev/null && xdm=yes
+  /sbin/checkproc -p $xdmpid ${xdmroot}/xdm >/dev/null 2>&1 && xdm=yes
 
 #
 # Check if kdm is running
@@ -90,9 +90,9 @@
      kdm=no
 
 test -x ${kde3root}/kdm && \
-  /sbin/checkproc -p $kdmpid ${kde3root}/kdm &> /dev/null && kdm=yes
+  /sbin/checkproc -p $kdmpid ${kde3root}/kdm >/dev/null 2>&1 && kdm=yes
 test -x ${kde4root}/kdm && \
-  /sbin/checkproc -p $kdmpid ${kde4root}/kdm &> /dev/null && kdm=yes
+  /sbin/checkproc -p $kdmpid ${kde4root}/kdm >/dev/null 2>&1 && kdm=yes
 
 #
 # Check if gdm is running
@@ -102,7 +102,7 @@
        gdm=no
 
 test -x ${gnome2root}/gdm && \
-  /sbin/checkproc -p $gdmpid ${gnome2root}/gdm &> /dev/null && gdm=yes
+  /sbin/checkproc -p $gdmpid ${gnome2root}/gdm >/dev/null 2>&1 && gdm=yes
 
 if test "$kdm" = "yes" -a -x ${BINDIR}/kvkbd; then
     xvkbd=${BINDIR}/kvkbd
@@ -149,7 +149,7 @@
 #
 # Enable Numlock if set
 #
-if test -r /var/run/numlock-on && type -p numlockx > /dev/null ; then
+if test -r /var/run/numlock-on && type numlockx >/dev/null 2>&1; then
     numlockx on
 fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/X11/xdm/Xstartup new/etc/X11/xdm/Xstartup
--- old/etc/X11/xdm/Xstartup    2014-03-04 13:53:31.000000000 +0100
+++ new/etc/X11/xdm/Xstartup    2014-12-15 19:34:46.000000000 +0100
@@ -20,8 +20,8 @@
   xsetup=${XDMDIR}/Xsetup
 
 no_exit_on_failed_exec=1
-type shopt &> /dev/null && shopt -s execfail
-set +e     &> /dev/null
+type shopt >/dev/null 2>&1 && shopt -s execfail
+set +e >/dev/null 2>&1
 
 #
 # Check if the machine is a TabletPC and kill xvkbd

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to