Files
buildroot/package/bitcoin/bitcoin.mk
Bernd Kuhls 2f4d619a4c package/bitcoin: bump to version 30.2
https://bitcoincore.org/en/releases/30.2/

Note: this version fixes an important wallet migration bug present in
version 30.0 and 30.1. See:
https://bitcoincore.org/en/2026/01/05/wallet-migration-bug/

Updated license hash due to copyright year bump:
ed0774bd08

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: add note about wallet migration bug]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-01-14 20:58:24 +01:00

39 lines
974 B
Makefile

################################################################################
#
# bitcoin
#
################################################################################
BITCOIN_VERSION = 30.2
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
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
BITCOIN_CONF_OPTS = \
-DBUILD_BENCH=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_GUI=OFF \
-DENABLE_IPC=OFF
ifeq ($(BR2_PACKAGE_BITCOIN_WALLET),y)
BITCOIN_DEPENDENCIES += sqlite
BITCOIN_CONF_OPTS += \
-DENABLE_WALLET=ON
else
BITCOIN_CONF_OPTS += \
-DENABLE_WALLET=OFF
endif
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
BITCOIN_DEPENDENCIES += zeromq
BITCOIN_CONF_OPTS += -DWITH_ZMQ=ON
else
BITCOIN_CONF_OPTS += -DWITH_ZMQ=OFF
endif
$(eval $(cmake-package))