aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2016-01-21 05:46:20 +0800
committerrobak <robak@FreeBSD.org>2016-01-21 05:46:20 +0800
commit4d1b41f1006a51192808a704f6680ce695723a0d (patch)
tree1b5d02f9e92d23f2c90967ab8708549cd0d5570a
parent0da805c3eb2168d334d6c6cc3d7e8ced84ff16c0 (diff)
downloadfreebsd-ports-gnome-4d1b41f1006a51192808a704f6680ce695723a0d.tar.gz
freebsd-ports-gnome-4d1b41f1006a51192808a704f6680ce695723a0d.tar.zst
freebsd-ports-gnome-4d1b41f1006a51192808a704f6680ce695723a0d.zip
devel/etcd: update 0.4.6 -> 2.2.4
- Add LICENSE_FILE - CONFLICTS for devel/etcdctl (following upstream change) - Remove obsolete patches
-rw-r--r--devel/etcd/Makefile16
-rw-r--r--devel/etcd/distinfo4
2 files changed, 9 insertions, 11 deletions
diff --git a/devel/etcd/Makefile b/devel/etcd/Makefile
index 2f318e1617b1..d678f4a9da38 100644
--- a/devel/etcd/Makefile
+++ b/devel/etcd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= etcd
-PORTVERSION= 0.4.6
+PORTVERSION= 2.2.4
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= coreos-
@@ -10,30 +10,28 @@ MAINTAINER= robak@FreeBSD.org
COMMENT= Highly-available key value store and service discovery
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+CONFLICTS= coreos-etcdctl-0.*
+
USE_GITHUB= yes
GH_ACCOUNT= coreos
-PLIST_FILES= bin/bench \
- bin/etcd
-
+PLIST_FILES= bin/etcd \
+ bin/etcdctl
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
DOCS_DESC= Install etcd README file
-post-patch:
- @${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version
- @${REINPLACE_CMD} -e '/VER=/d' ${WRKSRC}/scripts/release-version
-
do-build:
cd ${WRKSRC}; ${SH} build
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bench ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/etcd ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/etcdctl ${STAGEDIR}${PREFIX}/bin/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/devel/etcd/distinfo b/devel/etcd/distinfo
index 4766e1a4282f..eddd699e6512 100644
--- a/devel/etcd/distinfo
+++ b/devel/etcd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (coreos-etcd-v0.4.6_GH0.tar.gz) = 9a9c4c3bdbafad8ca83ce09001d71573fe1f7b58531615b20e8ea0b1339a47c4
-SIZE (coreos-etcd-v0.4.6_GH0.tar.gz) = 2901706
+SHA256 (coreos-etcd-v2.2.4_GH0.tar.gz) = 42a90cad608cf9bc5152abf06b00d7383efc569c35f0c7e88dac378caf5532f4
+SIZE (coreos-etcd-v2.2.4_GH0.tar.gz) = 1862334