[Pkg-xfce-commits] r5373 - goodies/trunk/lightdm/debian/patches
Yves-Alexis Perez
corsac at alioth.debian.org
Tue Apr 19 06:14:58 UTC 2011
Author: corsac
Date: 2011-04-19 06:14:44 +0000 (Tue, 19 Apr 2011)
New Revision: 5373
Removed:
goodies/trunk/lightdm/debian/patches/01_initgroups.patch
goodies/trunk/lightdm/debian/patches/03_fix-xauthority-perms.patch
goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch
goodies/trunk/lightdm/debian/patches/06_use-pam-envvar.patch
Log:
drop useless patches
Deleted: goodies/trunk/lightdm/debian/patches/01_initgroups.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/01_initgroups.patch 2011-04-18 21:54:39 UTC (rev 5372)
+++ goodies/trunk/lightdm/debian/patches/01_initgroups.patch 2011-04-19 06:14:44 UTC (rev 5373)
@@ -1,14 +0,0 @@
-=== modified file 'src/session.c'
---- lightdm/src/session.c 2010-11-12 02:53:29 +0000
-+++ lightdm/src/session.c 2010-12-04 11:21:17 +0000
-@@ -244,6 +244,9 @@
- }
- g_free (username);
-
-+ if (initgroups(user_info->pw_name, user_info->pw_gid) < 0)
-+ g_warning("Failed to initialize supplementary groups for %s: %s",username, strerror(errno));
-+
- env = get_env (session);
-
- result = g_shell_parse_argv (session->priv->command, &argc, &argv, &error);
-
Deleted: goodies/trunk/lightdm/debian/patches/03_fix-xauthority-perms.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/03_fix-xauthority-perms.patch 2011-04-18 21:54:39 UTC (rev 5372)
+++ goodies/trunk/lightdm/debian/patches/03_fix-xauthority-perms.patch 2011-04-19 06:14:44 UTC (rev 5373)
@@ -1,22 +0,0 @@
-=== modified file 'src/xauth.c'
---- lightdm/src/xauth.c 2010-08-05 00:24:13 +0000
-+++ lightdm/src/xauth.c 2010-12-04 15:13:54 +0000
-@@ -12,6 +12,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <pwd.h>
-+#include <sys/stat.h>
-
- #include "xauth.h"
-
-@@ -109,6 +110,9 @@
- g_object_unref (file);
- return FALSE;
- }
-+
-+ if (chmod (path, S_IRUSR | S_IWUSR) != 0)
-+ g_warning ("Failed to set permissions on authorization file");
-
- /* NOTE: Would like to do:
- * g_file_set_attribute_string (file, G_FILE_ATTRIBUTE_OWNER_USER, username, G_FILE_QUERY_INFO_NONE, NULL, error))
-
Deleted: goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch 2011-04-18 21:54:39 UTC (rev 5372)
+++ goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch 2011-04-19 06:14:44 UTC (rev 5373)
@@ -1,11 +0,0 @@
-=== modified file 'src/display.c'
---- lightdm/src/display.c 2010-11-17 03:23:08 +0000
-+++ lightdm/src/display.c 2010-12-04 22:59:01 +0000
-@@ -486,6 +486,7 @@
- {
- path = g_build_filename (user_info->pw_dir, ".dmrc", NULL);
- g_file_set_contents (path, data, length, NULL);
-+ chown(path, user_info->pw_uid, user_info->pw_gid);
- g_free (path);
- }
-
Deleted: goodies/trunk/lightdm/debian/patches/06_use-pam-envvar.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/06_use-pam-envvar.patch 2011-04-18 21:54:39 UTC (rev 5372)
+++ goodies/trunk/lightdm/debian/patches/06_use-pam-envvar.patch 2011-04-19 06:14:44 UTC (rev 5373)
@@ -1,62 +0,0 @@
-=== modified file 'lightdm/src/display.c'
---- lightdm/src/display.c 2010-12-06 06:55:38 +0000
-+++ lightdm/src/display.c 2010-12-06 11:06:29 +0000
-@@ -458,6 +458,7 @@
- gchar *session_language, *layout;
- gchar *data;
- gsize length;
-+ gchar* *pam_env;
-
- if (display->priv->session_wrapper)
- {
-@@ -483,6 +484,22 @@
- session_set_env (display->priv->user_session, "GDM_LANG", session_language); // FIXME: Not cross-desktop
- session_set_env (display->priv->user_session, "GDM_KEYBOARD_LAYOUT", layout); // FIXME: Not cross-desktop
-
-+ if ((pam_env = pam_session_get_envlist(display->priv->user_pam_session)))
-+ {
-+ int i;
-+ for (i = 0; pam_env[i]; i++)
-+ {
-+ gchar* *pam_env_vars = g_strsplit_set(pam_env[i], "=", 2);
-+ if (pam_env_vars && pam_env_vars[0] && pam_env_vars[1])
-+ {
-+ session_set_env (display->priv->user_session, pam_env_vars[0], pam_env_vars[1]);
-+ g_strfreev(pam_env_vars);
-+ }
-+ else
-+ g_debug("Can't parse PAM environment variable %s", pam_env[i]);
-+ }
-+ }
-+
- g_signal_emit (display, signals[START_SESSION], 0, display->priv->user_session);
-
- session_start (display->priv->user_session);
-
-=== modified file 'lightdm/src/pam-session.c'
---- lightdm/src/pam-session.c 2010-11-17 03:23:08 +0000
-+++ lightdm/src/pam-session.c 2010-12-05 23:57:37 +0000
-@@ -307,3 +307,9 @@
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
- }
-+
-+char**
-+pam_session_get_envlist (PAMSession *session)
-+{
-+ return pam_getenvlist (session->priv->pam_handle);
-+}
-
-=== modified file 'lightdm/src/pam-session.h'
---- lightdm/src/pam-session.h 2010-11-17 03:23:08 +0000
-+++ lightdm/src/pam-session.h 2010-12-05 23:55:52 +0000
-@@ -62,6 +62,8 @@
- // FIXME: Do in unref
- void pam_session_end (PAMSession *session);
-
-+char** pam_session_get_envlist(PAMSession *session);
-+
- G_END_DECLS
-
- #endif /* _PAM_SESSION_H_ */
-
More information about the Pkg-xfce-commits
mailing list