Hello community,

here is the log from the commit of package gnome-keyring for openSUSE:Factory 
checked in at 2015-10-28 17:29:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-keyring.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-keyring"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-keyring/gnome-keyring.changes      
2015-10-25 19:10:31.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-keyring.new/gnome-keyring.changes 
2015-10-28 17:29:21.000000000 +0100
@@ -1,0 +2,15 @@
+Mon Oct 26 00:01:46 UTC 2015 - [email protected]
+
+- Add
+  gnome-keyring-dbus-handle-alias-paths-in-lookup_collection.patch:
+  Fix firefox passwordmanager coupled with non-default keyring,
+  also silence a bit of logspam (bgo756865).
+
+-------------------------------------------------------------------
+Tue Oct 20 15:36:20 UTC 2015 - [email protected]
+
+- Update to version 3.18.2:
+  + Fix regression in ported GDBus prompting (bgo#756032).
+  + Other minor fixes.
+
+-------------------------------------------------------------------

Old:
----
  gnome-keyring-3.18.1.tar.xz

New:
----
  gnome-keyring-3.18.2.tar.xz
  gnome-keyring-dbus-handle-alias-paths-in-lookup_collection.patch

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

Other differences:
------------------
++++++ gnome-keyring.spec ++++++
--- /var/tmp/diff_new_pack.TkqhgX/_old  2015-10-28 17:29:22.000000000 +0100
+++ /var/tmp/diff_new_pack.TkqhgX/_new  2015-10-28 17:29:22.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           gnome-keyring
-Version:        3.18.1
+Version:        3.18.2
 Release:        0
 Url:            http://www.gnome.org/
 Summary:        GNOME Keyring
@@ -26,7 +26,9 @@
 Source:         
http://download.gnome.org/sources/gnome-keyring/3.18/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
 # PATCH-FIX-OPENSUSE gnome-keyring-pam-auth-prompt-password.patch bnc466732 
bgo560488 [email protected] -- Make the pam module prompt the password in auth, 
so we can use pam-config. This is a workaround until bnc#477488 is implemented.
-Patch5:         gnome-keyring-pam-auth-prompt-password.patch
+Patch0:         gnome-keyring-pam-auth-prompt-password.patch
+# PATCH-FIX-UPSTREAM 
gnome-keyring-dbus-handle-alias-paths-in-lookup_collection.patch bgo#756865 
[email protected] -- Fix firefox passwordmanager when used with non-default 
keyring. Patch from upstream git.
+Patch1:         
gnome-keyring-dbus-handle-alias-paths-in-lookup_collection.patch
 BuildRequires:  ca-certificates
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -111,7 +113,8 @@
 %prep
 %setup -q
 translation-update-upstream
-%patch5 -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure\

++++++ gnome-keyring-3.18.1.tar.xz -> gnome-keyring-3.18.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/ChangeLog 
new/gnome-keyring-3.18.2/ChangeLog
--- old/gnome-keyring-3.18.1/ChangeLog  2015-10-16 22:56:31.000000000 +0200
+++ new/gnome-keyring-3.18.2/ChangeLog  2015-10-20 15:07:25.000000000 +0200
@@ -1,5 +1,57 @@
 # Generate automatically. Do not edit.
 
+commit 9c8c48f62ecb76adad23fba886497c4b69a58c3d
+Author: Stef Walter <[email protected]>
+Date:   2015-10-20
+
+    Bump version number
+
+ NEWS         | 4 ++++
+ configure.ac | 2 +-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+commit 66a360bfeb5e2a5fb12323b03b9c7e3844a8e159
+Author: Stef Walter <[email protected]>
+Date:   2015-10-19
+
+    egg: Fix bad precondation checking timegm() result
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=92383
+
+ egg/egg-asn1x.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit e53af4d55052b879581abf6af66b8a067dfb86df
+Author: Cosimo Cecchi <[email protected]>
+Date:   2015-10-17
+
+    secret-prompt: don't explicitly disconnect skeleton signals
+    
+    After we are unexported, those signals will not be emitted anymore.
+
+ daemon/dbus/gkd-secret-prompt.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+commit 7840cb97902c952c34831cc63dcba00ececabd0c
+Author: Stef Walter <[email protected]>
+Date:   2015-10-16
+
+    dbus: Fix object path regression from GDBus port
+    
+    Previously objects were only explicitly exported on the bus when
+    they were ready. However now due to GDBus handler connections
+    they are exported earlier.
+    
+    Make sure to export a prompt object before something is exported
+    at the same object path to take its place.
+    
+    https://bugzilla.gnome.org/show_bug.cgi?id=756032
+
+ daemon/dbus/gkd-secret-create.c |  1 +
+ daemon/dbus/gkd-secret-prompt.c | 10 ++++++++++
+ daemon/dbus/gkd-secret-prompt.h |  3 +++
+ 3 files changed, 14 insertions(+)
+
 commit 91dfc6a365f3d12e87769680c2dedc2bc1e57b23
 Author: Stef Walter <[email protected]>
 Date:   2015-10-16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/NEWS 
new/gnome-keyring-3.18.2/NEWS
--- old/gnome-keyring-3.18.1/NEWS       2015-10-16 22:52:01.000000000 +0200
+++ new/gnome-keyring-3.18.2/NEWS       2015-10-20 15:06:11.000000000 +0200
@@ -1,3 +1,7 @@
+Changes in version 3.18.2 are:
+ * Fix regression in ported GDBus prompting [#756032]
+ * Other minor fixes
+
 Changes in version 3.18.1 are:
  * Fix regression initializing gnome-keyring-daemon [#756059]
  * Fix regression racing for DBus name during startup [#756006]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/configure 
new/gnome-keyring-3.18.2/configure
--- old/gnome-keyring-3.18.1/configure  2015-10-16 22:52:13.000000000 +0200
+++ new/gnome-keyring-3.18.2/configure  2015-10-20 15:06:47.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gnome-keyring 3.18.1.
+# Generated by GNU Autoconf 2.69 for gnome-keyring 3.18.2.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='gnome-keyring'
 PACKAGE_TARNAME='gnome-keyring'
-PACKAGE_VERSION='3.18.1'
-PACKAGE_STRING='gnome-keyring 3.18.1'
+PACKAGE_VERSION='3.18.2'
+PACKAGE_STRING='gnome-keyring 3.18.2'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL='https://wiki.gnome.org/Projects/GnomeKeyring'
 
@@ -1458,7 +1458,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gnome-keyring 3.18.1 to adapt to many kinds of systems.
+\`configure' configures gnome-keyring 3.18.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1528,7 +1528,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gnome-keyring 3.18.1:";;
+     short | recursive ) echo "Configuration of gnome-keyring 3.18.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1697,7 +1697,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gnome-keyring configure 3.18.1
+gnome-keyring configure 3.18.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2120,7 +2120,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gnome-keyring $as_me 3.18.1, which was
+It was created by gnome-keyring $as_me 3.18.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3010,7 +3010,7 @@
 
 # Define the identity of the package.
  PACKAGE='gnome-keyring'
- VERSION='3.18.1'
+ VERSION='3.18.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -17601,7 +17601,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gnome-keyring $as_me 3.18.1, which was
+This file was extended by gnome-keyring $as_me 3.18.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17668,7 +17668,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gnome-keyring config.status 3.18.1
+gnome-keyring config.status 3.18.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/configure.ac 
new/gnome-keyring-3.18.2/configure.ac
--- old/gnome-keyring-3.18.1/configure.ac       2015-10-16 22:52:07.000000000 
+0200
+++ new/gnome-keyring-3.18.2/configure.ac       2015-10-20 15:06:20.000000000 
+0200
@@ -1,5 +1,5 @@
 AC_INIT(gnome-keyring,
-        3.18.1,
+        3.18.2,
         [[email protected]],
         [gnome-keyring],
         [https://wiki.gnome.org/Projects/GnomeKeyring])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-create.c 
new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-create.c
--- old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-create.c    2015-10-16 
22:49:25.000000000 +0200
+++ new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-create.c    2015-10-17 
10:09:38.000000000 +0200
@@ -176,6 +176,7 @@
 
        g_object_ref (self);
        prompt = GKD_SECRET_PROMPT (self);
+       gkd_secret_prompt_unexport (prompt);
 
        unlock = gkd_secret_unlock_new (gkd_secret_prompt_get_service (prompt),
                                        gkd_secret_prompt_get_caller (prompt),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-prompt.c 
new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-prompt.c
--- old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-prompt.c    2015-10-16 
22:49:25.000000000 +0200
+++ new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-prompt.c    2015-10-19 
11:36:42.000000000 +0200
@@ -202,6 +202,14 @@
                          G_CALLBACK (prompt_method_prompt), self);
 }
 
+void
+gkd_secret_prompt_unexport (GkdSecretPrompt *self)
+{
+       g_return_if_fail (self->pv->skeleton != NULL);
+       g_dbus_interface_skeleton_unexport (G_DBUS_INTERFACE_SKELETON 
(self->pv->skeleton));
+       g_clear_object (&self->pv->skeleton);
+}
+
 static void
 gkd_secret_prompt_init (GkdSecretPrompt *self)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-prompt.h 
new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-prompt.h
--- old/gnome-keyring-3.18.1/daemon/dbus/gkd-secret-prompt.h    2015-10-16 
22:49:25.000000000 +0200
+++ new/gnome-keyring-3.18.2/daemon/dbus/gkd-secret-prompt.h    2015-10-17 
10:09:38.000000000 +0200
@@ -77,4 +77,7 @@
 void                gkd_secret_prompt_dismiss_with_error      (GkdSecretPrompt 
*self,
                                                                GError *error);
 
+/* Used by derived classes */
+void                gkd_secret_prompt_unexport                (GkdSecretPrompt 
*self);
+
 #endif /* __GKD_SECRET_PROMPT_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-keyring-3.18.1/egg/egg-asn1x.c 
new/gnome-keyring-3.18.2/egg/egg-asn1x.c
--- old/gnome-keyring-3.18.1/egg/egg-asn1x.c    2014-11-23 21:39:43.000000000 
+0100
+++ new/gnome-keyring-3.18.2/egg/egg-asn1x.c    2015-10-19 11:36:42.000000000 
+0200
@@ -2219,7 +2219,7 @@
        /* Convert to seconds since epoch */
        } else {
                *value = timegm (when);
-               g_return_val_if_fail (*time >= 0, FALSE);
+               g_return_val_if_fail (*value >= 0, FALSE);
                *value += offset;
        }
 

++++++ gnome-keyring-dbus-handle-alias-paths-in-lookup_collection.patch ++++++
>From 2f5e4db43492c8c15577ca18081d06d1bf38ae60 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <[email protected]>
Date: Wed, 21 Oct 2015 16:17:14 +0300
Subject: dbus: Correctly handle alias paths in lookup_collection

https://bugzilla.gnome.org/show_bug.cgi?id=756865
---
 daemon/dbus/gkd-secret-objects.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/daemon/dbus/gkd-secret-objects.c b/daemon/dbus/gkd-secret-objects.c
index 995c930..90493df 100644
--- a/daemon/dbus/gkd-secret-objects.c
+++ b/daemon/dbus/gkd-secret-objects.c
@@ -1047,6 +1047,7 @@ gkd_secret_objects_lookup_collection (GkdSecretObjects 
*self, const gchar *calle
        GList *objects;
        GckSession *session;
        gchar *identifier;
+       const gchar *real_identifier;
 
        g_return_val_if_fail (GKD_SECRET_IS_OBJECTS (self), NULL);
        g_return_val_if_fail (path, NULL);
@@ -1054,6 +1055,11 @@ gkd_secret_objects_lookup_collection (GkdSecretObjects 
*self, const gchar *calle
        if (!gkd_secret_util_parse_path (path, &identifier, NULL))
                return NULL;
 
+       if (g_str_has_prefix (path, SECRET_ALIAS_PREFIX))
+               real_identifier = gkd_secret_service_get_alias (self->service, 
identifier);
+       else
+               real_identifier = identifier;
+
        /* The session we're using to access the object */
        if (caller == NULL)
                session = gkd_secret_service_internal_pkcs11_session 
(self->service);
@@ -1062,7 +1068,7 @@ gkd_secret_objects_lookup_collection (GkdSecretObjects 
*self, const gchar *calle
        g_return_val_if_fail (session, NULL);
 
        gck_builder_add_ulong (&builder, CKA_CLASS, CKO_G_COLLECTION);
-       gck_builder_add_string (&builder, CKA_ID, identifier);
+       gck_builder_add_string (&builder, CKA_ID, real_identifier);
 
        objects = gck_session_find_objects (session, gck_builder_end 
(&builder), NULL, &error);
 
-- 
cgit v0.11.2


Reply via email to