SHA256
1
0
forked from pool/gnutls

Accepting request 407873 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/407873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=93
This commit is contained in:
Dominique Leuenberger 2016-07-18 19:19:48 +00:00 committed by Git OBS Bridge
parent 1683bf17ea
commit 65cd0f52fa
7 changed files with 17 additions and 34 deletions

View File

@ -1,28 +0,0 @@
From cc22a052f40ba800acde7d81fe0ab91b56e66921 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Wed, 29 Jun 2016 17:25:06 +0200
Subject: [PATCH] tests: use datefudge in name-constraints test
This avoids the expiration of the used certificate to affect the test.
---
tests/cert-tests/name-constraints | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: gnutls-3.4.13/tests/cert-tests/name-constraints
===================================================================
--- gnutls-3.4.13.orig/tests/cert-tests/name-constraints 2016-06-30 11:11:35.920632613 +0200
+++ gnutls-3.4.13/tests/cert-tests/name-constraints 2016-06-30 11:13:06.633974903 +0200
@@ -28,7 +28,12 @@ if ! test -z "${VALGRIND}"; then
fi
TMPFILE=tmp.$$.pem
-${VALGRIND} "${CERTTOOL}" -e --infile "${srcdir}/name-constraints-ip.pem"
+. ${srcdir}/../scripts/common.sh
+
+check_for_datefudge
+
+datefudge -s "2016-04-22" \
+ ${VALGRIND} "${CERTTOOL}" -e --infile "${srcdir}/name-constraints-ip.pem"
rc=$?
if test "${rc}" != "0"; then

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd3386e8e72725980bcd7f40949aa0121dcb7650b5147c6490e794555ed25859
size 6670508

Binary file not shown.

3
gnutls-3.4.14.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35deddf2779b76ac11057de38bf380b8066c05de21b94263ad5b6dfa75dfbb23
size 6673148

BIN
gnutls-3.4.14.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jul 9 21:18:21 UTC 2016 - astieger@suse.com
- GnuTLS 3.4.14:
* libgnutls: Address issue when utilizing the p11-kit trust store
for certificate verification (GNUTLS-SA-2016-2, boo#988276)
* libgnutls: Fixed DTLS handshake packet reconstruction.
* libgnutls: Fixed issues with PKCS#11 reading of sensitive
objects from SafeNet Network HSM
* libgnutls: Corrected the writing of PKCS#11 CKA_SERIAL_NUMBER
- drop upstreamed
0001-tests-use-datefudge-in-name-constraints-test.patch
-------------------------------------------------------------------
Thu Jun 30 08:38:05 UTC 2016 - vcizek@suse.com

View File

@ -30,7 +30,7 @@
%bcond_without guile
Name: gnutls
Version: 3.4.13
Version: 3.4.14
Release: 0
Summary: The GNU Transport Layer Security Library
License: LGPL-2.1+ and GPL-3.0+
@ -41,7 +41,6 @@ Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/%{name}-%{version}.tar.x
Source1: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/%{name}-%{version}.tar.xz.sig
Source2: %name.keyring
Source3: baselibs.conf
Patch: 0001-tests-use-datefudge-in-name-constraints-test.patch
BuildRequires: autogen
BuildRequires: automake
@ -191,7 +190,6 @@ GnuTLS Wrappers for GNU Guile - dialect of scheme.
%prep
%setup -q
%patch -p1
%build
export LDFLAGS="-pie"