Update sysutils/consul to 0.9.0. BREAKING CHANGES: - agent: Added a new `enable_script_checks` configuration option that defaults to `false`, meaning that in order to allow an agent to run health checks that execute scripts, this will need to be configured and set to `true`. - api: Reworked `context` support in the API client to more closely match the Go standard library, and added context support to write requests in addition to read requests. - ui: Since the UI is now bundled with the application we no longer provide a separate UI package for downloading. FEATURES: - agent: Added a new[`block_endpoints` configuration option that allows blocking HTTP API endpoints by prefix. - cli: Added a new `consul catalog` command for reading datacenters, nodes, and services from the catalog. - server: (Consul Enterprise) Added a new `consul operator area update` command and corresponding HTTP endpoint to allow for transitioning the TLS setting of network areas at runtime. - server: (Consul Enterprise) Added a new `UpgradeVersionTag` field to the Autopilot config to allow for using the migration feature to roll out configuration or cluster changes, without having to upgrade Consul itself. IMPROVEMENTS: - agent: (Consul Enterprise) Snapshot agent rotation uses S3's pagination API, enabling retaining more than a 100 snapshots. - agent: Removed registration of the `consul` service from the agent since it's already handled by the leader. - agent: Changed /v1/acl/clone response to 403 (from 404) when trying to clone an ACL that doesn't exist. - agent: Changed the `consul exec` ACL resolution logic to use the `acl_agent_token` if it's available. - agent: Updated memberlist to get latest LAN gossip tuning based on the Lifeguard paper published by Hashicorp Research. - api: Added the ability to pass in a `context` as part of the `QueryOptions` during a request. - api: Changed signature for "done" channels on `agent.Monitor()` and `session.RenewPeriodic` methods to make them more compatible with `context`. - docs: Added a complete end-to-end example of ACL bootstrapping in the ACL Guide. - vendor: Updated golang.org/x/sys/unix to support IBM s390 platforms. - agent: rewrote Docker health checks without using the Docker client and its dependencies. BUG FIXES: - agent: Fixed an issue where watch plans would take up to 10 minutes to close their connections and give up their file descriptors after reloading Consul. - agent: (Consul Enterprise) Fixed an issue with the snapshot agent where it could get stuck trying to obtain the leader lock after an extended server outage. - agent: Fixed HTTP health checks to allow them to set the `Host` header correctly on outgoing requests. - agent: Serf snapshots can now auto recover from disk write errors without needing a restart. - agent: Fixed log redacting code to properly remove tokens from log lines with ACL tokens in the URL itself: `/v1/acl/clone/:uuid`, `/v1/acl/destroy/:uuid`, `/v1/acl/info/:uuid`. - agent: Fixed an issue in the Docker client where Docker checks would get EOF errors trying to connect to a volume-mounted Docker socket. - agent: Fixed a crash when using Azure auto discovery. - agent: Added `node` read privileges to the `acl_agent_master_token` by default so it can see all nodes, which enables it to be used with operations like `consul members`. - agent: Fixed an issue where enabling `-disable-keyring-file` would cause gossip encryption to be disabled. - agent: Fixed a race condition where checks that are not associated with any existing services were allowed to persist. - agent: Stop docker checks on service deregistration and on shutdown. - server: Updated the Raft library to pull in a fix where servers that are very far behind in replication can get stuck in a loop trying to install snapshots. - server: Fixed a rare but serious deadlock where the Consul leader routine could get stuck with the Raft internal leader routine while waiting for the initial barrier after a leader election. - server: Added automatic cleanup of failed Raft snapshots. - server: (Consul Enterprise) Fixed an issue where networks areas would not be able to be added when the server restarts if the Raft log contained a specific sequence of adds and deletes for network areas with the same peer datacenter. - ui: Provided a path to reset the ACL token when the current token is invalid. - ui: Removed an extra fetch of the nodes resource when loading the UI. - ui: Changed default ACL token type to "client" when creating ACLs. - ui: Display a 404 error instead of a 200 when trying to load a nonexistent node.diff -r1.19 -r1.20 pkgsrc/sysutils/consul/Makefile
(fhajny)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2017/08/01 14:59:05 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2017/08/02 17:57:02 fhajny Exp $ | |
2 | 2 | |||
3 | DISTNAME= consul-0.8.5 | 3 | DISTNAME= consul-0.9.0 | |
4 | CATEGORIES= sysutils | 4 | CATEGORIES= sysutils | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/} | |
6 | 6 | |||
7 | MAINTAINER= filip@joyent.com | 7 | MAINTAINER= filip@joyent.com | |
8 | HOMEPAGE= https://www.consul.io/ | 8 | HOMEPAGE= https://www.consul.io/ | |
9 | COMMENT= Tool for service discovery, monitoring and configuration | 9 | COMMENT= Tool for service discovery, monitoring and configuration | |
10 | LICENSE= mpl-2.0 | 10 | LICENSE= mpl-2.0 | |
11 | 11 | |||
12 | EXTRACT_USING= bsdtar | 12 | EXTRACT_USING= bsdtar | |
13 | 13 | |||
14 | GITHUB_TAG= v${PKGVERSION_NOREV} | 14 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
15 | 15 | |||
16 | GO_DIST_BASE= ${DISTNAME} | 16 | GO_DIST_BASE= ${DISTNAME} |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2017/07/03 21:25:03 fhajny Exp $ | 1 | $NetBSD: distinfo,v 1.14 2017/08/02 17:57:02 fhajny Exp $ | |
2 | 2 | |||
3 | SHA1 (consul-0.8.5.tar.gz) = d37fec9db54109a0638b578e4681ca41dfb05a0c | 3 | SHA1 (consul-0.9.0.tar.gz) = e9c6c3a11f786c7f512796001191fc2e5cb1206b | |
4 | RMD160 (consul-0.8.5.tar.gz) = c99cf5ee7493eb4b1db0f624e9025bda021c8506 | 4 | RMD160 (consul-0.9.0.tar.gz) = c92d373a1787ef2b2fc910486da00e7918326403 | |
5 | SHA512 (consul-0.8.5.tar.gz) = ebd73c2fd43ba39e26a1ea62a982d9ac162a45022d3a495ce7e6c660cef58eb5115fa59128694324d9e713acc5c260f2cf2fb3f1c0ab85379a0ebe79ac7f46b2 | 5 | SHA512 (consul-0.9.0.tar.gz) = b0b665757e248512c702e2b369f5f20ea3038033f9e69b5b4f190a3cfdf56209a84275f9a296d89b7931939acfc47c8ef9c3c0ed11ce326dcb2c3da97e3ba414 | |
6 | Size (consul-0.8.5.tar.gz) = 6630059 bytes | 6 | Size (consul-0.9.0.tar.gz) = 6601694 bytes |