Date: Sat, 9 Nov 2013 18:38:51 GMT From: Bartek Rutkowski <ports@robakdesign.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183819: Update of devel/etcd to version 0.1.2 Message-ID: <201311091838.rA9Icpmp049138@oldred.freebsd.org> Resent-Message-ID: <201311091840.rA9Ie0dM078972@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183819 >Category: ports >Synopsis: Update of devel/etcd to version 0.1.2 >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: Sat Nov 09 18:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bartek Rutkowski >Release: 9.2-R >Organization: Pixeware LTD >Environment: FreeBSD zapiekanka-z-watrobki 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/KAROL amd64 >Description: This is patch for devel/etcd port that does the following: * updates the port to latest 0.1.2 version * fixes the port to use docs option properly >How-To-Repeat: Apply the patch to the port dir, test the port. >Fix: Patch attached to this PR. Patch attached with submission follows: diff -ruN etcd.orig/Makefile etcd/Makefile --- etcd.orig/Makefile 2013-10-04 13:09:38.000000000 +0200 +++ etcd/Makefile 2013-11-09 17:33:54.000000000 +0100 @@ -1,7 +1,7 @@ # $FreeBSD: devel/etcd/Makefile 329287 2013-10-04 11:09:38Z bdrewery $ PORTNAME= etcd -PORTVERSION= 0.1.1 +PORTVERSION= 0.1.2 CATEGORIES= devel PKGNAMEPREFIX= coreos @@ -13,7 +13,7 @@ USE_GITHUB= yes GH_ACCOUNT= coreos GH_TAGNAME= v${PORTVERSION} -GH_COMMIT= 7b28904 +GH_COMMIT= 5589b6f PLIST_FILES+= bin/${PORTNAME} @@ -22,18 +22,24 @@ NO_BUILD= yes OPTIONS_DEFINE= DOCS +DOCS_DESC= Install etcd 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 pre-install: @(cd ${WRKSRC}; ${SH} build) do-install: +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} +# PLIST_FILES+=${STAGEDIR}${DOCSDIR}/${PORTDOCS} +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include <bsd.port.mk> diff -ruN etcd.orig/distinfo etcd/distinfo --- etcd.orig/distinfo 2013-10-04 13:09:38.000000000 +0200 +++ etcd/distinfo 2013-11-06 19:16:31.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (etcd-0.1.1.tar.gz) = 337f173b165360889586a7388f5874bf0b16746992f3cd43ed162f39cd30e9ff -SIZE (etcd-0.1.1.tar.gz) = 601641 +SHA256 (etcd-0.1.2.tar.gz) = 71847f86d3e585a2bcd391e59006f1d07a8e9135f24871bc9e52ffc6fca6b7e9 +SIZE (etcd-0.1.2.tar.gz) = 1423331 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311091838.rA9Icpmp049138>