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-cw-tools |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/aws-cw-tools')
-rw-r--r-- | app-admin/aws-cw-tools/Manifest | 5 | ||||
-rw-r--r-- | app-admin/aws-cw-tools/aws-cw-tools-1.0.12.1.ebuild | 61 | ||||
-rw-r--r-- | app-admin/aws-cw-tools/metadata.xml | 13 |
3 files changed, 79 insertions, 0 deletions
diff --git a/app-admin/aws-cw-tools/Manifest b/app-admin/aws-cw-tools/Manifest new file mode 100644 index 000000000000..079b2d2ae0a9 --- /dev/null +++ b/app-admin/aws-cw-tools/Manifest @@ -0,0 +1,5 @@ +DIST CloudWatch-1.0.12.1.zip 6156651 SHA256 9dfec389bda10600b68ed9a77a16fd0a9c4279421e1de2848c65c35a20e4b50e SHA512 881a428a2861b86196a691f24a3471058426f049170d16f067d7cc319712beb161c80041e9ae89339d5298ffbf2869c04509fbe4620cd60cc74658c8d3ab11ec WHIRLPOOL 572dbc99d25f021d08efb2668ee582d83d55bcf8d68e18902dfd507e80083eb4de2562b8a0f0b7f5cf83ff30d6080f399f49de6e2a060eef37a0ac78eb7de006 +EBUILD aws-cw-tools-1.0.12.1.ebuild 1671 SHA256 39b98ca36c254c2c7687c757331a1f80ce75e12768813301b00afb2397adcc41 SHA512 8cdfae8dec09e84c76e0b29bf308ac7d59ddf29b5978c24a515ef83671d964410d2aae8a7fef7d960780f865303998bddc94f161826847ad4c38373a79ca1209 WHIRLPOOL 02bfadfe5c7ca645cf940cc032d61d9c43d45b0b7a12651bb47add3d08da903aa76b4c740a090d9fa596505b9ff550a1f620535039cb1c6f620f0c2f1412a927 +MISC ChangeLog 2716 SHA256 21ad5cd87366c33153781162ee91e2b68ea2c8f16158a90e94f400df15d20a1b SHA512 fd194a5a06f5395982a9970e8b590df7dec5d980164fa0e094425298c5883de59b72daa91be5e8897f1ab01cff6da7df668dc840eb42f4c0e178a1c18fcfa17b WHIRLPOOL d05c558b9814e65eb92b6eb3ee3317bcb5fbde9113061357e47f6749c864ab04ae82d449bfd61e1ad7a327ab09b8c7878275688f27a933a20053f76a77aeec33 +MISC ChangeLog-2015 476 SHA256 d38f9c9666d2a3ce7b9df1d25db6956a87591cb2c7916b9c4a1cb37dd64270a0 SHA512 a9cda0356df49e941efaae0cc12d39c7b2b04a55913cf12ffe5b4f416a6dd4ba49c90b4fee7dc9b00acb46102b3aebaa62010aa11e99d27c824675c6861dbf40 WHIRLPOOL 56a39303b5b8b434ba89a073b2d21cb42d44a5cc9ebe7d80c1fe04dc2fe01682bb9eabed9066526aa41e5119bbe67713043b962f96a440d410abc434f2485b09 +MISC metadata.xml 456 SHA256 7a4c38c99f18a4aaa5929fa65d9b943134b95f7a207c4bf41991b1c26cc9380e SHA512 aa4a57f4b0181ace33cad1698cdadd8cf41eb6f8fa8184ef415d09e0b0fbc81eaf579800c36040a9e01fb4fd2715e646a45d906d55e07617185ffe3f7b8538e8 WHIRLPOOL 832b7ad5979eacbdb07d1d635397656cd3310cb2f0b307c314735b0c6cdd11e577eb37175e52cc656f0b02c3af0cab52400ae002025d7230ab3f67cdba6cc976 diff --git a/app-admin/aws-cw-tools/aws-cw-tools-1.0.12.1.ebuild b/app-admin/aws-cw-tools/aws-cw-tools-1.0.12.1.ebuild new file mode 100644 index 000000000000..cef181338339 --- /dev/null +++ b/app-admin/aws-cw-tools/aws-cw-tools-1.0.12.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +DESCRIPTION="The API tools serve as the client interface to the Amazon CloudWatch web service" +HOMEPAGE="http://aws.amazon.com/developertools/2534" +# SRC_URI="http://ec2-downloads.s3.amazonaws.com/CloudWatch-2010-08-01.zip" +SRC_URI="mirror://sabayon/${CATEGORY}/CloudWatch-${PV}.zip" + +S="${WORKDIR}/CloudWatch-${PV}" + +LICENSE="Amazon" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="virtual/jre" +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + cd "$S" + 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_CLOUDWATCH_HOME=/opt/${PN} +PATH=/opt/${PN}/bin +ROOTPATH=/opt/${PN}/bin +EOF + doenvd "${T}"/99${PN} + + dodoc "THIRDPARTYLICENSE.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-cw-tools/metadata.xml b/app-admin/aws-cw-tools/metadata.xml new file mode 100644 index 000000000000..efd934a2bf23 --- /dev/null +++ b/app-admin/aws-cw-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> |