Move to openssl 1.1

f38
Gwyn Ciesla 4 years ago
parent 0f30814340
commit d1f98130bf

@ -13,7 +13,7 @@
Summary: The GNOME virtual file-system libraries Summary: The GNOME virtual file-system libraries
Name: gnome-vfs2 Name: gnome-vfs2
Version: 2.24.4 Version: 2.24.4
Release: 32%{?dist} Release: 33%{?dist}
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
# the daemon and the library are LGPLv2+ # the daemon and the library are LGPLv2+
# the modules are LGPLv2+ and GPLv2+ # the modules are LGPLv2+ and GPLv2+
@ -32,7 +32,7 @@ BuildRequires: autoconf
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: perl-XML-Parser BuildRequires: perl-XML-Parser
BuildRequires: libsmbclient-devel BuildRequires: libsmbclient-devel
BuildRequires: compat-openssl10-devel gamin-devel BuildRequires: openssl-devel gamin-devel
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: pkgconfig(avahi-client) pkgconfig(avahi-glib) BuildRequires: pkgconfig(avahi-client) pkgconfig(avahi-glib)
%if %{with hal} %if %{with hal}
@ -90,6 +90,7 @@ Patch7: gnome-vfs-2.24.5-file-method-chmod-flags.patch
# fix compilation against new glib2 # fix compilation against new glib2
Patch8: gnome-vfs-2.24.4-enable-deprecated.patch Patch8: gnome-vfs-2.24.4-enable-deprecated.patch
Patch9: openssl.patch
%description %description
GNOME VFS is the GNOME virtual file system. It is the foundation of GNOME VFS is the GNOME virtual file system. It is the foundation of
@ -137,6 +138,7 @@ shares (SMB) to applications using GNOME VFS.
%patch6 -p1 -b .mailto-command %patch6 -p1 -b .mailto-command
%patch7 -p1 -b .file-method-chmod-flags %patch7 -p1 -b .file-method-chmod-flags
%patch8 -p1 -b .enable-deprecated %patch8 -p1 -b .enable-deprecated
%patch9 -p0 -b .openssl11
# send to upstream # send to upstream
%patch101 -p1 -b .schema_about %patch101 -p1 -b .schema_about
@ -254,6 +256,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%changelog %changelog
* Thu Sep 17 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.24.4-33
- Migrate to modern openssl.
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.4-32 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.4-32
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@ -0,0 +1,20 @@
--- libgnomevfs/gnome-vfs-ssl.c.orig 2010-02-09 12:16:14.000000000 +0000
+++ libgnomevfs/gnome-vfs-ssl.c
@@ -400,9 +400,6 @@ gnome_vfs_ssl_create_from_fd (GnomeVFSSS
}
}
- if (ssl->private->ssl->ctx)
- SSL_CTX_free (ssl->private->ssl->ctx);
-
SSL_free (ssl->private->ssl);
g_free (ssl->private);
g_free (ssl);
@@ -705,7 +702,6 @@ gnome_vfs_ssl_destroy (GnomeVFSSSL *ssl,
}
}
- SSL_CTX_free (ssl->private->ssl->ctx);
SSL_free (ssl->private->ssl);
close (ssl->private->sockfd);
if (ssl->private->timeout)
Loading…
Cancel
Save