2018-09-28 15:59:21 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# bitcoin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
package/bitcoin: security bump to version 26.0
For all release notes since 0.21.2, see [1].
This commit also:
- removes the package patches, all included in this release,
- removes the patch entry in ".checkpackageignore",
- adds a comment about pgp signature check in the hash file,
- updates the license hash, due to year update,
- adds the requirement on gcc >= 9, see [2],
- removes the dependency on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 which
is no longer needed, due to the gcc version requirement.
Fixes:
- [3]
Note: this CVE-2023-33297 is not explicitly mentioned in the Bitcoin
core release notes. It is not either appearing in CVE list at [4].
The change corresponding to this vulnerability is "#27610 Improve
performance of p2p inv to send queues" in the version 24.1 release
note. See [5] and [6].
[1] https://github.com/bitcoin/bitcoin/tree/v26.0/doc/release-notes
[2] https://github.com/bitcoin/bitcoin/blob/v26.0/doc/dependencies.md
[3] https://nvd.nist.gov/vuln/detail/CVE-2023-33297
[4] https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures
[5] https://github.com/bitcoin/bitcoin/blob/v26.0/doc/release-notes/release-notes-24.1.md?plain=1#L45
[6] https://github.com/bitcoin/bitcoin/pull/27610
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-03-09 17:52:37 +01:00
|
|
|
BITCOIN_VERSION = 26.0
|
2020-01-22 22:26:37 +01:00
|
|
|
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
|
2018-09-28 15:59:21 +02:00
|
|
|
BITCOIN_AUTORECONF = YES
|
|
|
|
BITCOIN_LICENSE = MIT
|
|
|
|
BITCOIN_LICENSE_FILES = COPYING
|
2021-01-30 14:31:15 +01:00
|
|
|
BITCOIN_CPE_ID_VENDOR = bitcoin
|
|
|
|
BITCOIN_CPE_ID_PRODUCT = bitcoin_core
|
2020-11-09 21:40:40 +01:00
|
|
|
BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
|
2020-11-10 21:17:07 +01:00
|
|
|
BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
|
2024-03-12 19:38:36 +01:00
|
|
|
# Berkeley Database (bdb) support is always disabled. It is only
|
|
|
|
# needed for legacy wallet format. New wallets are using SQLite.
|
2018-09-28 15:59:21 +02:00
|
|
|
BITCOIN_CONF_OPTS = \
|
2019-12-08 17:27:22 +01:00
|
|
|
--disable-bench \
|
2018-09-28 15:59:21 +02:00
|
|
|
--disable-tests \
|
|
|
|
--with-boost-libdir=$(STAGING_DIR)/usr/lib/ \
|
2019-12-08 17:27:24 +01:00
|
|
|
--disable-hardening \
|
2024-03-12 19:38:36 +01:00
|
|
|
--without-bdb \
|
2019-12-08 17:27:24 +01:00
|
|
|
--without-gui
|
2018-09-28 15:59:21 +02:00
|
|
|
|
2024-03-12 19:38:36 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_BITCOIN_WALLET),y)
|
|
|
|
BITCOIN_DEPENDENCIES += sqlite
|
|
|
|
BITCOIN_CONF_OPTS += \
|
|
|
|
--enable-wallet \
|
|
|
|
--with-sqlite
|
|
|
|
else
|
|
|
|
BITCOIN_CONF_OPTS += \
|
|
|
|
--disable-wallet \
|
|
|
|
--without-sqlite
|
|
|
|
endif
|
|
|
|
|
2019-12-08 17:27:23 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
|
|
|
|
BITCOIN_DEPENDENCIES += libminiupnpc
|
|
|
|
BITCOIN_CONF_OPTS += --with-miniupnpc
|
|
|
|
else
|
|
|
|
BITCOIN_CONF_OPTS += --without-miniupnpc
|
|
|
|
endif
|
|
|
|
|
2019-12-08 17:27:25 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
|
|
|
|
BITCOIN_DEPENDENCIES += zeromq
|
|
|
|
BITCOIN_CONF_OPTS += --with-zmq
|
|
|
|
else
|
|
|
|
BITCOIN_CONF_OPTS += --without-zmq
|
|
|
|
endif
|
|
|
|
|
2018-09-28 15:59:21 +02:00
|
|
|
$(eval $(autotools-package))
|