diff options
author | vd <vd@FreeBSD.org> | 2018-03-30 01:52:54 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2018-03-30 01:52:54 +0800 |
commit | 68892c74876772806eaca3a9ecc1308e9459acea (patch) | |
tree | e213787bfe03f03f92c06faa67e83c1ed85cbf8c /net-p2p/bitcoin-daemon | |
parent | ee90e60ee187452ec001c80503183a4c7993e9be (diff) | |
download | freebsd-ports-gnome-68892c74876772806eaca3a9ecc1308e9459acea.tar.gz freebsd-ports-gnome-68892c74876772806eaca3a9ecc1308e9459acea.tar.zst freebsd-ports-gnome-68892c74876772806eaca3a9ecc1308e9459acea.zip |
net-p2p/bitcoin: Add an option to use newer BDB
Make the new option the default, so that when the port is recompiled it
will link against BDB 5.x or 6.x (whichever is the default in the system).
This will keep old wallet files readable and will not automatically
convert them in an incompatible with BDB 4.8 way. Newly created wallet
files will not be readable by Bitcoin Core versions linked with BDB 4.8.
Next thing to consider is to remove the option to link against BDB 4.8 as
this will remove the net-p2p/bitcoin -> databases/db48 dependency and will
make it possible to ditch the latter, which is scheduled for removal from
the ports collection on Apr 30 2018.
PR: 226527
Approved by: kbowling (maintainer), antoine
Diffstat (limited to 'net-p2p/bitcoin-daemon')
-rw-r--r-- | net-p2p/bitcoin-daemon/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-p2p/bitcoin-daemon/Makefile b/net-p2p/bitcoin-daemon/Makefile index 15fc32728a79..fecbd84c8df2 100644 --- a/net-p2p/bitcoin-daemon/Makefile +++ b/net-p2p/bitcoin-daemon/Makefile @@ -10,8 +10,10 @@ SLAVE_PORT= yes NOT_FOR_ARCHS= powerpc powerpc64 sparc64 NOT_FOR_ARCHS_REASON= does not support big-endian architectures -OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP WALLET ZMQ -OPTIONS_DEFAULT= HARDENING UPNP WALLET +OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP ZMQ +# WALLET_BDBMODERN is a choice for WALLET, introduced via OPTIONS_RADIO=WALLET +# from ${MASTERDIR}/Makefile +OPTIONS_DEFAULT= HARDENING UPNP WALLET_BDBMODERN USERS= bitcoin GROUPS= bitcoin |