1 |
cardoe 09/05/28 16:27:25 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: libvirt-0.6.3-r2.ebuild |
5 |
Log: |
6 |
Support NUMA segmentation. Fix VirtualBox depend. Require QEMU 0.10.0 and higher for additional QEMU feature support. Several fixes from upstream. |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.25 app-emulation/libvirt/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.25&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.25&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?r1=1.24&r2=1.25 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v |
19 |
retrieving revision 1.24 |
20 |
retrieving revision 1.25 |
21 |
diff -u -r1.24 -r1.25 |
22 |
--- ChangeLog 27 May 2009 22:34:30 -0000 1.24 |
23 |
+++ ChangeLog 28 May 2009 16:27:25 -0000 1.25 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for app-emulation/libvirt |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.24 2009/05/27 22:34:30 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.25 2009/05/28 16:27:25 cardoe Exp $ |
29 |
+ |
30 |
+*libvirt-0.6.3-r2 (28 May 2009) |
31 |
+ |
32 |
+ 28 May 2009; Doug Goldstein <cardoe@g.o> |
33 |
+ +files/libvirt-0.6.2-enable-qemu-0-10-migration.patch, |
34 |
+ +files/libvirt-0.6.2-fix-nosource-label.patch, |
35 |
+ +files/libvirt-0.6.2-shared-readonly-label.patch, |
36 |
+ +libvirt-0.6.3-r2.ebuild, +files/libvirt-0.6.3-hostdev-managed.patch, |
37 |
+ +files/libvirt-0.6.3-refresh-qemu-caps.patch, metadata.xml: |
38 |
+ Support NUMA segmentation. Fix VirtualBox depend. Require QEMU 0.10.0 and |
39 |
+ higher for additional QEMU feature support. Several fixes from upstream. |
40 |
|
41 |
*libvirt-0.6.3-r1 (27 May 2009) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.13 app-emulation/libvirt/metadata.xml |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.13&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.13&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?r1=1.12&r2=1.13 |
51 |
|
52 |
Index: metadata.xml |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/metadata.xml,v |
55 |
retrieving revision 1.12 |
56 |
retrieving revision 1.13 |
57 |
diff -u -r1.12 -r1.13 |
58 |
--- metadata.xml 27 May 2009 22:34:30 -0000 1.12 |
59 |
+++ metadata.xml 28 May 2009 16:27:25 -0000 1.13 |
60 |
@@ -31,5 +31,7 @@ |
61 |
<flag name='network'>Enable networking support for guests</flag> |
62 |
<flag name='virtualbox'>Adds support for VirtualBox based virtual |
63 |
machines</flag> |
64 |
+ <flag name='numa'>Use NUMA for memory segmenting via |
65 |
+ <pkg>sys-process/numactl</pkg></flag> |
66 |
</use> |
67 |
</pkgmetadata> |
68 |
|
69 |
|
70 |
|
71 |
1.1 app-emulation/libvirt/libvirt-0.6.3-r2.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.6.3-r2.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.6.3-r2.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: libvirt-0.6.3-r2.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2009 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.6.3-r2.ebuild,v 1.1 2009/05/28 16:27:25 cardoe Exp $ |
81 |
|
82 |
EAPI="2" |
83 |
|
84 |
inherit eutils autotools confutils |
85 |
|
86 |
DESCRIPTION="C toolkit to manipulate virtual machines" |
87 |
HOMEPAGE="http://www.libvirt.org/" |
88 |
SRC_URI="http://libvirt.org/sources/${P}.tar.gz" |
89 |
LICENSE="LGPL-2.1" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="avahi iscsi hal kvm lvm +lxc +network nls numa openvz policykit \ |
93 |
parted qemu sasl selinux uml virtualbox xen" |
94 |
# devicekit isn't in portage |
95 |
|
96 |
RDEPEND="sys-libs/readline |
97 |
sys-libs/ncurses |
98 |
>=dev-libs/libxml2-2.5 |
99 |
>=net-libs/gnutls-1.0.25 |
100 |
dev-lang/python |
101 |
sys-fs/sysfsutils |
102 |
net-analyzer/netcat |
103 |
avahi? ( >=net-dns/avahi-0.6 ) |
104 |
iscsi? ( sys-block/open-iscsi ) |
105 |
kvm? ( app-emulation/kvm ) |
106 |
lvm? ( sys-fs/lvm2 ) |
107 |
network? ( net-misc/bridge-utils net-dns/dnsmasq net-firewall/iptables ) |
108 |
numa? ( sys-process/numactl ) |
109 |
openvz? ( sys-kernel/openvz-sources ) |
110 |
parted? ( >=sys-apps/parted-1.8 ) |
111 |
policykit? ( >=sys-auth/policykit-0.6 ) |
112 |
qemu? ( >=app-emulation/qemu-0.10.0 ) |
113 |
sasl? ( dev-libs/cyrus-sasl ) |
114 |
selinux? ( sys-libs/libselinux ) |
115 |
virtualbox? ( >=app-emulation/virtualbox-bin-2.2.0 ) |
116 |
xen? ( app-emulation/xen-tools app-emulation/xen )" |
117 |
DEPEND="${RDEPEND} |
118 |
dev-util/pkgconfig" |
119 |
|
120 |
src_prepare() { |
121 |
# Fix argv handling for KVM 85 and newer |
122 |
epatch "${FILESDIR}/${P}-kvm-85-argv-detection.patch" |
123 |
# Patch sent upstream for working with kvm-img |
124 |
epatch "${FILESDIR}/${P}-kvm-img.patch" |
125 |
# upstream patch. fix shared/read-only disk labeling |
126 |
epatch "${FILESDIR}/${PN}-0.6.2-shared-readonly-label.patch" |
127 |
# upstream patch. fix <hostdev managed='yes'> |
128 |
epatch "${FILESDIR}/${P}-hostdev-managed.patch" |
129 |
# upstream patch. refresh qemu caps when getCapabilities is called |
130 |
epatch "${FILESDIR}/${P}-refresh-qemu-caps.patch" |
131 |
# upstream patch. enable migration support which appeared in QEMU 0.10.0 |
132 |
epatch "${FILESDIR}/${PN}-0.6.2-enable-qemu-0-10-migration.patch" |
133 |
# upstream patch. don't try to label a disk with no path (empty cdrom) |
134 |
epatch "${FILESDIR}/${PN}-0.6.2-fix-nosource-label.patch" |
135 |
|
136 |
eautoreconf |
137 |
} |
138 |
|
139 |
pkg_setup() { |
140 |
confutils_require_any lxc kvm openvz qemu uml virtualbox xen |
141 |
} |
142 |
|
143 |
src_configure() { |
144 |
local my_conf="" |
145 |
if use qemu || use kvm ; then |
146 |
my_conf="--with-qemu" |
147 |
else |
148 |
my_conf="--without-qemu" |
149 |
fi |
150 |
|
151 |
econf \ |
152 |
$(use_with iscsi storage-iscsi) \ |
153 |
$(use_with lvm storage-lvm) \ |
154 |
$(use_with parted storage-disk) \ |
155 |
$(use_with lxc) \ |
156 |
$(use_with openvz) \ |
157 |
$(use_with uml) \ |
158 |
$(use_with virtualbox vbox) \ |
159 |
$(use_with xen) \ |
160 |
$(use_with xen xen-inotify) \ |
161 |
$(use_with avahi) \ |
162 |
$(use_with hal) \ |
163 |
$(use_with sasl) \ |
164 |
$(use_with network) \ |
165 |
$(use_with policykit polkit) \ |
166 |
$(use_with selinux) \ |
167 |
$(use_enable nls) \ |
168 |
$(use_with numa numactl) \ |
169 |
${my_conf} \ |
170 |
--without-devkit \ |
171 |
--with-remote \ |
172 |
--disable-iptables-lokkit \ |
173 |
--localstatedir=/var \ |
174 |
--with-remote-pid-file=/var/run/libvirtd.pid |
175 |
} |
176 |
|
177 |
src_install() { |
178 |
emake DESTDIR="${D}" install || die "emake instal lfailed" |
179 |
mv "${D}"/usr/share/doc/{${PN}-python*,${P}/python} |
180 |
|
181 |
newinitd "${FILESDIR}/libvirtd.init" libvirtd |
182 |
newconfd "${FILESDIR}/libvirtd.confd" libvirtd |
183 |
|
184 |
keepdir /var/lib/libvirt/images |
185 |
} |
186 |
|
187 |
pkg_postinst() { |
188 |
elog "To allow normal users to connect to libvirtd you must change the" |
189 |
elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf" |
190 |
elog |
191 |
ewarn "If you have a DNS server setup on your machine, you will have" |
192 |
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: " |
193 |
ewarn " bind-interfaces" |
194 |
ewarn " interface or except-interface" |
195 |
elog |
196 |
ewarn "Otherwise you might have issues with your existing DNS server." |
197 |
} |