Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/aws-elb-tools/
Date: Fri, 29 Dec 2017 22:33:39
Message-Id: 1514586733.8ef0f152a919c92245d5947a97c67546c3f68a76.soap@gentoo
1 commit: 8ef0f152a919c92245d5947a97c67546c3f68a76
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 29 19:28:39 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 29 22:32:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef0f152
7
8 app-admin/aws-elb-tools: [QA] Minor touchups
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild | 31 +++++++++++-----------
13 1 file changed, 16 insertions(+), 15 deletions(-)
14
15 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
16 index c1738a3ffad..7b678445606 100644
17 --- a/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild
18 +++ b/app-admin/aws-elb-tools/aws-elb-tools-1.0.15.1-r1.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 @@ -7,15 +7,16 @@ DESCRIPTION="Serves as the client interface to the Elastic Load Balancing web se
26 HOMEPAGE="http://aws.amazon.com/developertools/Amazon-EC2/2536"
27 SRC_URI="mirror://sabayon/${CATEGORY}/ElasticLoadBalancing-${PV}.zip"
28
29 -S="${WORKDIR}/ElasticLoadBalancing-${PV}"
30 -
31 LICENSE="Amazon"
32 SLOT="0"
33 KEYWORDS="~amd64 ~x86"
34 IUSE=""
35 +RESTRICT="mirror"
36 +
37 DEPEND="app-arch/unzip"
38 RDEPEND="virtual/jre"
39 -RESTRICT="mirror"
40 +
41 +S="${WORKDIR}/ElasticLoadBalancing-${PV}"
42
43 src_prepare() {
44 default
45 @@ -23,27 +24,27 @@ src_prepare() {
46 }
47
48 src_install() {
49 - dodir /opt/${PN}
50 insinto /opt/${PN}/lib
51 - doins -r "${S}"/lib/*
52 + doins -r lib/.
53 +
54 exeinto /opt/${PN}/bin
55 - doexe "${S}"/bin/*
56 -
57 - dodir /etc/env.d
58 - cat - > "${T}"/99${PN} <<EOF
59 -AWS_ELB_HOME=/opt/${PN}
60 -PATH=/opt/${PN}/bin
61 -ROOTPATH=/opt/${PN}/bin
62 -EOF
63 + doexe bin/*
64 +
65 + cat > "${T}"/99${PN} <<- EOF || die
66 + AWS_ELB_HOME=/opt/${PN}
67 + PATH=/opt/${PN}/bin
68 + ROOTPATH=/opt/${PN}/bin
69 + EOF
70 doenvd "${T}"/99${PN}
71
72 - dodoc "THIRDPARTYLICENSE.TXT"
73 + dodoc THIRDPARTYLICENSE.TXT
74 }
75
76 pkg_postinst() {
77 ewarn "Remember to run: env-update && source /etc/profile if you plan"
78 ewarn "to use these tools in a shell before logging out (or restarting"
79 ewarn "your login manager)"
80 +
81 elog
82 elog "You need to put the following in your ~/.bashrc replacing the"
83 elog "values with the full path to your AWS credentials file."