summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2013-03-06 16:28:03 +0000
committerDoug Goldstein <cardoe@gentoo.org>2013-03-06 16:28:03 +0000
commit55b1799f7138729290736a2a3c483f04b5e5c574 (patch)
tree63632f00a778da6f893c3520a77202c61925a8b1 /app-emulation/libvirt
parentversion bump (diff)
downloadgentoo-2-55b1799f7138729290736a2a3c483f04b5e5c574.tar.gz
gentoo-2-55b1799f7138729290736a2a3c483f04b5e5c574.tar.bz2
gentoo-2-55b1799f7138729290736a2a3c483f04b5e5c574.zip
Add USE=fuse for LXC containers.
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r--app-emulation/libvirt/ChangeLog6
-rw-r--r--app-emulation/libvirt/libvirt-1.0.3.ebuild7
-rw-r--r--app-emulation/libvirt/metadata.xml2
3 files changed, 12 insertions, 3 deletions
diff --git a/app-emulation/libvirt/ChangeLog b/app-emulation/libvirt/ChangeLog
index bb6a53006e16..004b9a17f2e1 100644
--- a/app-emulation/libvirt/ChangeLog
+++ b/app-emulation/libvirt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/libvirt
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.252 2013/03/05 14:20:39 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.253 2013/03/06 16:28:03 cardoe Exp $
+
+ 06 Mar 2013; Doug Goldstein <cardoe@gentoo.org> libvirt-1.0.3.ebuild,
+ metadata.xml:
+ Add USE=fuse for LXC containers.
*libvirt-1.0.3 (05 Mar 2013)
diff --git a/app-emulation/libvirt/libvirt-1.0.3.ebuild b/app-emulation/libvirt/libvirt-1.0.3.ebuild
index 562ae47f336a..5873d6e1ea90 100644
--- a/app-emulation/libvirt/libvirt-1.0.3.ebuild
+++ b/app-emulation/libvirt/libvirt-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.3.ebuild,v 1.1 2013/03/05 14:20:39 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.3.ebuild,v 1.2 2013/03/06 16:28:03 cardoe Exp $
EAPI=5
@@ -34,7 +34,7 @@ DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \
+IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
@@ -69,6 +69,7 @@ RDEPEND="sys-libs/readline
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
+ fuse? ( >=sys-fs/fuse-2.8.6 )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
@@ -164,6 +165,7 @@ pkg_setup() {
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
+ use fuse && CONFIG_CHECK+=" ~FUSE_FS"
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
@@ -253,6 +255,7 @@ src_configure() {
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
+ myconf="${myconf} $(use_with fuse)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
diff --git a/app-emulation/libvirt/metadata.xml b/app-emulation/libvirt/metadata.xml
index 7c867854ff16..3c639c77ed3c 100644
--- a/app-emulation/libvirt/metadata.xml
+++ b/app-emulation/libvirt/metadata.xml
@@ -53,6 +53,8 @@
<!-- Miscellaneous flags -->
<flag name='audit'>support <pkg>sys-process/audit</pkg></flag>
+ <flag name='fuse'>Allow LXC to use <pkg>sys-fs/fuse</pkg> for mount
+ points</flag>
<flag name='numa'>
Use NUMA for memory segmenting via <pkg>sys-process/numactl</pkg> and
<pkg>sys-process/numad</pkg>