pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update consul to 0.6.4.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Mon Apr 11 14:55:46 2016 +0000
Changeset:	9ecba844f5e2e6a098be4e42577f93d6060debfa

Modified Files:
	consul/Makefile
	consul/TODO
	consul/distinfo

Log Message:
Update consul to 0.6.4.

0.6.4 (March 16, 2016)

BACKWARDS INCOMPATIBILITIES:

- Added a new query ACL type to manage prepared query names, and
  stopped capturing ACL tokens by default when prepared queries
  are created.
- Consul's Go API client now pools connections by default, and
  requires you to manually opt-out of this behavior.
- Consul's Go API client's agent.UpdateTTL() function was updated
  in a way that will only work with Consul 0.6.4 and later.

FEATURES:

- Added new template prepared queries which allow you to define a
  prefix (possibly even an empty prefix) to apply prepared query
  features like datacenter failover to multiple services with a
  single query definition.
- Added a new ability to translate address lookups when doing
  queries of nodes in remote datacenters via DNS using a new
  translate_wan_addrs configuration option.

IMPROVEMENTS:

- Added a new disable_hostname configuration option to control
  whether Consul's runtime telemetry gets prepended with the host
  name.
- Consul's Go dependencies are now vendored using Godep.
- Added support for EnableTagOverride for the catalog in the Go
  API client.
- Consul now ships built from Go 1.6.
- Added a new /v1/agent/check/update/<check id> API for updating
  TTL checks which makes it easier to send large check output as
  part of a PUT body and not a query parameter.
- Added a default set of Accept headers for HTTP checks.
- Added support for RHEL7/Systemd in Terraform example.

BUG FIXES:

- Updated the internal web UI (-ui option) to latest released
  build,
  fixing an ACL-related issue and the broken settings icon.
- Fixed an issue where blocking KV reads could miss updates and
  return stale data when another key whose name is a prefix of the
  watched key was updated.
- Fixed the redirect from / to /ui when the internal web UI (-ui
  option) is enabled.
- Updated memberlist to pull in a fix for leaking goroutines when
  performing TCP fallback pings. This affected users with frequent
  UDP connectivity problems.
- Added a fix to trim UDP DNS responses so they don't exceed 512
  bytes.
- Updated go-dockerclient to fix Docker health checks with Docker
  1.10.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9ecba844f5e2e6a098be4e42577f93d6060debfa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 consul/Makefile |  8 +-------
 consul/TODO     | 17 +++--------------
 consul/distinfo | 12 ++++--------
 3 files changed, 8 insertions(+), 29 deletions(-)

diffs:
diff --git a/consul/Makefile b/consul/Makefile
index 7843654..16918e3 100644
--- a/consul/Makefile
+++ b/consul/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	consul-0.6.3
+DISTNAME=	consul-0.6.4
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=hashicorp/}
 
@@ -10,9 +10,6 @@ COMMENT=	Tool for service discovery, monitoring and configuration
 LICENSE=	mpl-2.0
 
 GITHUB_TAG=	v${PKGVERSION_NOREV}
-DEPS=		${DISTNAME}-deps-20160116.tar.gz
-DISTFILES+=	${DEFAULT_DISTFILES} ${DEPS}
-SITES.${DEPS}=	ftp://ftp.NetBSD.org/pub/NetBSD/misc/fhajny/
 
 WRKSRC=		${WRKDIR}/src/github.com/hashicorp/consul
 
@@ -31,9 +28,6 @@ post-extract:
 	${MKDIR} ${WRKSRC}
 	${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
 
-getdeps: extract
-	cd ${WRKSRC} && env ${MAKE_ENV} ${MAKE_PROGRAM} deps ${MAKE_FLAGS}
-
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/consul
 
diff --git a/consul/TODO b/consul/TODO
index d2ccfbb..e8f09cd 100644
--- a/consul/TODO
+++ b/consul/TODO
@@ -1,14 +1,3 @@
-There are two ways this package differs from other Go package in pkgsrc.
-
-1. Dependencies are pre-fetched and pre-packed as DISTFILES. They are not
-   actually required or used in any way at run time, and when installed
-   via `go install`, they fail to build on some platforms for various
-   reasons, which is not the case when simply fetched and made available
-   for the Consul build to succeed.
-
-2. The lang/go-package.mk framework is not used, because the Consul build
-   only results in a single fat binary, and doesn't need the hundreds of
-   source files. Also this helps avoid #1 above.
-
-To prepare dependencies, disable the DISTFILES (re)definition and use
-the 'getdeps' post-extract pkgsrc target.
+The lang/go-package.mk framework is not used, because the Consul build
+only results in a single fat binary, and doesn't need the hundreds of
+source files. Also this helps avoid #1 above.
diff --git a/consul/distinfo b/consul/distinfo
index fa5ab05..f3453db 100644
--- a/consul/distinfo
+++ b/consul/distinfo
@@ -1,10 +1,6 @@
 $NetBSD$
 
-SHA1 (consul-0.6.3-deps-20160116.tar.gz) = 84d4a39f08d5d8515bf703f48e5ec24ffc194bd3
-RMD160 (consul-0.6.3-deps-20160116.tar.gz) = a881672bc505baaf60c0186e55e7786071f3f913
-SHA512 (consul-0.6.3-deps-20160116.tar.gz) = 4ecff379066f86a12eb8cb283e6866cbea59f2738aebe848d6cbdb38d0d75686ad1b3fc65429739c1b4eb459aa2f2e16ab6de48997126dc12215ae868ef7e692
-Size (consul-0.6.3-deps-20160116.tar.gz) = 39217145 bytes
-SHA1 (consul-0.6.3.tar.gz) = f93913c67b7dec68bce3495dcc855abc01aa88ee
-RMD160 (consul-0.6.3.tar.gz) = 9c258ed20168ae5bec1909d26450de6fa4c0e0b6
-SHA512 (consul-0.6.3.tar.gz) = c80b96e18c283f8d2dc7542393e9d788c8247200890b1f2ecdf292b545c01c971f1452f6b37b23b92654409a191fbd4608710b1ca31d6c426ff77b53c4840c4b
-Size (consul-0.6.3.tar.gz) = 2224536 bytes
+SHA1 (consul-0.6.4.tar.gz) = 0acb868214bb6a8b3003412ac7778f989b52a206
+RMD160 (consul-0.6.4.tar.gz) = d9d770ea0c92431079e80ae8cc626f5246639c93
+SHA512 (consul-0.6.4.tar.gz) = 3cbf7f3f33cc95036cf87ab39aebd44211b915d3ec2e8452c65d4093ed4791b531f540f74faddc1e8bdc9478af295ed90f78503ff394f8a7c409b7b07da3dbcf
+Size (consul-0.6.4.tar.gz) = 3912207 bytes


Home | Main Index | Thread Index | Old Index