Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 10:38:33 GMT
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183921: [maintainer update] devel/etcd port updated with fix and new feature
Message-ID:  <201311131038.rADAcXqM047200@oldred.freebsd.org>
Resent-Message-ID: <201311131040.rADAe0Sh042386@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183921
>Category:       ports
>Synopsis:       [maintainer update] devel/etcd port updated with fix and new feature
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 13 10:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        9.2-R
>Organization:
Pixeware LTD
>Environment:
FreeBSD peek-and-poke 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/BASIC  amd64
>Description:
This update does two things:

* corrects the package prefix to 'coreos-' instead of 'coreos'
* adds option to build a commandline tool from devel/etcdctl

WARNING - this update relies on devel/etcdctl which is not yet in ports, and was submitted in http://www.freebsd.org/cgi/query-pr.cgi?pr=183845 - that should be accepted before commiting this update to devel/etcd
>How-To-Repeat:
Apply the patch to the Makefile, test the port, commit the change.
>Fix:
Patch attached.

Patch attached with submission follows:

--- Makefile.orig	2013-11-13 10:26:59.000000000 +0100
+++ Makefile	2013-11-13 10:27:06.000000000 +0100
@@ -3,7 +3,7 @@
 PORTNAME=	etcd
 PORTVERSION=	0.1.2
 CATEGORIES=	devel
-PKGNAMEPREFIX=	coreos
+PKGNAMEPREFIX=	coreos-
 
 MAINTAINER=	ports@robakdesign.com
 COMMENT=	Highly-available key value store and service discovery
@@ -21,8 +21,15 @@
 
 NO_BUILD=	yes
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS ETCDCTL
 DOCS_DESC=	Install etcd README file
+ETCDCTL_DESC=	Install etcdctl commandline tool
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:METCDCTL}
+RUN_DEPENDS+=   etcdctl:${PORTSDIR}/devel/etcdctl
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131038.rADAcXqM047200>