ports/183921: [maintainer update] devel/etcd port updated with fix and new feature
Bartek Rutkowski
ports at robakdesign.com
Wed Nov 13 10:40:01 UTC 2013
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list