summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-28 13:41:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-28 13:41:59 +0000
commit19486a8e8f55af60a78963bcc65bf369c5a6d8ff (patch)
tree70c051b2ddb1cc1ae461c92a62f2634a1d2e668a /app-admin/ec2-ami-tools
parentVersion bump, also don't use version for the install path and don't use symli... (diff)
downloadhistorical-19486a8e8f55af60a78963bcc65bf369c5a6d8ff.tar.gz
historical-19486a8e8f55af60a78963bcc65bf369c5a6d8ff.tar.bz2
historical-19486a8e8f55af60a78963bcc65bf369c5a6d8ff.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/ec2-ami-tools')
-rw-r--r--app-admin/ec2-ami-tools/ChangeLog13
-rw-r--r--app-admin/ec2-ami-tools/Manifest12
-rw-r--r--app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild53
3 files changed, 71 insertions, 7 deletions
diff --git a/app-admin/ec2-ami-tools/ChangeLog b/app-admin/ec2-ami-tools/ChangeLog
index cffb6cd20ae3..c97e890bd3af 100644
--- a/app-admin/ec2-ami-tools/ChangeLog
+++ b/app-admin/ec2-ami-tools/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-admin/ec2-ami-tools
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.2 2009/09/27 12:37:22 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.3 2010/01/28 13:41:59 flameeyes Exp $
+
+*ec2-ami-tools-1.3.45758 (28 Jan 2010)
+
+ 28 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +ec2-ami-tools-1.3.45758.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-ami-tools-1.3.34544.ebuild:
diff --git a/app-admin/ec2-ami-tools/Manifest b/app-admin/ec2-ami-tools/Manifest
index 116882093dc7..0dee4381f54d 100644
--- a/app-admin/ec2-ami-tools/Manifest
+++ b/app-admin/ec2-ami-tools/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST ec2-ami-tools-1.3-34544.zip 137161 RMD160 a0d6bec4ab5139d8e68de245ca12a1b3f51158ce SHA1 ffc1b93a73601996e3b58395d2a50a2fb385c16e SHA256 1a44fe0ce2ff66a23e354fae9dd2fa52fe472bc4fbd30f768ae4b706b52127df
+DIST ec2-ami-tools-1.3-45758.zip 137300 RMD160 bff4ce93b36c8b081f9da4785ea71751a393512f SHA1 503c9bc890bd3a1f5426d8a03be875b12105f3f4 SHA256 2a7c848abea286234adcbb08938cfad50b844ecdfc7770e781289d9d396a1972
EBUILD ec2-ami-tools-1.3.34544.ebuild 1572 RMD160 7186b3c69368aac57ede776804788f7f04bfaf17 SHA1 582784ded6282b959e6b48e58ffe42f60d682795 SHA256 44015def96bc8014c8142516b910fbfc13e45e5a98de6d180513a8f55d93e085
-MISC ChangeLog 489 RMD160 e9386569134a032b7a9a091860d2bf6d4154f902 SHA1 4726f91767fc7100c1c25eb5f2dad7b383b97e6b SHA256 7cbe80b1b3ad1b64f090db2bcc1ede6597287ba3cbbe05ae34ab130ff59dfd3e
+EBUILD ec2-ami-tools-1.3.45758.ebuild 1452 RMD160 7c5c477a315ca87febeed1557c2901e5a38fbe51 SHA1 e48d025a501b1ce838850abee9509cf634d589f8 SHA256 0047e10468fd078217d3e0b18b86c5f8991c1072621396b236c0c07d341fb813
+MISC ChangeLog 872 RMD160 d83dcbde6ab18042335f8a38ab0ae290816cd344 SHA1 c678cf4eca4ccdad52a234b4f97305474bceaede SHA256 4220bf0c957aa7ce512d492fe97699807a738587c88c565880717625d1c0d57e
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/XKkACgkQkKaRLQcq0GJGbwCgnkERvFXvIuoa/spsRMAKmE87
-K4sAmwXGON+RyttuZnIOwHBjdvvAYcNK
-=E1t4
+iEYEARECAAYFAkthk+UACgkQAiZjviIA2XhbBwCgq6Z7p1WkS35c176NlPrGJVNz
+cvIAnRrIfHyvzcoVs6EGtYffZDiF/V6o
+=Tq7Y
-----END PGP SIGNATURE-----
diff --git a/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild b/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild
new file mode 100644
index 000000000000..dd13ea03e0a6
--- /dev/null
+++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild,v 1.1 2010/01/28 13:41:59 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="dev-lang/ruby
+ net-misc/rsync
+ net-misc/curl"
+
+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/*
+
+ insinto /opt/${PN}/etc
+ doins -r "${S}"/etc/*
+
+ dodir /etc/env.d
+ cat - > "${T}"/99${PN} <<EOF
+EC2_AMITOOL_HOME=/opt/${PN}
+PATH=/opt/${PN}/bin
+EOF
+ doenvd "${T}"/99${PN}
+}
+
+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)"
+}