Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/xe-guest-utilities: xe-guest-utilities-6.2.0_p1120.ebuild xe-guest-utilities-5.6.0_p595.ebuild metadata.xml xe-guest-utilities-6.1.0_p1033.ebuild ChangeLog
Date: Mon, 23 Jun 2014 14:30:41
Message-Id: 20140623143036.0A7E62004F@flycatcher.gentoo.org
1 robbat2 14/06/23 14:30:35
2
3 Added: xe-guest-utilities-6.2.0_p1120.ebuild
4 xe-guest-utilities-5.6.0_p595.ebuild metadata.xml
5 xe-guest-utilities-6.1.0_p1033.ebuild ChangeLog
6 Log:
7 Initial commit, based off Chris Camisa's work in his OpenStack overlay: https://github.com/Camisa/OpenStack-Overlay/tree/master/sys-cluster/xe-guest-utilities; I intend to proxy further commits from him.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.1 app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120.ebuild?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120.ebuild?rev=1.1&content-type=text/plain
16
17 Index: xe-guest-utilities-6.2.0_p1120.ebuild
18 ===================================================================
19 # Copyright 1999-2014 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Header: /var/cvsroot/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120.ebuild,v 1.1 2014/06/23 14:30:35 robbat2 Exp $
22
23 EAPI=5
24 inherit eutils rpm linux-info
25 DESCRIPTION="XenServer Virtual Machine Tools"
26 HOMEPAGE="http://www.citrix.com/"
27 PV_BASE=${PV/_*}
28 PV_FULL=${PV/_p/-}
29 SRC_URI="http://updates.vmd.citrix.com/XenServer/${PV_BASE}/rhel4x/SRPMS/xe-guest-utilities-${PV_FULL}.src.rpm"
30 LICENSE="LGPL-3 LGPL-2.1"
31 SLOT="0"
32 KEYWORDS="~amd64"
33 IUSE="xenstore"
34 DEPEND="app-arch/rpm2targz"
35 RDEPEND="
36 !xenstore? ( app-emulation/xen-tools )
37 xenstore? ( !app-emulation/xen-tools )"
38 S=${WORKDIR}
39 CONFIG_CHECK="~XEN_COMPAT_XENFS ~XENFS"
40 QA_PREBUILT="usr/bin/xenstore* usr/bin/xeninfo"
41
42 src_unpack() {
43 rpm_src_unpack ${A}
44 # Upstream includes xenstore-sources.tar.bz2
45 # but it is NOT the complete source :-(
46 }
47
48 src_prepare() {
49 epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Guest-Attributes.patch
50 epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Linux-Distribution.patch
51 }
52
53 src_install() {
54 newinitd "${FILESDIR}/xe-daemon.initd" xe-daemon
55 dosbin xe-daemon
56 dosbin xe-linux-distribution
57 dosbin xe-update-guest-attrs
58 insinto /lib/udev/rules.d
59 newins xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules
60
61 if use xenstore; then
62 dobin usr/bin/xeninfo
63 dobin usr/bin/xenstore
64 dobin usr/bin/xenstore-*
65 fi
66 }
67
68 pkg_postinst() {
69 if [ ! -e /etc/runlevels/boot/xe-daemon ]; then
70 elog "To start the xe-daemon automatically by default"
71 elog "you should add it to the boot runlevel :"
72 elog "'rc-update add xe-daemon boot'"
73 elog
74 fi
75 }
76
77
78
79 1.1 app-emulation/xe-guest-utilities/xe-guest-utilities-5.6.0_p595.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-5.6.0_p595.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-5.6.0_p595.ebuild?rev=1.1&content-type=text/plain
83
84 Index: xe-guest-utilities-5.6.0_p595.ebuild
85 ===================================================================
86 # Copyright 1999-2014 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-5.6.0_p595.ebuild,v 1.1 2014/06/23 14:30:35 robbat2 Exp $
89
90 EAPI=5
91 inherit eutils rpm linux-info
92 DESCRIPTION="XenServer Virtual Machine Tools"
93 HOMEPAGE="http://www.citrix.com/"
94 PV_BASE=${PV/_*}
95 PV_FULL=${PV/_p/-}
96 SRC_URI="http://updates.vmd.citrix.com/XenServer/${PV_BASE}/rhel4x/SRPMS/xe-guest-utilities-${PV_FULL}.src.rpm"
97 LICENSE="LGPL-3 LGPL-2.1"
98 SLOT="0"
99 KEYWORDS="~amd64"
100 IUSE="xenstore"
101 DEPEND="app-arch/rpm2targz"
102 RDEPEND="
103 !xenstore? ( app-emulation/xen-tools )
104 xenstore? ( !app-emulation/xen-tools )"
105 S=${WORKDIR}
106 CONFIG_CHECK="~XEN_COMPAT_XENFS ~XENFS"
107 QA_PREBUILT="usr/bin/xenstore* usr/bin/xeninfo"
108
109 src_unpack() {
110 rpm_src_unpack ${A}
111 # Upstream includes xenstore-sources.tar.bz2
112 # but it is NOT the complete source :-(
113 }
114
115 src_prepare() {
116 epatch "${FILESDIR}"/${PN}-5.6.100_p651-gentoo.patch
117 epatch "${FILESDIR}"/${PN}-5.6.100_p651-update-guest-attrs.patch
118 }
119
120 src_install() {
121 newinitd "${FILESDIR}/xe-daemon.initd" xe-daemon
122 dosbin xe-daemon
123 dosbin xe-linux-distribution
124 dosbin xe-update-guest-attrs
125 insinto /lib/udev/rules.d
126 newins xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules
127
128 if use xenstore; then
129 dobin usr/bin/xeninfo
130 dobin usr/bin/xenstore
131 dobin usr/bin/xenstore-*
132 fi
133 }
134
135 pkg_postinst() {
136 if [ ! -e /etc/runlevels/boot/xe-daemon ]; then
137 elog "To start the xe-daemon automatically by default"
138 elog "you should add it to the boot runlevel :"
139 elog "'rc-update add xe-daemon boot'"
140 elog
141 fi
142 }
143
144
145
146 1.1 app-emulation/xe-guest-utilities/metadata.xml
147
148 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/metadata.xml?rev=1.1&view=markup
149 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/metadata.xml?rev=1.1&content-type=text/plain
150
151 Index: metadata.xml
152 ===================================================================
153 <?xml version="1.0" encoding="UTF-8"?>
154 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
155 <pkgmetadata>
156 <herd>openstack</herd>
157 <herd>virtualization</herd>
158 <herd>xen</herd>
159 <maintainer>
160 <email>chris@××××××.org</email>
161 <name>Christopher J. Camisa</name>
162 <description>proxy maintainer</description>
163 </maintainer>
164 <maintainer>
165 <email>robbat2@g.o</email>
166 </maintainer>
167 <longdescription>XenServer Virtual Machine Tools</longdescription>
168 <use>
169 <flag name="xenstore">Use xenstore binaries bundled by Citrix instead of building app-emulation/xen-tools</flag>
170 </use>
171 </pkgmetadata>
172
173
174
175 1.1 app-emulation/xe-guest-utilities/xe-guest-utilities-6.1.0_p1033.ebuild
176
177 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.1.0_p1033.ebuild?rev=1.1&view=markup
178 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.1.0_p1033.ebuild?rev=1.1&content-type=text/plain
179
180 Index: xe-guest-utilities-6.1.0_p1033.ebuild
181 ===================================================================
182 # Copyright 1999-2014 Gentoo Foundation
183 # Distributed under the terms of the GNU General Public License v2
184 # $Header: /var/cvsroot/gentoo-x86/app-emulation/xe-guest-utilities/xe-guest-utilities-6.1.0_p1033.ebuild,v 1.1 2014/06/23 14:30:35 robbat2 Exp $
185
186 EAPI=5
187 inherit eutils rpm linux-info
188 DESCRIPTION="XenServer Virtual Machine Tools"
189 HOMEPAGE="http://www.citrix.com/"
190 PV_BASE=${PV/_*}
191 PV_FULL=${PV/_p/-}
192 SRC_URI="http://updates.vmd.citrix.com/XenServer/${PV_BASE}/rhel4x/SRPMS/xe-guest-utilities-${PV_FULL}.src.rpm"
193 LICENSE="LGPL-3 LGPL-2.1"
194 SLOT="0"
195 KEYWORDS="~amd64"
196 IUSE="xenstore"
197 DEPEND="app-arch/rpm2targz"
198 RDEPEND="
199 !xenstore? ( app-emulation/xen-tools )
200 xenstore? ( !app-emulation/xen-tools )"
201 S=${WORKDIR}
202 CONFIG_CHECK="~XEN_COMPAT_XENFS ~XENFS"
203 QA_PREBUILT="usr/bin/xenstore* usr/bin/xeninfo"
204
205 src_unpack() {
206 rpm_src_unpack ${A}
207 # Upstream includes xenstore-sources.tar.bz2
208 # but it is NOT the complete source :-(
209 }
210
211 src_prepare() {
212 epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Guest-Attributes.patch
213 epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Linux-Distribution.patch
214 }
215
216 src_install() {
217 newinitd "${FILESDIR}/xe-daemon.initd" xe-daemon
218 dosbin xe-daemon
219 dosbin xe-linux-distribution
220 dosbin xe-update-guest-attrs
221 insinto /lib/udev/rules.d
222 newins xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules
223
224 if use xenstore; then
225 dobin usr/bin/xeninfo
226 dobin usr/bin/xenstore
227 dobin usr/bin/xenstore-*
228 fi
229 }
230
231 pkg_postinst() {
232 if [ ! -e /etc/runlevels/boot/xe-daemon ]; then
233 elog "To start the xe-daemon automatically by default"
234 elog "you should add it to the boot runlevel :"
235 elog "'rc-update add xe-daemon boot'"
236 elog
237 fi
238 }
239
240
241
242 1.1 app-emulation/xe-guest-utilities/ChangeLog
243
244 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/ChangeLog?rev=1.1&view=markup
245 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xe-guest-utilities/ChangeLog?rev=1.1&content-type=text/plain
246
247 Index: ChangeLog
248 ===================================================================
249 # ChangeLog for app-emulation/xe-guest-utilities
250 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
251 # $Header: /var/cvsroot/gentoo-x86/app-emulation/xe-guest-utilities/ChangeLog,v 1.1 2014/06/23 14:30:35 robbat2 Exp $
252
253 *xe-guest-utilities-5.6.0_p595 (23 Jun 2014)
254 *xe-guest-utilities-6.1.0_p1033 (23 Jun 2014)
255 *xe-guest-utilities-6.2.0_p1120 (23 Jun 2014)
256
257 23 Jun 2014; Robin H. Johnson <robbat2@g.o> +files/xe-daemon.initd,
258 +files/xe-guest-utilities-5.6.100_p651-gentoo.patch,
259 +files/xe-guest-utilities-5.6.100_p651-update-guest-attrs.patch,
260 +files/xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch,
261 +files/xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch, +metadata.xml,
262 +xe-guest-utilities-5.6.0_p595.ebuild, +xe-guest-utilities-6.1.0_p1033.ebuild,
263 +xe-guest-utilities-6.2.0_p1120.ebuild:
264 Initial commit, based off Chris Camisa's work in his OpenStack overlay:
265 https://github.com/Camisa/OpenStack-Overlay/tree/master/sys-cluster/xe-guest-
266 utilities; I intend to proxy further commits from him.