bump(app-emulation/qemu): sync with upstream

Packages updated:
  app-emulation/qemu
  sys-firmware/ipxe
  sys-firmware/seabios
This commit is contained in:
Michael Marineau 2014-03-23 15:58:59 -07:00
parent 524bf4761f
commit bff5b9c1de
20 changed files with 1309 additions and 201 deletions

View File

@ -1,6 +1,84 @@
# ChangeLog for app-emulation/qemu # ChangeLog for app-emulation/qemu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.230 2013/08/04 18:28:54 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.247 2014/02/24 02:20:18 phajdan.jr Exp $
24 Feb 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> qemu-1.5.3.ebuild:
x86 stable wrt bug #483760
19 Jan 2014; Doug Goldstein <cardoe@gentoo.org> qemu-1.7.0.ebuild:
Nudge the SeaBIOS depend to the correct version for this release.
19 Jan 2014; Doug Goldstein <cardoe@gentoo.org> -qemu-1.5.2-r1.ebuild,
-qemu-1.5.2-r2.ebuild, -qemu-1.6.0.ebuild:
Cull some older versions
*qemu-1.7.0 (19 Dec 2013)
*qemu-1.6.2 (19 Dec 2013)
19 Dec 2013; Mike Frysinger <vapier@gentoo.org>
+files/qemu-1.7.0-cflags.patch, +qemu-1.6.2.ebuild, +qemu-1.7.0.ebuild,
qemu-9999.ebuild:
Version bumps.
*qemu-1.6.1 (21 Oct 2013)
21 Oct 2013; Doug Goldstein <cardoe@gentoo.org> +qemu-1.6.1.ebuild,
metadata.xml:
Version bump. Fixes CVE-2013-4377 (bug #486352). Fix automagic depend on
libssh2 (bug #487918). Fix automagic depend on libusbx (bug #487810)
*qemu-1.6.0-r1 (17 Sep 2013)
17 Sep 2013; Doug Goldstein <cardoe@gentoo.org> +qemu-1.6.0-r1.ebuild:
Initial work on the 1.6.x stable patch queue.
15 Sep 2013; Agostino Sarubbo <ago@gentoo.org> qemu-1.5.3.ebuild:
Stable for amd64, wrt bug #483760
06 Sep 2013; Doug Goldstein <cardoe@gentoo.org> qemu-1.6.0.ebuild:
arm, microblaze, ppc, and ppc64 softmmu targets require USE=fdt, patch from
Mike Gilbert <floppym@gentoo.org> fixes bug #482878
05 Sep 2013; Michał Górny <mgorny@gentoo.org> qemu-1.4.2.ebuild,
qemu-1.5.2-r1.ebuild, qemu-1.5.2-r2.ebuild, qemu-1.5.3.ebuild,
qemu-1.6.0.ebuild, qemu-9999.ebuild:
Clean up PYTHON_COMPAT from old implementations.
*qemu-1.5.3 (27 Aug 2013)
27 Aug 2013; Doug Goldstein <cardoe@gentoo.org> +qemu-1.5.3.ebuild:
Version bump
19 Aug 2013; Doug Goldstein <cardoe@gentoo.org> qemu-9999.ebuild:
SeaBIOS/VGABios/sgabios are not meant to be a versioned depend for the live
ebuild. bug #481594
19 Aug 2013; Doug Goldstein <cardoe@gentoo.org> qemu-1.5.2-r1.ebuild,
qemu-1.5.2-r2.ebuild, qemu-1.6.0.ebuild:
Fix dependency on sys-apps/dtc due to internal copy of fdt_env.h in QEMU
sources. bug #480680
17 Aug 2013; Sergei Trofimovich <slyfox@gentoo.org> qemu-9999.ebuild:
Conditionalize '--enable-migration-from-qemu-kvm' (not an upstream option).
*qemu-1.6.0 (16 Aug 2013)
16 Aug 2013; Doug Goldstein <cardoe@gentoo.org> +qemu-1.6.0.ebuild,
qemu-9999.ebuild:
Version bump
14 Aug 2013; Patrick Lauer <patrick@gentoo.org> metadata.xml,
qemu-1.5.2-r1.ebuild, qemu-1.5.2-r2.ebuild:
Remove unneded useflag description, fix repoman whitespace warnings
14 Aug 2013; Doug Goldstein <cardoe@gentoo.org> -qemu-1.5.2.ebuild:
Remove older version
*qemu-1.5.2-r2 (14 Aug 2013)
14 Aug 2013; Doug Goldstein <cardoe@gentoo.org> +qemu-1.5.2-r2.ebuild,
-qemu-1.4.1.ebuild, -qemu-1.4.2-r1.ebuild:
Bump the stable patchset.
04 Aug 2013; Doug Goldstein <cardoe@gentoo.org> qemu-9999.ebuild: 04 Aug 2013; Doug Goldstein <cardoe@gentoo.org> qemu-9999.ebuild:
Fix libseccomp depend for master. bug #479562 Fix libseccomp depend for master. bug #479562

View File

@ -3,35 +3,43 @@ Hash: SHA256
AUX 65-kvm.rules 40 SHA256 c16a8dc7855880b2651f1a3ff488ecc54d4ac1036c71fffd5007021d8d18a7c5 SHA512 98aad2a2f212a7ac0ee5b60a9c92744fa462bce5f26594845c7a31d692aaaca2d52cb57bdbede7dfc60b9862c2a6510665dbb03215d5cf76e62516a283decdd6 WHIRLPOOL 937de93a23930f6b8533f0c3e0dd249c99ddf7d54446dea857607266ac0a4b435c5b4a52b2986b138bace9c0a7ade66f94116b38e2bc4767ead54bd11baf0920 AUX 65-kvm.rules 40 SHA256 c16a8dc7855880b2651f1a3ff488ecc54d4ac1036c71fffd5007021d8d18a7c5 SHA512 98aad2a2f212a7ac0ee5b60a9c92744fa462bce5f26594845c7a31d692aaaca2d52cb57bdbede7dfc60b9862c2a6510665dbb03215d5cf76e62516a283decdd6 WHIRLPOOL 937de93a23930f6b8533f0c3e0dd249c99ddf7d54446dea857607266ac0a4b435c5b4a52b2986b138bace9c0a7ade66f94116b38e2bc4767ead54bd11baf0920
AUX bridge.conf 454 SHA256 a51850dd39923f3482e4c575b48ad9fef9c9ebb2f2176225da399b79ce48c69d SHA512 a907ee86b81a1b61033bb7621ded65112504131ef7b698c53e4014b958ee6fc79e66f63069015a01e41362cb70a7d0ed26dd9a03033cf776f4846f0e1f8f1533 WHIRLPOOL 8fcbd4abf9b8f7ca3d16fe0eaf17196ebf708dfecf85ce0f020e0de22b64905114f7b310f361826c81bb961c6b1bbbf984bff1e595bb949993b8966ccb222c35 AUX bridge.conf 454 SHA256 a51850dd39923f3482e4c575b48ad9fef9c9ebb2f2176225da399b79ce48c69d SHA512 a907ee86b81a1b61033bb7621ded65112504131ef7b698c53e4014b958ee6fc79e66f63069015a01e41362cb70a7d0ed26dd9a03033cf776f4846f0e1f8f1533 WHIRLPOOL 8fcbd4abf9b8f7ca3d16fe0eaf17196ebf708dfecf85ce0f020e0de22b64905114f7b310f361826c81bb961c6b1bbbf984bff1e595bb949993b8966ccb222c35
AUX qemu-1.7.0-cflags.patch 300 SHA256 8f35e55c4bae93e82f9580eabe2d6a2d4660bd05343e1f4e6c33815deeede91e SHA512 54446cb555b623b2306f8a323713e4dfb1b8b7bbf3af3771d5b62e164e0672cc21cbe44f08ca8b58052523e8d629e16355a44ebb544a999a44d11ac3af671f1c WHIRLPOOL b903b4abefeeb09a2ab2d1ee224de5d3694f99f50aacfe33882fce0c1c87c23dae4d57b001d1c35cc96fffa93d43fac4a8ab30a3e45fe1f380580162c0332e78
AUX qemu-9999-cflags.patch 347 SHA256 fe3bcbe83e81225b2c722578a0a976fcb724419d5208bbd6d02fb543e80b7e12 SHA512 e1b8be744170d61a2155b23a8394db01f8af6dc70ec033e71b2ff46f72975704836d42b96d7904e5d462289c5f8f24317f2fb28698f18a77ab1de02829e585eb WHIRLPOOL 2d972c7e40292f424fd37a4c1af04d2be095c215211ec2e1d15d8457df553342ffc02a7d39985f817fbbf5342e422d30e439c35a925341cf9b852ca7ff15a308 AUX qemu-9999-cflags.patch 347 SHA256 fe3bcbe83e81225b2c722578a0a976fcb724419d5208bbd6d02fb543e80b7e12 SHA512 e1b8be744170d61a2155b23a8394db01f8af6dc70ec033e71b2ff46f72975704836d42b96d7904e5d462289c5f8f24317f2fb28698f18a77ab1de02829e585eb WHIRLPOOL 2d972c7e40292f424fd37a4c1af04d2be095c215211ec2e1d15d8457df553342ffc02a7d39985f817fbbf5342e422d30e439c35a925341cf9b852ca7ff15a308
AUX qemu-binfmt.initd-r1 7023 SHA256 3572c110c6f217754e638796400a5901910a2e61b8818c8569f8258b103ebcc6 SHA512 773af64fef164c00945acf5881e64a10141aa8fdc85491e57bf8dcc7c800a4f81879527998a0896a42f921edcbf5f741beb31ac2a82e45cba506c7b8461733c8 WHIRLPOOL 30382fe347248683e989c2b7fbd804ce26173b313746d80467029b2ad3594f414628f7537120b168a0e700c424d3525528eb632b07e16544c2fd07f418f3187c AUX qemu-binfmt.initd-r1 7023 SHA256 3572c110c6f217754e638796400a5901910a2e61b8818c8569f8258b103ebcc6 SHA512 773af64fef164c00945acf5881e64a10141aa8fdc85491e57bf8dcc7c800a4f81879527998a0896a42f921edcbf5f741beb31ac2a82e45cba506c7b8461733c8 WHIRLPOOL 30382fe347248683e989c2b7fbd804ce26173b313746d80467029b2ad3594f414628f7537120b168a0e700c424d3525528eb632b07e16544c2fd07f418f3187c
AUX qemu-kvm-1.4 68 SHA256 8b1adf198129f001e75a2311fc420c168094d1084d2163cdf6a32b3b23c96137 SHA512 706fab4d155c410acc292e67fb354ce7dcd17f7e33f2ca8c9c44035ea128f8d36f89e27cf87ebe22721f5676be9e7f2ae5484fd000183c8ffd7854e02eb3d120 WHIRLPOOL ef795330b592cef8e3d92f52a77eb77a671e6aa1a47d07531917b5c1c09e72e5df1a44aea939b086e0a3c5ef2a5cea9223556a46ceae73e55300475c42f07067 AUX qemu-kvm-1.4 68 SHA256 8b1adf198129f001e75a2311fc420c168094d1084d2163cdf6a32b3b23c96137 SHA512 706fab4d155c410acc292e67fb354ce7dcd17f7e33f2ca8c9c44035ea128f8d36f89e27cf87ebe22721f5676be9e7f2ae5484fd000183c8ffd7854e02eb3d120 WHIRLPOOL ef795330b592cef8e3d92f52a77eb77a671e6aa1a47d07531917b5c1c09e72e5df1a44aea939b086e0a3c5ef2a5cea9223556a46ceae73e55300475c42f07067
DIST qemu-1.4.1-a2231a9d.tar.xz 5192 SHA256 5c6dacc243f55d00817dcc4fa24555c48665719bb4a1ea9f3d3542bea7606c52 SHA512 102e751d1dc972324a835fd2f2c88431856189a98505a9f8c1993b3bc5da390fed1cda04f719040c1c62b5cf4a7715d8d9fb15d6ceb511af5cf7cccd0dab0c09 WHIRLPOOL 8c22d6300c01a4afc9000bb0ab1c5a7626b61decb356d08731c715c417808a2801c3ca8c0192851a2f5ccfe36e30fc94da193365aaf69fdfbc44956c63c61142
DIST qemu-1.4.1.tar.bz2 10417738 SHA256 75063a9326221607de3599e89fb5af80f2d8080ddc55ca253fff113843432df1 SHA512 b655d2816b9393ca30bbba2bc8a30076e1c933d593653a1f61b4d5f3aaa9b8eb390fa3aa6f3486f1d066b1e078a3d9e1a280d0e8dac68745b128ddc01ca1b149 WHIRLPOOL d45d290eb2877038f945d3aee88d28b5c81feb43b1ca4c8941b87fc225e4cfb7b7a601af8b8e639e831b7f41823b4d1723ca9149c0c072eb168907aa67e017be
DIST qemu-1.4.2-384a78f1.tar.xz 5652 SHA256 a0547d8d68eade3ef58038cb29aa19778cff62652ffc862ccaa4dde11011cb48 SHA512 5e45ffc374a894d609777efd4c98597dc66ea25690b3384ce32aef39e57ccb50402de52fb723baa27d270679b7068fcde7c0ba7eab204d08c102cc473f37cfb3 WHIRLPOOL 251a0fb2708b13651637a3f46a462d57cdae363a0fb5532fbf790c49d18954dd8445c4ee3134f83ce07ad6cd84b71e67a209bdd2899ce5ca3b2abad268f5ee9e
DIST qemu-1.4.2-6b5934f9.tar.xz 3132 SHA256 76af332ea3a731d04d5d2d909c4372250a156993ca56046dc607a7d43caa747e SHA512 c74cc6c3485cc19809676e7dc796d9f1d5b3d12decf1f0c61a948504471ac85f8b488c1acd0400b02827b1ad6b9745a6b47317c284365122ca772a842852f27e WHIRLPOOL 50dd6e7eed3902547dfae6c6cd73505232ed8abafc523c7df7e65a02cf9b29b3e7a29f4ce286b157c027f82e198ef23dd44a83c6925204317c7bb4d6e350617b DIST qemu-1.4.2-6b5934f9.tar.xz 3132 SHA256 76af332ea3a731d04d5d2d909c4372250a156993ca56046dc607a7d43caa747e SHA512 c74cc6c3485cc19809676e7dc796d9f1d5b3d12decf1f0c61a948504471ac85f8b488c1acd0400b02827b1ad6b9745a6b47317c284365122ca772a842852f27e WHIRLPOOL 50dd6e7eed3902547dfae6c6cd73505232ed8abafc523c7df7e65a02cf9b29b3e7a29f4ce286b157c027f82e198ef23dd44a83c6925204317c7bb4d6e350617b
DIST qemu-1.4.2.tar.bz2 10416877 SHA256 acae6c92b740ff89c0e31eca23338d4abd733432e51b081017757579b30ecf90 SHA512 aa296b3d06321c81b32fdd2fdcdf07f3c377123f18eadca977335592b64a4f2417eea421fe417b57e468741f707bda31ba907364d762983393272997fdef8999 WHIRLPOOL 782f3c6d8776210450a0c0ac24942d8e1c41995aeb8e910add704f8f6d95ae3392ee942c6b661d4674367d0e443453c7f29356b2b4c71be4ffed54436f90de8a DIST qemu-1.4.2.tar.bz2 10416877 SHA256 acae6c92b740ff89c0e31eca23338d4abd733432e51b081017757579b30ecf90 SHA512 aa296b3d06321c81b32fdd2fdcdf07f3c377123f18eadca977335592b64a4f2417eea421fe417b57e468741f707bda31ba907364d762983393272997fdef8999 WHIRLPOOL 782f3c6d8776210450a0c0ac24942d8e1c41995aeb8e910add704f8f6d95ae3392ee942c6b661d4674367d0e443453c7f29356b2b4c71be4ffed54436f90de8a
DIST qemu-1.5.2-2d2faaeb.tar.xz 4112 SHA256 8bcfb9d68307da6232b75894e5cd415e0b74afbd6eddda1df4583231c8c8d2d1 SHA512 c2f8f7456bf5dd1c9047e9468254de8b83330546fa2a64c2342801a9e6944232d78a1f57b03862c942706aa6c3460d9239699c2dccf19c34ffdfbfbc81185a89 WHIRLPOOL 655372d513cb79cfacba659a191a0a1db26dbf97aff7c6f955bc1ee089d8360100e2c0088c69251da9e93f75eb0032917d43e57f5fc651b7bfa28ae6a3d1f06c DIST qemu-1.5.3-25d93791.tar.xz 3136 SHA256 311bf6db68e37080a7cb3ea9bd573420b783dd2484ce62a936abba39e3b58446 SHA512 023df394a5dd76e7a0363b0cf994a41f18eac0b1e15ba5aca025dd73456d05535eef729ed6febec245c2f51aa10611366ee68175d80057ce6ab92a3a1c79a191 WHIRLPOOL e8e090eb5f425ba07de3bad58155558bf8aed5db3715e4a9dc8b0b3f0913c1fcbc6e727704e66f3979f57b86b0563efdd0462069ea3f0f7b37c001c564ec3d4f
DIST qemu-1.5.2-e26b4ba6.tar.xz 21348 SHA256 877cc321b3bd5e30aaa7a481b359e16845ad731927a49df1fb2d5b0cfbfd0ad6 SHA512 1f015c5d9ca37475bddf9d474255b10ae3f03d01280270211deb1195a2ef288e6a1bbff9490cb4173a7af4b02787469278816fd5dee69d8e11d601b5a46b0e53 WHIRLPOOL 86a249c1339bb241a1534e5047bab696b8c26ad491eda073ee57ce1f9104df54ab7e251cd5ad9568a1381307b118029b7619bf689dec36f454d3f77f2f2f402a DIST qemu-1.5.3.tar.bz2 11932631 SHA256 39364ccbe82434c4eb8c25813896a1dce2db1977080d06ce13f96aa24ee2a601 SHA512 a14c7ec22cbf94fcc53ae5bc4d663dbcb1e29e14aac7bb2bd03f7ae1afdcf528c4198856db7aba32f0c84b5b9f583137fa4c0cf386a12c8f74c9c8d7825f1c52 WHIRLPOOL b793744e935922e58ff2528ed77ad416cbef086b259dec974f9b0c9aba08949cbe958e468d67ce4606baa66e236902e186f9679e27041fbddef506267d792b15
DIST qemu-1.5.2.tar.bz2 11932902 SHA256 f661147d190ab8432045058a660d810f13dc528fe7017ce578e9f2da2997a250 SHA512 cae47d34b99d3d3ded688b5a434ba69a377a838dddd367d10e4a71cd697305870c9671e4291490c0028b8143870b0998469e508cd28922fbebd8ea5f86f591b9 WHIRLPOOL bd5e8063c40e3e2fc43934e3649562f594f249002209bf09e05fda06155d423587d714862c8b55f9b2621f3ce20154f4e81b5c73df65ef2513ae824ae5bbcee9 DIST qemu-1.6.0-4c9bed9d.tar.xz 25752 SHA256 c642e8574b43094c6a0be12617514709ca446f08f546a6528ca433af06748bd7 SHA512 6ea00f51c3f35d27050026d5e4418b15ac624c9e58eb35cff252c31d273a6159a299472c8662c50a28cdc3aaa5b4b5028369303a776353822904f72c1300377a WHIRLPOOL 056d10c2b33f416cb2077b94fd1904b708631c7e3885943a41adff26e773905d6df3a81acbe991fc6170456f2a8eabcd2abbc3ccd682dcb9cc055f6d21ac4b00
EBUILD qemu-1.4.1.ebuild 16271 SHA256 126181b6968c1625623abece0f2214c450bd528c4b9c4abad688b083c0ed56c8 SHA512 40c1ffbcc45120829da28998d10d7b1fe4ce25e5b99e1da0ebb3f6f080d2b3f0a8ac7985b19002428ad78330ac3726e0bf4bfd74d58a98e818bc406f6d9478b9 WHIRLPOOL 4bd5b677964ea0eed7897ff59ea98e00182832837170070759cff1bb52529f9caca27ff8ba921a2e01586cae56ddd429e51cf7fd730b99f1327a1ecaf83ea687 DIST qemu-1.6.0.tar.bz2 12040196 SHA256 3132e58ada26d43b6924e8c2f07db80aa1e5022f3dcf03dee7d8bb9194b2cb48 SHA512 18dfc35eeb6fa48c9e73483c905885ae98191cf76acc00c568d57c6973d912f8bea4de24e85f55308d22e74028b809349b00d7c531c3b2dd5c837cd213a8faac WHIRLPOOL bdf7611557876cf86e207153c6793132511f555940f9e5ad671e4294c3a738a85e9c84c678a7daf73b863a15c7223ba7e7f4fd36c68ee3d59b3beabd7d17930a
EBUILD qemu-1.4.2-r1.ebuild 16637 SHA256 888060b5b23ab3f51b6ebbb259d3a9976d27ae29b2e84610c96a273b65e779c8 SHA512 4035fa1f1ae002a856d3cfe9ecfa4a56907193080a69e6d0f428d925c254e2573a11f281a5e3a0eac3716fe101bbf221f56bd332fcd7ebc1f6e08273766ccdf6 WHIRLPOOL 97925416d8104f56fb53f81c16df41f7c2d981a8a462ad7602f9bea2fe4dda55e976396cba311cc53210da9e0e3508c9ce45a09fdbbbb5c8bfac1c366e8d675c DIST qemu-1.6.1-452f0d87.tar.xz 8884 SHA256 278e0bf4189949a5d31cc9ac549e286b657247284e5241c06146bf0629e45a1d SHA512 2b40f42b51e338f6d773d215b88626876213daa35c75201e027caa18cd5883826b42ba4c99c685ce57716ab8530aa0fa068cc53e372b6105aa6aba05f705efd4 WHIRLPOOL f062bfa28adbeea95ea4fb09fc4772d801a652766843aff3ab09113e20fe1fe507bbea11e910bf1828339e851b0e85e64ff6934605d0a6c12b275230759ec838
EBUILD qemu-1.4.2.ebuild 16623 SHA256 3b047896a49c702a60f7df1bb0a2a3cfc1f8a6b5ec43ee29ee57047625115c7d SHA512 60a9d6ce25cb2182f81c30c49f16e863d4509be8ccfd96cabc4bfb7375777690bea265d5f977a530aef5d5ba6812c8d5e4190c815cc38c78e10d67b3685ad127 WHIRLPOOL 69c09d7df3a1965879c71d411e6ddd9649c82e1145a250e9aaf8ce0fc888ecc02dcc440cae794e878f350b88c34d5b73e363ff7aa41417a435fd0a7e2db59fff DIST qemu-1.6.1.tar.bz2 12041317 SHA256 fc736f44aa10478223c881310a7e40fc8386547e9cadf7d01ca4685951605294 SHA512 b8a5a35aa548359db453a74a3ac54be445fe217b1ba553467e7932edc57f45a44fa36f401db767828d875115df2057b46aa939193b61df7e2d05a8ce1739269d WHIRLPOOL 81c13021a3da9f6363435e5144d0d173aab41e7d1a996921b6034abed6d761d70c022233ee8474c1ecb66b958a27b71a26eec76d837103623b5fb779ebdb5149
EBUILD qemu-1.5.2-r1.ebuild 17389 SHA256 d70195826b6e596f8a49d7a124e88d514488f8bc3d20af423c970a34951b92ce SHA512 2bc5bf7e8ad6119d6a3128c17a8e01fcc23d426a0d2d35d5aae5e23389224ed14d3ac925783f3de90eae365869f52071add322a1f7a5da7be7d4b4e308830fdb WHIRLPOOL f2e4f38c51b17516fd8aa01739c4caac7ee649c858f13ab3e38ecf2cbeb0e539a246cb57b03ad668b8e4057a366de27cbdb56e74ac2ac7de80d2998fe62f2b7a DIST qemu-1.6.2.tar.bz2 12059106 SHA256 65c5196226e73e327377d741d70004d2ea8fb6799080812b6f3ed8f9269e4eb4 SHA512 bea8ebfc4b8af23f88ebc0acb2ecfe9d38ec8c8a86a94d7f20d8da21ccdbffe79b3213ad5bac2f5175e4fdc98ad149e82250d2a99f0b5415cace82e776033a64 WHIRLPOOL f49b4aa25e09fc61d26a10be9d5a1e8b8008f8a7a60d2e36f6e93c532bb60f8dcb423430ab845decd4feda5cc7683120b54e62426e36ebc1fd62c38e8eeb0db1
EBUILD qemu-1.5.2.ebuild 17236 SHA256 646321c1dccb49084e12ef49702dee4ddb83e958151ddcf8dbd5d9d7862fa2b1 SHA512 29bfc4b9d7d5499ea4f0b90de041101df10ec0244181f4032617ecec8cebc85f4c3ebbdcb11fa6b082e78b6b11b384646c2e5d4af2f05c4b6107e3a6e69f5d05 WHIRLPOOL 9eae12bf727cab89caf9982bf0e840d606bf84f3b4c195480fdd3a2cc415c829fd13917e46b2172cf4f81d9af7d1cfba9e3542dce241cada543e2a2795887761 DIST qemu-1.7.0.tar.bz2 12248954 SHA256 31f333a85f2d14c605a77679904a9668eaeb1b6dc7da53a1665230f46bc21314 SHA512 6ee52444b93fc2953e8080383cc0cdc618a826ddd5252bf5f6faf27d91699a414924d6015d27ea12ce1cc21e135acbc8dde595c84a4ce1e0c7173f0446f867eb WHIRLPOOL 80acb78605ccca21abf0414face6d6ba61707fd100335f5ce4c2502b6adbec96f267dc773469a20336690070285e004668e56581ea09cb25494eb5674dd60974
EBUILD qemu-9999.ebuild 16718 SHA256 ff71524998b25d4e50defa8c8efdc83df3953e560c66e88d1a6324a2e7ba6fa2 SHA512 d7e1550e202853efc7d38771a93d7e21d708bd3dc8aed507e4532d5091a5cd4413ee67ed21cce161cf4fef894ae151f20bbbabf551fe5c9a4a66c38f81868ec9 WHIRLPOOL ce048a5b8798e72a96de1bb9eca49cdaa7be1eddd5fbfb5b3a88fa6180a43a563d6b957cf6b64008b9a1c945e992a5b721ef90ad688d799beb5f5139d2ddab2d EBUILD qemu-1.4.2.ebuild 16619 SHA256 8a4609a3391d1b26adbb6176b2f3fadea06426cee3b54364085b0f6045126dc8 SHA512 24de48cf5d9aa7acb7350cb7ad7bb4d594a9b1524276aeda4d66d770ae56eee14ad35b692e37dffa5fc8e8b7822137a228a811e83c695c6a5efbc090e0d2e281 WHIRLPOOL ce8ae18e300aceae832a0ba7ece63911429dca8f72ba1d4878b6ee1763844daf1facbec2752789db561728143830bbcc82ff7f63ed9088696164152e76ba87d7
MISC ChangeLog 37712 SHA256 7becb44ccdb63ce95bc2220292e00733ab25e6898fd7646a79e643a10da6b811 SHA512 cbc3746c2dd618f8314f0a097ea26068377b5da2cce4c11111592706300b3d514425c2eff58f8c9ec4c51e3697a67578d34366dd128ae7a989b79e2f6971a42f WHIRLPOOL 7f91293f26df8c5492dd0991e5fd1debe43b017e093f6014427410dc3af1488b96cde75c95acb435828941bbb9f68208a7876d3b3a1fa3e735731e22cdfd436c EBUILD qemu-1.5.3.ebuild 17419 SHA256 1a53c3401f7da88687efb130da7607eca1a4f4cac6971c3cf7e088795362a895 SHA512 d09624eb7d5a3c80ef1920fe8ab0aa308a045475439a13f8ba514061fbfd39231c9d2c557560e2bea46588eaf4fd12b7abd26b1a7eaa28cdb83f18e8e44db8f7 WHIRLPOOL 212d568e6393af4a030e1b6a006b2bed046ab08ab042c16772b3630693540aac28759587211ee326a06a8daf71ff1f8b57bc359f3fe399ce4e881a8f3b85f00f
MISC metadata.xml 3419 SHA256 77b0c4ef04debd695c5772f20f6a5eba7e07ea241380c91081fa9ea7a1ba91c0 SHA512 40b4cc90ae43f8d53ac4a95092296dbf32fcd33e9132865f053a0b23823c781132261c17ec4d350ef899dae9b4e2ab2f87e2a5d6e067b419ab256d712b1510b4 WHIRLPOOL ac3c88fed17bc04f1427ff76a6c7d7a2dfc241917cb8e45e0698d2cf7d51419d699870910a65d3773e53257231414d8e339d848377b3d4a2a4dbfd44320912f0 EBUILD qemu-1.6.0-r1.ebuild 17482 SHA256 daf0b1bf5dab39eb980130e7db4f3eecf13cf344846a00b9fe90f36a1525178e SHA512 f86c36dd5f4908c4aab7425d96dc66fee0028cd734ee83b9332f89b11e483e139561de66f41a6e249feaccf12edb0f2697779b1c7b79df4b699761e20d1ef280 WHIRLPOOL 3a57e65752ebe1af00cd3744f51443fed726c61f3a48cd2f4912af889023f61f6d0c5fe6450bfb66022ea4ed716c9be8d6ec2cc772b477f83daf1051bf2ec7dc
EBUILD qemu-1.6.1.ebuild 17740 SHA256 e485d828cb073109c16c0b59e98409ea07e0496fc6429177aa14ed9cd75e7ab1 SHA512 94992e4ee56c6ff0bf03adf57dfa57a964913d9809734322ef5086ee12c33386cf3a62cc58eeccd1368a2df070ef0bb32fd85955ab62ecbada8ab988c1a38fe6 WHIRLPOOL 42b16c0e2f5dd5047e4a97b447e36ed2289f59921fc3c2136b0db112c64a2941daeadfd032edaaaf6878b61b4a44e699eeee2cda9efa34da3685c819487c23f2
EBUILD qemu-1.6.2.ebuild 17738 SHA256 6aba4bfe661b6b9fa23ac2900c711d7505855cf2942cb7cc2145c78211fa1aaf SHA512 037e872b6503e7bee1886eceff592fb430642052f555fdb4c0f8ae92b58f93f61cbd9cc92c0f336a4380ea673b3c6021141c7ff2cd762964697fbe0f96262bf3 WHIRLPOOL 9f75082796428a1fed7ad034938d7caaa5a8e31af71a52f290a6c92ded14a3b34fc2cff4e09976ba3f369becbcf1f1cb12f84e05b0b2408c5ccd6987ab85fd8a
EBUILD qemu-1.7.0.ebuild 17730 SHA256 33e56b5bc8007d922e76270f71f8f4ce02bf205adc16aa2604b2f7de91d3b9a5 SHA512 5be63a7bbb35a0a5eb4951db914fac46fbb35c0ce2bf1405c05a8c1598c5ea3b8acc7ef45274448c6a203fa469eaf6aba660b628d29580122259d6e3942a07f4 WHIRLPOOL 8bf5823dfc19620a205fdf641b0b1a68410467c554a0bc1bf333e4d2401a21ea1237ef76b56b087d2388bd34b0043ed3ba41d82b3f753c39c47be42426961430
EBUILD qemu-9999.ebuild 17645 SHA256 bd99f08ce75e47e76bf0603438039c5afea153caf752018baacc67b21738843c SHA512 78df78cd9c90ceb3bdb5b6841b4b1ee029e707696064dfba89488d1e35a9bcfddfdfe491452ba00bf268344cbf9e5b089d03ccc62f37c6f78633a2402f1002b4 WHIRLPOOL d7855860cba032137685cd10076b254b8ad27fc26f394af1f32a4d1b1a5a64521c2b087b38777cd36a49d76e29a6dee4afcdc8435c7c5d90c36158fb49f1806a
MISC ChangeLog 40495 SHA256 d50807248809df900893819da1c296ae6d95040162ac12017fd7938a1f1fb408 SHA512 4fb67576c1bd2043539a007d677de43b72f363c2cca154d25dd174288727cbcd06bec6ba20d147b520d689f5459ab4223ad74a93f82e98ee25f66aa286e99fba WHIRLPOOL bfa8598ed7abb767afca2382300300dcaad5fcfc559b59e75ee7013fb3ae743d4a27f4f384ea463480ca3fad03785f98e8ed1e86a1e0fb665ffe7ed9b000f82e
MISC metadata.xml 3516 SHA256 5ee91d2ad67fa84993869317278d95577e7dc94fa2fccd3635f5b8c2ce543ef1 SHA512 62e3c9d519cfa8e1c100efd2c39f5a7940abb5eeb0fd3ce0fa2b0c175eeeb4942a5521282fbb07056bf80c37ea7c81e1e78e8aa42cd313d0a9b24f327f2a5103 WHIRLPOOL aabc5374e1aeaf3907c638290d04fc7ba47bd7f71b0b3962281743c2dcd782d29e865579b8cba21cae2b117936175780346cc937dcd63eded58099f2448a3d43
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux) Version: GnuPG v2.0.22 (GNU/Linux)
iQF8BAEBCABmBQJR/p1rXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w iQIcBAEBCAAGBQJTCp5aAAoJEE8aJVXqcZkdBf0QAKAUOyyPK0AlZbdHKFLow7Lr
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDMDRGNEJFMDZEQTJGRUY3NkI4MEM3NTlE LmXRa8kh71Ro50LV8PRTF2yTGmzx1RJhqwFSok1XOgD0SnxlKcpks2uUbOV3rhmk
N0RGQThEMzE4RkE5QUVGAAoJENffqNMY+prvClkH/ihhrkf4Ucf0dyFTOspnsocY JFnnTcXCi3n+0xiWUtFnCB5UneBDiCyyANhgtBQOZPCIygYLtJt1LfN1L+3/UBk2
Wpn4rHkS5xP1PLR+uf7cTSrSuI70NXFRWZ/fEWnFuA82hjJfs9DzZlqEW5YK1Jb2 e3lzEbgb04L04IxkzB+z0mNZumZbTUlspjPFNUDaiRC/izPfJKL+dLzcz8cVexif
xCXo0VFsZhzP1dHxB53UKZKXwVS3pgC9WvboV3xnRUpnqTDbKLEBiSaoQ/GTtyC2 5iGoAejh29JEuzDt49XiFYdS25a4yeT5B6d8FZZnd/qk5MiPcBao9foc3iF2sbi0
dGLO3XIutH1h0adkVOFZhQsmnf6d/MUzPOs4M9EwJbUwXI5eqZnI2VncUhxwKh5F ISba+0sgm5YuzUWErzbbyMErL0vrywFDevPPnrPYxfhGxY72RArLnHYg+d3MnDsZ
Ew6eEPdTVkxMjOZuDianPYI434urxhkXMiAcqBWJ1jp6YSFE70Lbcosu79eZC3UO Nfs9K6yuocToPpR5o60hpE4x4oqHShCLvpzzPIwt/fdq6dDnUMfPMfVcwOQvNiVA
ZA2hEWxNriCp3pb4l/zCCGHdeXr6VyqpDrauyOtIED/ePEHj9eS7lww+d27zcSk= otLPpaCKARe3sqNttq2bLRVmPPeFOo0n7Q5E2VDVQDFXX6pGfvjY/mGH3sySu6Tx
=+mj5 aP1hSmUVj/uAKMzjRwcOGcZP6d7sAXDBGeuF+BKO56/q9uEpxKQfgkYI83wxNRUE
+WDWHziruCWbL4SqrZvFV0AZNIkX8RgYey6TzKxpz/SBgY7zPtUFa3YsaOje3GWh
DJgS66n4uLM6zXzVNkGkheTFkQOBW8HsLqX16C484J2sxXz8M4i4vWLfI9/HRnEN
eciWipwMvgIWN8kX0ZAO
=J8ap
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -3131,8 +3131,6 @@ fi
if test "$gcov" = "yes" ; then
CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
-elif test "$debug" = "no" ; then
- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
fi

View File

@ -10,7 +10,6 @@
<flag name='accessibility'>Adds support for braille displays using brltty</flag> <flag name='accessibility'>Adds support for braille displays using brltty</flag>
<flag name='aio'>Enables support for Linux's Async IO</flag> <flag name='aio'>Enables support for Linux's Async IO</flag>
<flag name='alsa'>Enable alsa output for sound emulation</flag> <flag name='alsa'>Enable alsa output for sound emulation</flag>
<flag name='brltty'>Adds support for braille displays using brltty</flag>
<flag name='curl'>Support ISOs / -cdrom directives vis HTTP or HTTPS.</flag> <flag name='curl'>Support ISOs / -cdrom directives vis HTTP or HTTPS.</flag>
<flag name='fdt'>Enables firmware device tree support</flag> <flag name='fdt'>Enables firmware device tree support</flag>
<flag name='glusterfs'>Enables GlusterFS cluster fileystem via <flag name='glusterfs'>Enables GlusterFS cluster fileystem via
@ -25,6 +24,7 @@
<flag name='sdl'>Enable the SDL-based console</flag> <flag name='sdl'>Enable the SDL-based console</flag>
<flag name='seccomp'>Utilize <pkg>sys-libs/libseccomp</pkg> to enable kernel filtering of system calls to prevent malicious guests from doing damage.</flag> <flag name='seccomp'>Utilize <pkg>sys-libs/libseccomp</pkg> to enable kernel filtering of system calls to prevent malicious guests from doing damage.</flag>
<flag name='spice'>Enable Spice protocol support via <pkg>app-emulation/spice</pkg></flag> <flag name='spice'>Enable Spice protocol support via <pkg>app-emulation/spice</pkg></flag>
<flag name='ssh'>Enable SSH based block device support via <pkg>net-libs/libssh2</pkg></flag>
<flag name='static-softmmu'>Builds the Software MMU (system) targets as static binaries</flag> <flag name='static-softmmu'>Builds the Software MMU (system) targets as static binaries</flag>
<flag name='static-user'>Build the User targets as static binaries</flag> <flag name='static-user'>Build the User targets as static binaries</flag>
<flag name='static'>Enables both 'static-softmmu' and 'static-user'</flag> <flag name='static'>Enables both 'static-softmmu' and 'static-user'</flag>
@ -34,6 +34,7 @@
For 1.4 and newer this also enables WebSocket support.</flag> For 1.4 and newer this also enables WebSocket support.</flag>
<flag name='jpeg'>Enable jpeg image support for the VNC console server</flag> <flag name='jpeg'>Enable jpeg image support for the VNC console server</flag>
<flag name='png'>Enable png image support for the VNC console server</flag> <flag name='png'>Enable png image support for the VNC console server</flag>
<flag name='usb'>Enable USB passthrough via <pkg>dev-libs/libusbx</pkg></flag>
<flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
devices to another machine over TCP</flag> devices to another machine over TCP</flag>
<flag name='uuid'>Enable UUID support in the vdi block driver</flag> <flag name='uuid'>Enable UUID support in the vdi block driver</flag>

View File

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.2.ebuild,v 1.6 2013/07/19 03:57:50 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.2.ebuild,v 1.7 2013/09/05 18:20:53 mgorny Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline" PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \ inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \

View File

@ -1,16 +1,16 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.5.2-r1.ebuild,v 1.1 2013/08/03 19:47:09 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.5.3.ebuild,v 1.4 2014/02/24 02:20:18 phajdan.jr Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline" PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \ inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo user udev fcaps readme.gentoo
BACKPORTS=e26b4ba6 BACKPORTS=25d93791
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git" EGIT_REPO_URI="git://git.qemu.org/qemu.git"
@ -21,7 +21,7 @@ else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2 SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+ ${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}" http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
fi fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
@ -71,7 +71,7 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] ) aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] ) caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] ) fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] <sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] ) glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] ) jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] )
@ -521,7 +521,7 @@ pkg_postinst() {
ewarn "It is recommended that you migrate any VMs that may be running" ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate" ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu." ewarn "any saved states with a newer qemu."
ewarn ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x" ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
fi fi

View File

@ -1,16 +1,16 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.5.2.ebuild,v 1.1 2013/07/27 04:14:19 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.6.0-r1.ebuild,v 1.1 2013/09/17 17:00:30 cardoe Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline" PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \ inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo user udev fcaps readme.gentoo
BACKPORTS=2d2faaeb BACKPORTS=4c9bed9d
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git" EGIT_REPO_URI="git://git.qemu.org/qemu.git"
@ -29,7 +29,8 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2" LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0" SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug fdt gtk iscsi +jpeg \ IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk iscsi +jpeg \
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \ kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \ rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \
static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \ static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \
@ -58,6 +59,10 @@ REQUIRED_USE="${REQUIRED_USE} )"
# Block USE flag configurations known to not work # Block USE flag configurations known to not work
REQUIRED_USE="${REQUIRED_USE} REQUIRED_USE="${REQUIRED_USE}
python? ( ${PYTHON_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user ) static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk ) static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
virtfs? ( xattr )" virtfs? ( xattr )"
@ -70,14 +75,15 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] ) aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] ) caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] ) fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] ) jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] )
png? ( media-libs/libpng[static-libs(+)] ) png? ( media-libs/libpng[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] ) rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] ) sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] ) seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] ) spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] ) tls? ( net-libs/gnutls[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
@ -88,13 +94,13 @@ RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] ) static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
qemu_softmmu_targets_i386? ( qemu_softmmu_targets_i386? (
>=sys-firmware/ipxe-1.0.0_p20130624 >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.2 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
qemu_softmmu_targets_x86_64? ( qemu_softmmu_targets_x86_64? (
>=sys-firmware/ipxe-1.0.0_p20130624 >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.2 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
@ -278,6 +284,7 @@ qemu_src_configure() {
conf_opts+=" --disable-curses" conf_opts+=" --disable-curses"
conf_opts+=" --disable-kvm" conf_opts+=" --disable-kvm"
conf_opts+=" --disable-libiscsi" conf_opts+=" --disable-libiscsi"
conf_opts+=" --disable-glusterfs"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" --disable-sdl" conf_opts+=" --disable-sdl"
conf_opts+=" --disable-smartcard-nss" conf_opts+=" --disable-smartcard-nss"
@ -299,10 +306,10 @@ qemu_src_configure() {
conf_opts+=" $(use_enable caps cap-ng)" conf_opts+=" $(use_enable caps cap-ng)"
conf_opts+=" $(use_enable curl)" conf_opts+=" $(use_enable curl)"
conf_opts+=" $(use_enable fdt)" conf_opts+=" $(use_enable fdt)"
conf_opts+=" $(use_enable glusterfs)"
conf_opts+=" $(use_enable iscsi libiscsi)" conf_opts+=" $(use_enable iscsi libiscsi)"
conf_opts+=" $(use_enable jpeg vnc-jpeg)" conf_opts+=" $(use_enable jpeg vnc-jpeg)"
conf_opts+=" $(use_enable kernel_linux kvm)" conf_opts+=" $(use_enable kernel_linux kvm)"
conf_opts+=" $(use_enable kernel_linux nptl)"
conf_opts+=" $(use_enable ncurses curses)" conf_opts+=" $(use_enable ncurses curses)"
conf_opts+=" $(use_enable opengl glx)" conf_opts+=" $(use_enable opengl glx)"
conf_opts+=" $(use_enable png vnc-png)" conf_opts+=" $(use_enable png vnc-png)"
@ -512,12 +519,12 @@ pkg_postinst() {
if qemu_support_kvm; then if qemu_support_kvm; then
readme.gentoo_print_elog readme.gentoo_print_elog
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created" ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
ewarn "save states will be removed in the next release (1.6.x)" ewarn "save states will be removed in the next release (1.7.x)"
ewarn ewarn
ewarn "It is recommended that you migrate any VMs that may be running" ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate" ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu." ewarn "any saved states with a newer qemu."
ewarn ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x" ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
fi fi

View File

@ -1,16 +1,16 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.2-r1.ebuild,v 1.2 2013/07/27 03:50:41 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.6.1.ebuild,v 1.1 2013/10/21 02:13:33 cardoe Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline" PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \ inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo user udev fcaps readme.gentoo
BACKPORTS=384a78f1 BACKPORTS=452f0d87
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git" EGIT_REPO_URI="git://git.qemu.org/qemu.git"
@ -29,16 +29,17 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2" LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0" SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug fdt iscsi +jpeg \ IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk iscsi +jpeg \
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \ kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \ rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \ static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs" virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32" mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb" IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus" IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
# Setup the default SoftMMU targets, while using the loops # Setup the default SoftMMU targets, while using the loops
# below to setup the other targets. # below to setup the other targets.
@ -58,8 +59,12 @@ REQUIRED_USE="${REQUIRED_USE} )"
# Block USE flag configurations known to not work # Block USE flag configurations known to not work
REQUIRED_USE="${REQUIRED_USE} REQUIRED_USE="${REQUIRED_USE}
python? ( ${PYTHON_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user ) static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl ) static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
virtfs? ( xattr )" virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. # Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
@ -70,16 +75,19 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] ) aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] ) caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] ) fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] ) jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] )
png? ( media-libs/libpng[static-libs(+)] ) png? ( media-libs/libpng[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] ) rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] ) sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] ) seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] ) spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] ) tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] ) vde? ( net-misc/vde[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] ) xattr? ( sys-apps/attr[static-libs(+)] )
@ -87,20 +95,24 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} ) RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] ) static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
qemu_softmmu_targets_i386? ( qemu_softmmu_targets_i386? (
>=sys-firmware/ipxe-1.0.0_p20130225 >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.2 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
qemu_softmmu_targets_x86_64? ( qemu_softmmu_targets_x86_64? (
>=sys-firmware/ipxe-1.0.0_p20130225 >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.2 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
accessibility? ( app-accessibility/brltty ) accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 ) alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez ) bluetooth? ( net-wireless/bluez )
gtk? (
x11-libs/gtk+:3
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi ) iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
@ -132,7 +144,8 @@ QA_PREBUILT="
usr/share/qemu/openbios-ppc usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64 usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32 usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper" usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img"
QA_WX_LOAD="usr/bin/qemu-i386 QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64 usr/bin/qemu-x86_64
@ -273,11 +286,14 @@ qemu_src_configure() {
conf_opts+=" --disable-curses" conf_opts+=" --disable-curses"
conf_opts+=" --disable-kvm" conf_opts+=" --disable-kvm"
conf_opts+=" --disable-libiscsi" conf_opts+=" --disable-libiscsi"
conf_opts+=" --disable-glusterfs"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" --disable-sdl" conf_opts+=" --disable-sdl"
conf_opts+=" --disable-smartcard-nss" conf_opts+=" --disable-smartcard-nss"
conf_opts+=" --disable-tools" conf_opts+=" --disable-tools"
conf_opts+=" --disable-vde" conf_opts+=" --disable-vde"
conf_opts+=" --disable-libssh2"
conf_opts+=" --disable-libusb"
fi fi
if [[ ${buildtype} == "softmmu" ]]; then if [[ ${buildtype} == "softmmu" ]]; then
@ -286,26 +302,30 @@ qemu_src_configure() {
conf_opts+=" --with-system-pixman" conf_opts+=" --with-system-pixman"
conf_opts+=" --target-list=${softmmu_targets}" conf_opts+=" --target-list=${softmmu_targets}"
conf_opts+=" $(use_enable bluetooth bluez)" conf_opts+=" $(use_enable bluetooth bluez)"
conf_opts+=" $(use_enable gtk)"
use gtk && conf_opts+=" --with-gtkabi=3.0"
conf_opts+=" $(use_enable sdl)" conf_opts+=" $(use_enable sdl)"
conf_opts+=" $(use_enable aio linux-aio)" conf_opts+=" $(use_enable aio linux-aio)"
conf_opts+=" $(use_enable accessibility brlapi)" conf_opts+=" $(use_enable accessibility brlapi)"
conf_opts+=" $(use_enable caps cap-ng)" conf_opts+=" $(use_enable caps cap-ng)"
conf_opts+=" $(use_enable curl)" conf_opts+=" $(use_enable curl)"
conf_opts+=" $(use_enable fdt)" conf_opts+=" $(use_enable fdt)"
conf_opts+=" $(use_enable glusterfs)"
conf_opts+=" $(use_enable iscsi libiscsi)" conf_opts+=" $(use_enable iscsi libiscsi)"
conf_opts+=" $(use_enable jpeg vnc-jpeg)" conf_opts+=" $(use_enable jpeg vnc-jpeg)"
conf_opts+=" $(use_enable kernel_linux kvm)" conf_opts+=" $(use_enable kernel_linux kvm)"
conf_opts+=" $(use_enable kernel_linux nptl)"
conf_opts+=" $(use_enable ncurses curses)" conf_opts+=" $(use_enable ncurses curses)"
conf_opts+=" $(use_enable opengl)" conf_opts+=" $(use_enable opengl glx)"
conf_opts+=" $(use_enable png vnc-png)" conf_opts+=" $(use_enable png vnc-png)"
conf_opts+=" $(use_enable rbd)" conf_opts+=" $(use_enable rbd)"
conf_opts+=" $(use_enable sasl vnc-sasl)" conf_opts+=" $(use_enable sasl vnc-sasl)"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" $(use_enable smartcard smartcard-nss)" conf_opts+=" $(use_enable smartcard smartcard-nss)"
conf_opts+=" $(use_enable spice)" conf_opts+=" $(use_enable spice)"
conf_opts+=" $(use_enable ssh libssh2)"
conf_opts+=" $(use_enable tls vnc-tls)" conf_opts+=" $(use_enable tls vnc-tls)"
conf_opts+=" $(use_enable tls vnc-ws)" conf_opts+=" $(use_enable tls vnc-ws)"
conf_opts+=" $(use_enable usb libusb)"
conf_opts+=" $(use_enable usbredir usb-redir)" conf_opts+=" $(use_enable usbredir usb-redir)"
conf_opts+=" $(use_enable uuid)" conf_opts+=" $(use_enable uuid)"
conf_opts+=" $(use_enable vde)" conf_opts+=" $(use_enable vde)"
@ -455,7 +475,7 @@ src_install() {
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/" mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/"
cd "${S}" cd "${S}"
dodoc Changelog MAINTAINERS TODO docs/specs/pci-ids.txt dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios newdoc pc-bios/README README.pc-bios
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt
@ -504,6 +524,14 @@ pkg_postinst() {
if qemu_support_kvm; then if qemu_support_kvm; then
readme.gentoo_print_elog readme.gentoo_print_elog
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
ewarn "save states will be removed in the next release (1.7.x)"
ewarn
ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu."
ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
fi fi
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid," virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"

View File

@ -1,13 +1,16 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.1.ebuild,v 1.4 2013/06/04 12:32:54 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.6.2.ebuild,v 1.1 2013/12/19 08:49:58 vapier Exp $
EAPI=5 EAPI=5
PYTHON_DEPEND="2:2.4" PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python \ PYTHON_REQ_USE="ncurses,readline"
user udev fcaps
BACKPORTS=a2231a9d inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo
BACKPORTS=
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git" EGIT_REPO_URI="git://git.qemu.org/qemu.git"
@ -15,10 +18,11 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI="" SRC_URI=""
KEYWORDS="" KEYWORDS=""
else else
SRC_URI="http://wiki.qemu-project.org/download//${P}.tar.bz2 SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+ ${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}" http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd" # Waiting for cardoe to sign off on this.
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
@ -26,16 +30,17 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2" LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0" SLOT="0"
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt iscsi +jpeg \ IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk iscsi +jpeg \
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \ kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \ rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \ static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs" virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32" mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb" IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus" IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
# Setup the default SoftMMU targets, while using the loops # Setup the default SoftMMU targets, while using the loops
# below to setup the other targets. # below to setup the other targets.
@ -45,16 +50,22 @@ for target in ${IUSE_SOFTMMU_TARGETS}; do
IUSE="${IUSE} qemu_softmmu_targets_${target}" IUSE="${IUSE} qemu_softmmu_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}" REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
done done
REQUIRED_USE="${REQUIRED_USE} )"
for target in ${IUSE_USER_TARGETS}; do for target in ${IUSE_USER_TARGETS}; do
IUSE="${IUSE} qemu_user_targets_${target}" IUSE="${IUSE} qemu_user_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
done done
REQUIRED_USE="${REQUIRED_USE} )"
# Block USE flag configurations known to not work # Block USE flag configurations known to not work
REQUIRED_USE="${REQUIRED_USE} REQUIRED_USE="${REQUIRED_USE}
python? ( ${PYTHON_REQUIRED_USE} )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user ) static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl ) static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
virtfs? ( xattr )" virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. # Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
@ -65,41 +76,48 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] ) aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] ) caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] ) fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] ) jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] )
png? ( media-libs/libpng[static-libs(+)] ) png? ( media-libs/libpng[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] ) rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] ) sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] ) seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] ) spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] ) tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] ) vde? ( net-misc/vde[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] ) xattr? ( sys-apps/attr[static-libs(+)] )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )" xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} ) RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
!app-emulation/kqemu static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
qemu_softmmu_targets_i386? ( qemu_softmmu_targets_i386? (
sys-firmware/ipxe >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.1 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
qemu_softmmu_targets_x86_64? ( qemu_softmmu_targets_x86_64? (
sys-firmware/ipxe >=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.2.1 ~sys-firmware/seabios-1.7.3
~sys-firmware/sgabios-0.1_pre8 ~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a ~sys-firmware/vgabios-0.7a
) )
accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 ) alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez ) bluetooth? ( net-wireless/bluez )
brltty? ( app-accessibility/brltty ) gtk? (
x11-libs/gtk+:3
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi ) iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
python? ( =dev-lang/python-2*[ncurses] ) python? ( ${PYTHON_DEPS} )
sdl? ( media-libs/libsdl[X] ) sdl? ( media-libs/libsdl[X] )
selinux? ( sec-policy/selinux-qemu ) selinux? ( sec-policy/selinux-qemu )
smartcard? ( dev-libs/nss !app-emulation/libcacard ) smartcard? ( dev-libs/nss !app-emulation/libcacard )
@ -110,8 +128,10 @@ RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
xen? ( app-emulation/xen-tools )" xen? ( app-emulation/xen-tools )"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig virtual/pkgconfig
doc? ( app-text/texi2html )
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 ) kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
static-softmmu? ( ${LIB_DEPEND} ) static-softmmu? ( ${LIB_DEPEND} )
test? ( test? (
@ -125,7 +145,8 @@ QA_PREBUILT="
usr/share/qemu/openbios-ppc usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64 usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32 usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper" usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img"
QA_WX_LOAD="usr/bin/qemu-i386 QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64 usr/bin/qemu-x86_64
@ -150,6 +171,15 @@ QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-s390x usr/bin/qemu-s390x
usr/bin/qemu-unicore32" usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() { qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \ use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
@ -196,20 +226,17 @@ pkg_pretend() {
} }
pkg_setup() { pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup kvm 78 enewgroup kvm 78
python_export_best
} }
src_prepare() { src_prepare() {
# Alter target makefiles to accept CFLAGS set via flag-o # Alter target makefiles to accept CFLAGS set via flag-o
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die Makefile Makefile.target || die
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
python_convert_shebangs -r 2 "${S}/scripts/kvm/vmxcap"
epatch "${FILESDIR}"/qemu-9999-cflags.patch epatch "${FILESDIR}"/qemu-9999-cflags.patch
[[ -n ${BACKPORTS} ]] && \ [[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
@ -244,7 +271,7 @@ qemu_src_configure() {
conf_opts+=" --disable-guest-agent" conf_opts+=" --disable-guest-agent"
conf_opts+=" --disable-strip" conf_opts+=" --disable-strip"
conf_opts+=" --disable-werror" conf_opts+=" --disable-werror"
conf_opts+=" --python=python2" conf_opts+=" --python=${PYTHON}"
# audio options # audio options
audio_opts="oss" audio_opts="oss"
@ -261,11 +288,14 @@ qemu_src_configure() {
conf_opts+=" --disable-curses" conf_opts+=" --disable-curses"
conf_opts+=" --disable-kvm" conf_opts+=" --disable-kvm"
conf_opts+=" --disable-libiscsi" conf_opts+=" --disable-libiscsi"
conf_opts+=" --disable-glusterfs"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" --disable-sdl" conf_opts+=" --disable-sdl"
conf_opts+=" --disable-smartcard-nss" conf_opts+=" --disable-smartcard-nss"
conf_opts+=" --disable-tools" conf_opts+=" --disable-tools"
conf_opts+=" --disable-vde" conf_opts+=" --disable-vde"
conf_opts+=" --disable-libssh2"
conf_opts+=" --disable-libusb"
fi fi
if [[ ${buildtype} == "softmmu" ]]; then if [[ ${buildtype} == "softmmu" ]]; then
@ -274,26 +304,30 @@ qemu_src_configure() {
conf_opts+=" --with-system-pixman" conf_opts+=" --with-system-pixman"
conf_opts+=" --target-list=${softmmu_targets}" conf_opts+=" --target-list=${softmmu_targets}"
conf_opts+=" $(use_enable bluetooth bluez)" conf_opts+=" $(use_enable bluetooth bluez)"
conf_opts+=" $(use_enable gtk)"
use gtk && conf_opts+=" --with-gtkabi=3.0"
conf_opts+=" $(use_enable sdl)" conf_opts+=" $(use_enable sdl)"
conf_opts+=" $(use_enable aio linux-aio)" conf_opts+=" $(use_enable aio linux-aio)"
conf_opts+=" $(use_enable brltty brlapi)" conf_opts+=" $(use_enable accessibility brlapi)"
conf_opts+=" $(use_enable caps cap-ng)" conf_opts+=" $(use_enable caps cap-ng)"
conf_opts+=" $(use_enable curl)" conf_opts+=" $(use_enable curl)"
conf_opts+=" $(use_enable fdt)" conf_opts+=" $(use_enable fdt)"
conf_opts+=" $(use_enable glusterfs)"
conf_opts+=" $(use_enable iscsi libiscsi)" conf_opts+=" $(use_enable iscsi libiscsi)"
conf_opts+=" $(use_enable jpeg vnc-jpeg)" conf_opts+=" $(use_enable jpeg vnc-jpeg)"
conf_opts+=" $(use_enable kernel_linux kvm)" conf_opts+=" $(use_enable kernel_linux kvm)"
conf_opts+=" $(use_enable kernel_linux nptl)"
conf_opts+=" $(use_enable ncurses curses)" conf_opts+=" $(use_enable ncurses curses)"
conf_opts+=" $(use_enable opengl)" conf_opts+=" $(use_enable opengl glx)"
conf_opts+=" $(use_enable png vnc-png)" conf_opts+=" $(use_enable png vnc-png)"
conf_opts+=" $(use_enable rbd)" conf_opts+=" $(use_enable rbd)"
conf_opts+=" $(use_enable sasl vnc-sasl)" conf_opts+=" $(use_enable sasl vnc-sasl)"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" $(use_enable smartcard smartcard-nss)" conf_opts+=" $(use_enable smartcard smartcard-nss)"
conf_opts+=" $(use_enable spice)" conf_opts+=" $(use_enable spice)"
conf_opts+=" $(use_enable ssh libssh2)"
conf_opts+=" $(use_enable tls vnc-tls)" conf_opts+=" $(use_enable tls vnc-tls)"
conf_opts+=" $(use_enable tls vnc-ws)" conf_opts+=" $(use_enable tls vnc-ws)"
conf_opts+=" $(use_enable usb libusb)"
conf_opts+=" $(use_enable usbredir usb-redir)" conf_opts+=" $(use_enable usbredir usb-redir)"
conf_opts+=" $(use_enable uuid)" conf_opts+=" $(use_enable uuid)"
conf_opts+=" $(use_enable vde)" conf_opts+=" $(use_enable vde)"
@ -306,12 +340,11 @@ qemu_src_configure() {
conf_opts+=" $(use_enable xfs xfsctl)" conf_opts+=" $(use_enable xfs xfsctl)"
use mixemu && conf_opts+=" --enable-mixemu" use mixemu && conf_opts+=" --enable-mixemu"
conf_opts+=" --audio-drv-list=${audio_opts}" conf_opts+=" --audio-drv-list=${audio_opts}"
conf_opts+=" --enable-migration-from-qemu-kvm"
fi fi
conf_opts+=" $(use_enable debug debug-info)" conf_opts+=" $(use_enable debug debug-info)"
conf_opts+=" $(use_enable debug debug-tcg)" conf_opts+=" $(use_enable debug debug-tcg)"
conf_opts+=" $(use_enable doc docs)" conf_opts+=" --enable-docs"
conf_opts+=" $(use_enable tci tcg-interpreter)" conf_opts+=" $(use_enable tci tcg-interpreter)"
# Add support for SystemTAP # Add support for SystemTAP
@ -390,6 +423,15 @@ src_test() {
emake -j1 check-report.html emake -j1 check-report.html
} }
qemu_python_install() {
python_domodule "${S}/QMP/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/QMP/qmp-shell"
python_doscript "${S}/QMP/qemu-ga-client"
}
src_install() { src_install() {
if [[ -n ${user_targets} ]]; then if [[ -n ${user_targets} ]]; then
cd "${S}/user-build" cd "${S}/user-build"
@ -421,17 +463,22 @@ src_install() {
elog "of the /usr/bin/qemu-kvm script." elog "of the /usr/bin/qemu-kvm script."
fi fi
use python && dobin "${S}/scripts/kvm/kvm_stat" if use python; then
use python && dobin "${S}/scripts/kvm/vmxcap" python_foreach_impl qemu_python_install
fi
fi fi
# Install config file example for qemu-bridge-helper # Install config file example for qemu-bridge-helper
insinto "/etc/qemu" insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf" doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/"
cd "${S}" cd "${S}"
dodoc Changelog MAINTAINERS TODO docs/specs/pci-ids.txt dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios newdoc pc-bios/README README.pc-bios
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt
# Remove SeaBIOS since we're using the SeaBIOS packaged one # Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin" rm "${ED}/usr/share/qemu/bios.bin"
@ -462,29 +509,30 @@ src_install() {
# Remove iPXE since we're using the iPXE packaged one # Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi fi
qemu_support_kvm && readme.gentoo_create_doc
} }
pkg_postinst() { pkg_postinst() {
local virtfs_caps= local virtfs_caps=
if qemu_support_kvm; then if qemu_support_kvm; then
elog "If you don't have kvm compiled into the kernel, make sure you have" readme.gentoo_print_elog
elog "the kernel module loaded before running kvm. The easiest way to" ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
elog "ensure that the kernel module is loaded is to load it on boot." ewarn "save states has been removed starting with the 1.6.2 release"
elog "For AMD CPUs the module is called 'kvm-amd'" ewarn
elog "For Intel CPUs the module is called 'kvm-intel'" ewarn "It is recommended that you migrate any VMs that may be running"
elog "Please review /etc/conf.d/modules for how to load these" ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
elog ewarn "any saved states with a newer qemu."
elog "Make sure your user is in the 'kvm' group" ewarn
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login." ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
elog
fi fi
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid," virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
@ -492,9 +540,6 @@ pkg_postinst() {
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
} }
pkg_info() { pkg_info() {

View File

@ -0,0 +1,556 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.7.0.ebuild,v 1.2 2014/01/19 23:04:58 cardoe Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
# Waiting for cardoe to sign off on this.
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk iscsi +jpeg \
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
# Setup the default SoftMMU targets, while using the loops
# below to setup the other targets.
REQUIRED_USE="|| ("
for target in ${IUSE_SOFTMMU_TARGETS}; do
IUSE="${IUSE} qemu_softmmu_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
done
for target in ${IUSE_USER_TARGETS}; do
IUSE="${IUSE} qemu_user_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
done
REQUIRED_USE="${REQUIRED_USE} )"
# Block USE flag configurations known to not work
REQUIRED_USE="${REQUIRED_USE}
python? ( ${PYTHON_REQUIRED_USE} )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-apps/pciutils[static-libs(+)]
sys-libs/zlib[static-libs(+)]
>=x11-libs/pixman-0.28.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] )
png? ( media-libs/libpng[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
qemu_softmmu_targets_i386? (
>=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.3.2
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
qemu_softmmu_targets_x86_64? (
>=sys-firmware/ipxe-1.0.0_p20130624
~sys-firmware/seabios-1.7.3.2
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
gtk? (
x11-libs/gtk+:3
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio )
python? ( ${PYTHON_DEPS} )
sdl? ( media-libs/libsdl[X] )
selinux? ( sec-policy/selinux-qemu )
smartcard? ( dev-libs/nss !app-emulation/libcacard )
spice? ( >=app-emulation/spice-protocol-0.12.3 )
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools )"
DEPEND="${RDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
static-softmmu? ( ${LIB_DEPEND} )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
}
pkg_setup() {
enewgroup kvm 78
python_export_best
}
src_prepare() {
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
# Fix ld and objcopy being called directly
tc-export LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function $FUNCNAME "$@"
local buildtype=$1
local builddir=$2
local conf_opts audio_opts
local static_flag="static-${buildtype}"
conf_opts="--prefix=/usr"
conf_opts+=" --sysconfdir=/etc"
conf_opts+=" --libdir=/usr/$(get_libdir)"
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
conf_opts+=" --disable-bsd-user"
conf_opts+=" --disable-guest-agent"
conf_opts+=" --disable-strip"
conf_opts+=" --disable-werror"
conf_opts+=" --python=${PYTHON}"
# audio options
audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
if [[ ${buildtype} == "user" ]]; then
conf_opts+=" --enable-linux-user"
conf_opts+=" --disable-system"
conf_opts+=" --target-list=${user_targets}"
conf_opts+=" --disable-blobs"
conf_opts+=" --disable-bluez"
conf_opts+=" --disable-curses"
conf_opts+=" --disable-kvm"
conf_opts+=" --disable-libiscsi"
conf_opts+=" --disable-glusterfs"
conf_opts+=" $(use_enable seccomp)"
conf_opts+=" --disable-sdl"
conf_opts+=" --disable-smartcard-nss"
conf_opts+=" --disable-tools"
conf_opts+=" --disable-vde"
conf_opts+=" --disable-libssh2"
conf_opts+=" --disable-libusb"
fi
if [[ ${buildtype} == "softmmu" ]]; then
conf_opts+=" --disable-linux-user"
conf_opts+=" --enable-system"
conf_opts+=" --with-system-pixman"
conf_opts+=" --target-list=${softmmu_targets}"
conf_opts+=" $(use_enable bluetooth bluez)"
conf_opts+=" $(use_enable gtk)"
use gtk && conf_opts+=" --with-gtkabi=3.0"
conf_opts+=" $(use_enable sdl)"
conf_opts+=" $(use_enable aio linux-aio)"
conf_opts+=" $(use_enable accessibility brlapi)"
conf_opts+=" $(use_enable caps cap-ng)"
conf_opts+=" $(use_enable curl)"
conf_opts+=" $(use_enable fdt)"
conf_opts+=" $(use_enable glusterfs)"
conf_opts+=" $(use_enable iscsi libiscsi)"
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
conf_opts+=" $(use_enable kernel_linux kvm)"
conf_opts+=" $(use_enable ncurses curses)"
conf_opts+=" $(use_enable opengl glx)"
conf_opts+=" $(use_enable png vnc-png)"
conf_opts+=" $(use_enable rbd)"
conf_opts+=" $(use_enable sasl vnc-sasl)"
conf_opts+=" $(use_enable seccomp)"
conf_opts+=" $(use_enable smartcard smartcard-nss)"
conf_opts+=" $(use_enable spice)"
conf_opts+=" $(use_enable ssh libssh2)"
conf_opts+=" $(use_enable tls vnc-tls)"
conf_opts+=" $(use_enable tls vnc-ws)"
conf_opts+=" $(use_enable usb libusb)"
conf_opts+=" $(use_enable usbredir usb-redir)"
conf_opts+=" $(use_enable uuid)"
conf_opts+=" $(use_enable vde)"
conf_opts+=" $(use_enable vhost-net)"
conf_opts+=" $(use_enable virtfs)"
conf_opts+=" $(use_enable vnc)"
conf_opts+=" $(use_enable xattr attr)"
conf_opts+=" $(use_enable xen)"
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
conf_opts+=" $(use_enable xfs xfsctl)"
use mixemu && conf_opts+=" --enable-mixemu"
conf_opts+=" --audio-drv-list=${audio_opts}"
fi
conf_opts+=" $(use_enable debug debug-info)"
conf_opts+=" $(use_enable debug debug-tcg)"
conf_opts+=" --enable-docs"
conf_opts+=" $(use_enable tci tcg-interpreter)"
# Add support for SystemTAP
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
# Add support for static builds
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if ! use ${static_flag} && gcc-specs-pie; then
conf_opts="${conf_opts} --enable-pie"
fi
einfo "./configure ${conf_opts}"
cd ${builddir}
../configure \
--cc="$(tc-getCC)" \
--host-cc="$(tc-getBUILD_CC)" \
${conf_opts} \
|| die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
}
src_configure() {
softmmu_targets=
user_targets=
for target in ${IUSE_SOFTMMU_TARGETS} ; do
use "qemu_softmmu_targets_${target}" && \
softmmu_targets="${softmmu_targets},${target}-softmmu"
done
for target in ${IUSE_USER_TARGETS} ; do
use "qemu_user_targets_${target}" && \
user_targets="${user_targets},${target}-linux-user"
done
[[ -n ${softmmu_targets} ]] && \
einfo "Building the following softmmu targets: ${softmmu_targets}"
[[ -n ${user_targets} ]] && \
einfo "Building the following user targets: ${user_targets}"
if [[ -n ${softmmu_targets} ]]; then
mkdir "${S}/softmmu-build"
qemu_src_configure "softmmu" "${S}/softmmu-build"
fi
if [[ -n ${user_targets} ]]; then
mkdir "${S}/user-build"
qemu_src_configure "user" "${S}/user-build"
fi
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
}
src_test() {
cd "${S}/softmmu-build"
emake -j1 check
emake -j1 check-report.html
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
if use test; then
dohtml check-report.html
fi
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use qemu_softmmu_targets_x86_64 ; then
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
ewarn "your libvirt configs or other wrappers for ${PN}"
elif use x86 || use amd64; then
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
elog "of the /usr/bin/qemu-kvm script."
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp/*.txt
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
local virtfs_caps=
if qemu_support_kvm; then
readme.gentoo_print_elog
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
ewarn "save states has been removed starting with the 1.6.2 release"
ewarn
ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu."
ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
fi
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version sys-firmware/seabios[binary]; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

View File

@ -1,23 +1,22 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.56 2013/08/04 18:28:54 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.61 2013/12/19 08:49:58 vapier Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE="ncurses,readline" PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \ inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps user udev fcaps readme.gentoo
BACKPORTS=6b5934f9 #BACKPORTS=49bdd50f
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git" EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2 inherit git-2
SRC_URI="" SRC_URI=""
KEYWORDS="" KEYWORDS=""
BACKPORTS="" # live does not need backporting
else else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2 SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+ ${BACKPORTS:+
@ -30,10 +29,11 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2" LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0" SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug fdt iscsi +jpeg \ IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk iscsi +jpeg \
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \ kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \ rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \ static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs" virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
@ -49,21 +49,25 @@ for target in ${IUSE_SOFTMMU_TARGETS}; do
IUSE="${IUSE} qemu_softmmu_targets_${target}" IUSE="${IUSE} qemu_softmmu_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}" REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
done done
REQUIRED_USE="${REQUIRED_USE} )"
for target in ${IUSE_USER_TARGETS}; do for target in ${IUSE_USER_TARGETS}; do
IUSE="${IUSE} qemu_user_targets_${target}" IUSE="${IUSE} qemu_user_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
done done
REQUIRED_USE="${REQUIRED_USE} )"
# Block USE flag configurations known to not work # Block USE flag configurations known to not work
REQUIRED_USE="${REQUIRED_USE} REQUIRED_USE="${REQUIRED_USE}
python? ( ${PYTHON_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user ) static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl ) static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
virtfs? ( xattr )" virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. # Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
# Currently, >=sys-apps/dtc-1.4.0 means -9999 as <libfdt_env.h> appeared only in git tree (after 1.3.0)
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)] LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-apps/pciutils[static-libs(+)] sys-apps/pciutils[static-libs(+)]
sys-libs/zlib[static-libs(+)] sys-libs/zlib[static-libs(+)]
@ -72,6 +76,7 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
caps? ( sys-libs/libcap-ng[static-libs(+)] ) caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] ) fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
jpeg? ( virtual/jpeg[static-libs(+)] ) jpeg? ( virtual/jpeg[static-libs(+)] )
ncurses? ( sys-libs/ncurses[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] )
png? ( media-libs/libpng[static-libs(+)] ) png? ( media-libs/libpng[static-libs(+)] )
@ -80,28 +85,34 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] ) sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] ) spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] ) tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] ) vde? ( net-misc/vde[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] ) xattr? ( sys-apps/attr[static-libs(+)] )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )" xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} ) RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
!app-emulation/kqemu static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
qemu_softmmu_targets_i386? ( qemu_softmmu_targets_i386? (
sys-firmware/ipxe >=sys-firmware/ipxe-1.0.0_p20130624
sys-firmware/seabios sys-firmware/seabios
sys-firmware/sgabios sys-firmware/sgabios
sys-firmware/vgabios sys-firmware/vgabios
) )
qemu_softmmu_targets_x86_64? ( qemu_softmmu_targets_x86_64? (
sys-firmware/ipxe >=sys-firmware/ipxe-1.0.0_p20130624
sys-firmware/seabios sys-firmware/seabios
sys-firmware/sgabios sys-firmware/sgabios
sys-firmware/vgabios sys-firmware/vgabios
) )
accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 ) alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez ) bluetooth? ( net-wireless/bluez )
accessibility? ( app-accessibility/brltty ) gtk? (
x11-libs/gtk+:3
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi ) iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
@ -116,8 +127,9 @@ RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
xen? ( app-emulation/xen-tools )" xen? ( app-emulation/xen-tools )"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-text/texi2html dev-lang/perl
=dev-lang/python-2* =dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 ) kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
static-softmmu? ( ${LIB_DEPEND} ) static-softmmu? ( ${LIB_DEPEND} )
@ -158,6 +170,15 @@ QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-s390x usr/bin/qemu-s390x
usr/bin/qemu-unicore32" usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() { qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \ use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
@ -211,10 +232,11 @@ pkg_setup() {
src_prepare() { src_prepare() {
# Alter target makefiles to accept CFLAGS set via flag-o # Alter target makefiles to accept CFLAGS set via flag-o
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die Makefile Makefile.target || die
epatch "${FILESDIR}"/qemu-9999-cflags.patch epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
[[ -n ${BACKPORTS} ]] && \ [[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch epatch
@ -265,11 +287,14 @@ qemu_src_configure() {
conf_opts+=" --disable-curses" conf_opts+=" --disable-curses"
conf_opts+=" --disable-kvm" conf_opts+=" --disable-kvm"
conf_opts+=" --disable-libiscsi" conf_opts+=" --disable-libiscsi"
conf_opts+=" --disable-glusterfs"
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" --disable-sdl" conf_opts+=" --disable-sdl"
conf_opts+=" --disable-smartcard-nss" conf_opts+=" --disable-smartcard-nss"
conf_opts+=" --disable-tools" conf_opts+=" --disable-tools"
conf_opts+=" --disable-vde" conf_opts+=" --disable-vde"
conf_opts+=" --disable-libssh2"
conf_opts+=" --disable-libusb"
fi fi
if [[ ${buildtype} == "softmmu" ]]; then if [[ ${buildtype} == "softmmu" ]]; then
@ -278,12 +303,15 @@ qemu_src_configure() {
conf_opts+=" --with-system-pixman" conf_opts+=" --with-system-pixman"
conf_opts+=" --target-list=${softmmu_targets}" conf_opts+=" --target-list=${softmmu_targets}"
conf_opts+=" $(use_enable bluetooth bluez)" conf_opts+=" $(use_enable bluetooth bluez)"
conf_opts+=" $(use_enable gtk)"
use gtk && conf_opts+=" --with-gtkabi=3.0"
conf_opts+=" $(use_enable sdl)" conf_opts+=" $(use_enable sdl)"
conf_opts+=" $(use_enable aio linux-aio)" conf_opts+=" $(use_enable aio linux-aio)"
conf_opts+=" $(use_enable accessibility brlapi)" conf_opts+=" $(use_enable accessibility brlapi)"
conf_opts+=" $(use_enable caps cap-ng)" conf_opts+=" $(use_enable caps cap-ng)"
conf_opts+=" $(use_enable curl)" conf_opts+=" $(use_enable curl)"
conf_opts+=" $(use_enable fdt)" conf_opts+=" $(use_enable fdt)"
conf_opts+=" $(use_enable glusterfs)"
conf_opts+=" $(use_enable iscsi libiscsi)" conf_opts+=" $(use_enable iscsi libiscsi)"
conf_opts+=" $(use_enable jpeg vnc-jpeg)" conf_opts+=" $(use_enable jpeg vnc-jpeg)"
conf_opts+=" $(use_enable kernel_linux kvm)" conf_opts+=" $(use_enable kernel_linux kvm)"
@ -295,8 +323,10 @@ qemu_src_configure() {
conf_opts+=" $(use_enable seccomp)" conf_opts+=" $(use_enable seccomp)"
conf_opts+=" $(use_enable smartcard smartcard-nss)" conf_opts+=" $(use_enable smartcard smartcard-nss)"
conf_opts+=" $(use_enable spice)" conf_opts+=" $(use_enable spice)"
conf_opts+=" $(use_enable ssh libssh2)"
conf_opts+=" $(use_enable tls vnc-tls)" conf_opts+=" $(use_enable tls vnc-tls)"
conf_opts+=" $(use_enable tls vnc-ws)" conf_opts+=" $(use_enable tls vnc-ws)"
conf_opts+=" $(use_enable usb libusb)"
conf_opts+=" $(use_enable usbredir usb-redir)" conf_opts+=" $(use_enable usbredir usb-redir)"
conf_opts+=" $(use_enable uuid)" conf_opts+=" $(use_enable uuid)"
conf_opts+=" $(use_enable vde)" conf_opts+=" $(use_enable vde)"
@ -309,7 +339,6 @@ qemu_src_configure() {
conf_opts+=" $(use_enable xfs xfsctl)" conf_opts+=" $(use_enable xfs xfsctl)"
use mixemu && conf_opts+=" --enable-mixemu" use mixemu && conf_opts+=" --enable-mixemu"
conf_opts+=" --audio-drv-list=${audio_opts}" conf_opts+=" --audio-drv-list=${audio_opts}"
#conf_opts+=" --enable-migration-from-qemu-kvm"
fi fi
conf_opts+=" $(use_enable debug debug-info)" conf_opts+=" $(use_enable debug debug-info)"
@ -394,12 +423,12 @@ src_test() {
} }
qemu_python_install() { qemu_python_install() {
python_domodule "${S}/QMP/qmp.py" python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat" python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap" python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/QMP/qmp-shell" python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/QMP/qemu-ga-client" python_doscript "${S}/scripts/qmp/qemu-ga-client"
} }
src_install() { src_install() {
@ -443,12 +472,12 @@ src_install() {
doins "${FILESDIR}/bridge.conf" doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt # Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/" mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}" cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios newdoc pc-bios/README README.pc-bios
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt dodoc docs/qmp/*.txt
# Remove SeaBIOS since we're using the SeaBIOS packaged one # Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin" rm "${ED}/usr/share/qemu/bios.bin"
@ -479,29 +508,30 @@ src_install() {
# Remove iPXE since we're using the iPXE packaged one # Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi fi
qemu_support_kvm && readme.gentoo_create_doc
} }
pkg_postinst() { pkg_postinst() {
local virtfs_caps= local virtfs_caps=
if qemu_support_kvm; then if qemu_support_kvm; then
elog "If you don't have kvm compiled into the kernel, make sure you have" readme.gentoo_print_elog
elog "the kernel module loaded before running kvm. The easiest way to" ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
elog "ensure that the kernel module is loaded is to load it on boot." ewarn "save states has been removed starting with the 1.6.2 release"
elog "For AMD CPUs the module is called 'kvm-amd'" ewarn
elog "For Intel CPUs the module is called 'kvm-intel'" ewarn "It is recommended that you migrate any VMs that may be running"
elog "Please review /etc/conf.d/modules for how to load these" ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
elog ewarn "any saved states with a newer qemu."
elog "Make sure your user is in the 'kvm' group" ewarn
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login." ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
elog
fi fi
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid," virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
@ -509,9 +539,6 @@ pkg_postinst() {
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
} }
pkg_info() { pkg_info() {

View File

@ -1,6 +1,17 @@
# ChangeLog for sys-firmware/ipxe # ChangeLog for sys-firmware/ipxe
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.12 2013/07/04 12:25:59 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.15 2013/11/07 15:48:40 cardoe Exp $
*ipxe-1.0.0_p20130925 (07 Nov 2013)
07 Nov 2013; Doug Goldstein <cardoe@gentoo.org> +ipxe-1.0.0_p20130925.ebuild:
Fix issue with register clobbering and gcc 4.8. bug #487254
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> ipxe-1.0.0_p20130624.ebuild:
Stable for x86, wrt bug #483770
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> ipxe-1.0.0_p20130624.ebuild:
Stable for amd64, wrt bug #483770
04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> ipxe-1.0.0_p20130225.ebuild: 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> ipxe-1.0.0_p20130225.ebuild:
Stable for x86, wrt bug #475110 Stable for x86, wrt bug #475110

View File

@ -1,28 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512 Hash: SHA256
DIST e6427b7ee117ea4af0812bb13b57999bccd8e058.tar.bz2 2198003 SHA256 008a80b80a8b19ef6963581b5599880d51171aad13f96690589cbc0fa895eaf3 SHA512 8456ef3c27f3f4de827ae4c744cbe2eaacb96cf703a5525f490c53ac26ed597635acb744a50607d733d7bd5014dcbbb333f74da8fe68fddca19e11d047377d73 WHIRLPOOL 814cda89fa52afec2b1a8811407ce3b361c1d7548e40255fdffda2bd0fbb8485352575f19b6935de50582a97c31758cd9bcc2194cb2b222b89313868a032a828 DIST e6427b7ee117ea4af0812bb13b57999bccd8e058.tar.bz2 2198003 SHA256 008a80b80a8b19ef6963581b5599880d51171aad13f96690589cbc0fa895eaf3 SHA512 8456ef3c27f3f4de827ae4c744cbe2eaacb96cf703a5525f490c53ac26ed597635acb744a50607d733d7bd5014dcbbb333f74da8fe68fddca19e11d047377d73 WHIRLPOOL 814cda89fa52afec2b1a8811407ce3b361c1d7548e40255fdffda2bd0fbb8485352575f19b6935de50582a97c31758cd9bcc2194cb2b222b89313868a032a828
DIST ipxe-1.0.0_p20130225-09c5109.tar.bz2 2208235 SHA256 58fd3470c4807c7206550badbc709c9a48af201b4bfa629379143b21426189fa SHA512 74b72a336ee4874ee134fe2bfa8540a864ddd169e09a7d6dfa688624f674962ea33f01bb287b90fda0cdfe5bf4d38e49362934c22a2da932dd3e4c702ebd56dc WHIRLPOOL fad62b8d15bb67ab194954671ae9e1cfa0df06c2d237b9312994ecaf440f0bb22b72ba28824ee8a13c19fe90f8bd3b2847a80d93da5f10368b096cdfa8230a06 DIST ipxe-1.0.0_p20130225-09c5109.tar.bz2 2208235 SHA256 58fd3470c4807c7206550badbc709c9a48af201b4bfa629379143b21426189fa SHA512 74b72a336ee4874ee134fe2bfa8540a864ddd169e09a7d6dfa688624f674962ea33f01bb287b90fda0cdfe5bf4d38e49362934c22a2da932dd3e4c702ebd56dc WHIRLPOOL fad62b8d15bb67ab194954671ae9e1cfa0df06c2d237b9312994ecaf440f0bb22b72ba28824ee8a13c19fe90f8bd3b2847a80d93da5f10368b096cdfa8230a06
DIST ipxe-1.0.0_p20130624-936134e.tar.bz2 2230605 SHA256 bbf9435515a481ab4e5bfc4e49d5eeb005b60169bad3db269e31228fafbb7bbc SHA512 8a1332794acd0db7bf485bfc2c1c52b4e7e5545e5cc1e4e39bbe6f190a684682613b063cc5c31c94d7715fa07555a851f04abb45e604325c0bb4ab73526df0c9 WHIRLPOOL 1338fc4f8bf69a98713d72ad0a8749bc53e42d99c8088e5536b78001d0f738dcc8aaa537cce7dcb5f4f66818880b936c964fc6bed8ff00e674cf400da9521f5b DIST ipxe-1.0.0_p20130624-936134e.tar.bz2 2230605 SHA256 bbf9435515a481ab4e5bfc4e49d5eeb005b60169bad3db269e31228fafbb7bbc SHA512 8a1332794acd0db7bf485bfc2c1c52b4e7e5545e5cc1e4e39bbe6f190a684682613b063cc5c31c94d7715fa07555a851f04abb45e604325c0bb4ab73526df0c9 WHIRLPOOL 1338fc4f8bf69a98713d72ad0a8749bc53e42d99c8088e5536b78001d0f738dcc8aaa537cce7dcb5f4f66818880b936c964fc6bed8ff00e674cf400da9521f5b
DIST ipxe-1.0.0_p20130925-cba22d3.tar.bz2 2240189 SHA256 c9c819bac8a925aad30ac88a23a86dd5591a9c31846058e77465d05551fc6189 SHA512 a098d3fc0f68067be281b9c3654bb1b0be1b9d397327b55b36b17e69faf03ce6117d0278552c06990a5020e4ece7acac168d975b3c7bfce3b6865dea1fd1d8dd WHIRLPOOL 11442ea81032b4c9c00d3c1346761163cbcf2db2bc957bfbaba74c7f9109136bf5334e26752f9d10a8ed0f093ae39fd28e4152d522aa4dd86e4d1c05695d7d3a
EBUILD ipxe-1.0.0_p20120905.ebuild 1736 SHA256 6f5fa565d43bee60cc94023f93e21cb5e5d2247d2740d477014ca70d13434429 SHA512 7ee3a59899941bb80cfbad7b0c09301bcd2b0fdc070382a77fa46972451b4abdd0a9085ff09231b18c69ffff6a94806845e149e7b1512bd52a91ebffd5f8fe6b WHIRLPOOL 3449f9f7a0e0c58de80adf05a02bdc1d4151a353e561c000b0ca4ba2c78bb51b3b447995db62cc82a67492712a13c2f68560c96da1ea558c0eac6a63e930ee3f EBUILD ipxe-1.0.0_p20120905.ebuild 1736 SHA256 6f5fa565d43bee60cc94023f93e21cb5e5d2247d2740d477014ca70d13434429 SHA512 7ee3a59899941bb80cfbad7b0c09301bcd2b0fdc070382a77fa46972451b4abdd0a9085ff09231b18c69ffff6a94806845e149e7b1512bd52a91ebffd5f8fe6b WHIRLPOOL 3449f9f7a0e0c58de80adf05a02bdc1d4151a353e561c000b0ca4ba2c78bb51b3b447995db62cc82a67492712a13c2f68560c96da1ea558c0eac6a63e930ee3f
EBUILD ipxe-1.0.0_p20130225.ebuild 1923 SHA256 c6f6e5928b38f5848b101d4bf1135abdd628cf5c9c30fee567d3bde595917c2a SHA512 20b13e4750ef7a79cde0751225b8286e3498cf69799d7553e02d94ab40ec745ca355813424cc7dce24862fdc8c2a188a1a0671676953911d3917656c0330396c WHIRLPOOL 6e6a26b99522ea58144cf8a4ab3ce6389138866b692daabd6735e90ee5d0b7f69772de22874421771bf57eb55899509598843722ca3923f06cce7f3d47d2e6c4 EBUILD ipxe-1.0.0_p20130225.ebuild 1923 SHA256 c6f6e5928b38f5848b101d4bf1135abdd628cf5c9c30fee567d3bde595917c2a SHA512 20b13e4750ef7a79cde0751225b8286e3498cf69799d7553e02d94ab40ec745ca355813424cc7dce24862fdc8c2a188a1a0671676953911d3917656c0330396c WHIRLPOOL 6e6a26b99522ea58144cf8a4ab3ce6389138866b692daabd6735e90ee5d0b7f69772de22874421771bf57eb55899509598843722ca3923f06cce7f3d47d2e6c4
EBUILD ipxe-1.0.0_p20130624.ebuild 2340 SHA256 b402f4073f82cc33174f5bd5a06bfe5c33f4c539644d0f41c478b20781abe16f SHA512 c76d6b0ce5ac254526ce63cffbb6bea03a195972cdee9598107299ab5092ce1e12d6c5534ce8de35f66df054e82be3710e7169da98a7cf71eb306ea79921c503 WHIRLPOOL 50348f4b64f7c672d2d77a305b427600fbeca00e919540273935e5144633684f8518ef1edd61c3f450b029152a17ac5fb3c58e07012393a75ff34a71af0c2e7a EBUILD ipxe-1.0.0_p20130624.ebuild 2335 SHA256 9476a77b583cddea480c042a09a0c0bb4f598ad7be371f57dc536fd82c8fe15d SHA512 d3731dd9f31e8782d95d3b2279699f31cb8d0f6ce0c9694f970d9b0db9d86023346840c5a3b2b58e1d58c635cffcf108cb7d9d8ce7d5dbf21a522ccb88e1219f WHIRLPOOL 2a82f85e809e7866ad2368760c96b624a02f08e0e6ad8de207dd7f5ec047f544b825949e749b63146258aff545aa442a916aa88d997edfdc80a03ce33ff05674
MISC ChangeLog 2142 SHA256 c140d11e2d9dfc8b074b46dd27e17ea203ac82ff8ac4f38fe979224cd2084919 SHA512 aea497e7633883a81ded6d3e5206a2f4c69522c3d33a90f177efc37435a29f81c208b590ed87c836743c1c55c745e81282e9f5106444285500b10f3a64564213 WHIRLPOOL 73dee7b659b066e2212cabc987363e7318e463eeb2a5ad5997cb079fa497a8da66c9e5abf47625712db398bb046db9dd947a3d50bebc1fa787813e26975ee98c EBUILD ipxe-1.0.0_p20130925.ebuild 2340 SHA256 6f81532f345c1733b3194622125448df9464b94877f9aed032409badd173ba31 SHA512 5b09e65f882d5b27f1afce83615c1b1fe56e651a596b37d1ce12eb6f397c773ac25099eabc3c86b14405da4eec262840bef8880c586ee54e22cc6cd72f52880a WHIRLPOOL 7e840c9bcbcff3f48aced69de22cc43473b15a1cf14d70eac0333b789fac2c0bb987f92bfbf84d45d752644c64f86efe5784b2d206704f4993771486cb4bb6df
MISC ChangeLog 2553 SHA256 9fd618510103b6478b7513ea1dfcff0049f29c0968a65a86213f6cdefbbe282a SHA512 9fe766945b8f6b149793cd1cedea63a4a05fe27c1cfb93f67342c403c4c3a36bac66d6399e9a140c520b587213bb30ad63ad8eb80aab360ea1722cc82b8ef89b WHIRLPOOL 6167d053fbf2cc32bbadeb3094b47ca45ce3b07586f1a426832adc8aba2147f9a5de228153501b055644724f73df8e6e3864b4daadbb2caa534cfaf24d9027dc
MISC metadata.xml 691 SHA256 f0f4dc35384ae2bbc0e938812ae3ec259c490e101fe978e2a7cc8ce8eb3d6a7b SHA512 1e1063f205a4a284224e229fa675f6eb83f03ee80c3874198740da15744961664c3f6fe0ec6c1211dcabfe1204bc92ec355b98075c5d626c3493bfbc7de08ae7 WHIRLPOOL 435dfad45383449b30a12b1caf484f05b39102d5132c9dd5573fddb84cfa2c987e6db700b0bc656e821cbc7fde5b04af5504fd367d665027b7eeef06853ff413 MISC metadata.xml 691 SHA256 f0f4dc35384ae2bbc0e938812ae3ec259c490e101fe978e2a7cc8ce8eb3d6a7b SHA512 1e1063f205a4a284224e229fa675f6eb83f03ee80c3874198740da15744961664c3f6fe0ec6c1211dcabfe1204bc92ec355b98075c5d626c3493bfbc7de08ae7 WHIRLPOOL 435dfad45383449b30a12b1caf484f05b39102d5132c9dd5573fddb84cfa2c987e6db700b0bc656e821cbc7fde5b04af5504fd367d665027b7eeef06853ff413
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux) Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCgAGBQJR1WnYAAoJELp701BxlEWfyHkQAJaQl+rSRuSJZqn/SbZ2AoMF iQF8BAEBCABmBQJSe7ZdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
2IBKjmjcs7t0kD71dHq/oIJJs2UqH65ZSTGA626PminMq+zc6+NHMU6Gm+PMLEqY ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDMDRGNEJFMDZEQTJGRUY3NkI4MEM3NTlE
P1CNlihHTkZrMMmSyRNbBQ/m/6Pab3fQnzlLVX4TQ3QDc4mqzmBCt5RDqS5YE+zf N0RGQThEMzE4RkE5QUVGAAoJENffqNMY+prvfjEH/3NCXXNqnUKpOrtadsYlmuPB
FmD2/PKVbMvTwqDxeaJ9XrHGY0wHvNf5AS21shscCCvhU9JZQI35dRFqS4IS6gUO 8uj3wonH5slwMwbkJNthK+ri41nrOEnL8hQbHOZtiID/XT1vnS9XNMZ6jgoDo3fe
QLhArGMz296ihXR82dg2r51KvKVR9ClM9I7B6c/zbqRWxqzWRZVgI0e6+stsEU5c U+U9n4NiQkKoisgYYlN4qT6q2lKlOCSt0LNcsXtPwqdVvBOxLYa7GxQqaYYmMGv8
sT28g2s3t4hnPRfueZ1xBg1U+PqzebrpXA4H3X5IqgQtL3SGUh4dzjRuiWFV4m9V UmnNDTaEqDt6BqcXrACpuUsepfzAi7DGPHS50Y+6eEpQPbaIonlMkOPiAxslsXch
AptUWewTg9fOSH1t3aYwgXE5KAbh5Jw4bc90iFtz9eqGceb/NCkWRAh0puRD6W8G R6JGJ94+1bGzBZY9oHn/k0Fvq1lPvmKAiQDgYLeOegFcjZKciSsWMUv9MGpPVFjH
ScoNha0CNSdRSFjZOHqaGEy+venBCJSxqj6dMPG1y0B755kWFQB2L6lH29PW8HaS zntq1qNPg9ZDxFnNH/qym7j086NIjv2SFbNVusd/OJmEpfqZKOFAcPT60pOkwdM=
41i+nkpolt8VjVqhmiOqgjqjw641daMIO2unZUN8/83xsTxxfxKpmoqFwL2vnCKR =kBxi
H6K3Keny+/rWkSikBaQxjTd3/3qGWz//BF3SEf2FoZZwnFWJCc3foYdZbO91O6ph
bK5jY5ui1j3cstYTZi4Tcu2ViZ1WvfRd/nV6vBgBEkUIfY1qnx15Ic6PDH35OeQk
CxrBij/uzLPcarvW4ZKz
=TMBx
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild,v 1.5 2013/06/30 02:29:33 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild,v 1.7 2013/09/06 16:11:44 ago Exp $
EAPI=5 EAPI=5
@ -15,7 +15,7 @@ SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="amd64 x86"
IUSE="iso +qemu undi usb vmware" IUSE="iso +qemu undi usb vmware"
DEPEND="sys-devel/make DEPEND="sys-devel/make

View File

@ -0,0 +1,100 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild,v 1.1 2013/11/07 15:48:40 cardoe Exp $
EAPI=5
inherit toolchain-funcs
GIT_REV="cba22d36b77da53890bd65fdadd0e63925687af0"
GIT_SHORT="cba22d3"
DESCRIPTION="Open source network boot (PXE) firmware"
HOMEPAGE="http://ipxe.org"
SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="iso +qemu undi usb vmware"
DEPEND="sys-devel/make
dev-lang/perl
sys-libs/zlib
iso? (
sys-boot/syslinux
virtual/cdrtools
)"
RDEPEND=""
S="${WORKDIR}/ipxe-${GIT_SHORT}/src"
pkg_setup() {
local myld=$(tc-getLD)
${myld} -v | grep -q "GNU gold" && \
ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
}
src_prepare() {
cat <<-EOF > "${S}"/config/local/general.h
#undef BANNER_TIMEOUT
#define BANNER_TIMEOUT 0
EOF
if use vmware; then
cat <<-EOF >> "${S}"/config/local/general.h
#define VMWARE_SETTINGS
#define CONSOLE_VMWARE
EOF
fi
}
src_compile() {
ipxemake() {
# Q='' makes the build verbose since that's what everyone loves now
emake Q='' \
CC=$(tc-getCC) \
LD="$(tc-getLD).bfd" \
AR=$(tc-getAR) \
OBJCOPY=$(tc-getOBJCOPY) \
RANLIB=$(tc-getRANLIB) \
OBJDUMP=$(tc-getPROG OBJDUMP objdump) \
HOST_CC=$(tc-getBUILD_CC) \
${*}
}
export NO_WERROR=1
if use qemu; then
ipxemake bin/808610de.rom # pxe-e1000.rom (old)
ipxemake bin/8086100e.rom # pxe-e1000.rom
ipxemake bin/80861209.rom # pxe-eepro100.rom
ipxemake bin/10500940.rom # pxe-ne2k_pci.rom
ipxemake bin/10222000.rom # pxe-pcnet.rom
ipxemake bin/10ec8139.rom # pxe-rtl8139.rom
ipxemake bin/1af41000.rom # pxe-virtio.rom
fi
if use vmware; then
ipxemake bin/8086100f.mrom # e1000
ipxemake bin/808610d3.mrom # e1000e
ipxemake bin/10222000.mrom # vlance
ipxemake bin/15ad07b0.rom # vmxnet3
fi
use iso && ipxemake bin/ipxe.iso
use undi && ipxemake bin/undionly.kpxe
use usb && ipxemake bin/ipxe.usb
}
src_install() {
insinto /usr/share/ipxe/
if use qemu || use vmware; then
doins bin/*.rom
fi
use vmware && doins bin/*.mrom
use iso && doins bin/*.iso
use undi && doins bin/*.kpxe
use usb && doins bin/*.usb
}

View File

@ -1,6 +1,32 @@
# ChangeLog for sys-firmware/seabios # ChangeLog for sys-firmware/seabios
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v 1.20 2013/07/28 09:27:54 jcallen Exp $ # $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v 1.27 2014/01/19 23:01:55 cardoe Exp $
*seabios-1.7.3.2 (19 Jan 2014)
19 Jan 2014; Doug Goldstein <cardoe@gentoo.org> +seabios-1.7.3.2.ebuild:
Version bump. The pre-built version is the binary shipped with qemu-1.7.0.
31 Dec 2013; Mike Gilbert <floppym@gentoo.org> seabios-1.7.3.ebuild:
Call python-any-r1_pkg_setup to avoid breaking binpkgs.
31 Dec 2013; Mike Gilbert <floppym@gentoo.org> seabios-1.7.3.ebuild:
Don't call python_setup if USE=binary, bug 496590.
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> seabios-1.7.2.2.ebuild:
Stable for x86, wrt bug #484686
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> seabios-1.7.2.2.ebuild:
Stable for amd64, wrt bug #484686
27 Aug 2013; Doug Goldstein <cardoe@gentoo.org> seabios-1.7.3.ebuild:
Attempt to utilize toolchain functions rather than having it use the defaults.
*seabios-1.7.3 (20 Aug 2013)
20 Aug 2013; Doug Goldstein <cardoe@gentoo.org> +seabios-1.7.3.ebuild,
seabios-1.7.2.2.ebuild:
Add initial SeaBIOS 1.7.3
28 Jul 2013; Jonathan Callen <jcallen@gentoo.org> seabios-1.7.2.2.ebuild: 28 Jul 2013; Jonathan Callen <jcallen@gentoo.org> seabios-1.7.2.2.ebuild:
Add missing python dependency, switch to using python-any-r1 as it is usually Add missing python dependency, switch to using python-any-r1 as it is usually

View File

@ -5,6 +5,8 @@ DIST bios.bin-1.7.1.gz 69911 SHA256 faf2385918ca5b7866b23a30a566334a2d9b70f9c0bf
DIST bios.bin-1.7.2.1.gz 71961 SHA256 b76824976a43a4379dbdd676b153e762b4e9f0097441a31d70e18c9acc1cae06 SHA512 1e66fec890842b48d11bcb81b63a0b04e3ffca2e1285c356430944819407eb08dc85c50cddab1459a8f94ec1d4492f15207f98ee30263417c47bfd31b8f2a7f1 WHIRLPOOL fc278ccb3763342ab2fc5e1e8fdf05650cc87f23f7620e148ee93918913c2e217b8246e33c1940bf812bbf262180722acbc1ad415c681f3e15409f92b637e510 DIST bios.bin-1.7.2.1.gz 71961 SHA256 b76824976a43a4379dbdd676b153e762b4e9f0097441a31d70e18c9acc1cae06 SHA512 1e66fec890842b48d11bcb81b63a0b04e3ffca2e1285c356430944819407eb08dc85c50cddab1459a8f94ec1d4492f15207f98ee30263417c47bfd31b8f2a7f1 WHIRLPOOL fc278ccb3763342ab2fc5e1e8fdf05650cc87f23f7620e148ee93918913c2e217b8246e33c1940bf812bbf262180722acbc1ad415c681f3e15409f92b637e510
DIST bios.bin-1.7.2.2.gz 71896 SHA256 c285c3f6c6819ded8e536d2719e28d1840f50730bc4ef790125cc905c91b0416 SHA512 f14a66733a8806d3d12dc3e58dd0969172f1aef9c3826f2b6e87b805cb789cbea7d1e766e8b0e0f1d729e30def575f0ed6515a702ef709e932e78f7e87279db9 WHIRLPOOL 1e9748c768bbc9886e60cb3d6ad091e0193b3e2f9e44867d30bc2270126e8087f04911ab7c9788d3107c067d9ad4929b9a7e9f5fc18e4baa53416a21fbd184d0 DIST bios.bin-1.7.2.2.gz 71896 SHA256 c285c3f6c6819ded8e536d2719e28d1840f50730bc4ef790125cc905c91b0416 SHA512 f14a66733a8806d3d12dc3e58dd0969172f1aef9c3826f2b6e87b805cb789cbea7d1e766e8b0e0f1d729e30def575f0ed6515a702ef709e932e78f7e87279db9 WHIRLPOOL 1e9748c768bbc9886e60cb3d6ad091e0193b3e2f9e44867d30bc2270126e8087f04911ab7c9788d3107c067d9ad4929b9a7e9f5fc18e4baa53416a21fbd184d0
DIST bios.bin-1.7.2.gz 71796 SHA256 e0b0b4b08745a9ef89ebdbea5e252ce2c6a5f7659085a4c429ec1597282c5c73 SHA512 ea845bdd0eb51891c343215fc8449284a29b440689673a067fa7ca4cb5f21dde662cc948becc27a1ef44043a9acb0a2c5f62077f8c5898744ee11ee2377f1d6e WHIRLPOOL 89aa58d18b9dfc77d697ca8259d37939b68d1099ea189dccd0316bed1dd589b2162477708307dfa52e66f675d4c77cb8fcb1ddc367ab8d37ad4d8d375629bc2b DIST bios.bin-1.7.2.gz 71796 SHA256 e0b0b4b08745a9ef89ebdbea5e252ce2c6a5f7659085a4c429ec1597282c5c73 SHA512 ea845bdd0eb51891c343215fc8449284a29b440689673a067fa7ca4cb5f21dde662cc948becc27a1ef44043a9acb0a2c5f62077f8c5898744ee11ee2377f1d6e WHIRLPOOL 89aa58d18b9dfc77d697ca8259d37939b68d1099ea189dccd0316bed1dd589b2162477708307dfa52e66f675d4c77cb8fcb1ddc367ab8d37ad4d8d375629bc2b
DIST bios.bin-1.7.3.2.gz 72910 SHA256 a0d1fb258982d4198f070f5727b95835fb2552c836df129df1c253237d9a9f5a SHA512 95eb695ddbfcba7d18c9dffb6c1591f7866df531c75baad0e04f93af576be9aa4860812c5b43296e2f0ca056311e7d7c2c4c2b6ac7f0a345de2ae9021be52c62 WHIRLPOOL af9f1672399f0f663d620b233cb7bf35069934f5d3878d31f664d565755b291bb96c058a9ce455c653b32a87daba8c3f8f0cda8d6c7f4388870846009af0c293
DIST bios.bin-1.7.3.gz 73205 SHA256 e6862230581ff6e0838f2a708a5aaa6c34000bce025138ca449a0931ebc0604f SHA512 ea9d1d105fda72d5e277dbde3270c9b98d8d0b73333c1fc721882032a22aea7e1c5b59086a316da51e3e7cd15cd7f2f16b84dcd5d5821e68c1ce234c7e626900 WHIRLPOOL 53cec110016191dff4b44eef587b608f34bc63532d27b78adf224f379e8a822b319d3523004f56b63faf1396b8e9aedcf1cce2532325c6d663ed782a26f875dc
DIST seabios-1.6.3.tar.gz 438403 SHA256 7bca2e6a0972f16dd238d1ead2f4d12d38dc56e1801237c1205f902d5ea4c799 SHA512 c54991c4250339d04f00600f7b27528d7e31e10032c093409ebb9b0740edf7f179f9b7620f7e77413db51ee27381c40645bddf2550ae450805599cbe8ecbb335 WHIRLPOOL a0d99ceb4b024ed88ae91a2743ec65a0019e2641ac3430592b1204895b24a27e8ae8fe4d9c48ebd13c02eea2b110b8a5bd693a5f7fb603588329a1fa928e89bb DIST seabios-1.6.3.tar.gz 438403 SHA256 7bca2e6a0972f16dd238d1ead2f4d12d38dc56e1801237c1205f902d5ea4c799 SHA512 c54991c4250339d04f00600f7b27528d7e31e10032c093409ebb9b0740edf7f179f9b7620f7e77413db51ee27381c40645bddf2550ae450805599cbe8ecbb335 WHIRLPOOL a0d99ceb4b024ed88ae91a2743ec65a0019e2641ac3430592b1204895b24a27e8ae8fe4d9c48ebd13c02eea2b110b8a5bd693a5f7fb603588329a1fa928e89bb
DIST seabios-1.7.0-bins.tar.xz 59756 SHA256 e444725b5e64e96cfd086560250d6931b085d2c5be014b4fb3227a4e317766d4 SHA512 b47ec7847d8ea8b80ce1658bdca3644570f3c640d380bdd2ac531de652ece83c052f35407b34f96274ff490c0b88ee194c388377c22364f8d7da3813bbc2bf44 WHIRLPOOL d91b8e1c179b0ff294974e954a5a5f6ce7d7470d00754ac6cc1492413df526eb23ff7dd715ef38ed32970f76afe656d0edec8fe90a3434c498105046322663c6 DIST seabios-1.7.0-bins.tar.xz 59756 SHA256 e444725b5e64e96cfd086560250d6931b085d2c5be014b4fb3227a4e317766d4 SHA512 b47ec7847d8ea8b80ce1658bdca3644570f3c640d380bdd2ac531de652ece83c052f35407b34f96274ff490c0b88ee194c388377c22364f8d7da3813bbc2bf44 WHIRLPOOL d91b8e1c179b0ff294974e954a5a5f6ce7d7470d00754ac6cc1492413df526eb23ff7dd715ef38ed32970f76afe656d0edec8fe90a3434c498105046322663c6
DIST seabios-1.7.0.tar.gz 450977 SHA256 54113c953be055e5ad2e54a32bdd9c9b109b50a7a18bbca70d148807ba2f2cd6 SHA512 770d12535638d63a000323aabdac81ffb9576c95f1d21daf5f67b211a9b350ab339221a2929110f80644c5ee610603537cc72136b8cd3ccc76853092b32bd2c1 WHIRLPOOL bd84e3ef1bdb1505ce336e2bec9c51c97a7781837192ee2159fad1de7d2bea564fec57b27c6dca8fcf10e5c48b9a5947762d15a0b887e697469ba9b292b6fb84 DIST seabios-1.7.0.tar.gz 450977 SHA256 54113c953be055e5ad2e54a32bdd9c9b109b50a7a18bbca70d148807ba2f2cd6 SHA512 770d12535638d63a000323aabdac81ffb9576c95f1d21daf5f67b211a9b350ab339221a2929110f80644c5ee610603537cc72136b8cd3ccc76853092b32bd2c1 WHIRLPOOL bd84e3ef1bdb1505ce336e2bec9c51c97a7781837192ee2159fad1de7d2bea564fec57b27c6dca8fcf10e5c48b9a5947762d15a0b887e697469ba9b292b6fb84
@ -12,28 +14,28 @@ DIST seabios-1.7.1.tar.gz 455617 SHA256 40db5ec149dabd94fdf46809fc2c1d4a2cc32af5
DIST seabios-1.7.2.1.tar.gz 458187 SHA256 0d9d5012e753eb2e32718aec3982f7305bd36f4eaf1d0261a49d0b118aa6c8dc SHA512 403454c17f7f61fb45e4749ce62247371c4547510b6f2f9ff5aa97836963d43401d1528139674b68a4dbb92ee275ed47ace2e2efb3e6db92be414d2f30db5bc3 WHIRLPOOL 25cc00c4ecef56cd2cad89c4eea53ca3adf1e2b91aad82edff16d89b92d21b5c0c7e09d241e1ea03209ec6317ad0f4a2760a62631e4ce7802785292468e48509 DIST seabios-1.7.2.1.tar.gz 458187 SHA256 0d9d5012e753eb2e32718aec3982f7305bd36f4eaf1d0261a49d0b118aa6c8dc SHA512 403454c17f7f61fb45e4749ce62247371c4547510b6f2f9ff5aa97836963d43401d1528139674b68a4dbb92ee275ed47ace2e2efb3e6db92be414d2f30db5bc3 WHIRLPOOL 25cc00c4ecef56cd2cad89c4eea53ca3adf1e2b91aad82edff16d89b92d21b5c0c7e09d241e1ea03209ec6317ad0f4a2760a62631e4ce7802785292468e48509
DIST seabios-1.7.2.2.tar.gz 448904 SHA256 5ef40e80c8e4ae825922766e82f28232958056f82912a72916ca5dae2147deaa SHA512 2fbe56d04af92b7e7166d2c4b0af0395750c57449735302ee4ef3794a5789a1d1922f9fce53970d3f1923f8ca82daa1d3e4041caaae884c9366c41e11e316e17 WHIRLPOOL 1ffcdc294f7827f669db34e120ccbf6da183359360010288556157d9287b2f55097c90750c3a3f252560363f2b938e8ce95bfb17300e1bc6549a2ae3216a041e DIST seabios-1.7.2.2.tar.gz 448904 SHA256 5ef40e80c8e4ae825922766e82f28232958056f82912a72916ca5dae2147deaa SHA512 2fbe56d04af92b7e7166d2c4b0af0395750c57449735302ee4ef3794a5789a1d1922f9fce53970d3f1923f8ca82daa1d3e4041caaae884c9366c41e11e316e17 WHIRLPOOL 1ffcdc294f7827f669db34e120ccbf6da183359360010288556157d9287b2f55097c90750c3a3f252560363f2b938e8ce95bfb17300e1bc6549a2ae3216a041e
DIST seabios-1.7.2.tar.gz 467079 SHA256 59d853550925840b0b3f556ec65037d145e113796e9ba7f23578283613f0f2bd SHA512 5321839dda165d488ab315a8e50ee76ed6442e3a18d28783e4512206b771413cd8ac6cfde066edbd7045d8f68747ed21fd3b6f04e3c82244e8c4a1d0762c03b7 WHIRLPOOL ae938d4e935650e53b774c8a4a14dafd07c19d3ad5dcd72281229e934f7c7ee9c4a97d4ad21c8de1cb78a65ca0ebce1859f80834aa312d76ad82332dbb241183 DIST seabios-1.7.2.tar.gz 467079 SHA256 59d853550925840b0b3f556ec65037d145e113796e9ba7f23578283613f0f2bd SHA512 5321839dda165d488ab315a8e50ee76ed6442e3a18d28783e4512206b771413cd8ac6cfde066edbd7045d8f68747ed21fd3b6f04e3c82244e8c4a1d0762c03b7 WHIRLPOOL ae938d4e935650e53b774c8a4a14dafd07c19d3ad5dcd72281229e934f7c7ee9c4a97d4ad21c8de1cb78a65ca0ebce1859f80834aa312d76ad82332dbb241183
DIST seabios-1.7.3.2.tar.gz 463900 SHA256 22ed5ba16e3acdf02abc5a7cafafe34f41a02039ef5d0051f5ee4cc183f23255 SHA512 891aa2dcf94d2a84bd1a0b66c724880ec895fe6c79bd9aea06d2125e1bd1442aa47b84fc03e1456900a29dfad9bb90c26123569d18a523572be330efc6504984 WHIRLPOOL 419f20f2854e79c65bbcdd34a3632dfc99248a153ce4fe0cd09ef6bec1bfc7a21a2ae28a6fa87cb9bda4eaebc24c09cf0f48bcf60db3b5c7a050edb699084e16
DIST seabios-1.7.3.tar.gz 484112 SHA256 2762c5056da9cad463086e5588f9194425ac4d664b9b5f3d00e63950c3103dce SHA512 372ac1ff81b51a732367e266f891de9493f767bd53c95a37bdbb7cbfae4c7a7dee757fbf756df214f5c61409bfeb73607d3f91e180736b9a36a30ec3e132a99e WHIRLPOOL 0bcf2341a9c1812bceb0845f03d08e0de2fe100976cd1fa82f2b27be21d225bc37b1577f891fa8a9c609d199cda70a958a389be69a4755b322f62ed6fbb6d5a3
EBUILD seabios-1.6.3.ebuild 1702 SHA256 31e2ca5abe18d889b6d6b74738fe366b9b9a4c78f1106ec6077de9b0895324eb SHA512 c790b0d09fe4bea784d1c0cb8ded5ee8c76ec7c32df69083febca46fb25e24f3827cd386b927625c10bfb5c6f81aab187e2192a4176fdd89c5026314b26183e1 WHIRLPOOL 07f740498083f6a9187ce2a827962ddd75e5ec593c0fb7730cf636df2eef1d4504671fb9973c7578b5553984e0db980f5ab825dd720001cf17e9cd9451b1ab15 EBUILD seabios-1.6.3.ebuild 1702 SHA256 31e2ca5abe18d889b6d6b74738fe366b9b9a4c78f1106ec6077de9b0895324eb SHA512 c790b0d09fe4bea784d1c0cb8ded5ee8c76ec7c32df69083febca46fb25e24f3827cd386b927625c10bfb5c6f81aab187e2192a4176fdd89c5026314b26183e1 WHIRLPOOL 07f740498083f6a9187ce2a827962ddd75e5ec593c0fb7730cf636df2eef1d4504671fb9973c7578b5553984e0db980f5ab825dd720001cf17e9cd9451b1ab15
EBUILD seabios-1.7.0.ebuild 1814 SHA256 7beb44ca1e25af940157d8cc52f2976f7ad01ec8129061d4d8d541b57b4d8fa8 SHA512 265f919694b82d4b7630f3ad9d46cdec61e6ecb63f0e8f8d126e2501613044f41b7d863cb1c95847ff403ea054eee777e29cc67f46350de8996dfc0bae496283 WHIRLPOOL 8ef6cae0fefd799aa7f69e280684b7c716d159c038a307d8d13a8e48d628d322b5d6bd8a940f19056743b9c0ccfcb97c1f18f6058087b945c8a9236bd50a7e64 EBUILD seabios-1.7.0.ebuild 1814 SHA256 7beb44ca1e25af940157d8cc52f2976f7ad01ec8129061d4d8d541b57b4d8fa8 SHA512 265f919694b82d4b7630f3ad9d46cdec61e6ecb63f0e8f8d126e2501613044f41b7d863cb1c95847ff403ea054eee777e29cc67f46350de8996dfc0bae496283 WHIRLPOOL 8ef6cae0fefd799aa7f69e280684b7c716d159c038a307d8d13a8e48d628d322b5d6bd8a940f19056743b9c0ccfcb97c1f18f6058087b945c8a9236bd50a7e64
EBUILD seabios-1.7.1.ebuild 1949 SHA256 1201ab8d0e8d4b2d69d65ed2465fec64898dddf1c6b740f0bd112d094c5ff094 SHA512 6df0534d25e9b08680f075a5fc1ad5ad070848da8877f306a453b1ae14fcf53502318b95524cf0547b73f2fbcb75dec2367c37bdd79bb92b95e9dc9f09b1038b WHIRLPOOL f790ca4c28691a6e7f5ad2db96a410a6a525039fabef8c5db4d441c4c5ef0d1dddb98c4e0d11a2a7eb1462d0e20ece3c4cd8639cf2bfa1ec78596ec72e6a2d10 EBUILD seabios-1.7.1.ebuild 1949 SHA256 1201ab8d0e8d4b2d69d65ed2465fec64898dddf1c6b740f0bd112d094c5ff094 SHA512 6df0534d25e9b08680f075a5fc1ad5ad070848da8877f306a453b1ae14fcf53502318b95524cf0547b73f2fbcb75dec2367c37bdd79bb92b95e9dc9f09b1038b WHIRLPOOL f790ca4c28691a6e7f5ad2db96a410a6a525039fabef8c5db4d441c4c5ef0d1dddb98c4e0d11a2a7eb1462d0e20ece3c4cd8639cf2bfa1ec78596ec72e6a2d10
EBUILD seabios-1.7.2.1.ebuild 2050 SHA256 ca60215d41c2220bea30f01564798b31a1b8c0290f7ccb3b6fc7d8dbd8dc4dd5 SHA512 f438901a089672835a7c46650bd3cf8b7b960bb1a3f690eb7e7bb90fa389ac1e736f55717dd0cdea657edb6812d11d45535e93ca2dbb0035aa8f58d010397295 WHIRLPOOL ccd184d2035b062a56ebffdab0921932ab775719c3817b09ac059a41038c3b503134608cdae4539ae524d3c4fd07bb0966a435d0084ab6691431e7849eb452dd EBUILD seabios-1.7.2.1.ebuild 2050 SHA256 ca60215d41c2220bea30f01564798b31a1b8c0290f7ccb3b6fc7d8dbd8dc4dd5 SHA512 f438901a089672835a7c46650bd3cf8b7b960bb1a3f690eb7e7bb90fa389ac1e736f55717dd0cdea657edb6812d11d45535e93ca2dbb0035aa8f58d010397295 WHIRLPOOL ccd184d2035b062a56ebffdab0921932ab775719c3817b09ac059a41038c3b503134608cdae4539ae524d3c4fd07bb0966a435d0084ab6691431e7849eb452dd
EBUILD seabios-1.7.2.2.ebuild 2393 SHA256 223c714a7bb44ec876548246ba57ccbd8af4b822c4d7761adf7e35af1a3a3736 SHA512 d693e8d471694fb3c7e23ab65e7241bd43afe9b763ca056a6c965b26bf5949f4892557798226e07ca782bfd19d0a356cb4274032e3e64e18f4a752cb2c55652e WHIRLPOOL 714d7b14d621767b07c7a730af8c7a3f88b86eaf7ea1b1f25edd553a4df7c1bed6b18e1ba96d556921e00fbd402a9b16b091f3d6c503a2003673518a16cbea23 EBUILD seabios-1.7.2.2.ebuild 2387 SHA256 b0c91105a4d41a403001887ad1c4427b6c4aca6ce61a0fec977083c3b12768f5 SHA512 1fb0d4c788100faeca4b447b8cb63b17f11a47ae64d4a7d07b0f78376adce412e1305ee0a01a95458627692202faa4947d78065701dfd08a405f3fc7261564fe WHIRLPOOL e9c8105636d9f5fc4a795f1e87f59cb6aa13257af2fd1bff0e652f3cf217bb4a2d7e132537e4762ad2ca4ecef0b2ef5dd6ca25e85275498e9d5e8bda5082d8c8
EBUILD seabios-1.7.2.ebuild 1967 SHA256 f7c5af4a96b276e2cd1ff580aab0892e701ce32b43a3581f1ba946813433ae91 SHA512 2b8d5ab8a5a7a116d4d992116a6e932cdd6ee286118a23485b94f3b5fa26594d5e7b864c7c2b95e12dbde508a00e651c615c3e9efbac65111af8cec9da092d02 WHIRLPOOL 1fa38077f0a839a8d897fe5c51f2af9ef692ff4cdc2a031c499a390950b7de1c242bbe9af561f27dc398ca9f1f08f861d9f39cd3f7293c53ca49f6fca6922edc EBUILD seabios-1.7.2.ebuild 1967 SHA256 f7c5af4a96b276e2cd1ff580aab0892e701ce32b43a3581f1ba946813433ae91 SHA512 2b8d5ab8a5a7a116d4d992116a6e932cdd6ee286118a23485b94f3b5fa26594d5e7b864c7c2b95e12dbde508a00e651c615c3e9efbac65111af8cec9da092d02 WHIRLPOOL 1fa38077f0a839a8d897fe5c51f2af9ef692ff4cdc2a031c499a390950b7de1c242bbe9af561f27dc398ca9f1f08f861d9f39cd3f7293c53ca49f6fca6922edc
MISC ChangeLog 5080 SHA256 6cab9ca222d558d71d882de5877dac8d2333e18a48727fefc518a157d9d95f07 SHA512 deb7a28637f570b4e956d41f6874be3bfdc60181b28cb0350e7c4039850b4d43f6cdeb0f72f32feb1b987216ec19e5272093808e54b7f9551a0690e2c6350bf6 WHIRLPOOL 2cb51bba4d0e5c86db469c16e2ec7df6ad094e9b282531adf7286d6c10ac4e5b2020de6278c55f3579641bb39df1a39813bb57be1ab1b4df1ec34876f430070c EBUILD seabios-1.7.3.2.ebuild 2741 SHA256 6ae8d4d4ae33c58527330974b16178133174cd54225ecb9fb1351dcaac4ed50b SHA512 05e945ff2f61a8f1fbe1b615eb8fd19cc5371385e9449abece9a1b8a3726e84b0084b29f865f2872730ed5bd3bebaf199bcf30ad547e817716541e8620b30376 WHIRLPOOL 298a6cb72659cce81d00e9e0ce546d63e5e14e84eea71935d0257c1c70e556a0dc76129d1950dc9f0dbb8e831331ea6d2129e0ef93d2f48fceefcd6de50a31bc
EBUILD seabios-1.7.3.ebuild 2730 SHA256 17c1ea4e588b0fa11b458cc15a52e1d1208328dd0b6bce247e61a975a32b28e2 SHA512 fd02e2141654bcf4df4beb4f7608bad2c5bbd5d360f34d35c415122768b111bc25af500c57ef1ba6052b54c566cd1192b044655f2fd6eafb82327459d6b5e95a WHIRLPOOL a43f5ea6ad321d83db156d6e8d529dfc6d3863cad9b26819efeb93538003d5e0e26800be364876c86f22946d1ca575ab2b618831b7cb5828547c651c5def1d12
MISC ChangeLog 6049 SHA256 e9f766f04680f9c5fc5c1ca9638c08cecaa19ceec062a2200356e26076e21b11 SHA512 c9c4ef206153769267ba0c24da8a2bb4495b364c04fc72c8f8cc7a64740bb22834a92547063eaff0a7713c9b4fc9f62c052c3acf1cff8a49707961a216a7f063 WHIRLPOOL c65e15f5ddb971a29ee09f23d44916136e0663884cd516b01b362e119d41585f4193eb20656c074b5b641e6077dcfa88e621d8115209a519b0634f3e46be8e4f
MISC metadata.xml 348 SHA256 d3c5d1a4872e9f9c7006e20ea9abdd6b4f661041eb00111b09f4d7054b9a875c SHA512 a8424c71b656df412b38b171638815f32476496cd08faccb5504f9371960442af6fa0ed531609e43ca527f7a2df1ff2821938a060c35d43cfa2612e7c6ed3998 WHIRLPOOL ee7ccf452f7de334cfb398a4e735f139a7e24363b82409838062662755b565ca7f43e9bdc5c31c839352d8a4d64dd419722b7e413b243ad470199a4aeca12544 MISC metadata.xml 348 SHA256 d3c5d1a4872e9f9c7006e20ea9abdd6b4f661041eb00111b09f4d7054b9a875c SHA512 a8424c71b656df412b38b171638815f32476496cd08faccb5504f9371960442af6fa0ed531609e43ca527f7a2df1ff2821938a060c35d43cfa2612e7c6ed3998 WHIRLPOOL ee7ccf452f7de334cfb398a4e735f139a7e24363b82409838062662755b565ca7f43e9bdc5c31c839352d8a4d64dd419722b7e413b243ad470199a4aeca12544
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux) Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJR9OQbAAoJELHSF2kinlg4HcYP/1yOaDla2uQ7s7tafWSQo4Sm iQF8BAEBCABmBQJS3Fl2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
jTrmLUXgZxEdl7NSZCA7ihy2Iic8APjdZk+ZmUon8AJrfEZjfXej0r2KWdubMHo4 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDMDRGNEJFMDZEQTJGRUY3NkI4MEM3NTlE
RY56GunVqyl2IxrDtYRnruBzf74fxvZ/z7QgUl/P1WhCyWYJMO7DnSATnJ6+pvRh N0RGQThEMzE4RkE5QUVGAAoJENffqNMY+prva+QH/jdeWp4jNVLM4F8vQj9KXT3c
SsUv/T9+21PGadeo4LuzTwqqnQu5h2YOyCYNtoLi1ev+Tm1bcgrbdFIgXbQ1bQh5 g8xD+7d+32Ki4jp+KCI/0AkGkRDS0YdMDSVbsqbSxg3ChjzZ+62KuGp6ePxrJJUn
0/THHD3Jqf/IeTQyl8JfD3AFAKjWW7A8VD7DNJHmNVz8iNEdWDcDQ24J+8JySp/y PWy2QwHFw3nhmj6/Npmc8nxMauIRXJTBtnj5yaiYnlVzEtBsizgWUDKKwXZiNUdK
VvOJ5LWL0GFBMX+6xUliDK75gcUsv1xwnjQK7B2QNV7x8togIUOumeRId2teB6pa Ee4ReNfwBIDspA3eNy+cwl780OMEAE/cZYbjsSOxrK76GGGdthF9l/rYaxWiIi5s
FeH+S4wH4o/qXl2zFX8NvXg3MU8vMPJ8CYj7QAq2doPtfi6m5WSz5/bu/XjvB26e Q/Dus7cv2MMlj14kIPEIVkVj6aO+LNaxeyNjUVUza8AFkEYNrm2AU6amabq80Trl
m0xy1ndAxGgzpohXx4//kHuBanaMdmjRg85x5i67QfFsEpNAIuPf62+3EnQeM0o4 SJpodxmR+4dpKffxgxrO6LdFIbPDkTrTGE117no+eKUH6a8omaugh+qf91Jffks=
UUnoJdS7ZkNYV9Mms3zQ+aILGK57rlKGFHKg0lenLFOlfIfTqg0he3HHmMmEISPB =g8u8
qHhBtpO45wojyOXIfwtk3dH4mVXqnW+Jcsb1IXNBLHeF1DVkVhgwFE/fsr7Lvmoq
MO/PB48/K8LQxhRE19J1lHtH2hP2BR4cOxuWfgpMCMh1gzlRtOAhQhUPuhPWDdNJ
QCfcDp4uJEZ91lpYSP4F
=b0Tf
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.2.2.ebuild,v 1.2 2013/07/28 09:27:54 jcallen Exp $ # $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.2.2.ebuild,v 1.4 2013/09/14 10:04:38 ago Exp $
EAPI=5 EAPI=5
@ -21,7 +21,7 @@ if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
KEYWORDS="" KEYWORDS=""
SRC_URI="" SRC_URI=""
else else
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd"
SRC_URI="http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz SRC_URI="http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz
http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.gz http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.gz

View File

@ -0,0 +1,105 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.3.2.ebuild,v 1.1 2014/01/19 23:01:55 cardoe Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils toolchain-funcs python-any-r1
#BACKPORTS=1
# SeaBIOS maintainers sometimes don't release stable tarballs or stable
# binaries to generate the stable tarball the following is necessary:
# git clone git://git.seabios.org/seabios.git && cd seabios
# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV}
if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
EGIT_REPO_URI="git://git.seabios.org/seabios.git"
inherit git-2
KEYWORDS=""
SRC_URI=""
else
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
SRC_URI="http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz
http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.gz
http://dev.gentoo.org/~cardoe/distfiles/bios.bin-${PV}.gz
${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
fi
DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
HOMEPAGE="http://www.seabios.org"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
IUSE="+binary"
REQUIRED_USE="ppc? ( binary )
ppc64? ( binary )"
DEPEND="!binary? ( >=sys-power/iasl-20060912 )
${PYTHON_DEPS}"
RDEPEND=""
pkg_pretend() {
if ! use binary; then
ewarn "You have decided to compile your own SeaBIOS. This is not"
ewarn "supported by upstream unless you use their recommended"
ewarn "toolchain (which you are not)."
elog
ewarn "If you are intending to use this build with QEMU, realize"
ewarn "you will not receive any support if you have compiled your"
ewarn "own SeaBIOS. Virtual machines subtly fail based on changes"
ewarn "in SeaBIOS."
fi
local myld=$(tc-getLD)
${myld} -v | grep -q "GNU gold" && \
ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
}
pkg_setup() {
use binary || python-any-r1_pkg_setup
}
src_prepare() {
if [[ -z "${EGIT_COMMIT}" ]]; then
sed -e "s/VERSION=.*/VERSION=${PV}/" \
-i "${S}/Makefile"
else
sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
-i "${S}/Makefile"
fi
epatch_user
}
src_configure() {
:
}
src_compile() {
if ! use binary ; then
LANG=C emake \
CC=$(tc-getCC) \
LD="$(tc-getLD).bfd" \
AR=$(tc-getAR) \
OBJCOPY=$(tc-getOBJCOPY) \
RANLIB=$(tc-getRANLIB) \
OBJDUMP=$(tc-getPROG OBJDUMP objdump) \
HOST_CC=$(tc-getBUILD_CC) \
out/bios.bin
fi
}
src_install() {
insinto /usr/share/seabios
if ! use binary ; then
doins out/bios.bin
else
newins ../bios.bin-${PV} bios.bin
fi
}

View File

@ -0,0 +1,105 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.3.ebuild,v 1.4 2013/12/31 15:48:22 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils toolchain-funcs python-any-r1
#BACKPORTS=1
# SeaBIOS maintainers don't release stable tarballs or stable binaries
# to generate the stable tarball the following is necessary:
# git clone git://git.seabios.org/seabios.git && cd seabios
# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV}
if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
EGIT_REPO_URI="git://git.seabios.org/seabios.git"
inherit git-2
KEYWORDS=""
SRC_URI=""
else
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
SRC_URI="http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz
http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.gz
http://dev.gentoo.org/~cardoe/distfiles/bios.bin-${PV}.gz
${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
fi
DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
HOMEPAGE="http://www.seabios.org"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
IUSE="+binary"
REQUIRED_USE="ppc? ( binary )
ppc64? ( binary )"
DEPEND="!binary? ( >=sys-power/iasl-20060912 )
${PYTHON_DEPS}"
RDEPEND=""
pkg_pretend() {
if ! use binary; then
ewarn "You have decided to compile your own SeaBIOS. This is not"
ewarn "supported by upstream unless you use their recommended"
ewarn "toolchain (which you are not)."
elog
ewarn "If you are intending to use this build with QEMU, realize"
ewarn "you will not receive any support if you have compiled your"
ewarn "own SeaBIOS. Virtual machines subtly fail based on changes"
ewarn "in SeaBIOS."
fi
local myld=$(tc-getLD)
${myld} -v | grep -q "GNU gold" && \
ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
}
pkg_setup() {
use binary || python-any-r1_pkg_setup
}
src_prepare() {
if [[ -z "${EGIT_COMMIT}" ]]; then
sed -e "s/VERSION=.*/VERSION=${PV}/" \
-i "${S}/Makefile"
else
sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
-i "${S}/Makefile"
fi
epatch_user
}
src_configure() {
:
}
src_compile() {
if ! use binary ; then
LANG=C emake \
CC=$(tc-getCC) \
LD="$(tc-getLD).bfd" \
AR=$(tc-getAR) \
OBJCOPY=$(tc-getOBJCOPY) \
RANLIB=$(tc-getRANLIB) \
OBJDUMP=$(tc-getPROG OBJDUMP objdump) \
HOST_CC=$(tc-getBUILD_CC) \
out/bios.bin
fi
}
src_install() {
insinto /usr/share/seabios
if ! use binary ; then
doins out/bios.bin
else
newins ../bios.bin-${PV} bios.bin
fi
}