summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2016-07-19 18:06:46 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2016-07-19 18:08:36 +0800
commit8f50ccb6552841d69352a2b308c53b61c5033e4e (patch)
tree8110c70fa2707f303e8d00a6cff639ba9136d2c8 /app-admin/google-compute-engine
parent[net-libs/nodejs] remove 5.10.12 (diff)
downloadpigfoot-8f50ccb6552841d69352a2b308c53b61c5033e4e.tar.gz
pigfoot-8f50ccb6552841d69352a2b308c53b61c5033e4e.tar.bz2
pigfoot-8f50ccb6552841d69352a2b308c53b61c5033e4e.zip
Add app-admin/google-compute-engine
Diffstat (limited to 'app-admin/google-compute-engine')
-rw-r--r--app-admin/google-compute-engine/Manifest1
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-accounts-daemon.service-2016071912
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-clock-skew-daemon.service-2016071911
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-instance-setup.service-2016071913
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-ip-forwarding-daemon.service-2016071911
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-2016071915
-rw-r--r--app-admin/google-compute-engine/files/systemd/google-startup-scripts.service-2016071913
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-accounts-daemon-20160719107
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-clock-skew-daemon-20160719106
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-instance-setup-2016071951
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-ip-forwarding-daemon-20160719106
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-shutdown-scripts-2016071950
-rw-r--r--app-admin/google-compute-engine/files/sysvinit/google-startup-scripts-2016071950
-rw-r--r--app-admin/google-compute-engine/google-compute-engine-2.1.2.ebuild42
-rw-r--r--app-admin/google-compute-engine/metadata.xml9
15 files changed, 597 insertions, 0 deletions
diff --git a/app-admin/google-compute-engine/Manifest b/app-admin/google-compute-engine/Manifest
new file mode 100644
index 0000000..8c212dd
--- /dev/null
+++ b/app-admin/google-compute-engine/Manifest
@@ -0,0 +1 @@
+DIST google-compute-engine-2.1.2.tar.gz 24991 SHA256 c1603145086273da11319e38361f7f63b30bb183dae34960eb02579f7c360db4 SHA512 c094c28075832b2acf9160601c680c180d3cb17db5419c16616754beeea36f85fc5208aa1c783960f3e562289efaa5c5223cc1cbc3b54997cd2340b01849b048 WHIRLPOOL 5c4fb492fc79853f909bcd92d163c9e1c76ca16e4473be75136bba6e0201d7ec54ae244141e04637225c534daf4d9cce6a06f20242cfd054bf3f6be1a421aabc
diff --git a/app-admin/google-compute-engine/files/systemd/google-accounts-daemon.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-accounts-daemon.service-20160719
new file mode 100644
index 0000000..04d74b5
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-accounts-daemon.service-20160719
@@ -0,0 +1,12 @@
+[Unit]
+Description=Google Compute Engine Accounts Daemon
+After=network.target google-instance-setup.service
+Before=sshd.service
+Requires=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/google_accounts_daemon
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/systemd/google-clock-skew-daemon.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-clock-skew-daemon.service-20160719
new file mode 100644
index 0000000..511f55b
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-clock-skew-daemon.service-20160719
@@ -0,0 +1,11 @@
+[Unit]
+Description=Google Compute Engine Clock Skew Daemon
+After=network.target google-instance-setup.service
+Requires=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/google_clock_skew_daemon
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/systemd/google-instance-setup.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-instance-setup.service-20160719
new file mode 100644
index 0000000..afa639a
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-instance-setup.service-20160719
@@ -0,0 +1,13 @@
+[Unit]
+Description=Google Compute Engine Instance Setup
+After=local-fs.target network-online.target network.target rsyslog.service
+Before=sshd.service
+Wants=local-fs.target network-online.target network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/google_instance_setup
+
+[Install]
+WantedBy=sshd.service
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/systemd/google-ip-forwarding-daemon.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-ip-forwarding-daemon.service-20160719
new file mode 100644
index 0000000..d8d98ad
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-ip-forwarding-daemon.service-20160719
@@ -0,0 +1,11 @@
+[Unit]
+Description=Google Compute Engine IP Forwarding Daemon
+After=network.target google-instance-setup.service
+Requires=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/google_ip_forwarding_daemon
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719
new file mode 100644
index 0000000..04c82fd
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719
@@ -0,0 +1,15 @@
+[Unit]
+Description=Google Compute Engine Shutdown Scripts
+After=local-fs.target network-online.target network.target rsyslog.service
+After=google-instance-setup.service
+Wants=local-fs.target network-online.target network.target
+
+[Service]
+ExecStart=/bin/true
+ExecStop=/usr/bin/google_metadata_script_runner --script-type shutdown
+Type=oneshot
+RemainAfterExit=true
+TimeoutStopSec=0
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/systemd/google-startup-scripts.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-startup-scripts.service-20160719
new file mode 100644
index 0000000..1c373c5
--- /dev/null
+++ b/app-admin/google-compute-engine/files/systemd/google-startup-scripts.service-20160719
@@ -0,0 +1,13 @@
+[Unit]
+Description=Google Compute Engine Startup Scripts
+After=local-fs.target network-online.target network.target rsyslog.service
+After=google-instance-setup.service
+Wants=local-fs.target network-online.target network.target
+
+[Service]
+ExecStart=/usr/bin/google_metadata_script_runner --script-type startup
+KillMode=process
+Type=oneshot
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-accounts-daemon-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-accounts-daemon-20160719
new file mode 100644
index 0000000..96b0a55
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-accounts-daemon-20160719
@@ -0,0 +1,107 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_accounts_daemon
+# X-Start-Before: ssh
+# Required-Start: $local_fs $network $named $syslog $google_instance_setup
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Google Compute Engine Accounts Daemon
+# Description: Manages accounts from metadata SSH keys.
+### END INIT INFO
+
+# Do NOT "set -e".
+
+NAME=google-accounts-daemon
+DAEMON=/usr/bin/google_accounts_daemon
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed.
+[ -x "$DAEMON" ] || exit 0
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+# and status_of_proc is working.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service.
+#
+do_start()
+{
+ start-stop-daemon \
+ --background \
+ --exec $DAEMON \
+ --make-pidfile \
+ --pidfile $PIDFILE \
+ --quiet \
+ --start > /dev/null
+}
+
+#
+# Function that stops the daemon/service.
+#
+do_stop()
+{
+ start-stop-daemon \
+ --exec $DAEMON \
+ --pidfile $PIDFILE \
+ --quiet \
+ --retry=TERM/30/KILL/5 \
+ --stop > /dev/null
+
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon \
+ --exec $DAEMON \
+ --oknodo \
+ --quiet \
+ --retry=0/30/KILL/5 \
+ --stop > /dev/null
+
+ # Delete the pidfile when the daemon exits.
+ rm -f $PIDFILE
+}
+
+case "$1" in
+ start)
+ do_start
+ ;;
+ stop)
+ do_stop
+ ;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
+ restart|force-reload)
+ do_stop
+ do_start
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-clock-skew-daemon-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-clock-skew-daemon-20160719
new file mode 100644
index 0000000..02b0011
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-clock-skew-daemon-20160719
@@ -0,0 +1,106 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_clock_skew_daemon
+# Required-Start: $network $syslog $google_instance_setup
+# Required-Stop: $network
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Google Compute Engine Clock Skew Daemon
+# Description: Sync the system clock on migration.
+### END INIT INFO
+
+# Do NOT "set -e".
+
+NAME=google-clock-skew-daemon
+DAEMON=/usr/bin/google_clock_skew_daemon
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed.
+[ -x "$DAEMON" ] || exit 0
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+# and status_of_proc is working.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service.
+#
+do_start()
+{
+ start-stop-daemon \
+ --background \
+ --exec $DAEMON \
+ --make-pidfile \
+ --pidfile $PIDFILE \
+ --quiet \
+ --start > /dev/null
+}
+
+#
+# Function that stops the daemon/service.
+#
+do_stop()
+{
+ start-stop-daemon \
+ --exec $DAEMON \
+ --pidfile $PIDFILE \
+ --quiet \
+ --retry=TERM/30/KILL/5 \
+ --stop > /dev/null
+
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon \
+ --exec $DAEMON \
+ --oknodo \
+ --quiet \
+ --retry=0/30/KILL/5 \
+ --stop > /dev/null
+
+ # Delete the pidfile when the daemon exits.
+ rm -f $PIDFILE
+}
+
+case "$1" in
+ start)
+ do_start
+ ;;
+ stop)
+ do_stop
+ ;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
+ restart|force-reload)
+ do_stop
+ do_start
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-instance-setup-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-instance-setup-20160719
new file mode 100644
index 0000000..4382f25
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-instance-setup-20160719
@@ -0,0 +1,51 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_instance_setup
+# X-Start-Before: ssh
+# Required-Start: $local_fs $network $syslog
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Google Compute Engine Instance Setup
+# Description: Runs instance setup on boot.
+### END INIT INFO
+
+NAME=google-instance-setup
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+#
+# Function that starts the daemon/service.
+#
+do_start()
+{
+ /usr/bin/google_instance_setup > /dev/null
+}
+
+case "$1" in
+ start)
+ do_start
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME start" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-ip-forwarding-daemon-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-ip-forwarding-daemon-20160719
new file mode 100644
index 0000000..92e72a8
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-ip-forwarding-daemon-20160719
@@ -0,0 +1,106 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_ip_forwarding_daemon
+# Required-Start: $network $syslog $google_instance_setup
+# Required-Stop: $network
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Google Compute Engine IP Forwarding Daemon
+# Description: Manages IP forwarding.
+### END INIT INFO
+
+# Do NOT "set -e".
+
+NAME=google-ip-forwarding-daemon
+DAEMON=/usr/bin/google_ip_forwarding_daemon
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed.
+[ -x "$DAEMON" ] || exit 0
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+# and status_of_proc is working.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service.
+#
+do_start()
+{
+ start-stop-daemon \
+ --background \
+ --exec $DAEMON \
+ --make-pidfile \
+ --pidfile $PIDFILE \
+ --quiet \
+ --start > /dev/null
+}
+
+#
+# Function that stops the daemon/service.
+#
+do_stop()
+{
+ start-stop-daemon \
+ --exec $DAEMON \
+ --pidfile $PIDFILE \
+ --quiet \
+ --retry=TERM/30/KILL/5 \
+ --stop > /dev/null
+
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon \
+ --exec $DAEMON \
+ --oknodo \
+ --quiet \
+ --retry=0/30/KILL/5 \
+ --stop > /dev/null
+
+ # Delete the pidfile when the daemon exits.
+ rm -f $PIDFILE
+}
+
+case "$1" in
+ start)
+ do_start
+ ;;
+ stop)
+ do_stop
+ ;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
+ restart|force-reload)
+ do_stop
+ do_start
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-shutdown-scripts-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-shutdown-scripts-20160719
new file mode 100644
index 0000000..3f93799
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-shutdown-scripts-20160719
@@ -0,0 +1,50 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_shutdown_scripts
+# Required-Start:
+# Required-Stop: $remote_fs $syslog docker kubelet
+# Default-Start:
+# Default-Stop: 0 6
+# Short-Description: Google Compute Engine Shutdown Scripts
+# Description: Runs user specified shutdown scripts from metadata.
+### END INIT INFO
+
+NAME=google-shutdown-scripts
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+#
+# Function that stops the daemon/service.
+#
+do_stop()
+{
+ /usr/bin/google_metadata_script_runner --script-type shutdown > /dev/null
+}
+
+case "$1" in
+ stop)
+ do_stop
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME stop" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/files/sysvinit/google-startup-scripts-20160719 b/app-admin/google-compute-engine/files/sysvinit/google-startup-scripts-20160719
new file mode 100644
index 0000000..2ee8a56
--- /dev/null
+++ b/app-admin/google-compute-engine/files/sysvinit/google-startup-scripts-20160719
@@ -0,0 +1,50 @@
+#!/bin/sh
+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+### BEGIN INIT INFO
+# Provides: google_startup_scripts
+# Required-Start: $all $google_instance_setup
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Google Compute Engine Startup Scripts
+# Description: Runs user specified startup scripts from metadata.
+### END INIT INFO
+
+NAME=google-startup-scripts
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Load the rcS variables.
+. /lib/init/vars.sh
+
+#
+# Function that starts the daemon/service.
+#
+do_start()
+{
+ /usr/bin/google_metadata_script_runner --script-type startup > /dev/null
+}
+
+case "$1" in
+ start)
+ do_start
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME start" >&2
+ exit 1
+ ;;
+esac
+
+:
diff --git a/app-admin/google-compute-engine/google-compute-engine-2.1.2.ebuild b/app-admin/google-compute-engine/google-compute-engine-2.1.2.ebuild
new file mode 100644
index 0000000..b17ddcc
--- /dev/null
+++ b/app-admin/google-compute-engine/google-compute-engine-2.1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy{,3} )
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="Scripts and tools for Google Compute Engine Linux images."
+HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+RDEPEND="${DEPEND}"
+
+python_install_all() {
+ for _s in google-accounts-daemon \
+ google-clock-skew-daemon \
+ google-instance-setup \
+ google-ip-forwarding-daemon \
+ google-shutdown-scripts \
+ google-startup-scripts;
+ do
+ newinitd "${FILESDIR}/sysvinit/${_s}-20160719" "${_s}"
+ systemd_newunit "${FILESDIR}/systemd/${_s}.service-20160719" "${_s}.service"
+ done
+
+ # Install google-compute-engine python modules.
+ distutils-r1_python_install_all
+}
diff --git a/app-admin/google-compute-engine/metadata.xml b/app-admin/google-compute-engine/metadata.xml
new file mode 100644
index 0000000..af561bd
--- /dev/null
+++ b/app-admin/google-compute-engine/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>pigfoot@gmail.com</email>
+ <name>Chen, Chih-Chia</name>
+ <description>Maintainer. Assign bugs to him</description>
+</maintainer>
+</pkgmetadata>