summaryrefslogtreecommitdiff
path: root/mate-base/mdm/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-07-17 21:35:22 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-07-17 21:35:22 +0300
commit8a5cc999888fa49f2ae74aba9db0ed108b787fd2 (patch)
tree1eea769d51d7c808913239f5706a45bb0bef905e /mate-base/mdm/files
parentd18495755ffc8ad403b4c33ea04a03c7054ad7ac (diff)
[mdm] 3 versiuni compilabile adaugate, insa fara pam
Diffstat (limited to 'mate-base/mdm/files')
-rw-r--r--mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch11
-rw-r--r--mate-base/mdm/files/gdm-2.20.10-custom-session.patch42
2 files changed, 53 insertions, 0 deletions
diff --git a/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch b/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch
new file mode 100644
index 00000000..0f9137da
--- /dev/null
+++ b/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch
@@ -0,0 +1,11 @@
+--- gdm-2.13.0.1.orig/configure.ac 2005-11-14 17:13:40.000000000 -0500
++++ gdm-2.13.0.1/configure.ac 2005-11-18 14:59:23.000000000 -0500
+@@ -750,7 +750,7 @@
+ AC_CHECK_LIB(selinux,setexeccon,/bin/true)
+ AC_CHECK_LIB(selinux,is_selinux_enabled,/bin/true)
+ AC_DEFINE(HAVE_SELINUX)
+- EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux -lattr"
++ EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux"
+ fi
+
+ #
diff --git a/mate-base/mdm/files/gdm-2.20.10-custom-session.patch b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch
new file mode 100644
index 00000000..b1f70c00
--- /dev/null
+++ b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch
@@ -0,0 +1,42 @@
+---
+ fix custom sessions (see bug #216984, work done by Gilles, I'm just committing)
+
+ config/Xsession.in | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+Index: b/config/Xsession.in
+===================================================================
+--- a/config/Xsession.in
++++ b/config/Xsession.in
+@@ -177,15 +177,6 @@ if [ -n "$GDM_LANG" ]; then
+ fi
+ fi
+
+-# run all system xinitrc shell scripts.
+-if [ -d /etc/X11/xinit/xinitrc.d ]; then
+- for i in /etc/X11/xinit/xinitrc.d/* ; do
+- if [ -x "$i" ]; then
+- . "$i"
+- fi
+- done
+-fi
+-
+ if [ "x$command" = "xcustom" ] ; then
+ if [ -x "$HOME/.xsession" ]; then
+ command="$HOME/.xsession"
+@@ -213,6 +204,15 @@ if [ "x$command" = "xdefault" ] ; then
+ fi
+ fi
+
++# run all system xinitrc shell scripts.
++if [ -d /etc/X11/xinit/xinitrc.d ]; then
++ for i in /etc/X11/xinit/xinitrc.d/* ; do
++ if [ -x "$i" ]; then
++ . "$i"
++ fi
++ done
++fi
++
+ # add ssh-agent if found
+ sshagent="`gdmwhich ssh-agent`"
+ if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then