aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2016-09-02 18:14:38 +0800
committerolgeni <olgeni@FreeBSD.org>2016-09-02 18:14:38 +0800
commit10e4da53cb4774d9a33f7b2f88428a9f5a2c9997 (patch)
treef03d18e0d85536c6ebf0162def58aae09bc2bbf3 /devel
parent189708aa78fbd888f07dc93d4380a705df02c5e4 (diff)
downloadfreebsd-ports-gnome-10e4da53cb4774d9a33f7b2f88428a9f5a2c9997.tar.gz
freebsd-ports-gnome-10e4da53cb4774d9a33f7b2f88428a9f5a2c9997.tar.zst
freebsd-ports-gnome-10e4da53cb4774d9a33f7b2f88428a9f5a2c9997.zip
Add devel/etcd3, the (very different) 3.x branch of devel/etcd.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/etcd3/Makefile41
-rw-r--r--devel/etcd3/distinfo3
-rw-r--r--devel/etcd3/pkg-descr13
4 files changed, 58 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b007199be2fb..accf309ab61f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -520,6 +520,7 @@
SUBDIR += erlang-syslog
SUBDIR += es-eric6
SUBDIR += etcd
+ SUBDIR += etcd3
SUBDIR += etl
SUBDIR += euca2ools
SUBDIR += eventxx
diff --git a/devel/etcd3/Makefile b/devel/etcd3/Makefile
new file mode 100644
index 000000000000..b64b2ff67587
--- /dev/null
+++ b/devel/etcd3/Makefile
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= etcd
+PORTVERSION= 3.0.6
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+PKGNAMEPREFIX= coreos-
+PKGNAMESUFFIX= 3
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Highly-available key value store and service discovery
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+CONFLICTS_INSTALL=coreos-etcdctl-0.* coreos-etcd-*
+
+USES= go
+GO_PKGNAME= github.com/coreos/etcd
+GO_TARGET= github.com/coreos/etcd \
+ github.com/coreos/etcdctl
+USE_GITHUB= yes
+GH_ACCOUNT= coreos
+
+PLIST_FILES= bin/etcd \
+ bin/etcdctl
+PORTDOCS= README.md
+
+post-extract:
+ @${MV} ${WRKSRC}/cmd/vendor ${WRKDIR}/src
+ @${RM} ${GO_WRKDIR_SRC}/github.com/${GH_ACCOUNT}/${PORTNAME}
+ @${LN} -s ${WRKSRC} ${GO_WRKDIR_SRC}/github.com/${GH_ACCOUNT}/etcd
+ @${LN} -s ${WRKSRC}/etcdctl ${GO_WRKDIR_SRC}/github.com/${GH_ACCOUNT}/etcdctl
+
+do-install:
+ ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcd ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcdctl ${STAGEDIR}${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/etcd3/distinfo b/devel/etcd3/distinfo
new file mode 100644
index 000000000000..cce05353128b
--- /dev/null
+++ b/devel/etcd3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1472548300
+SHA256 (coreos-etcd-v3.0.6_GH0.tar.gz) = dbcbab0b3f55923b0d1047fc533a6a69514ba62eda99671839b0e5e985f61c83
+SIZE (coreos-etcd-v3.0.6_GH0.tar.gz) = 2207310
diff --git a/devel/etcd3/pkg-descr b/devel/etcd3/pkg-descr
new file mode 100644
index 000000000000..267a029accae
--- /dev/null
+++ b/devel/etcd3/pkg-descr
@@ -0,0 +1,13 @@
+A highly-available key value store for shared
+configuration and service discovery. etcd is
+inspired by zookeeper and doozer, with a focus on:
+
+* Simple: curl'able user facing API (HTTP+JSON)
+* Secure: optional SSL client cert authentication
+* Fast: benchmarked 1000s of writes/s per instance
+* Reliable: Properly distributed using Raft
+
+Etcd is written in Go and uses the raft consensus
+algorithm to manage a highly-available replicated log.
+
+WWW: https://github.com/coreos/etcd