svn commit: r414354 - in head/net-p2p: . go-ethereum

Kurt Jaeger pi at FreeBSD.org
Sat Apr 30 18:37:53 UTC 2016


Author: pi
Date: Sat Apr 30 18:37:51 2016
New Revision: 414354
URL: https://svnweb.freebsd.org/changeset/ports/414354

Log:
  New port: net-p2p/go-ethereum
  
  Ethereum is a community-driven project aiming to decentralize the internet and
  return it to its democratic roots. It is a platform for building and running
  applications which do not need to rely on trust and cannot be controlled by
  any central authority.
  
  This is the Go implementation of Ethereum y/w paper
  
  WWW: https://github.com/ethereum/go-ethereum
  
  PR:		201954
  Submitted by:	enriquefynn at gmail.com

Added:
  head/net-p2p/go-ethereum/
  head/net-p2p/go-ethereum/Makefile   (contents, props changed)
  head/net-p2p/go-ethereum/distinfo   (contents, props changed)
  head/net-p2p/go-ethereum/pkg-descr   (contents, props changed)
  head/net-p2p/go-ethereum/pkg-plist   (contents, props changed)
Modified:
  head/net-p2p/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Sat Apr 30 18:31:57 2016	(r414353)
+++ head/net-p2p/Makefile	Sat Apr 30 18:37:51 2016	(r414354)
@@ -34,6 +34,7 @@
     SUBDIR += gnewtellium
     SUBDIR += gnunet
     SUBDIR += gnunet-gtk
+    SUBDIR += go-ethereum
     SUBDIR += gtk-gnutella
     SUBDIR += gtorrentviewer
     SUBDIR += hs-torrent

Added: head/net-p2p/go-ethereum/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/go-ethereum/Makefile	Sat Apr 30 18:37:51 2016	(r414354)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME=	go-ethereum
+PORTVERSION=	1.3.6
+DISTVERSIONPREFIX=	v
+CATEGORIES=	net-p2p
+
+MAINTAINER=	enriquefynn at gmail.com
+COMMENT=	Go implementation of the Ethereum y/w paper
+
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	libgmp.so:math/gmp
+BUILD_DEPENDS=	go:lang/go
+RUN_DEPENDS=	go:lang/go
+
+OPTIONS_DEFINE=	BOOTNODE ETHTEST EVM DISASM RLPDUMP
+OPTIONS_SUB=	yes
+
+BOOTNODE_DESC=	Runs a bootstrap node for the Discovery Protocol
+ETHTEST_DESC=	Test tool which runs with the tests suite
+EVM_DESC=	A generic Ethereum Virtual Machine
+DISASM_DESC=	Disassembles EVM code
+RLPDUMP_DESC=	Prints RLP structures
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ethereum
+
+USE_GCC=	4.8+
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/build/bin/geth ${STAGEDIR}${PREFIX}/bin
+	@if [ ${PORT_OPTIONS:MBOOTNODE} ]; then \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/bin/bootnode ${STAGEDIR}${PREFIX}/bin; \
+	fi;
+	@if [ ${PORT_OPTIONS:METHTEST} ]; then \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/bin/ethtest ${STAGEDIR}${PREFIX}/bin; \
+	fi;
+	@if [ ${PORT_OPTIONS:MEVM} ]; then \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/bin/evm ${STAGEDIR}${PREFIX}/bin; \
+	fi;
+	@if [ ${PORT_OPTIONS:MDISASM} ]; then \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/bin/disasm ${STAGEDIR}${PREFIX}/bin; \
+	fi;
+	@if [ ${PORT_OPTIONS:MRLPDUMP} ]; then \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/bin/rlpdump ${STAGEDIR}${PREFIX}/bin; \
+	fi;
+
+.include <bsd.port.mk>

Added: head/net-p2p/go-ethereum/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/go-ethereum/distinfo	Sat Apr 30 18:37:51 2016	(r414354)
@@ -0,0 +1,2 @@
+SHA256 (ethereum-go-ethereum-v1.3.6_GH0.tar.gz) = 83e90eeca939a0e721bd58dbb76b832bbd0b944f790a34d55eb22684570a5023
+SIZE (ethereum-go-ethereum-v1.3.6_GH0.tar.gz) = 10778610

Added: head/net-p2p/go-ethereum/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/go-ethereum/pkg-descr	Sat Apr 30 18:37:51 2016	(r414354)
@@ -0,0 +1,8 @@
+Ethereum is a community-driven project aiming to decentralize the internet and
+return it to its democratic roots. It is a platform for building and running
+applications which do not need to rely on trust and cannot be controlled by
+any central authority.
+
+This is the Go implementation of Ethereum y/w paper
+
+WWW: https://github.com/ethereum/go-ethereum

Added: head/net-p2p/go-ethereum/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/go-ethereum/pkg-plist	Sat Apr 30 18:37:51 2016	(r414354)
@@ -0,0 +1,6 @@
+bin/geth
+%%BOOTNODE%%bin/bootnode
+%%ETHTEST%%bin/ethtest
+%%EVM%%bin/evm
+%%DISASM%%bin/disasm
+%%RLPDUMP%%bin/rlpdump


More information about the svn-ports-all mailing list