diff --git a/0001-configure-don-t-add-Werror-to-build-flags.patch b/0001-configure-don-t-add-Werror-to-build-flags.patch new file mode 100644 index 0000000..1fb7e85 --- /dev/null +++ b/0001-configure-don-t-add-Werror-to-build-flags.patch @@ -0,0 +1,32 @@ +From dd091c8af163213e12aa92f61bc4916e0f102633 Mon Sep 17 00:00:00 2001 +From: Nikos Mavrogiannopoulos +Date: Tue, 26 Jul 2016 08:45:33 +0200 +Subject: [PATCH] configure: don't add -Werror to build flags +References: http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=dd091c8af163213e12aa92f61bc4916e0f102633 + +Fixing: +[ 81s] Test_overflow.c: In function 'main': +[ 81s] Test_overflow.c:63:45: error: left shift of negative value [-Werror=shift-negative-value] +[ 81s] unsigned long num = ((long) UINT_MAX) << 2; +[ 81s] ^~ + +--- + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7a14e04..066f5fe 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -70,8 +70,6 @@ AC_ARG_ENABLE([gcc-warnings], + ) + + if test "$gl_gcc_warnings" = yes; then +- gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) +- + nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings + nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers + nw="$nw -Wtraditional" # Warns on #elif which we use often +-- +2.6.6 + diff --git a/libtasn1-4.8.tar.gz b/libtasn1-4.8.tar.gz deleted file mode 100644 index 4fbfe4d..0000000 --- a/libtasn1-4.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513 -size 1859924 diff --git a/libtasn1-4.8.tar.gz.sig b/libtasn1-4.8.tar.gz.sig deleted file mode 100644 index 37de2bd..0000000 --- a/libtasn1-4.8.tar.gz.sig +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABCAAGBQJXC0aEAAoJEJ1eqvaQE7hCOukIAKm7Sg+a8pY/KaF7JKZRT74J -htcwNe8lwLqvpFf54vNjgD31qWv0MBq2tNaDuiQNWxBTJHxiYMwBlEG56B79Upx3 -7aXkZeQMJTzO1vJo5svRi5YkFIBq1ByvFgupLGcmUUrn06CZGtvzdK4qK1D3YsI1 -Q4PzmEf9TM/pHZjHRbIm3Ca/DOGX0OuSWAc4AwmiKS8XO47TmowB6/Lmqqxzy74s -+ClrP07s+EtVeIjY0WUt047MtP1/28Is/IIB1jze2CUeAJS2BDOMhMj+ori39Lht -gNl2u1of7n80Qlp71Zj73xFj8SpRLiox2MVX/+VhYNNsXCVhgvD43mpC808kWCI= -=pLk0 ------END PGP SIGNATURE----- diff --git a/libtasn1-4.9.tar.gz b/libtasn1-4.9.tar.gz new file mode 100644 index 0000000..944a6ef --- /dev/null +++ b/libtasn1-4.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920 +size 1864709 diff --git a/libtasn1-4.9.tar.gz.sig b/libtasn1-4.9.tar.gz.sig new file mode 100644 index 0000000..c234304 --- /dev/null +++ b/libtasn1-4.9.tar.gz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQEcBAABCAAGBQJXlnbOAAoJEJ1eqvaQE7hCPTEH/j8DerBEemjLY/UwlDfFC/q7 +eCj4NeeHJadoIiW2LFOQHKOsTpGE6REQ/4iPlAef50yyEzGlBXLQk2iZiRjWF1Hw +acoVx8G4Xuw21We+QRjSGmQv9XQzAipMGOefvuA7qS2/2XgG6+1JmhYZdxAw91G4 +tlHe2jPYb0z+xDQueQPrLPhQcVBUzDIaonVzH/d4Z4Y7qE53P8UD115cYf0sdnOq +0E2lX6ztYIzIjITEeIboDwVZysXFrQ3XIoNvdqXXGm3qOc4Th6rhzl56wxzJxwmL +1el6sLw5XrAD0jNjduMLrvOS9duxqFRXL9lZaQcWcoKHmIZQi2mb4VXHYANwJxM= +=AGhi +-----END PGP SIGNATURE----- diff --git a/libtasn1.changes b/libtasn1.changes index 37ea5a3..319471a 100644 --- a/libtasn1.changes +++ b/libtasn1.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 10 18:57:51 UTC 2016 - astieger@suse.com + +- update to 4.9: + * Fix OID encoding of OIDs which have elements which exceed 2^32 +- Do not treat i586 warning as error, adding upstream + 0001-configure-don-t-add-Werror-to-build-flags.patch + ------------------------------------------------------------------- Mon Apr 11 14:56:31 UTC 2016 - mpluskal@suse.com diff --git a/libtasn1.spec b/libtasn1.spec index f291bc9..8cce42c 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -18,7 +18,7 @@ %define somajor 6 Name: libtasn1 -Version: 4.8 +Version: 4.9 Release: 0 Summary: ASN.1 parsing library License: LGPL-2.1+ and GPL-3.0 @@ -29,8 +29,15 @@ Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig # http://josefsson.org/key.txt Source2: %{name}.keyring Source99: baselibs.conf +Patch0: 0001-configure-don-t-add-Werror-to-build-flags.patch +# for patch0 0001-configure-don-t-add-Werror-to-build-flags.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: help2man +BuildRequires: libtool +# BuildRequires: info -BuildRequires: pkg-config +BuildRequires: pkgconfig Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -62,8 +69,12 @@ http://www.gnutls.org %prep %setup -q +%patch0 -p1 %build +# for patch0 0001-configure-don-t-add-Werror-to-build-flags.patch +autoreconf -fiv +# %configure --disable-static make %{?_smp_mflags} V=1