Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 00:39:11 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409267 - in head/sysutils: . envconsul
Message-ID:  <201602210039.u1L0dBnp020022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Feb 21 00:39:11 2016
New Revision: 409267
URL: https://svnweb.freebsd.org/changeset/ports/409267

Log:
  sysutils/envconsul: create port

Added:
  head/sysutils/envconsul/
  head/sysutils/envconsul/Makefile   (contents, props changed)
  head/sysutils/envconsul/distinfo   (contents, props changed)
  head/sysutils/envconsul/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Feb 20 21:01:51 2016	(r409266)
+++ head/sysutils/Makefile	Sun Feb 21 00:39:11 2016	(r409267)
@@ -244,6 +244,7 @@
     SUBDIR += enteruser
     SUBDIR += entr
     SUBDIR += env4801
+    SUBDIR += envconsul
     SUBDIR += etcmerge
     SUBDIR += etcupdate
     SUBDIR += eventlog

Added: head/sysutils/envconsul/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/envconsul/Makefile	Sun Feb 21 00:39:11 2016	(r409267)
@@ -0,0 +1,115 @@
+# $FreeBSD$
+
+PORTNAME=	envconsul
+PORTVERSION=	0.6.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	sysutils
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Populate values from Consul into a process environment
+
+LICENSE=	MPL
+LICENSE_FILE=	${WRKSRC}/src/github.com/hashicorp/envconsul/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	armon:gometrics,goradix aws:awssdkgo coreos:etcd fatih:structs \
+		go-ini:ini go-sql-driver:mysql hashicorp:DEFAULT,consul,consultemplate \
+		hashicorp:errwrap,gocleanhttp,gogatedio,gomsgpack \
+		hashicorp:gomultierror,gosyslog,gouuid,golanglru,hcl,logutils \
+		hashicorp:serf,vault jmespath:gojmespath lib:pq \
+		mitchellh:copystructure,iochan,mapstructure,reflectwalk \
+		samuel:gozookeeper golang:crypto,net
+GH_PROJECT=	go-metrics:gometrics go-radix:goradix aws-sdk-go:awssdkgo \
+		etcd:etcd structs:structs ini:ini mysql:mysql consul:consul \
+		consul-template:consultemplate errwrap:errwrap \
+		go-cleanhttp:gocleanhttp go-gatedio:gogatedio \
+		go-msgpack:gomsgpack go-multierror:gomultierror \
+		go-syslog:gosyslog go-uuid:gouuid golang-lru:golanglru hcl:hcl \
+		logutils:logutils serf:serf vault:vault go-jmespath:gojmespath \
+		pq:pq copystructure:copystructure iochan:iochan \
+		mapstructure:mapstructure reflectwalk:reflectwalk \
+		go-zookeeper:gozookeeper crypto:crypto net:net
+GH_TAGNAME=	6c5fa0d:gometrics fbd82e8:goradix 308eaa6:awssdkgo 6afd8e4:etcd \
+		a9f7daa:structs aea5e9f:ini 527bcd5:mysql 809ed36:consul \
+		ec11b92:consultemplate c2a1a65:envconsul 7554cd9:errwrap \
+		875fb67:gocleanhttp 8b8de10:gogatedio fa3f638:gomsgpack \
+		d30f099:gomultierror 42a2b57:gosyslog 2951e8b:gouuid \
+ 		17e3543:golanglru 4de5195:hcl 0dc08b1:logutils 8d36400:serf \
+		97820e2:vault bbaa094:gojmespath ffe986a:pq \
+		6fc6626:copystructure 87b45ff:iochan 281073e:mapstructure \
+		eecf4c7:reflectwalk 913027e:gozookeeper c8b9e63:crypto \
+		271cfc1:net
+
+PLIST_FILES=	bin/envconsul
+
+STRIP=		# stripping can break go binaries
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	README.md
+
+post-patch:
+	@${MKDIR} ${WRKSRC}/src/github.com/hashicorp/envconsul
+.for src in .gitignore .travis.yml CHANGELOG.md LICENSE Makefile README.md \
+	cli.go cli_test.go config.go config_test.go flags.go main.go runner.go \
+	runner_test.go scripts signals.go signals_windows.go
+	@${MV} ${WRKSRC}/${src} \
+		${WRKSRC}/src/github.com/hashicorp/envconsul
+.endfor
+	@${MKDIR} ${WRKSRC}/src/github.com/armon
+	@${MKDIR} ${WRKSRC}/src/github.com/aws
+	@${MKDIR} ${WRKSRC}/src/github.com/coreos
+	@${MKDIR} ${WRKSRC}/src/github.com/fatih
+	@${MKDIR} ${WRKSRC}/src/github.com/go-ini
+	@${MKDIR} ${WRKSRC}/src/github.com/go-sql-driver
+	@${MKDIR} ${WRKSRC}/src/github.com/jmespath
+	@${MKDIR} ${WRKSRC}/src/github.com/lib
+	@${MKDIR} ${WRKSRC}/src/github.com/mitchellh
+	@${MKDIR} ${WRKSRC}/src/github.com/samuel
+	@${MKDIR} ${WRKSRC}/src/golang.org/x
+	@${MV} ${WRKSRC_gometrics} ${WRKSRC}/src/github.com/armon/go-metrics
+	@${MV} ${WRKSRC_goradix} ${WRKSRC}/src/github.com/armon/go-radix
+	@${MV} ${WRKSRC_awssdkgo} ${WRKSRC}/src/github.com/aws/aws-sdk-go
+	@${MV} ${WRKSRC_etcd} ${WRKSRC}/src/github.com/coreos/etcd
+	@${MV} ${WRKSRC_structs} ${WRKSRC}/src/github.com/fatih/structs
+	@${MV} ${WRKSRC_ini} ${WRKSRC}/src/github.com/go-ini/ini
+	@${MV} ${WRKSRC_mysql} ${WRKSRC}/src/github.com/go-sql-driver/mysql
+	@${MV} ${WRKSRC_consul} ${WRKSRC}/src/github.com/hashicorp/consul
+	@${MV} ${WRKSRC_consultemplate} ${WRKSRC}/src/github.com/hashicorp/consul-template
+	@${MV} ${WRKSRC_errwrap} ${WRKSRC}/src/github.com/hashicorp/errwrap
+	@${MV} ${WRKSRC_gocleanhttp} ${WRKSRC}/src/github.com/hashicorp/go-cleanhttp
+	@${MV} ${WRKSRC_gogatedio} ${WRKSRC}/src/github.com/hashicorp/go-gatedio
+	@${MV} ${WRKSRC_gomsgpack} ${WRKSRC}/src/github.com/hashicorp/go-msgpack
+	@${MV} ${WRKSRC_gomultierror} ${WRKSRC}/src/github.com/hashicorp/go-multierror
+	@${MV} ${WRKSRC_gosyslog} ${WRKSRC}/src/github.com/hashicorp/go-syslog
+	@${MV} ${WRKSRC_gouuid} ${WRKSRC}/src/github.com/hashicorp/go-uuid
+	@${MV} ${WRKSRC_golanglru} ${WRKSRC}/src/github.com/hashicorp/golang-lru
+	@${MV} ${WRKSRC_hcl} ${WRKSRC}/src/github.com/hashicorp/hcl
+	@${MV} ${WRKSRC_logutils} ${WRKSRC}/src/github.com/hashicorp/logutils
+	@${MV} ${WRKSRC_serf} ${WRKSRC}/src/github.com/hashicorp/serf
+	@${MV} ${WRKSRC_vault} ${WRKSRC}/src/github.com/hashicorp/vault
+	@${MV} ${WRKSRC_gojmespath} ${WRKSRC}/src/github.com/jmespath/go-jmespath
+	@${MV} ${WRKSRC_pq} ${WRKSRC}/src/github.com/lib/pq
+	@${MV} ${WRKSRC_copystructure} ${WRKSRC}/src/github.com/mitchellh/copystructure
+	@${MV} ${WRKSRC_iochan} ${WRKSRC}/src/github.com/mitchellh/iochan
+	@${MV} ${WRKSRC_mapstructure} ${WRKSRC}/src/github.com/mitchellh/mapstructure
+	@${MV} ${WRKSRC_reflectwalk} ${WRKSRC}/src/github.com/mitchellh/reflectwalk
+	@${MV} ${WRKSRC_gozookeeper} ${WRKSRC}/src/github.com/samuel/go-zookeeper
+	@${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto
+	@${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net
+
+do-build:
+	@cd ${WRKSRC}/src/github.com/hashicorp/envconsul; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o bin/envconsul
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/envconsul/bin/envconsul ${STAGEDIR}${PREFIX}/bin/envconsul
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${CP} ${WRKSRC}/src/github.com/hashicorp/envconsul/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>

Added: head/sysutils/envconsul/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/envconsul/distinfo	Sun Feb 21 00:39:11 2016	(r409267)
@@ -0,0 +1,64 @@
+SHA256 (hashicorp-envconsul-v0.6.0_GH0.tar.gz) = ade72d4dd6ecfe4523556caec6f1c52fc62039eca81d1fe7a4e0ab15db44074e
+SIZE (hashicorp-envconsul-v0.6.0_GH0.tar.gz) = 32521
+SHA256 (armon-go-metrics-6c5fa0d_GH0.tar.gz) = d70e7e6d7243cb447eaf017a713952e421c948a303c96fe8052d2d060e20aec1
+SIZE (armon-go-metrics-6c5fa0d_GH0.tar.gz) = 13221
+SHA256 (armon-go-radix-fbd82e8_GH0.tar.gz) = a5999f535eab66b5302f5b629eac6b613fec171e8529e219596251f3c4aeced5
+SIZE (armon-go-radix-fbd82e8_GH0.tar.gz) = 5488
+SHA256 (aws-aws-sdk-go-308eaa6_GH0.tar.gz) = e0cd8827769846df79526bf7330221f846c37e78baa316a7d04b5281da6350d1
+SIZE (aws-aws-sdk-go-308eaa6_GH0.tar.gz) = 2613575
+SHA256 (coreos-etcd-6afd8e4_GH0.tar.gz) = ea760839bf9a3648f18946ec4d96ac5e21f32c776b4667d36b9f763fda0e5af9
+SIZE (coreos-etcd-6afd8e4_GH0.tar.gz) = 1841083
+SHA256 (fatih-structs-a9f7daa_GH0.tar.gz) = dfd5ad7383a88fb2f26e25d5a2bee2dfae8e03e2cfb6e8e965868a9257b3b1a0
+SIZE (fatih-structs-a9f7daa_GH0.tar.gz) = 11749
+SHA256 (go-ini-ini-aea5e9f_GH0.tar.gz) = 4d1ddc15e25e66f1e45f5ecee48f34716ef80006c7f705c198bd45ae968d24d7
+SIZE (go-ini-ini-aea5e9f_GH0.tar.gz) = 24398
+SHA256 (go-sql-driver-mysql-527bcd5_GH0.tar.gz) = e1af37c3b9ac10a1e8560d462dd5bd7a09e4de9c26fc0eec44390729eb9474ac
+SIZE (go-sql-driver-mysql-527bcd5_GH0.tar.gz) = 53131
+SHA256 (hashicorp-consul-809ed36_GH0.tar.gz) = 648ee7746e3d6c2c3b73d33d931858af01dd3c373f9d06c5ca5df0791ef0caa3
+SIZE (hashicorp-consul-809ed36_GH0.tar.gz) = 1890104
+SHA256 (hashicorp-consul-template-ec11b92_GH0.tar.gz) = fd1ef8bf0e9b9c04c2baf1cf97ab5204ff0140f284af31bded199aa6c6fff22f
+SIZE (hashicorp-consul-template-ec11b92_GH0.tar.gz) = 83551
+SHA256 (hashicorp-errwrap-7554cd9_GH0.tar.gz) = b800e361c15decd0ebb39a0ff02ad046a1fc81021267f8625232f3921617daa0
+SIZE (hashicorp-errwrap-7554cd9_GH0.tar.gz) = 8312
+SHA256 (hashicorp-go-cleanhttp-875fb67_GH0.tar.gz) = a09a1f166fb844ec7b648fc62011a8964cca0666ff536bc737498a20a350a083
+SIZE (hashicorp-go-cleanhttp-875fb67_GH0.tar.gz) = 7124
+SHA256 (hashicorp-go-gatedio-8b8de10_GH0.tar.gz) = 3561fbb4a3c456381d5fe4722433deb351c2e381fa9483c5a9760a85925df0e6
+SIZE (hashicorp-go-gatedio-8b8de10_GH0.tar.gz) = 8209
+SHA256 (hashicorp-go-msgpack-fa3f638_GH0.tar.gz) = 6353c623d5d58c7ca03e2bdac63f9da7da8848fb1f5f7f239b33e3ce6fe6c6bd
+SIZE (hashicorp-go-msgpack-fa3f638_GH0.tar.gz) = 49496
+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-go-uuid-2951e8b_GH0.tar.gz) = 427e01926ff148e9ac1659cd87afc1fd0994a8cdd976682a1d6b82c5922ec28d
+SIZE (hashicorp-go-uuid-2951e8b_GH0.tar.gz) = 6159
+SHA256 (hashicorp-golang-lru-17e3543_GH0.tar.gz) = 0626cb131f83f95e830361a4bf5f977f17a775c3d9a5925548e6014c162ca7ed
+SIZE (hashicorp-golang-lru-17e3543_GH0.tar.gz) = 8030
+SHA256 (hashicorp-hcl-4de5195_GH0.tar.gz) = 34614c227cec654726cdd053284db7df5f05fb0814a8d39c2f8a21f95c3f855e
+SIZE (hashicorp-hcl-4de5195_GH0.tar.gz) = 30879
+SHA256 (hashicorp-logutils-0dc08b1_GH0.tar.gz) = d1272f06f8df434ee06bf965028debe32686a240818729beed5468eedf7f845e
+SIZE (hashicorp-logutils-0dc08b1_GH0.tar.gz) = 7705
+SHA256 (hashicorp-serf-8d36400_GH0.tar.gz) = c4f399ac601acf44f44e64513d598e132075839e8066e8cd1005b42d33c955a4
+SIZE (hashicorp-serf-8d36400_GH0.tar.gz) = 573251
+SHA256 (hashicorp-vault-97820e2_GH0.tar.gz) = 9ef0dfa8ee0c3fe2c544b02afd05a01e92f2ed38468feb7c5d389ccc64857423
+SIZE (hashicorp-vault-97820e2_GH0.tar.gz) = 1925721
+SHA256 (jmespath-go-jmespath-bbaa094_GH0.tar.gz) = fd0ba523b298637eba37968500853eba9716e6c872d72d3a9d2fea596caf043c
+SIZE (jmespath-go-jmespath-bbaa094_GH0.tar.gz) = 46447
+SHA256 (lib-pq-ffe986a_GH0.tar.gz) = 26c33c35fdde3a2e78abb658bf4d90abefc7520d3612856e4650ca52f3aa6c63
+SIZE (lib-pq-ffe986a_GH0.tar.gz) = 67246
+SHA256 (mitchellh-copystructure-6fc6626_GH0.tar.gz) = b632b0536ab26766989d11287d798417b7583e4f55928ee2c1100d11a222d64a
+SIZE (mitchellh-copystructure-6fc6626_GH0.tar.gz) = 4029
+SHA256 (mitchellh-iochan-87b45ff_GH0.tar.gz) = f929e7740412611e37e5c3984dc32828bc2b47df91351eafefb36460abee4565
+SIZE (mitchellh-iochan-87b45ff_GH0.tar.gz) = 1782
+SHA256 (mitchellh-mapstructure-281073e_GH0.tar.gz) = e511fe333b7ce7cbe2b1d03e35f8a3d9ed1bf52eb3aca32859fe5f7acb54ea33
+SIZE (mitchellh-mapstructure-281073e_GH0.tar.gz) = 13968
+SHA256 (mitchellh-reflectwalk-eecf4c7_GH0.tar.gz) = a681b9f5f9a8c24d01d9e05a088dc2053fa637060cf4fa8a4232d5ef4f00ca11
+SIZE (mitchellh-reflectwalk-eecf4c7_GH0.tar.gz) = 4272
+SHA256 (samuel-go-zookeeper-913027e_GH0.tar.gz) = 782bdc942459205fb548c66fa4e35f368e39631d127cf0190d862adb6061888b
+SIZE (samuel-go-zookeeper-913027e_GH0.tar.gz) = 26529
+SHA256 (golang-crypto-c8b9e63_GH0.tar.gz) = 071aa15bcf36aabc1e24263f876d23e4562a4362f7e7aec8a687631bc884065a
+SIZE (golang-crypto-c8b9e63_GH0.tar.gz) = 895576
+SHA256 (golang-net-271cfc1_GH0.tar.gz) = 84001b9f7ffa2e5c57a0767b5af91eb5c74017f56c7e049c2d6b5e830c50a243
+SIZE (golang-net-271cfc1_GH0.tar.gz) = 695232
+SHA256 (hashicorp-envconsul-c2a1a65_GH0.tar.gz) = f8f2fbb29b05287176eecb407c1410d0d2756945a2de2fcea5489a9e31604f21
+SIZE (hashicorp-envconsul-c2a1a65_GH0.tar.gz) = 32569

Added: head/sysutils/envconsul/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/envconsul/pkg-descr	Sun Feb 21 00:39:11 2016	(r409267)
@@ -0,0 +1,4 @@
+envconsul provides a convenient way to populate values from Consul into a child
+process environment using the envconsul daemon.
+
+WWW: https://github.com/hashicorp/envconsul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602210039.u1L0dBnp020022>