pkgsrc-WIP-changes archive

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

terraform-provider-random: Import terraform-provider-random-3.1.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Apr 12 11:03:37 2021 +0200
Changeset:	89e0f0569a450d7c45c8ac144a792edbb8752e3a

Modified Files:
	Makefile
Added Files:
	terraform-provider-random/DESCR
	terraform-provider-random/Makefile
	terraform-provider-random/PLIST
	terraform-provider-random/distinfo

Log Message:
terraform-provider-random: Import terraform-provider-random-3.1.0

The "random" provider allows the use of randomness within Terraform
configurations. This is a logical provider, which means that it works entirely
within Terraform's logic, and doesn't interact with any other services.

Based on net/terraform-provider-random, updated to latest stable version and
adjusted for wip/terraform (and, a good excuse to also test go-package-s
Terraform providers).

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

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

diffstat:
 Makefile                           |  1 +
 terraform-provider-random/DESCR    |  3 +++
 terraform-provider-random/Makefile | 35 +++++++++++++++++++++++++++++++++++
 terraform-provider-random/PLIST    |  2 ++
 terraform-provider-random/distinfo |  6 ++++++
 5 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 369d7f5a6e..99da93d15d 100644
--- a/Makefile
+++ b/Makefile
@@ -5362,6 +5362,7 @@ SUBDIR+=	terraform
 SUBDIR+=	terraform-provider-archive
 SUBDIR+=	terraform-provider-aws
 SUBDIR+=	terraform-provider-local
+SUBDIR+=	terraform-provider-random
 SUBDIR+=	terraform-provider-template
 SUBDIR+=	terraform013
 SUBDIR+=	terraform014
diff --git a/terraform-provider-random/DESCR b/terraform-provider-random/DESCR
new file mode 100644
index 0000000000..b04414a9ca
--- /dev/null
+++ b/terraform-provider-random/DESCR
@@ -0,0 +1,3 @@
+The "random" provider allows the use of randomness within Terraform
+configurations. This is a logical provider, which means that it works entirely
+within Terraform's logic, and doesn't interact with any other services.
diff --git a/terraform-provider-random/Makefile b/terraform-provider-random/Makefile
new file mode 100644
index 0000000000..1e6478b9ef
--- /dev/null
+++ b/terraform-provider-random/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.13 2021/02/01 16:54:00 tpaul Exp $
+
+DISTNAME=	terraform-provider-random-3.1.0
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hashicorp/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.terraform.io/docs/providers/random/
+COMMENT=	Terraform provider for randomness
+LICENSE=	mpl-2.0
+
+UNLIMIT_RESOURCES=	datasize virtualsize
+
+TERRAFORM_PROVIDER_BIN=		terraform-provider-random
+TERRAFORM_PROVIDER_NAMESPACE=	hashicorp
+TERRAFORM_PROVIDER_TYPE=	random
+
+GO_DIST_BASE=	${DISTNAME}
+GO_SRCPATH=	github.com/terraform-providers/${GITHUB_PROJECT}
+
+GO_BUILD_PATTERN=	${GO_SRCPATH}/.
+
+USE_TOOLS+=	bash
+REPLACE_BASH+=	scripts/*.sh
+
+INSTALLATION_DIRS+=	${TERRAFORM_PROVIDER_DIR}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/${TERRAFORM_PROVIDER_BIN} \
+	   ${DESTDIR}${PREFIX}/${TERRAFORM_PROVIDER_DIR}
+
+.include "../../lang/go/go-package.mk"
+.include "../../wip/terraform/provider.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/terraform-provider-random/PLIST b/terraform-provider-random/PLIST
new file mode 100644
index 0000000000..615e56db4a
--- /dev/null
+++ b/terraform-provider-random/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+share/terraform/plugins/${TERRAFORM_PROVIDER_HOSTNAME}/${TERRAFORM_PROVIDER_NAMESPACE}/${TERRAFORM_PROVIDER_TYPE}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}/terraform-provider-random
diff --git a/terraform-provider-random/distinfo b/terraform-provider-random/distinfo
new file mode 100644
index 0000000000..a1a6c989ca
--- /dev/null
+++ b/terraform-provider-random/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.2 2020/07/08 08:15:06 adam Exp $
+
+SHA1 (terraform-provider-random-3.1.0.tar.gz) = a257249523417ac5624783a217456c47cf26ae9b
+RMD160 (terraform-provider-random-3.1.0.tar.gz) = 9f8b1f06a1de810da4085d0425887da31bf6a24b
+SHA512 (terraform-provider-random-3.1.0.tar.gz) = 7b0f425af02792915a160303fcd7c79f9ab862b439c1f8ee6be8802684c80b82ce849d1aa8e0261aa7eb49e4399052af28186e2922257ac62b002619b6b8d6e1
+Size (terraform-provider-random-3.1.0.tar.gz) = 4782527 bytes


Home | Main Index | Thread Index | Old Index