bump(sys-boot/grub): sync with upstream

Packages updated:
  app-emulation/xen-tools
  dev-libs/yajl
  dev-python/markdown
  sys-boot/efibootmgr
  sys-boot/grub
This commit is contained in:
Michael Marineau 2014-08-20 14:08:51 -07:00
parent 91a6997fd1
commit bc01e31d66
170 changed files with 9069 additions and 7362 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,59 @@
AUX fix-gold-ld.patch 408 SHA256 9ed4a989562890a87c05f6a63c2c2a81528e79f9e2fe5b7ebaafbc4ba874007c SHA512 7456bd9055a84490c5ac156a39ae9cda02dbe38712db5beb7adf572870f619cd897c70d4c24491dbfa3334df7ca56fd0af7494ce070f99f7d6275b9f32e48563 WHIRLPOOL f78caad306e7305bd3bc04a8c6acfda9a7a77cc405bfa74f824138b3bca85e61e8a948e112546c217aa56fe12b2b7f8dff948060bd7e61b9ac28adeca72a2a85
AUX ipxe-nopie.patch 964 SHA256 0b70407969735f36587fade77f524c1c2077f28585b9e0df4fe347ecc5e379bf SHA512 510f0d88cf08a9a963c0ccf32e795e98f89e749f746ea244b29d7af770608287d8218b215ee46d73ec4f727d6dfbdb316048c6b42df55a8e154aa952abb50c1d WHIRLPOOL 38ed76955d51e9c4603a487e34340df7392e3011e5b2ed550bd945727733cc3f02691c6e0a58ecbe0dd56377a5b6a955a1516647c49cb85dfc809c852ede9e38
AUX qemu-bridge.patch 3808 SHA256 73155306c318b7a9304eb5b7798f1d2aaf009f45af4d4dcbbc3beeb7ced013b6 SHA512 be35481ea6f9e87a6b1b73bae4c10137379447d9fecf268073015ac10a3091b8f6b0088d494bff18fcb5df27e3417441a63c63bfa3b87dacd62e5a4d31f34cfd WHIRLPOOL e363cb8e666b83b1023e954fd40c4e6d980c6b391a9159cd60d1b4bf775f8376e198e53c3c59a25a820c2f0de9fa94b2245f31d7a77f224362754865a22fe2d2
AUX stubs-32.h 537 SHA256 4c903162da80cefd394404cb8cd9963a6ef6e3ad6c7adcbaa450a002d929bfc5 SHA512 55308dbedaa91909a2213940f7a7b574cabe6b5a3104761a2a6f28d6aed00164544488c00cbf9d66a9a370a14c6b6d3a00434efd3ff0228cc8e4d81af19c0e68 WHIRLPOOL 9c006e266bea6bb9d623e76011a4eac07c5fe4fdf76a041cc42a2289a7e9163988bad0fb2f458e300e45aabf9fb864ec764a496d7f89d58e57a506bac206a5f1
AUX xen-4-fix_dotconfig-gcc.patch 9551 SHA256 93c8726fc3e0bd3f54d4162a3fdace45e3c3ea24fecf5f54270c6dc55c3924ab SHA512 64bfc2dd60bf5a7db593250f9da62cdea4daa458aa8c474ec47b065f6e19509555f48d49ec8624c484d873fe947b6f9cab98cdcd2c24ca8795eb1b64b378a004 WHIRLPOOL 341506ced55ae2ad30af1696434df25ba77c665042aa82dda35d0722f0cccbe567c8cebf51c2e20e0df3084f74f7eb7a69808dea2801f911b2d3c46a293b6ba2
AUX xen-4-ulong.patch 463 SHA256 160af74e6149a7c8066fa3f0b59c7dc36d0185adc98a3897de0ea26868778c1e SHA512 5188b1712009168c994ad72f9d0b0e9cd708a79244d2fbdd675b2fedb5f62b5b2f6c9f1bdd2101e2b66f1c08ab94f55230f4f269907671d82b00f510d059f2f2 WHIRLPOOL 86c98b5d698535893cd05f05481486a8a96f8ee96ce2add4e14de1d6a18701810d6a2c5925fa6cb367e95ef605c8bf9ebecb7dff7cf01763da4235a9c79c5b3f
AUX xen-4.2-configsxp.patch 1216 SHA256 2ac6642cc1db65bb087e8179bb81f3a88230c81042ca951f487faf294def1f39 SHA512 50af6a970be4cbeb7f7c2e721a6f5bea13e73dabe3141131844970838ffc5e04bb65e3c7a98f602a3bbb8326dfb8e3f058adfcffe4e267a07cf081786f5bbc50 WHIRLPOOL ddb0c8ad6ee0653d9b30c86561eee9d6c66675023c0fe2fa7911f9639d5c7b21a1c0fc400978cc23ad075f38c28d97bdd64b3ed4e2ce56740415f8d30d7607ab
AUX xen-4.2.0-jserver.patch 900 SHA256 a8f9c0517b7fa4d56f3125515d260e60c51ef2cfe3fc22223c54415a92ffa16e SHA512 7f9bb7189273ecc34b5c66aea8cc9567a15c3d7e0fbd44e0f49669b067d719c9d85d6758cc213145679cbb8c2224cb5704aabb3ed40925bb2529965a5238d411 WHIRLPOOL ed6bcf1135c7dcb58eb2219c02b002fb57b16f50bfb0161bc64319b78dd7f8b87bc6206952755af900245d13073408946e31a51f01e95517f7def072f4810e66
AUX xen-4.2.0-nostrip.patch 1554 SHA256 3bab6078b59a086e214fa0786cb827eeeb009d6f7f9901f6a8f1a23b857259f9 SHA512 7fe44ac34a317fc2d1298cea5d26fdd778f8356f3ac9b4fc412c07ca471ea0b21e7fac29f456306681396dee835e4c18c35ce4b7ba47c47153989eeecfb96310 WHIRLPOOL 7701c5b521245ba0b66e9ff53c41ada8e216d36f7a92b2af45aaddc0bd210bbaf21cb9401036b995f2f8d2598edb9324ad50a91f71d08e427caca21b26f101bd
AUX xen-4.3-fix_dotconfig-gcc.patch 19143 SHA256 53464dbb766f4437826c084e74aa84ef0144964966335a8dfad12372d9e61378 SHA512 015c771ce8d9197c178ee02d756a120ae212c6bb036ad46158762b4728587c75ec96466fc71e3c34a2ffbb580c881feb3d0c367db718a463719ada6905f52fa8 WHIRLPOOL 49f146b8f978341e79d6a73ac38cb1be42ea5a403e1f07941e33ad200ace6bd82f86febe829cce878488562996dfa2610df016085e35610386ecb0fc91587fb7
AUX xen-4.3-jserver.patch 1487 SHA256 3bbf6d06ad1960e30dc84a3e3b179d5d23331ecf60d347871b7008c58456a6ed SHA512 f92bced9f3e7fec84b1bfce6ce3366f134cec2b892ffc3afcdd3fd3f73daf158c17c312260fae39bc9e04c1dab1045d17f0da706dd0dba0279e66dea454aed8d WHIRLPOOL 10828eb65effad714a61a18bcd6c33c2b7fb7fd0007b1a68aed7a653cd7e67acc04cc5eb9574d7d50c92fc7ca8223dff0c73f1cfde994e4ee1d787f536588b99
AUX xen-4.4-nostrip.patch 493 SHA256 5fde7414d3a4debc91229ce6fd91194590014ba0da875c0003950311d58f2d7f SHA512 fd473cc94375e9ea73003c9f904d8183a82521b7e35d0a90ce7561d532aacc0eb914b964ffafc9c6e29e4aa47d5da4715a0447da45b0906fc3884dcd50ae6dd6 WHIRLPOOL d8381a365d641ad7ca7702f570d9a48f520cae61c08b67970db42842c77509e7cf2bb133efa8acc95ad3d914f38da0c382871bcd35ce8e97e80b3f61bcc9bdbf
AUX xen-4.4-qemu-bridge.patch 3557 SHA256 d6cdc6e947bfeeea98698952c9a85c0f0bb19239ebec7051873ed26e7ca5a2f5 SHA512 6f94f089a6a73f863b3e70f9a784cfdcc37a10901a596246aa5e324647484905a3c9c418f672d8895eca0fc36bd61c0df6bc3374baadcc4717c35dcb9a9a0a9d WHIRLPOOL ce78ac4bd098c87fb6794ab52e7a800f9d560e67628f6729ed2a15986e8b3bea72a22b0ce9ff3cfaeb07a39724498d8deba9fd26ae30b7dee6f1ab8c01a2734a
AUX xen-consoles.logrotate 63 SHA256 0da87a4b9094f934e3de937e8ef8d3afc752e76793aa3d730182d0241e118b19 SHA512 ab2105c75cfe01768aecd5bcbb56269d63666e8a44e42b6a83aee87df6c84ee2f9ab249171c21b2e09f8fec2cae8318f6e87d160989398a3e7dd68db8d52c426 WHIRLPOOL be108bf298202851de434af513ac8c03a533e7621623c2a7e8f26d498074b3eec81b85b2ae29ad2ec67f4fe9937c88bd78c5f5e260793e7e69ec964d4adb989e
AUX xen-tools-3.4.0-network-bridge-broadcast.patch 496 SHA256 d00a1954447fc29500ab2f1a8c7900310e0dee81942be5c922ad66b6b42dfb74 SHA512 496c61ec237506c77577e832828de923283f55ab07ad141718af1a719b1b5bcdb8152a8cffddc679ff4a3e389582e7b8de8aaf1b4c8b1124bf1563467bdf674f WHIRLPOOL f80a557ed62cc26a51f85bc8682a738ab29d4573e3261c440f6e66f50cd81263fa2c6898b1aa1b1c227a2d3923cc9fd718ffad2e123ee69c6d7929def7906433
AUX xen-tools-4-anti-seabios-download.patch 400 SHA256 ca40e82b7624e23a5e9e3f5ceac8755e48358e75012c33a01869b916a1cfc080 SHA512 f0156cc9d5bc41b2b1ddc021146f0eebf7f5bbcf68fbc9fcbefd7c1a0a7e82adfc27f6a30887a966e1aa0bf65e7e6f08913c4b3f2b94ac726c7dec3f3a7e3e9d WHIRLPOOL e50c91861b0df4527ce9235667234c2a35d12dd5da6375565820dc7e6cda500de9e9c40cce194e1ac7456bd17b54b9c86947aec019d774249e1c799adde6f47b
AUX xen-tools-4-docfix.patch 438 SHA256 016120c2333667aa84861ac9289c48a072c4842fb517936570882e1fc4060de6 SHA512 0a67d703749df823f5223b555c6dc896420e73ed7eeb5e77a8f8b950fc8bafaf9e20d66c35b29883b3cee6f8ca5054af3b55f804d20ae20d676feeeabf92b489 WHIRLPOOL fed73bd521b4cbea804ef4bc3b4b3a4007e7765cf0ab67e700e95afd328181ab5fce246b53a5e2a462baf6029664b25f82ffeabc1aaeb45fa99af344ecc957a5
AUX xen-tools-4-qemu-fix-po-collision.patch 924 SHA256 d222f47362f60b284057709e6432a7e787c719b28e5378209a9e58e551183f0e SHA512 ac78d68cab8dc403b83c5ec30dd46efa283241c76febdb91ad1b706b2dd4a3f71d6d3edb33480014cd20140a99b12f15faaf35f1d84b9a74cc67bc652fd22a9d WHIRLPOOL c1667f14f4e35fafdcad91765f73675e3523a57e534ef82da67d7a4982b31314925990aabf7707c3646ccd537ef10ea019054c33e08d53140209053fa4826694
AUX xen-tools-4-qemu-xen-doc.patch 820 SHA256 691b2d84f7312388d528c83f3e9e90521e6b2c97abae8ca8a83325655264c98a SHA512 bc07420be7629796e49e128c1cfbde8fa7d4dc3b66174462448e9033f78c0c982dfdbd4dde9b1c54a9862fd2f9602c6bac0be1dfc0df8280aaaf8de60acb708f WHIRLPOOL 4fc2907a42bc3f824160f92586392f7dba07c2229382585f5f7bf4c0f3ab2574a814e8e8fd076b68abb2580497492e1fc0e6181ffb8f1acb5c70e60caff81505
AUX xen-tools-4-unbundle-ipxe.patch 1294 SHA256 8358f99924049bdd7e8f00a0f68250c33c46796d30457e885c6a36d8b23dd4ca SHA512 dfe1504bf5cbbf14060e16ef8f24c64c51d68420ede80c8fcd284ae302c50840cb305ff65f2279f3f8749cb62ad9c49fbbace6bdc3d71decca16398c40e4b2cc WHIRLPOOL 9801cf864928b8df55900164cab6d80c9b01a2e8e8685c003394ca2cc098ea969a0bf15fea6be7909a33011dd0fa45748446efe439d60900b1bd9daa3587bde8
AUX xen-tools-4-unbundle-seabios.patch 805 SHA256 45e5d640fa071fe5a2e1f4168bb01851fb6e1d273b245b717f20229cf99e8d36 SHA512 96828ff555aa99347e9beda2adecbfe7fd27e9f9f0fc1491b470e25917aeb885d92d6ff1bbdf6282f400a76fc117c41b62cf71fffabbb9a1a5ddca20173abd6f WHIRLPOOL 29090b75288c23d8fd2e39cf7404c89e4c3fc209f7b29c87a5f7fdfc037e3b99ce7643bb2517e76bcc457fc5e8db49a4991c3a13b941db4d9e4c1ea861aa35f6
AUX xen-tools-4.1.1-bridge.patch 449 SHA256 71eea5408e3600c3c6f7ce4e8363ea2c19db36c1882e20cf0ef8143af527782b SHA512 3e4021c363bae11874b13675a8ad6aaf5b733e42a18e0d1259dce1cf2c305440dde13a7a08a584213dd96fa4b0a788048f6cb87a0f5b3ce777a2048215dbd779 WHIRLPOOL 9363d615578696899ba84d6d2026d3cc5115756a9d0ca5a91071ac4db6e2fa425135bbf6db320e90daf78f89c6203b291dcb2cc25a6e5db82b7c094d3c940cde
AUX xen-tools-4.2-xen_disk_leak.patch 2324 SHA256 b5d07dded35d48196afe4e52e7e48ef459b527c4b34f1aad13710dae94cba6c8 SHA512 bb8a36a30e69f6d09c9293cd76f071741ce04bf0d0129d9417b3fc41841f6dcb0160506a80222e67d58c78a289072913578868d6a055eb23266d15d5fa59ebe2 WHIRLPOOL c0c69406f564b335a3215a7cea8a447ad7d2b27590f3cf92c74c74356c46ed26557fee3ff5fac5a8ae54f7d8dc1772500d75d9de1630a57ee48d8193a6fdd1e9
AUX xen-tools-4.2.2-install.patch 994 SHA256 4e86e9aa4bb884fcdeec8824c1ec9c54d5e5106f9101b6ca6eb0f5fea6b953b9 SHA512 99b179082eda1326b093f04f9321b3133beef8f7689cc3b9ef626b8d08744629b7b5867a96cb31d3030a4db3f17d230d506828bdd87631989809139459e81937 WHIRLPOOL a5de9e0897552eab01741a8147c871909f48ec11238c9503f7902c94aad6df65baf0fe54b013145fade8091ec452c03906f624cbcd417e3cd2aac6f64b12ffd2
AUX xen-tools-4.2.2-rt-link.patch 1371 SHA256 8bbcbf69900a041c368a219aa6a3eca13d802e54a29ccfa50db4f86691ba977a SHA512 cbfac7a485c811afa54740c638ef161036f36d09d11ee3df6ae79fa9d6fbae174933946f83b4dcaa7aa78124346fbb9b9bd3e969fa73c121afc64d8eda1ecdec WHIRLPOOL da90e1b6983541d52d26dcd1dd168ed3d05e6ab69624914c544af7a6102ef66de3594fc2b07f8fe6bb7f5233781c7c35bbbb9aa8a52dda0dc78eb57f05765b83
AUX xen-tools-4.2.4-udev-rules.patch 705 SHA256 89b5eb99b4859f2f34ba55841118a21811e54c8d410ce4d14af4f21d25efb458 SHA512 90eaf7bb8e504ac035cc83d2a953af76bfd990296b539f8bf33439674ce172258171aef68617209a6c83788998bb968a3acb4c727b7f8965bef0eb9a5cd0e0bd WHIRLPOOL bf385acd06d335822d096e136ffa3ef1311be5de84b78058d788093cf87399b48801a4e020fbd0766ed3c0e60e8b211dfd8b2af4ca28ee7dd33aa8027238bef5
AUX xen-tools-4.3-ar-cc.patch 4036 SHA256 1470887a8ced12d8df61ef74d6dfcb36f2822fa95da7031162ecb577f69ae49a SHA512 1171b5005a24fbbcd4ad9a68153c78ce816aa823f0452a707f3e26d5cee0a0faa05d917db3edcdc7f2924dcf9fd8aee5d7ac7a419723eebe3699be7a32765dd0 WHIRLPOOL e5c3a2adf7e55e7690c4123f442e8f43f66030015228473f9d4d69230eeeb82714c89f502942cd9a76e0637d70f6dc2ebed7eeb3202fbb6cca430c8af420b549
AUX xen-tools-4.4-api-fix.patch 1586 SHA256 d4e2a090f38333996f14328c9b0ded2a76cb336637660446003cdfb1bc03ed49 SHA512 883c06d3d30d3b61815e0bbc69de49c11196e2bf8af7c32b4ed4dbd034596906c209e1714a5f7d9bdcdcdd289972b7b7163351c4b9e324640429e8aa598ec695 WHIRLPOOL 9a3b402487e626e4cf02664231ac263550c4f2e862f2e0d729157823217b94e7d07299e1363e8f0dc0afa0199b455f7a1c08601a4ba4b0b00b60b479f93b83c7
AUX xencommons.confd 109 SHA256 e19b950b1bb4103f9006a0c2648a8d4bc890e2c67417de2700b82fb456802640 SHA512 f0bbc9647cecc6cf806e3059960fbe39b23304d9ca0955fb261e1d320b9b9ce59e5b28cc4b5a9922295b31221f0cd8f0cccb405520e097a7b12dc6ddb3294c17 WHIRLPOOL a8b7df6f9a8515b9c3c845379a3aa4424490972d5f882e8779a30fd2d44b77cb66deaa5c1496125ea7bc82e06044a485e14e904ad5c9c79222c008fb6ccc4e74
AUX xencommons.initd 1572 SHA256 1798da5d488097792b6d2d42970309a4f6dad5a14b3104de66b44b7d07f0a5c3 SHA512 32407a6e075dbbead800b49c08db1786b9ff667dc7e3297a58ce620c200826d38955f19ec622fb6526c96615adb167c53cf34828bbb63aba40a7b24b41513382 WHIRLPOOL 29a18b9778e5c2c411f7a20381f5a9f8d1f5e99f6bdfb850a585ee21c88f4d5f678550f74ea4aee15cc8dc63db3d58564afa5480effc77e21fd89482ee560e0d
AUX xenconsoled.confd 44 SHA256 2a74be03eb74f6013242a4a5d721df6cb9b959b43c405de1e32813f52d749060 SHA512 30df69cc38d0bed26bc4d6e08a2b62cbdc654d5f663009a05cb3b83b3e3dc5e206362d3fd59abbb753ceb8d6d79eaa6e15d079bb8f4f35dc74667103faf4e85d WHIRLPOOL 503f7b48842724e69e7e4ae752d0570c339b7214b5a5fa1db51300e65470803bb383524f6de6c5c08849a961f628f6db7764e3eddcc19accbd209777a0f27d68
AUX xenconsoled.initd 902 SHA256 3c992cfaee51e923ed33982a83a16c1812abb9d365975006193ef60806268025 SHA512 f20f283dc0e262ea08ae5adadf8ffd07a111ab041ac0b4c34b2b1a517a9cc7a71f72fccf6690e389b69057875522576e528b346062a6afbd21195afa1cd14e28 WHIRLPOOL 1a952b4f84de478f3d375f93bca445fb82e4af4381f619b3d01ef8d8d1d9aae0272c392565f819580a769a3779745377caa6ebeeaf4b7cdab5858ef2b701073f
AUX xend.initd-r1 1654 SHA256 66288cbff2fcb457778e6dd5ea4edb0dd99b491a53f8cd0eb799950e7a07c361 SHA512 6ae729898c5d6104b82220e4ba9ec321615500e332ed82cbb981fc1dc2e86f897520de688ed3ccd02fb8369d64705f4993f4730836f85cd8824d3aa2f34f1f6d WHIRLPOOL 2d39bcb96e0f41078612d1f528bcc7d192ee547ede1ef8fdb48bac37500a066070910ec265fedd5767ffdd5c1d7e29deed2a50442274c8d4d1080ed43b844c07
AUX xend.initd-r2 1056 SHA256 d316338c06679bee39c2b378f2f4b5daa738d82206f80610e8ca874c797f265a SHA512 be835ff131a2845b003f0ba2b94959fc940a9db3e60f4325565317701440bb4cb6ae08e0e407b4bdbb057957541439e3b92ac7abb129d50304c14e3d180a34d4 WHIRLPOOL ccfb1abf6d6b508091600f3d99071d2143a34f5bb64d170912b8eeeb536da758c2295f19c727edb0ee86e1a38ccbdcd43e5297ea06058c539ea66fd578bcd43c
AUX xendomains-screen.confd 890 SHA256 10ae16108a73cc1ddecfae3bd8dc0e7e739f3f9d845249a2ec23ca03ea02fdb1 SHA512 fb7bfc1806608c6e30bb7db367afe9cf75d44e809556c3ba2794cb3ce0c9f35bcfd7f2bfc4a15a8d805f3d57ff082fe9a525cbac3306e64cbbd0ee5cef554505 WHIRLPOOL 014bef2bf120733482a54811f97ea680ce4d585df1cefde96a0ad90de1e167986f8ebdc0726717128c5835b8f8d55eddef79a36ab86e39ac2a43be70562eeb07
AUX xendomains.confd 291 SHA256 2fac318bb96b357dd185f7729d83c0a0b941799cdb89c24ed83051bb085735dc SHA512 8ad255d39fc0b390c854a64ed82333b6a3041e1247b7a3934cd8274710c168c0017ef2dddbe32c120268d7ea946f8c1b148d7d06a3a4bf415a77eeec36dce2da WHIRLPOOL cea26f5b0c88d644a8906cb2cc9ea8fe5071d6dfd7fc1020d1ce795a389c01b26209cdde04f61e4755494455a1b60c4652e45734c8f5463f2108ea4700e4f336
AUX xendomains.initd-r2 2929 SHA256 05118153b6dfca4c17f74a5c3c619200c2f1479ad5e7bf9887f79c12814d7944 SHA512 24328f6fa1ff8721cc76faf269f0a3aca47b5d029a8a9087be6b9a0cb2003880971109459d72e78a8349f5139c06056a0be80e4801eb34c78975f187fdd7482d WHIRLPOOL 098109d3bcde691721c997e3a62609e7001683256b85b4f64194e55c2740bb8f3b970e628315b97e26ce188f3fe2279d10a5fba03524577138ec29478a0bb7d0
AUX xenqemudev.confd 156 SHA256 61c5ff72464c5098d9cad50e5dc94a090dd107b4831bb60a4260cf0a3d12ce81 SHA512 d3cdeaed625e65e60fb22128baf24dceb45143ddf494d7db26464497abc42dbba0c0c9878f1e3908e2910557f4c4d600939824e944938aa251609ec5a1a86ee4 WHIRLPOOL 9633789dcc4dc4eaf7f2198385930bf5474c7a9e531746db89bcae50b8ed78313133a124d4a2b38fb5021337f43cfbd260e4ae391e26d063c68e7aff354be4c2
AUX xenqemudev.initd 1847 SHA256 c1b002a54917f60adf6941fecf44453c0072a9048c9c3e318d2e695f7ea12c72 SHA512 3fb6a8c5d35b773e0fb7bc9b6c26aa18be48b97d95cbb21df8aefeebb814e3fd5819d579504a4015acb0e5fd6abe2f864f48ea83c095cedae2c69720b6e355ad WHIRLPOOL 2a286111d18eb1f8701f3d30e1fb0b006e2ab359db1ff32100e18fd0e4f46cf13407d765842542c38a31598f62cc71f246bb5c11d06410336850c0288c9e8d4a
AUX xenstored.confd 42 SHA256 afcc14f014fe4ec478f85d230efefba9ffad024bf8c83b30074e8a3712cc7831 SHA512 0906cbcdc84935d07cf53bc4447a1f9a9dc4e4fb9fda9a7163f6982f1d8a3ada1f0650fcd254fb6f715a54f7971daf0a5e61c3de6db70dfd156156fd55b59fe4 WHIRLPOOL df46f3fde8b13c3427f445bcf08eb4c660f6000164a01e461cff85cf93ce1195009fc3b4457181788da8eef8dec9125b41ace233ec6f169919be64337a57ebb8
AUX xenstored.initd 1057 SHA256 15c22c41ade7a329f8a2b5c857cab865fb89752413b427c651ce5cffb45bc8fe SHA512 e74d3e95af079b96b4f2bbf3e436d2cebd84726f9c098ec1fad3dd9015a45cb2dac97fa5ee1ef9fe1f6bf332e97f1cbd38601c397a1a513cde60039ee15c8925 WHIRLPOOL 5071b02be32fe6fc1ca0eb07ad81d46e03ddd1b3344cdabf632552b87b8c2a4d45c58ba148f6706a1140e30525c1ee68394e1cbad8442886d697b3e033038a6d
DIST seabios-1.6.3.2.tar.gz 422376 SHA256 888aafe37ef3d1f502a73518a5e4dd0e9373ce4cd41681c354771314f1e41dd7 SHA512 c54431d8e81d25b74427696da689e90d3ab68c7c1be1dec05c81658d28b650f53daa34dcee2da826c1cf5d5d39396b12b0b16ea20ed6fd89de8f732163c8cca5 WHIRLPOOL 826c0e034ca46291661faa363189ee6cf56098cabc39f8fc84d2c442cc2da2174c2fa027cc11e11a7c3fed619f2e524f2aee804d9836d256448cdad28631d69a
DIST seabios-1.7.1-stable-xen.tar.gz 437679 SHA256 f45a2815fb3cce1e0d0acadcf06c6eaecf1f104bb18138a566cb5eaf414f88e5 SHA512 60b686a4dfc56b390bee3592c999d5485ad3fef8adb6115a999eb4c2d850b33ac22e67d8c58513a2d3aba3997c1402b86a01bfb7e8f19834a23623e32010f73b WHIRLPOOL 3bff0ff214d83ea1521a2689f56c6f261d59c760eb1fb5789492e4be6a638073de393d11b93a3e0a71d6f43f5fd597dc2deac326f64bb55af4346579821a28c8
DIST seabios-1.7.3.1.tar.gz 463801 SHA256 e1f5845c3fa01a9280421d587dcd866273d5d6c0002b9fe70a6736e56ef5c36f SHA512 6b2c376f6c2644e1ecad687079fc8ec63eb064b82ec3ac2d24f4ec7b56432c7ed69d41539e7b212aa134368272198bdaf50fed23637a29fcf1e653db008b2009 WHIRLPOOL 8e37ef66722580b9db67c5b98282e23074847eadbdd2db5ed8b999d25c1ce7cbe9ab54fbbb15d2985f403e18e6b2fa2ea36d87ce46ec30b0e5bbbc0f69623007
DIST xen-4.2.4-upstream-patches-3.tar.xz 57456 SHA256 e223b6fb10ca26415d0677e465480f77378f7a196bb3a2cc654a2d53e867fa66 SHA512 4b1091cba3afb149f8734630f32a3c44b1abade4a524f5bbfcc88df5700dbcb38dfd7b4dd0059e323a5b89a9156109505891a54dae9d698fe9d89ab2294e3151 WHIRLPOOL 1448b20e6930dcc7a0d57819732341e24257159c97fc5e270be9c47935b750cf7fa08b02ac1d0f49792b453476330b19c773e79d1c6b02ea9ed7baca83750163
DIST xen-4.2.4-upstream-patches-4.tar.xz 69344 SHA256 23ef320500452dcf8a824d5c8062c6399e1c3f39a51ce6594b232b4bfbd9d9c4 SHA512 43141b8ba4790860632eb83814e9b5e469ba3431da00820fd131ae6a79e1a05ea4db4b801627f52360ebac06160dd86217a79b196d2b6d379c86cf9449b75371 WHIRLPOOL 30344a3780122fed2d3895adf60bc4d7efc6879b0ad46160ccbcaa98c69aa4f419cd233690f69a250dc413fb410c3affad805bfa8570c9d78290c3a9b224264c
DIST xen-4.2.4.tar.gz 15663999 SHA256 e23e6292affd7a6d82da99527e8bf3964e57eb7322144c67c2025692b1a21550 SHA512 3e5263511e7c40899f580f3384bd987f9c875b8e6816202fd1a5a64fe7e336803d09e58148af074938ef261f0ceeafad121ac541ddd2bf66b76c5aa4ad07c357 WHIRLPOOL 25d23f5d921139ba0f853fcd76ae998647d32292bccfd4e7c4f3b12f860a38fbb33ebda67c839657bf3a25d837c9c02b80d663362263d16d42284ffde09f0bc2
DIST xen-4.3.2-upstream-patches-3.tar.xz 60208 SHA256 661ab148c9eeb2c8e44d0bd620496607a567d4f6c1fa0a6f89b21086ee8f607d SHA512 1248c937c604716f756083d44ef14150c8601f810fd8c0b73df314bd34287a53b4db3e8697f03acab3cf56252cbac8578a5bbedb40c342fa7c2b3f7f9c6575e0 WHIRLPOOL df3525d76607232720d3f3351548add60c89a139d380cf6147bec122cb11c52570e99dd14f800e88e411248b950aeed32ae03cce93fc8358011b3125114bb3c6
DIST xen-4.3.2-upstream-patches-4.tar.xz 69268 SHA256 eb00972bc511b584278a178765af8fc5d6d78097a39e6d3fdf5133a73693d953 SHA512 f9455d375f26b37844b820ea238a06c24a4e1f76adbd217a78ac31c3e0e078f9eaf2744886e09d7fc3a1b3b9b03c85257bac236742d69c5c0a00cf0683760d1d WHIRLPOOL e55f126f004313efadf7d881b10e7747504824d83f477787fad09eede0a8f3aba268a37d933e641720b51ed91723f036c80c855907697293ea2b1b52e5a9efb5
DIST xen-4.3.2.tar.gz 16472188 SHA256 17611d95f955302560ff72d97c08933b4e62bc2e8ffb71400fc54e388746ff69 SHA512 ec94d849b56ec590b89022075ce43768d8ef44b7be9580ce032509b44c085f0f66495845607a18cd3dea6b89c69bc2a18012705556f59288cd8653c3e5eca302 WHIRLPOOL 72250369fb2c90ba608e1da018cb6417b3089642c8ba59af9f2825ec5ba7c4e6c5d6f86140b20825817e4625727c6d58c5d38b00863c994e31c8a04927997bd3
DIST xen-4.4.0-upstream-patches-5.tar.xz 112184 SHA256 39b3db8f684a570d7379ee7e75e3cfffa72f8fdf639cbb745f90b42f7a223f0f SHA512 e25893b8507fd7b1a3d2194e83da55b934914df73aa4a18a893e6a09df3ab0e1f992a6b26c2b5a2fccfbe41c4a56d10db37eb58dcf08832b9d85be1ff94ced7d WHIRLPOOL 2baf008c98b9685fcad8ea58a41c14271947295ad5e28c99a01876c87ad5274d8f59e5583e1bf41caa536238ed0baaf785f4a1271b68e51f18f2195cd894b5fe
DIST xen-4.4.0.tar.gz 18116578 SHA256 6910a504fe2ffe8db0e7a44756ce1c4c95e1ccbef942a1fc8da27aced5aac021 SHA512 84bc293415b8ce9686240b0145a92be190cdd7032c66b5b07906baacbfeb33ad1e6148336e951fd4506b7f4e0b250937c702226c0207d7088a50e643bedabd17 WHIRLPOOL 87886cc83bf1eaaf5dd5b67d7cc82823d98dd9b4b47c0a178ea70ee2367c1a4a142aa66df13f58603840d0e310fb5c09dc0d5b87f6361c934e1c83c95d09d406
EBUILD xen-tools-4.2.4-r6.ebuild 12426 SHA256 c5489ffd4bd4b453bd702ba6b5c827a1662c7bf836f0cf3752361d565cd0b339 SHA512 d5215f224a8f9c7f139b51515cc8d4932f54c86fa5a1206b3724a5479fde77f55573208e1c76c3f797d052a03f97713a401380969a02e96b9d6a7c45b09a29e7 WHIRLPOOL ff5a62df762bdcca6f661556886bea44c6f3e96576ab0b4db1eeffb762955dda100b01be49954c97684de3ecf44bb9a2e85d23c8160ece4af9630c4fac6c7378
EBUILD xen-tools-4.2.4-r7.ebuild 12423 SHA256 9220dfdd1b37112fc112bb924b7eaa8ded52acceb0d23c3b76da14437e2847de SHA512 dc223b4f7397e9fa1d61bb486abb959b0d4ef788f84642e04985d4f7eaed870983e5b9cdb79987a9373015954dd01317da251bd22a4e4a8378a19495ab00b95e WHIRLPOOL bb57e425ea862a883f128ec4069ebaecc575b87ec9e6cdd6c8e70f999f7625d8abe8ab19173a82e3a307aaae56511c81ebf34c02e6f53f5e96fcc31302a84662
EBUILD xen-tools-4.3.2-r5.ebuild 13635 SHA256 99871c3b5398dbfccacb34b273436892dfe78311b0007b7aba23421277b4f70d SHA512 c134d361d6d4cd491f266b29a199b305fb7f3d263adc0204b1ce4f7c6e96f9ba3bb915014230357818ad5b2e8760c1ab0943b7401cd41e90ab2c1d6338ff0197 WHIRLPOOL a33b91b8c6ea021cf181c0f723fc60db961c1e215779092d437042e077082799f8513a508c02d4b1b3ed368df7399265a86a0e9f51afd944fb46fc975264020f
EBUILD xen-tools-4.3.2-r6.ebuild 13631 SHA256 8753b9bf0e713f6ce53f68f52c8ed93af1fdf448e3e2aa305bd5f3874a58c011 SHA512 498a0e292b73bb20c5fb0db69cb2c808c49d10eefd25e7921baf10f418121ddf5491bf1d0dcfc76bf9da43f6f7b428d365519367388bbcaeae75179be901f2c5 WHIRLPOOL 61017db68ee3e6e341ba5f3d59a48e995d209bfe91c6c356cb566bef65a994f69cd19a3bddbb1407ec509a7865dd36d86d15d47bf6dcdbfb905614eab26ef10c
EBUILD xen-tools-4.4.0-r9.ebuild 13521 SHA256 bd902ca88be1d165a4df7ad78629910cbf8e3d047e51dbbdf8e85a5a40ce570d SHA512 d70b6c3e82f7a5b6a4b567d38e923f1903b0a3a39fc2026005e0e2ba60223e226870995f5c39f3cd4cbb2f664bdf0b7bc841ef2d199de186c06ca202a34def53 WHIRLPOOL 5eef42f4c8aa971373189b0c16d672779414e80c9bd63a7fb632210f484257b0a75da1279d83b283b382d4fdc7ff21eda4ea07740df4dc9387c21389408c19e3
MISC ChangeLog 60229 SHA256 20a11411e24f522442302f530ba9475ff1cf3df15272ecd761b388386ed716a2 SHA512 fdcc0feb300ca2c5a927aea42c66b5484dd02ee53a1eb2818f611a6cc98694a6b8ae97a8c6974ca3f193c1df4b72becd893ddc3d9aa805503d9939c4c52f4811 WHIRLPOOL 6edff3a8eaf0727c50c762b25ddd3713d1892a02b978087f777fb7575c3ddb983f453f2fd1a73be968e88bb73aaa02eb6ad84e5b7c611fa83c0c46b72f7e7a0e
MISC metadata.xml 1009 SHA256 9e8e2c5b191fffbbdf2dd0772213f5b2fe13b10e0413f9d12081f87e7ba6565b SHA512 bdd573cf6cb7664d4f0512f99f7ba5c81758d59986d764423328ce1fccc2149f0f7ca9eccefe3953ecec5f4d15bf829792f9ed07a60a5c447e1a3f5ed0d26c26 WHIRLPOOL 08f65daec784396532cc0700847d5e8545a73b49e840a491a6089945bbb9a8597ecc012bf65a6835ad5dff1623377d80360692ae9c41589130f9b4bedc909e76

View File

@ -0,0 +1,14 @@
diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile
index cbd60b4..d2b83dd 100644
--- a/tools/libfsimage/common/Makefile
+++ b/tools/libfsimage/common/Makefile
@@ -5,7 +5,7 @@ MAJOR = 1.0
MINOR = 0
LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
-LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU
+LDFLAGS-$(CONFIG_Linux) =
LDFLAGS = $(LDFLAGS-y)
CFLAGS += $(PTHREAD_CFLAGS)

View File

@ -0,0 +1,29 @@
2011-10-22 Ralf Glauberman <ralfglauberman@gmx.de>
#360805 Don't compile ipxe with pie on hardened.
* /tools/firmware/etherboot/patches/ipxe-nopie.patche New patch
* /tools/firmware/etherboot/patches/series Add ipxe-nopie.patch
--- a/tools/firmware/etherboot/patches/ipxe-nopie.patch 1970-01-01 01:00:00.000000000 +0100
+++ b/tools/firmware/etherboot/patches/ipxe-nopie.patch 2011-03-27 17:45:13.929697782 +0200
@@ -0,0 +1,11 @@
+--- ipxe/src/Makefile~ 2011-03-27 17:41:52.000000000 +0200
++++ ipxe/src/Makefile 2011-03-27 17:43:20.869446433 +0200
+@@ -4,7 +4,7 @@
+ #
+
+ CLEANUP :=
+-CFLAGS :=
++CFLAGS := -nopie
+ ASFLAGS :=
+ LDFLAGS :=
+ MAKEDEPS := Makefile
--- a/tools/firmware/etherboot/patches/series 2011-03-25 11:42:50.000000000 +0100
+++ b/tools/firmware/etherboot/patches/series 2011-03-27 17:45:45.140446216 +0200
@@ -1,4 +1,5 @@
boot_prompt_option.patch
build_fix_1.patch
build_fix_2.patch
build_fix_3.patch
+ipxe-nopie.patch

View File

@ -0,0 +1,87 @@
diff -ur xen-4.3.0.orig/tools/qemu-xen/.gitignore xen-4.3.0/tools/qemu-xen/.gitignore
--- tools/qemu-xen/.gitignore 2013-06-28 19:23:16.000000000 +0800
+++ tools/qemu-xen/.gitignore 2013-07-26 23:05:24.487998947 +0800
@@ -37,7 +37,7 @@
qemu-img-cmds.h
qemu-io
qemu-ga
-qemu-bridge-helper
+xen-bridge-helper
qemu-monitor.texi
vscclient
QMP/qmp-commands.txt
diff -ur xen-4.3.0.orig/tools/qemu-xen/Makefile xen-4.3.0/tools/qemu-xen/Makefile
--- tools/qemu-xen/Makefile 2013-06-28 19:23:16.000000000 +0800
+++ tools/qemu-xen/Makefile 2013-07-26 23:03:35.800991899 +0800
@@ -50,7 +50,7 @@
LIBS+=-lz $(LIBS_TOOLS)
-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
+HELPERS-$(CONFIG_LINUX) = xen-bridge-helper$(EXESUF)
ifdef BUILD_DOCS
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt
@@ -195,7 +195,7 @@
qemu-nbd$(EXESUF): qemu-nbd.o $(tools-obj-y) $(block-obj-y) libqemustub.a
qemu-io$(EXESUF): qemu-io.o cmd.o $(tools-obj-y) $(block-obj-y) libqemustub.a
-qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o
+xen-bridge-helper$(EXESUF): xen-bridge-helper.o
vscclient$(EXESUF): $(libcacard-y) $(oslib-obj-y) $(trace-obj-y) libcacard/vscclient.o libqemustub.a
$(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@")
diff -ur xen-4.3.0.orig/tools/qemu-xen/net.h xen-4.3.0/tools/qemu-xen/net.h
--- tools/qemu-xen/net.h 2013-06-28 19:23:16.000000000 +0800
+++ tools/qemu-xen/net.h 2013-07-26 23:05:01.823997477 +0800
@@ -163,7 +163,7 @@
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
+#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper"
#define DEFAULT_BRIDGE_INTERFACE "br0"
void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);
diff -ur xen-4.3.0.orig/tools/qemu-xen/qemu-bridge-helper.c xen-4.3.0/tools/qemu-xen/qemu-bridge-helper.c
--- tools/qemu-xen/qemu-bridge-helper.c 2013-06-28 19:23:16.000000000 +0800
+++ tools/qemu-xen/qemu-bridge-helper.c 2013-07-26 23:04:11.880994239 +0800
@@ -67,7 +67,7 @@
static void usage(void)
{
fprintf(stderr,
- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
+ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
}
static int parse_acl_file(const char *filename, ACLList *acl_list)
diff -ur xen-4.3.0.orig/tools/qemu-xen/qemu-options.hx xen-4.3.0/tools/qemu-xen/qemu-options.hx
--- tools/qemu-xen/qemu-options.hx 2013-06-28 19:23:16.000000000 +0800
+++ tools/qemu-xen/qemu-options.hx 2013-07-26 23:05:17.239998477 +0800
@@ -1560,7 +1560,7 @@
If running QEMU as an unprivileged user, use the network helper
@var{helper} to configure the TAP interface. The default network
-helper executable is @file{/usr/local/libexec/qemu-bridge-helper}.
+helper executable is @file{/usr/local/libexec/xen-bridge-helper}.
@option{fd}=@var{h} can be used to specify the handle of an already
opened host TAP interface.
@@ -1584,7 +1584,7 @@
#launch a QEMU instance with the default network helper to
#connect a TAP device to bridge br0
qemu-system-i386 linux.img \
- -net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper"
+ -net nic -net tap,"helper=/usr/local/libexec/xen-bridge-helper"
@end example
@item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}]
@@ -1593,7 +1593,7 @@
Use the network helper @var{helper} to configure the TAP interface and
attach it to the bridge. The default network helper executable is
-@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge
+@file{/usr/local/libexec/xen-bridge-helper} and the default bridge
device is @file{br0}.
Examples:

View File

@ -0,0 +1,20 @@
/* This file is automatically generated.
It defines a symbol `__stub_FUNCTION' for each function
in the C library which is a stub, meaning it will fail
every time called, usually setting errno to ENOSYS. */
#ifdef _LIBC
#error Applications may not define the macro _LIBC
#endif
#define __stub_chflags
#define __stub_fattach
#define __stub_fchflags
#define __stub_fdetach
#define __stub_gtty
#define __stub_lchmod
#define __stub_revoke
#define __stub_setlogin
#define __stub_sigreturn
#define __stub_sstk
#define __stub_stty

View File

@ -0,0 +1,245 @@
# Fix gcc-4.6
diff -ur xen-4.2.0.orig/extras/mini-os/minios.mk xen-4.2.0/extras/mini-os/minios.mk
--- extras/mini-os/minios.mk 2012-09-17 18:21:17.000000000 +0800
+++ extras/mini-os/minios.mk 2012-12-05 14:01:10.653260260 +0800
@@ -6,7 +6,7 @@
# Define some default flags.
# NB. '-Wcast-qual' is nasty, so I omitted it.
-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls
+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls
DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline)
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
diff -ur xen-4.2.0.orig/tools/libxc/Makefile xen-4.2.0/tools/libxc/Makefile
--- tools/libxc/Makefile 2012-09-17 18:21:18.000000000 +0800
+++ tools/libxc/Makefile 2012-12-05 14:01:10.653260260 +0800
@@ -73,7 +73,7 @@
-include $(XEN_TARGET_ARCH)/Makefile
-CFLAGS += -Werror -Wmissing-prototypes
+CFLAGS += -Wmissing-prototypes
CFLAGS += -I. $(CFLAGS_xeninclude)
# Needed for posix_fadvise64() in xc_linux.c
# Drop .config
diff -ur xen-4.2.0.orig/Config.mk xen-4.2.0/Config.mk
--- Config.mk 2012-09-17 18:23:12.000000000 +0800
+++ Config.mk 2012-12-05 14:01:10.641260261 +0800
@@ -7,7 +7,6 @@ Drop .config
# fallback for older make
realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))")))
--include $(XEN_ROOT)/.config
# A debug build of Xen and tools?
debug ?= n
@@ -24,7 +24,7 @@
# Tools to run on system hosting the build
HOSTCC = gcc
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCFLAGS += -fno-strict-aliasing
DISTDIR ?= $(XEN_ROOT)/dist
@@ -156,7 +156,7 @@
CFLAGS += -std=gnu99
-CFLAGS += -Wall -Wstrict-prototypes
+CFLAGS += -Wstrict-prototypes
# Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...'
# and is over-zealous with the printf format lint
diff -ur xen-4.2.1.orig/tools/blktap2/drivers/Makefile xen-4.2.1/tools/blktap2/drivers/Makefile
--- tools/blktap2/drivers/Makefile 2012-12-17 23:00:11.000000000 +0800
+++ tools/blktap2/drivers/Makefile 2013-01-30 12:31:43.539941099 +0800
@@ -9,7 +9,7 @@
LOCK_UTIL = lock-util
INST_DIR = $(SBINDIR)
-CFLAGS += -Werror -g
+CFLAGS += -g
CFLAGS += -Wno-unused
CFLAGS += -fno-strict-aliasing
CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers
diff -ur xen-4.2.1.orig/tools/debugger/gdbsx/Rules.mk xen-4.2.1/tools/debugger/gdbsx/Rules.mk
--- tools/debugger/gdbsx/Rules.mk 2012-12-17 23:00:22.000000000 +0800
+++ tools/debugger/gdbsx/Rules.mk 2013-01-30 12:31:43.516941098 +0800
@@ -1,4 +1,4 @@
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror -Wmissing-prototypes
+CFLAGS += -Wmissing-prototypes
# (gcc 4.3x and later) -Wconversion -Wno-sign-conversion
diff -ur xen-4.2.1.orig/tools/debugger/xenitp/Makefile xen-4.2.1/tools/debugger/xenitp/Makefile
--- tools/debugger/xenitp/Makefile 2012-12-17 23:00:22.000000000 +0800
+++ tools/debugger/xenitp/Makefile 2013-01-30 12:31:43.516941098 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-#CFLAGS += -Werror -g -O0
+#CFLAGS += -g -O0
CFLAGS += $(CFLAGS_libxenctrl)
diff -ur xen-4.2.1.orig/tools/libaio/harness/Makefile xen-4.2.1/tools/libaio/harness/Makefile
--- tools/libaio/harness/Makefile 2012-12-17 23:00:35.000000000 +0800
+++ tools/libaio/harness/Makefile 2013-01-30 12:31:43.541941099 +0800
@@ -4,7 +4,7 @@
HARNESS_SRCS:=main.c
# io_queue.c
-CFLAGS=-Wall -Werror -g -O -laio
+CFLAGS=-Wall -g -O -laio
#-lpthread -lrt
all: $(PROGS)
diff -ur xen-4.2.1.orig/tools/libfsimage/Rules.mk xen-4.2.1/tools/libfsimage/Rules.mk
--- tools/libfsimage/Rules.mk 2012-12-17 23:00:36.000000000 +0800
+++ tools/libfsimage/Rules.mk 2013-01-30 12:31:43.515941097 +0800
@@ -1,7 +1,7 @@
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\"
-CFLAGS += -Werror -D_GNU_SOURCE
+CFLAGS += -D_GNU_SOURCE
LDFLAGS += -L../common/
PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y))
diff -ur xen-4.2.1.orig/tools/libxl/Makefile xen-4.2.1/tools/libxl/Makefile
--- tools/libxl/Makefile 2012-12-17 23:01:08.000000000 +0800
+++ tools/libxl/Makefile 2013-01-30 12:31:43.541941099 +0800
@@ -11,7 +11,7 @@
XLUMAJOR = 1.0
XLUMINOR = 1
-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
+CFLAGS += -Wno-format-zero-length -Wmissing-declarations \
-Wno-declaration-after-statement -Wformat-nonliteral
CFLAGS += -I. -fPIC
diff -ur xen-4.2.1.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.2.1/tools/qemu-xen/pc-bios/optionrom/Makefile
--- tools/qemu-xen/pc-bios/optionrom/Makefile 2012-09-11 02:10:52.000000000 +0800
+++ tools/qemu-xen/pc-bios/optionrom/Makefile 2013-01-30 12:31:43.528941098 +0800
@@ -9,7 +9,7 @@
.PHONY : all clean build-all
-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
+CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin
CFLAGS += -I$(SRC_PATH)
CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector)
QEMU_CFLAGS = $(CFLAGS)
diff -ur xen-4.2.1.orig/tools/vtpm/Rules.mk xen-4.2.1/tools/vtpm/Rules.mk
--- tools/vtpm/Rules.mk 2012-12-17 23:01:35.000000000 +0800
+++ tools/vtpm/Rules.mk 2013-01-30 12:31:43.515941097 +0800
@@ -6,7 +6,7 @@
#
# General compiler flags
-CFLAGS = -Werror -g3
+CFLAGS = -g3
# Generic project files
HDRS = $(wildcard *.h)
diff -ur xen-4.2.1.orig/tools/vtpm_manager/Rules.mk xen-4.2.1/tools/vtpm_manager/Rules.mk
--- tools/vtpm_manager/Rules.mk 2012-12-17 23:01:35.000000000 +0800
+++ tools/vtpm_manager/Rules.mk 2013-01-30 12:31:43.511941097 +0800
@@ -6,7 +6,7 @@
#
# General compiler flags
-CFLAGS = -Werror -g3
+CFLAGS = -g3
# Generic project files
HDRS = $(wildcard *.h)
diff -ur xen-4.2.1.orig/tools/xenstat/xentop/Makefile xen-4.2.1/tools/xenstat/xentop/Makefile
--- tools/xenstat/xentop/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/xenstat/xentop/Makefile 2013-01-30 12:31:43.535941098 +0800
@@ -18,7 +18,7 @@
all install xentop:
else
-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat)
+CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat)
LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS)
CFLAGS += -DHOST_$(XEN_OS)
diff -ur xen-4.2.1.orig/xen/arch/arm/Rules.mk xen-4.2.1/xen/arch/arm/Rules.mk
--- xen/arch/arm/Rules.mk 2012-12-17 23:01:37.000000000 +0800
+++ xen/arch/arm/Rules.mk 2013-01-30 12:31:43.498941097 +0800
@@ -9,7 +9,7 @@
HAS_DEVICE_TREE := y
CFLAGS += -fno-builtin -fno-common -Wredundant-decls
-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
+CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
# Prevent floating-point variables from creeping into Xen.
diff -ur xen-4.2.1.orig/xen/arch/x86/Rules.mk xen-4.2.1/xen/arch/x86/Rules.mk
--- xen/arch/x86/Rules.mk 2012-12-17 23:01:37.000000000 +0800
+++ xen/arch/x86/Rules.mk 2013-01-30 12:31:43.490941096 +0800
@@ -24,7 +24,7 @@
endif
CFLAGS += -fno-builtin -fno-common -Wredundant-decls
-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
+CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic
CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default
diff -ur xen-4.2.1.orig/xen/include/Makefile xen-4.2.1/xen/include/Makefile
--- xen/include/Makefile 2012-12-17 23:01:55.000000000 +0800
+++ xen/include/Makefile 2013-01-30 12:31:43.502941097 +0800
@@ -78,7 +78,7 @@
all: headers.chk
headers.chk: $(filter-out public/arch-% public/%ctl.h public/xsm/% public/%hvm/save.h, $(wildcard public/*.h public/*/*.h) $(public-y)) Makefile
- for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new
+ for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new
mv $@.new $@
endif
diff -ur xen-4.2.1.orig/tools/tests/mce-test/tools/Makefile xen-4.2.1/tools/tests/mce-test/tools/Makefile
--- tools/tests/mce-test/tools/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/mce-test/tools/Makefile 2013-01-30 13:01:44.890020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenguest)
CFLAGS += $(CFLAGS_libxenstore)
diff -ur xen-4.2.1.orig/tools/tests/mem-sharing/Makefile xen-4.2.1/tools/tests/mem-sharing/Makefile
--- tools/tests/mem-sharing/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/mem-sharing/Makefile 2013-01-30 13:01:44.890020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_xeninclude)
diff -ur xen-4.2.1.orig/tools/tests/xen-access/Makefile xen-4.2.1/tools/tests/xen-access/Makefile
--- tools/tests/xen-access/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/xen-access/Makefile 2013-01-30 13:01:44.891020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenguest)

View File

@ -0,0 +1,11 @@
diff -ur xen-4.2.2.orig/tools/debugger/gdbsx/xg/xg_main.c xen-4.2.2/tools/debugger/gdbsx/xg/xg_main.c
--- tools/debugger/gdbsx/xg/xg_main.c 2013-04-24 00:42:55.000000000 +0800
+++ tools/debugger/gdbsx/xg/xg_main.c 2013-05-16 00:22:39.263704336 +0800
@@ -50,6 +50,7 @@
#include "xg_public.h"
#include <xen/version.h>
#include <xen/domctl.h>
+#include <sys/types.h>
#include <xen/sys/privcmd.h>
#include <xen/foreign/x86_32.h>
#include <xen/foreign/x86_64.h>

View File

@ -0,0 +1,24 @@
diff -ur xen-4.2.1.orig/tools/examples/xend-config.sxp xen-4.2.1/tools/examples/xend-config.sxp
--- tools/examples/xend-config.sxp 2012-12-17 23:00:23.000000000 +0800
+++ tools/examples/xend-config.sxp 2013-06-27 21:32:50.198221774 +0800
@@ -200,7 +200,7 @@
#(network-script network-nat)
#(vif-script vif-nat)
-# dom0-min-mem is the lowest permissible memory level (in MB) for dom0.
+# dom0-min-mem is the lowest permissible memory level (in kb) for dom0.
# This is a minimum both for auto-ballooning (as enabled by
# enable-dom0-ballooning below) and for xm mem-set when applied to dom0.
(dom0-min-mem 196)
diff -ur xen-4.2.1.orig/tools/python/xen/xend/tests/xend-config.sxp xen-4.2.1/tools/python/xen/xend/tests/xend-config.sxp
--- tools/python/xen/xend/tests/xend-config.sxp 2012-12-17 23:01:27.000000000 +0800
+++ tools/python/xen/xend/tests/xend-config.sxp 2013-06-27 21:32:02.726225130 +0800
@@ -116,7 +116,7 @@
# Dom0 will balloon out when needed to free memory for domU.
-# dom0-min-mem is the lowest memory level (in MB) dom0 will get down to.
+# dom0-min-mem is the lowest memory level (in kb) dom0 will get down to.
# If dom0-min-mem=0, dom0 will never balloon out.
(dom0-min-mem 196)

View File

@ -0,0 +1,20 @@
diff -ur xen-4.2.0.orig/tools/tests/x86_emulator/Makefile xen-4.2.0/tools/tests/x86_emulator/Makefile
--- tools/tests/x86_emulator/Makefile 2012-09-17 18:21:19.000000000 +0800
+++ tools/tests/x86_emulator/Makefile 2012-11-24 05:06:24.355778737 +0800
@@ -14,13 +14,13 @@
.PHONY: blowfish.h
blowfish.h:
rm -f blowfish.bin
- XEN_TARGET_ARCH=x86_32 make -f blowfish.mk all
+ XEN_TARGET_ARCH=x86_32 $(MAKE) -f blowfish.mk all
(echo "static unsigned int blowfish32_code[] = {"; \
od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
echo "};") >$@
rm -f blowfish.bin
ifeq ($(XEN_COMPILE_ARCH),x86_64)
- XEN_TARGET_ARCH=x86_64 make -f blowfish.mk all
+ XEN_TARGET_ARCH=x86_64 $(MAKE) -f blowfish.mk all
(echo "static unsigned int blowfish64_code[] = {"; \
od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
echo "};") >>$@

View File

@ -0,0 +1,37 @@
diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile xen-4.2.0/tools/qemu-xen-traditional/Makefile
--- tools/qemu-xen-traditional/Makefile 2012-09-07 00:05:30.000000000 +0800
+++ tools/qemu-xen-traditional/Makefile 2012-11-22 06:12:29.433599695 +0800
@@ -243,7 +243,7 @@
install: all $(if $(BUILD_DOCS),install-doc)
mkdir -p "$(DESTDIR)$(bindir)"
ifneq ($(TOOLS),)
- $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
+ $(INSTALL) -m 755 $(TOOLS) "$(DESTDIR)$(bindir)"
endif
ifneq ($(BLOBS),)
mkdir -p "$(DESTDIR)$(datadir)"
diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile.target xen-4.2.0/tools/qemu-xen-traditional/Makefile.target
--- tools/qemu-xen-traditional/Makefile.target 2012-09-07 00:05:30.000000000 +0800
+++ tools/qemu-xen-traditional/Makefile.target 2012-11-22 06:26:45.302521231 +0800
@@ -755,7 +755,7 @@
install: all install-hook
ifneq ($(PROGS),)
- $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)"
+ $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
endif
# Include automatically generated dependency files
diff -ur xen-4.2.0.orig/tools/qemu-xen/Makefile.target xen-4.2.0/tools/qemu-xen/Makefile.target
--- tools/qemu-xen/Makefile.target 2012-09-11 02:10:52.000000000 +0800
+++ tools/qemu-xen/Makefile.target 2012-11-22 07:13:38.894263291 +0800
@@ -437,9 +437,6 @@
install: all
ifneq ($(PROGS),)
$(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
-ifneq ($(STRIP),)
- $(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS))
-endif
endif
ifdef CONFIG_TRACE_SYSTEMTAP
ifdef CONFIG_TRACE_SYSTEMTAP

View File

@ -0,0 +1,502 @@
# Fix gcc-4.6
diff -ur xen-4.2.0.orig/extras/mini-os/minios.mk xen-4.2.0/extras/mini-os/minios.mk
--- extras/mini-os/minios.mk 2012-09-17 18:21:17.000000000 +0800
+++ extras/mini-os/minios.mk 2012-12-05 14:01:10.653260260 +0800
@@ -6,7 +6,7 @@
# Define some default flags.
# NB. '-Wcast-qual' is nasty, so I omitted it.
-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls
+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls
DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline)
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
diff -ur xen-4.2.0.orig/tools/libxc/Makefile xen-4.2.0/tools/libxc/Makefile
--- tools/libxc/Makefile 2012-09-17 18:21:18.000000000 +0800
+++ tools/libxc/Makefile 2012-12-05 14:01:10.653260260 +0800
@@ -85,7 +85,7 @@
-include $(XEN_TARGET_ARCH)/Makefile
-CFLAGS += -Werror -Wmissing-prototypes
+CFLAGS += -Wmissing-prototypes
CFLAGS += -I. $(CFLAGS_xeninclude)
# Needed for posix_fadvise64() in xc_linux.c
# Drop .config
diff -ur xen-4.2.0.orig/Config.mk xen-4.2.0/Config.mk
--- Config.mk 2012-09-17 18:23:12.000000000 +0800
+++ Config.mk 2012-12-05 14:01:10.641260261 +0800
@@ -7,7 +7,6 @@ Drop .config
# fallback for older make
realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))")))
--include $(XEN_ROOT)/.config
# A debug build of Xen and tools?
debug ?= n
@@ -24,7 +24,7 @@
# Tools to run on system hosting the build
HOSTCC = gcc
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCFLAGS += -fno-strict-aliasing
DISTDIR ?= $(XEN_ROOT)/dist
@@ -156,7 +156,7 @@
CFLAGS += -std=gnu99
-CFLAGS += -Wall -Wstrict-prototypes
+CFLAGS += -Wstrict-prototypes
# Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...'
# and is over-zealous with the printf format lint
diff -ur xen-4.2.1.orig/tools/blktap2/drivers/Makefile xen-4.2.1/tools/blktap2/drivers/Makefile
--- tools/blktap2/drivers/Makefile 2012-12-17 23:00:11.000000000 +0800
+++ tools/blktap2/drivers/Makefile 2013-01-30 12:31:43.539941099 +0800
@@ -9,7 +9,7 @@
LOCK_UTIL = lock-util
INST_DIR = $(SBINDIR)
-CFLAGS += -Werror -g
+CFLAGS += -g
CFLAGS += -Wno-unused
CFLAGS += -fno-strict-aliasing
CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers
diff -ur xen-4.2.1.orig/tools/debugger/gdbsx/Rules.mk xen-4.2.1/tools/debugger/gdbsx/Rules.mk
--- tools/debugger/gdbsx/Rules.mk 2012-12-17 23:00:22.000000000 +0800
+++ tools/debugger/gdbsx/Rules.mk 2013-01-30 12:31:43.516941098 +0800
@@ -1,4 +1,4 @@
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror -Wmissing-prototypes
+CFLAGS += -Wmissing-prototypes
# (gcc 4.3x and later) -Wconversion -Wno-sign-conversion
diff -ur xen-4.2.1.orig/tools/libaio/harness/Makefile xen-4.2.1/tools/libaio/harness/Makefile
--- tools/libaio/harness/Makefile 2012-12-17 23:00:35.000000000 +0800
+++ tools/libaio/harness/Makefile 2013-01-30 12:31:43.541941099 +0800
@@ -4,7 +4,7 @@
HARNESS_SRCS:=main.c
# io_queue.c
-CFLAGS=-Wall -Werror -g -O -laio
+CFLAGS=-Wall -g -O -laio
#-lpthread -lrt
all: $(PROGS)
diff -ur xen-4.2.1.orig/tools/libfsimage/Rules.mk xen-4.2.1/tools/libfsimage/Rules.mk
--- tools/libfsimage/Rules.mk 2012-12-17 23:00:36.000000000 +0800
+++ tools/libfsimage/Rules.mk 2013-01-30 12:31:43.515941097 +0800
@@ -1,7 +1,7 @@
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\"
-CFLAGS += -Werror -D_GNU_SOURCE
+CFLAGS += -D_GNU_SOURCE
LDFLAGS += -L../common/
PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y))
diff -ur xen-4.2.1.orig/tools/libxl/Makefile xen-4.2.1/tools/libxl/Makefile
--- tools/libxl/Makefile 2012-12-17 23:01:08.000000000 +0800
+++ tools/libxl/Makefile 2013-01-30 12:31:43.541941099 +0800
@@ -11,7 +11,7 @@
XLUMAJOR = 1.0
XLUMINOR = 1
-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
+CFLAGS += -Wno-format-zero-length -Wmissing-declarations \
-Wno-declaration-after-statement -Wformat-nonliteral
CFLAGS += -I. -fPIC
diff -ur xen-4.2.1.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.2.1/tools/qemu-xen/pc-bios/optionrom/Makefile
--- tools/qemu-xen/pc-bios/optionrom/Makefile 2012-09-11 02:10:52.000000000 +0800
+++ tools/qemu-xen/pc-bios/optionrom/Makefile 2013-01-30 12:31:43.528941098 +0800
@@ -9,7 +9,7 @@
.PHONY : all clean build-all
-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
+CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin
CFLAGS += -I$(SRC_PATH)
CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector)
QEMU_CFLAGS = $(CFLAGS)
diff -ur xen-4.2.1.orig/tools/xenstat/xentop/Makefile xen-4.2.1/tools/xenstat/xentop/Makefile
--- tools/xenstat/xentop/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/xenstat/xentop/Makefile 2013-01-30 12:31:43.535941098 +0800
@@ -18,7 +18,7 @@
all install xentop:
else
-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat)
+CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat)
LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS)
CFLAGS += -DHOST_$(XEN_OS)
diff -ur xen-4.2.1.orig/xen/arch/arm/Rules.mk xen-4.2.1/xen/arch/arm/Rules.mk
--- xen/arch/arm/Rules.mk 2012-12-17 23:01:37.000000000 +0800
+++ xen/arch/arm/Rules.mk 2013-01-30 12:31:43.498941097 +0800
@@ -9,7 +9,7 @@
HAS_DEVICE_TREE := y
CFLAGS += -fno-builtin -fno-common -Wredundant-decls
-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
+CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
# Prevent floating-point variables from creeping into Xen.
diff -ur xen-4.2.1.orig/xen/arch/x86/Rules.mk xen-4.2.1/xen/arch/x86/Rules.mk
--- xen/arch/x86/Rules.mk 2012-12-17 23:01:37.000000000 +0800
+++ xen/arch/x86/Rules.mk 2013-01-30 12:31:43.490941096 +0800
@@ -24,7 +24,7 @@
endif
CFLAGS += -fno-builtin -fno-common -Wredundant-decls
-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
+CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic
CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default
diff -ur xen-4.2.1.orig/xen/include/Makefile xen-4.2.1/xen/include/Makefile
--- xen/include/Makefile 2012-12-17 23:01:55.000000000 +0800
+++ xen/include/Makefile 2013-01-30 12:31:43.502941097 +0800
@@ -78,7 +78,7 @@
all: headers.chk
headers.chk: $(filter-out public/arch-% public/%ctl.h public/xsm/% public/%hvm/save.h, $(wildcard public/*.h public/*/*.h) $(public-y)) Makefile
- for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new
+ for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new
mv $@.new $@
endif
diff -ur xen-4.2.1.orig/tools/tests/mce-test/tools/Makefile xen-4.2.1/tools/tests/mce-test/tools/Makefile
--- tools/tests/mce-test/tools/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/mce-test/tools/Makefile 2013-01-30 13:01:44.890020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenguest)
CFLAGS += $(CFLAGS_libxenstore)
diff -ur xen-4.2.1.orig/tools/tests/mem-sharing/Makefile xen-4.2.1/tools/tests/mem-sharing/Makefile
--- tools/tests/mem-sharing/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/mem-sharing/Makefile 2013-01-30 13:01:44.890020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_xeninclude)
diff -ur xen-4.2.1.orig/tools/tests/xen-access/Makefile xen-4.2.1/tools/tests/xen-access/Makefile
--- tools/tests/xen-access/Makefile 2012-12-17 23:01:35.000000000 +0800
+++ tools/tests/xen-access/Makefile 2013-01-30 13:01:44.891020152 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
+CFLAGS +=
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenguest)
diff -ur xen-4.3.0.orig/tools/firmware/Rules.mk xen-4.3.0/tools/firmware/Rules.mk
--- tools/firmware/Rules.mk 2013-07-09 18:46:56.000000000 +0800
+++ ttools/firmware/Rules.mk 2013-07-20 20:28:57.811836505 +0800
@@ -11,8 +11,6 @@
CFLAGS += -DNDEBUG
endif
-CFLAGS += -Werror
-
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
# Extra CFLAGS suitable for an embedded type of environment.
diff -ur xen-4.3.0.orig/tools/memshr/Makefile xen-4.3.0/tools/memshr/Makefile
--- tools/memshr/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/memshr/Makefile 2013-07-22 23:04:20.165369499 +0800
@@ -3,7 +3,6 @@
LIBMEMSHR-BUILD := libmemshr.a
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += $(CFLAGS_xeninclude)
CFLAGS += $(CFLAGS_libxenctrl)
diff -ur xen-4.3.0.orig/tools/misc/Makefile xen-4.3.0/tools/misc/Makefile
--- tools/misc/Makefile 2013-07-22 23:01:09.019357104 +0800
+++ tools/misc/Makefile 2013-07-22 23:03:43.645367131 +0800
@@ -1,8 +1,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
-
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_xeninclude)
CFLAGS += $(CFLAGS_libxenstore)
diff -ur xen-4.3.0.orig/tools/xenpaging/Makefile xen-4.3.0/tools/xenpaging/Makefile
--- tools/xenpaging/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xenpaging/Makefile 2013-07-22 23:04:51.893371557 +0800
@@ -11,7 +11,6 @@
SRCS += file_ops.c xenpaging.c policy_$(POLICY).c
SRCS += pagein.c
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -g
diff -ur xen-4.3.0.orig/tools/xenpmd/Makefile xen-4.3.0/tools/xenpmd/Makefile
--- tools/xenpmd/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xenpmd/Makefile 2013-07-22 23:05:13.357372949 +0800
@@ -1,7 +1,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenstore)
LDLIBS += $(LDLIBS_libxenstore)
diff -ur xen-4.3.0.orig/tools/blktap2/control/Makefile xen-4.3.0/tools/blktap2/control/Makefile
--- tools/blktap2/control/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap2/control/Makefile 2013-07-22 23:31:55.225476829 +0800
@@ -8,7 +8,6 @@
IBIN = tap-ctl
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -I../include -I../drivers
CFLAGS += $(CFLAGS_xeninclude)
diff -ur xen-4.3.0.orig/tools/blktap2/lvm/Makefile xen-4.3.0/tools/blktap2/lvm/Makefile
--- tools/blktap2/lvm/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap2/lvm/Makefile 2013-07-22 23:31:02.329473398 +0800
@@ -6,7 +6,6 @@
TEST := lvm-util
endif
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -I../include
CFLAGS += -D_GNU_SOURCE
diff -ur xen-4.3.0.orig/tools/blktap2/vhd/lib/Makefile xen-4.3.0/tools/blktap2/vhd/lib/Makefile
--- tools/blktap2/vhd/lib/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap2/vhd/lib/Makefile 2013-07-22 23:32:23.889478688 +0800
@@ -12,7 +12,6 @@
INST-DIR = $(LIBDIR)
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -I../../include
CFLAGS += -D_GNU_SOURCE
diff -ur xen-4.3.0.orig/tools/blktap2/vhd/Makefile xen-4.3.0/tools/blktap2/vhd/Makefile
--- tools/blktap2/vhd/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap2/vhd/Makefile 2013-07-22 23:31:21.641474651 +0800
@@ -8,7 +8,6 @@
IBIN = vhd-util vhd-update
INST_DIR = $(SBINDIR)
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -I../include
CFLAGS += -D_GNU_SOURCE
diff -ur xen-4.3.0.orig/tools/console/Makefile xen-4.3.0/tools/console/Makefile
--- tools/console/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/console/Makefile 2013-07-22 23:30:14.392470290 +0800
@@ -1,8 +1,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
-
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenstore)
LDLIBS += $(LDLIBS_libxenctrl)
diff -ur xen-4.3.0.orig/tools/libxen/Makefile.dist xen-4.3.0/tools/libxen/Makefile.dist
--- tools/libxen/Makefile.dist 2013-07-09 18:46:56.000000000 +0800
+++ tools/libxen/Makefile.dist 2013-07-22 23:29:08.184465996 +0800
@@ -22,7 +22,7 @@
CFLAGS = -Iinclude \
$(shell xml2-config --cflags) \
$(shell curl-config --cflags) \
- -W -Wall -Wmissing-prototypes -Werror -std=c99 -O2 -fPIC
+ -W -Wall -Wmissing-prototypes -std=c99 -O2 -fPIC
LDFLAGS = $(shell xml2-config --libs) \
$(shell curl-config --libs)
diff -ur xen-4.3.0.orig/tools/ocaml/common.make xen-4.3.0/tools/ocaml/common.make
--- tools/ocaml/common.make 2013-07-09 18:46:56.000000000 +0800
+++ tools/ocaml/common.make 2013-07-22 23:28:35.280463862 +0800
@@ -9,7 +9,7 @@
OCAMLYACC ?= ocamlyacc
OCAMLFIND ?= ocamlfind
-CFLAGS += -fPIC -Werror -I$(shell ocamlc -where)
+CFLAGS += -fPIC -I$(shell ocamlc -where)
OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p')
OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F
diff -ur xen-4.3.0.orig/tools/python/setup.py xen-4.3.0/tools/python/setup.py
--- tools/python/setup.py 2013-07-09 18:46:56.000000000 +0800
+++ tools/python/setup.py 2013-07-22 23:32:49.305480336 +0800
@@ -4,7 +4,7 @@
XEN_ROOT = "../.."
-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
+extra_compile_args = [ "-fno-strict-aliasing" ]
PATH_XEN = XEN_ROOT + "/tools/include"
PATH_LIBXC = XEN_ROOT + "/tools/libxc"
diff -ur xen-4.3.0.orig/tools/xcutils/Makefile xen-4.3.0/tools/xcutils/Makefile
--- tools/xcutils/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xcutils/Makefile 2013-07-22 23:29:45.024468385 +0800
@@ -13,8 +13,6 @@
PROGRAMS = xc_restore xc_save readnotes lsevtchn
-CFLAGS += -Werror
-
CFLAGS_xc_restore.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest)
CFLAGS_xc_save.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore)
CFLAGS_readnotes.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest)
diff -ur xen-4.3.0.orig/tools/xentrace/Makefile xen-4.3.0/tools/xentrace/Makefile
--- tools/xentrace/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xentrace/Makefile 2013-07-22 23:30:28.216471186 +0800
@@ -1,8 +1,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
-
CFLAGS += $(CFLAGS_libxenctrl)
LDLIBS += $(LDLIBS_libxenctrl)
diff -ur xen-4.3.0.orig/tools/pygrub/setup.py xen-4.3.0/tools/pygrub/setup.py
--- tools/pygrub/setup.py 2013-07-09 18:46:56.000000000 +0800
+++ tools/pygrub/setup.py 2013-07-22 23:47:45.664538464 +0800
@@ -3,7 +3,7 @@
import os
import sys
-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
+extra_compile_args = [ "-fno-strict-aliasing" ]
XEN_ROOT = "../.."
diff -ur xen-4.3.0.orig/tools/blktap/drivers/Makefile xen-4.3.0/tools/blktap/drivers/Makefile
--- tools/blktap/drivers/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap/drivers/Makefile 2013-07-23 00:40:47.810744824 +0800
@@ -4,7 +4,6 @@
IBIN = blktapctrl tapdisk
QCOW_UTIL = img2qcow qcow2raw qcow-create
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -I../lib
CFLAGS += $(CFLAGS_libxenctrl)
diff -ur xen-4.3.0.orig/tools/blktap/lib/Makefile xen-4.3.0/tools/blktap/lib/Makefile
--- tools/blktap/lib/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/blktap/lib/Makefile 2013-07-23 00:41:56.513749279 +0800
@@ -13,7 +13,6 @@
SRCS :=
SRCS += xenbus.c blkif.c xs_api.c
-CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -fPIC
# get asprintf():
diff -ur xen-4.3.0.orig/tools/configure xen-4.3.0/tools/configure
--- tools/configure 2013-07-09 18:46:56.000000000 +0800
+++ tools/configure 2013-07-23 00:39:37.435740260 +0800
@@ -7621,7 +7621,6 @@
saved_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS -Werror"
ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
if test "x$ac_cv_header_libutil_h" = x""yes; then :
diff -ur xen-4.3.0.orig/tools/flask/utils/Makefile xen-4.3.0/tools/flask/utils/Makefile
--- ools/flask/utils/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/flask/utils/Makefile 2013-07-23 00:40:03.929741978 +0800
@@ -1,7 +1,7 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Wall -g -Werror
+CFLAGS += -Wall
CFLAGS += $(CFLAGS_libxenctrl)
TESTDIR = testsuite/tmp
diff -ur xen-4.3.0.orig/tools/misc/lomount/Makefile xen-4.3.0/tools/misc/lomount/Makefile
--- tools/misc/lomount/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/misc/lomount/Makefile 2013-07-23 00:42:05.378749854 +0800
@@ -1,8 +1,6 @@
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
-
.PHONY: all
all: build
@@ -20,4 +18,4 @@
lomount: lomount.o
$(CC) $(CFLAGS) -o $@ $<
--include $(DEPS)
\ No newline at end of file
+-include $(DEPS)
diff -ur xen-4.3.0.orig/tools/qemu-xen-traditional/configure xen-4.3.0/tools/qemu-xen-traditional/configure
--- tools/qemu-xen-traditional/configure 2013-06-18 00:39:51.000000000 +0800
+++ tools/qemu-xen-traditional/configure 2013-07-23 00:43:39.570755962 +0800
@@ -1150,7 +1150,6 @@
echo "sparse enabled $sparse"
echo "profiler $profiler"
echo "static build $static"
-echo "-Werror enabled $werror"
if test "$darwin" = "yes" ; then
echo "Cocoa support $cocoa"
fi
diff -ur xen-4.3.0.orig/tools/xenbackendd/Makefile xen-4.3.0/tools/xenbackendd/Makefile
--- tools/xenbackendd/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xenbackendd/Makefile 2013-07-23 00:44:16.410758351 +0800
@@ -12,7 +12,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenstore)
CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\""
LDLIBS += $(LDLIBS_libxenstore)
diff -ur xen-4.3.0.orig/tools/xenmon/Makefile xen-4.3.0/tools/xenmon/Makefile
--- tools/xenmon/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xenmon/Makefile 2013-07-23 00:44:51.114760602 +0800
@@ -13,7 +13,6 @@
XEN_ROOT=$(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
-CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenctrl)
LDLIBS += $(LDLIBS_libxenctrl)
diff -ur xen-4.3.0.orig/tools/xenstore/Makefile xen-4.3.0/tools/xenstore/Makefile
--- ools/xenstore/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/xenstore/Makefile 2013-07-23 00:45:25.938762860 +0800
@@ -4,7 +4,6 @@
MAJOR = 3.0
MINOR = 3
-CFLAGS += -Werror
CFLAGS += -I.
CFLAGS += $(CFLAGS_libxenctrl)

View File

@ -0,0 +1,32 @@
diff -ur xen-4.2.0.orig/tools/tests/x86_emulator/Makefile xen-4.2.0/tools/tests/x86_emulator/Makefile
--- tools/tests/x86_emulator/Makefile 2012-09-17 18:21:19.000000000 +0800
+++ tools/tests/x86_emulator/Makefile 2012-11-24 05:06:24.355778737 +0800
@@ -14,13 +14,13 @@
.PHONY: blowfish.h
blowfish.h:
rm -f blowfish.bin
- XEN_TARGET_ARCH=x86_32 make -f blowfish.mk all
+ XEN_TARGET_ARCH=x86_32 $(MAKE) -f blowfish.mk all
(echo "static unsigned int blowfish32_code[] = {"; \
od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
echo "};") >$@
rm -f blowfish.bin
ifeq ($(XEN_COMPILE_ARCH),x86_64)
- XEN_TARGET_ARCH=x86_64 make -f blowfish.mk all
+ XEN_TARGET_ARCH=x86_64 $(MAKE) -f blowfish.mk all
(echo "static unsigned int blowfish64_code[] = {"; \
od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
echo "};") >>$@
diff -ur xen-4.2.0.orig/tools/firmware/vgabios/Makefile xen-4.2.0/tools/firmware/vgabios/Makefile
--- tools/firmware/vgabios/Makefile 2013-02-04 13:56:50.973533544 +0800
+++ tools/firmware/vgabios/Makefile 2013-02-04 13:57:21.380535958 +0800
@@ -27,7 +27,7 @@
.PHONY: release
release:
- VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios
+ VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" $(MAKE) bios cirrus-bios
/bin/rm -f *.o *.s *.ld86 \
temp.awk.* vgabios.*.orig _vgabios_.*.c core *.bak .#*
cp VGABIOS-lgpl-latest.bin ../$(RELEASE).bin

View File

@ -0,0 +1,13 @@
diff -ur xen-4.2.0.orig/tools/qemu-xen/Makefile.target xen-4.2.0/tools/qemu-xen/Makefile.target
--- tools/qemu-xen/Makefile.target 2012-09-11 02:10:52.000000000 +0800
+++ tools/qemu-xen/Makefile.target 2012-11-22 07:13:38.894263291 +0800
@@ -437,9 +437,6 @@
install: all
ifneq ($(PROGS),)
$(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
-ifneq ($(STRIP),)
- $(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS))
-endif
endif
ifdef CONFIG_TRACE_SYSTEMTAP
ifdef CONFIG_TRACE_SYSTEMTAP

View File

@ -0,0 +1,79 @@
diff --git a/tools/qemu-xen/Makefile b/tools/qemu-xen/Makefile
index 4d257f1..db2c2ad 100644
--- a/tools/qemu-xen/Makefile
+++ b/tools/qemu-xen/Makefile
@@ -62,7 +62,7 @@ $(call set-vpath, $(SRC_PATH))
LIBS+=-lz $(LIBS_TOOLS)
-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
+HELPERS-$(CONFIG_LINUX) = xen-bridge-helper$(EXESUF)
ifdef BUILD_DOCS
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt
@@ -186,7 +186,7 @@ qemu-img$(EXESUF): qemu-img.o $(block-obj-y) libqemuutil.a libqemustub.a
qemu-nbd$(EXESUF): qemu-nbd.o $(block-obj-y) libqemuutil.a libqemustub.a
qemu-io$(EXESUF): qemu-io.o $(block-obj-y) libqemuutil.a libqemustub.a
-qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o
+xen-bridge-helper$(EXESUF): xen-bridge-helper.o
fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o fsdev/virtio-9p-marshal.o libqemuutil.a libqemustub.a
fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
diff --git a/tools/qemu-xen/include/net/net.h b/tools/qemu-xen/include/net/net.h
index 30e4b04..6691ff0 100644
--- a/tools/qemu-xen/include/net/net.h
+++ b/tools/qemu-xen/include/net/net.h
@@ -178,7 +178,7 @@ NetClientState *net_hub_port_find(int hub_id);
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
+#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper"
#define DEFAULT_BRIDGE_INTERFACE "br0"
void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);
diff --git a/tools/qemu-xen/qemu-bridge-helper.c b/tools/qemu-xen/qemu-bridge-helper.c
index 6a0974e..74b4635 100644
--- a/tools/qemu-xen/qemu-bridge-helper.c
+++ b/tools/qemu-xen/qemu-bridge-helper.c
@@ -67,7 +67,7 @@ typedef QSIMPLEQ_HEAD(ACLList, ACLRule) ACLList;
static void usage(void)
{
fprintf(stderr,
- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
+ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
}
static int parse_acl_file(const char *filename, ACLList *acl_list)
diff --git a/tools/qemu-xen/qemu-options.hx b/tools/qemu-xen/qemu-options.hx
index d15338e..f7104f1 100644
--- a/tools/qemu-xen/qemu-options.hx
+++ b/tools/qemu-xen/qemu-options.hx
@@ -1601,7 +1601,7 @@ to disable script execution.
If running QEMU as an unprivileged user, use the network helper
@var{helper} to configure the TAP interface. The default network
-helper executable is @file{/usr/local/libexec/qemu-bridge-helper}.
+helper executable is @file{/usr/local/libexec/xen-bridge-helper}.
@option{fd}=@var{h} can be used to specify the handle of an already
opened host TAP interface.
@@ -1625,7 +1625,7 @@ qemu-system-i386 linux.img \
#launch a QEMU instance with the default network helper to
#connect a TAP device to bridge br0
qemu-system-i386 linux.img \
- -net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper"
+ -net nic -net tap,"helper=/usr/local/libexec/xen-bridge-helper"
@end example
@item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}]
@@ -1634,7 +1634,7 @@ Connect a host TAP network interface to a host bridge device.
Use the network helper @var{helper} to configure the TAP interface and
attach it to the bridge. The default network helper executable is
-@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge
+@file{/usr/local/libexec/xen-bridge-helper} and the default bridge
device is @file{br0}.
Examples:

View File

@ -0,0 +1,5 @@
/var/log/xen-consoles/*.log {
rotate 7
missingok
compress
}

View File

@ -0,0 +1,11 @@
--- xen-3.4.0/tools/hotplug/Linux/network-bridge.orig 2009-05-18 15:05:38.000000000 +0400
+++ xen-3.4.0/tools/hotplug/Linux/network-bridge 2009-06-09 23:16:05.000000000 +0400
@@ -101,7 +101,7 @@
tdev=tmpbridge
get_ip_info() {
- addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/ .*//'`
+ addr_pfx=`ip addr show dev $1 | egrep '^ *inet ' | sed -e 's/ *inet //' -e "s/$1//"`
gateway=`ip route show dev $1 | fgrep default | sed 's/default via //'`
}

View File

@ -0,0 +1,12 @@
diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
index cb13212..d83c51a 100644
--- a/tools/firmware/Makefile
+++ b/tools/firmware/Makefile
@@ -22,7 +22,6 @@ ovmf-dir:
cp ovmf-makefile ovmf-dir/Makefile;
seabios-dir:
- GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(SEABIOS_UPSTREAM_URL) $(SEABIOS_UPSTREAM_TAG) seabios-dir
cp seabios-config seabios-dir/.config;
.PHONY: all

View File

@ -0,0 +1,12 @@
diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile xen-4.2.0/tools/qemu-xen-traditional/Makefile
--- xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile 2012-09-07 00:05:30.000000000 +0800
+++ xen-4.2.0/tools/qemu-xen-traditional/Makefile 2013-01-29 11:12:20.502989453 +0800
@@ -275,7 +275,7 @@
# documentation
%.html: %.texi
- texi2html -monolithic -number $<
+ texi2html -monolithic $<
%.info: %.texi
makeinfo $< -o $@

View File

@ -0,0 +1,26 @@
diff --git a/tools/qemu-xen/po/Makefile b/tools/qemu-xen/po/Makefile
index 705166e..2e7cdcb 100644
--- a/tools/qemu-xen/po/Makefile
+++ b/tools/qemu-xen/po/Makefile
@@ -30,7 +30,7 @@ install: $(OBJS)
for obj in $(OBJS); do \
base=`basename $$obj .mo`; \
$(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES; \
- $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
+ $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/xenqemu.mo; \
done
%.mo: %.po
diff --git a/tools/qemu-xen/ui/gtk.c b/tools/qemu-xen/ui/gtk.c
index c38146f..d3c331b 100644
--- a/tools/qemu-xen/ui/gtk.c
+++ b/tools/qemu-xen/ui/gtk.c
@@ -31,7 +31,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define GETTEXT_PACKAGE "qemu"
+#define GETTEXT_PACKAGE "xenqemu"
#define LOCALEDIR "po"
#include "qemu-common.h"

View File

@ -0,0 +1,29 @@
diff -ur xen-4.2.2.orig/tools/qemu-xen/qemu-options.hx xen-4.2.2/tools/qemu-xen/qemu-options.hx
--- tools/qemu-xen/qemu-options.hx 2013-04-06 07:39:54.000000000 +0800
+++ tools/qemu-xen/qemu-options.hx 2013-05-17 22:16:56.924728753 +0800
@@ -1799,18 +1799,13 @@
devices.
Syntax for specifying a sheepdog device
-@table @list
-``sheepdog:<vdiname>''
-
-``sheepdog:<vdiname>:<snapid>''
-
-``sheepdog:<vdiname>:<tag>''
-
-``sheepdog:<host>:<port>:<vdiname>''
-
-``sheepdog:<host>:<port>:<vdiname>:<snapid>''
-
-``sheepdog:<host>:<port>:<vdiname>:<tag>''
+@table @code
+@item sheepdog:<vdiname>
+@item sheepdog:<vdiname>:<snapid>
+@item sheepdog:<vdiname>:<tag>
+@item sheepdog:<host>:<port>:<vdiname>
+@item sheepdog:<host>:<port>:<vdiname>:<snapid>
+@item sheepdog:<host>:<port>:<vdiname>:<tag>
@end table
Example

View File

@ -0,0 +1,33 @@
--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-27 21:57:04.481812859 +0100
+++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-06-02 18:52:44.935034128 +0100
@@ -48,7 +48,7 @@
else
CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.bin
endif
-ETHERBOOT_ROMS := $(addprefix ../etherboot/ipxe/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS)))
+ETHERBOOT_ROMS := $(addprefix /usr/share/ipxe/, $(addsuffix .rom, $(ETHERBOOT_NICS)))
endif
ROMS :=
--- xen-4.2.0/Config.mk.orig 2012-05-27 21:57:04.479812884 +0100
+++ xen-4.2.0/Config.mk 2012-06-02 18:55:14.087169469 +0100
@@ -206,7 +206,7 @@
# Wed Jun 26 16:30:45 2013 +0100
# xen: Don't perform SMP setup.
-ETHERBOOT_NICS ?= rtl8139 8086100e
+ETHERBOOT_NICS ?= 10ec8139 8086100e
# Specify which qemu-dm to use. This may be `ioemu' to use the old
# Mercurial in-tree version, or a local directory, or a git URL.
--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-27 21:57:04.480812871 +0100
+++ xen-4.2.0/tools/firmware/Makefile 2012-06-02 19:03:52.254691484 +0100
@@ -10,7 +10,7 @@
#SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
SUBDIRS-$(CONFIG_ROMBIOS) += rombios
SUBDIRS-$(CONFIG_ROMBIOS) += vgabios
-SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
+#SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
SUBDIRS-y += hvmloader
ovmf:

View File

@ -0,0 +1,22 @@
--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-12 16:40:47.000000000 +0100
+++ xen-4.2.0/tools/firmware/Makefile 2012-05-27 21:55:23.438076078 +0100
@@ -7,7 +7,7 @@
SUBDIRS-y :=
SUBDIRS-$(CONFIG_OVMF) += ovmf
-SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
+#SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
SUBDIRS-$(CONFIG_ROMBIOS) += rombios
SUBDIRS-$(CONFIG_ROMBIOS) += vgabios
SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-12 16:40:47.000000000 +0100
+++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-05-27 21:53:45.625298906 +0100
@@ -70,7 +70,7 @@
ifeq ($(CONFIG_SEABIOS),y)
OBJS += seabios.o
CFLAGS += -DENABLE_SEABIOS
-SEABIOS_ROM := $(SEABIOS_DIR)/out/bios.bin
+SEABIOS_ROM := /usr/share/seabios/bios.bin
ROMS += $(SEABIOS_ROM)
endif

View File

@ -0,0 +1,12 @@
diff -ur xen-4.1.1.orig//tools/hotplug/Linux/network-bridge xen-4.1.1/tools/hotplug/Linux/network-bridge
--- xen-4.1.1.orig//tools/hotplug/Linux/network-bridge 2011-10-14 02:28:43.481714285 +0800
+++ xen-4.1.1/tools/hotplug/Linux/network-bridge 2011-10-16 01:06:11.226673108 +0800
@@ -216,7 +216,7 @@
return
fi
- if [ `brctl show | wc -l` != 1 ]; then
+ if [ `brctl show | grep $netdev | wc -l` != 0 ]; then
return
fi

View File

@ -0,0 +1,74 @@
From: Roger Pau Monne
Subject: [Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak
Date: Mon, 31 Dec 2012 13:16:13 +0100
On ioreq_release the full ioreq
was memset to 0, loosing all the data
and memory allocations inside the QEMUIOVector, which leads to a
memory leak. Create a new function to specifically reset ioreq.
Reported-by: Maik Wessler <address@hidden>
Signed-off-by: Roger Pau Monné <address@hidden>
Cc: address@hidden
Cc: Stefano Stabellini <address@hidden>
Cc: Anthony PERARD <address@hidden>
---
hw/xen_disk.c | 28 ++++++++++++++++++++++++++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/hw/xen_disk.c b/hw/xen_disk.c
index a159ee5..1eb485a 100644
--- a/tools/qemu-xen/hw/xen_disk.c
+++ b/tools/qemu-xen/hw/xen_disk.c
@@ -113,6 +113,31 @@ struct XenBlkDev {
/* ------------------------------------------------------------- */
+static void ioreq_reset(struct ioreq *ioreq)
+{
+ memset(&ioreq->req, 0, sizeof(ioreq->req));
+ ioreq->status = 0;
+ ioreq->start = 0;
+ ioreq->presync = 0;
+ ioreq->postsync = 0;
+ ioreq->mapped = 0;
+
+ memset(ioreq->domids, 0, sizeof(ioreq->domids));
+ memset(ioreq->refs, 0, sizeof(ioreq->refs));
+ ioreq->prot = 0;
+ memset(ioreq->page, 0, sizeof(ioreq->page));
+ ioreq->pages = NULL;
+
+ ioreq->aio_inflight = 0;
+ ioreq->aio_errors = 0;
+
+ ioreq->blkdev = NULL;
+ memset(&ioreq->list, 0, sizeof(ioreq->list));
+ memset(&ioreq->acct, 0, sizeof(ioreq->acct));
+
+ qemu_iovec_reset(&ioreq->v);
+}
+
static struct ioreq *ioreq_start(struct XenBlkDev *blkdev)
{
struct ioreq *ioreq = NULL;
@@ -130,7 +155,6 @@ static struct ioreq *ioreq_start(struct XenBlkDev *blkdev)
/* get one from freelist */
ioreq = QLIST_FIRST(&blkdev->freelist);
QLIST_REMOVE(ioreq, list);
- qemu_iovec_reset(&ioreq->v);
}
QLIST_INSERT_HEAD(&blkdev->inflight, ioreq, list);
blkdev->requests_inflight++;
@@ -154,7 +178,7 @@ static void ioreq_release(struct ioreq *ioreq, bool finish)
struct XenBlkDev *blkdev = ioreq->blkdev;
QLIST_REMOVE(ioreq, list);
- memset(ioreq, 0, sizeof(*ioreq));
+ ioreq_reset(ioreq);
ioreq->blkdev = blkdev;
QLIST_INSERT_HEAD(&blkdev->freelist, ioreq, list);
if (finish) {
--
1.7.7.5 (Apple Git-26)

View File

@ -0,0 +1,30 @@
fix invalid installs of docs/man and config into /usr/local
--- xen-4.2.2-orig/tools/Makefile 2013-04-23 18:42:55.000000000 +0200
+++ xen-4.2.2/tools/Makefile 2013-07-29 17:01:33.764093405 +0200
@@ -199,6 +199,9 @@
--bindir=$(LIBEXEC) \
--datadir=$(SHAREDIR)/qemu-xen \
--disable-kvm \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/xen \
+ --sysconfdir=/etc \
--python=$(PYTHON) \
$(IOEMU_CONFIGURE_CROSS); \
$(MAKE) all
diff --git a/tools/qemu-xen-traditional/configure b/tools/qemu-xen-traditional/configure
index 904e019..b70ee25 100755
--- a/tools/qemu-xen-traditional/configure
+++ b/tools/qemu-xen-traditional/configure
@@ -1107,10 +1107,7 @@ elif $cc $ARCH_CFLAGS -o $TMPE $TMPC -lrt > /dev/null 2> /dev/null ; then
rt=yes
fi
-if test "$rt" = "yes" ; then
- # Hack, we should have a general purpose LIBS for this sort of thing
- AIOLIBS="$AIOLIBS -lrt"
-fi
+AIOLIBS="$AIOLIBS -lrt"
if test "$mingw32" = "yes" ; then
if test -z "$prefix" ; then

View File

@ -0,0 +1,48 @@
diff --git a/tools/qemu-xen/configure b/tools/qemu-xen/configure
index ea2f8f8..9726440 100755
--- a/tools/qemu-xen/configure
+++ b/tools/qemu-xen/configure
@@ -2459,17 +2459,41 @@ fi
##########################################
+# Do we need libm
+cat > $TMPC << EOF
+#include <math.h>
+int main(void) { return isnan(sin(0.0)); }
+EOF
+if compile_prog "" "" ; then
+ :
+elif compile_prog "" "-lm" ; then
+ LIBS="-lm $LIBS"
+ libs_qga="-lm $libs_qga"
+else
+ error_exit "libm check failed"
+fi
+
+##########################################
# Do we need librt
+# uClibc provides 2 versions of clock_gettime(), one with realtime
+# support and one without. This means that the clock_gettime() don't
+# need -lrt. We still need it for timer_create() so we check for this
+# function in addition.
cat > $TMPC <<EOF
#include <signal.h>
#include <time.h>
-int main(void) { clockid_t id; return clock_gettime(id, NULL); }
+int main(void) {
+ timer_create(CLOCK_REALTIME, NULL, NULL);
+ return clock_gettime(CLOCK_REALTIME, NULL);
+}
EOF
if compile_prog "" "" ; then
:
-elif compile_prog "" "-lrt" ; then
+# we need pthread for static linking. use previous pthread test result
+elif compile_prog "" "-lrt $pthread_lib" ; then
LIBS="-lrt $LIBS"
+ libs_qga="-lrt $libs_qga"
fi
if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \

View File

@ -0,0 +1,13 @@
--- xen-4.2.4.org/tools/hotplug/Linux/Makefile 2014-05-22 05:39:57.090009337 +0000
+++ xen-4.2.4/tools/hotplug/Linux/Makefile 2014-05-22 05:41:03.816009464 +0000
@@ -31,8 +31,8 @@
XEN_HOTPLUG_SCRIPTS = xen-backend.agent
UDEVVER = 0
-ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1)
-UDEVVER = $(shell /sbin/udevadm info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
+ifeq ($(shell [ -x $(shell which udevadm) ] && echo 1),1)
+UDEVVER = $(shell $(shell which udevadm) info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
endif
ifeq ($(shell [ -x /usr/bin/udevinfo ] && echo 1),1)
UDEVVER = $(shell /usr/bin/udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )

View File

@ -0,0 +1,84 @@
diff -ur xen-4.3.0.orig/tools/debugger/gdbsx/gx/Makefile xen-4.3.0/tools/debugger/gdbsx/gx/Makefile
--- tools/debugger/gdbsx/gx/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/debugger/gdbsx/gx/Makefile 2013-07-23 16:14:53.930752663 +0800
@@ -3,6 +3,7 @@
GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o
GX_HDRS := $(wildcard *.h)
+AR="ar"
.PHONY: all
all: gx_all.a
@@ -16,5 +17,5 @@
# $(CC) -c $(CFLAGS) -o $@ $<
gx_all.a: $(GX_OBJS) Makefile $(GX_HDRS)
- ar cr $@ $(GX_OBJS) # problem with ld using -m32
+ $(AR) cr $@ $(GX_OBJS) # problem with ld using -m32
diff -ur xen-4.3.0.orig/tools/firmware/rombios/Makefile xen-4.3.0/tools/firmware/rombios/Makefile
--- tools/firmware/rombios/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/firmware/rombios/Makefile 2013-07-23 21:57:21.258085143 +0800
@@ -1,5 +1,6 @@
XEN_ROOT = $(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
+CC="gcc"
SUBDIRS := 32bit
@@ -16,7 +17,7 @@
rm -f $(DEPS)
BIOS-bochs-latest: rombios.c biossums 32bitgateway.c tcgbios.c
- gcc -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c
+ $(CC) -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c
bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c
sed -e 's/^\.text//' -e 's/^\.data//' rombios.s > _rombios_.s
as86 _rombios_.s -b tmp.bin -u- -w- -g -0 -j -O -l rombios.txt
@@ -26,6 +27,6 @@
rm -f _rombios_.s
biossums: biossums.c
- gcc -o biossums biossums.c
+ $(CC) -o biossums biossums.c
-include $(DEPS)
diff -ur xen-4.3.0.orig/tools/firmware/vgabios/Makefile xen-4.3.0/tools/firmware/vgabios/Makefile
--- tools/firmware/vgabios/Makefile 2013-07-09 18:46:56.000000000 +0800
+++ tools/firmware/vgabios/Makefile 2013-07-23 22:42:39.041261388 +0800
@@ -37,7 +37,7 @@
tar czvf ../$(RELEASE).tgz --exclude CVS -C .. $(RELEASE)/
vgabios.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h
- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE $(VGABIOS_DATE) > _vgabios_.c
+ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE $(VGABIOS_DATE) > _vgabios_.c
$(BCC) -o vgabios.s -C-c -D__i86__ -S -0 _vgabios_.c
sed -e 's/^\.text//' -e 's/^\.data//' vgabios.s > _vgabios_.s
$(AS86) _vgabios_.s -b vgabios.bin -u -w- -g -0 -j -O -l vgabios.txt
@@ -47,7 +47,7 @@
ls -l VGABIOS-lgpl-latest.bin
vgabios.debug.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h
- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE -DDEBUG $(VGABIOS_DATE) > _vgabios-debug_.c
+ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE -DDEBUG $(VGABIOS_DATE) > _vgabios-debug_.c
$(BCC) -o vgabios-debug.s -C-c -D__i86__ -S -0 _vgabios-debug_.c
sed -e 's/^\.text//' -e 's/^\.data//' vgabios-debug.s > _vgabios-debug_.s
$(AS86) _vgabios-debug_.s -b vgabios.debug.bin -u -w- -g -0 -j -O -l vgabios.debug.txt
@@ -57,7 +57,7 @@
ls -l VGABIOS-lgpl-latest.debug.bin
vgabios-cirrus.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h clext.c
- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus_.c
+ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus_.c
$(BCC) -o vgabios-cirrus.s -C-c -D__i86__ -S -0 _vgabios-cirrus_.c
sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus.s > _vgabios-cirrus_.s
$(AS86) _vgabios-cirrus_.s -b vgabios-cirrus.bin -u -w- -g -0 -j -O -l vgabios-cirrus.txt
@@ -67,7 +67,7 @@
ls -l VGABIOS-lgpl-latest.cirrus.bin
vgabios-cirrus.debug.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h clext.c
- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DCIRRUS_DEBUG -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus-debug_.c
+ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DCIRRUS_DEBUG -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus-debug_.c
$(BCC) -o vgabios-cirrus-debug.s -C-c -D__i86__ -S -0 _vgabios-cirrus-debug_.c
sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus-debug.s > _vgabios-cirrus-debug_.s
$(AS86) _vgabios-cirrus-debug_.s -b vgabios-cirrus.debug.bin -u -w- -g -0 -j -O -l vgabios-cirrus.debug.txt

View File

@ -0,0 +1,48 @@
diff --git a/tools/configure b/tools/configure
index afc3000..6187468 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4615,7 +4615,7 @@ if test x"${PERL}" = x"no"
then
as_fn_error $? "Unable to find perl, please install perl" "$LINENO" 5
fi
-if test "x$xapi" = "xy"; then :
+if test "x$xenapi" = "xy"; then :
# Extract the first word of "curl-config", so it can be a program name with args.
set dummy curl-config; ac_word=$2
diff --git a/tools/configure.ac b/tools/configure.ac
index 0754f0e..cc884f7 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -150,7 +150,7 @@ AC_PROG_INSTALL
AC_PATH_PROG([BISON], [bison])
AC_PATH_PROG([FLEX], [flex])
AX_PATH_PROG_OR_FAIL([PERL], [perl])
-AS_IF([test "x$xapi" = "xy"], [
+AS_IF([test "x$xenapi" = "xy"], [
AX_PATH_PROG_OR_FAIL([CURL], [curl-config])
AX_PATH_PROG_OR_FAIL([XML], [xml2-config])
])
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
index b66f0bc..94b854b 100644
--- a/tools/libxen/Makefile
+++ b/tools/libxen/Makefile
@@ -22,12 +22,15 @@ MAJOR = 1.0
MINOR = 0
CFLAGS += -Iinclude \
- $(shell $(XML2_CONFIG) --cflags) \
- $(shell $(CURL_CONFIG) --cflags) \
-fPIC
+ifeq ($(LIBXENAPI_BINDINGS),y)
+CFLAGS += $(shell $(XML2_CONFIG) --cflags) \
+ $(shell $(CURL_CONFIG) --cflags)
+
LDFLAGS += $(shell $(XML2_CONFIG) --libs) \
$(shell $(CURL_CONFIG) --libs)
+endif
LIBXENAPI_HDRS = $(wildcard include/xen/api/*.h) include/xen/api/xen_all.h
LIBXENAPI_OBJS = $(patsubst %.c, %.o, $(wildcard src/*.c))

View File

@ -0,0 +1,4 @@
# /etc/conf.d/xencommons
# Load xen's kernel modules, and this will override defaults
XEN_KERNEL_MODULES=""

View File

@ -0,0 +1,80 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xencommons.initd,v 1.1 2013/12/06 23:34:11 idella4 Exp $
depend() {
before xenstored
}
is_privileged_domain() {
grep -qsE '^control_d$' /proc/xen/capabilities
return $?
}
handle_kernel_modules() {
local XEN_DEFAULT_KERNEL_MODULES="
xen-evtchn
xen-gntdev
xen-gntalloc
xen-blkback
xen-netback
xen-pciback
gntdev
netbk
blkbk
xen-scsibk
usbbk
pciback
xen-acpi-processor
blktap2
blktap
"
[ "$1" = "remove" ] && OPTS="-r"
XEN_KERNEL_MODULES="${XEN_KERNEL_MODULES:-${XEN_DEFAULT_KERNEL_MODULES}}"
for i in ${XEN_KERNEL_MODULES}; do
modprobe ${OPTS} $i 2>/dev/null
done
return 0
}
start() {
ebegin "Starting xencommons daemon"
# not running in Xen dom0 or domU
if [ ! -d /proc/xen ]; then
eend 1 "Not running in Xen mode"
return 1
fi
# mount xenfs in dom0 or domU with a pv_ops kernel
if ! test -f /proc/xen/capabilities && \
! grep '^xenfs ' /proc/mounts >/dev/null;
then
mount -t xenfs xenfs /proc/xen
fi
if ! is_privileged_domain; then
eend 1 "Not running on a privileged domain. xencommons not started"
return 1
fi
handle_kernel_modules
eend $? "Failed to start xencommons"
}
stop () {
ebegin "Stopping xencommons"
if ! is_privileged_domain; then
eend 1 "Not running on a privileged domain. xencommons not started"
return 1
fi
handle_kernel_modules remove
eend $? "Failed to stop xencommons"
}

View File

@ -0,0 +1,2 @@
# /etc/conf.d/xenstored
XENCONSOLED_OPTS=""

View File

@ -0,0 +1,34 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd,v 1.6 2014/02/13 07:59:09 dlan Exp $
depend() {
need xenstored
after lvm
}
# bug #498720
shutdown_all_domU() {
# Note: shutdown all domU, including manually started ones
local V=$(xl info| awk "/xen_minor/ { print \$3 }")
# 4.2.2 do not support "-a" option
[ $V -gt 2 ] && xl shutdown -a -w >/dev/null
}
start() {
ebegin "Starting xenconsoled daemon"
start-stop-daemon --start --exec /usr/sbin/xenconsoled \
--pidfile /run/xenconsoled.pid \
-- --pid-file=/run/xenconsoled.pid \
${XENCONSOLED_OPTS}
eend $*
}
stop() {
ebegin "Stopping xenconsoled daemon"
shutdown_all_domU
start-stop-daemon --stop --exec /usr/sbin/xenconsoled \
--pidfile /run/xenconsoled.pid
eend $*
}

View File

@ -0,0 +1,71 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xend.initd-r1,v 1.4 2014/01/02 04:58:53 idella4 Exp $
extra_commands="status"
depend() {
need net
before xendomains sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp
}
await_daemons_up() {
for ((i=0; i<5; i++)); do
/usr/sbin/xend status && return 0
sleep 1
done
return 1
}
is_privileged_domain() {
grep -qsE '^control_d$' /proc/xen/capabilities
return $?
}
start() {
if is_privileged_domain ; then
ebegin "Starting Xen control daemon"
/usr/sbin/xend start && await_daemons_up
eend $?
else
eerror "Can't start xend - this is not a privileged domain."
return 1
fi
}
stop() {
if [ "$(xm list 2>/dev/null | wc -l)" -gt 2 ]; then
ebegin "Stopping all Xen domains"
/usr/sbin/xm shutdown --all --wait >/dev/null
eend $?
fi
ebegin "Stopping Xen control daemon"
/usr/sbin/xend stop
eend $?
#ebegin "Stopping xenconsoled"
#kill $(</var/run/xenconsoled.pid)
#eend $?
#ebegin "Stopping xenstored"
#kill $(</var/run/xenstore.pid)
#eend $?
}
restart() {
# IMPORTANT: do NOT restart xenstored/xenconsoled when restarting
# just xend, as this can be fatal!
# When restarting xend, leave alone xenstored/xenconsoled and all
# running domains.
# See http://article.gmane.org/gmane.comp.emulators.xen.user/40656
ebegin "Restarting Xen control daemon"
/usr/sbin/xend restart
eend $?
# we fool /etc/init.d/runscript.sh:svc_restart() here: svc_stop svc_start
}
status() {
is_privileged_domain && /usr/sbin/xend status
}

View File

@ -0,0 +1,52 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xend.initd-r2,v 1.5 2014/01/02 04:58:53 idella4 Exp $
extra_commands="status"
depend() {
need net xenconsoled xenstored
before xendomains sshd
}
await_daemons_up() {
for ((i=0; i<5; i++)); do
sleep 1
/usr/sbin/xend status && return 0
done
return 1
}
is_privileged_domain() {
grep -qsE '^control_d$' /proc/xen/capabilities
return $?
}
start() {
if is_privileged_domain ; then
ebegin "Starting Xen control daemon"
/usr/sbin/xend start
/usr/sbin/xend status || await_daemons_up
eend $?
else
eerror "Can't start xend - this is not a privileged domain."
return 1
fi
}
stop() {
if [ "$(xm list | wc -l)" -gt 2 ]; then
ebegin " Stopping all domains"
/usr/sbin/xl shutdown -a -w >/dev/null
eend $?
fi
ebegin "Stopping Xen control daemon"
/usr/sbin/xend stop
eend $?
}
status() {
is_privileged_domain && /usr/sbin/xend status
}

View File

@ -0,0 +1,25 @@
# /etc/conf.d/xendomains
# Directory of domains to boot. AUTODIR should contain one or more symlinks
# to domain config files in /etc/xen
# AUTODIR=/etc/xen/auto
# Send shutdown commands to all domains in parallel instead of waiting for
# each to shutdown individually
# PARALLEL_SHUTDOWN=yes
# When SCREEN="yes", domains in AUTODIR have their consoles connected to a
# screen session named SCREEN_NAME, with output logged to individual files
# named after each domain and written to /var/log/xen-consoles/ . These files
# are rotated (using app-admin/logrotate) every time xendomains is started.
SCREEN="yes"
SCREEN_NAME="xen"
# Number of seconds between writes to screen's logfiles.
#
# Lower values mean more disk activity and hence a possible performance
# impact, but higher values mean a greater chance of loosing some output
# in the event of a crash.
SCREEN_LOG_INTERVAL="1"

View File

@ -0,0 +1,9 @@
# /etc/conf.d/xendomains
# Directory of domains to boot. AUTODIR should contain one or more symlinks
# to domain config files in /etc/xen
AUTODIR=/etc/xen/auto
# Send shutdown commands to all domains in parallel instead of waiting for
# each to shutdown individually
PARALLEL_SHUTDOWN=yes

View File

@ -0,0 +1,118 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2,v 1.9 2014/06/15 19:55:21 robbat2 Exp $
extra_commands="status"
depend() {
need xenstored
after dhcp xend xenconsoled
}
get_domname() {
local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alnum:]_\.-]+)\"?\W*;?/\1/p' "${1}" | tail -n 1)
if [ -z ${name_from_file} ] ; then
basename "${1}"
else
echo ${name_from_file}
fi
}
is_running() {
/usr/sbin/xl list "${1}" >/dev/null 2>&1
}
using_screen() {
[ "${SCREEN}" = "yes" -o "${SCREEN}" = "YES" ]
}
set_screen_cmd() {
screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X"
}
start() {
set_screen_cmd
einfo "Starting Xen domains from ${AUTODIR:=/etc/xen/auto}"
if using_screen ; then
ebegin "Creating screen session to hold domain consoles"
( screen -c ${SCREENRC:-/dev/null} -d -m -S ${SCREEN_NAME} -t dom0 \
&& sleep 5 \
&& ${screen_cmd} zombie dr \
&& logrotate -f /etc/xen/xen-consoles.logrotate \
&& ${screen_cmd} logfile /var/log/xen-consoles/%t.log \
&& ${screen_cmd} logfile flush ${SCREEN_LOG_INTERVAL:-1} \
&& ${screen_cmd} log on \
&& ${screen_cmd} deflog on ) >/dev/null
if [ $? -ne 0 ] ; then
eend 1
return 1
else
eend
fi
fi
# Create all domains with config files in AUTODIR.
for dom in $(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort); do
name=$(get_domname ${dom})
if ! is_running ${name} ; then
ebegin " Starting domain ${name}"
if using_screen ; then
${screen_cmd} screen -t ${name} xl create ${dom} -c
else
xl create --quiet ${dom}
fi
eend $?
else
einfo " Not starting domain ${name} - already running"
fi
done
}
stop() {
set_screen_cmd
einfo "Shutting down Xen domains from ${AUTODIR:=/etc/xen/auto}"
# Stop all domains with config files in AUTODIR.
DOMAINS="$(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort -r)"
if [ "$PARALLEL_SHUTDOWN" = "yes" ] ; then
for dom in $DOMAINS ; do
name=$(get_domname ${dom})
if is_running ${name} ; then
ebegin " Asking domain ${name} to shutdown in the background..."
xl shutdown -w ${name} >/dev/null &
else
einfo " Not stopping domain ${name} - not running"
fi
done
einfo " Waiting for shutdown of domains that are still running"
wait
eend $?
else
for dom in $DOMAINS ; do
name=$(get_domname ${dom})
if is_running ${name} ; then
ebegin " Waiting for domain ${name} to shutdown"
xl shutdown -w ${name} >/dev/null
eend $?
else
einfo " Not stopping domain ${name} - not running"
fi
done
fi
if using_screen ; then
if ${screen_cmd} sleep 0 >/dev/null 2>&1 ; then
ebegin "Closing screen session ${SCREEN_NAME}"
${screen_cmd} quit
eend $?
else
eend 0
fi
fi
}
status() {
/usr/sbin/xl list
}

View File

@ -0,0 +1,7 @@
# /etc/conf.d/xenqemudev
# To enable QEMU file backend, set to 'yes'
XENQEMUDEV_FILE_BACKEND_ENABLE=""
# Common options for xenqemudev
XENQEMUDEV_OPTS=""

View File

@ -0,0 +1,81 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenqemudev.initd,v 1.2 2013/12/07 06:49:41 idella4 Exp $
depend() {
need xencommons xenstored xenconsoled
}
is_privileged_domain() {
grep -qsE '^control_d$' /proc/xen/capabilities
return $?
}
xen_setvars() {
. /etc/xen/scripts/hotplugpath.sh
XENQEMUDEV_PIDFILE=/run/xenqemudev.pid
XEN_QEMU="${LIBEXEC}/qemu-system-i386"
}
xen_qemu_start() {
if [ -z "${XENQEMUDEV_FILE_BACKEND_ENABLE}" ]; then
ewarn " QEMU disk backend not enabled"
ewarn " enable XENQEMUDEV_FILE_BACKEND_ENABLE in /etc/conf.d/xenqemudev"
return 1
fi
xen_setvars
if [ ! -c /dev/xen/gntdev ]; then
einfo " Xen gntdev driver not loaded"
return 1
fi
if [ -e "${XEN_QEMU}" ]; then
einfo " Starting QEMU as disk backend for dom0"
XENQEMUDEV_DEFAULT_OPTS="-xen-domid 0 -xen-attach -name dom0 \
-nographic -M xenpv -daemonize \
-monitor /dev/null -serial /dev/null -parallel /dev/null"
XENQEMUDEV_OPTS=${XENQEMUDEV_OPTS:-${XENQEMUDEV_DEFAULT_OPTS}}
start-stop-daemon --start --exec ${XEN_QEMU} \
--pidfile ${XENQEMUDEV_PIDFILE} \
-- -pidfile ${XENQEMUDEV_PIDFILE} \
${XENQEMUDEV_OPTS}
return $?
fi
}
start() {
ebegin "Starting xenqemudev daemon"
# not running in Xen dom0 or domU
if [ ! -d /proc/xen ]; then
eend 1 "Not running in Xen mode"
return 1
fi
if ! is_privileged_domain; then
eend 1 "Not running on a privileged domain. xenqemudev not started"
return 1
fi
xen_qemu_start
eend $? "Failed to start xenqemudev"
}
stop () {
ebegin "Stopping xenqemudev"
xen_setvars
start-stop-daemon --stop --exec ${XEN_QEMU} \
--pidfile ${XENQEMUDEV_PIDFILE}
eend $? "Stopping xenqemudev, as it cannot be restarted."
}

View File

@ -0,0 +1,2 @@
# /etc/conf.d/xenstored
XENSTORED_OPTS=""

View File

@ -0,0 +1,44 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp
need xencommons
}
xenstored_dir_check() {
# create dir dynamically
local i
for i in /var/lock/subsys /run/xen /run/xend/boot /run/xenstored; do
[ -x $i ] || mkdir -p $i
done
}
start() {
ebegin "Starting xenstored daemon"
xenstored_dir_check
start-stop-daemon --start --exec /usr/sbin/xenstored \
--pidfile /run/xenstored.pid \
-- --pid-file=/run/xenstored.pid \
$XENSTORED_OPTS
until xenstore-exists / || $((15 < ++i))
do
echo -n .
sleep 1
done
einfo "Setting domain0 name record"
/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
local V=$(xl info| awk "/xen_minor/ { print \$3 }")
[ $V -ge 4 ] && /usr/bin/xenstore-write "/local/domain/0/domid" 0
eend $*
}
stop() {
ebegin "Stopping xenstored daemon"
start-stop-daemon --stop --exec /usr/sbin/xenstored \
--pidfile /run/xenstored.pid
eend $?
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>xen</herd>
<use>
<flag name='api'>Build the C libxenapi bindings</flag>
<flag name='flask'>Enable the Flask XSM module from NSA</flag>
<flag name='hvm'>Enable support for hardware based virtualization (VT-x,AMD-v)</flag>
<flag name='qemu'>Enable IOEMU support via the use of qemu-dm</flag>
<flag name='pygrub'>Install the pygrub boot loader</flag>
<flag name='screen'>Enable support for running domain U console in an <pkg>app-misc/screen</pkg> session</flag>
<flag name='system-qemu'>Using <pkg>app-emulation/qemu</pkg> instead of the bundled one</flag>
<flag name='system-seabios'>Using <pkg>sys-firmware/seabios</pkg> instead of the bundled one</flag>
<flag name='xend'>Enable support the xend and xm to manage xen</flag>
<flag name='ocaml'>Enable support for the ocaml language</flag>
<flag name='pam'>Enable pam support</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,411 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r6.ebuild,v 1.4 2014/07/30 19:20:10 ssuominen Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 x86"
UPSTREAM_VER=3
GENTOO_VER=
SEABIOS_VER=1.6.3.2
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTREAM_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}"
DEPEND="dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libgcrypt:0
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
dev-ml/findlib
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=dev-lang/ocaml-4 )
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
use api && export "LIBXENAPI_BINDINGS=y"
use flask && export "FLASK_ENABLE=y"
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Bug 496708
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Don't build ipxe with pie on hardened, Bug #360805
if gcc-specs-pie; then
epatch "${FILESDIR}"/ipxe-nopie.patch
fi
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
# add missing header, Bug #467200
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
# Bug 463840
epatch "${FILESDIR}"/${PN}-4.2.2-install.patch
epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# Bug 510976
epatch "${FILESDIR}"/${P}-udev-rules.patch
# bundled seabios
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
# Bug 445986
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${ED}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem at boot."
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use xend; then
echo
elog "xend capability has been enabled and installed"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

View File

@ -0,0 +1,411 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r7.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~x86"
UPSTREAM_VER=4
GENTOO_VER=
SEABIOS_VER=1.6.3.2
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTREAM_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}"
DEPEND="dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libgcrypt:0
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
dev-ml/findlib
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=dev-lang/ocaml-4 )
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
use api && export "LIBXENAPI_BINDINGS=y"
use flask && export "FLASK_ENABLE=y"
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Bug 496708
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Don't build ipxe with pie on hardened, Bug #360805
if gcc-specs-pie; then
epatch "${FILESDIR}"/ipxe-nopie.patch
fi
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
# add missing header, Bug #467200
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
# Bug 463840
epatch "${FILESDIR}"/${PN}-4.2.2-install.patch
epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# Bug 510976
epatch "${FILESDIR}"/${P}-udev-rules.patch
# bundled seabios
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
# Bug 445986
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${ED}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem at boot."
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use xend; then
echo
elog "xend capability has been enabled and installed"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

View File

@ -0,0 +1,445 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r5.ebuild,v 1.3 2014/07/30 19:20:10 ssuominen Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 -x86"
UPSTREAM_VER=3
GENTOO_VER=
SEABIOS_VER=1.7.1-stable-xen
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTREAM_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}
pygrub? ( python )"
DEPEND="dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libgcrypt:0
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
sys-libs/zlib
sys-power/iasl
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-python/markdown
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Bug 496708
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
# add missing header
epatch "${FILESDIR}"/xen-4-ulong.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
# Bug 477676
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# Prevent file collision with qemu package Bug 478064
epatch "${FILESDIR}"/qemu-bridge.patch
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# bundled seabios
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
-i tools/libxl/libxl_bootloader.c || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr --disable-werror"
if use ocaml
then
myconf="${myconf} $(use_enable ocaml ocamltools)"
else
myconf="${myconf} --disable-ocamltools"
fi
if ! use pam
then
myconf="${myconf} --disable-pam"
fi
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# Move files built with use qemu, Bug #477884
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use xend; then
elog"";elog "xend capability has been enabled and installed"
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

View File

@ -0,0 +1,445 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r6.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 -x86"
UPSTREAM_VER=4
GENTOO_VER=
SEABIOS_VER=1.7.1-stable-xen
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTREAM_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}
pygrub? ( python )"
DEPEND="dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libgcrypt:0
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
sys-libs/zlib
sys-power/iasl
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-python/markdown
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Bug 496708
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
# add missing header
epatch "${FILESDIR}"/xen-4-ulong.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
# Bug 477676
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# Prevent file collision with qemu package Bug 478064
epatch "${FILESDIR}"/qemu-bridge.patch
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# bundled seabios
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
-i tools/libxl/libxl_bootloader.c || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr --disable-werror"
if use ocaml
then
myconf="${myconf} $(use_enable ocaml ocamltools)"
else
myconf="${myconf} --disable-ocamltools"
fi
if ! use pam
then
myconf="${myconf} --disable-pam"
fi
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# Move files built with use qemu, Bug #477884
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use xend; then
elog"";elog "xend capability has been enabled and installed"
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

View File

@ -0,0 +1,441 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r9.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~arm -x86"
UPSTREAM_VER=5
GENTOO_VER=
SEABIOS_VER=1.7.3.1
[[ -n ${UPSTREAM_VER} ]] && \
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTRAM_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
arm? ( >=sys-apps/dtc-1.4.0 )
!arm? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
dev-python/markdown
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
else
die "Unsupported architecture!"
fi
fi
#bug 472438
export BASH_COMPLETION_DIR=/usr/share/bash-completion
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Bug 496708
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${PN/-tools/}-4.4-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
# Bug 477676
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# Prevent file collision with qemu package Bug 478064
epatch "${FILESDIR}"/xen-4.4-qemu-bridge.patch
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
epatch "${FILESDIR}"/${PN}-4.4-api-fix.patch
# Fix po file collision with app-emulation/qemu, while USE=qemu is enabled, Bug 508302
epatch "${FILESDIR}"/${PN}-4-qemu-fix-po-collision.patch
# bundled seabios
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# Bug 477884, 518136
if [[ "${ARCH}" == 'amd64' ]]; then
sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die
fi
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr \
--libdir=/usr/$(get_libdir) \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
--disable-qemu-traditional \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ocaml ocamltools) \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

View File

@ -0,0 +1,167 @@
# ChangeLog for dev-libs/yajl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/ChangeLog,v 1.39 2014/06/22 10:01:32 mgorny Exp $
*yajl-1.0.11-r1 (22 Jun 2014)
22 Jun 2014; Michał Górny <mgorny@gentoo.org> +yajl-1.0.11-r1.ebuild:
Enable multilib support on yajl-1, needed by app-admin/elektra.
*yajl-2.0.4-r3 (16 Jun 2014)
16 Jun 2014; Julian Ospald <hasufell@gentoo.org> +yajl-2.0.4-r3.ebuild,
+files/yajl-2.0.4-pkgconfig_multilib.patch:
fix .pc install destination wrt #480598
26 Jun 2013; Michael Weber <xmw@gentoo.org>
-files/yajl-2.0.4-remove_static_lib.patch, yajl-2.0.4-r2.ebuild:
fix USE=-static-libs (patch did not work, just remove .a after build/install,
bug 474814 by patrick), fix src_test.
*yajl-2.0.4-r2 (23 Jun 2013)
23 Jun 2013; Michael Weber <xmw@gentoo.org>
+files/yajl-2.0.4-remove_static_lib.patch, +yajl-2.0.4-r2.ebuild,
-yajl-1.0.11-r1.ebuild, -yajl-2.0.2.ebuild, -yajl-2.0.4.ebuild:
Revbump, USE=static-libs (bug 447376, thanks ago), fix multilib test (bug
467808, thanks Alphat-PC). Drop old.
*yajl-2.0.4-r1 (25 Apr 2013)
25 Apr 2013; Michael Weber <xmw@gentoo.org> +yajl-2.0.4-r1.ebuild,
metadata.xml:
revbump to cmake-multilib, add myself as maint (bug 466820)
13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.3.ebuild:
Stable for sparc, wrt bug #464112
12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.3.ebuild:
Stable for ia64, wrt bug #464112
12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.3.ebuild:
Stable for alpha, wrt bug #464112
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.4.ebuild:
Add ~sparc, wrt bug #449220
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.4.ebuild:
Add ~alpha, wrt bug #449220
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.4.ebuild:
Add ~ia64, wrt bug #449220
29 May 2012; Brent Baude <ranger@gentoo.org> yajl-2.0.3.ebuild:
Marking yajl-2.0.3 ppc64 for bug 402287
29 May 2012; Michael Weber <xmw@gentoo.org> yajl-2.0.3.ebuild:
ppc stable (bug 402287)
18 May 2012; Alexis Ballier <aballier@gentoo.org> yajl-2.0.4.ebuild:
keyword ~amd64-fbsd
12 May 2012; Markus Meier <maekke@gentoo.org> yajl-2.0.3.ebuild:
arm stable, bug #402287
08 May 2012; Jeroen Roovers <jer@gentoo.org> yajl-2.0.3.ebuild:
Stable for HPPA (bug #402287).
06 May 2012; Agostino Sarubbo <ago@gentoo.org> yajl-2.0.3.ebuild:
Stable for amd64, wrt bug #402287
*yajl-2.0.4 (06 May 2012)
06 May 2012; Hans de Graaff <graaff@gentoo.org> +yajl-2.0.4.ebuild:
Version bump. Closes bug 414759, thanks to Johan Bergström for reporting.
05 May 2012; Markus Meier <maekke@gentoo.org> yajl-2.0.3.ebuild:
x86 stable, bug #402287
12 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> yajl-2.0.3.ebuild:
If we build static libraries, we should also install them.
07 Mar 2012; Naohiro Aota <naota@gentoo.org> yajl-2.0.3.ebuild:
Add ~x86-fbsd.
31 Dec 2011; Fabian Groffen <grobian@gentoo.org> yajl-2.0.3.ebuild:
Add Prefix keywords, bug #396547
*yajl-2.0.3 (25 Dec 2011)
25 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +yajl-2.0.3.ebuild:
Version bump, thanks to Johan Bergström in bug #394985. Also shorten src_test
and avoid setting S which is supposedly read-only in phases in EAPI=4 and
later.
23 Oct 2011; Tomáš Chvátal <scarabeus@gentoo.org> yajl-2.0.2.ebuild:
Make static libs optional
18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> yajl-1.0.11.ebuild:
ppc/ppc64 stable wrt #382641
17 Oct 2011; Markus Meier <maekke@gentoo.org> yajl-1.0.11.ebuild,
yajl-2.0.2.ebuild:
arm stable, bug #382641
17 Oct 2011; Jeroen Roovers <jer@gentoo.org> yajl-1.0.11.ebuild:
Stable for HPPA (bug #382641).
13 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> yajl-2.0.2.ebuild:
Bump to eapi4.
07 Jul 2011; Hans de Graaff <graaff@gentoo.org> yajl-2.0.2.ebuild:
Move back into the normal slot since this package is not designed for
parallel installation.
*yajl-2.0.2 (07 Jul 2011)
07 Jul 2011; Hans de Graaff <graaff@gentoo.org> +yajl-2.0.2.ebuild:
Version bump as reported by Johan Bergström in bug 373929. Added new slot
since this version is not fully backward compatible.
*yajl-1.0.11-r1 (11 Feb 2011)
11 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> yajl-1.0.11.ebuild,
+yajl-1.0.11-r1.ebuild, +files/yajl-fix_static_linking.patch:
Fix static linking and tests per Diego's request.
03 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> yajl-1.0.11.ebuild:
Added ~ppc/~ppc64 wrt #341149
23 Jan 2011; Thomas Kahle <tomka@gentoo.org> yajl-1.0.11.ebuild:
x86 stable per bug 352279
22 Jan 2011; Markos Chandras <hwoarang@gentoo.org> yajl-1.0.11.ebuild:
Stable on amd64 wrt bug #352279
27 Oct 2010; Markus Meier <maekke@gentoo.org> yajl-1.0.11.ebuild:
add ~arm, bug #341149
20 Oct 2010; Jeroen Roovers <jer@gentoo.org> yajl-1.0.11.ebuild:
Marked ~hppa (bug #341149).
*yajl-1.0.11 (15 Oct 2010)
15 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> +yajl-1.0.11.ebuild:
Version bump.
*yajl-1.0.9-r1 (23 May 2010)
23 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+yajl-1.0.9-r1.ebuild, +files/yajl-fix_cmakelists.patch,
+files/yajl-fix_tests.patch, +metadata.xml:
Initial import in main tree of yajl, needed for yajl-ruby which is in turn
optionally used by the new Rails. Assigned to ruby herd for now. Thanks to
the Sunrise people for the ebuild.
04 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org> yajl-1.0.9.ebuild,
+files/yajl-fix_cmakelists.patch, +files/yajl-fix_tests.patch:
Fixup yajl cmakelist files.
26 Mar 2010; Ondrej Sukup (mimi_vx) <mimi.vx@gmail.com> +yajl-9999.ebuild:
Add live ebuild. Thx chithead
*yajl-1.0.9 (18 Mar 2010)
18 Mar 2010; Ondrej Sukup (mimi_vx) <mimi.vx@gmail.com>
+yajl-1.0.9.ebuild, +metadata.xml:
initial commit of yajl , thanks to scarabeus and Tommy[D]

View File

@ -0,0 +1,36 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX yajl-2.0.4-pkgconfig_multilib.patch 1584 SHA256 c3751b4868087ca4b837a2e54b270c41e7bcf203d2231d9c8c7dcbab5a4616f5 SHA512 fc0a4d508e48bc8e005e0ad50fb44f3a0dbdd5e8e4eca4784e29a11498a480bd8ffe5558b512be9d54cd2b22bed53399f277796c413230e7c49abbd0dd98530f WHIRLPOOL f5f3a3bf77c4c09c42ca6183792306a4f80adb54eabfcfa7a0a82005018e93dfab4c84f80e0d86ea3b29d97d59b6505d3e82724fb29f4b20aece190e3b4e0529
AUX yajl-fix_static_linking.patch 1019 SHA256 0a32becf97f2ac4cf14f977dfe0301411583cbb74570a7682632a2e11af99f72 SHA512 14e2708d979b59dd5764757f26ad4008a6229fa571c8b40e1fb2b5a4a6a68c5308d97aa78e1e06b274672cbbf6d07195d2d8291d78452c61738585af8142e32b WHIRLPOOL a3bebd09d5b1257d29008f0b30f43d9093a3194f08d9ca32cb290e530e70504dc43afbde91529e7dee97f1d7877ee57c966274acbf05fa9c2498899c86e7a27b
AUX yajl-fix_tests.patch 696 SHA256 90a5239c9fc5424ca2837c4d7c1cf83e6d7de589daef80f2431fe35758045429 SHA512 13234c6aa089e09083e15c5be9d2f854a3449373e90c452bd8d39308def000aeabb0e844c345ec4871ec39b1b7f96e962d623ce425bec3354614f10c63d0f6ff WHIRLPOOL 5bbd5b303ebf1f5447cabcee2f7ee07aa4a091d837f542d5fcd2929d47d9239c4fc17fe64553a98ac773c406a32ab0401f11b21a7028f07e715bb0cc8c8f504f
DIST yajl-1.0.11.tar.gz 53705 SHA256 1e98e03b927a8ec466baea527647f5e243f56f71bdec48cdab1c875f0f8b96a9 SHA512 6ab0e5052da45be327f1987818037b89b37b382c095a9e64043422425759c4819e46eb6c43919677b6020d10c042d077655ad50809d13733f781bee7db8babf0 WHIRLPOOL 28cf0723b65cbdea8d177d4326322fe24d335fc9ff84482b363f797e622ca9f683b1d21c50e1cb8289ac4895906da833e6229a903431c04691c5fd50aa926f57
DIST yajl-2.0.3.tar.gz 82544 SHA256 606ee384f288b6ad4f17c9c57b8868f8db525d542790fd1071139c9636e71952 SHA512 cef6e895ad169aac9e729f8bde006367d39456c6c1a62e1984d097f2f237cc5e317ddfef4d90c36242f772c867cee220082313f6d324a57e58a56d3e51ae0f85 WHIRLPOOL e9f3b37358d904f3e0aadad256fa7829b97170af5f9c3c3605c54f216cd1ac7958a281eb39f7e5cf5a0af2dce6120f900c3489ac50eeaef154b7ee4c50dd2d8b
DIST yajl-2.0.4.tar.gz 82814 SHA256 c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118 SHA512 ab99fdd6b7e6f7add5530fff2d3ac6171ed3698267016d6cd23449742d36c9d848f065ba920dc2abb934488239e11e4ceda571c05fa472ab5d3f0480e9033a13 WHIRLPOOL ed821d07f5c06e4722d9de9648d4929fe6a5bcc13d2bd3bb6bcddce60a9817612d59f14963cc46b43b002345fc56813230194d997098de77f4d9075cf64dd85b
EBUILD yajl-1.0.11-r1.ebuild 634 SHA256 baba7da235e5b234e64024c538eba8177fc4f6c028df2536c50472b0766cce6f SHA512 6fd820a09414247854cd0bd8399813795a2dfb9758ffca27ae035245bc8a7cb3f93dfc211e01f05f7c233265acd26ecde53d89c01b75671adc6aab4a0896b0dd WHIRLPOOL 4fee172b33ffdd83c8fd177075becc3944afb70593fc84072dc88f2595725eb57dc6ce1d833a34fce939484971664ae00c25c840e239d2dd19fd729036fbeb1b
EBUILD yajl-1.0.11.ebuild 647 SHA256 fa17720bf216f7c3e330f707907152ecb13b85bfb8f83332ff09e1dddbd7c985 SHA512 0ea2f92eae9e94542e3d0975061c95a4c8863131118d982270413d5ea75a94d40118cef1fa7ff2bd68296eebff838f168be149581da6287f3569c1366513eb7b WHIRLPOOL d305d75bf513bb4d7ee4d6f38d24e5816569966eaf37a0d0b47fef2603d8ffb7aab53dd7a34c9c2abd9428edd0bb7a8831e9562573fa9812d4f899f49ddf7cb3
EBUILD yajl-2.0.3.ebuild 850 SHA256 6aea8216158656515441be45691ea09341f6435006a83ad45a11ab2e6f89a9ac SHA512 8f3476212aef836f03e4c0d20f4391f71d5d110dab2182462820292fdb879f487ef8b3d284b964d8669a3e730536e658f50c3b3289a4fa3da24b0098a5ef5e1d WHIRLPOOL cc181ceb1d237d983b80c002225004f40664fb94236c849343c4b22223a3275216afb85eeedb325b99d005c4310cbef1d0bcfb08711e3398ba4f7e790c61e1cb
EBUILD yajl-2.0.4-r1.ebuild 830 SHA256 eb1ee93825dc6be03394c61af637fd62fc1f45938a4d3e7ec5652724102888e8 SHA512 3f6459c5f357c840fbf6c5c58eb6c388161b932be1ac408791ee379e45afdcb69a78d17577052d475f841ae39de6fad6a647339d4e3dbcdf8386be514017eb7d WHIRLPOOL 784fcf9793027462ddbc2d17133ea6fc31c8e57b944a39cf94c700877c6c83dacdf3bdfdead7b3871593e5e6923b565212ac86398fac4b18ce73338c20f1e27e
EBUILD yajl-2.0.4-r2.ebuild 1018 SHA256 71d8264d7c4b857df0f042f31911d39edae5221a1be314f765427a69ce670afa SHA512 c55bea6b737fd89729aa938ab4c8f44a41e7e8549e1e848d5e0e872c8e1e5bbe78d50109323a49de6dd7f07cc5ae3f2701d9b2563047e97849e2b240b0516427 WHIRLPOOL 16cab42cd1b42ebd959fc6feef50cfaf190ef8598119317f31b8a2317e083cd1e55d84cfd313239ef0862cc0c7cc4f824679eca2a2328dc7b54269f3f6cfb87e
EBUILD yajl-2.0.4-r3.ebuild 1071 SHA256 312caafc108617a716594e161f50fb4f04b91b96c063a443119d58d71f72e937 SHA512 e8588392cc0b0d9493a64d21563db0b408ab5160e34c83e84efaac22936eb96c6763f9f1afac1f21eb0b3a71f221e928283e19258e15d6669fa126bf28d7591a WHIRLPOOL 81f458a5a044742eca43347a99691f6deb43d0e0504b013147876d6ab31059058729cd14c2dd236f070b9aaf9b8264d3a1c85fb132a7dac379f5271dca3ba589
MISC ChangeLog 5976 SHA256 eea251ded407a096ee971f31c8ad925cd9514b0673275d911fb8b565eca242b9 SHA512 0e5d5ec808fa9ebedfcf9a2414d94b0560761158fe4d15ae54d5b0e079393f221b2b6a97f4dd56a9ba2a4b39e7ba05bc87dc87ea27d188e990f54e96b62d0bd1 WHIRLPOOL 600e0309b259d488a51df465497f1b229f0ba9b076ec91b2b5c8bce36544c42c416f401d75f23adb488b3cbc0b097e5be3c8231808e61e868c850ee97a505cef
MISC metadata.xml 243 SHA256 c6a73a4f1467a2fb881fe3bf391e72dc518cfa52863fc71f9e4d2c8fb9923e5d SHA512 e4c766d1ba677f2aa37e86ac1016cf3bf36a4aabb432594f103bf57ca36b2db273be18ec09d38982251452d748512ca00ea652a6335e2f2ac775b5a7d5a5eac7 WHIRLPOOL c5dd222916a26d80b068f132d9358e65abac7585c3ecce0f9c4de0f795dee831be73b6c9a2d8d62313b3c9454d557f88a2881575db58d65d165cea550960786b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQJ8BAEBCABmBQJTpql9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOUCoQALzdsAdOL/nA4HYhGWQhShFA
/zkI071EFjcf6AhkqFu3a57COJNOGWsn/KTVzpCwUXyQSJlMe9oDN35tGX+Ov9qr
v8+0crGpiUkvzKcKY4K5GJk9sX+OirD7MqnTmtN5/w1o3q487XH6ux8v1VeSeRPy
d6ioQ0MxttqMghDzu/DOLCy8c/WQ1C3mCRDpl7gKR8RwaSv+ViemRLldNLWnJmXX
Nc+xk02QdzPSA2eAl6fagrlQi5FN57ErNF7XBay9fgaJsFeQoqo6wCcg8M5C5M6b
Uq/PlgZfaAZVutCuCR0c0yH5gpAuUA7CRH7907Fqhj02biYv11o5gzmcU/3RLv5V
XFcswnOgvqOQfVNo4mRglQQuoii7yOSzhTogO2m4WRJeXOvDKqtxjH5S/lOeioF6
4Cjusc8IPh57ev1fj6ttlgny3amzKHuslZnjFRLLKJ4mbboxL6D9oVbL01NoM3uk
0dUcq0+cMlFEgHcHRVhsXSK9Rv+CpthFeQ1ggdU6gBeqaLbsWILN1TsVqTtcW9ad
kSz5M5JaEM9fulpwN2IKvsPWB4S5N1JKuqne1QSct7MP8Sqn2HutYBARN7Iw1vlA
S+tRjtUiK3fwf8n1UjwfWXrgOAOlsBHTtYYaOEJWGccJqRv6VXfsO7/j6YqmiVbK
KrRkRjUrc7QVO2fBPla6
=k5mx
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,40 @@
From 409098e97292aa1698ddff7f34dd8099db41a550 Mon Sep 17 00:00:00 2001
From: ksergey <inndie@gmail.com>
Date: Tue, 28 Jan 2014 00:35:36 -0500
Subject: [PATCH] fixed pkgconfig file path
---
src/CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e36b736..27b7c7d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD)
# set up some paths
SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig)
+SET (pkgConfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib/pkgconfig)
# set the output path for libraries
SET(LIBRARY_OUTPUT_PATH ${libDir})
@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir})
# generate build-time source
SET(dollar $)
CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h)
-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc)
+CONFIGURE_FILE(yajl.pc.cmake ${pkgConfigDir}/yajl.pc)
# copy public headers to output directory
FOREACH (header ${PUB_HDRS})
@@ -82,5 +82,5 @@ IF(NOT WIN32)
INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl)
INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl)
- INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig)
+ INSTALL(FILES ${pkgConfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
ENDIF()
--
1.8.5.5

View File

@ -0,0 +1,24 @@
diff -urN lloyd-yajl-f4baae0.old//reformatter/CMakeLists.txt lloyd-yajl-f4baae0//reformatter/CMakeLists.txt
--- lloyd-yajl-f4baae0.old//reformatter/CMakeLists.txt 2010-07-22 00:12:15.000000000 +0200
+++ lloyd-yajl-f4baae0//reformatter/CMakeLists.txt 2011-02-11 19:28:40.006756997 +0100
@@ -42,7 +42,7 @@
ADD_EXECUTABLE(json_reformat ${SRCS})
-TARGET_LINK_LIBRARIES(json_reformat yajl_s)
+TARGET_LINK_LIBRARIES(json_reformat yajl)
# copy the binary into the output directory
GET_TARGET_PROPERTY(binPath json_reformat LOCATION)
diff -urN lloyd-yajl-f4baae0.old//verify/CMakeLists.txt lloyd-yajl-f4baae0//verify/CMakeLists.txt
--- lloyd-yajl-f4baae0.old//verify/CMakeLists.txt 2010-07-22 00:12:15.000000000 +0200
+++ lloyd-yajl-f4baae0//verify/CMakeLists.txt 2011-02-11 19:28:58.296756998 +0100
@@ -42,7 +42,7 @@
ADD_EXECUTABLE(json_verify ${SRCS})
-TARGET_LINK_LIBRARIES(json_verify yajl_s)
+TARGET_LINK_LIBRARIES(json_verify yajl)
# copy in the binary
GET_TARGET_PROPERTY(binPath json_verify LOCATION)

View File

@ -0,0 +1,15 @@
diff -urN lloyd-yajl-9c15d72.old/test/run_tests.sh lloyd-yajl-9c15d72//test/run_tests.sh
--- lloyd-yajl-9c15d72.old/test/run_tests.sh 2010-04-04 23:59:51.000000000 +0200
+++ lloyd-yajl-9c15d72//test/run_tests.sh 2010-04-05 00:00:26.000000000 +0200
@@ -8,9 +8,9 @@
# find test binary on both platforms. allow the caller to force a
# particular test binary (useful for non-cmake build systems).
if [ -z "$testBin" ]; then
- testBin="../build/test/Debug/yajl_test.exe"
+ testBin="./yajl_test.exe"
if [[ ! -x $testBin ]] ; then
- testBin="../build/test/yajl_test"
+ testBin="./yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
<maintainer>
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,27 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-1.0.11-r1.ebuild,v 1.3 2014/06/22 10:01:32 mgorny Exp $
EAPI=5
inherit cmake-multilib vcs-snapshot
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${PN}-fix_tests.patch
cmake-utils_src_prepare
}
multilib_src_test() {
emake test
}

View File

@ -0,0 +1,30 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-1.0.11.ebuild,v 1.10 2011/10/18 16:51:28 ssuominen Exp $
EAPI=2
inherit cmake-utils
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc ppc64 x86"
IUSE=""
CMAKE_IN_SOURCE_BUILD="1"
src_prepare() {
cd "${WORKDIR}"/lloyd-${PN}-*
S=$(pwd)
epatch "${FILESDIR}"/${PN}-fix_tests.patch
}
src_test() {
emake test
}

View File

@ -0,0 +1,33 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.3.ebuild,v 1.13 2013/04/13 08:15:05 ago Exp $
EAPI=4
inherit base cmake-utils
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
PATCHES=(
"${FILESDIR}"/${PN}-fix_static_linking.patch
)
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/lloyd-${PN}-* "${S}"
}
src_test() {
emake -C "${CMAKE_BUILD_DIR}" test
}
src_install() {
cmake-utils_src_install
}

View File

@ -0,0 +1,29 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r1.ebuild,v 1.1 2013/04/25 19:38:48 xmw Exp $
EAPI=5
inherit base cmake-multilib
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
PATCHES=(
"${FILESDIR}"/${PN}-fix_static_linking.patch
)
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/lloyd-${PN}-* "${S}"
}
src_test() {
emake -C ${CMAKE_BUILD_DIR} test
}

View File

@ -0,0 +1,37 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r2.ebuild,v 1.2 2013/06/26 10:28:11 xmw Exp $
EAPI=5
inherit eutils cmake-multilib vcs-snapshot
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
src_prepare() {
epatch "${FILESDIR}"/${PN}-fix_static_linking.patch
multilib_copy_sources
}
src_test() {
run_test() {
cd "${BUILD_DIR}"/test
./run_tests.sh ./yajl_test || die
}
multilib_parallel_foreach_abi run_test
}
src_install() {
cmake-multilib_src_install
use static-libs || \
find "${D}" -name libyajl_s.a -delete
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r3.ebuild,v 1.1 2014/06/16 18:30:53 hasufell Exp $
EAPI=5
inherit eutils cmake-multilib vcs-snapshot
DESCRIPTION="Small event-driven (SAX-style) JSON parser"
HOMEPAGE="http://lloyd.github.com/yajl/"
SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
src_prepare() {
epatch "${FILESDIR}"/${PN}-fix_static_linking.patch \
"${FILESDIR}"/${P}-pkgconfig_multilib.patch
multilib_copy_sources
}
src_test() {
run_test() {
cd "${BUILD_DIR}"/test
./run_tests.sh ./yajl_test || die
}
multilib_parallel_foreach_abi run_test
}
src_install() {
cmake-multilib_src_install
use static-libs || \
find "${D}" -name libyajl_s.a -delete
}

View File

@ -0,0 +1,205 @@
# ChangeLog for dev-python/markdown
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.53 2014/05/26 08:46:17 patrick Exp $
*markdown-2.4.1 (26 May 2014)
26 May 2014; Patrick Lauer <patrick@gentoo.org> +markdown-2.4.1.ebuild:
Bump
*markdown-2.4 (12 Apr 2014)
12 Apr 2014; Ian Delaney <idella4@gentoo.org> +markdown-2.4.ebuild:
bump; add py3.4 support, drop py2.6 py3.2 subsequent to testsuite failures
07 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> markdown-2.3.ebuild:
Keyword ~amd64-linux ~x86-linux
31 Mar 2014; Michał Górny <mgorny@gentoo.org> markdown-2.2.1-r1.ebuild,
markdown-2.3.1.ebuild, markdown-2.3.ebuild:
Add support for the new PyPy slotting.
06 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> markdown-2.3.1.ebuild:
Keyword amd64-linux and x86-linux
23 Dec 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.3.1.ebuild:
Stable for sparc, wrt bug #487868
21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.3.1.ebuild:
Stable for ppc, wrt bug #487868
20 Dec 2013; Akinori Hattori <hattya@gentoo.org> markdown-2.3.1.ebuild:
ia64 stable wrt bug #487868
02 Dec 2013; Johannes Huber <johu@gentoo.org> markdown-2.3.1.ebuild:
x86 stable, bug #487868
04 Nov 2013; Matt Turner <mattst88@gentoo.org> markdown-2.3.1.ebuild:
alpha stable, bug 487868.
22 Oct 2013; Fabian Groffen <grobian@gentoo.org> markdown-2.3.1.ebuild:
Marked ~x64-macos, bug #487670
14 Oct 2013; Tony Vroon <chainsaw@gentoo.org> markdown-2.3.1.ebuild:
Marked stable on AMD64 based on arch tester report by Elijah "Armageddon" El
Lazkani in bug #487868.
05 Sep 2013; Michał Górny <mgorny@gentoo.org> markdown-2.2.1-r1.ebuild,
markdown-2.3.1.ebuild, markdown-2.3.ebuild:
Clean up PYTHON_COMPAT from old implementations.
06 Jun 2013; Mike Gilbert <floppym@gentoo.org> markdown-2.3.1.ebuild:
Remove obsolete comment.
05 Jun 2013; Rick Farina <zerochaos@gentoo.org> markdown-2.2.1-r1.ebuild,
markdown-2.3.1.ebuild, markdown-2.3.ebuild:
adding ~arm keyword
29 May 2013; Ian Delaney <idella4@gentoo.org> markdown-2.3.1.ebuild:
add py3.3 support
31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for sparc, wrt bug #457328
30 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for alpha, wrt bug #457328
28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for ia64, wrt bug #457328
26 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for ppc, wrt bug #457328
*markdown-2.3.1 (26 Mar 2013)
26 Mar 2013; Patrick Lauer <patrick@gentoo.org> +markdown-2.3.1.ebuild:
Bump
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for x86, wrt bug #457328
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> markdown-2.2.1-r1.ebuild:
Stable for amd64, wrt bug #457328
*markdown-2.3 (19 Mar 2013)
19 Mar 2013; Patrick Lauer <patrick@gentoo.org> +markdown-2.3.ebuild:
Bump
*markdown-2.2.1-r1 (13 Jan 2013)
13 Jan 2013; Michał Górny <mgorny@gentoo.org> +markdown-2.2.1-r1.ebuild:
Migrate to distutils-r1. Build docs only once, and only when requested.
*markdown-2.2.1 (11 Jan 2013)
11 Jan 2013; Patrick Lauer <patrick@gentoo.org> +markdown-2.2.1.ebuild:
Bump for #451218
17 Nov 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.2.0.ebuild:
Restrict python 2.5.
13 Nov 2012; Agostino Sarubbo <ago@gentoo.org> markdown-2.1.1.ebuild:
Stable for amd64, wrt bug #437288
*markdown-2.2.0 (11 Nov 2012)
11 Nov 2012; Ian Delaney <idella4@gentoo.org>
+files/markdown-2.2.0-tests.patch, +markdown-2.2.0.ebuild,
-markdown-2.0.3.ebuild:
Dropped version-2.0.3, bumped version-2.2.0, upstream patch fixes broken test,
upstream issue #112, fixes Bug #437290
07 Oct 2012; Raúl Porcel <armin76@gentoo.org> markdown-2.1.1.ebuild:
alpha/ia64/sparc/x86 stable wrt #437288
07 Oct 2012; nixnut <nixnut@gentoo.org> markdown-2.1.1.ebuild:
ppc stable #437288
06 Oct 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.1.0.ebuild,
markdown-2.1.1.ebuild:
Depend on nose for tests, bug 437442 by Vicente Olivert Riera.
10 May 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.1.1.ebuild:
Call 2to3-${PYTHON_ABI}, spotted by Arfrever.
09 May 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.1.1.ebuild:
Unrestrict python 3, bug 407925 by W. Trevor King.
*markdown-2.1.1 (20 Feb 2012)
20 Feb 2012; Patrick Lauer <patrick@gentoo.org> +markdown-2.1.1.ebuild:
Bump for #404543
*markdown-2.1.0 (01 Dec 2011)
01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> +markdown-2.1.0.ebuild:
Version bump, add testing.
07 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> markdown-2.0.3.ebuild:
Added doc USE flag. Fixed dodoc on dir wrt bug #367689
19 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-markdown-2.0.2.ebuild:
Delete.
19 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
markdown-2.0.3.ebuild:
Update EAPI. Fix dependencies. Use PyPI mirrors.
24 Jun 2010; Pacho Ramos <pacho@gentoo.org> markdown-2.0.3.ebuild:
stable amd64, bug 310261
18 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> markdown-2.0.3.ebuild:
Stable for ppc, bug 292316
14 Nov 2009; Raúl Porcel <armin76@gentoo.org> markdown-2.0.3.ebuild:
ia64/sparc/x86 stable wrt #288165
08 Nov 2009; Tobias Klausmann <klausman@gentoo.org> markdown-2.0.3.ebuild:
Stable on alpha, bug #288165
03 Nov 2009; Raúl Porcel <armin76@gentoo.org> markdown-2.0.2.ebuild,
markdown-2.0.3.ebuild:
Add ~ia64/~sparc wrt #285153
*markdown-2.0.3 (08 Oct 2009)
08 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-markdown-2.0.1.ebuild, +markdown-2.0.3.ebuild:
Version bump.
07 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> markdown-2.0.2.ebuild:
Keywording for ppc, bug 285153
06 Oct 2009; Fabian Groffen <grobian@gentoo.org> markdown-2.0.2.ebuild:
Marked ~ppc-macos and ~x86-macos, bug #287632
03 Oct 2009; Tobias Klausmann <klausman@gentoo.org> markdown-2.0.2.ebuild:
Keyworded on alpha, bug #285153
01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> markdown-2.0.1.ebuild:
Keyworded on alpha, bug #285153
*markdown-2.0.2 (28 Sep 2009)
28 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+markdown-2.0.2.ebuild:
Version bump.
16 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-markdown-2.0.ebuild:
Delete older ebuild.
*markdown-2.0.1 (04 Aug 2009)
04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+markdown-2.0.1.ebuild:
Version bump (bug #279946). Set SUPPORT_PYTHON_ABIS.
*markdown-2.0 (25 Apr 2009)
25 Apr 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml,
+markdown-2.0.ebuild:
Initial import. Fixes #156999. Thanks to Naoaki Shindo, Torsten Rehn and
Priit Laes for working on the ebuild.

View File

@ -0,0 +1,20 @@
AUX markdown-2.2.0-tests.patch 3555 SHA256 881c545feb128fc9e5367a3aa550e032617ae194c171f094063e3d26fb574e68 SHA512 5aee58ea26dca1d801f4b83a02e3b405c2ac8d8b881bec11e1e0b84c676a2242309bdd5e7d94f5a892893d068c0dd2ffaf842c62ec34156ba227972dc86b93dd WHIRLPOOL fc5125f6e62961d3db3e559e5daf8f81705561694ab80501e14559b4d91c7cdbdd6f35bd0832c0a7651a7dad1bce87b7d3ee3564edcdf84294caad31bd7018dd
DIST Markdown-2.1.0.tar.gz 241583 SHA256 ab537478e98137c0fa1cb4149adae23ddc56490ca6e8bb1b6130d91ada81d964 SHA512 ed6df021068a72524fbd98e4204a50cdc78a3fae85c8173dc0103ed82aad7cd446b6d60772a3c299fc7b8e3f9e26a47585aa887385f37dd5c5d12d647a5a96ee WHIRLPOOL 02771f81b2a445d777de73ed19f35d46799d22e9b5a3163a83b8f8317e6f0f24b854eb09bd454f99c335e83b411943a32dd57738d28e5c817213815285fa08e6
DIST Markdown-2.1.1.tar.gz 242852 SHA256 be6c8cc8163875062b60d759451fec1e55fd3426321b52a6a9077a3f95503864 SHA512 aa20209afc0f8b6bd3f39307b8487ffdf47b2ad017b8c6db70fcb2878c751a007c7f99bc71b1fe8abb7553468997a7b2be69f12211015835b94521a8c8c8657b WHIRLPOOL 2960850130190b0a123187160a0952d4e43f77cde0caddc3cc2142f361798e7c5fafd79c96a4ef03d51c3106db68cbccbffb03c1305f42bc808e63f10fe30b7b
DIST Markdown-2.2.0.tar.gz 236894 SHA256 98e1b0a0b2f87b8310d2060a560f427c24ee16c96c83c98ea416f1f8ddc379b5 SHA512 d4a5bbe8bb70dc0737805a52830f485be10d12d7fb628ee54be92bd1a1e11875dc6a6af280c3624b1b97eb7fb28976817b0b8fff45ac8ebe71245c26a4c058b8 WHIRLPOOL eca04fa3ebe8db33f8c0353f589048c75094662bddfbc0ffa4e2a6747f1e1c06c13e123530530fb35e24fe3ef1264efdc9dac1957b92612b45c98f39bcea6cd2
DIST Markdown-2.2.1.tar.gz 260043 SHA256 f8b9a1efceab71afe9336a7c456fde36bfb0f505fb664ebb7f3dd44eddab44b6 SHA512 aa975a9d015e3e1320f35381c7e83e1f355222a3c0096e65ce4f1a1fa253fe0e3389ce1b3786b1cf40f4160863ede39d1081c655efe1c24132a766f02418fd61 WHIRLPOOL d455bee3ae25322bcaffa27f4f455bc5c1473aab3aeb8d983484275303011a9489502ac5f919539b67e423a3891aa5309c427050ca525af26a65cc8c776e064a
DIST Markdown-2.3.1.tar.gz 267131 SHA256 ffebd9385717aba00ff4e95b705b7693ddf12a7d483483d441218b6d3f4cf290 SHA512 4ceb0405825fb20f4432134b7904d402b41b1d95c18e10e484a71011a1429ae83804437ed94ce60315fb48664f096a8f5d8d9e0111cab332fe5c978d62d569a6 WHIRLPOOL df7d6b7046949fef03f4e65e996bc086bc0f57272e3b91387dcb2243800cbbba4f3395adb770bd4f89c8466dab26a1fe15ec122bca3dc6e8486e07f9e3b70e9e
DIST Markdown-2.3.tar.gz 268514 SHA256 b2175e573eedf4cff47f116f06a53ba50aeb0656ff58a9577e0547cd5b0be3ab SHA512 61f26a32d26a9085f6aec3133a43e6c4cc02ef5a710f136e141f9719c7673818bce413b2801bb5012b078155ae1f993487fb36c74c61276bad0378eb82025131 WHIRLPOOL 277b31ef9ff47cf77861d55cec314fc9c54ef33a62a13171d73066104bc35215514309611b8f5034b24efd8011c7b442623e7717c36b698ca56471d5e5bd8cde
DIST Markdown-2.4.1.tar.gz 279760 SHA256 812ec5249f45edc31330b7fb06e52aaf6ab2d83aa27047df7cb6837ef2d269b6 SHA512 aad3af6a62ca6ed12b119d3495fd679fa030e472833cc73908f88e34a9aed442b150eb8ee4b539ca640a31da0b1ef590547c52d8626ac5f243d15ce0d00df1ac WHIRLPOOL bd460c6661dddf585bcce8cfc71dde838dd9ae808ff331058e9f70cb8cff8b39f5a86d6447364c54690d2eb460679c2634f60509171b54c7c437434d4fe72d68
DIST Markdown-2.4.tar.gz 260026 SHA256 b8370fce4fbcd6b68b6b36c0fb0f4ec24d6ba37ea22988740f4701536611f1ae SHA512 95ecaa0d916bf6f6f46caec3f1de7c2fffe3abfc3e9acf9dbbd0ad7fb998b5a33920c29d107d69cdb8b6e197cac36bf221bbac6b4e0fe4b7505c59e1eb45ca7f WHIRLPOOL e05e620f732f1d717d3c1637064e043005cc8479e66ce67f7089a4c54c0bfa5f4ac0f9271c1ca23222904166251fc2c8c52210ec4293cc447b0718c340ab46bc
EBUILD markdown-2.1.0.ebuild 1057 SHA256 baa418269c8ffb260f8b3ad0b12237450b8ab347228b0d1e7f448bdde4ae9004 SHA512 1f1f0dad9f9d4e122705aa7d3354d7e3c7455a030a78799567143a2f9b108ca38c00b8947743585185b210783a19b49a2ec226c752f81b9f890169b113d00d24 WHIRLPOOL ffc587d61dfb77816a1bc8f32a9a843771da69edca5a37bf3f6d277817abd37ef17ef3bed88a18ef4bd095986ea6433dd5766433ca8cbe09feaf81707a98c7cb
EBUILD markdown-2.1.1.ebuild 1215 SHA256 e82fd9d2e986ac4a68a1e45dfb75527c53cd569a80f8164c505dace69bbd9b83 SHA512 ce31aa295fffb23939ca11c1aaa048a8bd40bd7d248f931beaf5aeb47abb6bd6b33950f2dc9049015cb57458488402e25509732fa708f985ec34c08a2161408d WHIRLPOOL 068823f5cfb870617794c86570ed7962633222921e966ca4a3356957815dbeeaa1e87e57a8534b076a1c87266d21a532f150f4245d260ab328c35ac770c442a4
EBUILD markdown-2.2.0.ebuild 1345 SHA256 1f2b6ef737f5a18f2680a11e190d6882f2b8787d546f246ecfd1ad9ba028549a SHA512 005f4bf5b115444bcc9c117a17a1f8c7b54ef44d70edaa0c828074e05a0740016f30b0efb968ceebb580b00e22539261191f43c70dca7e4514f39c03239f604c WHIRLPOOL 2efe6d4c56686e82bda29dde365a4f98f78c31df4a14ae2ef0996dcf27db94d8374e2c9e8e942a9c18b32c83200ea869f8539bdfee66bd9306aa2269dfe65fbd
EBUILD markdown-2.2.1-r1.ebuild 1580 SHA256 cc5c5e6ea4e93b31712265ed5c048282ab7112f3c4e94fd1907cea9572ad32e0 SHA512 a517c63d11f793e0df6ed076ab84f996d2d756ad1a2b45ac91278b2790ecfb4460fc99104bed37c4364251497e25d4a48710b4002b1145310d3fe67c0ef5c35e WHIRLPOOL 911e3a181db39f35b0d330babf8870199a7ad4113ccbab9563b749f761a33211499a4c051950a4df9ec8cfcac166bb9b2e578581143a6f6346e7151b0ee8c1e9
EBUILD markdown-2.2.1.ebuild 1287 SHA256 7da8f1a4b4d0b4f50c1b7d32a893bb0d84e1641a067022345b2589722dacdc68 SHA512 9cee914115140c220f0e510cb871b2f5c72b42d61dc4db7fa319e5e2b5171b082b455ab0ae90be78186a1900f1d4009a3f1696a7900bcaea6da951b920695c6d WHIRLPOOL 6899d20071e5df24797f056cbdeca2411baeaa0b48f7e68211ec5d5e70ec7fabc816f5351360541406fc9dc13f8037e6b20aa1603f18730f84eee71a78cbc678
EBUILD markdown-2.3.1.ebuild 1573 SHA256 7765a2a9ff1847395f7bfad68e588867713c489fb85fe8a15809943d447dfeaa SHA512 ad526a4259153b81e9c7b0984ccc034f786735a6d3f428d12a10dea3471422077af877232fc023a410ab1fad582b2385d2d2066225f8ed297b1775ff7200f888 WHIRLPOOL 9dcf75f857a02e0c52dac05b501382c607900fce3491913715ffd96d9bade54b7225fd9fc4abed3b8a840348525df60d59ec0bc774875282d5bba0fabbb3b26f
EBUILD markdown-2.3.ebuild 1606 SHA256 04dae3517f91bd54084f5708b9585e5a3089e949a109b716c9b6c0cacd63b4e1 SHA512 dd96ccfdece349594f86380be19b29ac802bb16d45931d1293974c892843d41010e77beee0f6c06f8012ef4f3b3b5fcf7f6dfb31472ecefb35c23065561611a8 WHIRLPOOL ddff1d64edeed3167cc3d11640aa20dce10f32d13e4f9f3cd7d7a02493a34d94e30f19d9e8154dc831d3657b2e74e97430bd6cae7c7b1756c65fca0e5fd0935e
EBUILD markdown-2.4.1.ebuild 1601 SHA256 31ceb2ba06e185815a5e35f0ded742f33cea1a5612f9073f4df1caf96792a141 SHA512 ff020b90e00c89c203f677b9695ccfe675442d63e13b1cb4adac1ca955a8d4e8cd4e9299ca69a30670db98ca56a398ed101f661e45e5947f09eabddda0b68af6 WHIRLPOOL 81bc77ec120fdb7a7d7e71e040b0db5520ef0279157768eebb4108a472c6ef8411b0f6cf89c01868286e6670add56a98e15f92772a8a03899a5fff159827370c
EBUILD markdown-2.4.ebuild 1599 SHA256 2f7d53933ac7ee41676cebf1200ee861f986c8d0119020011f9e623f010ebd3d SHA512 9ec8cf4a3cc2afa7332caf87ddf42ab703d52db5df8a93e4abf11adb6dd0b8658535d9f76ef7aa8642a5efc766e3f617a86e4e1b95a5f4551a3dcadca640b744 WHIRLPOOL 75374f9d073c41b20b7853776a0bb7731014212241f5cc63ce93a8d5c80a23e33616ae7864b9fd2e9ace3e9a3155029ac24bebc6beed25c0da8a103477ad7c9a
MISC ChangeLog 7026 SHA256 cc712234dfc238ee4d56a155c5c9447f51710f51143a2594c0424443b42eb92d SHA512 6565176d94c917ca25845656b697a337447f507cc62ed88cf638553456b86da20f5df3ba529f20024694639d052a690547ea23fbd6bfbd46aa714bee70e048f4 WHIRLPOOL b798ff3a1e2e0032a33063e7a3db9dd573148719c6bea1933a5da769884273cc14be99cb203806bfc54d03bf48630b2fe0b8dd08f4163f6e18d51559b2727330
MISC metadata.xml 307 SHA256 3ec0e0e960786c21e3aef2fefe59d5cb727804b728c0d5bd67ef665ad514b0c5 SHA512 7668e9bc82401b223b3ce12d3231304febdbf93d215f8b9707cf64d5d4a879f6a8352aba5702b134d3c99c8efe7903ea3eb6c4125b49567e3301558188e7bc07 WHIRLPOOL 3340bf1c34c19340d8b7006b0f1822491ccd5381e0f41c8920e9c273937443e7bc9fc6bc3223421e363e2c20793c6cb8bde5de5993a4d7389c941fd6bea830b6

View File

@ -0,0 +1,80 @@
https://github.com/waylan/Python-Markdown/issues/112
https://github.com/waylan/Python-Markdown/commit/5b3e724fb78da73ab87fb34e4ac9d9299773cfed
--- markdown/__init__.py
+++ markdown/__init__.py
@@ -37,6 +37,7 @@
import codecs
import sys
import logging
+import warnings
import util
from preprocessors import build_preprocessors
from blockprocessors import build_block_parser
@@ -163,10 +164,10 @@
if isinstance(ext, basestring):
ext = self.build_extension(ext, configs.get(ext, []))
if isinstance(ext, Extension):
- # might raise NotImplementedError, but that's the extension author's problem
ext.extendMarkdown(self, globals())
elif ext is not None:
- raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \
+ raise TypeError(
+ 'Extension "%s.%s" must be of type: "markdown.Extension"'
% (ext.__class__.__module__, ext.__class__.__name__))
return self
@@ -200,19 +201,22 @@
module_name_old_style = '_'.join(['mdx', ext_name])
try: # Old style (mdx_<extension>)
module = __import__(module_name_old_style)
- except ImportError:
- logger.warn("Failed loading extension '%s' from '%s' or '%s'"
- % (ext_name, module_name, module_name_old_style))
- # Return None so we don't try to initiate none-existant extension
- return None
+ except ImportError, e:
+ message = "Failed loading extension '%s' from '%s' or '%s'" \
+ % (ext_name, module_name, module_name_old_style)
+ e.args = (message,) + e.args[1:]
+ raise
# If the module is loaded successfully, we expect it to define a
# function called makeExtension()
try:
return module.makeExtension(configs.items())
except AttributeError, e:
- logger.warn("Failed to initiate extension '%s': %s" % (ext_name, e))
- return None
+ message = e.args[0]
+ message = "Failed to initiate extension " \
+ "'%s': %s" % (ext_name, message)
+ e.args = (message,) + e.args[1:]
+ raise
def registerExtension(self, extension):
""" This gets called by the extension """
--- tests/test_apis.py
+++ tests/test_apis.py
@@ -245,18 +245,18 @@
def testLoadExtensionFailure(self):
""" Test failure of an extension to load. """
- self.assertRaises(ValueError,
+ self.assertRaises(ImportError,
markdown.Markdown, extensions=['non_existant_ext'])
def testLoadBadExtension(self):
""" Test loading of an Extension with no makeExtension function. """
_create_fake_extension(name='fake', has_factory_func=False)
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
+ self.assertRaises(AttributeError, markdown.Markdown, extensions=['fake'])
def testNonExtension(self):
""" Test loading a non Extension object as an extension. """
_create_fake_extension(name='fake', is_wrong_type=True)
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
+ self.assertRaises(TypeError, markdown.Markdown, extensions=['fake'])
def testBaseExtention(self):
""" Test that the base Extension class will raise NotImplemented. """

View File

@ -0,0 +1,44 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.0.ebuild,v 1.2 2012/10/06 23:50:48 floppym Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose )"
RDEPEND="pygments? ( dev-python/pygments )"
S="${WORKDIR}/${MY_P}"
src_install() {
distutils_src_install
if use doc; then
dodoc docs/[!extensions]*
docinto extensions
dodoc docs/extensions/*
fi
}
src_test() {
testing() {
"$(PYTHON)" run-tests.py
}
python_execute_function testing
}

View File

@ -0,0 +1,47 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.1.ebuild,v 1.7 2012/11/13 14:23:53 ago Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose )"
RDEPEND="pygments? ( dev-python/pygments )"
S="${WORKDIR}/${MY_P}"
src_install() {
distutils_src_install
if use doc; then
dodoc docs/[!extensions]*
docinto extensions
dodoc docs/extensions/*
fi
}
src_test() {
testing() {
cp -r run-tests.py tests build-${PYTHON_ABI}/ || return
cd build-${PYTHON_ABI}
if [[ $(python_get_version -l --major) == 3 ]]; then
2to3-${PYTHON_ABI} -n -w --no-diffs tests || return
fi
PYTHONPATH=lib "$(PYTHON)" run-tests.py
}
python_execute_function testing
}

View File

@ -0,0 +1,53 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.0.ebuild,v 1.2 2012/11/17 19:14:03 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6 3:3.1"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5"
inherit distutils eutils
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose )"
RDEPEND="pygments? ( dev-python/pygments )"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${P}-tests.patch"
}
src_install() {
distutils_src_install
if use doc; then
dodoc docs/[!extensions]*
docinto extensions
dodoc docs/extensions/*
fi
}
src_test() {
testing() {
cp -r run-tests.py tests build-${PYTHON_ABI}/ || return
cd build-${PYTHON_ABI}
if [[ $(python_get_version -l --major) == 3 ]]; then
2to3-${PYTHON_ABI} -n -w --no-diffs tests || return
fi
PYTHONPATH=lib "$(PYTHON)" run-tests.py
}
python_execute_function testing
}

View File

@ -0,0 +1,60 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.1-r1.ebuild,v 1.10 2014/03/31 20:54:31 mgorny Exp $
EAPI=5
# python3.3 because of dev-python/pygments
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
inherit distutils-r1
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86 ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# do not build docs over and over again
sed -i -e "/'build':/s:md_build:build:" setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_docs
}
python_install_all() {
if use doc; then
local DOCS=( docs/. )
# templates which we don't want in docdir
rm -f docs/*.{html,css,png}
fi
distutils-r1_python_install_all
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}" || die
if [[ ${EPYTHON} == python3* ]]; then
# don't use -n: it causes writes to hardlinked files
2to3 -w --no-diffs tests || die
fi
"${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
}

View File

@ -0,0 +1,49 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.1.ebuild,v 1.1 2013/01/11 08:01:42 patrick Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6 3:3.1"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5"
inherit distutils eutils
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose )"
RDEPEND="pygments? ( dev-python/pygments )"
S="${WORKDIR}/${MY_P}"
src_install() {
distutils_src_install
if use doc; then
dodoc docs/[!extensions]*
docinto extensions
dodoc docs/extensions/*
fi
}
src_test() {
testing() {
cp -r run-tests.py tests build-${PYTHON_ABI}/ || return
cd build-${PYTHON_ABI}
if [[ $(python_get_version -l --major) == 3 ]]; then
2to3-${PYTHON_ABI} -n -w --no-diffs tests || return
fi
PYTHONPATH=lib "$(PYTHON)" run-tests.py
}
python_execute_function testing
}

View File

@ -0,0 +1,59 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.3.1.ebuild,v 1.14 2014/03/31 20:54:31 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
inherit distutils-r1
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# do not build docs over and over again
sed -i -e "/'build':/s:md_build:build:" setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_docs
}
python_install_all() {
if use doc; then
local DOCS=( docs/. )
# templates which we don't want in docdir
rm -f docs/*.{html,css,png}
fi
distutils-r1_python_install_all
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}" || die
if [[ ${EPYTHON} == python3* ]]; then
# don't use -n: it causes writes to hardlinked files
2to3 -w --no-diffs tests || die
fi
"${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
}

View File

@ -0,0 +1,60 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.3.ebuild,v 1.5 2014/04/07 22:40:19 bicatali Exp $
EAPI=5
# python3.3 because of dev-python/pygments
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
inherit distutils-r1
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# do not build docs over and over again
sed -i -e "/'build':/s:md_build:build:" setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_docs
}
python_install_all() {
if use doc; then
local DOCS=( docs/. )
# templates which we don't want in docdir
rm -f docs/*.{html,css,png}
fi
distutils-r1_python_install_all
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}" || die
if [[ ${EPYTHON} == python3* ]]; then
# don't use -n: it causes writes to hardlinked files
2to3 -w --no-diffs tests || die
fi
"${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
}

View File

@ -0,0 +1,60 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.4.1.ebuild,v 1.1 2014/05/26 08:46:17 patrick Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy2_0 )
inherit distutils-r1
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# do not build docs over and over again
sed -i -e "/'build':/s:md_build:build:" setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_docs
}
python_install_all() {
if use doc; then
local DOCS=( docs/. )
# templates which we don't want in docdir
rm -f docs/*.{html,css,png}
fi
distutils-r1_python_install_all
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
pushd "${BUILD_DIR}" > /dev/null
if [[ ${EPYTHON} == python3* ]]; then
# don't use -n: it causes writes to hardlinked files
2to3 -w --no-diffs tests || die
fi
"${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
popd > /dev/null
}

View File

@ -0,0 +1,60 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.4.ebuild,v 1.1 2014/04/12 04:16:19 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy2_0 )
inherit distutils-r1
MY_PN="Markdown"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos"
IUSE="doc test pygments"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# do not build docs over and over again
sed -i -e "/'build':/s:md_build:build:" setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_docs
}
python_install_all() {
if use doc; then
local DOCS=( docs/. )
# templates which we don't want in docdir
rm -f docs/*.{html,css,png}
fi
distutils-r1_python_install_all
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
pushd "${BUILD_DIR}" > /dev/null
if [[ ${EPYTHON} == python3* ]]; then
# don't use -n: it causes writes to hardlinked files
2to3 -w --no-diffs tests || die
fi
"${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
popd > /dev/null
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<use>
<flag name="pygments">Enable fancy pygments support</flag>
</use>
<upstream>
<remote-id type="pypi">Markdown</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=compile install postinst prepare setup
DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe dev-ml/findlib hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/transfig media-gfx/graphviz dev-tex/xcolor dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) virtual/pkgconfig
DESCRIPTION=Xend daemon and tools
EAPI=5
HOMEPAGE=http://xen.org/
IUSE=api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=sys-apps/iproute2 net-misc/bridge-utils ocaml? ( >=dev-lang/ocaml-4 ) screen? ( app-misc/screen app-admin/logrotate ) virtual/udev
REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 )
RESTRICT=test
SLOT=0
SRC_URI=http://bits.xensource.com/oss-xen/release/4.2.4/xen-4.2.4.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.2.4-upstream-patches-3.tar.xz
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438
_md5_=7e811b1171f4d1f6c588442ca65f1b17

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=compile install postinst prepare setup
DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe dev-ml/findlib hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/transfig media-gfx/graphviz dev-tex/xcolor dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) virtual/pkgconfig
DESCRIPTION=Xend daemon and tools
EAPI=5
HOMEPAGE=http://xen.org/
IUSE=api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/iproute2 net-misc/bridge-utils ocaml? ( >=dev-lang/ocaml-4 ) screen? ( app-misc/screen app-admin/logrotate ) virtual/udev
REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 )
RESTRICT=test
SLOT=0
SRC_URI=http://bits.xensource.com/oss-xen/release/4.2.4/xen-4.2.4.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.2.4-upstream-patches-4.tar.xz
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438
_md5_=f3f28435bb4e47751b66305ab1060bd7

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=compile configure install postinst prepare setup
DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig
DESCRIPTION=Xend daemon and tools
EAPI=5
HOMEPAGE=http://xen.org/
IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7
KEYWORDS=amd64 -x86
LICENSE=GPL-2
RDEPEND=sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev
REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python )
RESTRICT=test
SLOT=0
SRC_URI=http://bits.xensource.com/oss-xen/release/4.3.2/xen-4.3.2.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.3.2-upstream-patches-3.tar.xz
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438
_md5_=0f582f7b1fa2483a07bcac8fb2a3270a

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=compile configure install postinst prepare setup
DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig
DESCRIPTION=Xend daemon and tools
EAPI=5
HOMEPAGE=http://xen.org/
IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7
KEYWORDS=~amd64 -x86
LICENSE=GPL-2
RDEPEND=sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev
REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python )
RESTRICT=test
SLOT=0
SRC_URI=http://bits.xensource.com/oss-xen/release/4.3.2/xen-4.3.2.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.3.2-upstream-patches-4.tar.xz
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438
_md5_=0a4581e24c533092978e22677f0d448b

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=compile configure install postinst prepare setup
DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libaio dev-libs/libgcrypt:0 sys-libs/zlib dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) arm? ( >=sys-apps/dtc-1.4.0 ) !arm? ( sys-devel/bin86 system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe sys-devel/dev86 sys-power/iasl ) dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) system-qemu? ( app-emulation/qemu[xen] ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig
DESCRIPTION=Xend daemon and tools
EAPI=5
HOMEPAGE=http://xen.org/
IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-qemu system-seabios python_targets_python2_7 python_single_target_python2_7
KEYWORDS=~amd64 ~arm -x86
LICENSE=GPL-2
RDEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libaio dev-libs/libgcrypt:0 sys-libs/zlib sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev
REQUIRED_USE=hvm? ( || ( qemu system-qemu ) ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python ) qemu? ( !system-qemu )
RESTRICT=test
SLOT=0
SRC_URI=http://bits.xensource.com/oss-xen/release/4.4.0/xen-4.4.0.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.3.1.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.3.1.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.4.0-upstream-patches-5.tar.xz
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438
_md5_=ad6a5b5224f7b3a364937d0665665e6b

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=2
HOMEPAGE=http://lloyd.github.com/yajl/
KEYWORDS=amd64 arm hppa ppc ppc64 x86
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/1.0.11 -> yajl-1.0.11.tar.gz
_eclasses_=cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=531cee66cabf578f828fb4aa0c79b575

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=5
HOMEPAGE=http://lloyd.github.com/yajl/
IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/1.0.11 -> yajl-1.0.11.tar.gz
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66
_md5_=244907432d81b2501ab77e34cfce88d2

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=4
HOMEPAGE=http://lloyd.github.com/yajl/
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.3 -> yajl-2.0.3.tar.gz
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=b8753154f978e843eb5e2d6cc75efe19

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=5
HOMEPAGE=http://lloyd.github.com/yajl/
IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=5327bc87873a6e328604d659a76d5935

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=5
HOMEPAGE=http://lloyd.github.com/yajl/
IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66
_md5_=416f8ad5e3ebb32110e6ff695f6e0742

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=Small event-driven (SAX-style) JSON parser
EAPI=5
HOMEPAGE=http://lloyd.github.com/yajl/
IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
SLOT=0
SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66
_md5_=05082936e72c13ef1b08c5d4cc975347

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=test? ( dev-python/nose ) =dev-lang/python-2*
DESCRIPTION=Python implementation of the markdown markup language
EAPI=3
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments ) =dev-lang/python-2*
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.1.0.tar.gz
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=c26d86b53243d12d61b92288a78f5b3e

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=test? ( dev-python/nose ) dev-lang/python
DESCRIPTION=Python implementation of the markdown markup language
EAPI=3
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments
KEYWORDS=alpha amd64 ia64 ppc sparc x86 ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments ) dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.1.1.tar.gz
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=714c2a312f38499df3375ba247023d86

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst postrm prepare setup test
DEPEND=test? ( dev-python/nose ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* )
DESCRIPTION=Python implementation of the markdown markup language
EAPI=4
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.0.tar.gz
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=dac4bd06cdb7598a8bf517e78dd8e8f7

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst postrm prepare setup test
DEPEND=test? ( dev-python/nose ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* )
DESCRIPTION=Python implementation of the markdown markup language
EAPI=4
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.1.tar.gz
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=4f9f74fa90d7690e06975c541b7eda7b

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)]
DESCRIPTION=Python implementation of the markdown markup language
EAPI=5
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_pypy
KEYWORDS=alpha amd64 ~arm ia64 ppc sparc x86 ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_pypy )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.1.tar.gz
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=679da0b033fb4791a91ea96c6f6e595a

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)]
DESCRIPTION=Python implementation of the markdown markup language
EAPI=5
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_pypy
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_pypy )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.3.tar.gz
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=a6ada936d92109f9b41604afa16af00b

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)]
DESCRIPTION=Python implementation of the markdown markup language
EAPI=5
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_pypy
KEYWORDS=alpha amd64 ~arm ia64 ppc sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_pypy )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.3.1.tar.gz
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=dac9d20baf4f16633c9be2482157172f

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
DESCRIPTION=Python implementation of the markdown markup language
EAPI=5
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.4.tar.gz
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=084db30639f868e7e99185dbfa80c13a

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
DESCRIPTION=Python implementation of the markdown markup language
EAPI=5
HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown
IUSE=doc test pygments python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos
LICENSE=|| ( BSD GPL-2 )
RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
SLOT=0
SRC_URI=mirror://pypi/M/Markdown/Markdown-2.4.1.tar.gz
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=a7004a78414d5cf74c8c51abaaaad76c

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile install unpack
DEPEND=sys-apps/pciutils virtual/pkgconfig
DESCRIPTION=Interact with the EFI Boot Manager
HOMEPAGE=http://developer.intel.com/technology/efi
KEYWORDS=~amd64 ia64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/pciutils
SLOT=0
SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.5.4.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=30ea85cd4fa929dc5bd723f3d49c5733

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=sys-apps/pciutils virtual/pkgconfig
DESCRIPTION=Interact with the EFI Boot Manager
EAPI=5
HOMEPAGE=http://developer.intel.com/technology/efi
KEYWORDS=amd64 ia64 x86
LICENSE=GPL-2
RDEPEND=sys-apps/pciutils
SLOT=0
SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.5.4.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=49dfc960d1556c4bed34068ca24c1712

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile install prepare
DEPEND=sys-apps/pciutils virtual/pkgconfig
DESCRIPTION=Interact with the EFI Boot Manager
EAPI=5
HOMEPAGE=http://developer.intel.com/technology/efi
KEYWORDS=~amd64 ~ia64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/pciutils
SLOT=0
SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.6.0/efibootmgr-0.6.0.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=c8d3aa6a08f7406b03bb3de8a7370d60

View File

@ -1,11 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prerm unpack
DEPEND=>=sys-libs/ncurses-5.2-r5
DESCRIPTION=GNU GRUB boot loader
HOMEPAGE=http://www.gnu.org/software/grub/
KEYWORDS=-* x86
LICENSE=GPL-2
RDEPEND=>=sys-libs/ncurses-5.2-r5
SLOT=0
SRC_URI=mirror://gnu-alpha/grub/grub-0.92.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.92-gentoo-0.2.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.92-gentoo-0.2.tar.bz2
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=36d28e5322a167cdb702cd5403be39b1

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prerm setup unpack
DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5
DESCRIPTION=GNU GRUB boot loader
HOMEPAGE=http://www.gnu.org/software/grub/
IUSE=static
KEYWORDS=-* x86 amd64
LICENSE=GPL-2
RDEPEND=>=sys-libs/ncurses-5.2-r5
SLOT=0
SRC_URI=mirror://gnu-alpha/grub/grub-0.94.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.94-gentoo-0.1.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.94-gentoo-0.1.tar.bz2
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=3d53ebb7a092934664783537bcc06e02

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prerm setup test unpack
DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5
DESCRIPTION=GNU GRUB boot loader
HOMEPAGE=http://www.gnu.org/software/grub/
IUSE=static netboot custom-cflags
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=>=sys-libs/ncurses-5.2-r5
SLOT=0
SRC_URI=mirror://gentoo/grub-0.96.tar.gz mirror://gnu-alpha/grub/grub-0.96.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.96-r1-gentoo-0.1.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.96-r1-gentoo-0.1.tar.bz2
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=3c34d2d64f278772463a01d22d547709

Some files were not shown because too many files have changed in this diff Show More