Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Urquiza <fabiorush@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/4] btcd: new package
Date: Fri, 28 Sep 2018 10:59:22 -0300	[thread overview]
Message-ID: <1538143163-20596-4-git-send-email-fabiorush@gmail.com> (raw)
In-Reply-To: <1538143163-20596-1-git-send-email-fabiorush@gmail.com>

An alternative full node bitcoin implementation written in Go (golang).

Signed-off-by: Fabio Urquiza <fabiorush@gmail.com>
---
 package/Config.in      |  1 +
 package/btcd/Config.in | 10 ++++++++++
 package/btcd/btcd.hash |  3 +++
 package/btcd/btcd.mk   | 15 +++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/btcd/Config.in
 create mode 100644 package/btcd/btcd.hash
 create mode 100644 package/btcd/btcd.mk

diff --git a/package/Config.in b/package/Config.in
index 796383a..6a74a80 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1973,6 +1973,7 @@ endif
 
 menu "Blockchain Applications"
 	source "package/bitcoin/Config.in"
+	source "package/btcd/Config.in"
 endmenu
 
 endmenu
diff --git a/package/btcd/Config.in b/package/btcd/Config.in
new file mode 100644
index 0000000..566e8dd
--- /dev/null
+++ b/package/btcd/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_BTCD
+	bool "btcd"
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	select BR2_PACKAGE_HOST_GO_GLIDE
+	help
+	  btcd is an alternative full node bitcoin implementation
+	  written in Go (golang).
+
+	  https://github.com/btcsuite/btcd
+
diff --git a/package/btcd/btcd.hash b/package/btcd/btcd.hash
new file mode 100644
index 0000000..d0b76c5
--- /dev/null
+++ b/package/btcd/btcd.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 4afd800125ecd9ff22c63dfc00c512ae5892f98b0415ecc1a19cd64afdf86bbb  btcd-2a560b2036bee5e3679ec2133eb6520b2f195213.tar.gz
+sha256 46021938caf87eeb92c841fd48777a3a7bf218341386611c4d080aa45812d1d2  LICENSE
diff --git a/package/btcd/btcd.mk b/package/btcd/btcd.mk
new file mode 100644
index 0000000..4a296a7
--- /dev/null
+++ b/package/btcd/btcd.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# btcd
+#
+################################################################################
+
+BTCD_VERSION = 2a560b2036bee5e3679ec2133eb6520b2f195213
+BTCD_SITE = $(call github,btcsuite,btcd,$(BTCD_VERSION))
+BTCD_LICENSE = ISC
+BTCD_LICENSE_FILES = LICENSE
+BTCD_GO_GLIDE = YES
+BTCD_GO_GET = YES
+
+$(eval $(golang-package))
+
-- 
2.7.4

  parent reply	other threads:[~2018-09-28 13:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-28 13:59 [Buildroot] [PATCH 0/4] Initial support to blockchain clients Fabio Urquiza
2018-09-28 13:59 ` [Buildroot] [PATCH 1/4] host-go-glide: new package Fabio Urquiza
2019-08-03 14:33   ` Yann E. MORIN
2018-09-28 13:59 ` [Buildroot] [PATCH 2/4] bitcoin: " Fabio Urquiza
2019-08-03 17:19   ` Thomas Petazzoni
2018-09-28 13:59 ` Fabio Urquiza [this message]
2018-10-12 16:09   ` [Buildroot] [PATCH 3/4] btcd: " Adam Duskett
2018-09-28 13:59 ` [Buildroot] [PATCH 4/4] neutrino: " Fabio Urquiza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538143163-20596-4-git-send-email-fabiorush@gmail.com \
    --to=fabiorush@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox