Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 13:38:02 +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: r437922 - head/sysutils/terraform
Message-ID:  <201704071338.v37Dc2Jb067338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Apr  7 13:38:01 2017
New Revision: 437922
URL: https://svnweb.freebsd.org/changeset/ports/437922

Log:
  sysutils/terraform: Update to 0.9.2
  
  PR:		218402
  Submitted by:	Bradley T. Hughes <bradleythughes@fastmail.fm>

Deleted:
  head/sysutils/terraform/pkg-plist
Modified:
  head/sysutils/terraform/Makefile
  head/sysutils/terraform/distinfo

Modified: head/sysutils/terraform/Makefile
==============================================================================
--- head/sysutils/terraform/Makefile	Fri Apr  7 13:12:50 2017	(r437921)
+++ head/sysutils/terraform/Makefile	Fri Apr  7 13:38:01 2017	(r437922)
@@ -1,55 +1,29 @@
 # $FreeBSD$
 
 PORTNAME=	terraform
-PORTVERSION=	0.6.14
+PORTVERSION=	0.9.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Provides a common configuration to launch infrastructure
 
+LICENSE=	MPL
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	hashicorp
-STRIP=		# stripping can break go binaries
+GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
 
-PLUGINS=	provider-atlas provider-aws provider-azure provider-azurerm \
-		provider-chef provider-clc provider-cloudflare \
-		provider-cloudstack provider-consul provider-datadog \
-		provider-digitalocean provider-dme provider-dnsimple \
-		provider-docker provider-dyn provider-github provider-google \
-		provider-heroku provider-influxdb provider-mailgun \
-		provider-mysql provider-null provider-openstack provider-packet \
-		provider-postgresql provider-powerdns provider-rundeck \
-		provider-statuscake provider-template provider-terraform \
-		provider-tls provider-triton provider-ultradns provider-vcd \
-		provider-vsphere provisioner-chef provisioner-file \
-		provisioner-local-exec provisioner-remote-exec
-
-post-extract:
-	@${MV} ${WRKSRC}/vendor ${WRKSRC}/src
-	@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
-.for src in .gitignore .travis.yml BUILDING.md CHANGELOG.md CONTRIBUTING.md \
-	LICENSE Makefile README.md Vagrantfile builtin checkpoint.go command \
-	commands.go communicator config config.go config_test.go config_unix.go \
-	config_windows.go contrib dag deps digraph dot examples flatmap helper \
-	main.go make.bat panic.go plugin rpc scripts state terraform \
-	test-fixtures version.go website
-	@${MV} ${WRKSRC}/${src} \
-		${WRKSRC}/src/github.com/hashicorp/${PORTNAME}
-.endfor
+PLIST_FILES=	bin/${PORTNAME}
 
 do-build:
-	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME}
-.for plugin in ${PLUGINS}
-	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME}-${plugin} github.com/hashicorp/terraform/builtin/bins/${plugin}
-.endfor
+	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} \
+		go build -o bin/${PORTNAME}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.for plugin in ${PLUGINS}
-	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME}-${plugin} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${plugin}
-.endfor
 
 .include <bsd.port.mk>

Modified: head/sysutils/terraform/distinfo
==============================================================================
--- head/sysutils/terraform/distinfo	Fri Apr  7 13:12:50 2017	(r437921)
+++ head/sysutils/terraform/distinfo	Fri Apr  7 13:38:01 2017	(r437922)
@@ -1,2 +1,3 @@
-SHA256 (hashicorp-terraform-v0.6.14_GH0.tar.gz) = e19a35e4794ea551d3e42abf771069c658d121c5ebbb7bc1c48c2822412c1825
-SIZE (hashicorp-terraform-v0.6.14_GH0.tar.gz) = 8540416
+TIMESTAMP = 1491417452
+SHA256 (hashicorp-terraform-v0.9.2_GH0.tar.gz) = a5e3924bf72899149b572409c82da4b7d71ac556fd460790577bdf50f27709a4
+SIZE (hashicorp-terraform-v0.9.2_GH0.tar.gz) = 16724937



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