Summary(pl.UTF-8): GNOME - wirtualny system plików
Name: gnome-vfs2
Version: 2.24.4
-Release: 16
+Release: 17
License: LGPL v2+
Group: Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-vfs/2.24/gnome-vfs-%{version}.tar.bz2
Patch4: %{name}-ac-libs.patch
Patch5: %{name}-glib.patch
Patch6: am.patch
+Patch7: openssl.patch
URL: http://www.gnome.org/
BuildRequires: GConf2-devel >= 2.22.0
BuildRequires: acl-devel >= 2.2.34
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
+
+# fix for make -C doc
+iconv -f iso8859-2 -t utf8 libgnomevfs/gnome-vfs-job-queue.h > libgnomevfs/gnome-vfs-job-queue.h.new && mv libgnomevfs/gnome-vfs-job-queue.h.new libgnomevfs/gnome-vfs-job-queue.h
%build
%{__gtkdocize}
--- /dev/null
+--- gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ssl.c.org 2018-09-17 09:44:37.695718282 +0200
++++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ssl.c 2018-09-17 09:46:32.792578650 +0200
+@@ -72,6 +72,7 @@ typedef struct {
+ #ifdef HAVE_OPENSSL
+ int sockfd;
+ SSL *ssl;
++ SSL_CTX *ctx;
+ struct timeval *timeout;
+ #elif defined HAVE_GNUTLS
+ int sockfd;
+@@ -367,6 +368,7 @@ gnome_vfs_ssl_create_from_fd (GnomeVFSSS
+
+ /* FIXME: SSL_CTX_set_verify (ssl_ctx, SSL_VERIFY_PEER, &ssl_verify);*/
+ ssl->private->ssl = SSL_new (ssl_ctx);
++ ssl->private->ctx = ssl_ctx;
+
+ if (ssl->private->ssl == NULL) {
+ return GNOME_VFS_ERROR_IO;
+@@ -400,8 +402,8 @@ gnome_vfs_ssl_create_from_fd (GnomeVFSSS
+ }
+ }
+
+- if (ssl->private->ssl->ctx)
+- SSL_CTX_free (ssl->private->ssl->ctx);
++ if (ssl->private->ctx)
++ SSL_CTX_free (ssl->private->ctx);
+
+ SSL_free (ssl->private->ssl);
+ g_free (ssl->private);
+@@ -705,7 +707,7 @@ gnome_vfs_ssl_destroy (GnomeVFSSSL *ssl,
+ }
+ }
+
+- SSL_CTX_free (ssl->private->ssl->ctx);
++ SSL_CTX_free (ssl->private->ctx);
+ SSL_free (ssl->private->ssl);
+ close (ssl->private->sockfd);
+ if (ssl->private->timeout)