summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-04-18 23:04:07 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-04-18 23:04:07 +0000
commitce93c040c53c4fd7ced90de67816dcb35c7c8c70 (patch)
tree7951bb48517048b872c6bb01a3652f8af0cde2dc /app-emulation
parentIt seems like it now also works with firefox-bin, bug 412467 (diff)
downloadhistorical-ce93c040c53c4fd7ced90de67816dcb35c7c8c70.tar.gz
historical-ce93c040c53c4fd7ced90de67816dcb35c7c8c70.tar.bz2
historical-ce93c040c53c4fd7ced90de67816dcb35c7c8c70.zip
Version bump
Package-Manager: portage-2.1.10.56/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/ChangeLog7
-rw-r--r--app-emulation/libvirt/Manifest24
-rw-r--r--app-emulation/libvirt/libvirt-0.9.11.ebuild291
3 files changed, 300 insertions, 22 deletions
diff --git a/app-emulation/libvirt/ChangeLog b/app-emulation/libvirt/ChangeLog
index 140039030b63..7a430b11c813 100644
--- a/app-emulation/libvirt/ChangeLog
+++ b/app-emulation/libvirt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/libvirt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.168 2012/04/13 17:43:45 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.169 2012/04/18 23:04:07 cardoe Exp $
+
+*libvirt-0.9.11 (18 Apr 2012)
+
+ 18 Apr 2012; Doug Goldstein <cardoe@gentoo.org> +libvirt-0.9.11.ebuild:
+ Version bump
13 Apr 2012; Ulrich Müller <ulm@gentoo.org> libvirt-0.9.10-r4.ebuild,
libvirt-9999.ebuild:
diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest
index 9a21038fb79c..5438611e8cc1 100644
--- a/app-emulation/libvirt/Manifest
+++ b/app-emulation/libvirt/Manifest
@@ -1,34 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libvirtd.confd-r2 1749 RMD160 30c662b9a14a3dc635674d0aee6452076da60102 SHA1 ae7a2b801ca0f9f610c015eb0fe06640596ac614 SHA256 93040599a7cb878b54b8b963ef4963e9450bc25e982e390cef3e5b7e8039757c
AUX libvirtd.confd-r3 1757 RMD160 783aa7f62010d9903652483d95f0f3e324bd8b60 SHA1 e64c55b788da2406ad57ce72246250c7ac5a1263 SHA256 60f341dcf33ca8d55b6394ba6cf8e22f5133393e47f827b88cef1243c255f15c
AUX libvirtd.init-r5 3572 RMD160 2899a3bc515856642eb6f0cfe6d0944454271460 SHA1 ea541974fb672621c3d75020bfa8ec4be77066e1 SHA256 6c04449123ebb5d5736e53a81325f66a0db52cc19c7a6c80ba5f599a3687569f
AUX libvirtd.init-r8 3630 RMD160 777010696a9a2a28cc7dea97e0161d04a1d3f019 SHA1 8d6d0b45d0a08e430bac78a8b521b8555f69aeac SHA256 2156b91662bfc9a6c668130c5f562ff79101f0ba579a86b7048d1851e8ef7968
DIST libvirt-0.9.10-bp-1.tar.bz2 4359 RMD160 1b064c56007001f509cd0e940ec337d6281b19bb SHA1 ba11fd52aec15fb80e461a1fbc49c142e58ed3b5 SHA256 038791b47489a831718f98ba9cdf77cff88a6e26003f81a0c2f11581f0bde4a3
DIST libvirt-0.9.10.tar.gz 19085438 RMD160 8f103b176fc7b943a88cf7196709865edc5db5e8 SHA1 cf32d6bea295cb30461901d987f049c9547ff1e8 SHA256 5b81d9f054ee4b395b0ab4f59845d082baaa6d6c2a038c966309156dde16e11d
+DIST libvirt-0.9.11.tar.gz 19519376 RMD160 752bbc5142ed24ea228172d60f248eb26db434ec SHA1 5f4b698801688c19b20cf74d908c4e9b12dcbac9 SHA256 ce98fe435f83e109623a021b1f714fe806c3ab556d0780ce959cf75c98766062
DIST libvirt-0.9.6.tar.gz 17326676 RMD160 5e0837e8ee770e017e574fd002e9e489e448ca65 SHA1 9fd108e1a351d191c5d7f89458096fb35bd6413e SHA256 ce29b1cd3067b224aa834fec2a93d7613c0e72bc035760ad536a2142430bc02b
DIST libvirt-0.9.8.tar.gz 18403525 RMD160 51bfb25dbd11a7cb5529c692d843f8ac2b1c9101 SHA1 09df699513af63b73444d776c2d02945dc9cee43 SHA256 31b20864e44bb18a2d01b7ac6569f114cbe1007689219bf24a07ddb7528abe0e
EBUILD libvirt-0.9.10-r4.ebuild 8669 RMD160 a04e7d277c90ebe455ebc62ab72e08acc8e11ae8 SHA1 67f149e7363fb30eef0eff47d0f425b8ecb464aa SHA256 dce73810d1a16872212033ff6169dcf7b10af3f4b79b5f39de660769c40c422c
+EBUILD libvirt-0.9.11.ebuild 8672 RMD160 bfaa23b182beea885fe608e36bce4136ff0d050c SHA1 dcfe5ea8ce9f3a029c7f16a40c9204c544cff81e SHA256 ec6a5267e7d098f2c1fcfea6426cc87bb94cf68cb7899d2bbdac2ab4b085ea88
EBUILD libvirt-0.9.6.ebuild 7907 RMD160 bf6ee27bc31c83544d172c639b05b59b3279c7dd SHA1 8ab9af963271485e43a656c2286cc431a3a15d09 SHA256 79b46ae24402a19f334fb6bdc02fab634f43c254dff0331c40aecc5b888ca04b
EBUILD libvirt-0.9.8.ebuild 8154 RMD160 d52101e1834d48887c0e80cdcaf5b5ed09d9987f SHA1 6e6d17912fb5cddb42f6d7483547554e6c2ca130 SHA256 0c402fba43b77da77cd84bec8c606fe58b89510ccfda66756e30723b34531061
EBUILD libvirt-9999.ebuild 8667 RMD160 77c25aef11f83b246dbbf28f251fd1a9f62ec6ac SHA1 561eecac18d18872ea1b9b090c2773548f0eddf4 SHA256 9f5c86cc3296d61b0429ad7c7c043a327bbe4d5cc9c6e0be013993fd8ec299ef
-MISC ChangeLog 34281 RMD160 221b49c326b979b13877e38e924a853ad1b1407f SHA1 fde4bff2212580437115486052088be7557c9d18 SHA256 c6fbba863c2bb4452ba2f08092b766113d95a3c6558db658fc9c69511e6d5854
+MISC ChangeLog 34405 RMD160 4691d75b92aa0dc8363d37092c0c6ccd9e4d2f0a SHA1 2cc2ea4100bfeb8d970bc14668e0ab309d843877 SHA256 5427eb3b8a689d9e3d938eca65256ce9cc00d31799c6c24aaff4b62aa504304e
MISC metadata.xml 3132 RMD160 066870c02fd835f9a633b69328367737d4cc0b71 SHA1 940cc910ef4d1a75947afef95d73a3026bb91527 SHA256 e0eb882799f41f51c9930a1142cf5427061bdacf629a028ac4e8b65c1cf67ea4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBAgAGBQJPiGajAAoJEDxpGckxwJCB3z8P/j3rC/sjdpyc2o/+g6sMnJFv
-c7OkpIi9gpU60IiQodXRn+k6jtkjgvHP2Yz1x4RPi6LVarmUCDHGMawY1+jIBz/0
-Wjnzx0ZDV9LbjPFkR5mmyptEsXoKcePq8x7azrNUBnptiv3c2f+1rIK6n5j1CGi8
-EgPN5PlM0dgDffLZNHPuXZnPbjDeBXBag0KKLuObFX5xa5kXti1YRLM0g92Jdt0n
-iEINLbNA11xl5MFSI9WrluQVbSlgDwAKNtW4NzyGYyA12aPaUBAmbhuB6+0ivobw
-C/pJnFUu89VpJKHT0qenq71SX7Y9SqDvC4AyJFIK1G9cNbkzMrH1YkLA+HhuaBre
-Aslla+BOOV5KYPFHCwLCsrOquO1ZDhSRISjx4APa/yloV79DbgWQGfiPaCL4gkS4
-z8aiapMhwHWerWoj8jxfXCgdkT7H4C4pW/HciSyQSQ3VwXJt4Lt+s4WyJkv5dNIw
-x9aoaFjHZGmvTenjTGs68LbymmClPHPKtxXvddckiotoLY0R2xY6IBzh3ti8C6Er
-0DBe1X8kwyj+IKgZGGv88WQmuR/GvR5otuRKTMlAfxm3BAHR8LzL3tk7QhjOZ3K6
-tpNbdInd2ExiHSfPwerqoQiCl94XjgUa+A16T+95cicYZhxL68tDqsxGU2X9lbvo
-Nw90Bd3xQ98XnRM0zMeK
-=X11b
------END PGP SIGNATURE-----
diff --git a/app-emulation/libvirt/libvirt-0.9.11.ebuild b/app-emulation/libvirt/libvirt-0.9.11.ebuild
new file mode 100644
index 000000000000..802603aeb081
--- /dev/null
+++ b/app-emulation/libvirt/libvirt-0.9.11.ebuild
@@ -0,0 +1,291 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.11.ebuild,v 1.1 2012/04/18 23:04:07 cardoe Exp $
+
+EAPI=4
+
+#BACKPORTS=1
+#AUTOTOOLIZE=yes
+
+MY_P="${P/_rc/-rc}"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="git://libvirt.org/libvirt.git"
+ GIT_ECLASS="git-2"
+ AUTOTOOLIZE=yes
+fi
+
+PYTHON_DEPEND="python? 2:2.5"
+#RESTRICT_PYTHON_ABIS="3.*"
+#SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils python ${AUTOTOOLIZE+autotools} ${GIT_ECLASS}
+
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
+ ftp://libvirt.org/libvirt/${MY_P}.tar.gz
+ ${BACKPORTS:+
+ http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.bz2}"
+ KEYWORDS="~amd64 ~x86"
+fi
+S="${WORKDIR}/${P%_rc*}"
+
+DESCRIPTION="C toolkit to manipulate virtual machines"
+HOMEPAGE="http://www.libvirt.org/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="avahi caps debug iscsi +libvirtd lvm +lxc macvtap nfs \
+ nls numa openvz parted pcap phyp policykit python qemu sasl selinux +udev \
+ uml virtualbox virt-network xen elibc_glibc"
+# IUSE=one : bug #293416 & bug #299011
+REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
+ lxc? ( libvirtd ) openvz? ( libvirtd ) qemu? ( libvirtd ) uml? ( libvirtd )
+ virtualbox? ( libvirtd ) xen? ( libvirtd )"
+
+# gettext.sh command is used by the libvirt command wrappers, and it's
+# non-optional, so put it into RDEPEND.
+RDEPEND="sys-libs/readline
+ sys-libs/ncurses
+ >=net-misc/curl-7.18.0
+ >=dev-libs/libxml2-2.7.6
+ >=dev-libs/libnl-1.1:1.1
+ >=net-libs/gnutls-1.0.25
+ sys-apps/dmidecode
+ >=sys-apps/util-linux-2.17
+ sys-devel/gettext
+ >=net-analyzer/netcat6-1.0-r2
+ app-misc/scrub
+ avahi? ( >=net-dns/avahi-0.6[dbus] )
+ caps? ( sys-libs/libcap-ng )
+ iscsi? ( sys-block/open-iscsi )
+ libvirtd? ( net-misc/bridge-utils )
+ lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
+ nfs? ( net-fs/nfs-utils )
+ numa? ( >sys-process/numactl-2.0.2 )
+ openvz? ( sys-kernel/openvz-sources )
+ parted? (
+ >=sys-block/parted-1.8[device-mapper]
+ sys-fs/lvm2
+ )
+ pcap? ( >=net-libs/libpcap-1.0.0 )
+ phyp? ( net-libs/libssh2 )
+ policykit? ( >=sys-auth/polkit-0.9 )
+ qemu? ( || ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
+ dev-libs/yajl )
+ sasl? ( dev-libs/cyrus-sasl )
+ selinux? ( >=sys-libs/libselinux-2.0.85 )
+ virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
+ xen? ( app-emulation/xen-tools app-emulation/xen )
+ udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
+ virt-network? ( net-dns/dnsmasq
+ >=net-firewall/iptables-1.4.10
+ net-firewall/ebtables
+ sys-apps/iproute2[-minimal] )
+ elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
+# one? ( dev-libs/xmlrpc-c )
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ app-text/xhtml1"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ [[ -n ${BACKPORTS} ]] && \
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
+ epatch
+
+ if [[ ${PV} = *9999* ]]; then
+ # git checkouts require bootstrapping to create the configure script.
+ # Additionally the submodules must be cloned to the right locations
+ # bug #377279
+ ./bootstrap || die "bootstrap failed"
+ (
+ git submodule status | sed 's/^[ +-]//;s/ .*//'
+ git hash-object bootstrap.conf
+ ) >.git-module-status
+ fi
+
+ [[ -n ${AUTOTOOLIZE} ]] && eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ myconf="${myconf} $(use_enable debug)"
+
+ ## enable/disable daemon, otherwise client only utils
+ myconf="${myconf} $(use_with libvirtd)"
+
+ ## enable/disable the daemon using avahi to find VMs
+ myconf="${myconf} $(use_with avahi)"
+
+ ## hypervisors on the local host
+ myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
+ # leave it automagic as it depends on the version of xen used.
+ use xen || myconf+=" --without-libxl"
+
+ myconf="${myconf} $(use_with openvz)"
+ myconf="${myconf} $(use_with lxc)"
+ if use virtualbox && has_version app-emulation/virtualbox-ose; then
+ myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
+ else
+ myconf="${myconf} $(use_with virtualbox vbox)"
+ fi
+ myconf="${myconf} $(use_with uml)"
+ myconf="${myconf} $(use_with qemu)"
+ myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
+ # doesn't belong with hypervisors but links to libvirtd for some reason
+ #myconf="${myconf} $(use_with one)"
+
+ ## hypervisor protocols
+ myconf="${myconf} $(use_with phyp)"
+ myconf="${myconf} --with-esx"
+
+ ## additional host drivers
+ myconf="${myconf} $(use_with virt-network network)"
+ myconf="${myconf} --with-storage-fs"
+ myconf="${myconf} $(use_with lvm storage-lvm)"
+ myconf="${myconf} $(use_with iscsi storage-iscsi)"
+ myconf="${myconf} $(use_with parted storage-disk)"
+ myconf="${myconf} $(use_with lvm storage-mpath)"
+ myconf="${myconf} $(use_with numa numactl)"
+ myconf="${myconf} $(use_with selinux)"
+
+ # udev for device support details
+ myconf="${myconf} $(use_with udev)"
+
+ # linux capability support so we don't need privileged accounts
+ myconf="${myconf} $(use_with caps capng)"
+
+ ## auth stuff
+ myconf="${myconf} $(use_with policykit polkit)"
+ myconf="${myconf} $(use_with sasl)"
+
+ # network bits
+ myconf="${myconf} $(use_with macvtap)"
+ myconf="${myconf} $(use_with pcap libpcap)"
+
+ ## other
+ myconf="${myconf} $(use_enable nls)"
+ myconf="${myconf} $(use_with python)"
+
+ ## stuff we don't yet support
+ myconf="${myconf} --without-netcf --without-audit"
+
+ # we use udev over hal
+ myconf="${myconf} --without-hal"
+
+ # locking support
+ myconf="${myconf} --without-sanlock"
+
+ # this is a nasty trick to work around the problem in bug
+ # #275073. The reason why we don't solve this properly is that
+ # it'll require us to rebuild autotools (and we don't really want
+ # to do that right now). The proper solution has been sent
+ # upstream and should hopefully land in 0.7.7, in the mean time,
+ # mime the same functionality with this.
+ case ${CHOST} in
+ *cygwin* | *mingw* )
+ ;;
+ *)
+ ac_cv_prog_WINDRES=no
+ ;;
+ esac
+
+ econf \
+ ${myconf} \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF} \
+ --with-remote \
+ --localstatedir=/var
+
+ if [[ ${PV} = *9999* ]]; then
+ # Restore gnulib's config.sub and config.guess
+ # bug #377279
+ (cd .gnulib && git reset --hard > /dev/null)
+ fi
+}
+
+src_test() {
+ # Explicitly allow parallel build of tests
+ HOME="${T}" emake check || die "tests failed"
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ HTML_DIR=/usr/share/doc/${PF}/html \
+ DOCS_DIR=/usr/share/doc/${PF}/python \
+ EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
+ || die "emake install failed"
+
+ find "${D}" -name '*.la' -delete || die
+
+ use libvirtd || return 0
+ # From here, only libvirtd-related instructions, be warned!
+
+ newinitd "${FILESDIR}/libvirtd.init-r8" libvirtd || die
+ newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
+
+ keepdir /var/lib/libvirt/images
+}
+
+pkg_preinst() {
+ # we only ever want to generate this once
+ if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
+ rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
+ fi
+
+ # We really don't want to use or support old PolicyKit cause it
+ # screws with the new polkit integration
+ if has_version sys-auth/policykit; then
+ rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
+ fi
+
+ # Only sysctl files ending in .conf work
+ mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize libvirt.py
+
+ elog
+ if use policykit && has_version sys-auth/policykit; then
+ elog "You must have run the following at least once:"
+ elog
+ elog "$ polkit-auth --grant org.libvirt.unix.manage --user \"USERNAME\""
+ elog
+ elog "to grant USERNAME access to libvirt when using USE=policykit"
+ else
+ 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"
+ fi
+
+ use libvirtd || return 0
+ # From here, only libvirtd-related instructions, be warned!
+
+ elog
+ elog "For the basic networking support (bridged and routed networks)"
+ elog "you don't need any extra software. For more complex network modes"
+ elog "including but not limited to NATed network, you can enable the"
+ elog "'virt-network' USE flag."
+ elog
+ if has_version net-dns/dnsmasq; then
+ ewarn "If you have a DNS server setup on your machine, you will have"
+ ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
+ ewarn " bind-interfaces"
+ ewarn " interface or except-interface"
+ ewarn
+ ewarn "Otherwise you might have issues with your existing DNS server."
+ fi
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup libvirt.py
+}