Compare commits

...

14 Commits
f36 ... rawhide

Author SHA1 Message Date
David King f943659605 Update to 2.76.0 2023-03-18 13:55:05 +00:00
David King 474487f624 Update to 2.76.0 2023-03-18 10:12:11 +00:00
David King e4bb03ee32 Update to 2.76.beta 2023-02-15 17:04:08 +00:00
Michael Catanzaro 1acec8d7b2 Fix file list 2023-02-13 13:08:57 -06:00
Michael Catanzaro 53d8853a17 Unconditionally enable libproxy, at least for now
I had been planning to remove the libproxy support from RHEL 10, but
now a libproxy rewrite is nearly complete and the future seems less
certain, so let's assume it will stay.
2023-02-13 12:54:40 -06:00
Michael Catanzaro ff78dbe8cf Build environment proxy module only if libproxy module is disabled
The environment proxy module is never used if libproxy is supported.
2023-02-13 12:54:09 -06:00
David King b431b623cb Update to 2.76.alpha 2023-02-07 18:29:20 +00:00
Fedora Release Engineering 20eb60d065 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 05:04:46 +00:00
Kalev Lember 7d6078ba19 Update to 2.74.0 2022-09-19 23:25:06 +02:00
Kalev Lember aed06f3838 Update to 2.74.rc 2022-09-06 11:26:10 +02:00
Michael Catanzaro 1d511bce13 Restore certificate revocation checking
"Restore" is not quite the right word, because we never performed any
certificate revocation checking: it was disabled almost immediately
after it was added due to this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2003363

which seems to be no longer relevant. So I think we can start doing it
now. In practice, it only works for servers that support OCSP stapling,
which is not much.
2022-07-26 08:27:46 -05:00
Michael Catanzaro 2d05ff47b2 libproxy-webkitgtk4 -> libproxy-duktape
Maybe we should call this "libproxy-pacrunner" instead to avoid having
to rename the package each time the implementation of the pacrunner
support changes. Well, nope, can't do that because there is already a
libproxy-pacrunner package to support the pacrunner daemon, which is
different. And not to be confused with glib-networking's glib-pacrunner.
The libproxy-pacrunner package is a pacrunner pacrunner backend, and
that's not a typo. Naming things is hard apparently.
2022-07-26 08:25:18 -05:00
Fedora Release Engineering 4d82cd4032 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 06:25:53 +00:00
Kalev Lember 57db03f2a2 Update to 2.74.alpha 2022-07-12 09:48:43 +02:00
4 changed files with 15 additions and 26 deletions

6
.gitignore vendored
View File

@ -109,3 +109,9 @@
/glib-networking-2.72.alpha.tar.xz
/glib-networking-2.72.beta.tar.xz
/glib-networking-2.72.0.tar.xz
/glib-networking-2.74.alpha.tar.xz
/glib-networking-2.74.rc.tar.xz
/glib-networking-2.74.0.tar.xz
/glib-networking-2.76.alpha.tar.xz
/glib-networking-2.76.beta.tar.xz
/glib-networking-2.76.0.tar.xz

View File

@ -1,23 +1,18 @@
%define glib2_version 2.69.0
%define glib2_version 2.73.3
%global tarball_version %%(echo %{version} | tr '~' '.')
# No libproxy in RHEL
%if !0%{?rhel}
# Not yet sure whether to have libproxy in el10, but assume yes for now.
%global with_libproxy 1
%endif
Name: glib-networking
Version: 2.72.0
Version: 2.76.0
Release: %autorelease
Summary: Networking support for GLib
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/glib-networking
Source0: https://download.gnome.org/sources/glib-networking/2.72/%{name}-%{tarball_version}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=2024296
Patch0: sabotage-revocation-checks.patch
Source0: https://download.gnome.org/sources/glib-networking/2.76/%{name}-%{tarball_version}.tar.xz
BuildRequires: ca-certificates
BuildRequires: gcc
@ -38,7 +33,7 @@ Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gsettings-desktop-schemas
# For glib-pacrunner
Recommends: libproxy-webkitgtk4
Recommends: libproxy-duktape
%description
This package contains modules that extend the networking support in
@ -61,6 +56,7 @@ the functionality of the installed glib-networking package.
%meson \
%if !0%{?with_libproxy}
-Dlibproxy=disabled \
-Denvironment_proxy=enabled \
%endif
-Dinstalled_tests=true \
%nil
@ -74,7 +70,6 @@ the functionality of the installed glib-networking package.
%files -f %{name}.lang
%license COPYING
%doc NEWS README
%{_libdir}/gio/modules/libgioenvironmentproxy.so
%{_libdir}/gio/modules/libgiognomeproxy.so
%{_libdir}/gio/modules/libgiognutls.so
%if 0%{?with_libproxy}
@ -82,6 +77,8 @@ the functionality of the installed glib-networking package.
%{_libexecdir}/glib-pacrunner
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%{_userunitdir}/glib-pacrunner.service
%else
%{_libdir}/gio/modules/libgioenvironmentproxy.so
%endif
%files tests

View File

@ -1,14 +0,0 @@
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index 1b60740..e8fee43 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -1016,7 +1016,7 @@ g_tls_connection_gnutls_verify_chain (GTlsConnectionBase *tls,
* GTlsDatabaseGnutls.
*/
database = g_tls_connection_get_database (G_TLS_CONNECTION (gnutls));
- if (!G_IS_TLS_DATABASE_GNUTLS (database))
+ if (TRUE) /* Fedora: sabotage new codepath due to https://bugzilla.redhat.com/show_bug.cgi?id=2024296 */
{
return g_tls_database_verify_chain (database,
chain,

View File

@ -1 +1 @@
SHA512 (glib-networking-2.72.0.tar.xz) = 2b42aebcf496f51604005f6f3243ed7e613ab3d485742b7d8af10e103b07eefd8931cc86c1cb021889fe1415ad98bf4d877a3f33203cb53688cc2c41373a8ce4
SHA512 (glib-networking-2.76.0.tar.xz) = dae704ad70312239379e1e66a4171e9315ee44e1785c9cb2563adc3f0bbab43d08a75873bfd2be12e3ed4210d4a7e177c9540815c8eb4bda89032c5354c4be30