pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/terraform-provider-template terraform-provider-tem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94abaa679929
branches:  trunk
changeset: 448606:94abaa679929
user:      tpaul <tpaul%pkgsrc.org@localhost>
date:      Wed Mar 10 23:24:00 2021 +0000

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

The template provider exposes data sources to use templates to generate strings
for other Terraform resources or outputs.

This provider has been deprecated in Terraform 0.12 but users are likely to
still encounter it in modules that have not been fully migrated to the new
templatefile function.

diffstat:

 net/terraform-provider-template/DESCR                 |   5 +++
 net/terraform-provider-template/Makefile              |  27 +++++++++++++++++++
 net/terraform-provider-template/PLIST                 |   2 +
 net/terraform-provider-template/distinfo              |   7 ++++
 net/terraform-provider-template/patches/patch-main.go |  16 +++++++++++
 5 files changed, 57 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r b80a3c66ff29 -r 94abaa679929 net/terraform-provider-template/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/terraform-provider-template/DESCR     Wed Mar 10 23:24:00 2021 +0000
@@ -0,0 +1,5 @@
+The template provider exposes data sources to use templates to generate strings
+for other Terraform resources or outputs.
+
+Note: This provider is deprecated.
+Please use the `templatefile` function or the `Cloudinit` provider instead.
diff -r b80a3c66ff29 -r 94abaa679929 net/terraform-provider-template/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/terraform-provider-template/Makefile  Wed Mar 10 23:24:00 2021 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2021/03/10 23:24:00 tpaul Exp $
+
+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 -r b80a3c66ff29 -r 94abaa679929 net/terraform-provider-template/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/terraform-provider-template/PLIST     Wed Mar 10 23:24:00 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/10 23:24:00 tpaul Exp $
+bin/terraform-provider-template
diff -r b80a3c66ff29 -r 94abaa679929 net/terraform-provider-template/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/terraform-provider-template/distinfo  Wed Mar 10 23:24:00 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/03/10 23:24:00 tpaul Exp $
+
+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 -r b80a3c66ff29 -r 94abaa679929 net/terraform-provider-template/patches/patch-main.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/terraform-provider-template/patches/patch-main.go     Wed Mar 10 23:24:00 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-main.go,v 1.1 2021/03/10 23:24:00 tpaul Exp $
+
+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