1 |
commit: c13aba16e254d0e00ec9b34818905d17ef40df2a |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 8 15:21:57 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 15:21:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13aba16 |
7 |
|
8 |
app-emulation/openstack-guest-agents-unix: bup for reasons |
9 |
|
10 |
Adds emergency Console support and includes recent commits |
11 |
which address python compatibility. |
12 |
|
13 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
14 |
|
15 |
app-emulation/openstack-guest-agents-unix/Manifest | 1 + |
16 |
...stack-guest-agents-unix-1.39.1_p20170227.ebuild | 67 ++++++++++++++++++++++ |
17 |
2 files changed, 68 insertions(+) |
18 |
|
19 |
diff --git a/app-emulation/openstack-guest-agents-unix/Manifest b/app-emulation/openstack-guest-agents-unix/Manifest |
20 |
index 022a7c87a12..a62aa5825f8 100644 |
21 |
--- a/app-emulation/openstack-guest-agents-unix/Manifest |
22 |
+++ b/app-emulation/openstack-guest-agents-unix/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
+DIST c9a4f15b8c8f2349601d3073cc95e30d3b91af13.zip 143082 SHA256 2c6baa1467f79363c260a694cfe46d895bdebd99d56b3b1267f010365ef162b8 SHA512 f4ef4ca4d844109ef741126eee7c313734f5faefcf68926294c83411384eb7461c779070ed0bfcc35ffba56ef47e2677bf4b990dccd9007aa6b82551346dca8f WHIRLPOOL 08a19eefcea016cb38e6beaaed6801c076caf7e5c99d38d5a089b44c20907fbddc15930fc45d3d63cd1f6e8c8ab91e6d54c5c236ec6da60fb7ec3638c8b737f3 |
25 |
DIST openstack-guest-agents-unix-1.39.0.tar.gz 75013 SHA256 eaa22564c8da46c2c1c08e6c0ccd2507e181ffac66fa89f1d9ac2323a2a77d97 SHA512 4f7c4c1f2bc2c8ebda25dc8c0fa79c39e8e5a83040ff103f8c583d9142e71c6527d23e430da983e3a8c9add508298c31ec13a7e56d1db3b5338736dd470fec80 WHIRLPOOL 8e91593dcf6e1f0a8281a9a19946aa67c6e57acfcd5dd5739cddc9b0db0ea0952552f592f598a156140f5c8834fd47f9e20fddddec0f7648bcc40ebce0127d63 |
26 |
DIST openstack-guest-agents-unix-1.39.1.tar.gz 75458 SHA256 dab0bafb2a632040b0e76ac277fee5714dc8eb9cb9781e80f64a94aaa6bd06a2 SHA512 b1e88bb3492018375e7b2275829e2698d82d75c975a396ab7409c9b88f7787145b0da87c81a089aa8914fae30e996654b589bc1675bba769b661d7d1deb9590d WHIRLPOOL 5ba6cf326b78ea5141611b59d9d2b21b9c6a54f4ed9b358a6751ac135a77eac0c20a0b8ce7e078557158bc6a0192e13fed44c75bb9e7794eded1f4777b24b072 |
27 |
|
28 |
diff --git a/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.1_p20170227.ebuild b/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.1_p20170227.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..90854f5dfde |
31 |
--- /dev/null |
32 |
+++ b/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.1_p20170227.ebuild |
33 |
@@ -0,0 +1,67 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit eutils autotools linux-info python-single-r1 |
41 |
+COMMIT="c9a4f15b8c8f2349601d3073cc95e30d3b91af13" |
42 |
+DESCRIPTION="Unix Guest Agent for OpenStack" |
43 |
+HOMEPAGE="https://wiki.openstack.org/wiki/GuestAgent" |
44 |
+SRC_URI="https://github.com/rackerlabs/${PN}/archive/${COMMIT}.zip" |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+RESTRICT="mirror strip" |
50 |
+DEPEND=" |
51 |
+ app-emulation/xe-guest-utilities[-xenstore] |
52 |
+ dev-util/patchelf |
53 |
+ dev-python/pycrypto[${PYTHON_USEDEP}] |
54 |
+ test? ( dev-python/mox[${PYTHON_USEDEP}] ) |
55 |
+ test? ( dev-python/unittest2[${PYTHON_USEDEP}] ) |
56 |
+ ${PYTHON_DEPS} |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ app-emulation/xe-guest-utilities |
60 |
+ dev-python/pyxenstore[${PYTHON_USEDEP}] |
61 |
+ dev-python/pycrypto[${PYTHON_USEDEP}] |
62 |
+ ${PYTHON_DEPS} |
63 |
+" |
64 |
+S=${WORKDIR}/${PN}-${COMMIT} |
65 |
+ |
66 |
+# Required for Emergency Console |
67 |
+CONFIG_CHECK="~KEYBOARD_ATKBD" |
68 |
+ |
69 |
+pkg_setup() |
70 |
+{ |
71 |
+ python-single-r1_pkg_setup |
72 |
+} |
73 |
+src_prepare() |
74 |
+{ |
75 |
+ # Note: https://github.com/rackerlabs/openstack-guest-agents-unix/issues/52 |
76 |
+ ebegin 'patching tests/test_injectfile.py' |
77 |
+ sed -e '97,127 d' -i tests/test_injectfile.py |
78 |
+ STATUS=$? |
79 |
+ eend ${STATUS} |
80 |
+ [[ ${STATUS} -gt 0 ]] && die |
81 |
+ |
82 |
+ eapply_user |
83 |
+ eautoreconf |
84 |
+} |
85 |
+ |
86 |
+src_install() |
87 |
+{ |
88 |
+ emake DESTDIR="${D}" install || die |
89 |
+ doinitd scripts/gentoo/nova-agent |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() |
93 |
+{ |
94 |
+ if [ "$(rc-config list default | grep nova-agent)" = "" ] ; then |
95 |
+ elog "To start nova-agent automatically by default" |
96 |
+ elog "you should add it to the default runlevel :" |
97 |
+ elog "\`rc-update add nova-agent default\`" |
98 |
+ elog |
99 |
+ fi |
100 |
+} |