summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2009-04-28 01:45:38 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2009-04-28 01:45:38 +0000
commitec5cb2ffd83c263f62005daf169751effd0b6f2f (patch)
tree70772f560b3e936624194b671cc10e4dd50851c9 /app-emulation
parentMY_P no longer needs to be defined since it's done in the eclass - just have ... (diff)
downloadhistorical-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')
-rw-r--r--app-emulation/kvm-kmod/ChangeLog10
-rw-r--r--app-emulation/kvm-kmod/Manifest14
-rw-r--r--app-emulation/kvm-kmod/kvm-kmod-85.ebuild68
-rw-r--r--app-emulation/kvm-kmod/metadata.xml19
-rw-r--r--app-emulation/kvm/Manifest10
5 files changed, 117 insertions, 4 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>
+
diff --git a/app-emulation/kvm/Manifest b/app-emulation/kvm/Manifest
index 9bee8b80850e..577ac34e1a4c 100644
--- a/app-emulation/kvm/Manifest
+++ b/app-emulation/kvm/Manifest
@@ -10,16 +10,18 @@ DIST kvm-patches-20081216.tar.gz 23095 RMD160 f82d44f6eff2e49a59ff391e197f3b2fb8
DIST kvm-patches-20090104.tar.gz 23149 RMD160 1ce67d586a2a93cd7bf3e45161c24daeff9f1314 SHA1 b0013ddf9a2faeb35a519d263ffadaa795cff50d SHA256 384dfbf579aa3adef52e8050e29806cbf0bf6bc36c27dbd08f7584c5c8a2286f
DIST kvm-patches-20090126.tar.gz 22957 RMD160 5769eddc537265e9e095d4d062e167770642a44b SHA1 c120fa3990a58798995ad04eb6a137f2a5678ab2 SHA256 96105571525ca3f6eccdca857893a98989a182e97ee83803cce8948d73299b98
DIST kvm-patches-20090218.tar.gz 4129 RMD160 aaa3a90f722b496f69f5506ce2c5412fc3e740fc SHA1 f7b87872540cc70a29856cb50e7e1bf878df9e30 SHA256 7897c184094af1bb24676eeba0da68ae55488dfda8e02564626b3f76c60a760f
+DIST qemu-kvm-devel-85.tar.gz 4288372 RMD160 f618dd6e3f43b24392f059a5eccc04cb56b894a5 SHA1 8f1816d1510e2f9d41bc686d19652612e9c2a68a SHA256 8050f7312056d43d1fa4a6efabb75cba30e8fb4134d683188646c7b6b37c8a5d
EBUILD kvm-81.ebuild 6987 RMD160 3c6536c037bc6eb73c87227a7513a04e953bf026 SHA1 8462583753fc9622cc7b53dda41a525e3ab29146 SHA256 27607a6ab4b9c482417d7e669a169ba3dfda17dfc7fd0d368b6fc822d646cdea
EBUILD kvm-82.ebuild 6943 RMD160 cb9fbc23b3c3d349004ff20bc435960bddc10ec4 SHA1 f22d1e936c478259bcedf1eb516f1e6050ba08fb SHA256 79ae74786d62e8845a0264db0908e6a9d6e00e43df6cc8209efc330690583292
EBUILD kvm-83.ebuild 7019 RMD160 4789a565463a3202365438a724c127f74c8fd7d6 SHA1 d5a2ef27dd7aa04f8d0a99909251d075f0ef9e3a SHA256 2e6b247aaee72c9e5c1d7632f7348927bdce2e723cfd7c888f70c1febec54393
EBUILD kvm-84.ebuild 7064 RMD160 2c15c4866c504d26aa7117ebdb5a9a9cb7b73f98 SHA1 620204d39a2a7cb1dffe7a46886304418f8f4a3a SHA256 d80adf7abc6ddb0a852ef2b6cacc84fdcb71867d3c7499ebb36993a201a69d3d
-MISC ChangeLog 8203 RMD160 dcad69969ce615c3449b6e12b98e27cb2c7fd2e3 SHA1 b47e2c7ebf053c972b5d6e0f387622563fcb97be SHA256 1c504412e86a355944ce07f4f8a8f7662808e4e6eb51a845823716af69efebbf
+EBUILD kvm-85.ebuild 6505 RMD160 1be3867b54a51a84a9ea2ad9aa8b850d4627eaf1 SHA1 0a2f92048c4e6fc9c3883b58e03f80335895e7a9 SHA256 6e42418a38268a65a15e50135c752d45a44f32f93dc26311e2f3dbfeb9e97957
+MISC ChangeLog 8433 RMD160 f80d4ef992698247af54dabcad3adfca5246be04 SHA1 a7b639c923dfed26ae74c197f75abd2c3c6eafbd SHA256 37271fcb3cde0afeff09573c7478f4b7670f38f3d530e973e79eae2dac8007d4
MISC metadata.xml 1282 RMD160 2c8cc65da23f96cfd73f757000192d4af7b29e9f SHA1 3b84cbafe2190715df0310fe8bde8dc6d483e6df SHA256 af8ea32fd7dedeb7401d4df31016c3e6a4a12d9720577bbb9673d4ae22b3dc54
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iD8DBQFJ5MmhomPajV0RnrERAq/OAJsEfrh7MQS+XG790SkBk7GkIG0vQQCeO0k7
-uASBiDAlCiqRX6CYmG75jRk=
-=h0F1
+iD8DBQFJ9mBSomPajV0RnrERAgFgAJoCFoUN0dr5l85GO2inDfkXGcVINQCeIvhR
+AeW3UmYl8PHVbf6Y53P/IFE=
+=ZqOG
-----END PGP SIGNATURE-----