- Update to release GMP 5.0.3
* A slight timing leak of the powm_sec functions have been sealed. (This leak could possibly be used to extract the most significant few bits of the exponent. "Few" here means at most 10.) * The mpz_nextprime function now runs a safer number of pseudo-random prime tests. * A bug in division code possibly causing incorrect computation was fixed. * New CPUs recognised. * IBM S/390 are now supported in both 31/32-bit and 64-bit mode. - Dropped SUSE local patches for S/390 support. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=22
This commit is contained in:
parent
7ed2aeafd6
commit
55c6ba998a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28
|
||||
size 2024576
|
3
gmp-5.0.3.tar.bz2
Normal file
3
gmp-5.0.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcafe9989c7f332b373e1f766af8e9cd790fc802fdec422a1910a6ef783480e3
|
||||
size 2010173
|
@ -1,60 +0,0 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in.orig 2010-02-06 13:43:13.000000000 +0100
|
||||
+++ configure.in 2010-09-06 15:46:08.000000000 +0200
|
||||
@@ -1095,6 +1095,9 @@ case $host in
|
||||
;;
|
||||
|
||||
|
||||
+ s390x-*-*)
|
||||
+ path="s390x" ;;
|
||||
+
|
||||
# IBM s/370 and similar
|
||||
[s3[6-9]0*-*-*])
|
||||
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
|
||||
Index: mpn/s390x/gmp-mparam.h
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ mpn/s390x/gmp-mparam.h 2010-09-06 15:48:08.000000000 +0200
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* gmp-mparam.h -- Compiler/machine parameter header file.
|
||||
+
|
||||
+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
+
|
||||
+This file is part of the GNU MP Library.
|
||||
+
|
||||
+The GNU MP Library is free software; you can redistribute it and/or modify
|
||||
+it under the terms of the GNU Library General Public License as published by
|
||||
+the Free Software Foundation; either version 2 of the License, or (at your
|
||||
+option) any later version.
|
||||
+
|
||||
+The GNU MP Library is distributed in the hope that it will be useful, but
|
||||
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
|
||||
+License for more details.
|
||||
+
|
||||
+You should have received a copy of the GNU Library General Public License
|
||||
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
|
||||
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
||||
+MA 02111-1307, USA. */
|
||||
+
|
||||
+#define GMP_LIMB_BITS 64
|
||||
+#define BYTES_PER_MP_LIMB 8
|
||||
+#define BITS_PER_LONGINT 64
|
||||
+#define BITS_PER_INT 32
|
||||
+#define BITS_PER_SHORTINT 16
|
||||
+#define BITS_PER_CHAR 8
|
||||
Index: configure
|
||||
===================================================================
|
||||
--- configure.orig 2010-02-06 13:43:19.000000000 +0100
|
||||
+++ configure 2010-09-06 15:46:08.000000000 +0200
|
||||
@@ -4833,6 +4833,9 @@ echo "include_mpn(\`mips32/mips-defs.m4'
|
||||
;;
|
||||
|
||||
|
||||
+ s390x-*-*)
|
||||
+ path="s390x" ;;
|
||||
+
|
||||
# IBM s/370 and similar
|
||||
s3[6-9]0*-*-*)
|
||||
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
|
14
gmp.changes
14
gmp.changes
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 09:13:23 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to release GMP 5.0.3
|
||||
* A slight timing leak of the powm_sec functions have been sealed. (This
|
||||
leak could possibly be used to extract the most significant few bits of the
|
||||
exponent. "Few" here means at most 10.)
|
||||
* The mpz_nextprime function now runs a safer number of pseudo-random prime
|
||||
tests.
|
||||
* A bug in division code possibly causing incorrect computation was fixed.
|
||||
* New CPUs recognised.
|
||||
* IBM S/390 are now supported in both 31/32-bit and 64-bit mode.
|
||||
- Dropped SUSE local patches for S/390 support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 00:04:11 CEST 2011 - dmueller@suse.de
|
||||
|
||||
|
21
gmp.spec
21
gmp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gmp
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,27 +15,22 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: gmp
|
||||
BuildRequires: gcc-c++
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gmp-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 5.0.2
|
||||
Release: 7
|
||||
Version: 5.0.3
|
||||
Release: 0
|
||||
Summary: The GNU MP Library
|
||||
License: GPL-3.0+ ; LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
Url: http://gmplib.org/
|
||||
Source: gmp-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch0: gmp-noexec.diff
|
||||
Patch2: gmp-s390x.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -43,7 +38,6 @@ A library for calculating huge numbers (integer and floating point).
|
||||
|
||||
|
||||
%package -n libgmp10
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Shared library for the GNU MP Library
|
||||
Group: System/Libraries
|
||||
|
||||
@ -52,7 +46,6 @@ Shared library for the GNU MP Library.
|
||||
|
||||
|
||||
%package -n libgmpxx4
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: C++ bindings for the GNU MP Library
|
||||
Group: System/Libraries
|
||||
Requires: libgmp10 = %{version}
|
||||
@ -62,7 +55,6 @@ C++ bindings for the GNU MP Library.
|
||||
|
||||
|
||||
%package -n libmp3
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: BSD libmp bindings for the GNU MP Library
|
||||
Group: System/Libraries
|
||||
Requires: libgmp10 = %{version}
|
||||
@ -72,13 +64,11 @@ BSD libmp bindings for the GNU MP Library.
|
||||
|
||||
|
||||
%package devel
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Include Files and Libraries for Development with the GNU MP Library
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libgmp10 = %{version}
|
||||
Requires: libgmpxx4 = %{version}
|
||||
Requires: libmp3 = %{version}
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gmp-devel-64bit
|
||||
@ -101,7 +91,6 @@ Authors:
|
||||
%ifnarch %arm
|
||||
%patch0
|
||||
%endif
|
||||
%patch2
|
||||
|
||||
%build
|
||||
# export HOME=/tmp/
|
||||
|
Loading…
Reference in New Issue
Block a user