From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 26 18:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6B3AD76 for ; Thu, 26 Sep 2013 18:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B47CD2FAF for ; Thu, 26 Sep 2013 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8QIK0pS009704 for ; Thu, 26 Sep 2013 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8QIK0nI009703; Thu, 26 Sep 2013 18:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 26 Sep 2013 18:20:00 GMT Resent-Message-Id: <201309261820.r8QIK0nI009703@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bartek Rutkowski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 98120741 for ; Thu, 26 Sep 2013 18:10:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 852FE2ECB for ; Thu, 26 Sep 2013 18:10:03 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8QIA34r066089 for ; Thu, 26 Sep 2013 18:10:03 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8QIA3kP066055; Thu, 26 Sep 2013 18:10:03 GMT (envelope-from nobody) Message-Id: <201309261810.r8QIA3kP066055@oldred.freebsd.org> Date: Thu, 26 Sep 2013 18:10:03 GMT From: Bartek Rutkowski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182419: New port: devel/etcd A highly-available key value store and service discovery X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 18:20:01 -0000 >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 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 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 <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: