diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-28 13:34:26 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-28 13:34:26 +0000 |
commit | 96bb345c5d1243d7a07289256dd13c0d14954c9f (patch) | |
tree | 41bd5377257faaa2b560d869dd42fb46752afd64 /app-admin | |
parent | Bump to 3.1.2 (diff) | |
download | historical-96bb345c5d1243d7a07289256dd13c0d14954c9f.tar.gz historical-96bb345c5d1243d7a07289256dd13c0d14954c9f.tar.bz2 historical-96bb345c5d1243d7a07289256dd13c0d14954c9f.zip |
Version bump, also don't use version for the install path and don't use symlinks to /usr/bin. This means that you won't need to re-source the profile at each upgrade, but just after the first install. And it won't pollute your inode space.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ec2-api-tools/ChangeLog | 13 | ||||
-rw-r--r-- | app-admin/ec2-api-tools/Manifest | 12 | ||||
-rw-r--r-- | app-admin/ec2-api-tools/ec2-api-tools-1.3.46266.ebuild | 57 |
3 files changed, 75 insertions, 7 deletions
diff --git a/app-admin/ec2-api-tools/ChangeLog b/app-admin/ec2-api-tools/ChangeLog index 66f271e48ca3..82ad6d2ed7a0 100644 --- a/app-admin/ec2-api-tools/ChangeLog +++ b/app-admin/ec2-api-tools/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-admin/ec2-api-tools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ChangeLog,v 1.3 2009/09/27 12:36:32 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ChangeLog,v 1.4 2010/01/28 13:34:26 flameeyes Exp $ + +*ec2-api-tools-1.3.46266 (28 Jan 2010) + + 28 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +ec2-api-tools-1.3.46266.ebuild: + Version bump, also don't use version for the install path and don't use + symlinks to /usr/bin. This means that you won't need to re-source the + profile at each upgrade, but just after the first install. And it won't + pollute your inode space. 27 Sep 2009; Markus Meier <maekke@gentoo.org> ec2-api-tools-1.3.36506.ebuild: diff --git a/app-admin/ec2-api-tools/Manifest b/app-admin/ec2-api-tools/Manifest index 6c36d88ff211..280452db4cd9 100644 --- a/app-admin/ec2-api-tools/Manifest +++ b/app-admin/ec2-api-tools/Manifest @@ -3,14 +3,16 @@ Hash: SHA1 DIST ec2-api-tools-1.3-36506.zip 7770363 RMD160 1f0895bcdfec26e341e5cadc056dfef3092a7e84 SHA1 e72b5bbcb2ae9639d80662bd8a04d1f2dae7fcd5 SHA256 7de2e99e7068f25a7d1be916152ef0615a015f2813a92a80b6a037822a2938f1 DIST ec2-api-tools-1.3-42584.zip 8176807 RMD160 8d97e1a73539f1d40a3c5c5f9bc5aa0c93e2db09 SHA1 a9901bb9d31b7ff6b24dbbf2d5cfa69c24b07be9 SHA256 3b3606ca6e9904ae281f73b747097597de81b5d9c2f96215cc5cefa4341cb2b4 +DIST ec2-api-tools-1.3-46266.zip 8328324 RMD160 5758f82007c6df31b936ecfdc8acaa3dfa90b84f SHA1 798e385b54662e4d4406ae76ebdc76b84ff08628 SHA256 06bfe9357f4d6d155e66acb961a77b576b284cefe71026211872a1c0fe85a519 EBUILD ec2-api-tools-1.3.36506.ebuild 1833 RMD160 59ee7fc8a9e62b04f7a727ef36f536eb8b8f139f SHA1 ebf9c663bc1c21df23c5fef6c53102b03edbb27d SHA256 4c775045e827c9d6b575a47b80230a4b26ce5f44bb85bb8b334eef2c3f8f7e45 EBUILD ec2-api-tools-1.3.42584.ebuild 1834 RMD160 f2fdd9738abccc91bd8e66900b6c291c603cfe49 SHA1 a5db37a4afbae43877ecd9e2ebe5dbf406eb2522 SHA256 86a6f065c531c3d039195b8f059de7e1dd31a462865928d8b49c8f2d9c36d159 -MISC ChangeLog 647 RMD160 958f6baab6bff45b2c61de70d3cff47e0e37506c SHA1 d360d8e870bd95cc7d1ef07e37e700dbbb48233c SHA256 96ec3e15e7c7503df4d74aaa9b062d6fc4c5069a402dec030a6c1e78d8912db6 +EBUILD ec2-api-tools-1.3.46266.ebuild 1712 RMD160 6d94138009b441afe76b0034fe021d63f4693d53 SHA1 17d388b15668c4fd9defc077543896ab7076865a SHA256 c29ebdbb61084dfda4afc8e501eca1dde05f3cc8c40c700e59b404d73d8796ed +MISC ChangeLog 1030 RMD160 661f61f10afbb762a86262a61b8be491c7dd4bd6 SHA1 7fbccd9ffc365777298d890007693e31b8ada46d SHA256 6ef5133b0dcf0fbdce194671edc1e4c71fdc28abcd08a750b2c144cebe62f279 MISC metadata.xml 224 RMD160 bb2009757c340fc870e2e7fe5eee501303c70a62 SHA1 e89e8d75b54d9f07a8e7efc9b468a9b74b2d5eec SHA256 79754f25228240ec611264268d0e8dd94cdd8f6cd0473c430343741a2d293824 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkq/XHYACgkQkKaRLQcq0GLd5wCfUadw6CDQTUY0OM3AoaWRkvnm -wK4AnR4+tZAZbVCNpucrUxLydYN+0lbR -=scgQ +iEYEARECAAYFAkthkiAACgkQAiZjviIA2XikgwCfW11F/NKfr34NDGOwZwiSH8/9 +mZkAoNjsNaCdDGYPFaD3erVrOLgBV+Q5 +=Dduz -----END PGP SIGNATURE----- diff --git a/app-admin/ec2-api-tools/ec2-api-tools-1.3.46266.ebuild b/app-admin/ec2-api-tools/ec2-api-tools-1.3.46266.ebuild new file mode 100644 index 000000000000..9c4464105cce --- /dev/null +++ b/app-admin/ec2-api-tools/ec2-api-tools-1.3.46266.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 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.3.46266.ebuild,v 1.1 2010/01/28 13:34:26 flameeyes Exp $ + +inherit versionator + +EC2_VERSION=$(get_version_component_range 1-2) +EC2_PATCHLEVEL=$(get_version_component_range 3) + +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}-${EC2_VERSION}-${EC2_PATCHLEVEL}.zip" + +S=${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL} + +LICENSE="Amazon" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="virtual/jre" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL}" + find . -name *.cmd -exec rm {} \; +} + +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 +EC2_HOME=/opt/${PN} +PATH=/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 "" + 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" +} |