diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/amazon-ec2-init | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/amazon-ec2-init')
-rw-r--r-- | app-admin/amazon-ec2-init/Manifest | 3 | ||||
-rw-r--r-- | app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild | 32 | ||||
-rw-r--r-- | app-admin/amazon-ec2-init/files/amazon-ec2.init | 34 | ||||
-rw-r--r-- | app-admin/amazon-ec2-init/metadata.xml | 5 |
4 files changed, 0 insertions, 74 deletions
diff --git a/app-admin/amazon-ec2-init/Manifest b/app-admin/amazon-ec2-init/Manifest deleted file mode 100644 index 158d06c1b336..000000000000 --- a/app-admin/amazon-ec2-init/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX amazon-ec2.init 1073 BLAKE2B f9bfa80b9317965eb603bb414e02b77c8e4045045fd10c29bf1fbe4a216e0f71d71b411b77123ca66a282716b510768773cb47a6ccd717683354f5688a2c85b0 SHA512 6dcbca0fed4e3a4e8c0d0e9da4cb8ea380f6604605402350d8980bad1377376584b644157f88a2babcd605e690f3a52cf89e63e130d679b501327675c90d5836 -EBUILD amazon-ec2-init-20101127-r1.ebuild 766 BLAKE2B 190643bfd2d999dfc9f716e1b2fc49d1aecaeff87eee132a124051bcfb57badd4d28cca7e268d72b23b748e5fdc7bfdb2f31db2a930cba0fe5154a7042afe6f6 SHA512 a0c1986867363a9eb4616afdef8b20cd2a08372d05ea03853289cb6539f1152a9da876e5379b364d46b3f0e0f5f0e23eaaedde5b7c45c026cbbe84b479bc7259 -MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 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 deleted file mode 100644 index 41cd0c9ccb81..000000000000 --- a/app-admin/amazon-ec2-init/amazon-ec2-init-20101127-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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="" - -# EAPI 4+ requires $S to be set -S="$WORKDIR" - -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." -} diff --git a/app-admin/amazon-ec2-init/files/amazon-ec2.init b/app-admin/amazon-ec2-init/files/amazon-ec2.init deleted file mode 100644 index 29ce3aabd6a8..000000000000 --- a/app-admin/amazon-ec2-init/files/amazon-ec2.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - before hostname - need net.eth0 -} - -start() { - einfo "Fetching metadata from EC2 servers" - - ebegin " hostname" - local hostname=$(wget -t 2 -T 5 -q -O - http://169.254.169.254/latest/meta-data/local-hostname) - echo "hostname=${hostname}" >> /etc/conf.d/hostname - eend $? - - ebegin " SSH keys" - - mkdir -p /root/.ssh - - local keys=$(wget -t 2 -T 5 -q -O - http://169.254.169.254/latest/meta-data/public-keys/ | cut -d = -f 1 | xargs echo) - [ -n "${keys}" ] && \ - wget -t 2 -T 5 -q -O - $(for key in $keys; do echo "http://169.254.169.254/latest/meta-data/public-keys/$key/openssh-key"; done) \ - >> /root/.ssh/authorized_keys \ - 2>/dev/null - - if [ -f /root/.ssh/authorized_keys ]; then - chown root:root /root/.ssh/authorized_keys - chmod 0600 /root/.ssh/authorized_keys - fi - - eend $? -} diff --git a/app-admin/amazon-ec2-init/metadata.xml b/app-admin/amazon-ec2-init/metadata.xml deleted file mode 100644 index 6f49eba8f496..000000000000 --- a/app-admin/amazon-ec2-init/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> |