[Pkg-xfce-commits] r6623 - in goodies/trunk/lightdm/debian: . patches

Yves-Alexis Perez corsac at alioth.debian.org
Thu Apr 5 05:25:42 UTC 2012


Author: corsac
Date: 2012-04-05 17:25:41 +0000 (Thu, 05 Apr 2012)
New Revision: 6623

Added:
   goodies/trunk/lightdm/debian/patches/04_dont-add-pkglibexecdir-path.patch
Modified:
   goodies/trunk/lightdm/debian/changelog
   goodies/trunk/lightdm/debian/patches/series
Log:
readd the pkglibexecdir PATH removal


Modified: goodies/trunk/lightdm/debian/changelog
===================================================================
--- goodies/trunk/lightdm/debian/changelog	2012-04-05 17:20:04 UTC (rev 6622)
+++ goodies/trunk/lightdm/debian/changelog	2012-04-05 17:25:41 UTC (rev 6623)
@@ -22,7 +22,6 @@
         alternative by the various greeters.
     - 04_default-gtk-greeter-config dropped since lightm-gtk-greeter has been
       moved to standalone package.
-    - 05_dont-add-pkglibexecdir-path dropped.
     - 06_move-progs-to-pkglibexecdir dropped, included upstream.
     - 07_CVE-2011-4105 dropped, code doesn't exist anymore.
     - 08_CVE-2011-3153 dropped, included upstream.

Added: goodies/trunk/lightdm/debian/patches/04_dont-add-pkglibexecdir-path.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/04_dont-add-pkglibexecdir-path.patch	                        (rev 0)
+++ goodies/trunk/lightdm/debian/patches/04_dont-add-pkglibexecdir-path.patch	2012-04-05 17:25:41 UTC (rev 6623)
@@ -0,0 +1,18 @@
+Author: Yves-Alexis Perez <corsac at debian.org>
+Description: don't add PKGLIBEXEC_DIR to the user PATH
+Index: lightdm-1.2.0/src/session-child.c
+===================================================================
+--- lightdm-1.2.0.orig/src/session-child.c	2012-04-05 19:21:59.185164553 +0200
++++ lightdm-1.2.0/src/session-child.c	2012-04-05 19:22:50.593671042 +0200
+@@ -456,11 +456,6 @@
+         g_free (value);
+     }
+ 
+-    /* Put our tools directory in the path as a hack so we can use the legacy gdmflexiserver interface */
+-    path = pam_getenv (pam_handle, "PATH");
+-    if (path)
+-        pam_putenv (pam_handle, g_strdup_printf ("PATH=%s:%s", PKGLIBEXEC_DIR, path));
+-
+     /* Catch terminate signal and pass it to the child */
+     signal (SIGTERM, signal_cb);
+ 

Modified: goodies/trunk/lightdm/debian/patches/series
===================================================================
--- goodies/trunk/lightdm/debian/patches/series	2012-04-05 17:20:04 UTC (rev 6622)
+++ goodies/trunk/lightdm/debian/patches/series	2012-04-05 17:25:41 UTC (rev 6623)
@@ -1,3 +1,4 @@
 01_set-default-path.patch
 02_default-config.patch
 03_quit-plymouth.patch
+04_dont-add-pkglibexecdir-path.patch




More information about the Pkg-xfce-commits mailing list