Update sysutils/consul to 0.8.0 BREAKING CHANGES: - Command-Line Interface RPC Deprecation: The RPC client interface has been removed. - Version 8 ACLs Are Now Opt-Out: The acl_enforce_version_8 configuration now defaults to true to enable full version 8 ACL support by default. - Remote Exec Is Now Opt-In: The default for disable_remote_exec was changed to "true", so now operators need to opt-in to having agents support running commands remotely via consul exec. - Raft Protocol Compatibility: When upgrading to Consul 0.8.0 from a version lower than 0.7.0, users will need to set the -raft-protocol option to 1 in order to maintain backwards compatibility with the old servers during the upgrade. FEATURES: - Autopilot: A set of features has been added to allow for automatic operator-friendly management of Consul servers. - Dead Server Cleanup: Dead servers will periodically be cleaned up and removed from the Raft peer set - Server Health Checking: An internal health check has been added to track the stability of servers. - New Server Stabilization: When a new server is added to the cluster, there will be a waiting period where it must be healthy and stable for a certain amount of time before being promoted to a full, voting member. - Advanced Redundancy: (Consul Enterprise) A new -non-voting-server option flag has been added for Consul servers to configure a server that does not participate in the Raft quorum. - Upgrade Orchestration: (Consul Enterprise) Autopilot will automatically orchestrate an upgrade strategy for Consul servers - Network Areas: (Consul Enterprise) A new capability has been added which allows operators to define network areas that join together two Consul datacenters. - WAN Soft Fail: Request routing between servers in the WAN is now more robust by treating Serf failures as advisory but not final. - WAN Join Flooding: A new routine was added that looks for Consul servers in the LAN and makes sure that they are joined into the WAN as well. - Validate command: To provide consistency across our products, the configtest command has been deprecated and replaced with the validate command IMPROVEMENTS: - agent: Fixed a missing case where gossip would stop flowing to dead nodes for a short while. - agent: Changed agent to seed Go's random number generator. - agent: Serf snapshots no longer have the executable bit set on the file. - agent: Consul is now built with Go 1.8. - agent: Updated aws-sdk-go version (used for EC2 auto join) for Go 1.8 compatibility. - agent: User-supplied node IDs are now normalized to lower-case. - agent: Added checks to enforce uniqueness of agent node IDs at cluster join time and when registering with the catalog. - cli: Standardized handling of CLI options for connecting to the Consul agent. - cli: Updated go-cleanhttp library for better HTTP connection handling between CLI commands and the Consul agent - cli: The operator raft subcommand has had its two modes split into the list-peers and remove-peer subcommands. - cli: Added an -id flag to the operator raft remove-peer command to allow removing a peer by ID. - dns: Allows the .service tag to be optional in RFC 2782 lookups. - server: Changed the internal EnsureRegistration RPC endpoint to prevent registering checks that aren't associated with the top-level node being registered. BUG FIXES: - agent: Fixed an issue with consul watch not working when http was listening on a unix socket. - agent: Fixed an issue where checks and services could not sync deregister operations back to the catalog when version 8 ACL support is enabled. - agent: Fixed an issue where agents could use the ACL token registered with a service when registering checks for the same service that were registered with a different ACL token. - cli: Fixed consul kv commands not reading the CONSUL_HTTP_TOKEN environment variable. - cli: Fixed an issue where prefixing an address with a protocol (such as 'http://' or 'https://') in -http-addr or CONSUL_HTTP_ADDR would give an error. - cli: Fixed an issue where error messages would get printed to stdout instead of stderr. - server: Fixed an issue with version 8 ACLs where servers couldn't deregister nodes from the catalog during reconciliation. - server: Fixed an issue where servers could temporarily roll back changes to a node's metadata or tagged addresses when making updates to the node's health checks. - server: Fixed an issue where the service name consul was not subject to service ACL policies with version 8 ACLs enabled.diff -r1.11 -r1.12 pkgsrc/sysutils/consul/Makefile
(fhajny)
@@ -1,39 +1,33 @@ | @@ -1,39 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2017/02/17 15:22:03 fhajny Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2017/04/06 19:25:17 fhajny Exp $ | |
2 | 2 | |||
3 | DISTNAME= consul-0.7.5 | 3 | DISTNAME= consul-0.8.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= http://www.consul.io/ | 8 | HOMEPAGE= http://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 | WRKSRC= ${WRKDIR}/src/github.com/hashicorp/consul | 16 | GO_DIST_BASE= ${DISTNAME} | |
17 | 17 | GO_SRCPATH= github.com/hashicorp/consul | ||
18 | .include "../../lang/go/version.mk" | |||
19 | ||||
20 | BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go | |||
21 | 18 | |||
22 | USE_LANGUAGES= c c99 | 19 | USE_LANGUAGES= c c99 | |
23 | USE_TOOLS+= bash gmake | 20 | USE_TOOLS+= bash gmake | |
24 | 21 | |||
25 | MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg | 22 | MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg | |
26 | 23 | |||
27 | INSTALLATION_DIRS+= bin | 24 | INSTALLATION_DIRS+= bin | |
28 | 25 | |||
29 | post-extract: | |||
30 | ${MKDIR} ${WRKSRC} | |||
31 | ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC} | |||
32 | ||||
33 | do-build: | 26 | do-build: | |
34 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/consul | 27 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/consul | |
35 | 28 | |||
36 | do-install: | 29 | do-install: | |
37 | ${INSTALL_PROGRAM} ${WRKSRC}/bin/consul ${DESTDIR}${PREFIX}/bin | 30 | ${INSTALL_PROGRAM} ${WRKSRC}/bin/consul ${DESTDIR}${PREFIX}/bin | |
38 | 31 | |||
32 | .include "../../lang/go/go-package.mk" | |||
39 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2017/02/17 15:22:03 fhajny Exp $ | 1 | $NetBSD: distinfo,v 1.8 2017/04/06 19:25:17 fhajny Exp $ | |
2 | 2 | |||
3 | SHA1 (consul-0.7.5.tar.gz) = 03fc217d3f3b880f2bea13c052e15f1da17fa9c5 | 3 | SHA1 (consul-0.8.0.tar.gz) = 66e5cdc1657c852003e01458ae200f1918638c9e | |
4 | RMD160 (consul-0.7.5.tar.gz) = 31fffa6b7ba7d52783e59f8b663def64bb0c6625 | 4 | RMD160 (consul-0.8.0.tar.gz) = 0fcc43785991e1a90e60f85505e2ca32e10d1c02 | |
5 | SHA512 (consul-0.7.5.tar.gz) = 6825a92ca2d1e3bf1db561de803e890bfa3a4c08718477a819ea10f5d0d9d13bf23ba7bedf2123cfa32b8f87d63ede7ee85d57a20f8cef5effd4651d28ab8a36 | 5 | SHA512 (consul-0.8.0.tar.gz) = 4bb8bb50e4ab897cac7936bef590c7d8f93eca61913cd88588d5d0324c04fe2582d224dd25191b20bf76b000f764b4decce23118d3f8ed024b887b3194520644 | |
6 | Size (consul-0.7.5.tar.gz) = 5157056 bytes | 6 | Size (consul-0.8.0.tar.gz) = 4629677 bytes |