ports/187626: [MAINTAINER UPDATE] devel/etcd 0.2.0 -> 0.3.0
Bartek Rutkowski
ports at robakdesign.com
Sun Mar 16 01:20:01 UTC 2014
>Number: 187626
>Category: ports
>Synopsis: [MAINTAINER UPDATE] devel/etcd 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 at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Changes:
* Update to latest 0.3.0 version
* Added LICSENSE
* fixed options for docs installation
* removed option to install the client port
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 etcd.orig/Makefile etcd/Makefile
--- etcd.orig/Makefile 2014-03-16 01:07:37.155779999 +0100
+++ etcd/Makefile 2014-03-16 01:08:18.005801999 +0100
@@ -1,29 +1,31 @@
# $FreeBSD: head/devel/etcd/Makefile 339356 2014-01-10 13:42:59Z vanilla $
PORTNAME= etcd
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
CATEGORIES= devel
PKGNAMEPREFIX= coreos-
MAINTAINER= ports at robakdesign.com
COMMENT= Highly-available key value store and service discovery
+LICENSE= APACHE20
+
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
GH_ACCOUNT= coreos
GH_TAGNAME= v${PORTVERSION}
-GH_COMMIT= f04fdf1
+GH_COMMIT= a643476
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/bench \
+ bin/etcd
PORTDOCS= README.md
-OPTIONS_DEFINE= DOCS ETCDCTL
+OPTIONS_DEFINE= DOCS
DOCS_DESC= Install etcd README file
-ETCDCTL_DESC= Install etcdctl commandline tool
-ETCDCTL_RUN_DEPENDS= etcdctl:${PORTSDIR}/devel/etcdctl
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version
@@ -33,8 +35,11 @@
cd ${WRKSRC}; ${SH} build
do-install:
+.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/bench ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/etcd ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff -ruN etcd.orig/distinfo etcd/distinfo
--- etcd.orig/distinfo 2014-03-16 01:07:37.155779999 +0100
+++ etcd/distinfo 2014-03-16 01:08:18.005801999 +0100
@@ -1,2 +1,2 @@
-SHA256 (etcd-0.2.0.tar.gz) = 834706a3707b22cd14bf2d4f871f847b6c7eec13b530ea4e58d359b0a6bdc8db
-SIZE (etcd-0.2.0.tar.gz) = 1501687
+SHA256 (etcd-0.3.0.tar.gz) = a524490f5447ab746e0040bb6d3c5a4afccb8014adb8ca09e7e275b7e21b995a
+SIZE (etcd-0.3.0.tar.gz) = 911770
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list