pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/consul



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Thu Apr  6 19:25:18 UTC 2017

Modified Files:
        pkgsrc/sysutils/consul: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/consul/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/consul/distinfo

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

Modified files:

Index: pkgsrc/sysutils/consul/Makefile
diff -u pkgsrc/sysutils/consul/Makefile:1.11 pkgsrc/sysutils/consul/Makefile:1.12
--- pkgsrc/sysutils/consul/Makefile:1.11        Fri Feb 17 15:22:03 2017
+++ pkgsrc/sysutils/consul/Makefile     Thu Apr  6 19:25:17 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2017/02/17 15:22:03 fhajny Exp $
+# $NetBSD: Makefile,v 1.12 2017/04/06 19:25:17 fhajny Exp $
 
-DISTNAME=      consul-0.7.5
+DISTNAME=      consul-0.8.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hashicorp/}
 
@@ -13,11 +13,8 @@ EXTRACT_USING=       bsdtar
 
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
-WRKSRC=                ${WRKDIR}/src/github.com/hashicorp/consul
-
-.include "../../lang/go/version.mk"
-
-BUILD_DEPENDS+=                go-${GO_VERSION}*:../../lang/go
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/hashicorp/consul
 
 USE_LANGUAGES=         c c99
 USE_TOOLS+=            bash gmake
@@ -26,14 +23,11 @@ MAKE_ENV+=          GOPATH=${WRKDIR}:${PREFIX}/g
 
 INSTALLATION_DIRS+=    bin
 
-post-extract:
-       ${MKDIR} ${WRKSRC}
-       ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
-
 do-build:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/consul
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/bin/consul ${DESTDIR}${PREFIX}/bin
 
+.include "../../lang/go/go-package.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/consul/distinfo
diff -u pkgsrc/sysutils/consul/distinfo:1.7 pkgsrc/sysutils/consul/distinfo:1.8
--- pkgsrc/sysutils/consul/distinfo:1.7 Fri Feb 17 15:22:03 2017
+++ pkgsrc/sysutils/consul/distinfo     Thu Apr  6 19:25:17 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/02/17 15:22:03 fhajny Exp $
+$NetBSD: distinfo,v 1.8 2017/04/06 19:25:17 fhajny Exp $
 
-SHA1 (consul-0.7.5.tar.gz) = 03fc217d3f3b880f2bea13c052e15f1da17fa9c5
-RMD160 (consul-0.7.5.tar.gz) = 31fffa6b7ba7d52783e59f8b663def64bb0c6625
-SHA512 (consul-0.7.5.tar.gz) = 6825a92ca2d1e3bf1db561de803e890bfa3a4c08718477a819ea10f5d0d9d13bf23ba7bedf2123cfa32b8f87d63ede7ee85d57a20f8cef5effd4651d28ab8a36
-Size (consul-0.7.5.tar.gz) = 5157056 bytes
+SHA1 (consul-0.8.0.tar.gz) = 66e5cdc1657c852003e01458ae200f1918638c9e
+RMD160 (consul-0.8.0.tar.gz) = 0fcc43785991e1a90e60f85505e2ca32e10d1c02
+SHA512 (consul-0.8.0.tar.gz) = 4bb8bb50e4ab897cac7936bef590c7d8f93eca61913cd88588d5d0324c04fe2582d224dd25191b20bf76b000f764b4decce23118d3f8ed024b887b3194520644
+Size (consul-0.8.0.tar.gz) = 4629677 bytes



Home | Main Index | Thread Index | Old Index