Skip to contentSkip to conversation

package/bitcoin: bump version to 32.1

PATCH In review Bernd Kuhls 2 participants 2 messages Nov 5 – Nov 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bitcoin: bump version to 32.1

https://bitcoincore.org/en/releases/32.1/
https://bitcoincore.org/en/releases/31.2/
https://bitcoincore.org/en/releases/31.1/

Removed patch 0001 due to the upstream removal of the libevent dependency in version 32.1.
Also removed the dependency on the libevent package.

Renumbered and rebased remaining patch.

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/db4b294b015b7f03be087b3e45b1de9ae3cbf31d

 ...ts.txt-Don-t-force-fstack-protector.patch} |  3 +-
 .../0001-Fix-static-link-of-libevent.patch    | 36 -------------------
 package/bitcoin/Config.in                     |  1 -
 package/bitcoin/bitcoin.hash                  |  6 ++--
 package/bitcoin/bitcoin.mk                    |  4 +--
 5 files changed, 7 insertions(+), 43 deletions(-)
 rename package/bitcoin/{0002-CMakeLists.txt-Don-t-force-fstack-protector.patch => 0001-CMakeLists.txt-Don-t-force-fstack-protector.patch} (94%)
 delete mode 100644 package/bitcoin/0001-Fix-static-link-of-libevent.patch
package/bitcoin/0001-CMakeLists.txt-Don-t-force-fstack-protector.patch renamed from package/bitcoin/0002-CMakeLists.txt-Don-t-force-fstack-protector.patch +2 -1
similarity index 94%
rename from package/bitcoin/0002-CMakeLists.txt-Don-t-force-fstack-protector.patch
rename to package/bitcoin/0001-CMakeLists.txt-Don-t-force-fstack-protector.patch
index 40370d1bf7..cca0b2c92b 100644
@@ -8,6 +8,7 @@ not, for example to support toolchains that don't have SSP support.
 
 Upstream: N/A Buildroot specific
 
+[Bernd: rebased for 32.1]
 Signed-off-by: Bernd Kuhls <[email protected]>
 ---
  CMakeLists.txt | 1 -
@@ -17,7 +18,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 892f30d94b..93ccbf71ec 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -532,7 +532,6 @@ else()
+@@ -551,7 +551,6 @@ else()
    unset(cxx_supports_fortify_source)
  
    try_append_cxx_flags("-Wstack-protector" TARGET core_interface SKIP_LINK)
package/bitcoin/0001-Fix-static-link-of-libevent.patch deleted +0 -36
deleted file mode 100644
index 8c8e95bd0f..0000000000
@@ -1,36 +0,0 @@
-From 28c3533e5fb350fe1c27cf06dee6928825bc7bf2 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Sat, 18 Jul 2026 07:46:09 +0200
-Subject: [PATCH] Fix static link of libevent
-
-Change link order to fix build error
-
-/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/i686-buildroot-linux-musl/14.3.0/../../../../i686-buildroot-linux-musl/bin/ld:
- /home/thomas/autobuild/instance-2/output-1/host/i686-buildroot-linux-musl/sysroot/usr/lib/libevent_extra.a(http.o):
- in function `evhttp_connection_retry':
-http.c:(.text+0x1f7b): undefined reference to `bufferevent_socket_get_conn_address_'
-
-Upstream: Not applicable (libevent support was removed in master branch)
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- src/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index ad18115bbc..8e2a7bfcce 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -355,8 +355,8 @@ if(BUILD_CLI)
-     bitcoin_cli
-     bitcoin_common
-     bitcoin_util
--    libevent::core
-     libevent::extra
-+    libevent::core
-   )
-   install_binary_component(bitcoin-cli HAS_MANPAGE)
- endif()
--- 
-2.47.3
-
package/bitcoin/Config.in +0 -1
index 835961718c..f1d6e560c3 100644
@@ -21,7 +21,6 @@ config BR2_PACKAGE_BITCOIN
 	depends on BR2_USE_WCHAR
 	select BR2_HOST_CMAKE_AT_LEAST_3_22
 	select BR2_PACKAGE_BOOST
-	select BR2_PACKAGE_LIBEVENT
 	help
 	  Bitcoin Core is an open source project which maintains and
 	  releases Bitcoin client software called “Bitcoin Core”.
package/bitcoin/bitcoin.hash +3 -3
index 3adfc7a5d0..72b2957879 100644
@@ -1,7 +1,7 @@
-# Hash from: https://bitcoincore.org/bin/bitcoin-core-31.1/SHA256SUMS
+# Hash from: https://bitcoincore.org/bin/bitcoin-core-32.1/SHA256SUMS
 # After checking pgp signature from:
-# https://bitcoincore.org/bin/bitcoin-core-31.1/SHA256SUMS.asc
-sha256  50411d5b43c7e4c90099394759eb6c2add6e7c2dbe728840893d638b6fc6afc9  bitcoin-31.1.tar.gz
+# https://bitcoincore.org/bin/bitcoin-core-32.1/SHA256SUMS.asc
+sha256  a5f2f61e32cf7f790641c9ec306a3c88ca7b5a556946956b1f35ffd7e27813f9  bitcoin-32.1.tar.gz
 
 # Hash for license file
 sha256  b028769f3852a9368ab10bd754ff01ebb741f84a2fa658c9aff82a631bc6ecfc  COPYING
package/bitcoin/bitcoin.mk +2 -2
index 857768eba8..810f8d3c29 100644
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-BITCOIN_VERSION = 31.1
+BITCOIN_VERSION = 32.1
 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_DEPENDENCIES = host-pkgconf boost
 BITCOIN_SUPPORTS_IN_SOURCE_BUILD = NO
 BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
 BITCOIN_CONF_OPTS = \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Bernd Kuhls

https://bitcoincore.org/en/releases/32.1/
https://bitcoincore.org/en/releases/31.2/
https://bitcoincore.org/en/releases/31.1/

Removed patch 0001 due to the upstream removal of the libevent dependency in version 32.1.
Also removed the dependency on the libevent package.

Renumbered and rebased remaining patch.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot