diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/aws-iam-tools |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/aws-iam-tools')
-rw-r--r-- | app-admin/aws-iam-tools/Manifest | 5 | ||||
-rw-r--r-- | app-admin/aws-iam-tools/aws-iam-tools-1.3.0.ebuild | 60 | ||||
-rw-r--r-- | app-admin/aws-iam-tools/metadata.xml | 13 |
3 files changed, 78 insertions, 0 deletions
diff --git a/app-admin/aws-iam-tools/Manifest b/app-admin/aws-iam-tools/Manifest new file mode 100644 index 000000000000..ee46282b47d7 --- /dev/null +++ b/app-admin/aws-iam-tools/Manifest @@ -0,0 +1,5 @@ +DIST IAMCli-1.3.0.zip 3957057 SHA256 4878b19d889dab063d09f724b342b67fb872843ac60c1105a77cf2f6610908d1 SHA512 5012ece2d0569545848d83cf879b4d05f7f955f22bbc31b86f3993e4f5ee48de3099369fddf7f2b2d98f89e56c8c329e427a1f7dca0afa728ea9593c1b36497c WHIRLPOOL b228ce1cf048eed4e1cd9679510184321657a47491d8215b624db37345cadebf3f61325556e52e65fea8f622cbc611f0a126f92e9061d51e7486589c9829374f +EBUILD aws-iam-tools-1.3.0.ebuild 1623 SHA256 b899c8e94d785cdaadd3df3e569f0ad560e90511645905a79c4a6d647561f05a SHA512 db74dd4808fa98ba9b80a661d6da4a9a967e77b1aa98cd5fcaa4e5078eb0f97431596b8f30cb9d27cc4256808d14c712a0fc5f2219594bc46f3551e7b1536cbc WHIRLPOOL 7d7b67bb35606a5fd91342acee9cd3a9c8f243cd1364f0233cc3e3684e9426ee1bd1562f8821110849ba50aa7be7e7d741c0a3dfc5a8250932b4ef0965eabddd +MISC ChangeLog 2713 SHA256 9a59bf47886229ba4442be9cb5a05f9a649932162b00344bf4451b2a3f16cdb2 SHA512 f3b6d70d8fb4474f69bb48f4c0b03207cda801a449de3d53a2311f727d4b4e41243ca5d16ec5eabcefaa50dbb56d1d4fe193a92bb483aa1501f8233ef71eb9b6 WHIRLPOOL 2b9bf9025a832e7a5646c2da405b7d1e72e5bfb4c42b0b7ee996303ab895c434cddf718ce614d108e302cb718fbe3f8b23106bbd0d07d74ed72bb5c22f67693b +MISC ChangeLog-2015 474 SHA256 52c0b1b32cc3b042243b971c3f91b8f9c70de635cc12630eba15e4890b6d4ef2 SHA512 500c892b1563490e736df2c4b73f80a93f5de263ecbcb811e369b18854211efdc65b67189857eb290f2d94e317ca03524b50339023093617429159b941fa321c WHIRLPOOL 0421182596d5243ee82599da1dd51167a89343fa56f0bc5fe0767d654dfd9131b7a39b6144a47711a6370968ef199a415859cc37cd744efb31892207708d196b +MISC metadata.xml 456 SHA256 7a4c38c99f18a4aaa5929fa65d9b943134b95f7a207c4bf41991b1c26cc9380e SHA512 aa4a57f4b0181ace33cad1698cdadd8cf41eb6f8fa8184ef415d09e0b0fbc81eaf579800c36040a9e01fb4fd2715e646a45d906d55e07617185ffe3f7b8538e8 WHIRLPOOL 832b7ad5979eacbdb07d1d635397656cd3310cb2f0b307c314735b0c6cdd11e577eb37175e52cc656f0b02c3af0cab52400ae002025d7230ab3f67cdba6cc976 diff --git a/app-admin/aws-iam-tools/aws-iam-tools-1.3.0.ebuild b/app-admin/aws-iam-tools/aws-iam-tools-1.3.0.ebuild new file mode 100644 index 000000000000..e70c4d29a090 --- /dev/null +++ b/app-admin/aws-iam-tools/aws-iam-tools-1.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +DESCRIPTION="The Command Line Interface for the AWS Identity and Access Management Service" +HOMEPAGE="http://aws.amazon.com/developertools/AWS-Identity-and-Access-Management/4143" +SRC_URI="mirror://sabayon/${CATEGORY}/IAMCli-${PV}.zip" + +S="${WORKDIR}/IAMCli-${PV}" + +LICENSE="Amazon" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="virtual/jre" +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/IAMCli-${PV}" + find . -name '*.cmd' -delete || die +} + +src_install() { + dodir /opt/${PN} + insinto /opt/${PN}/lib + doins -r "${S}"/lib/* + exeinto /opt/${PN}/bin + doexe "${S}"/bin/* + + dodir /etc/env.d + cat - > "${T}"/99${PN} <<EOF +AWS_IAM_HOME=/opt/${PN} +PATH=/opt/${PN}/bin +ROOTPATH=/opt/${PN}/bin +EOF + doenvd "${T}"/99${PN} + + dodoc "LICENSE.txt" +} + +pkg_postinst() { + ewarn "Remember to run: env-update && source /etc/profile if you plan" + ewarn "to use these tools in a shell before logging out (or restarting" + ewarn "your login manager)" + elog + elog "You need to put the following in your ~/.bashrc replacing the" + elog "values with the full path to your AWS credentials file." + elog + elog " export AWS_CREDENTIAL_FILE=/path/and_filename_of_credential_file" + elog + elog "It should contains two lines: the first line lists the AWS Account's" + elog "AWS Access Key ID, and the second line lists the AWS Account's" + elog "Secret Access Key. For example:" + elog + elog " AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE" + elog " AWSSecretKey=wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY" +} diff --git a/app-admin/aws-iam-tools/metadata.xml b/app-admin/aws-iam-tools/metadata.xml new file mode 100644 index 000000000000..efd934a2bf23 --- /dev/null +++ b/app-admin/aws-iam-tools/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sergey.zhuga@gmail.com</email> + <name>Sergey Zhuga</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |