Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/aws-elb-tools/
Date: Thu, 07 Jul 2016 09:09:19
Message-Id: 1467881244.fc0ff80bd0f7d4fddf9ca4ad2f58a8bdeecf4de9.wizardedit@gentoo
1 commit: fc0ff80bd0f7d4fddf9ca4ad2f58a8bdeecf4de9
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 08:47:24 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 08:47:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0ff80b
7
8 app-admin/aws-elb-tools: update to EAPI 6
9
10 Package-Manager: portage-2.2.28
11
12 .../aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild | 59 ++++++++++++++++++++++
13 app-admin/aws-elb-tools/metadata.xml | 1 +
14 2 files changed, 60 insertions(+)
15
16 diff --git a/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild b/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild
17 new file mode 100644
18 index 0000000..8a0234b
19 --- /dev/null
20 +++ b/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild
21 @@ -0,0 +1,59 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +DESCRIPTION="Serves as the client interface to the Elastic Load Balancing web service"
29 +HOMEPAGE="http://aws.amazon.com/developertools/Amazon-EC2/2536"
30 +SRC_URI="mirror://sabayon/${CATEGORY}/ElasticLoadBalancing-${PV}.zip"
31 +
32 +S="${WORKDIR}/ElasticLoadBalancing-${PV}"
33 +
34 +LICENSE="Amazon"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE=""
38 +DEPEND="app-arch/unzip"
39 +RDEPEND="virtual/jre"
40 +RESTRICT="mirror"
41 +
42 +src_prepare() {
43 + find . -name '*.cmd' -delete || die
44 +}
45 +
46 +src_install() {
47 + dodir /opt/${PN}
48 + insinto /opt/${PN}/lib
49 + doins -r "${S}"/lib/*
50 + exeinto /opt/${PN}/bin
51 + doexe "${S}"/bin/*
52 +
53 + dodir /etc/env.d
54 + cat - > "${T}"/99${PN} <<EOF
55 +AWS_ELB_HOME=/opt/${PN}
56 +PATH=/opt/${PN}/bin
57 +ROOTPATH=/opt/${PN}/bin
58 +EOF
59 + doenvd "${T}"/99${PN}
60 +
61 + dodoc "THIRDPARTYLICENSE.TXT"
62 +}
63 +
64 +pkg_postinst() {
65 + ewarn "Remember to run: env-update && source /etc/profile if you plan"
66 + ewarn "to use these tools in a shell before logging out (or restarting"
67 + ewarn "your login manager)"
68 + elog
69 + elog "You need to put the following in your ~/.bashrc replacing the"
70 + elog "values with the full path to your AWS credentials file."
71 + elog
72 + elog " export AWS_CREDENTIAL_FILE=/path/and_filename_of_credential_file"
73 + elog
74 + elog "It should contains two lines: the first line lists the AWS Account's"
75 + elog "AWS Access Key ID, and the second line lists the AWS Account's"
76 + elog "Secret Access Key. For example:"
77 + elog
78 + elog " AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE"
79 + elog " AWSSecretKey=wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY"
80 +}
81
82 diff --git a/app-admin/aws-elb-tools/metadata.xml b/app-admin/aws-elb-tools/metadata.xml
83 index 097975e..6f49eba 100644
84 --- a/app-admin/aws-elb-tools/metadata.xml
85 +++ b/app-admin/aws-elb-tools/metadata.xml
86 @@ -1,4 +1,5 @@
87 <?xml version="1.0" encoding="UTF-8"?>
88 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 <pkgmetadata>
90 +<!-- maintainer-needed -->
91 </pkgmetadata>