Gentoo Archives: gentoo-commits

From: "Micheal Marineau (marineam)" <marineam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt: ChangeLog metadata.xml libvirt-0.4.6.ebuild libvirt-0.4.4-r2.ebuild libvirt-0.4.4-r1.ebuild libvirt-0.3.3.ebuild libvirt-0.4.2.ebuild libvirt-0.1.4.ebuild libvirt-0.4.4.ebuild libvirt-0.1.7.ebuild libvirt-0.1.3.ebuild libvirt-0.2.3.ebuild
Date: Sun, 23 Nov 2008 21:53:57
Message-Id: E1L4Mtu-0002Ru-Cd@stork.gentoo.org
1 marineam 08/11/23 21:53:54
2
3 Modified: ChangeLog metadata.xml
4 Added: libvirt-0.4.6.ebuild libvirt-0.4.4-r2.ebuild
5 Removed: libvirt-0.4.4-r1.ebuild libvirt-0.3.3.ebuild
6 libvirt-0.4.2.ebuild libvirt-0.1.4.ebuild
7 libvirt-0.4.4.ebuild libvirt-0.1.7.ebuild
8 libvirt-0.1.3.ebuild libvirt-0.2.3.ebuild
9 Log:
10 Bump libvirt to 0.4.6 and fix a couple bugs.
11 (Portage version: 2.1.4.5)
12
13 Revision Changes Path
14 1.17 app-emulation/libvirt/ChangeLog
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.17&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.17&content-type=text/plain
18 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?r1=1.16&r2=1.17
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v
23 retrieving revision 1.16
24 retrieving revision 1.17
25 diff -u -r1.16 -r1.17
26 --- ChangeLog 11 Aug 2008 13:52:02 -0000 1.16
27 +++ ChangeLog 23 Nov 2008 21:53:54 -0000 1.17
28 @@ -1,6 +1,19 @@
29 # ChangeLog for app-emulation/libvirt
30 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.16 2008/08/11 13:52:02 dev-zero Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.17 2008/11/23 21:53:54 marineam Exp $
33 +
34 +*libvirt-0.4.6 (23 Nov 2008)
35 +*libvirt-0.4.4-r2 (23 Nov 2008)
36 +
37 + 23 Nov 2008; Michael Marineau <marineam@g.o>
38 + +files/libvirt-0.4.6-parallel-build-fix.patch,
39 + +files/libvirt-0.4.6-qemu-img-name.patch, files/libvirtd.init,
40 + metadata.xml, -libvirt-0.1.3.ebuild, -libvirt-0.1.4.ebuild,
41 + -libvirt-0.1.7.ebuild, -libvirt-0.2.3.ebuild, -libvirt-0.3.3.ebuild,
42 + -libvirt-0.4.2.ebuild, -libvirt-0.4.4.ebuild, -libvirt-0.4.4-r1.ebuild,
43 + +libvirt-0.4.4-r2.ebuild, +libvirt-0.4.6.ebuild:
44 + Fix bugs #233379 and #238008. Bump to 0.4.6, bug #239387.
45 + Clean out lots of old versions.
46
47 11 Aug 2008; Tiziano Müller <dev-zero@g.o> files/libvirtd.init:
48 Removed bashism, added a progress-meter...... ;-)
49
50
51
52 1.7 app-emulation/libvirt/metadata.xml
53
54 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.7&view=markup
55 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.7&content-type=text/plain
56 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?r1=1.6&r2=1.7
57
58 Index: metadata.xml
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/metadata.xml,v
61 retrieving revision 1.6
62 retrieving revision 1.7
63 diff -u -r1.6 -r1.7
64 --- metadata.xml 28 Jul 2008 18:51:55 -0000 1.6
65 +++ metadata.xml 23 Nov 2008 21:53:54 -0000 1.7
66 @@ -10,6 +10,10 @@
67 <email>ramereth@g.o</email>
68 <name>Lance Albertson</name>
69 </maintainer>
70 + <maintainer>
71 + <email>marineam@g.o</email>
72 + <name>Michael Marineau</name>
73 + </maintainer>
74 <use>
75 <flag name='iscsi'>Add support for iSCSI (Internet SCSI) remote
76 storage</flag>
77
78
79
80 1.1 app-emulation/libvirt/libvirt-0.4.6.ebuild
81
82 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6.ebuild?rev=1.1&content-type=text/plain
84
85 Index: libvirt-0.4.6.ebuild
86 ===================================================================
87 # Copyright 1999-2008 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6.ebuild,v 1.1 2008/11/23 21:53:54 marineam Exp $
90
91 inherit eutils autotools
92
93 DESCRIPTION="C toolkit to manipulate virtual machines"
94 HOMEPAGE="http://www.libvirt.org/"
95 SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
96
97 LICENSE="LGPL-2.1"
98 SLOT="0"
99 KEYWORDS="~amd64 ~x86"
100 IUSE="avahi iscsi lvm kvm openvz parted qemu sasl selinux server xen" #policykit is in package.mask
101
102 DEPEND="sys-libs/readline
103 sys-libs/ncurses
104 >=dev-libs/libxml2-2.5
105 >=net-libs/gnutls-1.0.25
106 dev-lang/python
107 sys-fs/sysfsutils
108 net-misc/bridge-utils
109 net-analyzer/netcat
110 avahi? ( >=net-dns/avahi-0.6 )
111 iscsi? ( sys-block/open-iscsi )
112 kvm? ( app-emulation/kvm )
113 lvm? ( sys-fs/lvm2 )
114 openvz? ( sys-kernel/openvz-sources )
115 parted? ( >=sys-apps/parted-1.8 )
116 qemu? ( app-emulation/qemu )
117 sasl? ( dev-libs/cyrus-sasl )
118 selinux? ( sys-libs/libselinux )
119 server? ( net-dns/dnsmasq )
120 xen? ( app-emulation/xen-tools app-emulation/xen )
121 "
122 #policykit? ( >=sys-auth/policykit-0.6 )
123
124 src_unpack() {
125 unpack ${A}
126 cd "${S}"
127
128 epatch "${FILESDIR}"/"${P}"-qemu-img-name.patch
129 epatch "${FILESDIR}"/"${P}"-parallel-build-fix.patch
130 eautoreconf
131 }
132
133 pkg_setup() {
134 if ! use qemu && ! use xen && ! use openvz && ! use kvm ; then
135 local msg="You must enable one of these USE flags: qemu xen openvz kvm"
136 eerror "$msg"
137 die "$msg"
138 fi
139 }
140
141 src_compile() {
142 local my_conf=""
143 if use qemu || use kvm ; then
144 # fix path for kvm-img but use qemu-img if the useflag is set
145 my_conf="--with-qemu \
146 $(use_with !qemu qemu-img-name kvm-img)"
147 else
148 my_conf="--without-qemu"
149 fi
150
151 econf \
152 $(use_with avahi) \
153 $(use_with iscsi storage-iscsi) \
154 $(use_with lvm storage-lvm) \
155 $(use_with openvz) \
156 $(use_with parted storage-disk) \
157 $(use_with sasl) \
158 $(use_with selinux) \
159 $(use_with server libvirtd) \
160 $(use_with xen) \
161 ${my_conf} \
162 --with-remote \
163 --disable-iptables-lokkit \
164 --with-remote-pid-file=/var/run/libvirtd.pid \
165 || die "econf failed"
166 #$(use_with policykit) \
167 emake || die "emake failed"
168 }
169
170 src_install() {
171 emake DESTDIR="${D}" install || die
172 mv "${D}"/usr/share/doc/{${PN}-python*,${P}/python}
173 if use server ; then
174 newinitd "${FILESDIR}"/libvirtd.init libvirtd
175 newconfd "${FILESDIR}"/libvirtd.confd libvirtd
176 fi
177 }
178
179
180
181 1.1 app-emulation/libvirt/libvirt-0.4.4-r2.ebuild
182
183 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.4-r2.ebuild?rev=1.1&view=markup
184 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.4-r2.ebuild?rev=1.1&content-type=text/plain
185
186 Index: libvirt-0.4.4-r2.ebuild
187 ===================================================================
188 # Copyright 1999-2008 Gentoo Foundation
189 # Distributed under the terms of the GNU General Public License v2
190 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.4.4-r2.ebuild,v 1.1 2008/11/23 21:53:54 marineam Exp $
191
192 inherit eutils autotools
193
194 DESCRIPTION="C toolkit to manipulate virtual machines"
195 HOMEPAGE="http://www.libvirt.org/"
196 SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
197
198 LICENSE="LGPL-2.1"
199 SLOT="0"
200 KEYWORDS="~amd64 ~x86"
201 IUSE="avahi iscsi lvm kvm openvz parted qemu sasl selinux server xen" #policykit is in package.mask
202
203 DEPEND="sys-libs/readline
204 sys-libs/ncurses
205 >=dev-libs/libxml2-2.5
206 >=net-libs/gnutls-1.0.25
207 dev-lang/python
208 sys-fs/sysfsutils
209 net-misc/bridge-utils
210 net-analyzer/netcat
211 avahi? ( >=net-dns/avahi-0.6 )
212 iscsi? ( sys-block/open-iscsi )
213 kvm? ( app-emulation/kvm )
214 lvm? ( sys-fs/lvm2 )
215 openvz? ( sys-kernel/openvz-sources )
216 parted? ( >=sys-apps/parted-1.8 )
217 qemu? ( app-emulation/qemu )
218 sasl? ( dev-libs/cyrus-sasl )
219 selinux? ( sys-libs/libselinux )
220 server? ( net-dns/dnsmasq )
221 xen? ( app-emulation/xen-tools app-emulation/xen )
222 "
223 #policykit? ( >=sys-auth/policykit-0.6 )
224
225 src_unpack() {
226 unpack ${A}
227 cd "${S}"
228 epatch "${FILESDIR}"/"${P}"-kvm-cdrom-fix.patch
229
230 # app-emulation/kvm renames its binaries with kvm-* prefixes, deal with it
231 # in a sane manner for libvirt but use qemu-img if the useflag is set
232 if use kvm && ! use qemu ; then
233 epatch "${FILESDIR}"/"${P}"-binary-paths.patch
234 epatch "${FILESDIR}"/"${P}"-capabilities-kvm-path.patch
235 fi
236
237 epatch "${FILESDIR}"/"${PN}"-0.4.6-parallel-build-fix.patch
238 eautoreconf
239 }
240
241 pkg_setup() {
242 if ! use qemu && ! use xen && ! use openvz && ! use kvm ; then
243 local msg="You must enable one of these USE flags: qemu xen openvz kvm"
244 eerror "$msg"
245 die "$msg"
246 fi
247 }
248
249 src_compile() {
250 local my_conf=""
251 if use qemu || use kvm ; then
252 my_conf="--with-qemu \
253 $(use_with !qemu qemu-img-name kvm-img)"
254 else
255 my_conf="--without-qemu"
256 fi
257
258 econf \
259 $(use_with avahi) \
260 $(use_with iscsi storage-iscsi) \
261 $(use_with kvm qemu-kvm-path /usr/bin/kvm) \
262 $(use_with lvm storage-lvm) \
263 $(use_with openvz) \
264 $(use_with parted storage-disk) \
265 $(use_with sasl) \
266 $(use_with selinux) \
267 $(use_with server libvirtd) \
268 $(use_with xen) \
269 ${my_conf} \
270 --with-remote \
271 --disable-iptables-lokkit \
272 --with-remote-pid-file=/var/run/libvirtd.pid \
273 || die "econf failed"
274 #$(use_with policykit) \
275 emake || die "emake failed"
276 }
277
278 src_install() {
279 emake DESTDIR="${D}" install || die
280 mv "${D}"/usr/share/doc/{${PN}-python*,${P}/python}
281 if use server ; then
282 newinitd "${FILESDIR}"/libvirtd.init libvirtd
283 newconfd "${FILESDIR}"/libvirtd.confd libvirtd
284 fi
285 }