summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Thode <prometheanfire@gentoo.org>2014-03-16 21:05:25 +0000
committerMatt Thode <prometheanfire@gentoo.org>2014-03-16 21:05:25 +0000
commit7ebe9865de23aeaf2baf7a4c44e2615f78b03890 (patch)
treeefa5149c95a81e73d2f0790018d5154fac548f1c /app-emulation
parentDo not inherit the server target in the developer target anymore (diff)
downloadhistorical-7ebe9865de23aeaf2baf7a4c44e2615f78b03890.tar.gz
historical-7ebe9865de23aeaf2baf7a4c44e2615f78b03890.tar.bz2
historical-7ebe9865de23aeaf2baf7a4c44e2615f78b03890.zip
adding init scripts
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x2471EB3E40AC5AC3
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/cloud-init/ChangeLog10
-rw-r--r--app-emulation/cloud-init/Manifest36
-rw-r--r--app-emulation/cloud-init/cloud-init-0.7.2.ebuild35
-rw-r--r--app-emulation/cloud-init/cloud-init-0.7.4-r1.ebuild (renamed from app-emulation/cloud-init/cloud-init-0.7.4.ebuild)9
-rw-r--r--app-emulation/cloud-init/files/cloud-config.init16
-rw-r--r--app-emulation/cloud-init/files/cloud-final.init14
-rw-r--r--app-emulation/cloud-init/files/cloud-init-local.init15
-rw-r--r--app-emulation/cloud-init/files/cloud-init.init16
8 files changed, 97 insertions, 54 deletions
diff --git a/app-emulation/cloud-init/ChangeLog b/app-emulation/cloud-init/ChangeLog
index 7dc85c5e3dc4..99d579112c73 100644
--- a/app-emulation/cloud-init/ChangeLog
+++ b/app-emulation/cloud-init/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emulation/cloud-init
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.3 2014/03/11 08:31:40 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.4 2014/03/16 21:05:11 prometheanfire Exp $
+
+*cloud-init-0.7.4-r1 (16 Mar 2014)
+
+ 16 Mar 2014; Matthew Thode <prometheanfire@gentoo.org>
+ +cloud-init-0.7.4-r1.ebuild, +files/cloud-config.init,
+ +files/cloud-final.init, +files/cloud-init-local.init, +files/cloud-init.init,
+ -cloud-init-0.7.2.ebuild, -cloud-init-0.7.4.ebuild:
+ adding init scripts
*cloud-init-0.7.4 (11 Mar 2014)
diff --git a/app-emulation/cloud-init/Manifest b/app-emulation/cloud-init/Manifest
index 49571aaf9a25..2116d0090484 100644
--- a/app-emulation/cloud-init/Manifest
+++ b/app-emulation/cloud-init/Manifest
@@ -1,26 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST cloud-init-0.7.2.tar.gz 430475 SHA256 ecb7b059a3ab2de206eb525af5312c692c2a6a0c9b278b8e156a827386f75e35 SHA512 37789c2e3a4d7662bc64cc0b2c77d3c21cd3c1663de3eeb9e8ec2cb18c75cce668cf71d54dafe3b1655ee2b7c329812052c13104137febf7142206101da8a997 WHIRLPOOL e1be0706dc6801a055b6352e9afbd350c777c24c15576fa7c9cbeab99452c7811b270b7c38ac52a8fe4fa7ce5304da71e04df6feb88bc065cf306cea85e6ce0a
+AUX cloud-config.init 427 SHA256 9a1ef6fad67299b0c6075cd3115a463d5b6c367b38be7216d5d7397e83e5cf78 SHA512 a0a8a7974b816336d10e9ffb5e9f7d6387abb24d8fd0ca4483bf70dfe90a86acdd277c8810a7d01124cf4c3e78af51c38c70b57df0412b37e213607bf9f593a6 WHIRLPOOL 5a8fd3517a4831f1887e7416c1d8d52f93c1559f1047ae0a9b234744ac25fface87424b39773dfcf4499d3fc77c98dfc3d8f2db32a8b0211faa3a9abf4fc1358
+AUX cloud-final.init 376 SHA256 d626f14468741a8f874e84d456e6513c161e497847e314e0bf96fbbfeb8b50ad SHA512 85c4c62154ec41cab6638fd15a427c677d3232eb68e0362f885e7ddcab9b6b4653e8e5e8be2c5f5f77b2839511fbb6814c1042c5247a82a2f81a7a0d1313a7bd WHIRLPOOL c8cd6e068bc4fa6a3e4d979380b3ccf0608c62a135d1760c8a3674ad92df51378b34a58d2ccad6bec611ebd828eb7ea352d6a4765eabd1eaf431ce23ff76542a
+AUX cloud-init-local.init 391 SHA256 271d2ef3037927987d80f06f2c4a81c139f4e91bb44b511dc519fbc19e4ae0f5 SHA512 6ec166cb1b0f8455a0efdf92a4557df4ac5b152b8fad63e6700cd64e343ed883bab90f7ccc25dbeb55e5221f318e71a66d59260b01780ec84bf84d4b8e827fea WHIRLPOOL 0026052a21f53dca116bef5777d52aa23149eabcdc7304c4d58a87c307d55d01ae99dd8f25f91ed518189b2d345e5c0a5291b062bffb20ac0feb3b400cfaad18
+AUX cloud-init.init 425 SHA256 086cf093e95239e401209a78d34ac98f7f92fb74ba1dda573fd25b99e7a7f606 SHA512 62789fee5a0674467b9542b9f3758aa266c3eb2e2cab09438f26ad66eb07356c14298c62aa00b6527899d098b786081949e942999a5b69218b90697201680055 WHIRLPOOL 72eb8d5072c380f1d8734223862e8cad0f0993c99c9e7c4c903255d47cafd646d7b86740b9ffe4c41defc67a358e35a5b5376c3efb19e4e1f79e7e1a5f283da9
DIST cloud-init-0.7.4.tar.gz 471807 SHA256 34152e0168c2ffc06284b4fe01ff43f856219228ddb995d5afe4f9a77420d779 SHA512 e2103c36c103fa341a86ce0bb16d48877a45a3b5c36fde336c734755235aefb1818a56e3b20fcf95a0b8a1bf1bd106cb80f65ceee3697eed512fee605e647109 WHIRLPOOL 1204df71492071c100eb73a2f7c427c58a0702d920fc36b255366f3ffcd5417769e9853e7d873d64c86f0dce71268539b5c587db534bb6b4f0f3b401bcf3e8be
-EBUILD cloud-init-0.7.2.ebuild 1064 SHA256 6392b21c05c55d525d8a073cd04e2c822c4631b525af154ed1511b6523e5111a SHA512 fb377bea0ef693bd3dc93b09edfc977a17f242227d75ca524877ba200218dddebabd2436170594ee1ec39330b18de554df3a23f7135fcac262adc87ff20c38e8 WHIRLPOOL d7f7f5220acf713d6eedbdc8ecbbfced4bf2d92ef478237b78920b09ae3c869b965dc2ce04853152c83ea2a4c59c45e874455154e050a10f0f78c0c238f1d8bf
-EBUILD cloud-init-0.7.4.ebuild 1064 SHA256 3b70b40b2acaf12b659e6f41fa24cea5c1c6d15802874383d87d605badb49cae SHA512 c7a5b24508299693d6c7f6804ef01b9feeba8c44704cb84dd66129436f644e9f631d06e139723b97f471072ce163295f45d0abe01c77ccb119f7801b77cbac4c WHIRLPOOL 7af96b10329e2dd520d18dac1764cff498ef2123e7e3abe1682833c9092d1bf14c42664663c215a124ffab04c5868927f1c6d2f0ce8588c1d108ab98d41ec5fd
-MISC ChangeLog 660 SHA256 856db65b21921f0dbf4b7e844de1734692e8bdbe5ec39dd3ab28a282f7643d6d SHA512 c09245530dba13e7b2288b41055637b4019f10e07f8f0cf9fc0ea7be3140c9f7c1060ff28ab5b6b7927fcae5c76d6cf36b181f63eee22d0602ce6b7b8e37ceef WHIRLPOOL 70cffd127962d06347cd51bd2cd3fc0bf1849bc7cd74fb1d88260c530463e1cfd7ffb593b162f37678e022e9cb2ccf4abb256bebf8dfbf7a085a0b31a9f1eeca
+EBUILD cloud-init-0.7.4-r1.ebuild 1227 SHA256 4646b626ab7e5619efcc28d6e4a43ba5b00dad4ec37ba9b80e04f3861c7616bc SHA512 0ed123480ca4177b1bb8a0b23fe3250d937ff60a3759d6dd84217981776c542774688e39152812f3cc496f1a09cf99edb3a7bff14c44eede883b50193512f7ba WHIRLPOOL cef6129a385b9504090e715eb7146b755885629b1ab48ec63c40604e7de9d6f17c84fd40ee79d62dfe645d0bc73f944c6fbebfd14349e098079577dfbdd16366
+MISC ChangeLog 968 SHA256 27b96c4cbd19798d9fabbc1b88ae40f7a045fac0af708bd09fa53076e231abc6 SHA512 5411b2e75d2a44fd8e05c939aa3e513c84ef5e0e2f66469549c2e858107550a1c90e9b90932a3021bab0e2d0d088707968ae90a70b059fe338a122ddf0a589f0 WHIRLPOOL 5f7a31f586e19bc184a0aef8f093a648e2e256b2ed4699230fb97e800239685243ad8a6318a930f483554ab9e4f1dfdd071f37b7ec69d88f7abae0775cfea7c6
MISC metadata.xml 391 SHA256 5350444fadfde215a3d946f6ccb0df658075f9faf397ed498bc3950dc84a9955 SHA512 cfae01b863c1313dda64a093425eb104c6407025189d724e7b13107693386a8c24c5b52c41a09ffac427d6c9f067479eeb7d41f3770c86ce48cd4128284f063e WHIRLPOOL c720c46ef4b03864f72c9113f42218492a10c16cc355924f77d69cd6d8788ef689d072d653ba161656f1c9e43d51dd9bbc23aeb98699966abe86f60bdbc067d6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTHsoNAAoJECRx6z5ArFrD20QP/0eKxdSiIDCkkyLZs0i3wAIT
-wLGUoHg5+68AgFUscQUEbgPxB7ECU3NDYlvtaEbJIicWTNfiJkRBuHSllUmcfi3A
-CosWqcspWtrqyV0J47VzuvtTn/L8MACbF6rIQ2ea/1C6KT9tykpjAizg0kzqQbQ/
-NYhsjPtgLKQniZsBhY9np/ARiUlP0HXt6PATy6jwV/FBbno3vDHNfiC5lJi0PzuT
-2J3nMeZm3ffavlMdHZ9HQjniNG6aY/GUHi/9n4bj6uMaR4jqFY5uNvG0IVypGEIH
-paLdqD/jjnP8ZhreLRIHGC9aqUNQy9Q0MalUYziyALqfFHZYwy7GcXS8FnsyxPpS
-T/vzIHe5EQhQdOjihH1hHMMLnufLFOBHBpE9tVEAb3GkXfA3Y1blRQnRDkjGP7zX
-9EantWqVh7S8ApZrxV9viUS0DBaGib4ecl/rYBagmIIAv7ULo7HT9K9nci5ILRmw
-C81FKej5vuYw99BlXx/IXg3pIv4OUK+y0z4XLBgey6gIv9xSipe8fTtDRLZMDGKv
-I26d1mydGGuL1LSDCrH3CZDdKOwmGVKBKqBSRCXFLAmxAWkBFun/o9zQoFf9kxrK
-HjTFh/Cb/jhN+7PAnDEYnLR2cNTjpAJ4owimi8R5Jjm+Hgc+63PiYr9uWKNgWXUy
-zYVKnQUeCvqFwQ0hEbxE
-=91ft
+iQIcBAEBCAAGBQJTJhIzAAoJECRx6z5ArFrDd+4QAJhzdOQ93dXHqOyJASYH7UsM
+F4BjMAtsMnukA4tFWJ5MY2MtBC0drME08NkofvEj4q+YA+iepFqUc7YuF82sQF8p
+Q+wMd7ASA7AGDxFlWQIQjQqrqcWKOFL0W8XyL+HD947OUZEOkCrFnkNfXvDU///a
++eX9FvSMVQeP/yzCw07USHWtD+Gdn3eWn/xN1gSlheHV0EyWRDM9ChIBvL5C8HoJ
+HUGtfqVVJpUAfdrMU3/+IDrVu3D0peVg7OCpT12SP9OSAWbrRjJikLp3Mw/N1BO3
+0/m7xNcqQmBWOB7xBZip2xbgyPlOh6UrfffQ9R+As54Kbm1SgfIOVIgfl0x07dCl
+OV09n849He0Is8GeSpmZaN8Bn8S3Rk5/IbnzatwVirzkhgu3rrODEUsl5ZZafDIB
+0QDMXAEUVXeFoLAOBrVEN/ftJuHziJ607ngjyAkM3p1OrM4c86qe1rj1cmmQjNKL
+HoA930vTkF+UxWPY/Be5j5CJs5fah8B+xnxEK2Ep1oPecB8NrIB+I1eFXDOWEmIP
+rVajMO//dUk0qLsGky4gzkioyXKmGs+9SN3eJYWg7ljbAQGCDAkPe2BCaBkRgs36
+SCMVp68jUPQuo1texzQIN81iKpgY2EPA5bwTlmrb/nd5Divd+kbrA+tH37dgP/Ln
+WKE2CG/x0vTL+P6o+K56
+=1RSk
-----END PGP SIGNATURE-----
diff --git a/app-emulation/cloud-init/cloud-init-0.7.2.ebuild b/app-emulation/cloud-init/cloud-init-0.7.2.ebuild
deleted file mode 100644
index 18babdf5f4c1..000000000000
--- a/app-emulation/cloud-init/cloud-init-0.7.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.2.ebuild,v 1.2 2013/10/29 04:42:05 prometheanfire Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils multilib
-
-DESCRIPTION="Package provides configuration and customization of cloud instance."
-HOMEPAGE="https://launchpad.net/cloud-init"
-SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-
-RDEPEND="dev-python/cheetah[${PYTHON_USEDEP}]
- dev-python/prettytable[${PYTHON_USEDEP}]
- dev-python/oauth[${PYTHON_USEDEP}]
- dev-python/pyserial[${PYTHON_USEDEP}]
- dev-python/configobj[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- virtual/python-argparse[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/boto[${PYTHON_USEDEP}]
- dev-python/jsonpatch[${PYTHON_USEDEP}]"
-
-src_prepare() {
- sed -i "s/'tests'//g" "${S}/setup.py"
- rm -R "${S}/tests"
-}
diff --git a/app-emulation/cloud-init/cloud-init-0.7.4.ebuild b/app-emulation/cloud-init/cloud-init-0.7.4-r1.ebuild
index 0b8e0d70973f..a8004a5ab45d 100644
--- a/app-emulation/cloud-init/cloud-init-0.7.4.ebuild
+++ b/app-emulation/cloud-init/cloud-init-0.7.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.4.ebuild,v 1.1 2014/03/11 08:31:40 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.4-r1.ebuild,v 1.1 2014/03/16 21:05:11 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -33,3 +33,10 @@ src_prepare() {
sed -i "s/'tests'//g" "${S}/setup.py"
rm -R "${S}/tests"
}
+
+python_install() {
+ distutils-r1_python_install
+ for svc in config final init init-local; do
+ newinitd "${FILESDIR}/cloud-${svc}.init" "cloud-${svc}"
+ done
+}
diff --git a/app-emulation/cloud-init/files/cloud-config.init b/app-emulation/cloud-init/files/cloud-config.init
new file mode 100644
index 000000000000..64d80017ea57
--- /dev/null
+++ b/app-emulation/cloud-init/files/cloud-config.init
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/files/cloud-config.init,v 1.1 2014/03/16 21:05:12 prometheanfire Exp $
+
+depend() {
+ after cloud-init-local
+ after cloud-init
+ before cloud-final
+ provide cloud-config
+}
+
+start() {
+ cloud-init modules --mode config
+ eend 0
+}
diff --git a/app-emulation/cloud-init/files/cloud-final.init b/app-emulation/cloud-init/files/cloud-final.init
new file mode 100644
index 000000000000..ace74d69f672
--- /dev/null
+++ b/app-emulation/cloud-init/files/cloud-final.init
@@ -0,0 +1,14 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/files/cloud-final.init,v 1.1 2014/03/16 21:05:12 prometheanfire Exp $
+
+depend() {
+ after cloud-config
+ provide cloud-final
+}
+
+start() {
+ cloud-init modules --mode final
+ eend 0
+}
diff --git a/app-emulation/cloud-init/files/cloud-init-local.init b/app-emulation/cloud-init/files/cloud-init-local.init
new file mode 100644
index 000000000000..0c8e9df223f5
--- /dev/null
+++ b/app-emulation/cloud-init/files/cloud-init-local.init
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/files/cloud-init-local.init,v 1.1 2014/03/16 21:05:12 prometheanfire Exp $
+
+depend() {
+ after net
+ before cloud-init
+ provide cloud-init-local
+}
+
+start() {
+ cloud-init init --local
+ eend 0
+}
diff --git a/app-emulation/cloud-init/files/cloud-init.init b/app-emulation/cloud-init/files/cloud-init.init
new file mode 100644
index 000000000000..151faf502256
--- /dev/null
+++ b/app-emulation/cloud-init/files/cloud-init.init
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/files/cloud-init.init,v 1.1 2014/03/16 21:05:12 prometheanfire Exp $
+
+# add depends for network, dns, fs etc
+depend() {
+ after cloud-init-local
+ before cloud-config
+ provide cloud-init
+}
+
+start() {
+ cloud-init init
+ eend 0
+}