textproc/consul-template: update to 0.14.0

This commit is contained in:
Steve Wills 2016-05-21 13:46:09 +00:00
parent e4f199618b
commit bdf55bfadd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415600
2 changed files with 20 additions and 81 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= consul-template PORTNAME= consul-template
PORTVERSION= 0.12.2 PORTVERSION= 0.14.0
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
CATEGORIES= textproc CATEGORIES= textproc
@ -12,61 +12,31 @@ COMMENT= Generic template rendering and notifications with Consul
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= hashicorp:DEFAULT,consul,go_multierror,go_syslog,hcl,logutils \ GH_ACCOUNT= hashicorp
hashicorp:terraform,reap,vault,serf,chttp,errwrap golang:sys \
armon:consul_api mitchellh:mapstructure go-yaml:yaml2 \
fatih:structs
GH_PROJECT= consul-api:consul_api consul:consul \
go-multierror:go_multierror go-syslog:go_syslog hcl:hcl \
logutils:logutils mapstructure:mapstructure terraform:terraform \
go-reap:reap yaml:yaml2 sys:sys vault:vault serf:serf \
go-cleanhttp:chttp errwrap:errwrap structs:structs
GH_TAGNAME= dcfedd5:consul_api 0dc08b1:logutils aee8c49:hcl \
42a2b57:go_syslog 281073e:mapstructure acabd4d:terraform \
d30f099:go_multierror v0.6.3:consul 2d85522:reap f7716cb:yaml2 \
442cd60:sys 4750307:vault b60fe33:serf ce617e7:chttp \
7554cd9:errwrap dd04eba:structs
PLIST_FILES= bin/consul-template PLIST_FILES= bin/consul-template
STRIP= # stripping can break go binaries STRIP= # stripping can break go binaries
post-patch: post-extract:
@${MV} ${WRKSRC}/vendor ${WRKSRC}/src
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp/consul-template @${MKDIR} ${WRKSRC}/src/github.com/hashicorp/consul-template
.for src in CHANGELOG.md LICENSE Makefile README.md brain.go brain_test.go \ @cd ${WRKSRC} ; \
cli.go cli_test.go config.go config_test.go dependency flags.go logging \ ${MV} .gitignore .travis.yml CHANGELOG.md Godeps LICENSE Makefile \
main.go runner.go runner_test.go template.go template_functions.go \ README.md brain.go brain_test.go cli.go cli_test.go config.go \
template_functions_test.go test template_test.go watch config_test.go dedup.go dedup_test.go dependency flags.go logging \
@${CP} -r ${WRKSRC}/${src} \ main.go runner.go runner_test.go scripts template.go \
${WRKSRC}/src/github.com/hashicorp/consul-template template_functions.go template_functions_test.go template_test.go test \
.endfor watch \
@${MKDIR} ${WRKSRC}/src/github.com/armon ${WRKSRC}/src/github.com/hashicorp/consul-template
@${MKDIR} ${WRKSRC}/src/github.com/mitchellh
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp
@${MKDIR} ${WRKSRC}/src/github.com/fatih
@${MKDIR} ${WRKSRC}/src/gopkg.in
@${MKDIR} ${WRKSRC}/src/golang.org/x
@${MV} ${WRKSRC_consul_api} ${WRKSRC}/src/github.com/armon/consul-api
@${MV} ${WRKSRC_hcl} ${WRKSRC}/src/github.com/hashicorp/hcl
@${MV} ${WRKSRC_logutils} ${WRKSRC}/src/github.com/hashicorp/logutils
@${MV} ${WRKSRC_terraform} ${WRKSRC}/src/github.com/hashicorp/terraform
@${MV} ${WRKSRC_mapstructure} ${WRKSRC}/src/github.com/mitchellh/mapstructure
@${MV} ${WRKSRC_go_multierror} ${WRKSRC}/src/github.com/hashicorp/go-multierror
@${MV} ${WRKSRC_go_syslog} ${WRKSRC}/src/github.com/hashicorp/go-syslog
@${MV} ${WRKSRC_consul} ${WRKSRC}/src/github.com/hashicorp/consul
@${MV} ${WRKSRC_reap} ${WRKSRC}/src/github.com/hashicorp/go-reap
@${MV} ${WRKSRC_yaml2} ${WRKSRC}/src/gopkg.in/yaml.v2
@${MV} ${WRKSRC_sys} ${WRKSRC}/src/golang.org/x/sys
@${MV} ${WRKSRC_vault} ${WRKSRC}/src/github.com/hashicorp/vault
@${MV} ${WRKSRC_serf} ${WRKSRC}/src/github.com/hashicorp/serf
@${MV} ${WRKSRC_errwrap} ${WRKSRC}/src/github.com/hashicorp/errwrap
@${MV} ${WRKSRC_structs} ${WRKSRC}/src/github.com/fatih/structs
@${MV} ${WRKSRC_chttp} ${WRKSRC}/src/github.com/hashicorp/go-cleanhttp
do-build: do-build:
@cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build @cd ${WRKSRC}/src/github.com/hashicorp/consul-template ; \
${SETENV} GOPATH=${WRKSRC} go build
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/consul-template-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/consul-template ${INSTALL_PROGRAM} \
${WRKSRC}/src/github.com/hashicorp/consul-template/consul-template \
${STAGEDIR}${PREFIX}/bin/consul-template
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,34 +1,3 @@
SHA256 (hashicorp-consul-template-v0.12.2_GH0.tar.gz) = 9d8ae6ba84caa826400a3eef0e28325518a21c44332eebaaf3878dc5972f3997 TIMESTAMP = 1463835548
SIZE (hashicorp-consul-template-v0.12.2_GH0.tar.gz) = 93913 SHA256 (hashicorp-consul-template-v0.14.0_GH0.tar.gz) = 8e4ee468f79c806db0bdea6432bd990f11089539910b751dac8b168b022a090b
SHA256 (hashicorp-consul-v0.6.3_GH0.tar.gz) = 5cdc21d6f20f9b703d38e19d3d2ed1c037dcbb236b80bff6a9b9c481ded74435 SIZE (hashicorp-consul-template-v0.14.0_GH0.tar.gz) = 1567282
SIZE (hashicorp-consul-v0.6.3_GH0.tar.gz) = 2224536
SHA256 (hashicorp-go-multierror-d30f099_GH0.tar.gz) = 3a1ea11a45d9ec6aab4aeea142a6c8b73bfd1ae7613c77de6e53880b36539697
SIZE (hashicorp-go-multierror-d30f099_GH0.tar.gz) = 8785
SHA256 (hashicorp-go-syslog-42a2b57_GH0.tar.gz) = c092db8da3dc2c7279b4ad6afbb6ee7c4daae9ac3020a591096be59f94330544
SIZE (hashicorp-go-syslog-42a2b57_GH0.tar.gz) = 4394
SHA256 (hashicorp-hcl-aee8c49_GH0.tar.gz) = 2e8367b39ffcdbe6da1892ed4115789a48ed9c2302874e4abf8f191bc6051708
SIZE (hashicorp-hcl-aee8c49_GH0.tar.gz) = 57358
SHA256 (hashicorp-logutils-0dc08b1_GH0.tar.gz) = d1272f06f8df434ee06bf965028debe32686a240818729beed5468eedf7f845e
SIZE (hashicorp-logutils-0dc08b1_GH0.tar.gz) = 7705
SHA256 (hashicorp-terraform-acabd4d_GH0.tar.gz) = bcf9d63632ff63b1f410822eb51bef818de1e1de9f73117eced18df0a5973a89
SIZE (hashicorp-terraform-acabd4d_GH0.tar.gz) = 4134132
SHA256 (hashicorp-go-reap-2d85522_GH0.tar.gz) = 9ae2938e9bec3003226e59dd3d41f4c4a5b7150342c90f55c0003dd2c5c3968a
SIZE (hashicorp-go-reap-2d85522_GH0.tar.gz) = 8465
SHA256 (hashicorp-vault-4750307_GH0.tar.gz) = 5b75643510b702cb76d0aa7bcb1d681fef05724786c8b273c598d9b32f23c25a
SIZE (hashicorp-vault-4750307_GH0.tar.gz) = 2612378
SHA256 (hashicorp-serf-b60fe33_GH0.tar.gz) = 7f2e72169ba0e69f0e2faed17950171ee9f93f54a770b7003df5e1050de1654d
SIZE (hashicorp-serf-b60fe33_GH0.tar.gz) = 578795
SHA256 (hashicorp-go-cleanhttp-ce617e7_GH0.tar.gz) = 89651ed81df354d0576e4889a54a2d78686f0eea641d3f1c1ecb7cbe732a1509
SIZE (hashicorp-go-cleanhttp-ce617e7_GH0.tar.gz) = 6592
SHA256 (hashicorp-errwrap-7554cd9_GH0.tar.gz) = b800e361c15decd0ebb39a0ff02ad046a1fc81021267f8625232f3921617daa0
SIZE (hashicorp-errwrap-7554cd9_GH0.tar.gz) = 8312
SHA256 (golang-sys-442cd60_GH0.tar.gz) = 1ecc7b3be1743595adefdd646846dfda7312290a8d3a2bdef6cf43697eea548a
SIZE (golang-sys-442cd60_GH0.tar.gz) = 541727
SHA256 (armon-consul-api-dcfedd5_GH0.tar.gz) = 153676d6996e42d0b1690c4eb353627c8e8509d2605f57984acf9405dc9af02f
SIZE (armon-consul-api-dcfedd5_GH0.tar.gz) = 17979
SHA256 (mitchellh-mapstructure-281073e_GH0.tar.gz) = e511fe333b7ce7cbe2b1d03e35f8a3d9ed1bf52eb3aca32859fe5f7acb54ea33
SIZE (mitchellh-mapstructure-281073e_GH0.tar.gz) = 13968
SHA256 (go-yaml-yaml-f7716cb_GH0.tar.gz) = 5e434754a04c29a41daca8c4560c9abdfd2a253be5bf0e10e8685e0f7abb150a
SIZE (go-yaml-yaml-f7716cb_GH0.tar.gz) = 62984
SHA256 (fatih-structs-dd04eba_GH0.tar.gz) = f02333713917af7bf64b8ea8fd06bfbff21af76ed67296ab8073458fbd77b29a
SIZE (fatih-structs-dd04eba_GH0.tar.gz) = 11847