Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2014 01:18:48 GMT
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187625: [MAINTAINER UPDATE] devel/etcdctl 0.2.0 -> 0.3.0
Message-ID:  <201403160118.s2G1ImcV079424@cgiserv.freebsd.org>
Resent-Message-ID: <201403160120.s2G1K0lS094538@freefall.freebsd.org>

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

>Number:         187625
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] devel/etcdctl 0.2.0 -> 0.3.0
>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:   Sun Mar 16 01:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        10.0-RELEASE
>Organization:
Pixeware LTD
>Environment:
FreeBSD ports-dev 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Changes:

* Update to latest 0.3.0 version
* Added LICENSE
* fixed options for docs installation

Redports report: https://redports.org/buildarchive/20140315105700-52741/ (Issues on i386 are to known Go issues for i386 jails on amd64, and on 8.x due to unability to fetch distfiles from github)
>How-To-Repeat:
Use the patch, test the port, commit.
>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN etcdctl.orig/Makefile etcdctl/Makefile
--- etcdctl.orig/Makefile	2014-03-16 01:07:42.835781999 +0100
+++ etcdctl/Makefile	2014-03-16 01:08:18.015860999 +0100
@@ -1,19 +1,21 @@
 # $FreeBSD: head/devel/etcdctl/Makefile 339355 2014-01-10 13:42:05Z vanilla $
 
 PORTNAME=	etcdctl
-PORTVERSION=	0.2.0
+PORTVERSION=	0.3.0
 CATEGORIES=	devel
 PKGNAMEPREFIX=	coreos-
 
 MAINTAINER=	ports@robakdesign.com
 COMMENT=	Simple commandline client for etcd
 
+LICENSE=	APACHE20
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	coreos
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	ee09678
+GH_COMMIT=	d0fc1fc
 
 PLIST_FILES=	bin/${PORTNAME}
 
@@ -29,11 +31,13 @@
 	@${REINPLACE_CMD} -e '/VER=/d' ${WRKSRC}/scripts/release-version
 
 do-build:
-	@(cd ${WRKSRC}; ${SH} build)
+	(cd ${WRKSRC}; ${SH} build)
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>
diff -ruN etcdctl.orig/distinfo etcdctl/distinfo
--- etcdctl.orig/distinfo	2014-03-16 01:07:42.835781999 +0100
+++ etcdctl/distinfo	2014-03-16 01:08:18.015860999 +0100
@@ -1,2 +1,2 @@
-SHA256 (etcdctl-0.2.0.tar.gz) = aae6758045506be96db7e16d939d1537cef51e653e626065c028cc4c880b06d8
-SIZE (etcdctl-0.2.0.tar.gz) = 58162
+SHA256 (etcdctl-0.3.0.tar.gz) = e0c0452548e3ae65c47be8f822db52a164014faacd95a01e9a120de977f16d9f
+SIZE (etcdctl-0.3.0.tar.gz) = 31524


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



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