summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com>2023-10-17 13:53:13 +0000
committerYixun Lan <dlan@gentoo.org>2023-10-17 14:02:16 +0000
commit7b9f698eb3c763ef7bb029215444f4d15f8a9f41 (patch)
treef125ecba4ad80d3381809161e868e3b04ed72ede /dev-util/packer
parentapp-emacs/git-timemachine: new package; add 4.13 and live 9999 (diff)
downloadgentoo-7b9f698eb3c763ef7bb029215444f4d15f8a9f41.tar.gz
gentoo-7b9f698eb3c763ef7bb029215444f4d15f8a9f41.tar.bz2
gentoo-7b9f698eb3c763ef7bb029215444f4d15f8a9f41.zip
dev-util/packer: add 1.9.4
also adjust deps host Closes: https://github.com/gentoo/gentoo/pull/33321 Signed-off-by: Marcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-util/packer')
-rw-r--r--dev-util/packer/Manifest2
-rw-r--r--dev-util/packer/packer-1.9.4.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest
index 4652e0fedcab..5ea869941117 100644
--- a/dev-util/packer/Manifest
+++ b/dev-util/packer/Manifest
@@ -4,3 +4,5 @@ DIST packer-1.8.5-deps.tar.xz 385789132 BLAKE2B 680852f380bc6b2c74183bf0c32baf8e
DIST packer-1.8.5.tar.gz 2278013 BLAKE2B 0465356e78b62a67e71ef943a7dfb89b5f50b3b3cdb34c3ca41ac6d57e32fad8f40da1316ba8f54d93ae0c25b22627cc9f633f4e488ee9cc66fc6e6080b5769e SHA512 8ffd9e0a755e5e537c63a70454756a6df787d299cb5f3a8d6dea9c7e93dbea744017cd2f2c4fa9a8b6fbc052dedecb702dc6ac656b4c6c293ad5eab1f581872e
DIST packer-1.8.6-deps.tar.xz 386558076 BLAKE2B 54903da9788ad483bb9dd66fd9c130f6a5beef6ebd70733b0e05437fe4d58a00769e2bef46c381610d3fe8769fdacc9527ba812eb40b2437160abec84662eb97 SHA512 c2c8cfcd85ae683e5558742965b5782a96d05cc2a5331e66da24aad094d2082c6cb6a1eba901bbaf7e9b56fbd3a754a0334c1be18c75c3f01643667ae1f9b09d
DIST packer-1.8.6.tar.gz 2265929 BLAKE2B bb56ab642d3f358afed58153de27e52ad1d4fa9e97f5ab94ad9212cb6e46ba845606c266246ca89a74cc93738ed197e545772c0db22f32ed9c2f8b1bcb7d1f3b SHA512 1e0e36959f1efb6eeae076da3d27c200f4888a6a08e759072ac6c767e1cc3e14876f09f96bdd208b788d32efde9420357afe3105337b7edcc87ba2d99966578c
+DIST packer-1.9.4-deps.tar.xz 330480200 BLAKE2B 8c02e0fac4763f6a4cff98631ee0151a8d66ad199ae4979a0750e684c8b51284c59e5f99dd265590737be37e8ff0f65e692d3ebb11dcbcd8cba372e393c9e517 SHA512 d0bf06769ac66fda4d721388a612d7d8c981e091172a6ef0ae7f5ec461b32f834d024c031dd9c9da08de4ac46ed8bb69ca5f5f0eee0d764d8fdf5f9bdffb5790
+DIST packer-1.9.4.tar.gz 2301344 BLAKE2B 431b843076cc20127bdd0bc1acbb030cecc42ba9c3200a1c3b72c8e2ea4081e99a5c9f15d73397c67c176902f4ef1bbf4796efe32bdd1d8fe583a5996bb5f7ec SHA512 966de31fc7a174e5397e89b0c84979c13cf538971b2ea228f6fbf7dc54bed61d7cb21b58699175e93b9c81a9fc0c515e7cefffbd7b2865f2f6c36e4f78a81a95
diff --git a/dev-util/packer/packer-1.9.4.ebuild b/dev-util/packer/packer-1.9.4.ebuild
new file mode 100644
index 000000000000..20a7d1166c80
--- /dev/null
+++ b/dev-util/packer/packer-1.9.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 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-2 BSD-4 MIT MPL-2.0 unicode"
+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
+}