From e5ca92908c8cad9ef97a6684e8435943d9c7db20 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 9 Jun 2006 06:18:24 +0000 Subject: [PATCH] clean out old files Package-Manager: portage-2.1_rc4-r4 --- app-emulation/qemu-softmmu/Manifest | 70 ++------- .../files/digest-qemu-softmmu-0.7.0-r1 | 6 - .../files/digest-qemu-softmmu-0.7.1 | 6 - .../files/digest-qemu-softmmu-0.7.1-r1 | 6 - .../files/digest-qemu-softmmu-0.7.2 | 6 - .../files/kqemu-0.7.1-sysfs.patch | 63 -------- .../qemu-softmmu/files/kqemu-sysfs.patch | 77 --------- .../files/qemu-softmmu-0.7.0-errno.patch | 11 -- .../qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild | 142 ----------------- .../qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild | 146 ------------------ .../qemu-softmmu/qemu-softmmu-0.7.1.ebuild | 142 ----------------- .../qemu-softmmu/qemu-softmmu-0.7.2.ebuild | 143 ----------------- 12 files changed, 12 insertions(+), 806 deletions(-) delete mode 100644 app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.0-r1 delete mode 100644 app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1 delete mode 100644 app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1-r1 delete mode 100644 app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.2 delete mode 100644 app-emulation/qemu-softmmu/files/kqemu-0.7.1-sysfs.patch delete mode 100644 app-emulation/qemu-softmmu/files/kqemu-sysfs.patch delete mode 100644 app-emulation/qemu-softmmu/files/qemu-softmmu-0.7.0-errno.patch delete mode 100644 app-emulation/qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild delete mode 100644 app-emulation/qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild delete mode 100644 app-emulation/qemu-softmmu/qemu-softmmu-0.7.1.ebuild delete mode 100644 app-emulation/qemu-softmmu/qemu-softmmu-0.7.2.ebuild diff --git a/app-emulation/qemu-softmmu/Manifest b/app-emulation/qemu-softmmu/Manifest index b571400701de..5703c485b5ab 100644 --- a/app-emulation/qemu-softmmu/Manifest +++ b/app-emulation/qemu-softmmu/Manifest @@ -1,73 +1,27 @@ -AUX kqemu-0.7.1-sysfs.patch 1631 RMD160 bdf9514dbed1665afd4727a395830855ab400974 SHA1 d971de93120a70d202667117fb6b81a5a1d635a5 SHA256 c0d2f4fd263562117ed74adc1075d7de7cb0cbd1f4d6d8844acbaeac498a16a3 size 1631 -MD5 1d5ef12a594467dced5bfce6c07ed893 files/kqemu-0.7.1-sysfs.patch 1631 -RMD160 bdf9514dbed1665afd4727a395830855ab400974 files/kqemu-0.7.1-sysfs.patch 1631 -SHA256 c0d2f4fd263562117ed74adc1075d7de7cb0cbd1f4d6d8844acbaeac498a16a3 files/kqemu-0.7.1-sysfs.patch 1631 -AUX kqemu-sysfs.patch 2094 RMD160 9b87cf9d9f8004a37f079fb3eda3d37275624eca SHA1 4fe3caa21a1261ca7b7b3bd354ac90f4df64a24f SHA256 4da7bb1363b9f93a1a4eec2db7c6a41febb1b0a5fa110f2bdfdadca408c67f19 size 2094 -MD5 87ec2e1fa832612fb834d7dd49cf7e5c files/kqemu-sysfs.patch 2094 -RMD160 9b87cf9d9f8004a37f079fb3eda3d37275624eca files/kqemu-sysfs.patch 2094 -SHA256 4da7bb1363b9f93a1a4eec2db7c6a41febb1b0a5fa110f2bdfdadca408c67f19 files/kqemu-sysfs.patch 2094 -AUX qemu-softmmu-0.7.0-errno.patch 487 RMD160 0ba3efb79379c96652d0a08f33adef13695c75b7 SHA1 37317be3df18aa4843bb027d2d1e5b3ef1cf27cd SHA256 013031cd5c27de4dd4ab39f10a8be751813a313e006339a35b9722bb0939f193 size 487 -MD5 3202f7445799cce82ccaac9749e1443d files/qemu-softmmu-0.7.0-errno.patch 487 -RMD160 0ba3efb79379c96652d0a08f33adef13695c75b7 files/qemu-softmmu-0.7.0-errno.patch 487 -SHA256 013031cd5c27de4dd4ab39f10a8be751813a313e006339a35b9722bb0939f193 files/qemu-softmmu-0.7.0-errno.patch 487 -DIST kqemu-0.6.2-1.tar.gz 21002 RMD160 e3f411ec0627c54b79d68779e2d7b7afb0168a79 SHA256 777e8aef2d7a668c29ad013d0d8bd2124673a3d27a81619f6455acfa1e485f98 size 21002 -DIST kqemu-0.7.1-1.tar.gz 76427 RMD160 1e676a9b438085d237a70a110499987bf90dce9d SHA256 be10b87e4c3f94a21fd09e77dbf373085d3ccd767cd4b83b9dbbca14f15ab751 size 76427 -DIST kqemu-0.7.1.tar.gz 76135 RMD160 e710afa6deb2bd887cf25fe0d1af75bad6593075 SHA256 5f8201715cb89825e94415e1cbc48063b22e56e413998c289ca85e4342cfd16d size 76135 -DIST kqemu-0.7.2.tar.gz 79314 RMD160 cdb154d51eb616d6ad9924da0175276a655edba7 SHA256 4158b2c67603f5256a78d0065d715bde068a457aa58bbfef12dda20fe7f7ad8b size 79314 -DIST qemu-0.7.0.tar.gz 1211802 RMD160 3bd1f81193ec6eb913153b02aa237dbadb94b413 SHA256 8f7e575e3834e271a1664310201a2c903977cf9f31e63640fd8c84f6e9142a35 size 1211802 -DIST qemu-0.7.1.tar.gz 1338521 RMD160 a1e8a9e934f6a7e585aed5ba99cbf3208f24bc6a SHA256 96f163fda3af8f8c4c9d1d5c3b20450a9c3f8c07f464c7179b8076496f8f6b1a size 1338521 -DIST qemu-0.7.2.tar.gz 1341993 RMD160 1d2dcc8f43ff4b4b9aa045c64e38c9a10140b13e SHA256 a4982e991ebca255d53f0738d203afb9355d9d16aa1a89835a080fa5d6ba4766 size 1341993 -DIST qemu-0.8.0.20060329.tar.bz2 1325034 RMD160 a6ec15e1b08dd6e2dd88d953bfa31e3db1dc212e SHA256 4ccb27692ffaee119728442298da84198d6319de79a18d497d14604e140c3eb0 size 1325034 -DIST qemu-0.8.0.tar.gz 1497965 RMD160 3fc6da938f75364d0805ca0ecf8cb84a4b546dc7 SHA256 de388539ce86971a2cbe8474fca8b6160898c95772e3e6e08a7794d48db32a61 size 1497965 -DIST qemu-0.8.1.tar.gz 1623264 RMD160 04d163d4792bbea39fc0b1e52af124cdb7e907dc SHA256 a1f83666f5c05eaee9bfc608a3a5034ad95d0fd3c99937bb399bf9235a6aa0c9 size 1623264 -EBUILD qemu-softmmu-0.7.0-r1.ebuild 3946 RMD160 b7fe516d9471dee10f85490266a4b94a70475b94 SHA1 71c2b7b80b4da1ed0ae5f588238e9f682c7abbe8 SHA256 4ea56c391460d3e5c5ad6b0a165dc32fbbf8906d244ef275980bce53c47db460 size 3946 -MD5 7f3bdd5bb9e257cf492c0883c148dbbc qemu-softmmu-0.7.0-r1.ebuild 3946 -RMD160 b7fe516d9471dee10f85490266a4b94a70475b94 qemu-softmmu-0.7.0-r1.ebuild 3946 -SHA256 4ea56c391460d3e5c5ad6b0a165dc32fbbf8906d244ef275980bce53c47db460 qemu-softmmu-0.7.0-r1.ebuild 3946 -EBUILD qemu-softmmu-0.7.1-r1.ebuild 4024 RMD160 a42c4324bfb7881d626926f7a551178e3aee4d1c SHA1 1878912ab46c9f22a89e4336aceeb8d57a4ee867 SHA256 91f08d40fb2e446d3fbb88eb7777798b82204495e42b7cf86cae09a822905521 size 4024 -MD5 7f718ce656aa3a302e286ef4cff10f97 qemu-softmmu-0.7.1-r1.ebuild 4024 -RMD160 a42c4324bfb7881d626926f7a551178e3aee4d1c qemu-softmmu-0.7.1-r1.ebuild 4024 -SHA256 91f08d40fb2e446d3fbb88eb7777798b82204495e42b7cf86cae09a822905521 qemu-softmmu-0.7.1-r1.ebuild 4024 -EBUILD qemu-softmmu-0.7.1.ebuild 3982 RMD160 bb71b0220507277dfe1ec8d1e829396644757d07 SHA1 55ae46abcfe1522a0a76e74f045da39494facf94 SHA256 9a91fe575d80565f91df17b43b4f953c4d3e3f4df23533d73058c1ae16f46e83 size 3982 -MD5 0ca3dc6e0c595f5da02a132f011afbdc qemu-softmmu-0.7.1.ebuild 3982 -RMD160 bb71b0220507277dfe1ec8d1e829396644757d07 qemu-softmmu-0.7.1.ebuild 3982 -SHA256 9a91fe575d80565f91df17b43b4f953c4d3e3f4df23533d73058c1ae16f46e83 qemu-softmmu-0.7.1.ebuild 3982 -EBUILD qemu-softmmu-0.7.2.ebuild 3943 RMD160 c8bb20ca88341bd149ee0b300f7f93af7cb50d1c SHA1 01fe24552e36966251e7712658e0323744aeb230 SHA256 c3550112745d5a782286f432252d70b8b6d6990c6bbab8c82f26f38292b2f222 size 3943 -MD5 77aa96bd5cf2d7540edd9d4d6c02726d qemu-softmmu-0.7.2.ebuild 3943 -RMD160 c8bb20ca88341bd149ee0b300f7f93af7cb50d1c qemu-softmmu-0.7.2.ebuild 3943 -SHA256 c3550112745d5a782286f432252d70b8b6d6990c6bbab8c82f26f38292b2f222 qemu-softmmu-0.7.2.ebuild 3943 -EBUILD qemu-softmmu-0.8.0.20060329.ebuild 2499 RMD160 cab2a5861d06b483b9a41033c2c988612de6cbc6 SHA1 d9b2955aae4b7b244b09fcad31544f964ec44d53 SHA256 88308504b593b355768b77530027a476fc3ee9c05ca6df00c09d80c8ed6ebc7e size 2499 +DIST kqemu-0.7.2.tar.gz 79314 RMD160 cdb154d51eb616d6ad9924da0175276a655edba7 SHA256 4158b2c67603f5256a78d0065d715bde068a457aa58bbfef12dda20fe7f7ad8b +DIST qemu-0.8.0.20060329.tar.bz2 1325034 RMD160 a6ec15e1b08dd6e2dd88d953bfa31e3db1dc212e SHA256 4ccb27692ffaee119728442298da84198d6319de79a18d497d14604e140c3eb0 +DIST qemu-0.8.0.tar.gz 1497965 RMD160 3fc6da938f75364d0805ca0ecf8cb84a4b546dc7 SHA256 de388539ce86971a2cbe8474fca8b6160898c95772e3e6e08a7794d48db32a61 +DIST qemu-0.8.1.tar.gz 1623264 RMD160 04d163d4792bbea39fc0b1e52af124cdb7e907dc SHA256 a1f83666f5c05eaee9bfc608a3a5034ad95d0fd3c99937bb399bf9235a6aa0c9 +EBUILD qemu-softmmu-0.8.0.20060329.ebuild 2499 RMD160 cab2a5861d06b483b9a41033c2c988612de6cbc6 SHA1 d9b2955aae4b7b244b09fcad31544f964ec44d53 SHA256 88308504b593b355768b77530027a476fc3ee9c05ca6df00c09d80c8ed6ebc7e MD5 7deedc1499b814949da89ce838d2d591 qemu-softmmu-0.8.0.20060329.ebuild 2499 RMD160 cab2a5861d06b483b9a41033c2c988612de6cbc6 qemu-softmmu-0.8.0.20060329.ebuild 2499 SHA256 88308504b593b355768b77530027a476fc3ee9c05ca6df00c09d80c8ed6ebc7e qemu-softmmu-0.8.0.20060329.ebuild 2499 -EBUILD qemu-softmmu-0.8.0.ebuild 2654 RMD160 e8de6524778a0198c1fa4cef1dc846a5bc6b6ec9 SHA1 099719d23935d1549f5b77f406c3fe6b73e7a533 SHA256 610a232a25f0d3d0f19cafa2c8d0de70364a868bbd87b32664a9e82adf83422c size 2654 +EBUILD qemu-softmmu-0.8.0.ebuild 2654 RMD160 e8de6524778a0198c1fa4cef1dc846a5bc6b6ec9 SHA1 099719d23935d1549f5b77f406c3fe6b73e7a533 SHA256 610a232a25f0d3d0f19cafa2c8d0de70364a868bbd87b32664a9e82adf83422c MD5 f15f3888bac03df8c3405d41d70eb06a qemu-softmmu-0.8.0.ebuild 2654 RMD160 e8de6524778a0198c1fa4cef1dc846a5bc6b6ec9 qemu-softmmu-0.8.0.ebuild 2654 SHA256 610a232a25f0d3d0f19cafa2c8d0de70364a868bbd87b32664a9e82adf83422c qemu-softmmu-0.8.0.ebuild 2654 -EBUILD qemu-softmmu-0.8.1.ebuild 2657 RMD160 8cc0ecdd505369b7e83fd258d3ff7b0ec6a5ee10 SHA1 aae39cfd92b9af5c48e6e35de88a346942f9a2a4 SHA256 ea3f39de2f13c8dc376299513b0231414fd3da6bd4cd01d4792329efb63420ad size 2657 +EBUILD qemu-softmmu-0.8.1.ebuild 2657 RMD160 8cc0ecdd505369b7e83fd258d3ff7b0ec6a5ee10 SHA1 aae39cfd92b9af5c48e6e35de88a346942f9a2a4 SHA256 ea3f39de2f13c8dc376299513b0231414fd3da6bd4cd01d4792329efb63420ad MD5 2121a62301cd1069aed299801a6cd0e4 qemu-softmmu-0.8.1.ebuild 2657 RMD160 8cc0ecdd505369b7e83fd258d3ff7b0ec6a5ee10 qemu-softmmu-0.8.1.ebuild 2657 SHA256 ea3f39de2f13c8dc376299513b0231414fd3da6bd4cd01d4792329efb63420ad qemu-softmmu-0.8.1.ebuild 2657 -MISC ChangeLog 3371 RMD160 f1ceb369af5381674b859922684a9ad6e4be3848 SHA1 7124c0ad8721037640702b5dc5a944d153c6e201 SHA256 44684c9e7c6f44594616ea5f2781081745fde9ce19831984c657c494dcdc3ebf size 3371 -MD5 33c9ac5b15c0193c8e0b8e148929c5ca ChangeLog 3371 -RMD160 f1ceb369af5381674b859922684a9ad6e4be3848 ChangeLog 3371 -SHA256 44684c9e7c6f44594616ea5f2781081745fde9ce19831984c657c494dcdc3ebf ChangeLog 3371 -MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b size 223 +MISC ChangeLog 3674 RMD160 785aedefae3a3b3e6aad1a2d1ca88cf0fd89b2db SHA1 fbf6776b9cb68eb7821249eb8014cc4fc60e2c23 SHA256 7277c99dd4f67e795a8103c3bc7aa12bffbb9577741c0f6d34115600419c81b3 +MD5 a72eb2f59ab1d4d399d5b3282e6ee469 ChangeLog 3674 +RMD160 785aedefae3a3b3e6aad1a2d1ca88cf0fd89b2db ChangeLog 3674 +SHA256 7277c99dd4f67e795a8103c3bc7aa12bffbb9577741c0f6d34115600419c81b3 ChangeLog 3674 +MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 metadata.xml 223 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b metadata.xml 223 -MD5 a1b0489bca9d54b3954a6217523c4bc2 files/digest-qemu-softmmu-0.7.0-r1 473 -RMD160 b8a056316e6f93a938b12e68296956fdbc4c01d9 files/digest-qemu-softmmu-0.7.0-r1 473 -SHA256 3e56555cb841ae33354c831006f8078ea1214d1a1df105f311126f2a434026bb files/digest-qemu-softmmu-0.7.0-r1 473 -MD5 4556a4a57ac2c1d30f9477e2d0a5f0fe files/digest-qemu-softmmu-0.7.1 467 -RMD160 6278a183ce28c271ad1d182b0b1936953aa03235 files/digest-qemu-softmmu-0.7.1 467 -SHA256 1db60a6254f26ee3c4e2e5ab4b3d5c5c327346cb2de23bc3db57585276bee4d7 files/digest-qemu-softmmu-0.7.1 467 -MD5 170651ec5f9b1004e50563b072ff247b files/digest-qemu-softmmu-0.7.1-r1 473 -RMD160 4d2344a56185065e3f11f927278c7346420ed8eb files/digest-qemu-softmmu-0.7.1-r1 473 -SHA256 a3a7b12c1a78fa9e4948f0ec757e6d22772b1c57f6571100609a07ec6723af17 files/digest-qemu-softmmu-0.7.1-r1 473 -MD5 a48c5b24131c89fe37b5563b2afb887c files/digest-qemu-softmmu-0.7.2 467 -RMD160 da5c7f615693cedc3df6658fd4cd47400bd30f85 files/digest-qemu-softmmu-0.7.2 467 -SHA256 988adce1d1e2536e68b8a263960d27cad55f489419324358059f83e8589c1d16 files/digest-qemu-softmmu-0.7.2 467 MD5 369ddc136b4710532655f541148276b9 files/digest-qemu-softmmu-0.8.0 467 RMD160 c525281af07c961fed957d68125876cb028535d2 files/digest-qemu-softmmu-0.8.0 467 SHA256 ef75ec0e988c5ed7e56d43a11bc350bdfa13969fd6c332eeca8063b0123ab1fc files/digest-qemu-softmmu-0.8.0 467 diff --git a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.0-r1 b/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.0-r1 deleted file mode 100644 index 7252fefe7902..000000000000 --- a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.0-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 c6bb3b40fb3d526d731eb0f1f9dee7ee kqemu-0.6.2-1.tar.gz 21002 -RMD160 e3f411ec0627c54b79d68779e2d7b7afb0168a79 kqemu-0.6.2-1.tar.gz 21002 -SHA256 777e8aef2d7a668c29ad013d0d8bd2124673a3d27a81619f6455acfa1e485f98 kqemu-0.6.2-1.tar.gz 21002 -MD5 234e9ace03b00259bb57dc5a9c633056 qemu-0.7.0.tar.gz 1211802 -RMD160 3bd1f81193ec6eb913153b02aa237dbadb94b413 qemu-0.7.0.tar.gz 1211802 -SHA256 8f7e575e3834e271a1664310201a2c903977cf9f31e63640fd8c84f6e9142a35 qemu-0.7.0.tar.gz 1211802 diff --git a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1 b/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1 deleted file mode 100644 index 965dbf6d7771..000000000000 --- a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 8fc7967492b2157521198f6639218420 kqemu-0.7.1.tar.gz 76135 -RMD160 e710afa6deb2bd887cf25fe0d1af75bad6593075 kqemu-0.7.1.tar.gz 76135 -SHA256 5f8201715cb89825e94415e1cbc48063b22e56e413998c289ca85e4342cfd16d kqemu-0.7.1.tar.gz 76135 -MD5 b0c80d2c082049a5b8ccbc7f55fe165b qemu-0.7.1.tar.gz 1338521 -RMD160 a1e8a9e934f6a7e585aed5ba99cbf3208f24bc6a qemu-0.7.1.tar.gz 1338521 -SHA256 96f163fda3af8f8c4c9d1d5c3b20450a9c3f8c07f464c7179b8076496f8f6b1a qemu-0.7.1.tar.gz 1338521 diff --git a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1-r1 b/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1-r1 deleted file mode 100644 index 966783a9652c..000000000000 --- a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.1-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 012498dac620eb8c212bf5f622414dd0 kqemu-0.7.1-1.tar.gz 76427 -RMD160 1e676a9b438085d237a70a110499987bf90dce9d kqemu-0.7.1-1.tar.gz 76427 -SHA256 be10b87e4c3f94a21fd09e77dbf373085d3ccd767cd4b83b9dbbca14f15ab751 kqemu-0.7.1-1.tar.gz 76427 -MD5 b0c80d2c082049a5b8ccbc7f55fe165b qemu-0.7.1.tar.gz 1338521 -RMD160 a1e8a9e934f6a7e585aed5ba99cbf3208f24bc6a qemu-0.7.1.tar.gz 1338521 -SHA256 96f163fda3af8f8c4c9d1d5c3b20450a9c3f8c07f464c7179b8076496f8f6b1a qemu-0.7.1.tar.gz 1338521 diff --git a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.2 b/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.2 deleted file mode 100644 index b8a4850eacac..000000000000 --- a/app-emulation/qemu-softmmu/files/digest-qemu-softmmu-0.7.2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 02cfdecda90458d6393781496ec6b48b kqemu-0.7.2.tar.gz 79314 -RMD160 cdb154d51eb616d6ad9924da0175276a655edba7 kqemu-0.7.2.tar.gz 79314 -SHA256 4158b2c67603f5256a78d0065d715bde068a457aa58bbfef12dda20fe7f7ad8b kqemu-0.7.2.tar.gz 79314 -MD5 7d69dd96edf7ae5298a9a7283a0e9fb8 qemu-0.7.2.tar.gz 1341993 -RMD160 1d2dcc8f43ff4b4b9aa045c64e38c9a10140b13e qemu-0.7.2.tar.gz 1341993 -SHA256 a4982e991ebca255d53f0738d203afb9355d9d16aa1a89835a080fa5d6ba4766 qemu-0.7.2.tar.gz 1341993 diff --git a/app-emulation/qemu-softmmu/files/kqemu-0.7.1-sysfs.patch b/app-emulation/qemu-softmmu/files/kqemu-0.7.1-sysfs.patch deleted file mode 100644 index 1cd2cef22a23..000000000000 --- a/app-emulation/qemu-softmmu/files/kqemu-0.7.1-sysfs.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- kqemu.orig/kqemu-linux.c 2005-07-26 17:22:06.000000000 +0200 -+++ kqemu/kqemu-linux.c 2005-07-26 17:21:20.000000000 +0200 -@@ -17,6 +17,11 @@ - #include - #include - -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+#include -+static struct class_simple *kqemu_class; -+#endif -+#include - #include "kqemu.h" - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19) -@@ -344,10 +349,38 @@ - return ret; - } - } -+ -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ kqemu_class = class_simple_create(THIS_MODULE, "kqemu"); -+ -+ if (IS_ERR(kqemu_class)) { -+ ret = PTR_ERR(kqemu_class); -+ goto out_chrdev; -+ } -+ -+ class_simple_device_add(kqemu_class, MKDEV(major, 0), NULL, "kqemu"); -+ -+#endif -+ -+ ret = devfs_mk_cdev(MKDEV(major, 0), -+ S_IFCHR|S_IRUSR|S_IWUSR, "kqemu"); -+ if (ret) -+ goto out_class; -+ - printk("KQEMU installed, max_instances=%d max_locked_mem=%dkB.\n", - KQEMU_MAX_INSTANCES, - max_locked_pages * 4); - return 0; -+ -+out_class: -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ class_simple_device_remove(MKDEV(major,0)); -+ class_simple_destroy(kqemu_class); -+#endif -+out_chrdev: -+ unregister_chrdev(major, "kqemu"); -+ -+ return ret; - } - - void cleanup_module(void) -@@ -356,4 +389,9 @@ - unregister_chrdev(major, "kqemu"); - else - misc_deregister (&kqemu_dev); -+ devfs_remove("kqemu"); -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ class_simple_device_remove(MKDEV(major, 0)); -+ class_simple_destroy(kqemu_class); -+#endif - } diff --git a/app-emulation/qemu-softmmu/files/kqemu-sysfs.patch b/app-emulation/qemu-softmmu/files/kqemu-sysfs.patch deleted file mode 100644 index 05c49ca67898..000000000000 --- a/app-emulation/qemu-softmmu/files/kqemu-sysfs.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- kqemu/kmod.c 2005-02-10 23:09:09.000000000 +0100 -+++ kqemu/kmod-sysfs.c 2005-02-22 19:46:44.000000000 +0100 -@@ -15,7 +15,10 @@ - #include - #include - #include -- -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+#include -+#endif -+#include - #include "kqemu.h" - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19) -@@ -34,6 +37,10 @@ - int page_alloc_count; - #endif - -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+static struct class_simple *kqemu_class; -+#endif -+ - /* lock the page at virtual address 'user_addr' and return its - page index. Return -1 if error */ - unsigned long CDECL kqemu_lock_user_page(unsigned long user_addr) -@@ -296,17 +303,51 @@ - max_locked_pages = 32768; - - ret = register_chrdev(KQEMU_MAJOR, "kqemu", &kqemu_fops); -+ - if (ret < 0) { - printk("kqemu: could not get major %d\n", KQEMU_MAJOR); - return ret; - } -+ -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ kqemu_class = class_simple_create(THIS_MODULE, "kqemu"); -+ -+ if (IS_ERR(kqemu_class)) { -+ unregister_chrdev(KQEMU_MAJOR, "kqemu"); -+ ret = PTR_ERR(kqemu_class); -+ goto out_chrdev; -+ } -+ -+ class_simple_device_add(kqemu_class, MKDEV(KQEMU_MAJOR, 0), NULL, "kqemu"); -+#endif -+ -+ ret = devfs_mk_cdev(MKDEV(KQEMU_MAJOR, 0), -+ S_IFCHR|S_IRUSR|S_IWUSR, "kqemu"); -+ if (ret) -+ goto out_class; -+ - printk("KQEMU installed, max_instances=%d max_locked_mem=%dkB.\n", - KQEMU_MAX_INSTANCES, - max_locked_pages * 4); - return 0; -+ -+out_class: -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ class_simple_device_remove(MKDEV(KQEMU_MAJOR,0)); -+ class_simple_destroy(kqemu_class); -+#endif -+out_chrdev: -+ unregister_chrdev(KQEMU_MAJOR, "kqemu"); -+ -+ return ret; - } - - void cleanup_module(void) - { - unregister_chrdev(KQEMU_MAJOR, "kqemu"); -+ devfs_remove("kqemu"); -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -+ class_simple_device_remove(MKDEV(KQEMU_MAJOR, 0)); -+ class_simple_destroy(kqemu_class); -+#endif - } diff --git a/app-emulation/qemu-softmmu/files/qemu-softmmu-0.7.0-errno.patch b/app-emulation/qemu-softmmu/files/qemu-softmmu-0.7.0-errno.patch deleted file mode 100644 index 291adc1725b5..000000000000 --- a/app-emulation/qemu-softmmu/files/qemu-softmmu-0.7.0-errno.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ruN qemu-0.7.0.orig/target-i386/helper2.c qemu-0.7.0/target-i386/helper2.c ---- qemu-0.7.0.orig/target-i386/helper2.c 2005-04-27 22:52:05.000000000 +0200 -+++ qemu-0.7.0/target-i386/helper2.c 2005-05-25 22:07:50.000000000 +0200 -@@ -17,6 +17,7 @@ - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -+#include - #include - #include - #include diff --git a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild b/app-emulation/qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild deleted file mode 100644 index 71bb641fbe88..000000000000 --- a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/qemu-softmmu-0.7.0-r1.ebuild,v 1.2 2005/12/01 18:39:36 dang Exp $ - -inherit eutils flag-o-matic linux-mod toolchain-funcs - -DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P/-softmmu}.tar.gz - kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-0.6.2-1.tar.gz )" -#qvm86? ( http://dev.gentoo.org/~lu_zero/distfiles/qvm86-20050409.tar.bz2 )" -#kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-${PV%.*}-1.tar.gz ) - -LICENSE="GPL-2 LGPL-2.1 KQEMU" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="sdl kqemu" #qvm86 debug nptl qemu-fast nptlonly" -RESTRICT="nostrip" - -DEPEND="virtual/libc - sdl? ( media-libs/libsdl ) - !<=app-emulation/qemu-0.7.0 - app-text/texi2html" -RDEPEND="sdl? ( media-libs/libsdl )" - -S="${WORKDIR}/${P/-softmmu}" - -MODULE_NAMES="" -use kqemu && MODULE_NAMES=$MODULE_NAMES" kqemu(misc:${S}/kqemu)" -#use qvm86 && MODULE_NAMES=$MODULE_NAMES" qvm86(misc:${S}/qvm86)" - - - -set_target_list() { - TARGET_LIST="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu" - export TARGET_LIST -} - -pkg_setup() { - if [ "$(gcc-major-version)" == "4" ]; then - ewarn "Qemu could not build with GCC 4" - fi -# ( use kqemu || use qvm86 ) && linux-mod_pkg_setup - use kqemu && linux-mod_pkg_setup -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - - if use kqemu ; then - einfo "QEMU Accelerator enabled" - einfo "kqemu actually is a closed source software" - einfo "Please read carefully the KQEMU license" - einfo "and http://fabrice.bellard.free.fr/qemu/qemu-accel.html" - einfo "if you want it released under GPL" - mv ${S}/../kqemu ${S} - cd ${S}/kqemu - epatch ${FILESDIR}/kqemu-sysfs.patch - fi - # if use qvm86; then -# mv ${WORKDIR}/qvm86 ${S} -# cd ${S} -# epatch qvm86/patch.qvm86 -# fi - cd ${S} - #Fix errno mismatch on glibc-2.3.5 - epatch ${FILESDIR}/${P}-errno.patch - - # Alter target makefiles to accept CFLAGS set via flag-o. - sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ - Makefile Makefile.target tests/Makefile - # Ensure mprotect restrictions are relaxed for emulator binaries - [[ -x /sbin/paxctl ]] && \ - sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ - Makefile.target - # Prevent install of kernel module by qemu's makefile - sed -i 's/\(.\/install.sh\)/#\1/' Makefile -} - -src_compile() { - #Let the application set its cflags - unset CFLAGS - - # Switch off hardened tech - filter-flags -fpie -fstack-protector - - myconf="" - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - --enable-slirp \ - --kernel-path=${KV_DIR} \ - $(use_enable kqemu) \ - ${myconf} \ - $(use_enable sdl)\ - || die "could not configure" - - emake || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc/${P} \ - mandir=${D}/usr/share/man || die - - chmod -x ${D}/usr/share/man/*/* - - if use kqemu ; then - - linux-mod_src_install - - # udev rule - dodir /etc/udev/rules.d/ - echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' \ - > ${D}/etc/udev/rules.d/48-qemu.rules - enewgroup qemu - - # Module doc - dodoc ${S}/kqemu/README - - fi -} - -pkg_postinst() { - einfo "You will need the Universal TUN/TAP driver compiled into" - einfo "kernel or as a module to use the virtual network device." - if use kqemu ; then - einfo "kqemu actually is a closed source software" - einfo "Please read carefully the KQEMU license" - einfo "and http://fabrice.bellard.free.fr/qemu/qemu-accel.html" - einfo "if you want it released under GPL" - linux-mod_pkg_postinst - einfo "make sure you have the kernel module loaded before running qemu" - einfo "and your user is in the qemu group" - fi -} diff --git a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild b/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild deleted file mode 100644 index e1ec2ec0de68..000000000000 --- a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1-r1.ebuild,v 1.4 2005/12/01 18:39:36 dang Exp $ - -inherit eutils flag-o-matic linux-mod toolchain-funcs - -DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="${HOMEPAGE}${P/-softmmu}.tar.gz - kqemu? ( ${HOMEPAGE}kqemu-${PV}-1.tar.gz )" -#qvm86? ( http://dev.gentoo.org/~lu_zero/distfiles/qvm86-20050409.tar.bz2 )" -#kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-${PV%.*}-1.tar.gz ) - -LICENSE="GPL-2 LGPL-2.1 KQEMU" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="sdl kqemu" #qvm86 debug nptl qemu-fast nptlonly" -RESTRICT="nostrip" - -DEPEND="virtual/libc - sdl? ( media-libs/libsdl ) - !<=app-emulation/qemu-0.7.0 - app-text/texi2html" -RDEPEND="sdl? ( media-libs/libsdl )" - -S="${WORKDIR}/${P/-softmmu}" - -set_target_list() { - TARGET_LIST="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu" - export TARGET_LIST -} - -pkg_setup() { - if [ "$(gcc-major-version)" == "4" ]; then - ewarn "Qemu could not build with GCC 4" - fi - - MODULE_NAMES="$(useq kqemu && echo "kqemu(misc:${S}/kqemu)")" - # $(useq qvm86 && echo "qvm86(misc:${S}/qvm86)")" - #( use kqemu || use qvm86 ) && linux-mod_pkg_setup - use kqemu && linux-mod_pkg_setup - - if use kqemu ; then - einfo "QEMU Accelerator enabled (USE=kqemu)" - einfo "kqemu is binary module with a restricted license." - einfo "Please read carefully the KQEMU license" - einfo "and ${HOMEPAGE}qemu-accel.html" - einfo "if you would like to see it released under the GPL" - fi -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - - if use kqemu; then - mv ${WORKDIR}/kqemu ${S} - cd ${S}/kqemu - sed -i -e 's:#ifndef PAGE_KERNEL_EXEC:#if 1:' ${S}/kqemu/kqemu-linux.c - # The class_simple interfaces were removed in 2.6.13-rc1, leaving only - # GPL symbols behind, which this module can't use. Until there's a fix - # from Fabrice, kqemu+udev no worky. - if kernel_is le 2 6 12; then - epatch ${FILESDIR}/kqemu-${PV}-sysfs.patch - fi - fi - # if use qvm86; then -# mv ${WORKDIR}/qvm86 ${S} -# cd ${S} -# epatch qvm86/patch.qvm86 -# fi - cd ${S} - #Fix errno mismatch on glibc-2.3.5 - - # Alter target makefiles to accept CFLAGS set via flag-o. - sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ - Makefile Makefile.target tests/Makefile - # Ensure mprotect restrictions are relaxed for emulator binaries - [[ -x /sbin/paxctl ]] && \ - sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ - Makefile.target - # Prevent install of kernel module by qemu's makefile - sed -i 's/\(.\/install.sh\)/#\1/' Makefile -} - -src_compile() { - #Let the application set its cflags - unset CFLAGS - - # Switch off hardened tech - filter-flags -fpie -fstack-protector - - myconf="" - if ! use sdl ; then - myconf="$myconf --disable-gfx-check" - fi - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - --enable-slirp \ - --kernel-path=${KV_DIR} \ - $(use_enable kqemu) \ - ${myconf} \ - $(use_enable sdl)\ - || die "could not configure" - - emake || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc/${P} \ - mandir=${D}/usr/share/man || die - - chmod -x ${D}/usr/share/man/*/* - - if use kqemu ; then - - linux-mod_src_install - - # udev rule - dodir /etc/udev/rules.d/ - echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' \ - > ${D}/etc/udev/rules.d/48-qemu.rules - enewgroup qemu - - # Module doc - dodoc ${S}/kqemu/README - - fi -} - -pkg_postinst() { - einfo "You will need the Universal TUN/TAP driver compiled into" - einfo "kernel or as a module to use the virtual network device." - if use kqemu ; then - linux-mod_pkg_postinst - einfo "Make sure you have the kernel module loaded before running qemu" - einfo "and your user is in the qemu group" - fi -} diff --git a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1.ebuild b/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1.ebuild deleted file mode 100644 index 713a3b922d49..000000000000 --- a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/qemu-softmmu-0.7.1.ebuild,v 1.4 2005/12/01 18:39:36 dang Exp $ - -inherit eutils flag-o-matic linux-mod toolchain-funcs - -DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P/-softmmu}.tar.gz - kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-${PV}.tar.gz )" -#qvm86? ( http://dev.gentoo.org/~lu_zero/distfiles/qvm86-20050409.tar.bz2 )" -#kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-${PV%.*}-1.tar.gz ) - -LICENSE="GPL-2 LGPL-2.1 KQEMU" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="sdl kqemu" #qvm86 debug nptl qemu-fast nptlonly" -RESTRICT="nostrip" - -DEPEND="virtual/libc - sdl? ( media-libs/libsdl ) - !<=app-emulation/qemu-0.7.0 - app-text/texi2html" -RDEPEND="sdl? ( media-libs/libsdl )" - -S="${WORKDIR}/${P/-softmmu}" - -MODULE_NAMES="" -use kqemu && MODULE_NAMES=$MODULE_NAMES" kqemu(misc:${S}/kqemu)" -#use qvm86 && MODULE_NAMES=$MODULE_NAMES" qvm86(misc:${S}/qvm86)" - - - -set_target_list() { - TARGET_LIST="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu" - export TARGET_LIST -} - -pkg_setup() { - if [ "$(gcc-major-version)" == "4" ]; then - ewarn "Qemu could not build with GCC 4" - fi -# ( use kqemu || use qvm86 ) && linux-mod_pkg_setup - use kqemu && linux-mod_pkg_setup -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - - if use kqemu ; then - einfo "QEMU Accelerator enabled" - einfo "kqemu actually is a closed source software" - einfo "Please read carefully the KQEMU license" - einfo "and http://fabrice.bellard.free.fr/qemu/qemu-accel.html" - einfo "if you want it released under GPL" - mv ${S}/../kqemu ${S} - cd ${S}/kqemu - epatch ${FILESDIR}/kqemu-${PV}-sysfs.patch - sed -i -e "s:#ifndef PAGE_KERNEL_EXEC:#if 1:" ${S}/kqemu/kqemu-linux.c - fi - # if use qvm86; then -# mv ${WORKDIR}/qvm86 ${S} -# cd ${S} -# epatch qvm86/patch.qvm86 -# fi - cd ${S} - #Fix errno mismatch on glibc-2.3.5 - - # Alter target makefiles to accept CFLAGS set via flag-o. - sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ - Makefile Makefile.target tests/Makefile - # Ensure mprotect restrictions are relaxed for emulator binaries - [[ -x /sbin/paxctl ]] && \ - sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ - Makefile.target - # Prevent install of kernel module by qemu's makefile - sed -i 's/\(.\/install.sh\)/#\1/' Makefile -} - -src_compile() { - #Let the application set its cflags - unset CFLAGS - - # Switch off hardened tech - filter-flags -fpie -fstack-protector - - myconf="" - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - --enable-slirp \ - --kernel-path=${KV_DIR} \ - $(use_enable kqemu) \ - ${myconf} \ - $(use_enable sdl)\ - || die "could not configure" - - emake || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc/${P} \ - mandir=${D}/usr/share/man || die - - chmod -x ${D}/usr/share/man/*/* - - if use kqemu ; then - - linux-mod_src_install - - # udev rule - dodir /etc/udev/rules.d/ - echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' \ - > ${D}/etc/udev/rules.d/48-qemu.rules - enewgroup qemu - - # Module doc - dodoc ${S}/kqemu/README - - fi -} - -pkg_postinst() { - einfo "You will need the Universal TUN/TAP driver compiled into" - einfo "kernel or as a module to use the virtual network device." - if use kqemu ; then - einfo "kqemu actually is a closed source software" - einfo "Please read carefully the KQEMU license" - einfo "and http://fabrice.bellard.free.fr/qemu/qemu-accel.html" - einfo "if you want it released under GPL" - linux-mod_pkg_postinst - einfo "make sure you have the kernel module loaded before running qemu" - einfo "and your user is in the qemu group" - fi -} diff --git a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.2.ebuild b/app-emulation/qemu-softmmu/qemu-softmmu-0.7.2.ebuild deleted file mode 100644 index 16e3d5411436..000000000000 --- a/app-emulation/qemu-softmmu/qemu-softmmu-0.7.2.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/qemu-softmmu-0.7.2.ebuild,v 1.2 2005/12/01 18:39:36 dang Exp $ - -inherit eutils flag-o-matic linux-mod toolchain-funcs - -DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="${HOMEPAGE}${P/-softmmu}.tar.gz - kqemu? ( ${HOMEPAGE}kqemu-${PV}.tar.gz )" -#qvm86? ( http://dev.gentoo.org/~lu_zero/distfiles/qvm86-20050409.tar.bz2 )" -#kqemu? ( http://fabrice.bellard.free.fr/qemu/kqemu-${PV%.*}-1.tar.gz ) - -LICENSE="GPL-2 LGPL-2.1 KQEMU" -SLOT="0" -KEYWORDS="-alpha amd64 ~ppc -sparc ~x86" -IUSE="sdl kqemu" #qvm86 debug nptl qemu-fast nptlonly" -RESTRICT="nostrip" - -DEPEND="virtual/libc - sdl? ( media-libs/libsdl ) - !<=app-emulation/qemu-0.7.0 - app-text/texi2html" -RDEPEND="sdl? ( media-libs/libsdl )" - -S="${WORKDIR}/${P/-softmmu}" - -set_target_list() { - TARGET_LIST="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu" - export TARGET_LIST -} - -pkg_setup() { - if [ "$(gcc-major-version)" == "4" ]; then - ewarn "Qemu could not build with GCC 4" - fi - - MODULE_NAMES="$(useq kqemu && echo "kqemu(misc:${S}/kqemu)")" - # $(useq qvm86 && echo "qvm86(misc:${S}/qvm86)")" - #( use kqemu || use qvm86 ) && linux-mod_pkg_setup - use kqemu && linux-mod_pkg_setup - - if use kqemu ; then - einfo "QEMU Accelerator enabled (USE=kqemu)" - einfo "kqemu is binary module with a restricted license." - einfo "Please read carefully the KQEMU license" - einfo "and ${HOMEPAGE}qemu-accel.html" - einfo "if you would like to see it released under the GPL" - fi -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - - if use kqemu; then - mv ${WORKDIR}/kqemu ${S} - cd ${S}/kqemu - sed -i -e 's:#ifndef PAGE_KERNEL_EXEC:#if 1:' ${S}/kqemu/kqemu-linux.c - # The class_simple interfaces were removed in 2.6.13-rc1, leaving only - # GPL symbols behind, which this module can't use. Until there's a fix - # from Fabrice, kqemu+udev no worky. - fi - # if use qvm86; then -# mv ${WORKDIR}/qvm86 ${S} -# cd ${S} -# epatch qvm86/patch.qvm86 -# fi - cd ${S} - #Fix errno mismatch on glibc-2.3.5 - - # Alter target makefiles to accept CFLAGS set via flag-o. - sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ - Makefile Makefile.target tests/Makefile - # Ensure mprotect restrictions are relaxed for emulator binaries - [[ -x /sbin/paxctl ]] && \ - sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ - Makefile.target - # Prevent install of kernel module by qemu's makefile - sed -i 's/\(.\/install.sh\)/#\1/' Makefile -} - -src_compile() { - #Let the application set its cflags - unset CFLAGS - - # Switch off hardened tech - filter-flags -fpie -fstack-protector - - myconf="" - if ! use sdl ; then - myconf="$myconf --disable-gfx-check" - fi - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - --enable-slirp \ - --kernel-path=${KV_DIR} \ - $(use_enable kqemu) \ - ${myconf} \ - $(use_enable sdl)\ - || die "could not configure" - - emake || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc/${P} \ - mandir=${D}/usr/share/man || die - - chmod -x ${D}/usr/share/man/*/* - - if use kqemu ; then - - linux-mod_src_install - - # udev rule - dodir /etc/udev/rules.d/ - echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' \ - > ${D}/etc/udev/rules.d/48-qemu.rules - enewgroup qemu - - # Module doc - dodoc ${S}/kqemu/README - - fi -} - -pkg_postinst() { - einfo "You will need the Universal TUN/TAP driver compiled into" - einfo "kernel or as a module to use the virtual network device." - if use kqemu ; then - linux-mod_pkg_postinst - einfo "Make sure you have the kernel module loaded before running qemu" - einfo "and your user is in the qemu group" - fi -} -- 2.26.2