package/botan: cleanup boost dependencies
PATCH 1/1 package/botan: cleanup boost dependencies
- botan dropped the usage of Boost.Filesystem in 2.10.0 [0]
- botan never actively searched for Boost.System, as it is header-only the dependecy can be dropped too
The only part of boost botan currently uses is asio. So use --with-boost option when boost is selected.
[0] https://github.com/randombit/botan/commit/aff8cc8a7a5e22e3fedeae7ca82b63d4744ac82c
--- package/botan/Config.in | 2 -- package/botan/botan.mk | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
package/botan/Config.in +0 -2
@@ -17,8 +17,6 @@ config BR2_PACKAGE_BOTAN depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20 depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS help Botan is a crypto library for C++
package/botan/botan.mk +1 -1
@@ -58,7 +58,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) BOTAN_CONF_OPTS += --without-os-feature=explicit_bzero,getauxval,getentropy endif -ifeq ($(BR2_PACKAGE_BOOST_FILESYSTEM)$(BR2_PACKAGE_BOOST_SYSTEM),yy) +ifeq ($(BR2_PACKAGE_BOOST),y) BOTAN_DEPENDENCIES += boost BOTAN_CONF_OPTS += --with-boost endif
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Michael Nosthoff via buildroot
- botan dropped the usage of Boost.Filesystem in 2.10.0 [0]
- botan never actively searched for Boost.System, as it is header-only the dependecy can be dropped tooThe only part of boost botan currently uses is asio. So use --with-boost option
when boost is selected.[0] https://github.com/randombit/botan/commit/aff8cc8a7a5e22e3fedeae7ca82b63d4744ac82c
Signed-off-by Michael Nosthoff <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Michael Nosthoff via buildroot
- botan dropped the usage of Boost.Filesystem in 2.10.0 [0]
- botan never actively searched for Boost.System, as it is header-only the dependecy can be dropped tooThe only part of boost botan currently uses is asio. So use --with-boost option when boost is selected.
[0] https://github.com/randombit/botan/commit/aff8cc8a7a5e22e3fedeae7ca82b63d4744ac82c
Signed-off-by Michael Nosthoff <[email protected]>
Applied to 2025.02.x and 2026.05.x, thanks !
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot