From 5e41a38157bb40e8513e8e34426e85faba672fe7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Jun 2024 00:09:04 +0100 Subject: gentoo auto-resync : 14:06:2024 - 00:09:04 --- dev-util/packer/Manifest | 3 +++ dev-util/packer/packer-1.11.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-util/packer/packer-1.11.0.ebuild (limited to 'dev-util/packer') diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest index 10d1b3509bbf..0dce90bd05ac 100644 --- a/dev-util/packer/Manifest +++ b/dev-util/packer/Manifest @@ -1,4 +1,7 @@ +DIST packer-1.11.0-deps.tar.xz 274685472 BLAKE2B 211e076e5032c5199597bda8d05a4f13d15db321d78f58ac3e5775f8ba16b0bd7dd348a396bb6bed41c039924d288e5ea6abd5a140558f25d1edbc75d39c4ba0 SHA512 200d2aa56b834202bd3b1506991f6ea4686e95345fed09eea923fbf00577d8ac2454cfd567c89926b9e99f777203b3ee908c30a4d9f7e71f2370061f09d53603 +DIST packer-1.11.0.tar.gz 2296683 BLAKE2B 8b8eee2294109d305b94186829995f881d1b8a1a0db4a57e117e4473705f3a8e7e589ec7bb3d7efa10acbecc967623404902aeecdcd1474e266bc9c43410604c SHA512 304dbacfaf59fcc35876754f6a6766cc89e052b64970f42aa315c1141f349d6437538195512dc8cd7626d467faaf0bd68575cc8310f9fc8e7606faabd7cf748d DIST packer-1.9.5-deps.tar.xz 373922748 BLAKE2B 793b0e5501bca56849a2471fbe2892c4775c3aa2d3ad6346e65f3d0cf1e3d86339a64371a35e4fddb0053082e98e2ec527b4f052b901bf8d35bd5db08a577ee4 SHA512 1f49b45841308dba95fcce2139d21931708e099102cc0870be00f2142cfb0d0e8ce9e2c729c9556ca68c1036e224f120fe0cd8833715a62cc212eead2448a6e3 DIST packer-1.9.5.tar.gz 2302965 BLAKE2B dc0b8fedd83a477594c7235ffe6ca2052ba389e105bd451ad6c3987cea68c37f9c3153957012339f2a09045f20ac81ff6a59ed33834247408a3539643d9ecedf SHA512 7df1a85d0746e400c42f2b2a52b14ef5a806bcd2dc346eceaf5f8928b42a8b046ff8da7b45e5af0486bd444d8325e1cabdcd15f7b28711241a46034c9781a279 +EBUILD packer-1.11.0.ebuild 796 BLAKE2B fc5cef26af01da085fd4d667e9ae156f715148ebc3aa7ffa0f3fd1ce14591c5b85a27990c1ea01174257088b635a7da3f4f7b03e497a6692cfdc16a6f8b3a176 SHA512 e1e5f535529e5ecca4151edfa5c197f328473f5991fcc3933ce968fe813332bd2610027de6d7666c7b28ec9995b10be7e325daf5304ce2f4cd2a3766d3b2cca6 EBUILD packer-1.9.5.ebuild 762 BLAKE2B c970a797ba9409c0403873b4378de49c195d03662a0b8af2b52d854b9f2010a262cb1247d57032780595add9372acd20c6fd4e947c2cac4688cdc8ba0feda099 SHA512 cf116262ea2fbed1d19d6d29da6130e153eee4d5fadb35fcd560566f71cbd92109792dd54fba0bc568f6f8b5ac587bebe116e41798fcaca11e4182004ae32c9b MISC metadata.xml 1408 BLAKE2B 04204c3ac4c45b58a23e611fbd34014423fd1839829101f7a30a188fc8b4588532f72b05c41a77f093170c6a6d9bd804c47bc831a8006ecbda5d3a30ccf6ade6 SHA512 2a45870ccadf85968c81c3129cfffa16184c3cc6ed135b716a84e545d9c80ed35064be231386b0bbfbe6fb7f9a12704c25d7fabc9383b3211d61720691c2ae9b diff --git a/dev-util/packer/packer-1.11.0.ebuild b/dev-util/packer/packer-1.11.0.ebuild new file mode 100644 index 000000000000..cbf0fffdc750 --- /dev/null +++ b/dev-util/packer/packer-1.11.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A tool to create identical machine images for multiple platforms" +HOMEPAGE="https://www.packer.io" +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://gentoo.neutroniak.com/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 BSD-4 MIT MPL-2.0 unicode Unicode-DFS-2016 ISC BUSL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +DOCS=( {README,CHANGELOG}.md ) + +RESTRICT+=" test" + +src_compile() { + ego build \ + -mod=readonly \ + -ldflags "${go_ldflags}" \ + -work -o "bin/${PN}" ./ || die +} + +src_install() { + dobin bin/packer + + einstalldocs + + insinto /usr/share/zsh/site-functions + doins contrib/zsh-completion/_packer +} -- cgit v1.2.3