pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
terraform: decouple terraform-provider-* from terraform
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Sep 2 17:07:52 2025 +0200
Changeset: 3a1551a6e0050b2dcec1227709d4188393800c87
Modified Files:
terraform/provider.mk
terraform/version.mk
Log Message:
terraform: decouple terraform-provider-* from terraform
Terraform providers do not really need Terraform as dependency, i.e.
they can be built independently. Stop depending on a particular
Terraform version for every provider.
(Probably also on its own without Terraform can be useful, e.g. I think
Pulumi and other IaC software can reuse them.)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3a1551a6e0050b2dcec1227709d4188393800c87
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
terraform/provider.mk | 2 --
terraform/version.mk | 4 ----
2 files changed, 6 deletions(-)
diffs:
diff --git a/terraform/provider.mk b/terraform/provider.mk
index b34f931e5b..668f244f78 100644
--- a/terraform/provider.mk
+++ b/terraform/provider.mk
@@ -44,8 +44,6 @@
.include "../../wip/terraform/version.mk"
-DEPENDS+= ${TERRAFORM_PACKAGE_DEP}
-
TERRAFORM_PROVIDER_HOSTNAME?= registry.terraform.io
TERRAFORM_PROVIDER_VERSION?= ${PKGVERSION_NOREV}
TERRAFORM_PROVIDER_DIR?= share/terraform/plugins/${TERRAFORM_PROVIDER_HOSTNAME}/${TERRAFORM_PROVIDER_NAMESPACE}/${TERRAFORM_PROVIDER_TYPE}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}
diff --git a/terraform/version.mk b/terraform/version.mk
index 888e94e3d6..dda3462836 100644
--- a/terraform/version.mk
+++ b/terraform/version.mk
@@ -21,10 +21,6 @@ TERRAFORM_VERSION_DEFAULT?= 015
TERRAFORMVERSSUFFIX= ${TERRAFORM_VERSION_DEFAULT}
.endif
-# Preferred version dependency for Terraform
-# FIXME: this should be instructed to handle OpenTofu
-TERRAFORM_PACKAGE_DEP= terraform${TERRAFORMVERSSUFFIX}-${TERRAFORM${TERRAFORMVERSSUFFIX}_VERSION}*:../../wip/terraform${TERRAFORMVERSSUFFIX}
-
PLIST_SUBST+= TERRAFORMVERSSUFFIX=${TERRAFORMVERSSUFFIX:Q}
PRINT_PLIST_AWK+= { sub("${TERRAFORMVERSSUFFIX}", "$${TERRAFORMVERSSUFFIX}") }
Home |
Main Index |
Thread Index |
Old Index