Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Micheal Marineau (marineam)" <marineam@g.o>
Subject: gentoo-x86 commit in app-emulation/libvirt: libvirt-0.4.6-r1.ebuild libvirt-0.5.1.ebuild ChangeLog metadata.xml libvirt-0.4.6.ebuild libvirt-0.4.4-r2.ebuild
Date: Fri, 09 Jan 2009 04:31:31 +0000
marineam    09/01/09 04:31:31

  Modified:             ChangeLog metadata.xml
  Added:                libvirt-0.4.6-r1.ebuild libvirt-0.5.1.ebuild
  Removed:              libvirt-0.4.6.ebuild libvirt-0.4.4-r2.ebuild
  Log:
  Bump libvirt to 0.5.1 and fix CVE-2008-5086
  (Portage version: 2.1.6.4/cvs/Linux 2.6.28-00001-g607f448 x86_64)

Revision  Changes    Path
1.19                 app-emulation/libvirt/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?r1=1.18&r2=1.19

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog	23 Nov 2008 22:54:37 -0000	1.18
+++ ChangeLog	9 Jan 2009 04:31:31 -0000	1.19
@@ -1,6 +1,17 @@
 # ChangeLog for app-emulation/libvirt
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.18 2008/11/23 22:54:37 marineam Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.19 2009/01/09 04:31:31 marineam Exp $
+
+*libvirt-0.5.1 (09 Jan 2009)
+*libvirt-0.4.6-r1 (09 Jan 2009)
+
+  09 Jan 2009; Michael Marineau <marineam@g.o>
+  +files/libvirt-0.4.6-add-missing-permission-checks.patch,
+  +files/libvirt-0.5.1-add-missing-permission-checks.patch,
+  +files/libvirt-0.5.1-libgnu-reposition.patch, -libvirt-0.4.4-r2.ebuild,
+  -libvirt-0.4.6.ebuild, +libvirt-0.4.6-r1.ebuild, +libvirt-0.5.1.ebuild:
+  Fix security bypass (CVE-2008-5086), resolves bug #252205
+  Bump to 0.5.1, resolves bug #249102
 
   23 Nov 2008; Michael Marineau <marineam@g.o>
   libvirt-0.4.4-r2.ebuild, libvirt-0.4.6.ebuild:



1.9                  app-emulation/libvirt/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/metadata.xml?r1=1.8&r2=1.9

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/metadata.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- metadata.xml	5 Jan 2009 03:40:32 -0000	1.8
+++ metadata.xml	9 Jan 2009 04:31:31 -0000	1.9
@@ -21,10 +21,13 @@
 			virtual machines</flag>
 		<flag name='lvm'>Add support for the Logical Volume Manager
 			<pkg>sys-apps/lvm2</pkg></flag>
+		<flag name='lxc'>Add support for the Linux Containers</flag>
 		<flag name='openvz'>Add support for <pkg>sys-kernel/openvz-sources</pkg>
 			OpenVZ-based virtual machines</flag>
 		<flag name='parted'>Add support for the <pkg>sys-apps/parted</pkg>
 			partition editor</flag>
+		<flag name='uml'>Add support for User Mode Linux based virtual
+			machines</flag>
 		<flag name='qemu'>Add support for <pkg>app-emulation/qemu</pkg> based
 			virtual machines</flag>
 		<flag name='xen'>Add support for <pkg>app-emulation/xen</pkg> based



1.1                  app-emulation/libvirt/libvirt-0.4.6-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6-r1.ebuild?rev=1.1&content-type=text/plain

Index: libvirt-0.4.6-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.4.6-r1.ebuild,v 1.1 2009/01/09 04:31:31 marineam Exp $

inherit eutils autotools

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 kvm 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
	net-misc/bridge-utils
	net-analyzer/netcat
	net-dns/dnsmasq
	avahi? ( >=net-dns/avahi-0.6 )
	iscsi? ( sys-block/open-iscsi )
	kvm? ( app-emulation/kvm )
	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 )

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/"${P}"-qemu-img-name.patch
	epatch "${FILESDIR}"/"${P}"-parallel-build-fix.patch
	epatch "${FILESDIR}"/"${P}"-add-missing-permission-checks.patch
	eautoreconf
}

pkg_setup() {
	if ! use qemu && ! use xen && ! use openvz && ! use kvm ; then
		local msg="You must enable one of these USE flags: qemu xen openvz kvm"
		eerror "$msg"
		die "$msg"
	fi
}

src_compile() {
	local my_conf=""
	if use qemu || use kvm ; then
		# fix path for kvm-img but use qemu-img if the useflag is set
		my_conf="--with-qemu \
			$(use_with !qemu qemu-img-name kvm-img)"
	else
		my_conf="--without-qemu"
	fi

	econf \
		$(use_with avahi) \
		$(use_with iscsi storage-iscsi) \
		$(use_with lvm storage-lvm) \
		$(use_with openvz) \
		$(use_with parted storage-disk) \
		$(use_with sasl) \
		$(use_with selinux) \
		$(use_with xen) \
		${my_conf} \
		--with-remote \
		--disable-iptables-lokkit \
		--localstatedir=/var \
		--with-remote-pid-file=/var/run/libvirtd.pid \
		|| 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}
	newinitd "${FILESDIR}"/libvirtd.init libvirtd
	newconfd "${FILESDIR}"/libvirtd.confd libvirtd
}



1.1                  app-emulation/libvirt/libvirt-0.5.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.5.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.5.1.ebuild?rev=1.1&content-type=text/plain

Index: libvirt-0.5.1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.5.1.ebuild,v 1.1 2009/01/09 04:31:31 marineam Exp $

inherit eutils autotools

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 lxc hal kvm openvz parted qemu sasl selinux uml xen"
# policykit is in package.mask
# devicekit isn't in portage

DEPEND="sys-libs/readline
	sys-libs/ncurses
	>=dev-libs/libxml2-2.5
	>=net-libs/gnutls-1.0.25
	dev-lang/python
	sys-fs/sysfsutils
	net-misc/bridge-utils
	net-analyzer/netcat
	net-dns/dnsmasq
	avahi? ( >=net-dns/avahi-0.6 )
	iscsi? ( sys-block/open-iscsi )
	kvm? ( app-emulation/kvm )
	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 )

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/"${PN}"-0.4.6-qemu-img-name.patch
	epatch "${FILESDIR}"/"${PN}"-0.4.6-parallel-build-fix.patch
	epatch "${FILESDIR}"/"${P}"-libgnu-reposition.patch
	epatch "${FILESDIR}"/"${P}"-add-missing-permission-checks.patch
	eautoreconf
}

pkg_setup() {
	local hasbackend=0
	local backends="lxc kvm openvz qemu uml xen"
	local backend

	for backend in $backends ; do
		use $backend && hasbackend=1
	done

	if [ "$hasbackend" == 0 ]; then
		local msg="You must enable one of these USE flags: $backends"
		eerror "$msg"
		die "$msg"
	fi
}

src_compile() {
	local my_conf=""
	if use qemu || use kvm ; then
		# fix path for kvm-img but use qemu-img if the useflag is set
		my_conf="--with-qemu \
			$(use_with !qemu qemu-img-name kvm-img)"
	else
		my_conf="--without-qemu"
	fi

	econf \
		$(use_with avahi) \
		$(use_with iscsi storage-iscsi) \
		$(use_with lvm storage-lvm) \
		$(use_with lxc) \
		$(use_with hal) \
		$(use_with openvz) \
		$(use_with parted storage-disk) \
		$(use_with sasl) \
		$(use_with selinux) \
		$(use_with uml) \
		$(use_with xen) \
		${my_conf} \
		--without-devkit \
		--without-polkit \
		--with-remote \
		--disable-iptables-lokkit \
		--localstatedir=/var \
		--with-remote-pid-file=/var/run/libvirtd.pid \
		|| 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}
	newinitd "${FILESDIR}"/libvirtd.init libvirtd
	newconfd "${FILESDIR}"/libvirtd.confd libvirtd
}

pkg_postinst() {
	elog "To allow normal users to connect to libvirtd you must change the"
	elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoolkit r537 - in trunk: . src/gentoolkit
Next by thread:
gentoo-x86 commit in app-emulation/libvirt/files: libvirt-0.5.1-libgnu-reposition.patch libvirt-0.4.6-add-missing-permission-checks.patch libvirt-0.5.1-add-missing-permission-checks.patch
Previous by date:
gentoo-x86 commit in profiles: ChangeLog use.local.desc
Next by date:
gentoo-x86 commit in app-emulation/libvirt/files: libvirt-0.5.1-libgnu-reposition.patch libvirt-0.4.6-add-missing-permission-checks.patch libvirt-0.5.1-add-missing-permission-checks.patch


Updated May 31, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.