summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2020-05-08 18:22:32 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2020-05-08 18:25:48 +0800
commit18575332dd959589a44abdbfcb0b9bb23433152c (patch)
treea78046b8859fdb8a81d3af88d9dc4fb7ea43b9cb
parent[net-im/telegram-cli] change upstream repo (diff)
downloadpigfoot-18575332dd959589a44abdbfcb0b9bb23433152c.tar.gz
pigfoot-18575332dd959589a44abdbfcb0b9bb23433152c.tar.bz2
pigfoot-18575332dd959589a44abdbfcb0b9bb23433152c.zip
[app-admin/google-compute-engine] Version bump to 20191210
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
-rw-r--r--app-admin/google-compute-engine/Manifest26
-rw-r--r--app-admin/google-compute-engine/google-compute-engine-2.8.3.ebuild90
-rw-r--r--app-admin/google-compute-engine/google-compute-engine-20191210.ebuild96
-rw-r--r--app-admin/google-compute-engine/metadata.xml9
4 files changed, 109 insertions, 112 deletions
diff --git a/app-admin/google-compute-engine/Manifest b/app-admin/google-compute-engine/Manifest
index 6614f1f..59dcbba 100644
--- a/app-admin/google-compute-engine/Manifest
+++ b/app-admin/google-compute-engine/Manifest
@@ -1,13 +1,13 @@
-DIST google-accounts-daemon.20180611 2657 SHA512 38601ed1c855776ab4eb6ba8c076c10f77b96552d8857b12471171de4d048fa8e301a3624aad5f01125f24b11818a8c12d471b152eafb00cfb135e2606ed0c55
-DIST google-accounts-daemon.service.20180611 265 SHA512 2b28e6fdb48d14d0fdda99f159ed81a084fb158414d16a0042723666cdb33edb72754de8befc5494f116713277141f03bda4e45e575f3fba17f17a6a315dd074
-DIST google-clock-skew-daemon.20180611 2667 SHA512 66b938a3ae3c3aa4f6cee83d951ebf4940f5e77597812d08e0cf7ca6a99fa339afa295145dc6eb9ee2a41025af675fe5dfe722e761705b1d2d311250a90a3f18
-DIST google-clock-skew-daemon.service.20180611 269 SHA512 245f6d6cfd5e6d3433f9c645a3eb0ecc5d0023a58571d8630c4eb7128e7c4bc6430aa6e486c486e4772b7e7ede6bb477b7d3cc45a8a79429bd8d5ceaba87d62c
-DIST google-compute-engine-2.8.3.tar.gz 45988 SHA512 64b4687a678b89a1cbacc0bdece53c01b0b7243f6f27af8810ef927d45d45c98e6f78d277f4c7902badb9fd5fca0041e1fabcc4f5bf9870eb37612e1a70b8489
-DIST google-instance-setup.20180611 1278 SHA512 fd1ddcebb8af5a2db6a46de87c88ef520cc6067f3c4aefa883ff5c5f830949a96bd2d1bd13f872e014dcd9a4d92414dc85ee618503854c9a7b261078966ba2b4
-DIST google-instance-setup.service.20180611 335 SHA512 e3b026a67baa264c904997832bd69c6196d2e6fe28c378f04dd2972b8f9b2209c88dda656a19ae5ea47e6b9de49103d777af1b91c57e09fd36bc9d79acae234c
-DIST google-network-daemon.20180611 2634 SHA512 087f05c05f09f12a27f72c8beb9957d2bd4eb25691be292092b22d03d3215f6263585d28a0f5f2873233ae1a9217682c3a2c1b3f547434906bf045c51e453726
-DIST google-network-daemon.service.20180611 352 SHA512 9b418d088b6c16c32cfd442f475429783b8d794f8791fa8f4bc18d97dd1c303a1603d92bdc4e004335d56373018fa9dd802ab088547a2aae3818e64f9227ca72
-DIST google-shutdown-scripts.20180611 1313 SHA512 92e0a1cd3aff8e1ab932ccbf9114bc7f3e9afb4cb6ff3689dc44e1ff072a738ec7b976df17094dc58df94a3a21b991570a8e4de370670672cbb9f5d07bd0d8ad
-DIST google-shutdown-scripts.service.20180611 474 SHA512 436d73cac441d858ce060cfac1e6d630a2d8eb56db845a26b46a3087a8b58c1daf619c047df42357567896f66d172f8d06f22a03270f5b03ec1c0d44af348116
-DIST google-startup-scripts.20180611 1332 SHA512 b80f0c37c4aca5f742090130591e352d217db66e5a37dfdbe31a5d6235edc36f06d34c4d958c8a84ffbd3a37852ee9a94e2c2ae576de0c2900a7de382680f20e
-DIST google-startup-scripts.service.20180611 407 SHA512 a8fc57ad0ee2083874234eb2d79973ded0d5952ef798bde0324e4a14b9968b7f2a51d08b3a2243314658c651d6bdaa80bb55071908e17fc935af6b3c4c7647f1
+DIST google-accounts-daemon.service.v20191210 265 BLAKE2B fdec8e60bdc2dd8d02a802cf8f91df571709cd190ec12b537c08e3d95f8aa0d678c41d7042242d163c8002862cc64df7420ba3375809f49c078be8823b58178f SHA512 2b28e6fdb48d14d0fdda99f159ed81a084fb158414d16a0042723666cdb33edb72754de8befc5494f116713277141f03bda4e45e575f3fba17f17a6a315dd074
+DIST google-accounts-daemon.v20191210 2657 BLAKE2B 181d2d2419318156658cc2ec0f38e02fe09d47a746294fa19dfdf14e06dd76279271a8b0a642b6abaea33d513dfe427be71d84bb4b733fa79f75afaaa167a2c2 SHA512 38601ed1c855776ab4eb6ba8c076c10f77b96552d8857b12471171de4d048fa8e301a3624aad5f01125f24b11818a8c12d471b152eafb00cfb135e2606ed0c55
+DIST google-clock-skew-daemon.service.v20191210 269 BLAKE2B 0016bfd99446412dce7e6381f4dc5d2073545c9b78ed8d7ffb5c264f9a47cfae3d372440858e8e4bd868f1026e5a50ba431bc6be5213d663e51571a33d32d50a SHA512 245f6d6cfd5e6d3433f9c645a3eb0ecc5d0023a58571d8630c4eb7128e7c4bc6430aa6e486c486e4772b7e7ede6bb477b7d3cc45a8a79429bd8d5ceaba87d62c
+DIST google-clock-skew-daemon.v20191210 2667 BLAKE2B f1d9a4e6b94792507780594e7e7e31e31344195554ff8eb13c145fc6e4568522ff53b716ca87bd1ce96fbc5ad2d44d60c564b5ac9b34c3bc9fa6f04de067e601 SHA512 66b938a3ae3c3aa4f6cee83d951ebf4940f5e77597812d08e0cf7ca6a99fa339afa295145dc6eb9ee2a41025af675fe5dfe722e761705b1d2d311250a90a3f18
+DIST google-compute-engine-20191210.tar.gz 104806 BLAKE2B 27f3de09a72ab6fd750cf5df92c7b94b48f3c2105cbefcaaf8477fb08178b48163460eef5b8f77d605bbc2b5ad65841b8f172083355f2cb4ee67146c58135f22 SHA512 52f1225b224fac4287e393ec58c883b92370af7ed4d061c9588bbd8692a65cf333165b3f704ced5381a6446b41a71d7f68c8407949979137c07e3e264b180e9d
+DIST google-instance-setup.service.v20191210 335 BLAKE2B ad42ed7f5c45f0da1f26af039e782ddf099b65b346afa86349bc8c0376a0057aaebc6b926f9c166fe256ea0cf2cccd8090aaead0af1ecc6426d83f415f578162 SHA512 e3b026a67baa264c904997832bd69c6196d2e6fe28c378f04dd2972b8f9b2209c88dda656a19ae5ea47e6b9de49103d777af1b91c57e09fd36bc9d79acae234c
+DIST google-instance-setup.v20191210 1278 BLAKE2B 7ce4b5b10f5a06bc4247291e92e08fadbcb5b2116b4ed4c4ae505e145f238e8a207147c9b875dc023605e20056a4d1210cbbc738f21f155f530173488be3eeb7 SHA512 fd1ddcebb8af5a2db6a46de87c88ef520cc6067f3c4aefa883ff5c5f830949a96bd2d1bd13f872e014dcd9a4d92414dc85ee618503854c9a7b261078966ba2b4
+DIST google-network-daemon.service.v20191210 375 BLAKE2B d48afc397c8b1d5683d8094326539c6c3f7ef2eefb4522a52120b94fb2a72dc9301f93db4a0f5e5a06e63b3bf886a2a503da526a70188f3091365ec9fa8270b2 SHA512 8bcc3ae65799171dc4b80834beb728b902dc7a74a9523f1728de8ac138c31c3408032d17d5b1b14865b202f7dd9ac99823bf5843eecd4e73f87afa23113f1952
+DIST google-network-daemon.v20191210 2634 BLAKE2B 9459ec025a8b75b86cc174612d6996ab6d41b46776f70e4b6a8cdac7a8ef9596e7f73eb77160d695e63bffe121d08019826f895077d0653f3881898f57738643 SHA512 087f05c05f09f12a27f72c8beb9957d2bd4eb25691be292092b22d03d3215f6263585d28a0f5f2873233ae1a9217682c3a2c1b3f547434906bf045c51e453726
+DIST google-shutdown-scripts.service.v20191210 474 BLAKE2B d80cebb85bfca3c34e6baeb8396a5d2357b3ff6d329c5da3ce8b8982bb317735a1303b218f826b39d856b89ec3cf5c58fcce5a2d7037db8f922af37e9976103b SHA512 436d73cac441d858ce060cfac1e6d630a2d8eb56db845a26b46a3087a8b58c1daf619c047df42357567896f66d172f8d06f22a03270f5b03ec1c0d44af348116
+DIST google-shutdown-scripts.v20191210 1313 BLAKE2B 4df81304082c16cd906c9a6ea27f83af0be74ec4b6d512bfe37c8d9cd0ebbad4c248139129f0384b3ba57115383357901c7d5d78ca83c653539f382404440126 SHA512 92e0a1cd3aff8e1ab932ccbf9114bc7f3e9afb4cb6ff3689dc44e1ff072a738ec7b976df17094dc58df94a3a21b991570a8e4de370670672cbb9f5d07bd0d8ad
+DIST google-startup-scripts.service.v20191210 407 BLAKE2B 51091d3c29f31b4907441300de01d4a6e51271277151b1d6eb890bfe7f24d1d896d596a43e8e5b812c01c46274b2f488d5f2b09d09b65d6d7d57e5aac0eb0149 SHA512 a8fc57ad0ee2083874234eb2d79973ded0d5952ef798bde0324e4a14b9968b7f2a51d08b3a2243314658c651d6bdaa80bb55071908e17fc935af6b3c4c7647f1
+DIST google-startup-scripts.v20191210 1332 BLAKE2B d0b7cf218ee8cd0c8f08b57f40e43c64e1a4a5eb82c03d534678f929bea55e0eab331cff792c986902ff219f55adba00dd8148584a38b15d7a869b85d73b5bb1 SHA512 b80f0c37c4aca5f742090130591e352d217db66e5a37dfdbe31a5d6235edc36f06d34c4d958c8a84ffbd3a37852ee9a94e2c2ae576de0c2900a7de382680f20e
diff --git a/app-admin/google-compute-engine/google-compute-engine-2.8.3.ebuild b/app-admin/google-compute-engine/google-compute-engine-2.8.3.ebuild
deleted file mode 100644
index 4f71269..0000000
--- a/app-admin/google-compute-engine/google-compute-engine-2.8.3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# 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_{6,7}} pypy{,3} )
-
-inherit distutils-r1 systemd
-
-GITHUB_USER="GoogleCloudPlatform"
-MY_PN="compute-image-packages"
-MY_TAG="20180611"
-
-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
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-accounts-daemon -> google-accounts-daemon.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-accounts-daemon.service -> google-accounts-daemon.service.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-clock-skew-daemon -> google-clock-skew-daemon.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-clock-skew-daemon.service -> google-clock-skew-daemon.service.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-instance-setup -> google-instance-setup.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-instance-setup.service -> google-instance-setup.service.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-network-daemon -> google-network-daemon.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-network-daemon.service -> google-network-daemon.service.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-shutdown-scripts -> google-shutdown-scripts.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-shutdown-scripts.service -> google-shutdown-scripts.service.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/sysvinit/google-startup-scripts -> google-startup-scripts.${MY_TAG}
- https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${MY_TAG}/google_compute_engine_init/systemd/google-startup-scripts.service -> google-startup-scripts.service.${MY_TAG}"
-
-SLOT="0"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- dev-python/boto[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-
-INIT=(
- "google-accounts-daemon"
- "google-clock-skew-daemon"
- "google-instance-setup"
- "google-network-daemon"
- "google-shutdown-scripts"
- "google-startup-scripts")
-
-python_install_all() {
- for _s in "${INIT[@]}"
- do
- newinitd "${DISTDIR}/${_s}.${MY_TAG}" "${_s}"
- systemd_newunit "${DISTDIR}/${_s}.service.${MY_TAG}" "${_s}.service"
- done
-
- # Install google-compute-engine python modules.
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- ewarn
- ewarn "Systems using systemd can do the following:"
- ewarn " # Stop existing daemons."
- ewarn " systemctl stop --no-block google-accounts-daemon"
- ewarn " systemctl stop --no-block google-clock-skew-daemon"
- ewarn " systemctl stop --no-block google-network-daemon"
- ewarn
- ewarn " # Enable systemd services."
- ewarn " systemctl enable google-accounts-daemon.service"
- ewarn " systemctl enable google-clock-skew-daemon.service"
- ewarn " systemctl enable google-instance-setup.service"
- ewarn " systemctl enable google-network-daemon.service"
- ewarn " systemctl enable google-shutdown-scripts.service"
- ewarn " systemctl enable google-startup-scripts.service"
- ewarn
- ewarn " # Run instance setup manually to prevent startup script execution."
- ewarn " /usr/bin/google_instance_setup"
- ewarn
- ewarn " # Start daemons."
- ewarn " systemctl start --no-block google-network-daemon"
- ewarn " systemctl start --no-block google-accounts-daemon"
- ewarn " systemctl start --no-block google-clock-skew-daemon"
- ewarn
-}
diff --git a/app-admin/google-compute-engine/google-compute-engine-20191210.ebuild b/app-admin/google-compute-engine/google-compute-engine-20191210.ebuild
new file mode 100644
index 0000000..b4ecf2b
--- /dev/null
+++ b/app-admin/google-compute-engine/google-compute-engine-20191210.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 systemd
+
+MY_PN="github.com/GoogleCloudPlatform/compute-image-packages"
+MY_P="${P}"
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://${MY_PN}"
+ EGIT_SUBMODULES=()
+else
+ EGIT_COMMIT="v${PV}"
+ MY_P="compute-image-packages-tags-${EGIT_COMMIT}"
+ SRC_URI="https://${MY_PN}/archive/tags/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-accounts-daemon -> google-accounts-daemon.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-accounts-daemon.service -> google-accounts-daemon.service.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-clock-skew-daemon -> google-clock-skew-daemon.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-clock-skew-daemon.service -> google-clock-skew-daemon.service.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-instance-setup -> google-instance-setup.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-instance-setup.service -> google-instance-setup.service.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-network-daemon -> google-network-daemon.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-network-daemon.service -> google-network-daemon.service.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-shutdown-scripts -> google-shutdown-scripts.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-shutdown-scripts.service -> google-shutdown-scripts.service.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/sysvinit/google-startup-scripts -> google-startup-scripts.${EGIT_COMMIT}
+ https://${MY_PN}/raw/20190124/google_compute_engine_init/systemd/google-startup-scripts.service -> google-startup-scripts.service.${EGIT_COMMIT}"
+fi
+
+DESCRIPTION="Scripts and tools for Google Compute Engine Linux images."
+HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PVR}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="mirror"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/distro[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}/packages/python-google-compute-engine"
+
+INIT=(
+ "google-accounts-daemon"
+ "google-clock-skew-daemon"
+ "google-instance-setup"
+ "google-network-daemon"
+ "google-shutdown-scripts"
+ "google-startup-scripts")
+
+python_install_all() {
+ for _s in "${INIT[@]}"
+ do
+ newinitd "${DISTDIR}/${_s}.${EGIT_COMMIT}" "${_s}"
+ systemd_newunit "${DISTDIR}/${_s}.service.${EGIT_COMMIT}" "${_s}.service"
+ done
+
+ # Install google-compute-engine python modules.
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "Systems using systemd can do the following:"
+ ewarn " # Stop existing daemons."
+ ewarn " systemctl stop --no-block google-accounts-daemon"
+ ewarn " systemctl stop --no-block google-clock-skew-daemon"
+ ewarn " systemctl stop --no-block google-network-daemon"
+ ewarn
+ ewarn " # Enable systemd services."
+ ewarn " systemctl enable google-accounts-daemon.service"
+ ewarn " systemctl enable google-clock-skew-daemon.service"
+ ewarn " systemctl enable google-instance-setup.service"
+ ewarn " systemctl enable google-network-daemon.service"
+ ewarn " systemctl enable google-shutdown-scripts.service"
+ ewarn " systemctl enable google-startup-scripts.service"
+ ewarn
+ ewarn " # Run instance setup manually to prevent startup script execution."
+ ewarn " /usr/bin/google_instance_setup"
+ ewarn
+ ewarn " # Start daemons."
+ ewarn " systemctl start --no-block google-network-daemon"
+ ewarn " systemctl start --no-block google-accounts-daemon"
+ ewarn " systemctl start --no-block google-clock-skew-daemon"
+ ewarn
+}
diff --git a/app-admin/google-compute-engine/metadata.xml b/app-admin/google-compute-engine/metadata.xml
deleted file mode 100644
index af561bd..0000000
--- a/app-admin/google-compute-engine/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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>