Commit ec8a5bf5 authored by olgeni's avatar olgeni
Browse files

Add devel/etcd32, version 3.2 of etcd.

parent 181aafaf
......@@ -569,6 +569,7 @@
SUBDIR += es-eric6
SUBDIR += etcd
SUBDIR += etcd31
SUBDIR += etcd32
SUBDIR += etl
SUBDIR += euca2ools
SUBDIR += eventxx
......
# $FreeBSD$
PORTNAME= etcd
PORTVERSION= 3.2.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= coreos-
PKGNAMESUFFIX= 32
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-* coreos-etcd31-*
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
OPTIONS_DEFINE= DOCS
DOCS_DESC= Install etcd README file
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
post-patch:
${REINPLACE_CMD} -i '' "s@#cgo LDFLAGS: -ldl@@g;" ${GO_WRKDIR_SRC}/github.com/coreos/pkg/dlopen/dlopen.go
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcd ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcdctl ${STAGEDIR}${PREFIX}/bin/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
TIMESTAMP = 1499433483
SHA256 (coreos-etcd-v3.2.1_GH0.tar.gz) = de5064e6ed2902b2fbc177726eafe6023ce7cebc9f0ce68c633eae61c4b86934
SIZE (coreos-etcd-v3.2.1_GH0.tar.gz) = 2872401
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment