Date: Thu, 26 Sep 2013 18:10:03 GMT From: Bartek Rutkowski <ports@robakdesign.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182419: New port: devel/etcd A highly-available key value store and service discovery Message-ID: <201309261810.r8QIA3kP066055@oldred.freebsd.org> Resent-Message-ID: <201309261820.r8QIK0nI009703@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182419 >Category: ports >Synopsis: New port: devel/etcd A highly-available key value store and service discovery >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 26 18:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bartek Rutkowski >Release: 9.1 >Organization: Pixeware LTD >Environment: FreeBSD even.more.evil.daemon.666.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This is a new port of etcd, software coming from CoreOS that is aiming at replacing ZooKeeper due to being fresh, faster, lightweight, well documented and quickly developing project. >How-To-Repeat: Simply cd to /usr/ports/devel/etcd and test by entire combination of make install/deinstall/package/pkg_add/pkg_delete test suite. >Fix: Commit the port to Ports tree. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # etcd # etcd/Makefile # etcd/pkg-descr # etcd/distinfo # etcd/files # etcd/files/patch-scripts-release-version # etcd/files/patch-build # echo c - etcd mkdir -p etcd > /dev/null 2>&1 echo x - etcd/Makefile sed 's/^X//' >etcd/Makefile << '524c8c4b0bbc0461ea58885b452cfb5d' X# $FreeBSD$ X XPORTNAME= etcd XPORTVERSION= 0.1.1 XCATEGORIES= devel X XMAINTAINER= ports@robakdesign.com XCOMMENT= A highly-available key value store and service discovery X XBUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go X XUSE_GITHUB= yes XGH_ACCOUNT= coreos XGH_PROJECT= ${PORTNAME} XGH_TAGNAME= v${PORTVERSION} XGH_COMMIT= 7b28904 X XPLIST_FILES+= bin/${PORTNAME} \ X share/doc/${PORTNAME}/README.md XPLIST_DIRS+= share/doc/${PORTNAME} X XNO_BUILD= yes XNO_STAGE= yes X X.include <bsd.port.pre.mk> X Xpre-install: X (cd ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}; ${SH} build) X Xdo-install: X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/README.md ${DOCSDIR} X @${INSTALL_PROGRAM} ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/${PORTNAME} ${PREFIX}/bin/ X X.include <bsd.port.post.mk> 524c8c4b0bbc0461ea58885b452cfb5d echo x - etcd/pkg-descr sed 's/^X//' >etcd/pkg-descr << '1326a551b581aa20ee76361bf0a022c5' XA highly-available key value store for shared Xconfiguration and service discovery. etcd is Xinspired by zookeeper and doozer, with a focus on: X X* Simple: curl'able user facing API (HTTP+JSON) X* Secure: optional SSL client cert authentication X* Fast: benchmarked 1000s of writes/s per instance X* Reliable: Properly distributed using Raft X XEtcd is written in Go and uses the raft consensus Xalgorithm to manage a highly-available replicated log. X XWWW: https://github.com/coreos/etcd#etcd 1326a551b581aa20ee76361bf0a022c5 echo x - etcd/distinfo sed 's/^X//' >etcd/distinfo << '981a2d91b7e00a1bce08f358d6b86612' XSHA256 (etcd-0.1.1.tar.gz) = 337f173b165360889586a7388f5874bf0b16746992f3cd43ed162f39cd30e9ff XSIZE (etcd-0.1.1.tar.gz) = 601641 981a2d91b7e00a1bce08f358d6b86612 echo c - etcd/files mkdir -p etcd/files > /dev/null 2>&1 echo x - etcd/files/patch-scripts-release-version sed 's/^X//' >etcd/files/patch-scripts-release-version << 'b557b71cfa110ffe151e93766f74dc81' X--- scripts/release-version.orig 2013-09-25 03:33:35.000000000 +0200 X+++ scripts/release-version 2013-09-25 03:34:00.000000000 +0200 X@@ -1,8 +1,6 @@ X #!/bin/sh X X-VER=$(git describe --tags HEAD) X- X cat <<EOF X package main X-const releaseVersion = "$VER" X+const releaseVersion = "0.1.1" X EOF b557b71cfa110ffe151e93766f74dc81 echo x - etcd/files/patch-build sed 's/^X//' >etcd/files/patch-build << '07f7c2cfe304c1e11ab3a40354dda490' X--- build.orig 2013-09-25 02:10:43.000000000 +0200 X+++ build 2013-09-25 02:06:13.000000000 +0200 X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/bin/sh X X ETCD_PACKAGE=github.com/coreos/etcd X export GOPATH=${PWD} 07f7c2cfe304c1e11ab3a40354dda490 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261810.r8QIA3kP066055>