Hello community, here is the log from the commit of package librest for openSUSE:Factory checked in at 2013-07-17 10:34:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librest (Old) and /work/SRC/openSUSE:Factory/.librest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "librest" Changes: -------- --- /work/SRC/openSUSE:Factory/librest/librest.changes 2012-09-11 09:10:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.librest.new/librest.changes 2013-07-17 10:34:25.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Jul 11 21:25:15 UTC 2013 - dimstar@opensuse.org + +- Add librest-fix-build-without-ca-certificates.patch: Fix build + with configure --without-ca-certificates. +- Pass --without-ca-certificates to configure instead of + --with-ca-certificates=/etc/ssl/ca-bundle.pem (bnc#825903). + +------------------------------------------------------------------- New: ---- librest-fix-build-without-ca-certificates.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librest.spec ++++++ --- /var/tmp/diff_new_pack.KuBMzr/_old 2013-07-17 10:34:25.000000000 +0200 +++ /var/tmp/diff_new_pack.KuBMzr/_new 2013-07-17 10:34:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package librest # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,8 @@ Url: http://git.gnome.org/browse/librest/ Source0: http://download.gnome.org/sources/rest/0.7/%{_name}-%{version}.tar.xz Source99: baselibs.conf -BuildRequires: config(ca-certificates) +# PATCH-FIX-UPSTREAM librest-fix-build-without-ca-certificates.patch dimstar@opensuse.org -- Fix build when configuring --without-ca-certificates, taken from git +Patch0: librest-fix-build-without-ca-certificates.patch BuildRequires: pkgconfig(glib-2.0) >= 2.24 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(libsoup-2.4) @@ -92,11 +93,12 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %configure \ --disable-static \ - --with-ca-certificates=/etc/ssl/ca-bundle.pem + --without-ca-certificates %__make %{?jobs:-j%jobs} V=1 %install ++++++ librest-fix-build-without-ca-certificates.patch ++++++
From 72e19312518a80bdd8558e18edef95929a173553 Mon Sep 17 00:00:00 2001 From: Javier Hernández
Date: Tue, 21 Aug 2012 19:45:34 +0000 Subject: Do not set REST_SYSTEM_CA_FILE session attribute while building with --without-ca-certificates
--- diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c index 78dc6b0..b96a0dc 100644 --- a/rest/rest-proxy.c +++ b/rest/rest-proxy.c @@ -391,6 +391,7 @@ rest_proxy_init (RestProxy *self) priv->session = soup_session_async_new (); priv->session_sync = soup_session_sync_new (); +#if REST_SYSTEM_CA_FILE /* with ssl-strict (defaults TRUE) setting ssl-ca-file forces all * certificates to be trusted */ g_object_set (priv->session, @@ -399,6 +400,7 @@ rest_proxy_init (RestProxy *self) g_object_set (priv->session_sync, "ssl-ca-file", REST_SYSTEM_CA_FILE, NULL); +#endif #if WITH_GNOME soup_session_add_feature_by_type (priv->session, -- cgit v0.9.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org