diff --git a/Botan-2.19.5.tar.xz b/Botan-2.19.5.tar.xz deleted file mode 100644 index 549187d..0000000 --- a/Botan-2.19.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfeea0e0a6f26d6724c4af01da9a7b88487adb2d81ba7c72fcaf52db522c9ad4 -size 6140148 diff --git a/Botan-2.19.5.tar.xz.asc b/Botan-2.19.5.tar.xz.asc deleted file mode 100644 index 08053a1..0000000 --- a/Botan-2.19.5.tar.xz.asc +++ /dev/null @@ -1,12 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEYh2vZBHhhRxM+aLhYhHr8e+637wFAmaL/agACgkQYhHr8e+6 -37wGJggAnreZh5SxH/FQTgeLtLD+Fb11cnyBstQeWuJq0Np/bPSsEzwgMLu9F/0/ -DWOH74eDLds8FUhh/w39bOkNgd2r6FTBLjnN1g8M86jsTg7ILlG04tbc1GF79Mx8 -GxDBdfNsKmqKEzVJBWHbwnqjvOR9oO2bdKLe2NCJ9jyrw5xyHNhfOEG7zXzpfFFN -DM16kl2OVYnYrbDQyVGW9JNi+038qyR3fBfkWInOd8WoiimrOTk5+HuBL06RhWGN -yiHT9P5AK/45fhCcs0yFiUpfrz85MfqqT6vIygV7v2fDElfpTX12LB1I7id8QyDN -m9gqpB0mP0ewxaO0sIuV0UXk+ntfDg== -=IUJq ------END PGP SIGNATURE----- - diff --git a/Botan-3.5.0.tar.xz b/Botan-3.5.0.tar.xz new file mode 100644 index 0000000..fac2d2a --- /dev/null +++ b/Botan-3.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67e8dae1ca2468d90de4e601c87d5f31ff492b38e8ab8bcbd02ddf7104ed8a9f +size 7256492 diff --git a/Botan-3.5.0.tar.xz.asc b/Botan-3.5.0.tar.xz.asc new file mode 100644 index 0000000..d0802b4 --- /dev/null +++ b/Botan-3.5.0.tar.xz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEYh2vZBHhhRxM+aLhYhHr8e+637wFAmaL+2IACgkQYhHr8e+6 +37zf+wf/U9GF3tguONnO/jcUeolt79VImmvda0nnMSeHkP67mpSFj+dAHZ9ZZHKL +2/TlzLHasb0hqZkmM08LtN4kUm8U6EZcfFV8c7Z3gcLIApepDejLk1Ya4/171GiV +tljiNpQOuX4GoaPkMO8QKBmbTSqXcaedu+CDp8LPiP3+t8cTSXm/rSZ8zJge+QO1 +0BemGyGnE2SftJfQOCEQtmt0m04g3efekv1xzMHQAzsorfXkqCYslCuOmmlcbObX +X/Bwr6yulwtzS5ON5YPZ33xQpISwBtwDEJcmPKDIGOoPecOxdc3qxL2qWPo5c3zs +YScRQOJLiDByh6iVINYHCuGpbdxrxw== +=nyD1 +-----END PGP SIGNATURE----- diff --git a/Botan.changes b/Botan.changes index a36543b..cb0cb2d 100644 --- a/Botan.changes +++ b/Botan.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jul 30 19:37:33 UTC 2024 - Andreas Stieger + +- Botan 3.5.0, the latest stable release of the Botan 3 series + * TLS 1.3 supported + * large header cleanup compared to v2 + * start support of Post Quantum Crypto + * removed: CAST-256, MISTY1, Kasumi, DESX, XTEA, PBKDF1, MCEIES, + CBC-MAC, Tiger, CECPQ1, and NewHope +- The legacy Botan 2 series moved to Botan2 source package. It is + EOL at the end of 2024. + ------------------------------------------------------------------- Mon Jul 15 05:50:55 UTC 2024 - Angel Yankov diff --git a/Botan.spec b/Botan.spec index 5712795..c809f43 100644 --- a/Botan.spec +++ b/Botan.spec @@ -2,6 +2,7 @@ # spec file for package Botan # # Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +17,10 @@ # -%{!?make_build: %define make_build make %{?_smp_mflags}} -%define version_suffix 2-19 -%define short_version 2 +%define version_suffix 3-5 +%define short_version 3 Name: Botan -Version: 2.19.5 +Version: 3.5.0 Release: 0 Summary: A C++ Crypto Library License: BSD-2-Clause @@ -31,7 +31,7 @@ Source1: https://botan.randombit.net/releases/Botan-%{version}.tar.xz.asc Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: bzip2 >= 1.0.2 -BuildRequires: gcc-c++ +BuildRequires: c++_compiler BuildRequires: libbz2-devel BuildRequires: pkgconfig BuildRequires: python3 @@ -39,6 +39,9 @@ BuildRequires: trousers-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(sqlite3) +%if 0%{?suse_version} < 1600 +BuildRequires: gcc12-c++ +%endif %description Botan is a C++ library that provides support for many common @@ -89,11 +92,15 @@ BuildArch: noarch Documentation of Botan package. %prep -%setup -q -n Botan-%{version} +%autosetup -n Botan-%{version} %build %define _lto_cflags %{nil} export RPM_OPT_FLAGS +%if 0%{?suse_version} < 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif python3 ./configure.py \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ @@ -103,7 +110,6 @@ python3 ./configure.py \ --with-bzip2 \ --with-zlib \ --with-lzma \ - --with-openmp \ --with-sqlite \ --with-tpm \ %ifarch %{ix86} @@ -122,30 +128,36 @@ python3 ./configure.py \ sed -i 's/env python/env python3/' src/scripts/install.py %make_install rm -f %{buildroot}/%{_libdir}/libbotan*.a -chmod +x %{buildroot}%{python3_sitearch}/botan2.py -sed -i '1s@^#!/.*@#!%{_bindir}/python3@' %{buildroot}%{python3_sitearch}/botan2.py - -rm %{buildroot}%{_bindir}/botan +chmod +x %{buildroot}%{python3_sitearch}/botan3.py +sed -i '1s@^#!/.*@#!%{_bindir}/python3@' %{buildroot}%{python3_sitearch}/botan3.py %check %make_build check -%post -n libbotan-%{version_suffix} -p /sbin/ldconfig -%postun -n libbotan-%{version_suffix} -p /sbin/ldconfig +%ldconfig_scriptlets -n libbotan-%{version_suffix} + +%files +%license license.txt +%{_bindir}/botan %files doc +%license license.txt %docdir %{botan_docdir} %{botan_docdir} %files -n libbotan-%{version_suffix} +%license license.txt %{_libdir}/libbotan-%{short_version}.so.* %files -n libbotan-devel +%license license.txt %{_libdir}/libbotan-%{short_version}.so %{_libdir}/pkgconfig/botan-%{short_version}.pc %{_includedir}/botan-%{short_version} +%{_libdir}/cmake %files -n python3-botan -%{python3_sitearch}/botan2.py +%license license.txt +%{python3_sitearch}/botan3.py %changelog diff --git a/baselibs.conf b/baselibs.conf index d947825..99dad08 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libbotan-2-19 +libbotan-3-5 libbotan-devel requires -libbotan- = - requires "libbotan-2-19- = " + requires "libbotan-3-5- = "