head	1.8;
access;
symbols
	pkgsrc-2026Q3:1.4.0.2
	pkgsrc-2026Q3-base:1.4;
locks; strict;
comment	@# @;


1.8
date	2026.10.20.20.28.10;	author bsiegert;	state Exp;
branches;
next	1.7;
commitid	dJKI2rPaaRPrWf0H;

1.7
date	2026.10.19.21.20.05;	author leot;	state Exp;
branches;
next	1.6;
commitid	9IHu8zAf6C4gg80H;

1.6
date	2026.10.18.10.20.25;	author leot;	state Exp;
branches;
next	1.5;
commitid	WUrOrM85wu05EWZG;

1.5
date	2026.10.13.18.37.50;	author bsiegert;	state Exp;
branches;
next	1.4;
commitid	wvHFFhdcWIkzylZG;

1.4
date	2026.09.05.19.09.53;	author bsiegert;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	9ZfzZiM9sH3jXsUG;

1.3
date	2026.08.31.19.18.58;	author bsiegert;	state Exp;
branches;
next	1.2;
commitid	w58ayX00lU4maPTG;

1.2
date	2026.08.31.19.16.09;	author bsiegert;	state Exp;
branches;
next	1.1;
commitid	75dngmV4Fb0r9PTG;

1.1
date	2026.08.27.21.43.10;	author leot;	state Exp;
branches;
next	;
commitid	P0bONX7mYiFY5kTG;

1.4.2.1
date	2026.10.21.20.45.39;	author maya;	state Exp;
branches;
next	;
commitid	IJL9kZcpR4sp0o0H;


desc
@@


1.8
log
@Revbump all Go packages after go127 security update
@
text
@# $NetBSD: Makefile,v 1.7 2026/10/19 21:20:05 leot Exp $

DISTNAME=	opentofu-1.12.8
PKGNAME=	${DISTNAME:S/opentofu/&112/}
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=opentofu/}
GITHUB_PROJECT=	opentofu
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	leot@@NetBSD.org
HOMEPAGE=	https://opentofu.org/
COMMENT=	Open source infrastructure as code
LICENSE=	mpl-2.0

SUBST_CLASSES+=			providers-prefix
SUBST_STAGE.providers-prefix=	pre-configure
SUBST_MESSAGE.providers-prefix=	Honor providers installed via pkgsrc
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/tofu112

.include "go-modules.mk"

.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
@


1.7
log
@opentofu112: Remove commented out GO_VERSION_REQD

It works fine with Go 1.27.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2026/10/18 10:20:25 leot Exp $
d5 1
@


1.6
log
@opentofu112: Update to 1.12.8

pkgsrc changes:
- Do not force particular Go version, build fine with Go 1.27.x now

Changes:
1.12.8
SECURITY ADVISORIES:
- Previous versions of OpenTofu could potentially experience excessive
  CPU usage if connecting to an attacker-controlled HTTP2 server while
  installing dependencies in tofu init. (4700)
BUG FIXES:
- Lifecycle destroy will no longer crash when given an expression with
  references (4648)

1.12.7
- When using either a remote-exec or file provisioner to connect to an
  attacker-controlled SSH server, the server could previously deadlock
  the connection by sending certain unexpected packet types. (4551)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2026/10/13 18:37:50 bsiegert Exp $
a14 3
# fails to build with Go 1.27
#GO_VERSION_REQD=		126

@


1.5
log
@Revbump all Go packages after go127 security update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2026/09/05 19:09:53 bsiegert Exp $
d3 1
a3 1
DISTNAME=	opentofu-1.12.6
a4 1
PKGREVISION=	3
d16 1
a16 1
GO_VERSION_REQD=		126
@


1.4
log
@Revbump all Go packages after go127 update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2026/08/31 19:18:58 bsiegert Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.4.2.1
log
@*: Revbump for go126, go127. Ticket #7311
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2026/09/05 19:09:53 bsiegert Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.3
log
@Revbump all Go packages after go127 became the default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2026/08/31 19:16:09 bsiegert Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.2
log
@opentofu, scaleway-cli: need Go 1.26

Build fails with Go 1.27.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/08/27 21:43:10 leot Exp $
d5 1
@


1.1
log
@net/opentofu112: import opentofu112-1.12.6

OpenTofu is an OSS tool for building, changing, and versioning
infrastructure safely and efficiently. OpenTofu can manage existing and
popular service providers as well as custom in-house solutions.

The key features of OpenTofu are:

* Infrastructure as Code: Infrastructure is described using a
  high-level configuration syntax. This allows a blueprint of your
  datacenter to be versioned and treated as you would any other code.
  Additionally, infrastructure can be shared and re-used.
* Execution Plans: OpenTofu has a "planning" step where it generates
  an execution plan. The execution plan shows what OpenTofu will do
  when you call apply. This lets you avoid any surprises when
  OpenTofu manipulates infrastructure.
* Resource Graph: OpenTofu builds a graph of all your resources, and
  parallelizes the creation and modification of any non-dependent
  resources. Because of this, OpenTofu builds infrastructure as
  efficiently as possible, and operators get insight into dependencies in
  their infrastructure.
* Change Automation: Complex changesets can be applied to your
  infrastructure with minimal human interaction. With the previously
  mentioned execution plan and resource graph, you know exactly what
  OpenTofu will change and in what order, avoiding many possible human
  errors.

This package tracks OpenTofu 1.12.x version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/08/27 20:49:57 leot Exp $
d15 3
@

