package/bitcoin: bump to version 30.0

Changelog:
https://bitcoincore.org/en/releases/29.0/
https://bitcoincore.org/en/releases/30.0/

License file hash changed, due to year update in upstream commit:
b537a2c02a

Switch build system to CMake.

https://bitcoincore.org/en/releases/29.0/
- The minimum required CMake version is 3.22.
- In-source builds are not allowed.
- MiniUPnPc and libnatpmp have been removed as dependencies

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-10-20 22:05:39 +02:00
committed by Julien Olivain
parent 632aade2c5
commit fabcd7c8cc
3 changed files with 16 additions and 28 deletions

View File

@@ -15,6 +15,7 @@ config BR2_PACKAGE_BITCOIN
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
depends on BR2_USE_WCHAR
select BR2_HOST_CMAKE_AT_LEAST_3_22
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_SYSTEM
select BR2_PACKAGE_BOOST_FILESYSTEM

View File

@@ -1,7 +1,7 @@
# Hash from: https://bitcoincore.org/bin/bitcoin-core-28.0/SHA256SUMS
# Hash from: https://bitcoincore.org/bin/bitcoin-core-30.0/SHA256SUMS
# After checking pgp signature from:
# https://bitcoincore.org/bin/bitcoin-core-28.0/SHA256SUMS.asc
sha256 700ae2d1e204602eb07f2779a6e6669893bc96c0dca290593f80ff8e102ff37f bitcoin-28.0.tar.gz
# https://bitcoincore.org/bin/bitcoin-core-30.0/SHA256SUMS.asc
sha256 9b472a4d51dfed9aa9d0ded2cb8c7bcb9267f8439a23a98f36eb509c1a5e6974 bitcoin-30.0.tar.gz
# Hash for license file
sha256 779d9beab4eef2340bb1e86e91f8f55dea9b0985a2d03fbcbb52bd713e091e1b COPYING
sha256 7c4a87f43afaf667b4c2187af92ebdd27310a24cec113f973e058e3300a76002 COPYING

View File

@@ -4,48 +4,35 @@
#
################################################################################
BITCOIN_VERSION = 28.0
BITCOIN_VERSION = 30.0
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
BITCOIN_AUTORECONF = YES
BITCOIN_LICENSE = MIT
BITCOIN_LICENSE_FILES = COPYING
BITCOIN_CPE_ID_VENDOR = bitcoin
BITCOIN_CPE_ID_PRODUCT = bitcoin_core
BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
BITCOIN_SUPPORTS_IN_SOURCE_BUILD = NO
BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
# Berkeley Database (bdb) support is always disabled. It is only
# needed for legacy wallet format. New wallets are using SQLite.
BITCOIN_CONF_OPTS = \
--disable-bench \
--disable-tests \
--with-boost-libdir=$(STAGING_DIR)/usr/lib/ \
--disable-hardening \
--without-bdb \
--without-gui
-DBUILD_BENCH=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_GUI=OFF \
-DENABLE_IPC=OFF
ifeq ($(BR2_PACKAGE_BITCOIN_WALLET),y)
BITCOIN_DEPENDENCIES += sqlite
BITCOIN_CONF_OPTS += \
--enable-wallet \
--with-sqlite
-DENABLE_WALLET=ON
else
BITCOIN_CONF_OPTS += \
--disable-wallet \
--without-sqlite
endif
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
BITCOIN_DEPENDENCIES += libminiupnpc
BITCOIN_CONF_OPTS += --with-miniupnpc
else
BITCOIN_CONF_OPTS += --without-miniupnpc
-DENABLE_WALLET=OFF
endif
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
BITCOIN_DEPENDENCIES += zeromq
BITCOIN_CONF_OPTS += --with-zmq
BITCOIN_CONF_OPTS += -DWITH_ZMQ=ON
else
BITCOIN_CONF_OPTS += --without-zmq
BITCOIN_CONF_OPTS += -DWITH_ZMQ=OFF
endif
$(eval $(autotools-package))
$(eval $(cmake-package))