pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
opentofu110: Actually version the binary
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sat Dec 27 11:20:47 2025 +0100
Changeset: 6f210c4ff3333c8ef5ff563d6294ce6161c0bb4d
Modified Files:
opentofu110/Makefile
opentofu110/PLIST
terraform/version.mk
Added Files:
opentofu110/ALTERNATIVES
Log Message:
opentofu110: Actually version the binary
Install it as tofu110 to permit having multiple opentofu-s.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6f210c4ff3333c8ef5ff563d6294ce6161c0bb4d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
opentofu110/ALTERNATIVES | 1 +
opentofu110/Makefile | 6 ++++--
opentofu110/PLIST | 2 +-
terraform/version.mk | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diffs:
diff --git a/opentofu110/ALTERNATIVES b/opentofu110/ALTERNATIVES
new file mode 100644
index 0000000000..cc8e3425b6
--- /dev/null
+++ b/opentofu110/ALTERNATIVES
@@ -0,0 +1 @@
+bin/tofu @PREFIX@/bin/tofu110
diff --git a/opentofu110/Makefile b/opentofu110/Makefile
index 7740c04b12..23de56fb17 100644
--- a/opentofu110/Makefile
+++ b/opentofu110/Makefile
@@ -2,9 +2,11 @@
.include "../../wip/terraform/version.mk"
-DISTNAME= opentofu-${OPENTOFU_VERSION}
+DISTNAME= opentofu-${OPENTOFU110_VERSION}
+PKGNAME= opentofu110-${OPENTOFU110_VERSION}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=opentofu/}
+GITHUB_PROJECT= opentofu
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -19,7 +21,7 @@ SUBST_FILES.providers-prefix= cmd/tofu/provider_source.go
SUBST_VARS.providers-prefix= PREFIX
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/${GOPATH_BIN}/tofu ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/${GOPATH_BIN}/tofu ${DESTDIR}${PREFIX}/bin/tofu110
.include "go-modules.mk"
diff --git a/opentofu110/PLIST b/opentofu110/PLIST
index 516a282e7a..92b7f8e5e5 100644
--- a/opentofu110/PLIST
+++ b/opentofu110/PLIST
@@ -1,2 +1,2 @@
@comment $NetBSD$
-bin/tofu
+bin/tofu110
diff --git a/terraform/version.mk b/terraform/version.mk
index dd1649f428..a564c972a3 100644
--- a/terraform/version.mk
+++ b/terraform/version.mk
@@ -1,6 +1,6 @@
# $NetBSD$
-OPENTOFU_VERSION= 1.10.6
+OPENTOFU110_VERSION= 1.10.6
TERRAFORM15_VERSION= 1.5.7
TERRAFORM13_VERSION= 1.3.10
TERRAFORM11_VERSION= 1.1.9
Home |
Main Index |
Thread Index |
Old Index