Hello community,

here is the log from the commit of package glib-networking for openSUSE:Factory 
checked in at 2013-07-19 18:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glib-networking (Old)
 and      /work/SRC/openSUSE:Factory/.glib-networking.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glib-networking"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glib-networking/glib-networking.changes  
2013-07-16 15:02:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glib-networking.new/glib-networking.changes     
2013-07-19 18:01:29.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Jul 11 21:11:29 UTC 2013 - [email protected]
+
+- Build using system pkcs#11 certificate store instead of using
+  /etc/ssl/certs.pem:
+  + Pass the following parameters to configure
+    --with-pkcs
+    --without-ca-certificate
+  + Add glib-networking-fix-no-cert-bundles.patch: do not fail if
+    no certificate bundle (anchor) is specified.
+
+-------------------------------------------------------------------

New:
----
  glib-networking-fix-no-cert-bundles.patch

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

Other differences:
------------------
++++++ glib-networking.spec ++++++
--- /var/tmp/diff_new_pack.Wq7JX6/_old  2013-07-19 18:01:30.000000000 +0200
+++ /var/tmp/diff_new_pack.Wq7JX6/_new  2013-07-19 18:01:30.000000000 +0200
@@ -24,6 +24,8 @@
 Group:          System/Libraries
 Source:         
http://download.gnome.org/sources/glib-networking/2.37/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM glib-networking-fix-no-cert-bundles.patch bgo#704058 
bnc#825903 [email protected] -- Allow to fully operate without gnutls 
anchors, passing the responsibility to gnutls.
+Patch0:         glib-networking-fix-no-cert-bundles.patch
 # For directory ownership
 BuildRequires:  dbus-1
 BuildRequires:  intltool
@@ -50,12 +52,14 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 translation-update-upstream
 
 %build
 %configure \
     --disable-static \
-    --with-ca-certificates=/etc/ssl/ca-bundle.pem
+    --with-pkcs \
+    --without-ca-certificates
 %__make %{?_smp_mflags} V=1
 
 %install

++++++ glib-networking-fix-no-cert-bundles.patch ++++++
Index: glib-networking-2.37.4/tls/gnutls/gtlsbackend-gnutls.c
===================================================================
--- glib-networking-2.37.4.orig/tls/gnutls/gtlsbackend-gnutls.c
+++ glib-networking-2.37.4/tls/gnutls/gtlsbackend-gnutls.c
@@ -103,8 +103,10 @@ g_tls_backend_gnutls_real_create_databas
   const gchar *anchor_file = NULL;
 #ifdef GTLS_SYSTEM_CA_FILE
   anchor_file = GTLS_SYSTEM_CA_FILE;
-#endif
   return g_tls_file_database_new (anchor_file, error);
+#else
+  return NULL;
+#endif
 }
 
 static void
@@ -144,11 +146,13 @@ g_tls_backend_gnutls_get_default_databas
                      error->message);
           g_clear_error (&error);
         }
+#ifdef GTLS_SYSTEM_CA_FILE
       else
         {
           g_assert (result);
           self->priv->default_database = g_object_ref (result);
         }
+#endif
     }
 
   g_mutex_unlock (&self->priv->mutex);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to