1 |
commit: 66489e366bb3881ac2251da2549399290bd80139 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 19:29:12 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 22:32:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66489e36 |
7 |
|
8 |
app-admin/aws-elb-tools: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
.../aws-elb-tools/aws-elb-tools-1.0.15.1.ebuild | 60 ---------------------- |
13 |
1 file changed, 60 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1.ebuild b/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 23ee15e13fe..00000000000 |
18 |
--- a/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,60 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="2" |
25 |
- |
26 |
-DESCRIPTION="Serves as the client interface to the Elastic Load Balancing web service" |
27 |
-HOMEPAGE="http://aws.amazon.com/developertools/Amazon-EC2/2536" |
28 |
-SRC_URI="mirror://sabayon/${CATEGORY}/ElasticLoadBalancing-${PV}.zip" |
29 |
- |
30 |
-S="${WORKDIR}/ElasticLoadBalancing-${PV}" |
31 |
- |
32 |
-LICENSE="Amazon" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~x86" |
35 |
-IUSE="" |
36 |
-DEPEND="app-arch/unzip" |
37 |
-RDEPEND="virtual/jre" |
38 |
-RESTRICT="mirror" |
39 |
- |
40 |
-src_unpack() { |
41 |
- unpack ${A} |
42 |
- cd "$S" |
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 |
-} |