From 71fbfdd807335a3c45b91eb70f4b0841ff0e3d60 Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Tue, 2 Oct 2007 16:51:37 +0000 Subject: Version bump to kvm-45. Removed obsolete versions. svn path=/trunk/; revision=43 --- app-emulation/kvm/ChangeLog | 4 ++ app-emulation/kvm/Manifest | 46 +++++-------- app-emulation/kvm/files/digest-kvm-37 | 3 - app-emulation/kvm/files/digest-kvm-39 | 3 - app-emulation/kvm/files/digest-kvm-40 | 3 - app-emulation/kvm/files/digest-kvm-45 | 3 + app-emulation/kvm/kvm-37.ebuild | 122 ---------------------------------- app-emulation/kvm/kvm-39.ebuild | 122 ---------------------------------- app-emulation/kvm/kvm-40.ebuild | 122 ---------------------------------- app-emulation/kvm/kvm-45.ebuild | 122 ++++++++++++++++++++++++++++++++++ 10 files changed, 144 insertions(+), 406 deletions(-) delete mode 100644 app-emulation/kvm/files/digest-kvm-37 delete mode 100644 app-emulation/kvm/files/digest-kvm-39 delete mode 100644 app-emulation/kvm/files/digest-kvm-40 create mode 100644 app-emulation/kvm/files/digest-kvm-45 delete mode 100644 app-emulation/kvm/kvm-37.ebuild delete mode 100644 app-emulation/kvm/kvm-39.ebuild delete mode 100644 app-emulation/kvm/kvm-40.ebuild create mode 100644 app-emulation/kvm/kvm-45.ebuild diff --git a/app-emulation/kvm/ChangeLog b/app-emulation/kvm/ChangeLog index 5803a49..e391f16 100644 --- a/app-emulation/kvm/ChangeLog +++ b/app-emulation/kvm/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 02 Oct 2007; Wulf C. Krueger -kvm-37.ebuild, + -kvm-39.ebuild, -kvm-40.ebuild, +kvm-45.ebuild: + Version bump to kvm-45. Removed obsolete versions. + 23 Sep 2007; Wulf C. Krueger +kvm-44.ebuild: Version bump to kvm-44. diff --git a/app-emulation/kvm/Manifest b/app-emulation/kvm/Manifest index f0c89d0..de2efbc 100644 --- a/app-emulation/kvm/Manifest +++ b/app-emulation/kvm/Manifest @@ -17,23 +17,9 @@ AUX scripts-qemu-ifup.patch 847 RMD160 631b0804395115eb12aa411017982ca41233a181 MD5 734e3f36bed683479dd8de7d5a0c251d files/scripts-qemu-ifup.patch 847 RMD160 631b0804395115eb12aa411017982ca41233a181 files/scripts-qemu-ifup.patch 847 SHA256 09e519488c0aa9b2ea6001d46c51ca3058e35409299bc13e79c9cb7cdac6e532 files/scripts-qemu-ifup.patch 847 -DIST kvm-37.tar.gz 2678709 RMD160 71d916ead7c0aa9f386ea53cb6b807ceba9aa800 SHA1 306fde7e4f8e80d5ebd69eaf26732aa7119aab09 SHA256 de9e80c69ddf58a33b1a080c301f3ade37d2eea8472a3b09182f01566fe455a8 -DIST kvm-39.tar.gz 3065442 RMD160 97123332cd5532708a659ffbbb201f8cbbb53677 SHA1 bae806a81b8fdb8b476d13d1e7cbeaef47f14fe1 SHA256 c3e57e15229bf94f0847bd71551e0d4ab01450676ae32f4a4fa28f36f911c156 -DIST kvm-40.tar.gz 2559228 RMD160 a77147923102cbe7fef2b455f05895f9d3b98693 SHA1 00d33d9c448787631e845a372c47612f3c59864d SHA256 8a367fd870ae68f48386b8ba5d5b673b5f8142bc7d87439cef9a5b282ce4dbbc DIST kvm-43.tar.gz 2569751 RMD160 b1cd1ea3152a906415523f2d324d37eb001af63e SHA1 e726c2bc85267544e6106352c1f13bae5f82a1f7 SHA256 964a28a95d71286d3ed87b66e6f598813456bf50aca284b7a50ed305772b3943 DIST kvm-44.tar.gz 2573175 RMD160 a928b6776228b8fcec3ae16a7c3a47f246f9507e SHA1 ce300a886c506b15a5aab5c0728e0a63e6a4156d SHA256 71b42db52230bc41d7830e5bf6e86d630cd9f1c58d47681402ddbc5663a1d2dc -EBUILD kvm-37.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 SHA1 a437cceca6f603e47883745ed3a016f2d6dbaff1 SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e -MD5 26e3fb7d8265357601478499fee41b8c kvm-37.ebuild 3765 -RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 kvm-37.ebuild 3765 -SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e kvm-37.ebuild 3765 -EBUILD kvm-39.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 SHA1 a437cceca6f603e47883745ed3a016f2d6dbaff1 SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e -MD5 26e3fb7d8265357601478499fee41b8c kvm-39.ebuild 3765 -RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 kvm-39.ebuild 3765 -SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e kvm-39.ebuild 3765 -EBUILD kvm-40.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 SHA1 a437cceca6f603e47883745ed3a016f2d6dbaff1 SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e -MD5 26e3fb7d8265357601478499fee41b8c kvm-40.ebuild 3765 -RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 kvm-40.ebuild 3765 -SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e kvm-40.ebuild 3765 +DIST kvm-45.tar.gz 3730962 RMD160 527bd75539c964808054d2476a81d56d9546fcb9 SHA1 6bd9151919b40e6e9e880b5ea9e982aff980b668 SHA256 248d3622abf116adf3cbad94844626e066a22a6a9da2ba4b79e4e1a78f674a42 EBUILD kvm-43.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 SHA1 a437cceca6f603e47883745ed3a016f2d6dbaff1 SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e MD5 26e3fb7d8265357601478499fee41b8c kvm-43.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 kvm-43.ebuild 3765 @@ -42,33 +28,31 @@ EBUILD kvm-44.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 SHA1 a MD5 26e3fb7d8265357601478499fee41b8c kvm-44.ebuild 3765 RMD160 7053a04370c6ab63bc8679a61e25df4999014ed0 kvm-44.ebuild 3765 SHA256 66cd7eeb55042b303317799322117afe61906e70edb8ff4f3999d66a3ba0249e kvm-44.ebuild 3765 -MISC ChangeLog 1540 RMD160 b15872e26b8f3a8b2370239a6f8575cd312b674b SHA1 2a823b1434c3cd93e5dc4376c0e5b4e6057208f7 SHA256 922b309b1271128e081033f743d221d314ffb511bca173a0f479c03fe24ee808 -MD5 576320b39b9d192ebf8cfbb79b083a3e ChangeLog 1540 -RMD160 b15872e26b8f3a8b2370239a6f8575cd312b674b ChangeLog 1540 -SHA256 922b309b1271128e081033f743d221d314ffb511bca173a0f479c03fe24ee808 ChangeLog 1540 +EBUILD kvm-45.ebuild 3800 RMD160 55f982d3324610acbf8ea6614a4b3fd1aee17efe SHA1 3a4798ebc855b09e15295ea645ad3277c602f28a SHA256 2c8aebe164a1456fcf88e6180cf933d7d7fc014e040b5d4f8b92372f61359f71 +MD5 2b9359eb8e96f2be267ce119b7e7e4c5 kvm-45.ebuild 3800 +RMD160 55f982d3324610acbf8ea6614a4b3fd1aee17efe kvm-45.ebuild 3800 +SHA256 2c8aebe164a1456fcf88e6180cf933d7d7fc014e040b5d4f8b92372f61359f71 kvm-45.ebuild 3800 +MISC ChangeLog 1715 RMD160 e2dd429f857288ed0c72664a3e4ca576a8557726 SHA1 9c2508bb7900b07bc6fb504263f4a8cbeb0fefed SHA256 e62b31983c561ef7852748e7c00468b14f23d56aea244c46d56fed2b27d27b76 +MD5 4aaf41ac52263447e8e5e03e4d2147e5 ChangeLog 1715 +RMD160 e2dd429f857288ed0c72664a3e4ca576a8557726 ChangeLog 1715 +SHA256 e62b31983c561ef7852748e7c00468b14f23d56aea244c46d56fed2b27d27b76 ChangeLog 1715 MISC metadata.xml 413 RMD160 dd5972a65a0cc44b4a9bd61cbcfe197270bb355f SHA1 c14660bd6d54594bef13c86f243308fc92687eb0 SHA256 32796ad3337db69538c94738b611438b27e6f199d19df26f0e20a471e313c988 MD5 5c1d1436d6cc39b3b6bf03f9d4b611ec metadata.xml 413 RMD160 dd5972a65a0cc44b4a9bd61cbcfe197270bb355f metadata.xml 413 SHA256 32796ad3337db69538c94738b611438b27e6f199d19df26f0e20a471e313c988 metadata.xml 413 -MD5 7ce124381ae59d30ec6873b357a6fc22 files/digest-kvm-37 223 -RMD160 2fa7f480b1129b38e30bd02f0ea93010f02999e3 files/digest-kvm-37 223 -SHA256 8686d44d82b61436f315b0129690badc6ffba7876989bba7837a6bb8c7aa8a1c files/digest-kvm-37 223 -MD5 a89e7fa054b5998929d28a4d5ab17f5f files/digest-kvm-39 223 -RMD160 47c1753cbae3816746dfbe58ff487f5647b4cddf files/digest-kvm-39 223 -SHA256 6c1d6fb06d80f0d972f18a24f384d352357dfd09d2d61f2bfb233522a83a0d14 files/digest-kvm-39 223 -MD5 bdec212228261cb8cb10e8e68ca3d255 files/digest-kvm-40 223 -RMD160 65435308040733695b8fbf75c856f58c41c40014 files/digest-kvm-40 223 -SHA256 86a4ce2cc97f780a7ca3e77a49fb096bcb8fe04b2773343417af566285ddd19f files/digest-kvm-40 223 MD5 d11efbc789e669d0c5209c248d92c571 files/digest-kvm-43 223 RMD160 e3c458fdf44841fb38e32d92b05ab42cb6f85e58 files/digest-kvm-43 223 SHA256 3ce053d2ecd8ae0f948f4da20f365491355fd471638af9af02aae104a2ca62e6 files/digest-kvm-43 223 MD5 e0be467bb60641e29768ee5ac4f6c507 files/digest-kvm-44 223 RMD160 55b69de8c390558267bc841630c8aaf905b24487 files/digest-kvm-44 223 SHA256 f1ada00fd8ec1ed56b42795bf6e4bd12f6fd59003d75bdda8decb9e9718cee83 files/digest-kvm-44 223 +MD5 32d36a819948af9c734251961e93bd04 files/digest-kvm-45 223 +RMD160 c53b6ff93e8854cf2a5567ceb4bb42e5d257731b files/digest-kvm-45 223 +SHA256 02a0e4a0d5fcb177441b1c978f21d5b4297c68f355b3353f3978da841ab6f3bc files/digest-kvm-45 223 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFG9opxCkvF58q80IkRAs5tAJ4huEf0Y6nYnZUbRNaYs6YwSMQpLQCfdgEF -5EC/Y1OiMtRzmJ28ZGXCQu0= -=DDQr +iD8DBQFHAnbwCkvF58q80IkRAoYTAKCsR1B05VWKY8TjNh8f4RCWIp1s/gCdF/dn +tck7JjWDly+g67mLM/EizA4= +=eu/b -----END PGP SIGNATURE----- diff --git a/app-emulation/kvm/files/digest-kvm-37 b/app-emulation/kvm/files/digest-kvm-37 deleted file mode 100644 index 2c8a9ed..0000000 --- a/app-emulation/kvm/files/digest-kvm-37 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d6dfad68bc81fed9555c1a1b13dd58e9 kvm-37.tar.gz 2678709 -RMD160 71d916ead7c0aa9f386ea53cb6b807ceba9aa800 kvm-37.tar.gz 2678709 -SHA256 de9e80c69ddf58a33b1a080c301f3ade37d2eea8472a3b09182f01566fe455a8 kvm-37.tar.gz 2678709 diff --git a/app-emulation/kvm/files/digest-kvm-39 b/app-emulation/kvm/files/digest-kvm-39 deleted file mode 100644 index 58ca63a..0000000 --- a/app-emulation/kvm/files/digest-kvm-39 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 be78e4bbae6f8cb32bcc9eb1d7d4d665 kvm-39.tar.gz 3065442 -RMD160 97123332cd5532708a659ffbbb201f8cbbb53677 kvm-39.tar.gz 3065442 -SHA256 c3e57e15229bf94f0847bd71551e0d4ab01450676ae32f4a4fa28f36f911c156 kvm-39.tar.gz 3065442 diff --git a/app-emulation/kvm/files/digest-kvm-40 b/app-emulation/kvm/files/digest-kvm-40 deleted file mode 100644 index 4b8afb3..0000000 --- a/app-emulation/kvm/files/digest-kvm-40 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 eae60d966e8f98171ff98cf59355b28b kvm-40.tar.gz 2559228 -RMD160 a77147923102cbe7fef2b455f05895f9d3b98693 kvm-40.tar.gz 2559228 -SHA256 8a367fd870ae68f48386b8ba5d5b673b5f8142bc7d87439cef9a5b282ce4dbbc kvm-40.tar.gz 2559228 diff --git a/app-emulation/kvm/files/digest-kvm-45 b/app-emulation/kvm/files/digest-kvm-45 new file mode 100644 index 0000000..bf9d925 --- /dev/null +++ b/app-emulation/kvm/files/digest-kvm-45 @@ -0,0 +1,3 @@ +MD5 c68ea4f31ab9d4b98e2cbb497c31f62e kvm-45.tar.gz 3730962 +RMD160 527bd75539c964808054d2476a81d56d9546fcb9 kvm-45.tar.gz 3730962 +SHA256 248d3622abf116adf3cbad94844626e066a22a6a9da2ba4b79e4e1a78f674a42 kvm-45.tar.gz 3730962 diff --git a/app-emulation/kvm/kvm-37.ebuild b/app-emulation/kvm/kvm-37.ebuild deleted file mode 100644 index 792b7c4..0000000 --- a/app-emulation/kvm/kvm-37.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit linux-mod eutils - -DESCRIPTION="KVM is a full virtualisation solution for Linux on hardware containing virtualization extensions (Intel VT or AMD-V)" -HOMEPAGE="http://kvm.qumranet.com/kvmwiki" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND=">=media-libs/libsdl-1.2.11 - >=media-libs/alsa-lib-1.0.13 - app-text/texi2html - !app-emulation/qemu - dev-lang/python - >=sys-fs/e2fsprogs-1.39" -RDEPEND="${DEPEND} - sys-apps/usermode-utilities" - -RESTRICT="strip" - -BUILD_TARGETS="all" -MODULE_NAMES="kvm(extra:"${S}"/kernel:"${S}"/kernel) - kvm-intel(extra:"${S}"/kernel:"${S}"/kernel) - kvm-amd(extra:"${S}"/kernel:"${S}"/kernel)" - -QA_TEXTRELS="usr/bin/qemu - usr/bin/qemu-system-sparc - usr/bin/qemu-system-arm - usr/bin/qemu-system-ppc - usr/bin/qemu-system-mips - usr/bin/qemu-system-x86_64" -QA_EXECSTACK="usr/share/kvm/openbios-sparc32" -QA_WX_LOAD="usr/share/kvm/openbios-sparc32" - -src_unpack() { - # Don't continue if the KVM modules that come with the kernel are compiled - if linux_chkconfig_present KVM ; then - eerror "${P} doesn't work with the kernel modules" - die "${PN} module is included in the kernel" - fi - unpack ${A} - cd "${S}" - - # Change script to change some options. - epatch "${FILESDIR}/kvm-kvm.patch" - # Improve the ifup script to allow for non-root use, etc. - epatch "${FILESDIR}/scripts-qemu-ifup.patch" - # Change the path to the network stuff to /etc/kvm - epatch "${FILESDIR}/qemu-vl.c.patch" - # Change the DATADIR to kvm instead of qemu - epatch "${FILESDIR}/qemu-configure.patch" -} - -src_compile() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - # The included qemu is not intended to run without kvm. Thus, we can use - # gcc4 as well and disable the gcc-check for gcc3. - conf_opts="--prefix=/usr --disable-gcc-check --qemu-cc=gcc" - - linux-mod_pkg_setup - - # Non-standard configure script. So econf doesn't work here. - ./configure ${conf_opts} || die "Configure failed" - - linux-mod_src_compile - - emake user qemu || die "make failed" -} - -src_install() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - emake DESTDIR="${D}" install || die "make install failed" - linux-mod_src_install - - exeinto /usr/bin/ - doexe "${S}/kvm" "${S}/kvm_stat" - - 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" - - insinto /etc/udev/rules.d/ - doins "${WORKDIR}/${P}/scripts/65-kvm.rules" - - insinto /etc/kvm/ - insopts -m0755 - doins "${WORKDIR}/${P}/scripts/qemu-ifup" -} - -pkg_postinst() { - linux-mod_pkg_postinst - enewgroup kvm - - elog "Make sure you have the kernel module loaded before running kvm." - elog "The easiest way to ensure that the kernel module is loaded is to load it" - elog "on boot." - elog "For AMD CPUs:" - elog "echo kvm-amd >> /etc/modules.autoload.d/kernel-2.6" - elog "For Intel CPUs:" - elog "echo kvm-intel >> /etc/modules.autoload.d/kernel-2.6" - echo - elog "Make sure your user is in the 'kvm' group" - elog "Just run 'gpasswd -a kvm', then have re-login." - echo - elog "If qemu complains about not having a 1024 Hz timer, then run this:" - elog "echo dev.rtc.max-user-freq=1024 >> /etc/sysctl.conf" - echo - elog "If you want network support in the guest OS, you'll need to make" - elog "sure you compile in support for 802.1d Ethernet Bridging in the " - elog "kernel, set up a bridge network interface and make sure you" - elog "compile Universal TUN/TAP device driver support as a kernel module" - elog "and make it load on boot:" - elog "echo tun >> /etc/modules.autoload.d/kernel-2.6" -} diff --git a/app-emulation/kvm/kvm-39.ebuild b/app-emulation/kvm/kvm-39.ebuild deleted file mode 100644 index 792b7c4..0000000 --- a/app-emulation/kvm/kvm-39.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit linux-mod eutils - -DESCRIPTION="KVM is a full virtualisation solution for Linux on hardware containing virtualization extensions (Intel VT or AMD-V)" -HOMEPAGE="http://kvm.qumranet.com/kvmwiki" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND=">=media-libs/libsdl-1.2.11 - >=media-libs/alsa-lib-1.0.13 - app-text/texi2html - !app-emulation/qemu - dev-lang/python - >=sys-fs/e2fsprogs-1.39" -RDEPEND="${DEPEND} - sys-apps/usermode-utilities" - -RESTRICT="strip" - -BUILD_TARGETS="all" -MODULE_NAMES="kvm(extra:"${S}"/kernel:"${S}"/kernel) - kvm-intel(extra:"${S}"/kernel:"${S}"/kernel) - kvm-amd(extra:"${S}"/kernel:"${S}"/kernel)" - -QA_TEXTRELS="usr/bin/qemu - usr/bin/qemu-system-sparc - usr/bin/qemu-system-arm - usr/bin/qemu-system-ppc - usr/bin/qemu-system-mips - usr/bin/qemu-system-x86_64" -QA_EXECSTACK="usr/share/kvm/openbios-sparc32" -QA_WX_LOAD="usr/share/kvm/openbios-sparc32" - -src_unpack() { - # Don't continue if the KVM modules that come with the kernel are compiled - if linux_chkconfig_present KVM ; then - eerror "${P} doesn't work with the kernel modules" - die "${PN} module is included in the kernel" - fi - unpack ${A} - cd "${S}" - - # Change script to change some options. - epatch "${FILESDIR}/kvm-kvm.patch" - # Improve the ifup script to allow for non-root use, etc. - epatch "${FILESDIR}/scripts-qemu-ifup.patch" - # Change the path to the network stuff to /etc/kvm - epatch "${FILESDIR}/qemu-vl.c.patch" - # Change the DATADIR to kvm instead of qemu - epatch "${FILESDIR}/qemu-configure.patch" -} - -src_compile() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - # The included qemu is not intended to run without kvm. Thus, we can use - # gcc4 as well and disable the gcc-check for gcc3. - conf_opts="--prefix=/usr --disable-gcc-check --qemu-cc=gcc" - - linux-mod_pkg_setup - - # Non-standard configure script. So econf doesn't work here. - ./configure ${conf_opts} || die "Configure failed" - - linux-mod_src_compile - - emake user qemu || die "make failed" -} - -src_install() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - emake DESTDIR="${D}" install || die "make install failed" - linux-mod_src_install - - exeinto /usr/bin/ - doexe "${S}/kvm" "${S}/kvm_stat" - - 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" - - insinto /etc/udev/rules.d/ - doins "${WORKDIR}/${P}/scripts/65-kvm.rules" - - insinto /etc/kvm/ - insopts -m0755 - doins "${WORKDIR}/${P}/scripts/qemu-ifup" -} - -pkg_postinst() { - linux-mod_pkg_postinst - enewgroup kvm - - elog "Make sure you have the kernel module loaded before running kvm." - elog "The easiest way to ensure that the kernel module is loaded is to load it" - elog "on boot." - elog "For AMD CPUs:" - elog "echo kvm-amd >> /etc/modules.autoload.d/kernel-2.6" - elog "For Intel CPUs:" - elog "echo kvm-intel >> /etc/modules.autoload.d/kernel-2.6" - echo - elog "Make sure your user is in the 'kvm' group" - elog "Just run 'gpasswd -a kvm', then have re-login." - echo - elog "If qemu complains about not having a 1024 Hz timer, then run this:" - elog "echo dev.rtc.max-user-freq=1024 >> /etc/sysctl.conf" - echo - elog "If you want network support in the guest OS, you'll need to make" - elog "sure you compile in support for 802.1d Ethernet Bridging in the " - elog "kernel, set up a bridge network interface and make sure you" - elog "compile Universal TUN/TAP device driver support as a kernel module" - elog "and make it load on boot:" - elog "echo tun >> /etc/modules.autoload.d/kernel-2.6" -} diff --git a/app-emulation/kvm/kvm-40.ebuild b/app-emulation/kvm/kvm-40.ebuild deleted file mode 100644 index 792b7c4..0000000 --- a/app-emulation/kvm/kvm-40.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit linux-mod eutils - -DESCRIPTION="KVM is a full virtualisation solution for Linux on hardware containing virtualization extensions (Intel VT or AMD-V)" -HOMEPAGE="http://kvm.qumranet.com/kvmwiki" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND=">=media-libs/libsdl-1.2.11 - >=media-libs/alsa-lib-1.0.13 - app-text/texi2html - !app-emulation/qemu - dev-lang/python - >=sys-fs/e2fsprogs-1.39" -RDEPEND="${DEPEND} - sys-apps/usermode-utilities" - -RESTRICT="strip" - -BUILD_TARGETS="all" -MODULE_NAMES="kvm(extra:"${S}"/kernel:"${S}"/kernel) - kvm-intel(extra:"${S}"/kernel:"${S}"/kernel) - kvm-amd(extra:"${S}"/kernel:"${S}"/kernel)" - -QA_TEXTRELS="usr/bin/qemu - usr/bin/qemu-system-sparc - usr/bin/qemu-system-arm - usr/bin/qemu-system-ppc - usr/bin/qemu-system-mips - usr/bin/qemu-system-x86_64" -QA_EXECSTACK="usr/share/kvm/openbios-sparc32" -QA_WX_LOAD="usr/share/kvm/openbios-sparc32" - -src_unpack() { - # Don't continue if the KVM modules that come with the kernel are compiled - if linux_chkconfig_present KVM ; then - eerror "${P} doesn't work with the kernel modules" - die "${PN} module is included in the kernel" - fi - unpack ${A} - cd "${S}" - - # Change script to change some options. - epatch "${FILESDIR}/kvm-kvm.patch" - # Improve the ifup script to allow for non-root use, etc. - epatch "${FILESDIR}/scripts-qemu-ifup.patch" - # Change the path to the network stuff to /etc/kvm - epatch "${FILESDIR}/qemu-vl.c.patch" - # Change the DATADIR to kvm instead of qemu - epatch "${FILESDIR}/qemu-configure.patch" -} - -src_compile() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - # The included qemu is not intended to run without kvm. Thus, we can use - # gcc4 as well and disable the gcc-check for gcc3. - conf_opts="--prefix=/usr --disable-gcc-check --qemu-cc=gcc" - - linux-mod_pkg_setup - - # Non-standard configure script. So econf doesn't work here. - ./configure ${conf_opts} || die "Configure failed" - - linux-mod_src_compile - - emake user qemu || die "make failed" -} - -src_install() { - # fix make install to not install modules - sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" - - emake DESTDIR="${D}" install || die "make install failed" - linux-mod_src_install - - exeinto /usr/bin/ - doexe "${S}/kvm" "${S}/kvm_stat" - - 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" - - insinto /etc/udev/rules.d/ - doins "${WORKDIR}/${P}/scripts/65-kvm.rules" - - insinto /etc/kvm/ - insopts -m0755 - doins "${WORKDIR}/${P}/scripts/qemu-ifup" -} - -pkg_postinst() { - linux-mod_pkg_postinst - enewgroup kvm - - elog "Make sure you have the kernel module loaded before running kvm." - elog "The easiest way to ensure that the kernel module is loaded is to load it" - elog "on boot." - elog "For AMD CPUs:" - elog "echo kvm-amd >> /etc/modules.autoload.d/kernel-2.6" - elog "For Intel CPUs:" - elog "echo kvm-intel >> /etc/modules.autoload.d/kernel-2.6" - echo - elog "Make sure your user is in the 'kvm' group" - elog "Just run 'gpasswd -a kvm', then have re-login." - echo - elog "If qemu complains about not having a 1024 Hz timer, then run this:" - elog "echo dev.rtc.max-user-freq=1024 >> /etc/sysctl.conf" - echo - elog "If you want network support in the guest OS, you'll need to make" - elog "sure you compile in support for 802.1d Ethernet Bridging in the " - elog "kernel, set up a bridge network interface and make sure you" - elog "compile Universal TUN/TAP device driver support as a kernel module" - elog "and make it load on boot:" - elog "echo tun >> /etc/modules.autoload.d/kernel-2.6" -} diff --git a/app-emulation/kvm/kvm-45.ebuild b/app-emulation/kvm/kvm-45.ebuild new file mode 100644 index 0000000..da42161 --- /dev/null +++ b/app-emulation/kvm/kvm-45.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: 2007/10/02 19:00:00 philantrop Exp $ + +inherit linux-mod eutils + +DESCRIPTION="KVM is a full virtualisation solution for Linux on hardware containing virtualization extensions (Intel VT or AMD-V)" +HOMEPAGE="http://kvm.qumranet.com/kvmwiki" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=media-libs/libsdl-1.2.11 + >=media-libs/alsa-lib-1.0.13 + app-text/texi2html + !app-emulation/qemu + dev-lang/python + >=sys-fs/e2fsprogs-1.39" +RDEPEND="${DEPEND} + sys-apps/usermode-utilities" + +RESTRICT="strip" + +BUILD_TARGETS="all" +MODULE_NAMES="kvm(extra:"${S}"/kernel:"${S}"/kernel) + kvm-intel(extra:"${S}"/kernel:"${S}"/kernel) + kvm-amd(extra:"${S}"/kernel:"${S}"/kernel)" + +QA_TEXTRELS="usr/bin/qemu + usr/bin/qemu-system-sparc + usr/bin/qemu-system-arm + usr/bin/qemu-system-ppc + usr/bin/qemu-system-mips + usr/bin/qemu-system-x86_64" +QA_EXECSTACK="usr/share/kvm/openbios-sparc32" +QA_WX_LOAD="usr/share/kvm/openbios-sparc32" + +src_unpack() { + # Don't continue if the KVM modules that come with the kernel are compiled + if linux_chkconfig_present KVM ; then + eerror "${P} doesn't work with the kernel modules" + die "${PN} module is included in the kernel" + fi + unpack ${A} + cd "${S}" + + # Change script to change some options. + epatch "${FILESDIR}/kvm-kvm.patch" + # Improve the ifup script to allow for non-root use, etc. + epatch "${FILESDIR}/scripts-qemu-ifup.patch" + # Change the path to the network stuff to /etc/kvm + epatch "${FILESDIR}/qemu-vl.c.patch" + # Change the DATADIR to kvm instead of qemu + epatch "${FILESDIR}/qemu-configure.patch" +} + +src_compile() { + # fix make install to not install modules + sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" + + # The included qemu is not intended to run without kvm. Thus, we can use + # gcc4 as well and disable the gcc-check for gcc3. + conf_opts="--prefix=/usr --disable-gcc-check --qemu-cc=gcc" + + linux-mod_pkg_setup + + # Non-standard configure script. So econf doesn't work here. + ./configure ${conf_opts} || die "Configure failed" + + linux-mod_src_compile + + emake user qemu || die "make failed" +} + +src_install() { + # fix make install to not install modules + sed -i -e '/$(kcmd)/d' "${WORKDIR}/${P}/Makefile" + + emake DESTDIR="${D}" install || die "make install failed" + linux-mod_src_install + + exeinto /usr/bin/ + doexe "${S}/kvm" "${S}/kvm_stat" + + 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" + + insinto /etc/udev/rules.d/ + doins "${WORKDIR}/${P}/scripts/65-kvm.rules" + + insinto /etc/kvm/ + insopts -m0755 + doins "${WORKDIR}/${P}/scripts/qemu-ifup" +} + +pkg_postinst() { + linux-mod_pkg_postinst + enewgroup kvm + + elog "Make sure you have the kernel module loaded before running kvm." + elog "The easiest way to ensure that the kernel module is loaded is to load it" + elog "on boot." + elog "For AMD CPUs:" + elog "echo kvm-amd >> /etc/modules.autoload.d/kernel-2.6" + elog "For Intel CPUs:" + elog "echo kvm-intel >> /etc/modules.autoload.d/kernel-2.6" + echo + elog "Make sure your user is in the 'kvm' group" + elog "Just run 'gpasswd -a kvm', then have re-login." + echo + elog "If qemu complains about not having a 1024 Hz timer, then run this:" + elog "echo dev.rtc.max-user-freq=1024 >> /etc/sysctl.conf" + echo + elog "If you want network support in the guest OS, you'll need to make" + elog "sure you compile in support for 802.1d Ethernet Bridging in the " + elog "kernel, set up a bridge network interface and make sure you" + elog "compile Universal TUN/TAP device driver support as a kernel module" + elog "and make it load on boot:" + elog "echo tun >> /etc/modules.autoload.d/kernel-2.6" +} -- cgit v1.2.3-65-gdbad