summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-05-15 10:13:12 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-05-15 10:13:12 +0000
commit7b5c9cb5a31c32b3877afbc17552241ed589cb25 (patch)
treec7b87748290d61e6003f24dd6f1bd1dc5b60c37b /app-emulation/libvirt
parentAdd app-emulation/libvirt:{iscsi,lvm,openvz,parted}. (diff)
downloadgentoo-2-7b5c9cb5a31c32b3877afbc17552241ed589cb25.tar.gz
gentoo-2-7b5c9cb5a31c32b3877afbc17552241ed589cb25.tar.bz2
gentoo-2-7b5c9cb5a31c32b3877afbc17552241ed589cb25.zip
(#208470, #212812, #211959, #212820) Bump. Adds all kinds of new USE flags, including OpenVZ.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r--app-emulation/libvirt/ChangeLog11
-rw-r--r--app-emulation/libvirt/libvirt-0.4.2.ebuild60
2 files changed, 69 insertions, 2 deletions
diff --git a/app-emulation/libvirt/ChangeLog b/app-emulation/libvirt/ChangeLog
index c9ce7aa6caaa..f436ae0e7784 100644
--- a/app-emulation/libvirt/ChangeLog
+++ b/app-emulation/libvirt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/libvirt
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.9 2007/10/15 11:18:11 dberkholz Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.10 2008/05/15 10:13:12 dberkholz Exp $
+
+*libvirt-0.4.2 (15 May 2008)
+
+ 15 May 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ +libvirt-0.4.2.ebuild:
+ (#208470, #212812, #211959, #212820) Bump. Adds all kinds of new USE
+ flags, including OpenVZ.
15 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; libvirt-0.1.3.ebuild,
libvirt-0.1.4.ebuild, libvirt-0.2.3.ebuild, libvirt-0.3.3.ebuild:
diff --git a/app-emulation/libvirt/libvirt-0.4.2.ebuild b/app-emulation/libvirt/libvirt-0.4.2.ebuild
new file mode 100644
index 000000000000..20b1c58fdf95
--- /dev/null
+++ b/app-emulation/libvirt/libvirt-0.4.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.4.2.ebuild,v 1.1 2008/05/15 10:13:12 dberkholz Exp $
+
+DESCRIPTION="C toolkit to manipulate virtual machines"
+HOMEPAGE="http://www.libvirt.org/"
+SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="avahi iscsi lvm openvz parted qemu sasl selinux xen" #policykit is in package.mask
+
+DEPEND="sys-libs/readline
+ sys-libs/ncurses
+ >=dev-libs/libxml2-2.5
+ >=net-libs/gnutls-1.0.25
+ dev-lang/python
+ sys-fs/sysfsutils
+ avahi? ( >=net-dns/avahi-0.6 )
+ iscsi? ( sys-block/open-iscsi )
+ lvm? ( sys-fs/lvm2 )
+ openvz? ( sys-kernel/openvz-sources )
+ parted? ( >=sys-apps/parted-1.8 )
+ qemu? ( app-emulation/qemu )
+ sasl? ( dev-libs/cyrus-sasl )
+ selinux? ( sys-libs/libselinux )
+ xen? ( app-emulation/xen-tools app-emulation/xen )
+ "
+ #policykit? ( >=sys-auth/policykit-0.6 )
+
+pkg_setup() {
+ if ! use qemu && ! use xen && ! use openvz; then
+ local msg="You must enable one of these USE flags: qemu xen openvz"
+ eerror "$msg"
+ die "$msg"
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_with avahi) \
+ $(use_with iscsi storage-iscsi) \
+ $(use_with lvm storage-lvm) \
+ $(use_with openvz) \
+ $(use_with parted storage-disk) \
+ $(use_with qemu) \
+ $(use_with sasl) \
+ $(use_with selinux) \
+ $(use_with xen) \
+ --disable-iptables-lokkit \
+ || die "econf failed"
+ #$(use_with policykit) \
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ mv "${D}"/usr/share/doc/{${PN}-python*,${P}/python}
+}