[114736] trunk/dports/finance
easieste at macports.org
easieste at macports.org
Sat Dec 14 08:38:41 PST 2013
Revision: 114736
https://trac.macports.org/changeset/114736
Author: easieste at macports.org
Date: 2013-12-14 08:38:41 -0800 (Sat, 14 Dec 2013)
Log Message:
-----------
Segregate 'finance/bitcoind': build the Satoshi daemon from know good Github source.
Builds and installs a `${prefix}/sbin/bitcoind` built from a known,
good post 0.8.6 git commit.
'finance/bitcoin' remains hosed.
Modified Paths:
--------------
trunk/dports/finance/bitcoind/Portfile
Added Paths:
-----------
trunk/dports/finance/bitcoind/
Modified: trunk/dports/finance/bitcoind/Portfile
===================================================================
--- trunk/dports/finance/bitcoin/Portfile 2013-12-04 11:47:04 UTC (rev 114291)
+++ trunk/dports/finance/bitcoind/Portfile 2013-12-14 16:38:41 UTC (rev 114736)
@@ -2,52 +2,48 @@
# $Id$
PortSystem 1.0
-name bitcoin
+name bitcoind
categories finance crypto
-version 0.8.5
+version 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee
revision 0
+epoch 2013121401
platforms darwin
license MIT
-maintainers yopmail.com:sami.laine easieste openmaintainer
-description client user interface for a peer-to-peer digital currency
+maintainers easieste openmaintainer
+description mainline bitcoind from Satoshi github source installing a node for the BTC peer-to-peer digital currency
long_description Bitcoin is a peer-to-peer digital currency. By peer-to-peer, \
we mean that there is no central authority to issue \
new Bitcoins or keep track of transactions. Instead, these \
tasks are managed collectively by the Bitcoin protocol \
operating through the nodes of the network.
homepage http://www.bitcoin.org/
-master_sites sourceforge
-distname ${name}-${version}-linux
-checksums md5 df456ff0bd037657d5de640715e740c8 \
- sha1 f2cb0c55633cab822fb7024357aac17cf5de2b3a \
- rmd160 82e99dc536a942102b5909580aa1b3cf2da0e3e0
+# FIXME
+master_sites github
+distname ${name}-${version}
+fetch.type git
+git.url https://github.com/bitcoin/bitcoin.git
+#git.branch v0.8.6 # Doesn't contain "./autogen.sh"
+git.branch 08b93f9a65ce70e650244f94725fcd042d97f0ee
+#git.branch 9109ed6430366c928d21e2d9016a6484e4ff1b8a # TODO allow hg hash
+
depends_lib port:boost \
port:openssl \
port:db48 \
- port:miniupnpc \
- port:qt4-mac
+ port:miniupnpc
-worksrcdir ${name}-${version}-linux/src
+worksrcdir bitcoin
-if {![variant_isset daemon]} {
- PortGroup qmake 1.0
-}
+configure.cmd "./autogen.sh && ./configure"
build.args ""
build.pre_args ""
build.post_args ""
build.target ""
-build.cmd (cd src && make -f makefile.osx ) && make
+build.cmd make
destroot {
- xinstall -d ${destroot}${prefix}/bin
xinstall -d ${destroot}${prefix}/sbin
- if {![variant_isset daemon]} {
- xinstall -m 755 -W ${worksrcpath} \
- Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \
- ${destroot}${prefix}/bin/bitcoin-qt
- }
xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/sbin
set docdir ${destroot}${prefix}/share/doc/${name}
@@ -55,9 +51,17 @@
eval xinstall -m 444 -W ${worksrcpath} [glob ${worksrcpath}/doc/*] ${docdir}
}
-variant daemon description {Build and install only the bitcoind daemon} {
- use_configure no
+variant qt description {Build and install both the daemon and the graphical Satoshi QT client. } {
+ error "see ../bitcoin for last working version."
build.cmd "cd src && make -f makefile.osx"
depends_lib-delete port:qt4-mac
}
+notes "
+
+1. (Sanity in scripting) cmd$ ln -s \"/Users/evenson/Library/Application Support/Bitcoin\" ~/bitcoin
+
+2. Edit ~/bitcoin/bitcoin/.conf with RPC credentials
+
+3. Start sbin/bitcoind/
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131214/d26736be/attachment.html>
More information about the macports-changes
mailing list