View | Details | Raw Unified | Return to bug 226527 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/bitcoin/Makefile (-3 / +14 lines)
Lines 4-10 Link Here
4
PORTNAME=	bitcoin
4
PORTNAME=	bitcoin
5
PORTVERSION=	0.16.0
5
PORTVERSION=	0.16.0
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION?=	0
7
PORTREVISION?=	1
8
CATEGORIES=	net-p2p finance
8
CATEGORIES=	net-p2p finance
9
9
10
MAINTAINER=	kbowling@FreeBSD.org
10
MAINTAINER=	kbowling@FreeBSD.org
Lines 37-45 TESTS_PLIST_FILES= bin/test_bitcoin-qt \ Link Here
37
.endif
37
.endif
38
38
39
OPTIONS_DEFINE?=	DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ
39
OPTIONS_DEFINE?=	DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ
40
OPTIONS_DEFAULT?=	DBUS HARDENING QRCODES UPNP WALLET
40
OPTIONS_SINGLE=		BDBVER
41
OPTIONS_SINGLE_BDBVER=	BDB48 BDBMODERN
42
OPTIONS_DEFAULT?=	BDBMODERN DBUS HARDENING QRCODES UPNP WALLET
41
OPTIONS_SUB=		yes
43
OPTIONS_SUB=		yes
42
44
45
BDBVER_DESC=	Berkeley DB version to use for wallet
46
BDB48_DESC=	Use BDB 4.8 (compatible with 5.x and 6.x)
47
BDBMODERN_DESC=	Use BDB 5.x or 6.x (not compatible with 4.8)
43
HARDENING_DESC=	Attempt to harden binaries (PIE for ASLR, NX Stack)
48
HARDENING_DESC=	Attempt to harden binaries (PIE for ASLR, NX Stack)
44
QRCODES_DESC=	Display QR Codes
49
QRCODES_DESC=	Display QR Codes
45
TESTS_DESC=	Build test binary and unit tests
50
TESTS_DESC=	Build test binary and unit tests
Lines 71-77 QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode Link Here
71
WALLET_CONFIGURE_ENABLE=	wallet
76
WALLET_CONFIGURE_ENABLE=	wallet
72
WALLET_CXXFLAGS=		-I${BDB_INCLUDE_DIR}
77
WALLET_CXXFLAGS=		-I${BDB_INCLUDE_DIR}
73
WALLET_LIBS=			-L${BDB_LIB_DIR}
78
WALLET_LIBS=			-L${BDB_LIB_DIR}
74
WALLET_USES=			bdb:48
75
79
76
ZMQ_CONFIGURE_ENABLE=	zmq
80
ZMQ_CONFIGURE_ENABLE=	zmq
77
ZMQ_BUILD_DEPENDS=	libzmq4>0:net/libzmq4
81
ZMQ_BUILD_DEPENDS=	libzmq4>0:net/libzmq4
Lines 94-99 PLIST_FILES?= bin/bitcoin-qt man/man1/bitcoin-qt.1.gz \ Link Here
94
98
95
.include <bsd.port.pre.mk>
99
.include <bsd.port.pre.mk>
96
100
101
.if empty(PORT_OPTIONS:MBDB48)
102
WALLET_CONFIGURE_ON=		--with-incompatible-bdb
103
WALLET_USES=			bdb:5+
104
.else
105
WALLET_USES=			bdb:48
106
.endif
107
97
.if ${OSVERSION} < 1100000
108
.if ${OSVERSION} < 1100000
98
CONFIGURE_ARGS+=--disable-asm
109
CONFIGURE_ARGS+=--disable-asm
99
.endif
110
.endif
(-)b/net-p2p/bitcoin/pkg-help (+18 lines)
Added Link Here
1
The wallet is stored in a Berkeley database file (BDB) (usually
2
~/.bitcoin/wallets/wallet.dat).
3
4
Bitcoin Core can use either BDB 4.8, 5.x or 6.x to create and access the
5
wallet file.
6
7
Wallets created using BDB 4.8 are also accessible by BDB 5.x and 6.x.
8
9
Wallets created using BDB 5.x or 6.x are not accessible by BDB 4.8.
10
11
Opening and using a wallet created by 4.8 with a higher major version (5.x
12
or 6.x) does not change its format, so it will still be accessible to 4.8
13
afterwards. But encrypting an unencrypted wallet recreates it, so encrypting
14
a 4.8 wallet with Bitcoin Core linked against BDB 5.x or 6.x will render it
15
unreadable for Bitcoin Core linked against BDB 4.8.
16
17
If you do not plan on copying the wallet file to another machine that uses
18
BDB 4.8 then it is recommended to use the modern versions of BDB 5.x or 6.x.

Return to bug 226527