app-admin/amazon-ec2-init: revbump amazon-ec2-init-20101127 to -r1 and update to...
authorAustin English <wizardedit@gentoo.org>
Mon, 25 Apr 2016 18:56:51 +0000 (13:56 -0500)
committerAustin English <wizardedit@gentoo.org>
Mon, 25 Apr 2016 18:59:07 +0000 (13:59 -0500)
Package-Manager: portage-2.2.26

app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild [new file with mode: 0644]

diff --git a/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild b/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild
new file mode 100644 (file)
index 0000000..2455a7b
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+DESCRIPTION="Init script to setup Amazon EC2 instance parameters"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI=""
+
+# Amazon only provides x86 and amd64 Linux Xen guests, possibly FreeBSD,
+# so just don't go adding further keywords.
+KEYWORDS="-* ~amd64 ~x86"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="net-misc/wget"
+DEPEND=""
+
+src_install() {
+       newinitd "${FILESDIR}/amazon-ec2.init" amazon-ec2
+}
+
+pkg_postinst() {
+       elog "Remember to add amazon-ec2 init script to your boot runlevel"
+       elog "otherwise it won't bring up the correct interfaces and won't."
+       elog "start before the hostname has been set."
+}