diff options
author | Matt Whitlock <gentoo@mattwhitlock.name> | 2023-09-21 17:41:32 -0400 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-10-09 12:54:05 +0200 |
commit | 380aad5fc649a00ae46644c130fb9a3b8970ee09 (patch) | |
tree | 06dd5d244d7c641fc95ce86c6193c3234e864f4f /net-p2p/bitcoind | |
parent | dev-python/pyside2-tools: add 5.15.11 (diff) | |
download | gentoo-380aad5fc649a00ae46644c130fb9a3b8970ee09.tar.gz gentoo-380aad5fc649a00ae46644c130fb9a3b8970ee09.tar.bz2 gentoo-380aad5fc649a00ae46644c130fb9a3b8970ee09.zip |
net-p2p/bitcoin-core-25.0: introduce combined package
This package combines:
- dev-util/bitcoin-tx (always installed)
- net-libs/libbitcoinconsensus (installed if USE="libs")
- net-p2p/bitcoin-cli (installed if USE="bitcoin-cli")
- net-p2p/bitcoind (installed if USE="daemon")
- net-p2p/bitcoin-qt (installed if USE="qt5")
To ease the transition, new ebuilds of the above packages at version
25.0 are added. These are empty packages that simply RDEPEND upon
net-p2p/bitcoin-core with the necessary USE flags.
Two new USE flags are introduced to control whether to embed internal
copies of LevelDB and libsecp256k1 into Bitcoin Core or to dynamically
link with the system-installed libraries.
The "sqlite" USE flag is now enabled by default, as descriptor wallets
are no longer experimental and are indeed now the default.
The "wallet" USE flag has been dropped, as it was redundant. If "berkdb"
and/or "sqlite" is enabled, then you get wallet support. If neither is
enabled, then you don't.
When a wallet is enabled, the 'bitcoin-wallet' utility is now installed.
The OpenRC init script has been overhauled to use -daemonwait so that
startup of other services needing bitcoind will be deferred until after
bitcoind is ready to accept RPCs.
The datadir that has long been located at the awkward
/var/lib/bitcoin/.bitcoin/ is migrating to /var/lib/bitcoind/. On
systems where the older path exists, the ebuild installs a symlink at
the new path, so that the system service will continue to work, and
emits an ewarn instructing the user to run the pkg_config() function to
perform the migration on their system.
The init scripts now specify the location for the debug log file,
defaulting to /var/log/bitcoind/debug.log, instead of allowing it to be
written by default to /var/lib/bitcoin/.bitcoin/debug.log. It's an
important distinction, as /var/log may be located on a different storage
volume than /var/lib.
Closes: https://bugs.gentoo.org/890261
Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/32978
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-p2p/bitcoind')
-rw-r--r-- | net-p2p/bitcoind/bitcoind-25.0.ebuild | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/bitcoind/bitcoind-25.0.ebuild b/net-p2p/bitcoind/bitcoind-25.0.ebuild new file mode 100644 index 000000000000..b0f60caef63e --- /dev/null +++ b/net-p2p/bitcoind/bitcoind-25.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Transitional package for net-p2p/bitcoin-core[daemon]" +HOMEPAGE="https://bitcoincore.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+asm +berkdb examples +external-signer nat-pmp +sqlite systemtap test upnp +wallet zeromq" +RESTRICT="!test? ( test )" + +RDEPEND=" + ~net-p2p/bitcoin-core-${PV}[daemon,asm=,berkdb=,examples=,external-signer=,nat-pmp=,sqlite=,systemtap=,test=,upnp=,zeromq=] + wallet? ( || ( ~net-p2p/bitcoin-core-${PV}[berkdb] ~net-p2p/bitcoin-core-${PV}[sqlite] ) ) +" |