From dd6b57aa60dd8cefb0456fd8cdaf097e8db40cfa Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 2 Sep 2015 12:52:33 +0100 Subject: [PATCH] Update to 1.2.19 release --- ...karound-for-gnutls-private-key-loadi.patch | 36 ------------------- libvirt.spec | 6 ++-- sources | 2 +- 3 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 0001-tests-extend-workaround-for-gnutls-private-key-loadi.patch diff --git a/0001-tests-extend-workaround-for-gnutls-private-key-loadi.patch b/0001-tests-extend-workaround-for-gnutls-private-key-loadi.patch deleted file mode 100644 index 0de24f8..0000000 --- a/0001-tests-extend-workaround-for-gnutls-private-key-loadi.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 3433180ec89195aef3c434d8c8d44d55b0bd6466 Mon Sep 17 00:00:00 2001 -From: "Daniel P. Berrange" -Date: Tue, 4 Aug 2015 12:26:15 +0100 -Subject: [PATCH] tests: extend workaround for gnutls private key loading - failure - -In gnutls 3.4.3 there is a regression in the loading of private -keys via gnutls_x509_privkey_import. We already have a workaround -to deal with failures on older gnutls, but the error code that -the new gnutls returns is different. Extend the workaround so that -is checks for GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE too. - -See also gnutls https://bugzilla.redhat.com/show_bug.cgi?id=1250020 - -Signed-off-by: Daniel P. Berrange ---- - tests/virnettlshelpers.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/virnettlshelpers.c b/tests/virnettlshelpers.c -index 6e667d1..531d0b9 100644 ---- a/tests/virnettlshelpers.c -+++ b/tests/virnettlshelpers.c -@@ -84,7 +84,8 @@ static gnutls_x509_privkey_t testTLSLoadKey(void) - - if ((err = gnutls_x509_privkey_import(key, &data, - GNUTLS_X509_FMT_PEM)) < 0) { -- if (err != GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR) { -+ if (err != GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR && -+ err != GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) { - VIR_WARN("Failed to import key %s", gnutls_strerror(err)); - abort(); - } --- -2.4.3 - diff --git a/libvirt.spec b/libvirt.spec index f592515..dc8cc16 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -377,7 +377,7 @@ Summary: Library providing a simple virtualization API Name: libvirt -Version: 1.2.18 +Version: 1.2.19 Release: 1%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries @@ -388,7 +388,6 @@ URL: http://libvirt.org/ %define mainturl stable_updates/ %endif Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz -Patch1: 0001-tests-extend-workaround-for-gnutls-private-key-loadi.patch %if %{with_libvirtd} Requires: libvirt-daemon = %{version}-%{release} @@ -2331,6 +2330,9 @@ exit 0 %doc examples/systemtap %changelog +* Wed Sep 2 2015 Daniel P. Berrange - 1.2.19-1 +- Update to 1.2.19 release + * Tue Aug 4 2015 Daniel P. Berrange - 1.2.18-1 - Update to 1.2.18 release diff --git a/sources b/sources index a96b819..4048706 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5531b44fc282c3ce0c3951c6bb692576 libvirt-1.2.18.tar.gz +bc3ab1ba5b6fabd2e4516c70ddd4d97c libvirt-1.2.19.tar.gz