diff options
Diffstat (limited to 'app-admin/awscli-bin')
-rw-r--r-- | app-admin/awscli-bin/Manifest | 3 | ||||
-rw-r--r-- | app-admin/awscli-bin/awscli-bin-2.11.17.ebuild | 90 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli-bin/Manifest b/app-admin/awscli-bin/Manifest index 907c15d2b6d5..45ad14da129a 100644 --- a/app-admin/awscli-bin/Manifest +++ b/app-admin/awscli-bin/Manifest @@ -1,13 +1,16 @@ +DIST awscli-exe-linux-aarch64-2.11.17.zip 56500418 BLAKE2B ced68deac081666c71d73bea7d48f19aa27c8a78835ad13acaa06dac65db8569e9cf446900c0a8ede169bf177168e47ad3bebd06ad295a5626d926d59e4ed57b SHA512 6424cfcd079007cf1519f0018555c589a154639c1f28596d51d227c9078abbcd16660488d9c7984468bd223a7e4a89296c42c8fbdb8b6d085e32163e71d1f641 DIST awscli-exe-linux-aarch64-2.11.5.zip 56858691 BLAKE2B 8a798c59568d64e2c8104d780458567bc2ad3061de81a7f4de90c8658087e560cb108945fbc71aa23808efe211ac63063f246d903e515f1cad06b91049eb64c0 SHA512 195516fe488266b8131fc9959ff81fc88a9902adabb033ab7d76b44996e1af08e8d0244f806193d91604cdb22a6266b686b9d6411ca9caa5b3188562b7b1eec1 DIST awscli-exe-linux-aarch64-2.7.20.zip 46289081 BLAKE2B 1750e609bef53775e4bf66f1be78e2b05f763bde7677be99867ae89e252f1deb81dddf6011718ceafe1f97b53ac4871657f2644c478887eb4d021e14be400121 SHA512 f519aaaf2ebc3e163ae55abdb85b08dd49e148f902a06e671f582879790bdfa07e32f8d8e773ddeb95494aee3a38dc3fbdf91a93b14215f63e13ae87cdf3de4a DIST awscli-exe-linux-aarch64-2.7.24.zip 46460084 BLAKE2B c24cf41c888b1469a793354c9a97cec4273f6a762ec74b4079ab8626d0eddeb95dec5ef66270764a1c8d3b1525a5460e63009441ac83ef966b43f68efe41b00a SHA512 ee4201a193e393cf7fd1e9c473eaf41a1d7934e342035b931c3d69e985bc9e74434d31d0b46bf176c27c41d1b1000bbd487a514d62c8ccdf8d7c7e82c621d1f4 DIST awscli-exe-linux-aarch64-2.7.28.zip 46543587 BLAKE2B aba4c360ed9ce37406f552db1df9ddd69b46b2f87a9c12c46a5026d9259202ce485a25f7cc1d768ab9c3caff3165e56f13529f3ccc1e65935e327b5980a16af5 SHA512 b126bf26c52e2ab32bf4b7f425527960fcf5a07f0e446aaf2fe0deced802419e12cc48f9c87e0cbe4fc01430264a48b1103a9b5ea5e871a811b8e8b8c8a691d6 DIST awscli-exe-linux-aarch64-2.9.23.zip 47582887 BLAKE2B 3159308e20f54462c04c9e290fdbcc1d0433973fba36ba53fe7886f9ecd16eac0ecea6ac10a1f1cf49eb71c1ee704b84a6cdf18373fc94a1f9c648741ac5bcf0 SHA512 4f407c722c38a4f6adfda4e938f1039208774a897d62e9ccceb52f905a751a4dcb022342180d74fa39dd0cfd2af6787c550f8a214707b922d7bd135465074179 +DIST awscli-exe-linux-x86_64-2.11.17.zip 57614965 BLAKE2B 0a711bc968b53dd08810ef857c9d51d332b016fd969491850f9dd8fc84e912f815e2b0a6e38223fe29c321ee784ad2ee41644b7027af3439742d3c2141f10098 SHA512 c05ada15a4e896850adbe04cc159141d84fabc955f3baf6d053200c6595cc77c8a75886ce5f1bd18370fe34a2c1c3d294312aa471a028104266fa45fa5aa4334 DIST awscli-exe-linux-x86_64-2.11.5.zip 57429612 BLAKE2B 8d98afc07dc38600600b04e490018b0df46b7bd6ac23a782a6554642cd3d6302ea42baea4cee6631f5aee6a935d677c8a315e881e1d98267fb2cdcebaa67431b SHA512 89733d2c55de6eec06638032fb84be5c59b5d9d6589ae5437dee49466ba019c921ffc5e9eaabb1cae03afcae1e3322938cf525336ee4f89eb8a601ba9e2ccc13 DIST awscli-exe-linux-x86_64-2.7.20.zip 47092365 BLAKE2B 26320deb54f66043693aa40cd2fee2e110f2dbf1710278ce431781d49096860dacd906bd91a01160c69c484020cc1ca497954283213e85d42206ab2dba3f1c92 SHA512 6f5ab60fe3b59a7c8ad73e81b3d3003660736fe9da35e5e44b8d222a94cf195676a4802e8ea391bbefb9cbece77860148be1f616f32281d18726af126c7daa4b DIST awscli-exe-linux-x86_64-2.7.24.zip 47216162 BLAKE2B f99393a089bc495fc82d4f208f555bce144adf817b15c2995ad97493c16e18e38ee6cb77fb29c9225ff144193f878a7334ef90c318a5770d5c58b1f7e2209632 SHA512 2c25637fa421117aa3629ddfe8f9ead7ad3d7f04ead819b958e2b274621c858ea9e1ba2d9c111e63511ab75a1a7f0db275f653da2fef58dd5ee03274b1e7e8b7 DIST awscli-exe-linux-x86_64-2.7.28.zip 47299458 BLAKE2B 3ac11104ad062ccf70fe697406a65cc08949f9b89784c5cf3f8e80c33629f5fde44853c35f8160f1f285405e576e65a73d9ba9a42b3e31a11120ee50cfccd83c SHA512 a86a2b73a11b74fa7a9b30095adaacacc7ea3a84136a9d5d63bcd776b98a6f6e005cb815fa34451cee85b55e6d1693a906bb8601a1ded3a5eff0416dd79bbc28 DIST awscli-exe-linux-x86_64-2.9.23.zip 49149732 BLAKE2B 3a2500dc6edd2de1747e49b123de67606fa64c41da9f7e364899ae3d23c81d07105102b0afbc858a68a7db189448b171dfdb1ce6ca9ead8f4d607cc896cfcc68 SHA512 ca379e527e4e82b9970b257367f3a5eaf5c59612a2661a6802a9695b96ca16806369b549bfb3203542ebf2948ba3d59ed816f893db34c8ed950eeb9f52ac386a +EBUILD awscli-bin-2.11.17.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e EBUILD awscli-bin-2.11.5.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e EBUILD awscli-bin-2.7.20.ebuild 2305 BLAKE2B 49bd417c8c54ac715176c3043dff2c99ff48f2eb62c80e26f4464c9b9bba989de0eed39f7e12a435098a02b50790cf0b6c3f2ea073f4af3669981728d3124cd8 SHA512 2977797f3c8e9a1a16e5cbad3de6c765234d2d093cca1f166929465f75d116e92fc7be4bc6f1bafe63f1a82d303bbc9cf10b3cff88fb89f79aca5df7c10a88e3 EBUILD awscli-bin-2.7.24.ebuild 2305 BLAKE2B 49bd417c8c54ac715176c3043dff2c99ff48f2eb62c80e26f4464c9b9bba989de0eed39f7e12a435098a02b50790cf0b6c3f2ea073f4af3669981728d3124cd8 SHA512 2977797f3c8e9a1a16e5cbad3de6c765234d2d093cca1f166929465f75d116e92fc7be4bc6f1bafe63f1a82d303bbc9cf10b3cff88fb89f79aca5df7c10a88e3 diff --git a/app-admin/awscli-bin/awscli-bin-2.11.17.ebuild b/app-admin/awscli-bin/awscli-bin-2.11.17.ebuild new file mode 100644 index 000000000000..b87ef9ec0311 --- /dev/null +++ b/app-admin/awscli-bin/awscli-bin-2.11.17.ebuild @@ -0,0 +1,90 @@ +# Copyright 2022-2023 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 +} |