pkgsrc-WIP-changes archive

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

terraform-provider-template: Import terraform-provider-template-2.2.0



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Tue Mar 9 13:25:15 2021 -0500
Changeset:	7d1d7bd4daf3477f8d36877abb5143e9f46a7046

Modified Files:
	Makefile
Added Files:
	terraform-provider-template/DESCR
	terraform-provider-template/Makefile
	terraform-provider-template/PLIST
	terraform-provider-template/distinfo
	terraform-provider-template/patches/patch-main.go

Log Message:
terraform-provider-template: Import terraform-provider-template-2.2.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7d1d7bd4daf3477f8d36877abb5143e9f46a7046

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

diffstat:
 Makefile                                          |  1 +
 terraform-provider-template/DESCR                 |  7 ++++++
 terraform-provider-template/Makefile              | 27 +++++++++++++++++++++++
 terraform-provider-template/PLIST                 |  2 ++
 terraform-provider-template/distinfo              |  7 ++++++
 terraform-provider-template/patches/patch-main.go | 16 ++++++++++++++
 6 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4c7a3ba12d..db8e42a0df 100644
--- a/Makefile
+++ b/Makefile
@@ -5335,6 +5335,7 @@ SUBDIR+=	terminology
 SUBDIR+=	termit
 SUBDIR+=	terraform013
 SUBDIR+=	terraform014
+SUBDIR+=	terraform-provider-template
 SUBDIR+=	tesseract-game
 SUBDIR+=	tesseract-game-svn
 SUBDIR+=	testssl
diff --git a/terraform-provider-template/DESCR b/terraform-provider-template/DESCR
new file mode 100644
index 0000000000..6a28803443
--- /dev/null
+++ b/terraform-provider-template/DESCR
@@ -0,0 +1,7 @@
+The template provider exposes resources to template files.
+
+Note: This provider has been archived. Please use the `templatefile` function
+or the `Cloudinit` provider instead. See documentation for more details.
+
+This package is provided for code that has not yet been updated to use the
+`templatefile` function.
diff --git a/terraform-provider-template/Makefile b/terraform-provider-template/Makefile
new file mode 100644
index 0000000000..2bfc921436
--- /dev/null
+++ b/terraform-provider-template/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	terraform-provider-template-2.2.0
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hashicorp/}
+GITHUB_PROJECT=	${PKGBASE}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.terraform.io/docs/providers/template/
+COMMENT=	Terraform template provider
+LICENSE=	mpl-2.0
+
+DEPENDS+=	terraform-[0-9]*:../../net/terraform
+
+UNLIMIT_RESOURCES=	datasize virtualsize
+
+GO_DIST_BASE=	${DISTNAME}
+GO_SRCPATH=	github.com/hashicorp/${GITHUB_PROJECT}
+
+GO_BUILD_PATTERN=	${GO_SRCPATH}/.
+
+USE_TOOLS+=	bash
+REPLACE_BASH+=	scripts/*.sh
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/terraform-provider-template/PLIST b/terraform-provider-template/PLIST
new file mode 100644
index 0000000000..4918bc49b8
--- /dev/null
+++ b/terraform-provider-template/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/terraform-provider-template
diff --git a/terraform-provider-template/distinfo b/terraform-provider-template/distinfo
new file mode 100644
index 0000000000..8f6d6b180a
--- /dev/null
+++ b/terraform-provider-template/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (terraform-provider-template-2.2.0.tar.gz) = fbaa05b80f02795581af4ba86fce01b0e807ef7d
+RMD160 (terraform-provider-template-2.2.0.tar.gz) = 5dd5b3b1460d9fe5e2d1086c4a15a6007d3459da
+SHA512 (terraform-provider-template-2.2.0.tar.gz) = f77459c2fd731fb6d69b2441dba1fe20c8945edec77ab890a1b00f5313d3ff091d9dd1d52c6bf94bc767f40d00238ddca636da9f833b990fa74d5f0c08887e0e
+Size (terraform-provider-template-2.2.0.tar.gz) = 3867150 bytes
+SHA1 (patch-main.go) = 156333e7a1414299e3366792b59bc2f929fe1515
diff --git a/terraform-provider-template/patches/patch-main.go b/terraform-provider-template/patches/patch-main.go
new file mode 100644
index 0000000000..6fd27e4f9d
--- /dev/null
+++ b/terraform-provider-template/patches/patch-main.go
@@ -0,0 +1,16 @@
+$NetBSD$
+
+The template provider has been archived and is only available on the Hashicorp
+Github account.
+
+--- main.go.orig	2020-10-08 16:14:35.000000000 +0000
++++ main.go
+@@ -2,7 +2,7 @@ package main
+ 
+ import (
+ 	"github.com/hashicorp/terraform/plugin"
+-	"github.com/terraform-providers/terraform-provider-template/template"
++	"github.com/hashicorp/terraform-provider-template/template"
+ )
+ 
+ func main() {


Home | Main Index | Thread Index | Old Index