diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2009-04-28 01:45:38 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2009-04-28 01:45:38 +0000 |
commit | ec5cb2ffd83c263f62005daf169751effd0b6f2f (patch) | |
tree | 70772f560b3e936624194b671cc10e4dd50851c9 /app-emulation/kvm-kmod | |
parent | MY_P no longer needs to be defined since it's done in the eclass - just have ... (diff) | |
download | historical-ec5cb2ffd83c263f62005daf169751effd0b6f2f.tar.gz historical-ec5cb2ffd83c263f62005daf169751effd0b6f2f.tar.bz2 historical-ec5cb2ffd83c263f62005daf169751effd0b6f2f.zip |
New kvm-kmod split from kvm
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/kvm-kmod')
-rw-r--r-- | app-emulation/kvm-kmod/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/kvm-kmod/Manifest | 14 | ||||
-rw-r--r-- | app-emulation/kvm-kmod/kvm-kmod-85.ebuild | 68 | ||||
-rw-r--r-- | app-emulation/kvm-kmod/metadata.xml | 19 |
4 files changed, 111 insertions, 0 deletions
diff --git a/app-emulation/kvm-kmod/ChangeLog b/app-emulation/kvm-kmod/ChangeLog new file mode 100644 index 000000000000..ce8cc5aebb70 --- /dev/null +++ b/app-emulation/kvm-kmod/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emulation/kvm-kmod +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.1 2009/04/28 01:45:38 dang Exp $ + +*kvm-kmod-85 (28 Apr 2009) + + 28 Apr 2009; Daniel Gryniewicz <dang@gentoo.org> +metadata.xml, + +kvm-kmod-85.ebuild: + New kvm modules package; upstream split them up + diff --git a/app-emulation/kvm-kmod/Manifest b/app-emulation/kvm-kmod/Manifest new file mode 100644 index 000000000000..51864c668d87 --- /dev/null +++ b/app-emulation/kvm-kmod/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST kvm-kmod-devel-85.tar.gz 302874 RMD160 c765e406a63578f0c6e2c8fedb47ab1b3f4cd033 SHA1 ff5ac54eb6865d5d0287c687def8049e527eadf3 SHA256 2260cb6c759a21024b2407807f7c3c9fb1b312d68f0a65b0316865edb4e12bd7 +EBUILD kvm-kmod-85.ebuild 1641 RMD160 e58f0a3b11b515bd0dce82affe3d4976488e2286 SHA1 d3c3935e707584812c84ad64049a1dfe20b30e7f SHA256 d376c87eede71eb2899c3657ac9827a47aa6236b901fd2d35c665c49c4abf88f +MISC ChangeLog 383 RMD160 dfd97b1765f3979fe55bdbcef8dfe9c8d811e828 SHA1 8dc58e0e4413238415f34be6a6dde9a8da2c0e8a SHA256 8b32d47be4dafe06af5620269c7449e8d7811d0f0f28b69ef1887735c60299ae +MISC metadata.xml 607 RMD160 dbdf8770baf998542d7a1d8ca972862822614f87 SHA1 e8238d0ae4b04c26a2342883bc06ebfcedeb004f SHA256 2d16aaf235783c63debd819354ae8f4361dc19b54f07351ba1757fbb2169f443 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iD8DBQFJ9l/domPajV0RnrERAoRrAJ90CtOKGhErdFgzPj8jZ+GiGbdajACfe7eH +H3pOwDwwfHXYxrJgE2tOJ8U= +=m1QA +-----END PGP SIGNATURE----- diff --git a/app-emulation/kvm-kmod/kvm-kmod-85.ebuild b/app-emulation/kvm-kmod/kvm-kmod-85.ebuild new file mode 100644 index 000000000000..2956e48f82cc --- /dev/null +++ b/app-emulation/kvm-kmod/kvm-kmod-85.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-85.ebuild,v 1.1 2009/04/28 01:45:38 dang Exp $ + +EAPI="2" + +inherit eutils linux-mod + +MY_PN="${PN}-devel" +MY_P="${MY_PN}-${PV}" + +# Patchset git repo is at http://github.com/dang/kvm-patches/tree/master +PATCHSET="kvm-patches-20090218" +SRC_URI="mirror://sourceforge/kvm/${MY_P}.tar.gz" + +DESCRIPTION="Kernel-based Virtual Machine kernel modules" +HOMEPAGE="http://www.linux-kvm.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="test" + +RDEPEND="" +DEPEND="${RDEPEND} + !<app-emulation/kvm-85" + +S="${WORKDIR}/${MY_P}" +pkg_setup() { + linux-info_pkg_setup + if ! linux_chkconfig_present KVM; then + eerror "KVM now needs CONFIG_KVM built into your kernel, even" + eerror "if you're using the external modules from this package." + eerror "Please enable KVM support in your kernel, found at:" + eerror + eerror " Virtualization" + eerror " Kernel-based Virtual Machine (KVM) support" + eerror + die "KVM support not detected!" + fi + BUILD_TARGETS="all" + MODULE_NAMES="kvm(kvm:${S}:${S}/x86)" + MODULE_NAMES="${MODULE_NAMES} kvm-intel(kvm:${S}:${S}/x86)" + MODULE_NAMES="${MODULE_NAMES} kvm-amd(kvm:${S}:${S}/x86)" + linux-mod_pkg_setup +} + +src_configure() { + local conf_opts + + conf_opts="--kerneldir=$KV_DIR" + + if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then + conf_opts="$conf_opts --arch=x86" + fi + + ./configure ${conf_opts} || die "configure failed" +} + +src_compile() { + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install +} + diff --git a/app-emulation/kvm-kmod/metadata.xml b/app-emulation/kvm-kmod/metadata.xml new file mode 100644 index 000000000000..bc45e90dc0a0 --- /dev/null +++ b/app-emulation/kvm-kmod/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>none</herd> + <maintainer> + <email>dang@gentoo.org</email> + <name>Daniel Gryniewicz</name> + </maintainer> + <maintainer> + <email>cardoe@gentoo.org</email> + <name>Doug Goldstein</name> + </maintainer> + <longdescription lang="en"> + KVM (for Kernel-based Virtual Machine) is a full virtualization solution + for Linux on x86 hardware containing virtualization extensions (Intel VT + or AMD-V). This package contains kernel modules for kvm. + </longdescription> +</pkgmetadata> + |