summaryrefslogtreecommitdiff
path: root/app-admin/awscli-bin
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/awscli-bin')
-rw-r--r--app-admin/awscli-bin/Manifest3
-rw-r--r--app-admin/awscli-bin/awscli-bin-2.17.35.ebuild90
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli-bin/Manifest b/app-admin/awscli-bin/Manifest
index ba68a7aa6591..91dfbaab6e7f 100644
--- a/app-admin/awscli-bin/Manifest
+++ b/app-admin/awscli-bin/Manifest
@@ -1,10 +1,13 @@
DIST awscli-exe-linux-aarch64-2.11.17.zip 56500418 BLAKE2B ced68deac081666c71d73bea7d48f19aa27c8a78835ad13acaa06dac65db8569e9cf446900c0a8ede169bf177168e47ad3bebd06ad295a5626d926d59e4ed57b SHA512 6424cfcd079007cf1519f0018555c589a154639c1f28596d51d227c9078abbcd16660488d9c7984468bd223a7e4a89296c42c8fbdb8b6d085e32163e71d1f641
DIST awscli-exe-linux-aarch64-2.12.0.zip 56282131 BLAKE2B 147d200a134dc3f4ca3b6dff285b447d98eedb52207f923354cd748102ed0bf8e9bd4e883d59536f8bbe3a249de99102c8b5f239271cdef66d73df069add1491 SHA512 e0e72d951b0d3136b99b15d8abcc0b38492ef0c92a915e4f92a902318895ff580fface1ee202a5c06cf99a9f4ab935b2393e7318d1efc3df90152c18ed745b7f
DIST awscli-exe-linux-aarch64-2.13.11.zip 56601642 BLAKE2B 27c7914d3aeb157188e071c8add664ea6d95784a86d271035e3e618fcc2a07973dc271cbecdca3b8e4e802fdd92f72d33cd4c00d78fa7b11ee434ebf1e74107c SHA512 72515f5cd33fa3d18a9001b4789cfc881146d0f25fb60791fbb8e39df1b4d25ffa2bcf1db4bbbf313601c7244b247cffeefee1b4b5791647265e960a8d709ae3
+DIST awscli-exe-linux-aarch64-2.17.35.zip 59330408 BLAKE2B 0e0abb8170fb1d0bd8ed02b65d96e819ab140c5c00cfa879842a1ceb3b45730d9855b5e37b8ee7c866e24d9f73360066d831f3b4dec5fa397cc33dcce29ec9be SHA512 eef425ff0919fbd221002e8d37b311f762d4f921119772a25766ca9442de07e0b477979f6f6641d6edde35b60c0190f82b8e0e5cd5e6450a73be7609f34f321a
DIST awscli-exe-linux-x86_64-2.11.17.zip 57614965 BLAKE2B 0a711bc968b53dd08810ef857c9d51d332b016fd969491850f9dd8fc84e912f815e2b0a6e38223fe29c321ee784ad2ee41644b7027af3439742d3c2141f10098 SHA512 c05ada15a4e896850adbe04cc159141d84fabc955f3baf6d053200c6595cc77c8a75886ce5f1bd18370fe34a2c1c3d294312aa471a028104266fa45fa5aa4334
DIST awscli-exe-linux-x86_64-2.12.0.zip 57965257 BLAKE2B 9c8fec1d30795af94807d60c62b28eeb84e682d99cbacc0c8ad5b022c569e310fe781d00a6e9bd0cc0222c0104d9e0d2521bf3fb2102f60fe76de75bfec90cf8 SHA512 c4688e09fa17ed89495c807ebb1826e0517c1a7e7e4e62981e17e86a11227434eb1c59b9e7fffbd8e9e7ff6cc05846bf6cf7cc1769e099c9c146d9d11c400ab5
DIST awscli-exe-linux-x86_64-2.13.11.zip 58360364 BLAKE2B 46cbc0136a19f198f9ec7ef16e49dba72edf03365d96e79d9dc81d04f57f82de031138b36096091160f304e1662c9231bfd7f618ccbf3aed37e84f9f83cbdef0 SHA512 7ae315275947d60654613c24b52997976e70f1cbb94df65ed9a2937f3cd834a83c8567b8aafa946a08b83ef7b4b72d666ba400eee1550e8dbd6e1acd36121d53
+DIST awscli-exe-linux-x86_64-2.17.35.zip 60760139 BLAKE2B 0906d5c68d78aab9a39e54b92632f26f64ef8cb221621eac149df986f7f11a0ec014cc3c0b1db6726f74b39a69fd66839e729d57a43027f120dd6883fa7e71b4 SHA512 47e0eff09d30acf72fb0d270abad070c7b605848132f65e824d634e4937551efabc5adc165c67d21828b875a156eeed44f9ceb117eddef3c25be4be663e367c6
EBUILD awscli-bin-2.11.17.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
EBUILD awscli-bin-2.12.0.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
EBUILD awscli-bin-2.13.11.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
+EBUILD awscli-bin-2.17.35.ebuild 2310 BLAKE2B e330682af68d21d7c7fa82691936f8f74dcbcfff2cb0e90cb75187624cd90d3af29174c7febbb579d9e5991d1c9eda8eaaa61ecbfa998afe5632ac915125bf35 SHA512 d4c7ad56e3e8a8814df4616e257ed82f2c50ea96a979c4e9e7a4d2c63738a644796bbeb2816a60b2fed98cc6c9ae6c37561b79a47ad71502360d3b8a27dade1c
MISC metadata.xml 325 BLAKE2B 70bc11988dd7ae437aad389e11f87713a2022f63a196124c1ede43f0f6198a9466210d56564e80cb944b06e273f4719443ea07fab9823d23533ed89079d28c2f SHA512 2fecb561d8f59b47aebcb83a274aff85755346e2e8fd31e22508d0eb0880e7d6c9d3a6243cffc9089ccca63418962a9362a8ddb5b92025cd6ed5591e0a318251
diff --git a/app-admin/awscli-bin/awscli-bin-2.17.35.ebuild b/app-admin/awscli-bin/awscli-bin-2.17.35.ebuild
new file mode 100644
index 000000000000..c039d58d5af9
--- /dev/null
+++ b/app-admin/awscli-bin/awscli-bin-2.17.35.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="command line interface for Amazon Web Services"
+HOMEPAGE="
+ https://aws.amazon.com/cli/
+ https://github.com/aws/aws-cli/
+ "
+SRC_URI="
+ amd64? ( https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${PV}.zip )
+ arm64? ( https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${PV}.zip )
+ "
+
+LICENSE="
+ Apache-2.0 MIT LGPL-2.1+ BSD GPL-2+-with-Pyinstaller-Bootloader-exception
+ openssl PSF-2 BSD-2 GPL-3+ public-domain
+ "
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+RDEPEND="!app-admin/awscli
+ sys-libs/glibc"
+BDEPEND="app-arch/unzip"
+
+QA_PREBUILT="*"
+RESTRICT="strip"
+S="${WORKDIR}"
+
+# This code is based on the install script in the upstream archive.
+
+set_global_vars() {
+ ROOT_INSTALL_DIR=/opt/aws-cli
+ BIN_DIR=/usr/bin
+
+ EXE_NAME="aws"
+ COMPLETER_EXE_NAME="aws_completer"
+ INSTALLER_DIR="aws"
+ INSTALLER_DIST_DIR="${INSTALLER_DIR}/dist"
+ INSTALLER_EXE="${INSTALLER_DIST_DIR}/${EXE_NAME}"
+ AWS_EXE_VERSION=${PV}
+
+ INSTALL_DIR="${ROOT_INSTALL_DIR}/v2/${AWS_EXE_VERSION}"
+ # INSTALL_DIR="${INSTALL_DIR}"
+ INSTALL_DIST_DIR="${INSTALL_DIR}/dist"
+ INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
+ INSTALL_AWS_EXE="${INSTALL_BIN_DIR}/${EXE_NAME}"
+ INSTALL_AWS_COMPLETER_EXE="${INSTALL_BIN_DIR}/${COMPLETER_EXE_NAME}"
+
+ CURRENT_INSTALL_DIR="${ROOT_INSTALL_DIR}/v2/current"
+ CURRENT_AWS_EXE="${CURRENT_INSTALL_DIR}/bin/${EXE_NAME}"
+ CURRENT_AWS_COMPLETER_EXE="${CURRENT_INSTALL_DIR}/bin/${COMPLETER_EXE_NAME}"
+
+ BIN_AWS_EXE="${BIN_DIR}/${EXE_NAME}"
+ BIN_AWS_COMPLETER_EXE="${BIN_DIR}/${COMPLETER_EXE_NAME}"
+}
+
+create_install_dir() {
+ dodir "${INSTALL_DIR}"
+ setup_install_dist
+ setup_install_bin
+ create_current_symlink
+}
+
+setup_install_dist() {
+ cp -r "${INSTALLER_DIST_DIR}" "${D}/${INSTALL_DIST_DIR}" || die
+}
+
+setup_install_bin() {
+ dodir "${INSTALL_BIN_DIR}"
+ dosym "../dist/${EXE_NAME}" "${INSTALL_AWS_EXE}"
+ dosym "../dist/${COMPLETER_EXE_NAME}" "${INSTALL_AWS_COMPLETER_EXE}"
+}
+
+create_current_symlink() {
+ dosym "${AWS_EXE_VERSION}" "${CURRENT_INSTALL_DIR}"
+}
+
+create_bin_symlinks() {
+ dodir "${BIN_DIR}"
+ dosym -r "${CURRENT_AWS_EXE}" "${BIN_AWS_EXE}"
+ dosym -r "${CURRENT_AWS_COMPLETER_EXE}" "${BIN_AWS_COMPLETER_EXE}"
+}
+
+src_install() {
+ set_global_vars
+ create_install_dir
+ create_bin_symlinks
+}