<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/65f1eb4cfe8981579955ada1c16966258b60937d">https://github.com/macports/macports-ports/commit/65f1eb4cfe8981579955ada1c16966258b60937d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 65f1eb4cfe8981579955ada1c16966258b60937d
</span>Author: Jan StarĂ½ <hans@stare.cz>
AuthorDate: Thu Feb 1 19:05:57 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> bitcoin: update to 0.15.1
</span>---
finance/bitcoin/Portfile | 95 +++++++++++++++++++++++++-----------------------
1 file changed, 49 insertions(+), 46 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/finance/bitcoin/Portfile b/finance/bitcoin/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bee35ae..f0e4a1b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/finance/bitcoin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/finance/bitcoin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,7 @@ PortGroup cxx11 1.1
</span>
name bitcoin
categories finance crypto
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.14.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.15.1
</span> platforms darwin
license MIT
maintainers easieste yopmail.com:sami.laine openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,31 +19,43 @@ long_description Bitcoin is a peer-to-peer digital currency. By peer-to-p
</span> homepage https://bitcoin.org/
master_sites ${homepage}bin/bitcoin-core-${version}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 829bbda41c89597a747da30285472edd54962120 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f21203e07f054dce3177539be89a066d4faee1e2fa432157c1444e4e6dd4f9a3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a11078445daad75bbe2032da307d292670eece55 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 34de2dbe058c1f8b6464494468ebe2ff0422614203d292da1c6458d6f87342b4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:protobuf-cpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python36
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:autoconf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:automake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:db48 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libevent \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:miniupnpc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:protobuf-cpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libevent \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:miniupnpc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openssl \
</span> port:zmq
use_parallel_build yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles src-Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-ccache \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-ccache \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-upnp-default \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-tests \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-bench \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-hardening \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-reduce-exports \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-glibc-back-compat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-experimental-asm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-zmq \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-debug \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-werror \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-largefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-miniupnpc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-univalue \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-utils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# --disable-lcov enables lcov in 0.15.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/bitcoin/bitcoin/issues/10828
</span>
configure.args-append --with-daemon=no
configure.args-append --with-gui=no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,20 +92,21 @@ set launchd_plist_path "${prefix}/etc/LaunchDaemons/${launchd_label}/${
</span> set launchd_plist_symlink_path "/Library/LaunchDaemons/${launchd_label}.plist"
variant daemon description {Build and install the daemon} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --with-daemon=no --with-daemon=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-daemon=no --with-daemon=yes
</span> }
variant gui description {Build the Qt5 GUI} {
PortGroup qt5 1.0
PortGroup cxx11 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --with-gui=no --with-gui=qt5
</span> depends_lib-append port:qt5 port:qrencode
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-qrencode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-gui=no --with-gui=qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-qrencode --enable-gui-tests
</span> build.target-replace all appbundle
}
variant wallet description {Build with support for wallet} {
configure.args-replace --enable-wallet=no --enable-wallet=yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:db48
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -141,35 +153,26 @@ pre-deactivate {
</span>
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-1. A launch daemon entry has been created for ${name}. It is disabled
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- by default. To enable and load the daemon:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+1. A launch daemon entry has been created for ${name}.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It is disabled by default. To enable and load the daemon:
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ sudo launchctl load -w \"${launchd_plist_symlink_path}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo launchctl load -w \"${launchd_plist_symlink_path}\"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2. Edit \"${daemon_data_dir}\" and \"${gui_conf_file}\" to include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- the RPC credentials. See
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#running>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for more information.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2. The files \"${daemon_conf_file}\" and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \"${gui_conf_file}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contain the daemon and GUI configuration, respectively.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Review them, and include the RPC credentials. See also
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-3. To start the daemon manually in the background:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#running
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ ${daemon_path} -daemon
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-3. To view the daemon configuration:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Daemon:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ less \"${daemon_conf_file}\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # GUI:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ less \"${gui_conf_file}\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-4. To view the logs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+3. To start the daemon manually in the background:
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Daemon:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ tail -F \"${daemon_data_dir}debug.log\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # GUI:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd$ tail -F \"${gui_data_dir}debug.log\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${daemon_path} -daemon
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+4. View the logs with
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ tail -f \"${daemon_data_dir}debug.log\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tail -f \"${gui_data_dir}debug.log\"
</span> "
livecheck.type regex
</pre><pre style='margin:0'>
</pre>