- Die on ctrl-alt-backspace and other abrupt exits
This commit is contained in:
parent
e2ff096e40
commit
592da9d58e
17
gnome-keyring-2.28.0-die-on-session-exit.patch
Normal file
17
gnome-keyring-2.28.0-die-on-session-exit.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -up gnome-keyring-2.28.0/daemon/gkr-daemon-dbus.c.die-on-session-exit gnome-keyring-2.28.0/daemon/gkr-daemon-dbus.c
|
||||||
|
--- gnome-keyring-2.28.0/daemon/gkr-daemon-dbus.c.die-on-session-exit 2009-10-14 17:18:03.396005149 -0400
|
||||||
|
+++ gnome-keyring-2.28.0/daemon/gkr-daemon-dbus.c 2009-10-14 17:15:03.498984754 -0400
|
||||||
|
@@ -145,8 +145,12 @@ signal_filter (DBusConnection *conn, DBu
|
||||||
|
unregister_daemon_in_session ();
|
||||||
|
gkr_daemon_quit ();
|
||||||
|
return DBUS_HANDLER_RESULT_HANDLED;
|
||||||
|
+ } else if (dbus_message_is_signal (msg, DBUS_INTERFACE_LOCAL, "Disconnected")) {
|
||||||
|
+ unregister_daemon_in_session ();
|
||||||
|
+ gkr_daemon_quit ();
|
||||||
|
+ return DBUS_HANDLER_RESULT_HANDLED;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+
|
||||||
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
|
}
|
||||||
|
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Framework for managing passwords and other secrets
|
Summary: Framework for managing passwords and other secrets
|
||||||
Name: gnome-keyring
|
Name: gnome-keyring
|
||||||
Version: 2.28.0
|
Version: 2.28.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/gnome-keyring/2.28/gnome-keyring-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gnome-keyring/2.28/gnome-keyring-%{version}.tar.bz2
|
||||||
@ -19,6 +19,9 @@ Patch0: gnome-keyring-no-logout-delay.patch
|
|||||||
# fixed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=597813
|
# fixed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=597813
|
||||||
Patch1: rsa1-keys.patch
|
Patch1: rsa1-keys.patch
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=598494
|
||||||
|
Patch2: gnome-keyring-2.28.0-die-on-session-exit.patch
|
||||||
|
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -73,6 +76,7 @@ automatically unlock the "login" keyring when the user logs in.
|
|||||||
%setup -q -n gnome-keyring-%{version}
|
%setup -q -n gnome-keyring-%{version}
|
||||||
%patch0 -p1 -b .logout-delay
|
%patch0 -p1 -b .logout-delay
|
||||||
%patch1 -p1 -b .rsa1-keys
|
%patch1 -p1 -b .rsa1-keys
|
||||||
|
%patch2 -p1 -b .die-on-session-exit
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-gtk-doc --with-pam-dir=/%{_lib}/security --disable-acl-prompts
|
%configure --disable-gtk-doc --with-pam-dir=/%{_lib}/security --disable-acl-prompts
|
||||||
@ -150,6 +154,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 14 2009 Ray Strode <rstrode@redhat.com> - 2.28.0-4
|
||||||
|
- Die on ctrl-alt-backspace and other abrupt exits
|
||||||
|
|
||||||
* Thu Oct 8 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-3
|
* Thu Oct 8 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-3
|
||||||
- Fix handling of rsa1 keys
|
- Fix handling of rsa1 keys
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user