This is a new port with a commandline utility for the devel/etcd, a Zookeeper replacement. Fix: Shar file attached with new port. Patch attached with submission follows: How-To-Repeat: Install the port from the shar file, test the port.
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it.
State Changed From-To: open->closed New port added. Thanks!
Author: wg Date: Wed Nov 13 12:01:18 2013 New Revision: 333677 URL: http://svnweb.freebsd.org/changeset/ports/333677 Log: devel/etcdctl: Simple commandline client for etcd Etcdctl is a command line client for etcd. It can be used in scripts or for administrators to explore an etcd cluster. WWW: https://github.com/coreos/etcdctl#etcdctl PR: ports/183845 Submitted by: ports robakdesign.com Added: head/devel/etcdctl/ head/devel/etcdctl/Makefile (contents, props changed) head/devel/etcdctl/distinfo (contents, props changed) head/devel/etcdctl/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Nov 13 12:01:10 2013 (r333676) +++ head/devel/Makefile Wed Nov 13 12:01:18 2013 (r333677) @@ -410,6 +410,7 @@ SUBDIR += eris SUBDIR += esdl SUBDIR += etcd + SUBDIR += etcdctl SUBDIR += etl SUBDIR += eventxx SUBDIR += evolution-gconf-tools Added: head/devel/etcdctl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/etcdctl/Makefile Wed Nov 13 12:01:18 2013 (r333677) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= etcdctl +PORTVERSION= 0.1.2 +CATEGORIES= devel +PKGNAMEPREFIX= coreos- + +MAINTAINER= ports@robakdesign.com +COMMENT= Simple commandline client for etcd + +BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go + +USE_GITHUB= yes +GH_ACCOUNT= coreos +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 0aa41af + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS +DOCS_DESC= Install etcdctl README file + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version + @${REINPLACE_CMD} -e '/VER=/d' ${WRKSRC}/scripts/release-version + @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/build + +do-build: + @(cd ${WRKSRC}; ${SH} build) + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + +.include <bsd.port.mk> Added: head/devel/etcdctl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/etcdctl/distinfo Wed Nov 13 12:01:18 2013 (r333677) @@ -0,0 +1,2 @@ +SHA256 (etcdctl-0.1.2.tar.gz) = 63c949193196a6f888ec540d71a1c6d70cbccaa7b64b622ac1074e1dcc01fa5a +SIZE (etcdctl-0.1.2.tar.gz) = 30845 Added: head/devel/etcdctl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/etcdctl/pkg-descr Wed Nov 13 12:01:18 2013 (r333677) @@ -0,0 +1,5 @@ +Etcdctl is a command line client for etcd. It can +be used in scripts or for administrators to explore +an etcd cluster. + +WWW: https://github.com/coreos/etcdctl#etcdctl _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"