* [gentoo-commits] gentoo-x86 commit in app-admin/ec2-api-tools: ec2-api-tools-1.6.7.2-r4.ebuild ChangeLog ec2-api-tools-1.6.7.2-r3.ebuild
@ 2013-08-15 15:14 Tom Wijsman (tomwij)
0 siblings, 0 replies; only message in thread
From: Tom Wijsman (tomwij) @ 2013-08-15 15:14 UTC (permalink / raw
To: gentoo-commits
tomwij 13/08/15 15:14:02
Modified: ChangeLog
Added: ec2-api-tools-1.6.7.2-r4.ebuild
Removed: ec2-api-tools-1.6.7.2-r3.ebuild
Log:
Revision bump. Slotted bcprov dependency. Dropped old / broken revision.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Revision Changes Path
1.21 app-admin/ec2-api-tools/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-api-tools/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-api-tools/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-api-tools/ChangeLog?r1=1.20&r2=1.21
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog 1 Jun 2013 06:26:27 -0000 1.20
+++ ChangeLog 15 Aug 2013 15:14:02 -0000 1.21
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/ec2-api-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ChangeLog,v 1.20 2013/06/01 06:26:27 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ChangeLog,v 1.21 2013/08/15 15:14:02 tomwij Exp $
+
+*ec2-api-tools-1.6.7.2-r4 (15 Aug 2013)
+
+ 15 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +ec2-api-tools-1.6.7.2-r4.ebuild,
+ -ec2-api-tools-1.6.7.2-r3.ebuild:
+ Revision bump. Slotted bcprov dependency. Dropped old / broken revision.
*ec2-api-tools-1.6.7.2-r3 (01 Jun 2013)
1.1 app-admin/ec2-api-tools/ec2-api-tools-1.6.7.2-r4.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-api-tools/ec2-api-tools-1.6.7.2-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-api-tools/ec2-api-tools-1.6.7.2-r4.ebuild?rev=1.1&content-type=text/plain
Index: ec2-api-tools-1.6.7.2-r4.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ec2-api-tools-1.6.7.2-r4.ebuild,v 1.1 2013/08/15 15:14:02 tomwij Exp $
EAPI="5"
inherit versionator java-pkg-2
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88"
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PN}-${PV}.zip"
S=${WORKDIR}/${PN}-${PV}
LICENSE="Amazon"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="mirror"
CDEPEND="dev-java/bcprov:1.45
dev-java/commons-cli:1
dev-java/commons-codec:0
dev-java/commons-discovery:0
dev-java/commons-httpclient:3
dev-java/commons-logging:0
dev-java/jaxb:2
dev-java/jax-ws:2
dev-java/jsr173:0
dev-java/jdom:1.0
dev-java/log4j:0
dev-java/wsdl4j:0
dev-java/xalan:0
dev-java/xalan-serializer:0
dev-java/xerces:2"
DEPEND="${CDEPEND}
app-arch/unzip:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.4"
java_prepare() {
rm lib/{bcprov-jdk*,commons-cli-*,commons-codec-*,commons-discovery,commons-httpclient-*,commons-logging-adapters-*,commons-logging-api-*,jaxb-api,jaxb-impl,jaxws-api,jdom,log4j-*,stax2-api-*,wsdl4j,xalan,xercesImpl}.jar \
|| die "Failed to remove bundled jar files that are provided by system."
find . -name '*.cmd' -delete || die "Failed to remove non-Linux files."
sed -i "s:LIBDIR=\".*\":LIBDIR=\"/usr/share/${PN}/lib\":g" bin/ec2-cmd || die "Failed to set the library path in the wrapper."
for FILE in bin/* ; do
sed -i 's:${EC2_HOME}:/usr:g' ${FILE} || die "Failed to set the EC2_HOME value in the wrappers."
sed -i '/PREFIX__EC2_HOME/d' ${FILE} || die "Failed to remove remaining redundant PREFIX__EC2_HOME lines from wrappers."
done
}
src_install() {
exeinto /usr/bin
doexe bin/*
local libs="/usr/share/${PN}/lib"
insinto ${libs}
doins lib/*.jar
dosym $(java-pkg_getjar bcprov{-1.45,.jar}) ${libs}/bcprov-jdk15-145.jar
dosym $(java-pkg_getjar commons-cli{-1,.jar}) ${libs}/commons-cli-1.1.jar
dosym $(java-pkg_getjar commons-codec{,.jar}) ${libs}/commons-codec-1.4.jar
dosym $(java-pkg_getjar commons-discovery{,.jar}) ${libs}/commons-discovery.jar
dosym $(java-pkg_getjar commons-httpclient{-3,.jar}) ${libs}/commons-httpclient-3.1.jar
dosym $(java-pkg_getjar commons-logging{,-adapters.jar}) ${libs}/commons-logging-adapters-1.1.1.jar
dosym $(java-pkg_getjar commons-logging{,-api.jar}) ${libs}/commons-logging-api-1.1.1.jar
dosym $(java-pkg_getjar jaxb{-2,-api.jar}) ${libs}/jaxb-api.jar
dosym $(java-pkg_getjar jaxb{-2,-impl.jar}) ${libs}/jaxb-impl.jar
dosym $(java-pkg_getjar jax-ws{-2,.jar}) ${libs}/jaxws-api.jar
dosym $(java-pkg_getjar jdom{-1.0,.jar}) ${libs}/jdom.jar
dosym $(java-pkg_getjar log4j{,.jar}) ${libs}/log4j-1.2.14.jar
dosym $(java-pkg_getjar jsr173{,.jar}) ${libs}/stax2-api-3.0.1.jar
dosym $(java-pkg_getjar wsdl4j{,.jar}) ${libs}/wsdl4j.jar
dosym $(java-pkg_getjar xalan{,.jar}) ${libs}/xalan.jar
dosym $(java-pkg_getjar xerces{-2,Impl.jar}) ${libs}/xercesImpl.jar
dodoc THIRDPARTYLICENSE.TXT
}
pkg_postinst() {
elog ""
elog "You need to put the following in your ~/.bashrc replacing the"
elog "values with the full paths to your key and certificate."
elog ""
elog " export EC2_PRIVATE_KEY=/path/to/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
elog " export EC2_CERT=/path/to/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-15 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 15:14 [gentoo-commits] gentoo-x86 commit in app-admin/ec2-api-tools: ec2-api-tools-1.6.7.2-r4.ebuild ChangeLog ec2-api-tools-1.6.7.2-r3.ebuild Tom Wijsman (tomwij)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox