diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-07-23 17:50:52 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-07-23 17:50:52 +0000 |
commit | 1c0b203bb66a8b2339389066050584a2cd064d9e (patch) | |
tree | 1fa1758459bd2f1b69683c9d66c76d0a654e1c65 | |
parent | Added Zephyrus' cmake-utils.eclass. (diff) | |
download | philantrop-1c0b203bb66a8b2339389066050584a2cd064d9e.tar.gz philantrop-1c0b203bb66a8b2339389066050584a2cd064d9e.tar.bz2 philantrop-1c0b203bb66a8b2339389066050584a2cd064d9e.zip |
Added kvm-33.
svn path=/trunk/; revision=22
-rw-r--r-- | app-emulation/kvm/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/kvm/Manifest | 36 | ||||
-rw-r--r-- | app-emulation/kvm/files/digest-kvm-27 | 1 | ||||
-rw-r--r-- | app-emulation/kvm/files/digest-kvm-28 | 1 | ||||
-rw-r--r-- | app-emulation/kvm/files/digest-kvm-29 | 1 | ||||
-rw-r--r-- | app-emulation/kvm/files/digest-kvm-31 | 1 | ||||
-rw-r--r-- | app-emulation/kvm/files/digest-kvm-33 | 3 | ||||
-rw-r--r-- | app-emulation/kvm/kvm-33.ebuild | 83 |
8 files changed, 121 insertions, 12 deletions
diff --git a/app-emulation/kvm/ChangeLog b/app-emulation/kvm/ChangeLog new file mode 100644 index 0000000..c9b6827 --- /dev/null +++ b/app-emulation/kvm/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for app-emulation/kvm +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 23 Jul 2007; Wulf C. Krueger <philantrop@gentoo.org> +kvm-33.ebuild: + Added kvm-33. + diff --git a/app-emulation/kvm/Manifest b/app-emulation/kvm/Manifest index e707f9b..bb69a90 100644 --- a/app-emulation/kvm/Manifest +++ b/app-emulation/kvm/Manifest @@ -14,6 +14,7 @@ DIST kvm-27.tar.gz 2965582 RMD160 477f032fd7b408b3823e1694d20f11042fbd7be9 SHA1 DIST kvm-28.tar.gz 2357002 RMD160 b63436a261100f212a22fadcb6df14986e66891d SHA1 04f129d574c2c0c851e88e5ccac9afd95b1f9a0c SHA256 1414fce83709e9297e5f3f235edaf10c1dd2a3a08ed083205a2c41cbcd8510af DIST kvm-29.tar.gz 2265896 RMD160 5885afa0db6a59034c699bf939f71e14a4df6b2c SHA1 ed6ec8a78fad520d07b621d62ce7764a4bbe475b SHA256 ca30479f3824c22d6434aac39c3497c67383263ce15dff0e402af9df157ad850 DIST kvm-31.tar.gz 2872227 RMD160 c4ecf444fea67bae5ae23887b0c8aa04ded0b677 SHA1 7069a8f0e3ee925207399cc26053e41383675d82 SHA256 a4f56c7a8750bd518f78d5a53a5426d4af856c21e6fbfcd38a472f33c54a786c +DIST kvm-33.tar.gz 2250014 RMD160 724a87ac61f7b5a1ac8d9f43c700fa55d0fc5d8f SHA1 699e6bcdf52840f7779f4836b3a42549b5a123ec SHA256 b9ed69b2416ec1d7dd0d4d66092eb3f259329771ca3da75e3e0dc101ca83c24c EBUILD kvm-27.ebuild 2171 RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc SHA1 ab20fea2653aa4e06a089f32363fe9ca639eda41 SHA256 86c790582915c211de577c9b82b87129ad7cdafd49ba3307a372007f3d6e9c83 MD5 00f0ddcbdd70ff884ff80872d0748475 kvm-27.ebuild 2171 RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc kvm-27.ebuild 2171 @@ -30,15 +31,26 @@ EBUILD kvm-31.ebuild 2171 RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc SHA1 a MD5 00f0ddcbdd70ff884ff80872d0748475 kvm-31.ebuild 2171 RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc kvm-31.ebuild 2171 SHA256 86c790582915c211de577c9b82b87129ad7cdafd49ba3307a372007f3d6e9c83 kvm-31.ebuild 2171 -MD5 0649bb1e72d169bafccd5dc36484bb1d files/digest-kvm-27 164 -RMD160 191e336e00befee4be10fcb704165d36479ce44e files/digest-kvm-27 164 -SHA256 407c4ce0732f9a5654021b77a325d0451f9db6a95e716c1daef93d077d7deeda files/digest-kvm-27 164 -MD5 06421cbaabd7c3c7e529f3db05ec5d6e files/digest-kvm-28 164 -RMD160 beb452fb42c60813b718812abefc56a21d7982c4 files/digest-kvm-28 164 -SHA256 455cb64123bd7fe46103e1847f36eeff3cd66d30c6741de61fe757a6105c5078 files/digest-kvm-28 164 -MD5 b940f343c3e1fc53e12e1ad3f80f8b48 files/digest-kvm-29 164 -RMD160 0f55f6307e7193cd42b9880539e8ebe0892458a7 files/digest-kvm-29 164 -SHA256 df7dd4350d2e451a5ed66d7ecb65d228626915c42ac7cf77313443b5d3db85c6 files/digest-kvm-29 164 -MD5 570d974b9ed929fdc6f3a34255f1dea3 files/digest-kvm-31 164 -RMD160 531e21e54d8f561c20ff3451481520923f340305 files/digest-kvm-31 164 -SHA256 9f2a2e1480e93bc1856c945eb16f64adbb799a428c2bd97e6ca610f4eb6fa398 files/digest-kvm-31 164 +EBUILD kvm-33.ebuild 2171 RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc SHA1 ab20fea2653aa4e06a089f32363fe9ca639eda41 SHA256 86c790582915c211de577c9b82b87129ad7cdafd49ba3307a372007f3d6e9c83 +MD5 00f0ddcbdd70ff884ff80872d0748475 kvm-33.ebuild 2171 +RMD160 0dc06e97ae84d865a96a0b99c109aba24775d0fc kvm-33.ebuild 2171 +SHA256 86c790582915c211de577c9b82b87129ad7cdafd49ba3307a372007f3d6e9c83 kvm-33.ebuild 2171 +MISC ChangeLog 206 RMD160 567ebb30aa430f43cdb29188ff3ab3b3b0a668c7 SHA1 11c3cd2fcc08340e08824b38de025a0e52c0d322 SHA256 c7dd4dae714cb37e4d101898e98145d424b118844eabb92a682fdd63d15f7d41 +MD5 4290b1d9185886136bfd968e45511c69 ChangeLog 206 +RMD160 567ebb30aa430f43cdb29188ff3ab3b3b0a668c7 ChangeLog 206 +SHA256 c7dd4dae714cb37e4d101898e98145d424b118844eabb92a682fdd63d15f7d41 ChangeLog 206 +MD5 b078cc1000dc16f58acf2ab4a7837e25 files/digest-kvm-27 223 +RMD160 6207d512c5fe5aa84a1f463d1cb78a0e5289ed18 files/digest-kvm-27 223 +SHA256 c5ef23ddb33779c2def79b8919be9fa01db3a30861bfb0213275850f91da6714 files/digest-kvm-27 223 +MD5 a69cef5b552118b3374b677cf1c80469 files/digest-kvm-28 223 +RMD160 265ec5577c142844c624f41d2acaf3efed62f99c files/digest-kvm-28 223 +SHA256 992cbd235d31ac8ea7955465c9122162f8198c68b1194d2b3151fed192d3d3e0 files/digest-kvm-28 223 +MD5 b94b6e88c7e32da5ff59f3a1682e27cf files/digest-kvm-29 223 +RMD160 1b288dca187a8f9316196eb2e5c721bcc21d0eea files/digest-kvm-29 223 +SHA256 35df2981f19c4e5db40a0b4d3b1cbe6f41188dcc65ad12f436b1092e0b7cc14a files/digest-kvm-29 223 +MD5 58b1db9c80e160ed6267a1a10c8e9ad2 files/digest-kvm-31 223 +RMD160 ba131b3396cb59c6d9ab6724081f13a93096df2d files/digest-kvm-31 223 +SHA256 2f232081da9c8de89de490f3116d95f379ca67e517880c21ea6aac35c5e1eac0 files/digest-kvm-31 223 +MD5 369c549663a4318cfe06f2ed0ec0ef5c files/digest-kvm-33 223 +RMD160 5d8a738bdecf4d72f84b28d0b24e795a6102fc13 files/digest-kvm-33 223 +SHA256 3b137942fafc98f059158041b40db37a2cca4c736363e8fd7ef18841299ebfa1 files/digest-kvm-33 223 diff --git a/app-emulation/kvm/files/digest-kvm-27 b/app-emulation/kvm/files/digest-kvm-27 index 274f137..90521c6 100644 --- a/app-emulation/kvm/files/digest-kvm-27 +++ b/app-emulation/kvm/files/digest-kvm-27 @@ -1,2 +1,3 @@ +MD5 1ba05fc3eec2afced62f06c242bb8ddc kvm-27.tar.gz 2965582 RMD160 477f032fd7b408b3823e1694d20f11042fbd7be9 kvm-27.tar.gz 2965582 SHA256 94dc7240f590de54c509cc0ac0720cdab356dc867558e2466149378825f44289 kvm-27.tar.gz 2965582 diff --git a/app-emulation/kvm/files/digest-kvm-28 b/app-emulation/kvm/files/digest-kvm-28 index 4783eaa..6611f3f 100644 --- a/app-emulation/kvm/files/digest-kvm-28 +++ b/app-emulation/kvm/files/digest-kvm-28 @@ -1,2 +1,3 @@ +MD5 0344ca089d2720042a6b23986b8fc81c kvm-28.tar.gz 2357002 RMD160 b63436a261100f212a22fadcb6df14986e66891d kvm-28.tar.gz 2357002 SHA256 1414fce83709e9297e5f3f235edaf10c1dd2a3a08ed083205a2c41cbcd8510af kvm-28.tar.gz 2357002 diff --git a/app-emulation/kvm/files/digest-kvm-29 b/app-emulation/kvm/files/digest-kvm-29 index 5437f07..88f4126 100644 --- a/app-emulation/kvm/files/digest-kvm-29 +++ b/app-emulation/kvm/files/digest-kvm-29 @@ -1,2 +1,3 @@ +MD5 4b80004eecc9c663bdb12bb436cc637c kvm-29.tar.gz 2265896 RMD160 5885afa0db6a59034c699bf939f71e14a4df6b2c kvm-29.tar.gz 2265896 SHA256 ca30479f3824c22d6434aac39c3497c67383263ce15dff0e402af9df157ad850 kvm-29.tar.gz 2265896 diff --git a/app-emulation/kvm/files/digest-kvm-31 b/app-emulation/kvm/files/digest-kvm-31 index 07cf36d..f1d4c53 100644 --- a/app-emulation/kvm/files/digest-kvm-31 +++ b/app-emulation/kvm/files/digest-kvm-31 @@ -1,2 +1,3 @@ +MD5 8927890f62133343c288ea4fa3f5b81f kvm-31.tar.gz 2872227 RMD160 c4ecf444fea67bae5ae23887b0c8aa04ded0b677 kvm-31.tar.gz 2872227 SHA256 a4f56c7a8750bd518f78d5a53a5426d4af856c21e6fbfcd38a472f33c54a786c kvm-31.tar.gz 2872227 diff --git a/app-emulation/kvm/files/digest-kvm-33 b/app-emulation/kvm/files/digest-kvm-33 new file mode 100644 index 0000000..297ab8f --- /dev/null +++ b/app-emulation/kvm/files/digest-kvm-33 @@ -0,0 +1,3 @@ +MD5 aafb33231101cbb6a8533baf781345bd kvm-33.tar.gz 2250014 +RMD160 724a87ac61f7b5a1ac8d9f43c700fa55d0fc5d8f kvm-33.tar.gz 2250014 +SHA256 b9ed69b2416ec1d7dd0d4d66092eb3f259329771ca3da75e3e0dc101ca83c24c kvm-33.tar.gz 2250014 diff --git a/app-emulation/kvm/kvm-33.ebuild b/app-emulation/kvm/kvm-33.ebuild new file mode 100644 index 0000000..641eac9 --- /dev/null +++ b/app-emulation/kvm/kvm-33.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod eutils + +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +DESCRIPTION="KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V)" +HOMEPAGE="http://kvm.qumranet.com/kvmwiki" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="mirror" + +MODULE_NAMES="kernel/kvm(extra:) + kernel/kvm-intel(extra:) + kernel/kvm-amd(extra:)" +BUILD_TARGETS="kernel" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/kvm_use_bios_files_in_usr_share_kvm.patch + epatch ${FILESDIR}/kvm_add-scripts-qemu-ifup.patch + epatch ${FILESDIR}/kvm_use_etc_kvm_kvm-ifup.patch +} + +src_compile() { + + if [ "$(gcc-major-version)" == "4" ]; then + eerror "kvm requires gcc-3 in order to build and work correctly" + eerror "please compile it switching to gcc-3." + die "gcc 4 cannot build qemu" + fi + + #fix make install to not install modules + sed -i '/$(kcmd)/d' ${WORKDIR}/${P}/Makefile + + linux-mod_pkg_setup + conf_opts="--prefix=/usr" + + ./configure ${conf_opts} || die "configure failed" + #Check if kvm is NOT part of the kernel and compile the module + if ! linux_chkconfig_present KVM; then + linux-mod_src_compile + ./configure ${conf_opts} + #If it is we need to disable the build of the module + else + ./configure ${conf_opts} --with-patched-kernel || die "Configure failed" + fi + make user qemu || die "make failed" +} + +pkg_preinst() { + enewgroup kvm +} + +src_install() { + make install DESTDIR="${D}" || die + if ! linux_chkconfig_present KVM; then + linux-mod_src_install + fi + + if use amd64; then + mv ${D}/usr/bin/qemu-system-x86_64 ${D}/usr/bin/kvm-system-x86_64 + else + mv ${D}/usr/bin/qemu ${D}/usr/bin/kvm + fi + + mv ${D}/usr/share/doc/qemu ${D}/usr/share/doc/kvm + mv ${D}/usr/share/man/man1/qemu.1 ${D}/usr/share/man/man1/kvm.1 +# rm -f ${D}/usr/bin/qemu-img +# rm -f ${D}/usr/share/man/man1/qemu-img.1 + insinto /etc/udev/rules.d/ + doins ${WORKDIR}/${P}/scripts/65-kvm.rules + insinto /etc/kvm/ + doins ${WORKDIR}/${P}/scripts/qemu-ifup +} |