On 2015-07-25 Michael Biebl <bi...@debian.org> wrote:
> Hi Andreas

> Am 25.07.2015 um 12:19 schrieb Andreas Metzler:
[...]
>> I have just uploaded a NMU with the patch to DELAYED/15. Please tell
>> me if you want to delay further.

> Thanks for preparing the upload. Feel free to upload it without delay.
> Would be great if you can attach the final debdiff to the bug report.

Hello Michael,
Thank you for the heads-up, I will reschedule the upload. Find the
final diff attached.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -Nru gnome-vfs-2.24.4/debian/changelog gnome-vfs-2.24.4/debian/changelog
--- gnome-vfs-2.24.4/debian/changelog	2014-07-05 13:15:00.000000000 +0200
+++ gnome-vfs-2.24.4/debian/changelog	2015-07-25 11:55:24.000000000 +0200
@@ -1,3 +1,12 @@
+gnome-vfs (1:2.24.4-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * gnutls_deprecated.diff from Arch Linux' Evangelos Foutras: Use
+    gnutls_set_default_priority() instead of the deprecated and in GnuTLS
+    3.4.0 removed gnutls_*_set_priority functions. Closes: #624042
+
+ -- Andreas Metzler <ametz...@debian.org>  Sat, 25 Jul 2015 11:55:05 +0200
+
 gnome-vfs (1:2.24.4-6) unstable; urgency=medium
 
   * Team upload
diff -Nru gnome-vfs-2.24.4/debian/control gnome-vfs-2.24.4/debian/control
--- gnome-vfs-2.24.4/debian/control	2014-07-05 13:15:22.000000000 +0200
+++ gnome-vfs-2.24.4/debian/control	2015-07-25 11:57:44.000000000 +0200
@@ -2,12 +2,11 @@
 # 
 # Modifications should be made to debian/control.in instead.
 # This file is regenerated automatically in the clean target.
-
 Source: gnome-vfs
 Section: oldlibs
 Priority: optional
 Maintainer: Josselin Mouette <j...@debian.org>
-Uploaders: Andreas Henriksson <andr...@fatal.se>, Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org>, Emilio Pozuelo Monfort <po...@debian.org>, Michael Biebl <bi...@debian.org>, Sebastian Dröge <sl...@debian.org>
+Uploaders: Andreas Henriksson <andr...@fatal.se>, Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org>, Emilio Pozuelo Monfort <po...@debian.org>, Michael Biebl <bi...@debian.org>
 Build-Depends: cdbs,
                dh-autoreconf,
                gtk-doc-tools (>= 1.0),
diff -Nru gnome-vfs-2.24.4/debian/patches/gnutls_deprecated.diff gnome-vfs-2.24.4/debian/patches/gnutls_deprecated.diff
--- gnome-vfs-2.24.4/debian/patches/gnutls_deprecated.diff	1970-01-01 01:00:00.000000000 +0100
+++ gnome-vfs-2.24.4/debian/patches/gnutls_deprecated.diff	2015-07-25 11:54:57.000000000 +0200
@@ -0,0 +1,45 @@
+Description: Use gnutls_set_default_priority() instead of the
+ deprecated and in GnuTLS 3.4.0 removed gnutls_*_set_priority functions.
+Author: Evangelos Foutras (foutrelis)
+Origin: other, https://projects.archlinux.org/svntogit/packages.git/patch/trunk/gnutls-3.4.0.patch?id=73e9ebb4f632a2f82013861eef6c134035a55422
+Bug-Debian: https://bugs.debian.org/624042
+Forwarded: no
+Last-Update: 2015-05-03
+
+--- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-ssl.c
++++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ssl.c
+@@ -311,21 +311,6 @@ gnome_vfs_ssl_create (GnomeVFSSSL **hand
+ #endif
+ }
+ 
+-#ifdef HAVE_GNUTLS
+-static const int protocol_priority[] = {GNUTLS_TLS1, GNUTLS_SSL3, 0};
+-static const int cipher_priority[] = 
+-	{GNUTLS_CIPHER_RIJNDAEL_128_CBC, GNUTLS_CIPHER_3DES_CBC,
+-	 GNUTLS_CIPHER_RIJNDAEL_256_CBC, GNUTLS_CIPHER_ARCFOUR, 0};
+-static const int comp_priority[] =
+-	{GNUTLS_COMP_ZLIB, GNUTLS_COMP_NULL, 0};
+-static const int kx_priority[] =
+-	{GNUTLS_KX_DHE_RSA, GNUTLS_KX_RSA, GNUTLS_KX_DHE_DSS, 0};
+-static const int mac_priority[] =
+-	{GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0};
+-
+-#endif
+-
+-
+ /**
+  * gnome_vfs_ssl_create_from_fd:
+  * @handle_return: pointer to a #GnomeVFSSSL struct, which will
+@@ -434,11 +419,7 @@ gnome_vfs_ssl_create_from_fd (GnomeVFSSS
+ 	gnutls_transport_set_ptr (ssl->private->tlsstate, 
+ 				  GINT_TO_POINTER (fd));
+ 
+-	gnutls_protocol_set_priority (ssl->private->tlsstate, protocol_priority);
+-	gnutls_cipher_set_priority (ssl->private->tlsstate, cipher_priority);
+-	gnutls_compression_set_priority (ssl->private->tlsstate, comp_priority);
+-	gnutls_kx_set_priority (ssl->private->tlsstate, kx_priority);
+-	gnutls_mac_set_priority (ssl->private->tlsstate, mac_priority);
++	gnutls_set_default_priority (ssl->private->tlsstate);
+ 
+ 	gnutls_cred_set (ssl->private->tlsstate, GNUTLS_CRD_CERTIFICATE,
+ 			 ssl->private->xcred);
diff -Nru gnome-vfs-2.24.4/debian/patches/series gnome-vfs-2.24.4/debian/patches/series
--- gnome-vfs-2.24.4/debian/patches/series	2014-07-05 12:08:43.000000000 +0200
+++ gnome-vfs-2.24.4/debian/patches/series	2015-07-25 11:54:57.000000000 +0200
@@ -24,3 +24,4 @@
 40_disable_deprecated.patch
 41_test_srcdir.patch
 gnutls3.patch
+gnutls_deprecated.diff

Attachment: signature.asc
Description: Digital signature

Reply via email to