Compare commits

...
Sign in to create a new pull request.

28 commits

Author SHA1 Message Date
Jonathan Wakely
3f2013d775 Rebuilt for Boost 1.90 2026-01-12 15:16:23 +00:00
Python Maint
25309aa7f9 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:09:39 +02:00
Python Maint
0b4eb98247 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:40:25 +02:00
Fedora Release Engineering
9f49f7f938 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:50:32 +00:00
Python Maint
87650282de Rebuilt for Python 3.14 2025-06-03 14:28:38 +02:00
Fedora Release Engineering
d23fb42a35 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 12:47:30 +00:00
Miroslav Suchý
5752be6592 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-28 08:17:29 +02:00
Fedora Release Engineering
74a11d67ae Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:32:04 +00:00
Python Maint
a92b6063e4 Rebuilt for Python 3.13 2024-06-08 22:30:55 +02:00
David Abdurachmanov
23e501f853 Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-02-24 11:41:26 +00:00
Fedora Release Engineering
ce6ffcd1b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:43:38 +00:00
Fedora Release Engineering
422a184182 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:37:59 +00:00
Jonathan Wakely
f849c1ed0a Rebuilt for Boost 1.83 2024-01-17 21:24:17 +00:00
Fedora Release Engineering
f006e943bb Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:51:25 +00:00
Python Maint
7445671560 Rebuilt for Python 3.12 2023-06-14 06:13:28 +02:00
Jonathan Wakely
d5a75da6b8 Rebuilt for Boost 1.81 2023-02-20 21:49:04 +00:00
Thomas Moschny
f3877e62a7 Add patch to fix FTBFS. 2023-01-22 13:08:27 +01:00
Fedora Release Engineering
e594e34ca9 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:06:17 +00:00
Fedora Release Engineering
4b4741f387 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:12:16 +00:00
Jonathan Wakely
0b2460631d Replace obsolete boost-python3-devel build dependency (#2100748) 2022-06-24 09:16:40 +01:00
Python Maint
14fb5a3b80 Rebuilt for Python 3.11 2022-06-13 19:53:12 +02:00
Thomas Rodgers
a1881f2615 Rebuilt for Boost 1.78 2022-05-04 11:37:45 +02:00
Fedora Release Engineering
430ac8a435 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:32:44 +00:00
Thomas Moschny
e3ac435d6f Fix FTBFS on F35 and later. 2021-09-11 18:13:20 +02:00
Jonathan Wakely
acb4309eee Rebuilt for Boost 1.76 2021-08-06 22:25:12 +01:00
Fedora Release Engineering
27a64fc16c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:49:07 +00:00
Fedora Release Engineering
6523c72781 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:51:53 +00:00
Python Maint
67e7949731 Rebuilt for Python 3.10 2021-06-04 20:00:38 +02:00
4 changed files with 152 additions and 7 deletions

View file

@ -0,0 +1,7 @@
diff --git a/src/build-data/arch/riscv64.txt b/src/build-data/arch/riscv64.txt
new file mode 100644
index 0000000..6e5e0ff
--- /dev/null
+++ b/src/build-data/arch/riscv64.txt
@@ -0,0 +1 @@
+endian little

View file

@ -0,0 +1,38 @@
diff -up Botan-1.10.17/doc/conf.py.orig Botan-1.10.17/doc/conf.py
--- Botan-1.10.17/doc/conf.py.orig 2017-10-02 08:00:00.000000000 +0200
+++ Botan-1.10.17/doc/conf.py 2021-09-11 17:57:38.159934955 +0200
@@ -40,10 +40,10 @@ version.
def check_sphinx_version():
import sphinx
- version = map(int, sphinx.__version__.split('.'))
+ version = list(map(int, sphinx.__version__.split('.')))
if version[0] == 1 and version[1] == 0 and version[2] < 7:
# Exit rather than throwing to avoid a confusing backtrace
- print "This Sphinx is too old - upgrade to at least 1.0.7"
+ print("This Sphinx is too old - upgrade to at least 1.0.7")
import sys
sys.exit(1)
@@ -66,8 +66,8 @@ source_suffix = '.txt'
master_doc = 'contents'
# General information about the project.
-project = u'botan'
-copyright = u'2000-2011, Jack Lloyd'
+project = 'botan'
+copyright = '2000-2011, Jack Lloyd'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -214,8 +214,8 @@ htmlhelp_basename = 'botandoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('contents', 'botan.tex', u'botan Reference Manual',
- u'Jack Lloyd', 'manual'),
+ ('contents', 'botan.tex', 'botan Reference Manual',
+ 'Jack Lloyd', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of

View file

@ -0,0 +1,12 @@
diff -up Botan-1.10.17/src/hash/gost_3411/gost_3411.cpp~ Botan-1.10.17/src/hash/gost_3411/gost_3411.cpp
--- Botan-1.10.17/src/hash/gost_3411/gost_3411.cpp~ 2017-10-02 08:00:00.000000000 +0200
+++ Botan-1.10.17/src/hash/gost_3411/gost_3411.cpp 2023-01-22 13:01:38.984150336 +0100
@@ -91,7 +91,7 @@ void GOST_34_11::compress_n(const byte i
// P transformation
for(size_t k = 0; k != 4; ++k)
{
- const uint64_t UVk = U[k] ^ V[k];
+ const u64bit UVk = U[k] ^ V[k];
for(size_t l = 0; l != 8; ++l)
key[4*l+k] = get_byte(l, UVk);
}

View file

@ -2,10 +2,11 @@
Name: botan
Version: %{major_version}.17
Release: 24%{?dist}
Release: 51%{?dist}
Summary: Crypto library written in C++
License: BSD
# Automatically converted from old format: BSD - review is highly recommended.
License: LicenseRef-Callaway-BSD
URL: http://botan.randombit.net/
# tarfile is stripped using repack.sh. original tarfile to be found
# here: http://botan.randombit.net/releases/Botan-%%{version}.tgz
@ -17,15 +18,23 @@ Patch0: botan-1.10.5-ecc-fix.patch
Patch1: botan-boost_python.patch
# Fix wrong path
Patch2: botan-1.10.13-python-init.patch
# 2to3 doc/conf.py
Patch3: botan-1.10.17-doc-conf-2to3.patch
# Fix FTBFS
Patch4: botan-1.10.17-u64bit.patch
# Add RISC-V (riscv64)
# Upstream in later versions:
# https://github.com/randombit/botan/blob/master/src/build-data/arch/riscv64.txt
Patch9: Botan-1.10.17-add-riscv64.patch
BuildRequires: gcc-c++
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-sphinx
BuildRequires: boost-python3-devel
BuildRequires: boost-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: make
BuildRequires: make
# do not check .so files in the python_sitelib directories
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
@ -78,9 +87,7 @@ interfaces may change in the future.
%prep
%setup -q -n Botan-%{version}
%patch0 -p1 -b .eccfix
%patch1 -p1
%patch2 -p1
%autosetup -p1 -n Botan-%{version}
# These tests will fail.
rm -rf checks/ec_tests.cpp
@ -193,6 +200,87 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Mon Jan 12 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 1.10.17-51
- Rebuilt for Boost 1.90
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.10.17-50
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.10.17-49
- Rebuilt for Python 3.14.0rc2 bytecode
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.10.17-47
- Rebuilt for Python 3.14
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Aug 28 2024 Miroslav Suchý <msuchy@redhat.com> - 1.10.17-45
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.10.17-43
- Rebuilt for Python 3.13
* Sat Feb 24 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.10.17-42
- Add support for riscv64
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 17 2024 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-39
- Rebuilt for Boost 1.83
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.10.17-37
- Rebuilt for Python 3.12
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-36
- Rebuilt for Boost 1.81
* Sun Jan 22 2023 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-35
- Add patch to fix FTBFS.
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 24 2022 Jonathan Wakely <jwakely@redhat.com> - .17-32
- Replace obsolete boost-python3-devel build dependency (#2100748)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.10.17-31
- Rebuilt for Python 3.11
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1.10.17-30
- Rebuilt for Boost 1.78
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Sep 11 2021 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-28
- Fix FTBFS on F35 and later.
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-27
- Rebuilt for Boost 1.76
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.10.17-25
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild