Update to 1.8.8.
This commit is contained in:
parent
1e3719bc90
commit
6b42b28a31
@ -1 +1 @@
|
|||||||
Botan-1.8.7.tbz
|
Botan-1.8.8.tbz
|
||||||
|
28
botan-1.8.8-binutils_lea_offset.patch
Normal file
28
botan-1.8.8-binutils_lea_offset.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# patch "src/hash/sha1_amd64/sha1_amd64_imp.S"
|
||||||
|
# from [dd263db10309950dec501dd9257a8df43cf6c6aa]
|
||||||
|
# to [ab1db7a394b41a1d3b9a63a6e8e1571e4671b962]
|
||||||
|
#
|
||||||
|
============================================================
|
||||||
|
--- src/hash/sha1_amd64/sha1_amd64_imp.S dd263db10309950dec501dd9257a8df43cf6c6aa
|
||||||
|
+++ src/hash/sha1_amd64/sha1_amd64_imp.S ab1db7a394b41a1d3b9a63a6e8e1571e4671b962
|
||||||
|
@@ -103,10 +103,16 @@ ALIGN;
|
||||||
|
|
||||||
|
subq $320, W
|
||||||
|
|
||||||
|
+/*
|
||||||
|
+* Using negative values for SHA-1 constants > 2^31 to work around
|
||||||
|
+* a bug in binutils not accepting large lea displacements.
|
||||||
|
+* -0x70E44324 == 0x8F1BBCDC
|
||||||
|
+* -0x359D3E2A == 0xCA62C1D6
|
||||||
|
+*/
|
||||||
|
#define MAGIC1 0x5A827999
|
||||||
|
#define MAGIC2 0x6ED9EBA1
|
||||||
|
-#define MAGIC3 0x8F1BBCDC
|
||||||
|
-#define MAGIC4 0xCA62C1D6
|
||||||
|
+#define MAGIC3 -0x70E44324
|
||||||
|
+#define MAGIC4 -0x359D3E2A
|
||||||
|
|
||||||
|
#define T %esi
|
||||||
|
#define T2 %eax
|
13
botan.spec
13
botan.spec
@ -1,12 +1,13 @@
|
|||||||
Name: botan
|
Name: botan
|
||||||
Version: 1.8.7
|
Version: 1.8.8
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Crypto library written in C++
|
Summary: Crypto library written in C++
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://botan.randombit.net/
|
URL: http://botan.randombit.net/
|
||||||
Source0: http://files.randombit.net/botan/Botan-%{version}.tbz
|
Source0: http://files.randombit.net/botan/Botan-%{version}.tbz
|
||||||
|
Patch0: botan-1.8.8-binutils_lea_offset.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -45,6 +46,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Botan-%{version}
|
%setup -q -n Botan-%{version}
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -110,6 +112,13 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 19 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.8-2
|
||||||
|
- Add patch from upstream to build with binutils-2.20.51.0.2.
|
||||||
|
Fixes bz 538949 (ftbfs).
|
||||||
|
|
||||||
|
* Thu Nov 5 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.8-1
|
||||||
|
- Update to 1.8.8, a bugfix release.
|
||||||
|
|
||||||
* Thu Sep 10 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.7-1
|
* Thu Sep 10 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.7-1
|
||||||
- Update to 1.8.7. This is mainly a bugfix release.
|
- Update to 1.8.7. This is mainly a bugfix release.
|
||||||
|
|
||||||
|
@ -5,3 +5,4 @@ botan-1_8_2-1_fc12:F-10:botan-1.8.2-1.fc12.src.rpm:1242459647
|
|||||||
botan-1_8_5-2_fc11:F-10:botan-1.8.5-2.fc11.src.rpm:1250101840
|
botan-1_8_5-2_fc11:F-10:botan-1.8.5-2.fc11.src.rpm:1250101840
|
||||||
botan-1_8_6-1_fc11:F-10:botan-1.8.6-1.fc11.src.rpm:1250179466
|
botan-1_8_6-1_fc11:F-10:botan-1.8.6-1.fc11.src.rpm:1250179466
|
||||||
botan-1_8_7-1_fc11:F-10:botan-1.8.7-1.fc11.src.rpm:1252624897
|
botan-1_8_7-1_fc11:F-10:botan-1.8.7-1.fc11.src.rpm:1252624897
|
||||||
|
botan-1_8_8-2_fc12:F-10:botan-1.8.8-2.fc12.src.rpm:1258665861
|
||||||
|
Loading…
Reference in New Issue
Block a user