git: 1458023b2a74 - main - net-p2p/bitcoin{-daemon,utils}: Update to 30.1

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sat, 03 Jan 2026 22:02:11 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1458023b2a74e99dd07d85c89c026d374e0d2f2a

commit 1458023b2a74e99dd07d85c89c026d374e0d2f2a
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-01-03 21:28:17 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-01-03 21:59:36 +0000

    net-p2p/bitcoin{-daemon,utils}: Update to 30.1
    
    This is a larger than recent releases with an update to Qt6 and dropping
    of the legacy BDB wallet format.  See previous UPDATING message if you
    need wallet migration instructions; the conversion code is integrated
    and does not need BDB.
---
 net-p2p/bitcoin-daemon/Makefile |  3 ++-
 net-p2p/bitcoin-utils/Makefile  | 10 ++++++----
 net-p2p/bitcoin/Makefile        | 31 ++++++++++++++-----------------
 net-p2p/bitcoin/distinfo        |  6 +++---
 4 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/net-p2p/bitcoin-daemon/Makefile b/net-p2p/bitcoin-daemon/Makefile
index 402bd69f0aa6..4b6c2ee2c384 100644
--- a/net-p2p/bitcoin-daemon/Makefile
+++ b/net-p2p/bitcoin-daemon/Makefile
@@ -1,4 +1,3 @@
-PORTREVISION=	1
 PKGNAMESUFFIX=	-daemon
 
 COMMENT=	Virtual Peer-to-Peer Currency (Daemon)
@@ -8,6 +7,7 @@ SLAVE_PORT=	yes
 USE_RC_SUBR=	bitcoind
 
 CMAKE_ARGS=	-DBUILD_DAEMON=ON \
+		-DBUILD_BITCOIN_BIN=OFF \
 		-DBUILD_CLI=OFF \
 		-DBUILD_GUI=OFF \
 		-DBUILD_SHARED_LIBS=OFF \
@@ -22,6 +22,7 @@ GROUPS=		bitcoin
 
 PLIST_FILES=	"@sample %%ETCDIR%%.conf.sample" \
 		bin/bitcoind \
+		libexec/bitcoin-node \
 		share/man/man1/bitcoind.1.gz
 
 OPTIONS_DEFINE=		DEBUG HARDENING TESTS WALLET ZMQ
diff --git a/net-p2p/bitcoin-utils/Makefile b/net-p2p/bitcoin-utils/Makefile
index 7189a5914a90..ee55aecb310d 100644
--- a/net-p2p/bitcoin-utils/Makefile
+++ b/net-p2p/bitcoin-utils/Makefile
@@ -1,11 +1,11 @@
-PORTREVISION=	1
 PKGNAMESUFFIX=	-utils
 
 COMMENT=	Virtual Peer-to-Peer Currency (CLI and Utilities)
 
 SLAVE_PORT=	yes
 
-CMAKE_ARGS=	-DBUILD_CLI=ON \
+CMAKE_ARGS=	-DBUILD_BITCOIN_BIN=ON \
+		-DBUILD_CLI=ON \
 		-DBUILD_TX=ON \
 		-DBUILD_UTIL=ON \
 		-DBUILD_DAEMON=OFF \
@@ -14,12 +14,14 @@ CMAKE_ARGS=	-DBUILD_CLI=ON \
 
 MASTERDIR=	${.CURDIR}/../bitcoin
 
-PLIST_FILES=	bin/bitcoin-cli \
+PLIST_FILES=	bin/bitcoin \
+		bin/bitcoin-cli \
 		bin/bitcoin-tx \
 		bin/bitcoin-util \
 		share/man/man1/bitcoin-cli.1.gz \
 		share/man/man1/bitcoin-tx.1.gz \
-		share/man/man1/bitcoin-util.1.gz
+		share/man/man1/bitcoin-util.1.gz \
+		share/man/man1/bitcoin.1.gz
 
 OPTIONS_DEFINE=		DEBUG HARDENING TESTS WALLET
 OPTIONS_DEFAULT=	HARDENING TESTS WALLET
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile
index 6266fc6eba13..0b49cdf2e45e 100644
--- a/net-p2p/bitcoin/Makefile
+++ b/net-p2p/bitcoin/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	bitcoin
-PORTVERSION=	29.1
-PORTREVISION=	1
+PORTVERSION=	30.1
 CATEGORIES=	net-p2p finance
 MASTER_SITES=	https://bitcoincore.org/bin/bitcoin-core-${PORTVERSION}/ \
 		LOCAL/swills:icon
@@ -15,20 +14,23 @@ WWW=		https://www.bitcoin.org/
 
 LICENSE=	MIT
 
-LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
+BUILD_DEPENDS=	boost-libs>=1.74:devel/boost-libs
+
+LIB_DEPENDS=	libcapnp.so:devel/capnproto \
 		libevent.so:devel/libevent
 
 SLAVE_PORT?=	no
 
 USES=		cmake compiler:c++20-lang cpe pkgconfig
 .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
-USES+=		desktop-file-utils qt:5
-USE_QT=		core gui network widgets buildtools:build linguisttools:build \
-		qmake:build
+USES+=		desktop-file-utils gl qt:6
+USE_QT=		base tools:build
+USE_GL=		opengl
 .endif
 GH_ACCOUNT=	bitcoin
 
 CMAKE_ARGS?=	-DBUILD_GUI=ON \
+		-DBUILD_BITCOIN_BIN=OFF \
 		-DBUILD_CLI=OFF \
 		-DBUILD_DAEMON=OFF \
 		-DBUILD_SHARED_LIBS=OFF \
@@ -37,6 +39,7 @@ CMAKE_ARGS?=	-DBUILD_GUI=ON \
 		-DBUILD_WALLET_TOOL=OFF
 
 PLIST_FILES?=	bin/bitcoin-qt \
+		libexec/bitcoin-gui \
 		share/applications/bitcoin-qt.desktop \
 		share/man/man1/bitcoin-qt.1.gz \
 		share/pixmaps/bitcoin128.png
@@ -51,7 +54,6 @@ TESTS_DESC=	Build test binary and unit tests
 WALLET_DESC=	Wallet Management Support
 ZMQ_DESC=	Block and transaction broadcasting with ZeroMQ
 
-DBUS_USE=		QT=dbus
 DBUS_CMAKE_BOOL=	WITH_DBUS
 
 DEBUG_CMAKE_ON=		-DCMAKE_BUILD_TYPE=Debug
@@ -62,20 +64,15 @@ HARDENING_CMAKE_BOOL=	ENABLE_HARDENING
 QRCODES_LIB_DEPENDS=	libqrencode.so:graphics/libqrencode
 QRCODES_CMAKE_BOOL=	WITH_QRENCODE
 
-.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
-TESTS_USE=		QT=testlib
-.endif
 TESTS_CMAKE_BOOL=	BUILD_BENCH BUILD_TESTS SECP256K1_BUILD_TESTS
-TESTS_PLIST_FILES=	bin/bench_bitcoin \
-			bin/test_bitcoin
+TESTS_PLIST_FILES=	libexec/bench_bitcoin \
+			libexec/test_bitcoin
 .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
-TESTS_PLIST_FILES+=	bin/test_bitcoin-qt
+TESTS_PLIST_FILES+=	libexec/test_bitcoin-qt
 .endif
 
-WALLET_USES=		bdb:5 sqlite:3
-WALLET_CMAKE_ON=	-DENABLE_WALLET=ON \
-			-DWARN_INCOMPATIBLE_BDB=OFF \
-			-DWITH_BDB=ON
+WALLET_USES=		sqlite:3
+WALLET_CMAKE_ON=	-DENABLE_WALLET=ON
 WALLET_CMAKE_OFF=	-DENABLE_WALLET=OFF
 
 ZMQ_BUILD_DEPENDS=	libzmq4>0:net/libzmq4
diff --git a/net-p2p/bitcoin/distinfo b/net-p2p/bitcoin/distinfo
index ffb5bf182917..157aaa344b2a 100644
--- a/net-p2p/bitcoin/distinfo
+++ b/net-p2p/bitcoin/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1757669323
-SHA256 (bitcoin/bitcoin-29.1.tar.gz) = 067f624ae273b0d85a1554ffd7c098923351a647204e67034df6cc1dfacfa06b
-SIZE (bitcoin/bitcoin-29.1.tar.gz) = 12880902
+TIMESTAMP = 1767426757
+SHA256 (bitcoin/bitcoin-30.1.tar.gz) = 5d5518782c3000f64717ec1b4291e7e609a1f900d9729ee83c982243779c3f43
+SIZE (bitcoin/bitcoin-30.1.tar.gz) = 12681309
 SHA256 (bitcoin/bitcoin128.png) = ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722
 SIZE (bitcoin/bitcoin128.png) = 10639