Update to 0.2.5
This commit is contained in:
parent
5382b397ac
commit
4f56b15446
@ -1,33 +0,0 @@
|
|||||||
From a7d3d5cbf64647c1ed8978b2a33a3be35f888129 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Douglas R. Reno" <renodr@linuxfromscratch.org>
|
|
||||||
Date: Wed, 15 Sep 2021 17:40:00 +0000
|
|
||||||
Subject: [PATCH] Fix CVE-2021-39358 by forcing TLS certificate
|
|
||||||
validation
|
|
||||||
|
|
||||||
This is similar to the fix performed in other packages. See
|
|
||||||
https://gitlab.gnome.org/Teams/Releng/security/-/issues/57 for more
|
|
||||||
details.
|
|
||||||
|
|
||||||
Tested on Linux From Scratch 11.0 and on Debian 11.
|
|
||||||
|
|
||||||
Fixes #17
|
|
||||||
|
|
||||||
---
|
|
||||||
gfbgraph/gfbgraph-photo.c | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/gfbgraph/gfbgraph-photo.c b/gfbgraph/gfbgraph-photo.c
|
|
||||||
index 1e8955c..f6281a6 100644
|
|
||||||
--- a/gfbgraph/gfbgraph-photo.c
|
|
||||||
+++ b/gfbgraph/gfbgraph-photo.c
|
|
||||||
@@ -424,6 +424,7 @@ gfbgraph_photo_download_default_size (GFBGraphPhoto *photo, GFBGraphAuthorizer *
|
|
||||||
|
|
||||||
session = soup_session_sync_new ();
|
|
||||||
requester = soup_requester_new ();
|
|
||||||
+ g_object_set (G_OBJECT (session), "ssl-use-system-ca-file", TRUE, NULL);
|
|
||||||
soup_session_add_feature (session, SOUP_SESSION_FEATURE (requester));
|
|
||||||
|
|
||||||
request = soup_requester_request (requester, priv->source, error);
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
gfbgraph-0.2.5.tar.xz
Normal file
BIN
gfbgraph-0.2.5.tar.xz
Normal file
Binary file not shown.
@ -1,32 +1,34 @@
|
|||||||
Name: gfbgraph
|
Name: gfbgraph
|
||||||
Version: 0.2.4
|
Version: 0.2.5
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: GLib/GObject wrapper for the Facebook Graph API
|
Summary: GLib/GObject wrapper for the Facebook Graph API
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/GFBGraph
|
URL: https://wiki.gnome.org/Projects/GFBGraph
|
||||||
Source0: https://download.gnome.org/sources/gfbgraph/0.2/gfbgraph-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gfbgraph/0.2/gfbgraph-%{version}.tar.xz
|
||||||
Patch0: CVE-2021-39358.patch
|
|
||||||
BuildRequires: pkgconfig(gio-2.0) pkgconfig(glib-2.0) pkgconfig(gobject-2.0)
|
BuildRequires: autoconf automake make libtool glib2-devel gobject-introspection-devel gtk-doc
|
||||||
BuildRequires: pkgconfig(goa-1.0) gobject-introspection-devel gtk-doc pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(goa-1.0) pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(rest-0.7)
|
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(rest-0.7)
|
||||||
|
|
||||||
Requires: gobject-introspection
|
Requires: gobject-introspection
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GLib/GObject wrapper for the Facebook Graph API that integrates with GNOME
|
GLib/GObject wrapper for the Facebook Graph API that integrates with GNOME
|
||||||
Online Accounts.
|
Online Accounts.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for gfbgraph
|
Summary: Development files for gfbgraph
|
||||||
Requires: gobject-introspection-devel gfbgraph%{?_isa} = %{version}-%{release}
|
Requires: gobject-introspection-devel gfbgraph%{?_isa} = %{version}-%{release}
|
||||||
%description devel
|
%description devel
|
||||||
The gfbgraph-devel package contains libraries and header files for
|
The gfbgraph-devel package contains libraries and header files for
|
||||||
developing applications that use gfbgraph.
|
developing applications that use gfbgraph.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sh autogen.sh
|
gtkdocize
|
||||||
|
autoreconf --install --verbose
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -42,26 +44,21 @@ rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS
|
%doc AUTHORS COPYING NEWS README
|
||||||
%doc COPYING
|
|
||||||
%doc NEWS
|
|
||||||
%doc README
|
|
||||||
%{_libdir}/libgfbgraph-0.2.so.*
|
%{_libdir}/libgfbgraph-0.2.so.*
|
||||||
%dir %{_libdir}/girepository-1.0
|
|
||||||
%{_libdir}/girepository-1.0/GFBGraph-0.2.typelib
|
%{_libdir}/girepository-1.0/GFBGraph-0.2.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libgfbgraph-0.2.so
|
%{_libdir}/libgfbgraph-0.2.so
|
||||||
%{_libdir}/pkgconfig/libgfbgraph-0.2.pc
|
%{_libdir}/pkgconfig/libgfbgraph-0.2.pc
|
||||||
%dir %{_datadir}/gir-1.0
|
|
||||||
%{_datadir}/gir-1.0/GFBGraph-0.2.gir
|
%{_datadir}/gir-1.0/GFBGraph-0.2.gir
|
||||||
%dir %{_datadir}/gtk-doc
|
|
||||||
%dir %{_datadir}/gtk-doc/html
|
|
||||||
%doc %{_datadir}/gtk-doc/html/gfbgraph-0.2
|
%doc %{_datadir}/gtk-doc/html/gfbgraph-0.2
|
||||||
%dir %{_includedir}/gfbgraph-0.2
|
|
||||||
%{_includedir}/gfbgraph-0.2/gfbgraph
|
%{_includedir}/gfbgraph-0.2/gfbgraph
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.2.5-1
|
||||||
|
- Update to 0.2.5
|
||||||
|
|
||||||
* Mon Nov 15 2021 liwu <liwu13@huawei.com> - 0.2.4-2
|
* Mon Nov 15 2021 liwu <liwu13@huawei.com> - 0.2.4-2
|
||||||
- Fix CVE-2021-39358
|
- Fix CVE-2021-39358
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user