diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-kernel | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-kernel')
348 files changed, 20272 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest new file mode 100644 index 000000000000..50a4f3ad140b --- /dev/null +++ b/sys-kernel/aufs-sources/Manifest @@ -0,0 +1,51 @@ +DIST aufs-sources-3.18.1+_p20150622.tar.xz 167804 SHA256 39fce606f62e4791ae78bbd83a9a727946e61afc2af865b20b0bdcf0e107dd5e SHA512 8ea52f0ef542b99afe6ecfa462663d19a589538fbb0f827cfec6b1e680be63c7822e5720199a9abb689876a2739ed601a8e36622395bdac0e31072e00bc94c99 WHIRLPOOL 3abd335909f0923fd71bbeb4ac250a06a2a0d3ffe741c33b72c977e78b8ae5b3acf2d269469d2c397f5e5d4ac797a993027ada8a53be4fc24cea2c6e71bff89a +DIST aufs-sources-3.18.1+_p20150629.tar.xz 167804 SHA256 39fce606f62e4791ae78bbd83a9a727946e61afc2af865b20b0bdcf0e107dd5e SHA512 8ea52f0ef542b99afe6ecfa462663d19a589538fbb0f827cfec6b1e680be63c7822e5720199a9abb689876a2739ed601a8e36622395bdac0e31072e00bc94c99 WHIRLPOOL 3abd335909f0923fd71bbeb4ac250a06a2a0d3ffe741c33b72c977e78b8ae5b3acf2d269469d2c397f5e5d4ac797a993027ada8a53be4fc24cea2c6e71bff89a +DIST aufs-sources-3.19_p20150511.tar.xz 166900 SHA256 a8fac031e241e5d2a10962c5b220c8df7fb817cc0d443a6a76e30464cb3cef0e SHA512 ea37a1b7de623f04681d88346c7e91ea34b0cc8e9a974fbd4621fc933dcb18349764df48687370fe5e9168d5cafa15be58bf8a175822b4a10f032cbab30e63a7 WHIRLPOOL f81b6fa37c9116e9055050f1fecb53ecbf40fa6303bba569f3166b4fbd7f2e63476866e3594cce1d9495b3a02af37b574f2caf75ab80fbb37d3297f3911ba6a5 +DIST aufs-sources-4.0_p20150518.tar.xz 166024 SHA256 da653585bfd610bbc874b9f51c76777511a9b15eb662917f653af1ef8d255936 SHA512 b7e7f681b8125c98f6ea28482243edeb16952ac0ba53ebb7992a0988d54066dd288bac732cce7b6f89485407fb69f6bce164f9bdd09f15b446acba1c28c2905b WHIRLPOOL ed3eeb9658d87714268b0f03bf1de80aedef697f51a80407211b68beed5af8efca77d14de0dbcc9873f30b71fc4b026c6270b6c75ac0fd7e22ec89432867d17a +DIST aufs-sources-4.0_p20150629.tar.xz 166624 SHA256 af28e0752a1f9c0edf34519b58ed4aaea9e3538a3041110061d1fa55e25acfca SHA512 c68c077bf399d188c72f8c2c6ca4ce634fa710b84296275529f1a8a20c3c923ca7d418cd564d66651b5dbc3544bc556f763a5c3687e3fede55e36b13223a2bec WHIRLPOOL e3590e5da82ae5252c1e318dd775d950a14c3ac0f6235552cef0943f304361299ed33731e7365f6ef586e02e7d23be5dfdc613b40f48a042655b2a110638ca3e +DIST aufs-sources-4.1_p20150629.tar.xz 166912 SHA256 b9927b15bfc6be7b72206529402b33ceb32b72fd36c84e28f34fb73218575cd0 SHA512 6514479c83e04fe22c7d753bc351e77e9d84cc012eb590e0e463f639bd1ac4dd5cecc0f5b6046d7f721a4a90b6f492e015faadc392af2664f4bcfa9a860bec56 WHIRLPOOL e68b9da85b2abc7b6b42777e23d49c93e550e2cdd330a140f4471888e0bab5dafb5cddf2b1263b12a74098ef3d817f3270b92898137948ae76152104db5d8621 +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-3.19 129098 SHA256 b0e121e80f02676bc023df1470691b94bd0495ae09aa349d1e6edddf7d1b34a2 SHA512 8f9327d5bb56fbc24f72622d579232003db95695c0cd22b4ce0b4692c9757b639c1253548d943f7cbdde9652cf51814f4b4fdf92055e8ae1c9d75acdc68d9a32 WHIRLPOOL bc3ed9eeec3ab77e2f18ec4a2a536a58b4bf2091a50219220c4d1d21de6956709c97dbb098eba64eacb2fac45f410020f6c37a3f890e6e820d5d8faebc3f3b3c +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-3.19 659945 SHA256 df5a9b11b095b0d8c3204c9b24118d77689900fc4ef4c3256b13fe86aee0d185 SHA512 f7fc86ebc8e1c61c16d7ce6831368832862346522676b65f4702c77bb2e9b08691f2c67cf88e92929908d5300d53913e7e5365baf3378b1cbe3aca59ec80c672 WHIRLPOOL e5e33da007c07af4ca5713d583f992d9da8c6745761e1956a246de429a44aa972a94cc1db51e67d0ba1aad9b8476ef694d846e8157a85411bcbc1809f20f633a +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 +DIST genpatches-3.18-17.base.tar.xz 489076 SHA256 46ec429229380585e73dfde06e11868d5f3b2212720c0ab57f6023eff0a2e4ba SHA512 af269677d88a2e3a1feb66c26c5a12d967f41606e486903858f982d1cbfbb57a54c26585b6765592337fdb424aa13b714b1bbeec1520e263d64518be3d766476 WHIRLPOOL 74ed70843cb81b493fa86fe334430a7d43d88df3c5c58075a33cea762f8126dece50338ceca9114843c6703836cfd85a7ff2e000e75d2e4fe227010041563bfd +DIST genpatches-3.18-17.experimental.tar.xz 61604 SHA256 efd6d02daf759fb77ebd7f6654ba933bce007abc414ed67f3667115dd6c15bd9 SHA512 95abf4e05ec31944a2ff520cfce68753656c966e575b5e23823753bb25da5f1c7f169d908f58df81db7dd75f9dbf1b1060dfb9c6349eabb2d1273086fbb09912 WHIRLPOOL b89d32886fccd7c5be7f65df647f75918e8f0aa3eddd4baccb6b06da5fedb00c04516a600bf48530ee4821dee416580b695bea677607b7ce905156ac0300134f +DIST genpatches-3.18-17.extras.tar.xz 16184 SHA256 cadde114f6229bbb92092ae76a0dbba11b4c4841bd0daa8f8520e6e64308254f SHA512 8637aaad4c901937cea64317a85416e328fae1802ddb51b638d68f9a1746b5ad136d6b398105056c047c5d9d5437f5f3ab763a8be3581625e5bc4be16a84a0b5 WHIRLPOOL 2b340ace5325ddbf4149337c8cb1d387c846de061c18269fc1ed207c138e2c4ceaf6cac85a4d969ac0f5433993f7617386494ae4a7bd2281d92ec5852a91f04d +DIST genpatches-3.18-19.base.tar.xz 591336 SHA256 346d9ce9b825e024cb448c768b9e994ef27a4693cd7eb596295f1419dd3cbca9 SHA512 5d8c4550dc8afc0687d309f586200e908d2e71ce0ec6dfc86bbe26b3437e46927a6041278b97ed2087d8aafefddbb5d6162d9e22fa566c7f9eb1e57017dad6d4 WHIRLPOOL d9f29c9dc5b3995ff59b7e4f93617ad360ecb32c6fe6702daa4826277e98ef35ca3a1fd9817cf011ba43eedc14a54ebed6134f348245fceb56298baee6b73ece +DIST genpatches-3.18-19.experimental.tar.xz 61628 SHA256 7a34377e5c43214cc03c00e983a1996e955b3fdfc53be01ac1f84b9578c25287 SHA512 4ac764f6b11985fd63a4b392791e1a4467867ffe00f464115e8982a199cafc6a45489c704aee2a1ef9afefab93a1b110f8ccec597e6b4bf61e61f5b996d5fd36 WHIRLPOOL f2cbcf0efbe7929b0c1360b53c15bd9d6502916d664eec23aeda56e5c626d49fc2caa833e793a5a4ffed20591ff48e944ecff11c997fb5ef4aaaec066e745236 +DIST genpatches-3.18-19.extras.tar.xz 16176 SHA256 b1a797dba4a735d95a635bfd40b03e2cb83e0fedb0d50735a3eaa2cfe7898c68 SHA512 d77e4f337621b8e424f93e4433628f065895e8568f87daee82a46dfba12f7547d50edf71ece0dd9bc6356dfb9af356fc334111923c29aa61218ecf797b5bff2c WHIRLPOOL ab37e325b7be6a5a1dd9f959f9db3f46cfee3d903721c1ee1c896f66495d46ec908367cecac13a279756ab528c7f3788c90689ba717122874b430f7ec445b0fc +DIST genpatches-3.19-9.base.tar.xz 257836 SHA256 94ca8760c25b14e705dbdc4584c78b4ba71655bcb3529c9fed3a24c41e144231 SHA512 118bd7d89bd7652ae44cd01042f865a846668ac2976f2344e9f72d6dadb4c3fdfda738e7a971656519831cbfdb6cc07a8c9b4513c88be707c3eb707d6e75a8f8 WHIRLPOOL 38df4344680cb3d38c384ac6a7ec2dfaf591cccca3795a1a1150cbf410ec4e4e8affa816c5dc3448b0310dd2b9c12e220aa6b85820fd9c68c8441ad6c2846e73 +DIST genpatches-3.19-9.experimental.tar.xz 61632 SHA256 c1668cb0ebe2c04a5f9d837cd0b42378ec9c1c53cacc4b02272462bd9e773c88 SHA512 86738abd9ce9eb007c96388a18710d8005760f5f2c36d12388af6d88cea2b60f81c2debe8d3e0af8f4ac83619a4797aa5a77b73c83adca1cbc6f397005c66561 WHIRLPOOL 8c8c5931b69a99106f38309df1367db16f6935357db1ed48a2fbeff5c266ac4801803485446d5a8a292c1c29d851c1b32dcc8ce161c6646227b9f1e75ae7621b +DIST genpatches-3.19-9.extras.tar.xz 16280 SHA256 f0b77c7754741f000933a1450c39027c509ca66b44e78add44b100b02e415e5c SHA512 764e704d43573b80604f090b35b4c5913cc8d8abcb8f94590621df879668fdd0607db1a711a6fb24dd7b2ad709dff1110381e4b8072ad435ef7356639d8baacf WHIRLPOOL 6e8243526c27642cade7d1e9b36c6453c7a5ea63e99abae77ebd866365543930d1ee685b7a447f38e40bc8cfcbe84b01cbc8f5a6e443fe732b8e14ff3487a45d +DIST genpatches-4.0-11.base.tar.xz 234968 SHA256 49cfd38bb97a92984c0d8b955c2f795701897544a4bfea4d2d2932543abca31a SHA512 059a049248c2eaaae4c4201235586306f846b12503fa1aa3bdea9ad31b4522f030beb057926cf79ffa9468e2940a68b6f6089511a60005dd339e4775c8a682cd WHIRLPOOL a5a31fa2a1db39fd01ed72e9917481a7c4f406c8168a2dac078df5a46c41d0be69df6ef532aae0f06fbf81a5a5e2262a9ba4785bdb13c48b21e338347d6be1ee +DIST genpatches-4.0-11.experimental.tar.xz 61632 SHA256 cedb08c7d68cf62038aa6f8db3999a7d6daf434a08d0c811308affd5d18667d4 SHA512 cfe5281678acc938ba0c906ef58a654889a71da5238fbff13e5e78f328dc07485345deea6080abf1380a8a3ec5314691b8f5a35ae0cf627e6ebb38ba66860e38 WHIRLPOOL 5bfd4de5098fe5cd05bc7184a5797f9b310a848b2d96e04b83986f45d3961abaf6cfb76b801b9031c0b46c2c072578b59b98781c8c432b7ec0989449f8098a04 +DIST genpatches-4.0-11.extras.tar.xz 16288 SHA256 84b7509ecc82f7ff1b90959b88e9e0ad77544610d5a95aacfb88b7200b9aced1 SHA512 95354b1a2dce8d93a50cc1e1e79ea807134eb050c7a76921ada26f5bfa210963a16c9af7bda0b75894201a1e82929859f6dfa5c23cf63fe4586e4264eef85c7f WHIRLPOOL 4ebc929d8e39c0967b99d558f68e5454e6ffc771273b7e9637d8d0ba477c67ee490e0a443a8aa4fdcc74f3aab59cf8e9c159f2a3b152b33fb9a8f395a67b0085 +DIST genpatches-4.0-6.base.tar.xz 118672 SHA256 228c38e1e691fc3b3862a5de627c71ba9bcf1aafd10317a9ece83a13e041ed24 SHA512 02c3cbe7982173121f03ca9424e5fa04b27f985c2f81b7469559eda4d8824e4bb348a0b9b341a9e34c7803ea341161ff306aee5d6cb73617e01fe7aad327e05f WHIRLPOOL 685c62001c6e29efbf800471ed95f8413368c6dc194689c04dea44c5b9148e09d3d79e026f91a2054a84a991bd741dc8de08838c3cd9b9c94fb8dc981db9e953 +DIST genpatches-4.0-6.experimental.tar.xz 61620 SHA256 ea7359c8a3e4e8c53ccfa0573158f080e4ed2a458f6de654097cf21134c0910d SHA512 69b0f51e43c2a5712fd8eff3f8292fe31109e33a24b51bb0e637d15bbf2329767896d6c56f3f178ad6e9d1f69ebe6875108941f18a4a10747405be385e47ce86 WHIRLPOOL 657758e5a8b7a9c764f1d8a875be71ee079907aa6ab79c90ae2632c4ab8445a86ad97cb3ef70e424a6bd62d4c937de577cf44a10aeea4a41d8dd6d1bcf803952 +DIST genpatches-4.0-6.extras.tar.xz 16280 SHA256 205c87c3d133a57d6ca42e2ce107cf64cbedd64fd356c601ca0af29248af5c1e SHA512 61cea7f5a8919418bbea96599f7decf804d97d9e6b8729e7e5dc4f077d54c86db7b0087f70b87183420798f16c1036242f1b857ff2598edf0902ff4fa6bd2890 WHIRLPOOL fde8c4c909a26d7bf2d00e35d1ee45e03c4710871f0a2cffdfbcd1109aac0b4f3215bf0ef5dc6562e9fb9d7447c1330f91a08ffa78912b3857cd3ddab5d10a3b +DIST genpatches-4.0-7.base.tar.xz 159536 SHA256 9d1e84cb5133489f76aa3ee4ffdc6a28331bed0c6557e383bdf288ec9461ff3c SHA512 49f29bc5b8d0953431dbd1c2c0b5fa0ae0eaad6ed744cddc5e8eeb3a6dc7aeb2231d9f491149fd0e9a4a9c10bfd336746a0b544b96d9212bc401091ee586eb46 WHIRLPOOL 355dfcdf5eb508cd840e506b32f3a9a39ef885bfc605b271574cc906492ad7a82c3f3511bbc519a912c56ad2cd0ab11d51a45602f20b03bc6441a11adc53d9d1 +DIST genpatches-4.0-7.experimental.tar.xz 61636 SHA256 419952353e98ed36dcdb9a45fe73b52449ec6b6d969dbf228f4dfc2da880f261 SHA512 1dcb8ede976b65304f3550aa55fb5cd0881861bc3507658f3e1927754ec37956e656ff053d546e5edd4f4ba63fbeca50f4a5c766229d5d05e5a69a4f2002f8b4 WHIRLPOOL 881f738f577ac15b977e3d3fa7e2abae427df196a0b33e96bb457ba36118e912e84bb8e36ee0baa67ab92ccfbffdcc2265cbae3034d618e25ab9b25db0791388 +DIST genpatches-4.0-7.extras.tar.xz 16276 SHA256 911ccb197f2c9514d8b4eacbdb7c059d709f64cb97632eae85cda99d61596ba4 SHA512 ce94b88735fde37b1337f111c91da0610b14b22ce5ac68bb082170acf23b8875cc1d2e7bc8354959a91bcbf10dee9fdd81d0cd173e21e8bd8d6f2ba157a737d9 WHIRLPOOL b8d32b09e5b9ec7af8307398fef31f5569c738dfdfc1832060e998f9fb5baa31cbb84eadab28b82d50fb7e6acbb381c55271128de4c5bc14febbb7dc4b1d1534 +DIST genpatches-4.0-8.base.tar.xz 187784 SHA256 31988af608f3c3e2a6a676b8df416debbc6cbfba3fa0b0bab004de4c7acf5b79 SHA512 cbb54c89994d0cb34fd7c823572b3daec84295aece8af8119f260390ea70266ee7e4d9be700de63f6f9f9c1cdfc2e9e77bcac1862a6dd7b10162344870f59c3a WHIRLPOOL 702fa7f2a70f8b88f0645f1725f32ec98baf5a3abb4b07e4c407038ce50bd03967bf687d298e81482c83f5391197de03fcff414d8caf92cf1134e59d07436928 +DIST genpatches-4.0-8.experimental.tar.xz 61648 SHA256 37cadee8326e5da2ca8fc657de74c586a1ffea224d5f30ee0d05b35d26404505 SHA512 672b3c9f1e05ae0c2cc075eef3c47b8c7982774c0a24807509f8232eaf60b794ea37041f8c4293cd5c4e92fa956dc65b7916ab0df1abf906ac4273e0df617159 WHIRLPOOL 1e24cf7b34e22f85e77aaefacfaea35bc0b2cf55f98b75ce24c4e6649e11b2dd8e7d0de5c794675e11f17886a7e762bb97c1a824d0d07db14e51b23e7d69d4fa +DIST genpatches-4.0-8.extras.tar.xz 16280 SHA256 ea2a886f46e800b321b14168bb1b28be6fadeed8b7e7ba0f3d03d8604554814a SHA512 ab4b9c98bf65859a2e6036cd63e6373dfdbc2ad4a4360117de58be70df94342792b56673056dc8c04c07ed744c641e233df771680ea7257dd6486bd5d9e84e71 WHIRLPOOL d684bf7de81357b2a1ac5632d166319d69946e6da2556b62cd5576c10a700dc65856eb69d3acd50265bb292f9440d5fd3b93ca588c301613e4c49a1b4cbdbdd3 +DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1 +DIST genpatches-4.0-9.experimental.tar.xz 61640 SHA256 94b3548a1154fff360c04b72e10cdd065dcba8531624b8edc3b0cbb918d22a7d SHA512 03ca661197a858e7a99419dddcab4ec1d9680652273df608d21d1df21a90dc7a59f6512a18c445e4b04fc531414bf29ed37f8f9973c3936688f8182492b4fff8 WHIRLPOOL e3018f7b855647bd6233761f9f10d9d69c0bbd138555eaa755b9964af0a1271caf64b025269d919e68f18c57fe86125a3b071c9ea1d046742fbd2cda83934401 +DIST genpatches-4.0-9.extras.tar.xz 16284 SHA256 18f2b5d62d0c9295ea28db9d589fef5f06afea2c2105f085ecf4082dd5e899d2 SHA512 69199530ddd179efa47e38cf32e39bac1819d788dc628bbc3b6cf2dd4d7149b33c0de06b304aaecb7fd92ed68f631c9638d55282174f1d1c51b8edb4dcfff336 WHIRLPOOL ac598ab6c14df8ca4a6b793abb41cddb27f6719ef5dcc4f5c7cf91b9dedabe2b2c8a19107340d1e55b3a05da2d59a99192ed81b9c666e46dbe62f7e2ebb1338d +DIST genpatches-4.1-3.base.tar.xz 4096 SHA256 d7dfb397945d8f0b505b0759dc7db39784568f8eabdd56549070569ec34c31a9 SHA512 6b7954af6dbc38a7655ea9f50f72f4024c634b8d0df88e780ec8079058ca5b7450dde66fe7ba6ebdbd22859f22647d47fa2033d4adc9ff65d598addfa36e6a7f WHIRLPOOL 73c781f414141d772d1e6bae52d213bff60971f0e7e9f6b931776ec63eeb68bffd812ac87018bb6f3bb9c9ec3c92b8ffae67141c146c05b391a967d587f3b7fa +DIST genpatches-4.1-3.experimental.tar.xz 157844 SHA256 03e93741fb653f28ca103c058f807e8f0f8bbfef8796863685c47af104e72e01 SHA512 c6cc02058130b911277333ac5d06e1e3ad5e8e22d51d1ab7eade7871599736fecdc7888d5b6e5932bc07ff6f841bd5a62d1ebc4641ad558f877644a07f070689 WHIRLPOOL 58a119f070f595b457f87c88bb5e15adfcc499c0dc8027506fbdea9c07981dc8553f7ec372500574c87331be50fa230d89ad4f82a478be148bc873a844677cff +DIST genpatches-4.1-3.extras.tar.xz 16176 SHA256 f29b92fa9e7f3c3a1081b86227b9daec3d932610f2c6a4d8ecd8218dcda190d7 SHA512 b1e61b9fe7303752643cfed0717c74fe953855bf2f2d019ff95d83f08a5e4f9b00ce5a8cf72d48fa6716abcec3a8476b003cf6c6b25a04b6b47a8505faca182e WHIRLPOOL b3797a12878a55331740c55f483f6ec69e6180a52dc3dbc227b3c68bfefcbeccc702cbafce3d6e3b0ce09d82f43d91b4bdd0d8ae51f6edaefcc6dc1d6d21987b +DIST genpatches-4.1-7.base.tar.xz 59032 SHA256 9106e15001e0c286ef929d5e4505507ccdefb0aecdd094b73d57d587070d3288 SHA512 da1e3ef03874ab0fd3af811d6b72e791117dd7490ecbd8698e24e98424175c0ad7228182976fdadbc62a3ef69bf721f82d99cc1760417c4ba3401844fe3c8db4 WHIRLPOOL d3d3623112f118f98db870f48bc3181d6f510fdb4d916a88a832065a2e0df99c1bc5e04db6f7dd09c505f0253b76037965bbaa27103263dd95a713d0428db5ba +DIST genpatches-4.1-7.experimental.tar.xz 214944 SHA256 1812d9b5cfa6a974cf36bb44a14bec26d021b29d386ce3139b50b99e3175143f SHA512 9704ae5529610afa2d6e62a123cba0a1891a18229a97ad5214449f23cf870e70932acd3a2ce32c5a30bd2cf89a64a012b23ee2591b699120cbffba3cb1cb0509 WHIRLPOOL cad56926d233a7b75dc4e915c1256a10864d356b6124b272f9af7eb59ae77871fd0c58ee810fdaf8d86820fdef1c0670ff7a463142cd7daa9fe9586983fc3fb9 +DIST genpatches-4.1-7.extras.tar.xz 16180 SHA256 39569583e833ff338b8126a52ae46a9a9b335d701006abbca7ed239bb84e7129 SHA512 4a5be5d19474a4679f83135ddfbb9af4b2c2c2d614ae95911c641c4d6fea8de9e25ebc1f4eefc2d9b1976c46b880e8717a0ca6987c64d2ccff969af5d6a84387 WHIRLPOOL 4509fef31139f79d7609e31d37b29f636471ba471c6ab47d6d4fcdd661b9a20d13e292b57a668b40a885a3aad4e2f831a1c3861aafbc3c85dd47f235b0ed09a6 +DIST genpatches-4.1-8.base.tar.xz 136372 SHA256 9be08b05eb8a10387d791d496ec5a4e7eb22c07dabb93bbba21f2aa11fb5be61 SHA512 67110c4191d8a40a435bd767a8024edac7bb00de507703a3faf5798d484f2d373aa1257bb23209f0151c394b08fb2577af5b8bd621a6654bfdbc247e4a083c58 WHIRLPOOL 26e727302e2c790805748e85610c5673e7b0c2869be9bf2938df07c18ed15c44ed278c285d073d71c69d83614bdee2c3058b82cb3720188ad91994fdde442820 +DIST genpatches-4.1-8.experimental.tar.xz 214924 SHA256 89ed455ba8d8aee207993b600b79b067d3fdf329b143ddbc00fe7b562bdf9893 SHA512 0722ea9d5219a06e6bee24a1be46fccf098367c2845e9c2196c29412fd64815db06f42ad724fd96bbd94527e84bb01929b744059add8b5fb555dcc87d2e8a593 WHIRLPOOL f4b3a57bdf713c4a5819276cc2a6f441741c91ae58aacf49076bfe889b617f67f158b5a61a27341318a02bb8de1b1959860433339d9a3a2337a62098a11e6261 +DIST genpatches-4.1-8.extras.tar.xz 16172 SHA256 8968ac71a0bf7c9d17600c5ac09d78216e14c54cfa9873aabce9c972747b3aa8 SHA512 654154fb0c7701083bcc530448cf1eb1a93bb0bfdc1f7816f40a5f8777b3e2209ed49f23954b095d99cd38cb83a676f0597cde13499b8ed7cce94eac464a7329 WHIRLPOOL c4d629ffb6211a71771ffa5165409bf29091e0c34e4350d6142617dc63f48c1d9d5bbc14b0b39d068d21ea1353f2b7496ae2b2d399734fd69d338f867876e695 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 diff --git a/sys-kernel/aufs-sources/aufs-sources-3.18.16.ebuild b/sys-kernel/aufs-sources/aufs-sources-3.18.16.ebuild new file mode 100644 index 000000000000..662467c520e2 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-3.18.16.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="17" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=3.18.1+_p20150622 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs3 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-3*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs3-kbuild.patch + "${WORKDIR}"/aufs3-base.patch + "${WORKDIR}"/aufs3-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs3 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-3.18.19.ebuild b/sys-kernel/aufs-sources/aufs-sources-3.18.19.ebuild new file mode 100644 index 000000000000..5d59184439d7 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-3.18.19.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="19" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=3.18.1+_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs3 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-3*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs3-kbuild.patch + "${WORKDIR}"/aufs3-base.patch + "${WORKDIR}"/aufs3-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs3 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-3.19.8.ebuild b/sys-kernel/aufs-sources/aufs-sources-3.19.8.ebuild new file mode 100644 index 000000000000..0055935430f8 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-3.19.8.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=3.19_p20150511 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs3 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-3*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs3-kbuild.patch + "${WORKDIR}"/aufs3-base.patch + "${WORKDIR}"/aufs3-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs3 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.0.4.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.0.4.ebuild new file mode 100644 index 000000000000..e491a12bc419 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.0.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="6" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.0_p20150518 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.0.5.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.0.5.ebuild new file mode 100644 index 000000000000..40262f942533 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.0.5.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.0_p20150518 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.0.6.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.0.6.ebuild new file mode 100644 index 000000000000..5c43b89d539d --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.0.6.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="8" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.0_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.0.7.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.0.7.ebuild new file mode 100644 index 000000000000..55944f4b37c8 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.0.7.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.0_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.0.9.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.0.9.ebuild new file mode 100644 index 000000000000..ae631142dfb4 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.0.9.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="11" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.0_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.1.0.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.1.0.ebuild new file mode 100644 index 000000000000..ba4d4c76201d --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.1.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="3" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.1_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.1.3.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.1.3.ebuild new file mode 100644 index 000000000000..54c4f2809c66 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.1.3.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.1_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/aufs-sources-4.1.4.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.1.4.ebuild new file mode 100644 index 000000000000..c6d9baa9eda1 --- /dev/null +++ b/sys-kernel/aufs-sources/aufs-sources-4.1.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="8" +K_DEBLOB_AVAILABLE="1" +UNIPATCH_STRICTORDER=1 +inherit kernel-2 eutils readme.gentoo +detect_version +detect_arch + +AUFS_VERSION=4.1_p20150629 +AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz" +# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar +AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}" + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/" +IUSE="deblob experimental module vanilla" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${AUFS_URI} + !vanilla? ( ${GENPATCHES_URI} ) + " + +PDEPEND="=sys-fs/aufs-util-4*" + +README_GENTOO_SUFFIX="-r1" + +src_unpack() { + if use vanilla; then + unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT + ewarn "You are using USE=vanilla" + ewarn "This will drop all support from the gentoo kernel security team" + fi + + UNIPATCH_LIST=" + "${WORKDIR}"/aufs4-kbuild.patch + "${WORKDIR}"/aufs4-base.patch + "${WORKDIR}"/aufs4-mmap.patch" + + use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch" + + unpack ${AUFS_TARBALL} + + einfo "Using aufs4 version: ${AUFS_VERSION}" + + kernel-2_src_unpack +} + +src_prepare() { + if ! use module; then + sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die + fi + cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die + cp -rf "${WORKDIR}"/{Documentation,fs} . || die +} + +src_install() { + kernel-2_src_install + dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + has_version sys-fs/aufs-util || \ + elog "In order to use aufs FS you need to install sys-fs/aufs-util" + + readme.gentoo_pkg_postinst +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/aufs-sources/files/README.gentoo b/sys-kernel/aufs-sources/files/README.gentoo new file mode 100644 index 000000000000..d9afb84f74a6 --- /dev/null +++ b/sys-kernel/aufs-sources/files/README.gentoo @@ -0,0 +1,21 @@ + +There several other patches in aufs3. +They are all optional. When you meet some problems, they will help you. You +can find them in the documentation directory. + + - aufs3-loopback.patch + Supports a nested loopback mount in a branch-fs. This patch is + unnecessary until aufs produces a message such like "you may want to try + another patch for loopback file". + + - vfs-ino.patch + Modifies a system global kernel internal function get_next_ino() in + order to stop assigning 0 for an inode-number. Not directly related to + aufs, but recommended generally. + + - tmpfs-ibitmap.patch/tmpfs-idr.patch + Keeps the tmpfs inode number as the lowest value. Effective to reduce + the size of aufs XINO files for tmpfs branch. Also it prevents the + duplication of inode number, which is important for backup + tools, aubrsync or other utilities. When you find aufs XINO files for + tmpfs branch growing too much, try this patch. diff --git a/sys-kernel/aufs-sources/files/README.gentoo-r1 b/sys-kernel/aufs-sources/files/README.gentoo-r1 new file mode 100644 index 000000000000..d59b18d63cb8 --- /dev/null +++ b/sys-kernel/aufs-sources/files/README.gentoo-r1 @@ -0,0 +1,21 @@ + +There several other patches in aufs3. +They are all optional. When you meet some problems, they will help you. You +can find them in the documentation directory. + + - aufs3-loopback.patch + Supports a nested loopback mount in a branch-fs. This patch is + unnecessary until aufs produces a message such like "you may want to try + another patch for loopback file". + + - vfs-ino.patch + Modifies a system global kernel internal function get_next_ino() in + order to stop assigning 0 for an inode-number. Not directly related to + aufs, but recommended generally. + + - tmpfs-idr.patch + Keeps the tmpfs inode number as the lowest value. Effective to reduce + the size of aufs XINO files for tmpfs branch. Also it prevents the + duplication of inode number, which is important for backup + tools, aubrsync or other utilities. When you find aufs XINO files for + tmpfs branch growing too much, try this patch. diff --git a/sys-kernel/aufs-sources/files/aufs-sources-3.10.26-mmap-aufs3.patch b/sys-kernel/aufs-sources/files/aufs-sources-3.10.26-mmap-aufs3.patch new file mode 100644 index 000000000000..48f4da5ac714 --- /dev/null +++ b/sys-kernel/aufs-sources/files/aufs-sources-3.10.26-mmap-aufs3.patch @@ -0,0 +1,38 @@ + aufs3-mmap.patch | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +diff --git a/aufs3-mmap.patch b/aufs3-mmap.patch +index 398253b..d9b413c 100644 +--- a/aufs3-mmap.patch ++++ b/aufs3-mmap.patch +@@ -215,24 +215,19 @@ index 7905fe7..94cc777 100644 + if (page->mapping != inode->i_mapping) { + unlock_page(page); + diff --git a/mm/fremap.c b/mm/fremap.c +-index 87da359..92bb6f2 100644 ++index bbc4d66..7deee2c 100644 + --- a/mm/fremap.c + +++ b/mm/fremap.c +-@@ -202,11 +202,12 @@ get_write_lock: +- */ +- if (mapping_cap_account_dirty(mapping)) { +- unsigned long addr; +-- struct file *file = get_file(vma->vm_file); +-+ struct file *file = vma->vm_file; ++@@ -211,7 +211,9 @@ get_write_lock: ++ /* mmap_region may free vma; grab the info now */ ++ vm_flags = vma->vm_flags; + + + vma_get_file(vma); +- addr = mmap_region(file, start, size, +- vma->vm_flags, pgoff); +-- fput(file); ++ addr = mmap_region(file, start, size, vm_flags, pgoff); + + vma_fput(vma); ++ fput(file); + if (IS_ERR_VALUE(addr)) { + err = addr; +- } else { + diff --git a/mm/madvise.c b/mm/madvise.c + index 7055883..e6b768d 100644 + --- a/mm/madvise.c diff --git a/sys-kernel/aufs-sources/files/aufs-sources-3.12.7-mmap-aufs3.patch b/sys-kernel/aufs-sources/files/aufs-sources-3.12.7-mmap-aufs3.patch new file mode 100644 index 000000000000..b4f7335a915b --- /dev/null +++ b/sys-kernel/aufs-sources/files/aufs-sources-3.12.7-mmap-aufs3.patch @@ -0,0 +1,38 @@ + aufs3-mmap.patch | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +diff --git a/aufs3-mmap.patch b/aufs3-mmap.patch +index acebfa8..8682a6d 100644 +--- a/aufs3-mmap.patch ++++ b/aufs3-mmap.patch +@@ -215,24 +215,19 @@ index ae4846f..3f890ee 100644 + if (page->mapping != inode->i_mapping) { + unlock_page(page); + diff --git a/mm/fremap.c b/mm/fremap.c +-index 5bff081..246a9c7 100644 ++index bbc4d66..7deee2c 100644 + --- a/mm/fremap.c + +++ b/mm/fremap.c +-@@ -207,11 +207,12 @@ get_write_lock: +- */ +- if (mapping_cap_account_dirty(mapping)) { +- unsigned long addr; +-- struct file *file = get_file(vma->vm_file); +-+ struct file *file = vma->vm_file; ++@@ -211,7 +211,9 @@ get_write_lock: ++ /* mmap_region may free vma; grab the info now */ ++ vm_flags = vma->vm_flags; + + + vma_get_file(vma); +- addr = mmap_region(file, start, size, +- vma->vm_flags, pgoff); +-- fput(file); ++ addr = mmap_region(file, start, size, vm_flags, pgoff); + + vma_fput(vma); ++ fput(file); + if (IS_ERR_VALUE(addr)) { + err = addr; +- } else { + diff --git a/mm/madvise.c b/mm/madvise.c + index 539eeb9..5e700b1 100644 + --- a/mm/madvise.c diff --git a/sys-kernel/aufs-sources/metadata.xml b/sys-kernel/aufs-sources/metadata.xml new file mode 100644 index 000000000000..7c66d9ad6d55 --- /dev/null +++ b/sys-kernel/aufs-sources/metadata.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <use> + <flag name="deblob"> + Remove binary blobs from kernel sources to provide libre license + compliance. + </flag> + <flag name="experimental"> + Apply experimental patches; for more information, + see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental". + </flag> + <flag name="module"> + Patch kernel to allow aufs being build as a module. + </flag> + <flag name="vanilla"> + Use vanilla kernel sources without applying genpatches. + WARNING: This flag will drop all support from the Gentoo Kernel + Security team + </flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest new file mode 100644 index 000000000000..1e3f451ebc74 --- /dev/null +++ b/sys-kernel/ck-sources/Manifest @@ -0,0 +1,71 @@ +DIST 3.10-sched-bfs-440-r1.patch 244053 SHA256 0b921d45036d411c4e04b5f6334dee3e7bfd9f131a46742aae748607a30f59d9 SHA512 c8c9f76e780f8f4c631ce161373f6a3d69ac785db080ae30d64d53b249025394d77293e074c2bed624627ecb0fb47e4745fb0676ccc2df004abf4d9f73cfc83b WHIRLPOOL 6001792a570366829d478fb5e84d33a68eff181c4a29d2ef4e2049336e1b2bf011b0d07c38c446f4acbc461a244571b78bf07b4d43a8ff1b8edb34a602917cfa +DIST 3.14-sched-bfs-447.patch 245314 SHA256 cf71ec72daeaa1ae757e8aaea10a53f972b62548774e3c9bae95d388c7c158bb SHA512 b8ee8d42eeab19c4229a7cd391af6b732c2e8a179f5ed969f1cc8863dfed68d09a6c6e61860df103a5c9535768d8852f7ce2acdc0618b529acc98e2e33be9b0e WHIRLPOOL bfbf8b1e5c43f4908fdf8a115ce708ea68accfe9e9c8f530be43ecaca3df7abfe966164da52545f40c80fc5138e5deb152b8acb49882238899452e51d89e88ba +DIST 3.18-sched-bfs-460.patch 250534 SHA256 f42551429eaeb544d24b658d86c24fa56acf6991b48762a48c1420d5c49baef2 SHA512 a7a6025c9062c935f024681a487d9087db9d3baf431f6534e9293174568e81f439400170f96a6060fd8b99453132e0e529eb2cd4fb795eaedda92cd8aaf65526 WHIRLPOOL e1431d93d772965139d5a67acee2c11819c5b1a09b8cfd16ecbab6c3dd086d81359b5e4be81d4bb73ef7273f495bf6c00978bae90652e1ecf1eae24f951e8f6e +DIST 3.19-sched-bfs-461.patch 250797 SHA256 d0c8edd972a87118ea8cf37b48a6d127adce835c49228c3f3f79774675ae137a SHA512 957cdf7b41266a1209925312f3062d36f2f3be4015ef2bc11c9f3742b1b5f0b29d413d4bd24d0438e0ab36f9aa19a84ea5fb5c19ca63baf151de706e41012bdc WHIRLPOOL 9fbd6c51ade6910f6c191ddf0535d3b8b1e45f0feb76ebc3dc2735bb08b65a526b3b17647845f19abcd9bedfe47f78c643f03ef7fed42862edcacc4536709875 +DIST 3.4-sched-bfs-424.patch 238668 SHA256 0faf4dd97ed903599db83d83b79b811d171ae6d1e916ad88ca32e55290fab32d SHA512 70f788b837fb26fc03503eab15eb958f1e86ab682bba394874c75275bfa4fec225ba16df5e77bffed24afcd99d6e13c3be608c81870d4d141bd9c86cd97b64d4 WHIRLPOOL 26f65771a3bc3df5b396d66755bc9b6af5bf200f6c84bae989de0d32f806df3a581c8aea2271163fe3aca54527d34a050bea9249a3db9b9f39f17330939a81df +DIST 4.0-sched-bfs-462.patch 252390 SHA256 0cf6fb4ec74ab142c2ad89b055340b3851b98abbac0646b1e1efacf5cd1ca320 SHA512 576f7383bc4ade80a9180859d235d5d9c273a927ffbd4b36e0d7abd223b5998d628ce2a061025c5506ecf21b57dd10cb08bf9ef40e26f7203f84c01466d98d3a WHIRLPOOL d146e6d0f4aed20922f3042792205ab666a875c9a014f35654b2abab2941cae1a163c5ae2e5284eea47c9d5d948d08b2a1cf0ecee75298899c8e3ecabbad6632 +DIST 4.1-sched-bfs-463.patch 252364 SHA256 9cc1303ee4a4cb6a4bf3da9108875a1973dc3e4ce3a72c33eda52b577978b15d SHA512 2809c0bc258461cf9d3cfae3179b2d880fae842d2ea0892358f76cb62c56f8258dfca368b5f173a9e043b508328517976110b2e81315c4a79eb5ba44f93c0133 WHIRLPOOL d6d33b85abe63da5e19afa2c6a7648f5716fcd0cc31686884bd655c0937da65d523d7d7a2ea30ebd15fc623b2300eb8aa95bc99251e22db816cdbeacaa39b0de +DIST bfs424-grq_urwlocks.patch 26428 SHA256 2bf41081dc175776100ce8c3ac909c1a77b314903c82a73cf1b8603ad7c841c4 SHA512 9784d7382b41484623cd410a4a6cebb70aaec39076fff62622f51084b7ca59707f9790b0a53ae0cfd2974d5120c849c542346746d243c59d1d79979141cfc900 WHIRLPOOL bfb8f5ffefd8da7e72e11884833cc742cb3652c32c0022c29a2a786a43b3c9788cf34a9d5d10ed65907de4aee990766bb03c4082cae19e6ae41d22666103ba57 +DIST deblob-3.10 117299 SHA256 d48cad04fab6a802b3a3e34955c8e35b539c2441f9a62522ec5a132c3a5ae684 SHA512 7b30f0f97ed97bf6b096d4a321b4b1e62f4b48f07972f2511870c3eaaf4f3877b0c6af2f30f6b985edf9c9c79267d40448b504c59016acfe06374630d1fdcba9 WHIRLPOOL 03a5963367cc6cb4f87e3d315ab61a8b3cb1fe577b20d7e2fb6ad83464075b3ed8176f543bb4c3b4e607d78cd55ef940f446bb75be09eb7496321930413ce2b9 +DIST deblob-3.14 121249 SHA256 980400e0db952ccdb5a507f99444330af893ed0f8a7a052916fcf0c2b2631f7e SHA512 2cbdf4f3947c12ade0931f0b3fb8b9c0312626a3bfea9d1c7d8d1d875b4673624ed3a6369653521998bbea0cde6730b573d6be918d052f1b553e093cb42a838f WHIRLPOOL 7ba1738ac829d8848104843da6237576f235c0151d53944ff3a7e0308cfb91600ffb9253402a34c2ed106c5b0bb3ce36785ead990396465341a957c58319221c +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-3.19 129098 SHA256 b0e121e80f02676bc023df1470691b94bd0495ae09aa349d1e6edddf7d1b34a2 SHA512 8f9327d5bb56fbc24f72622d579232003db95695c0cd22b4ce0b4692c9757b639c1253548d943f7cbdde9652cf51814f4b4fdf92055e8ae1c9d75acdc68d9a32 WHIRLPOOL bc3ed9eeec3ab77e2f18ec4a2a536a58b4bf2091a50219220c4d1d21de6956709c97dbb098eba64eacb2fac45f410020f6c37a3f890e6e820d5d8faebc3f3b3c +DIST deblob-3.4 108298 SHA256 b005dd372b8e55b19fc583fd99a3e95e44844b56305fdff7fdbd5f924a6c0308 SHA512 ce3df3c4850f0da821286acfa1b6c94e16350578f76a4df93284d2fe201dd78ce15dfb5c56727d8f90012062db180d5e9ee81ac3372f5b46e0deabdcfc03ca19 WHIRLPOOL 79386c1e04ca84709fce6ec4ea5eb308876d86f04a1b28f1eda4653d4917b3b9aa9b8a6b82605da3456d29e800dd5bbfcb27c124f1a01057d25b18871bc8770d +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e +DIST deblob-check-3.10 612122 SHA256 5a9552abac85cab9715a958785a3f901937fa135d85452647a16398181909c12 SHA512 c52917e9de8211f66a1e6805282dd727f1ec86701f76cbf16d0909ec212a9429c0994e0993db95b57934b17d9d91b08b4fa29f80c501397a5acce84bf4e1aed9 WHIRLPOOL d1c591fe7e229f9638945dd14f7dd16617ecff224b4cf2a6a3dd58913c23f7eb67496c26235d1d4637607bc9c9d260d990a0935b6b5bf2332f15e8ed58269856 +DIST deblob-check-3.14 613905 SHA256 4c69ea1c225b1a84c41e75392dcaa94f77dd8e647aff3afe52f1ab16ac99c5e5 SHA512 4dd7e785727ce29d78f5f68431fcb6ea9dfda5221dc8e699f40d13e3c85411707b13c288d23f8baa6b3c47f5a67ac58da0a7f1a51c4d9fdda82a7428ead88cf4 WHIRLPOOL de1b67955662f072193f58b7e7dbd98c6680958c2d65632bfb831dc0681945a4d1c27abe978e6ee687ae8f48773eb71c2f9026f461377b28235e7f7e39832a67 +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-3.19 659945 SHA256 df5a9b11b095b0d8c3204c9b24118d77689900fc4ef4c3256b13fe86aee0d185 SHA512 f7fc86ebc8e1c61c16d7ce6831368832862346522676b65f4702c77bb2e9b08691f2c67cf88e92929908d5300d53913e7e5365baf3378b1cbe3aca59ec80c672 WHIRLPOOL e5e33da007c07af4ca5713d583f992d9da8c6745761e1956a246de429a44aa972a94cc1db51e67d0ba1aad9b8476ef694d846e8157a85411bcbc1809f20f633a +DIST deblob-check-3.4 612122 SHA256 5a9552abac85cab9715a958785a3f901937fa135d85452647a16398181909c12 SHA512 c52917e9de8211f66a1e6805282dd727f1ec86701f76cbf16d0909ec212a9429c0994e0993db95b57934b17d9d91b08b4fa29f80c501397a5acce84bf4e1aed9 WHIRLPOOL d1c591fe7e229f9638945dd14f7dd16617ecff224b4cf2a6a3dd58913c23f7eb67496c26235d1d4637607bc9c9d260d990a0935b6b5bf2332f15e8ed58269856 +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 +DIST genpatches-3.10-88.base.tar.xz 1217916 SHA256 b4037ba6e57270215f951e56f8961058a52d421cdd8ac932b95eb0fb7f5447db SHA512 2b01cc729ceedb77b5daeadd34705a5221ac9ad8fd1f920ce10b85739a5b3c67de3b76366982c8eb216932abbcb4040d4909b6f2908a3633997617987cfe2dd1 WHIRLPOOL 515def87c16a3e28dda0816695d6d8d3981232c31bc4f01df9607c9f4aabf950ad675cdc7cea1bb09e3a41101afb2bb9c48b28ae1957e3e8c206c1cb2efab052 +DIST genpatches-3.10-88.experimental.tar.xz 60188 SHA256 d779f799a398f07377f1d7cc140b3f07b43b3afdb13f94c8ef4366ba47c9f78c SHA512 abd1d1d6b4fa175c8a0e70bd57690f674e8b588e22ed18459e5433e9065336b165e404eb320dfd3e62b78978a9961c2f011aa9d758f9bdbe27b87ef008210a11 WHIRLPOOL 1667a6d965a315b7bc2b31f6d6fbad65c8c3bb66ce978c97562ad8255815eaee2b895a5bd5a8a8dbe0505e29763b8553a70ae10c7d75d853bd2af97ea3b957aa +DIST genpatches-3.10-88.extras.tar.xz 17844 SHA256 3caee8fd80d824dbe855f52524a70c8911baf8996626eb48b82391956f39c58b SHA512 7fdd240c093e1837816358f98328cbeffdbafde8f3dedd9f31dee39d4f491cc3764dbdb30549477eb820e16ace063d6958d6fe487f4b184b96f6799ed959b95f WHIRLPOOL 9ab75dde01eb128f586d192d70cc308353f1a2cda67d949af6d955c2bbd34c4b09b0e8e1cc1c1909daca6b0006d706380806d209ba8baa4422b8edb107355778 +DIST genpatches-3.10-89.base.tar.xz 1229720 SHA256 86adf7b1a4d27a1770180410652b52d91366cbd80819b6b99794c606725b4f41 SHA512 fbb93ff58f24598db3d48125ea38b85712090b517ac7a4258d252812256cf25388bb27a18e9dd7737a61fd969609a744f6749b134035b4899c27c76af9b6d80e WHIRLPOOL 2781580b3042563b5d4958d8048796d7bce09f541d33d4f284147df0504b53e9a7c1ad71ec7c93ce06efcb3b486832d0f1c98b7444b0c6f063f077f9748c603d +DIST genpatches-3.10-89.experimental.tar.xz 60188 SHA256 9cbcb6187fbad49c04ca926394bc725440fb6948763f5a745c7e42a947354ceb SHA512 3afc230b86653e84803cef9bb24ee2ad0d0763e42feb2fd4886810858661c6ab82110beb200370b05991fe3a630db5fcf72ae997c355db89416848b4cc9e25ec WHIRLPOOL aaa0cb729f93cced59daaa4f01e8e024189db933e78ba4d9745866f2290d9a8202d500e260c0837c5b85054173d3c03e4fbc5ea388df8ccc6030eb328abc8ff8 +DIST genpatches-3.10-89.extras.tar.xz 17832 SHA256 4f55ddccc80d9c849165929d726cd24759601db9f5c39de5f2f34413ce1f10fc SHA512 4de9603d0099e8f001721dcbf2e135e6153dba535cc1a949d7a3992d976fd6119f35c8bb026413e25f9aaa59e329e6abbaa269fb5c0278d502e37b7751b08086 WHIRLPOOL 4d33ab1225144f45c0072fc8d9a1832772ebe0b5413acc0f0827ab130148619f146fb3ef2f58ea8735ef749510d5b8408181d1a163929d4c1d6444309767b0a6 +DIST genpatches-3.14-52.base.tar.xz 984136 SHA256 01318999e36187e937f9108fb7b5642f05ffdf61946981cc2d3a35f2c84139ae SHA512 e691210e2ae8184e6cdbb7dd381dfa850189aa7adb58bb33f6f0c6f9cb35e04097b97ef7ec5a0806c70d4d6aa4fae39cd6fe74b04cac4aa117340bc93c785049 WHIRLPOOL f0ddafcdee7c2f7b90f2f94b859afed000d860d259fe059cb4916b1bb71ecf146c943d279ad8b00f6fcee33c0faca3fb2e0e5d9eaa69619dd1da487f2c25f583 +DIST genpatches-3.14-52.experimental.tar.xz 60316 SHA256 49f617c5ed285358514cbc6a8d5d63c76806a29f64081220797b127dad4c8cc3 SHA512 a7801b33b07d04a0bd7dd2dde5b5567ad20356a0cbce1c0ec4b58b750d54a46a8f17d380d5bfaf331798bef10fee4f35530e1597ce48b6b4376d38beb35f9f6c WHIRLPOOL 93e45f1dd19aa902e8698b514175073f062b4facc26edabef7ed47f55d26e4b9fda005d318dd69f19ab52a3760e574965b1bcd2f580ce887a6e7772a364284f1 +DIST genpatches-3.14-52.extras.tar.xz 18268 SHA256 eb8fecb29c0c64ff14f7f530ca0f4b6a414643e8bcde1e6ab2932bddc8682a63 SHA512 fbf92e198092d580fa7918725863434a784b60341e5d973d8eebc9f7b454cf25de4d362c8fd039cdafbb4a5a2782b869ca3671c1d79613294d443afb25f5d065 WHIRLPOOL c42bb5d6b6c20736af7445786a4664b4e2adad60174ff11434039db111834811d80cf71711dac6e3fe93c4a42c480752e78efe1bef62ffcb1a3cbf0549f7d93f +DIST genpatches-3.14-54.base.tar.xz 1000384 SHA256 31496c9d1175b58ddea2e7e832cc0a1d6485754b0876bf10395de151b113bc26 SHA512 8c41346830512bedf1efa20914aa4c0a5895a78a8442e7f6749845986518a01bf0ef4d8759887b8368735c7c3cf5537717bd31ea9b2bd02c30204358a2e1adfa WHIRLPOOL 7aac6195994ca15659a7c8d73ae23fdcc0391f1a0260f795ec7c10833ef3dba90caf7fe1a8b1debcf314739515d180635e3a37721943083181a4784a8f38a30b +DIST genpatches-3.14-54.experimental.tar.xz 60308 SHA256 d65996f339e190d74e5ec1279b7e7e50712a75c36a83d71fa030c6a91cf402d9 SHA512 a51652a814070674c106bbff39acf2a65b6f011b676a7963138ea9279fb0dfc35842efea5fbf5d02e57db53a20535edf62afdb433a31282226b3fcfb10d525f3 WHIRLPOOL a6696e0271df7ae8c4c16c1fb9450b8e3383c330967ba131e988569d67481c1d7a124094573e1522a01df8bcae0453f1a722456c637efe0531fd96b0b34e97df +DIST genpatches-3.14-54.extras.tar.xz 18268 SHA256 082caa7769237e2105c3aedcc3be569809cdaa3dfa7a99107aaddc7f5830d5ef SHA512 8b238352a15587c7ce44ae90311b5cb7e49e05abfda5af2a777757306464316527527c2f47d81f4689acc9998d3059a3e7854b38b9ce2929de2383cdfd321d65 WHIRLPOOL d7c633218de7299be91eb3c01f5e3c5a00d348dc00612de52381ae3c4385717d9424670e8e2e0c2de94b032c50af732371f090c7189915877d6e7ef0e6896945 +DIST genpatches-3.18-16.base.tar.xz 444356 SHA256 9868f2d0a808026bbbe276193ef98a5bb65e881f6dbf347940d338e347b5a269 SHA512 6e10a76c0dbb53e82775f271dcc2077a4fa3681c92df7ed7c7d3abffcb31b19221fbf17f031e884235a62223b9a8c2ebb8c4998c1e692e3808b56c5bd7d4c1b9 WHIRLPOOL 3992b4bcf377fc4d4ba450fc7487c8be18de9bf37b49661f51a57587c2e6e4721e46c5f961a39396d7f94793fac30aa0e6a21a39ed3344b8f789fdb000d5a093 +DIST genpatches-3.18-16.experimental.tar.xz 61624 SHA256 1bab18d2a9e3995dc466533d8df2bff16ebac6170e11bf31b6c51de3170b5696 SHA512 551c1f9745f078fb5094240e7fc58fb877f6af601bff6c4dc742ecac5f0b9a1f0ec98752b7c47e56a05e2f7f9f6b79103e5ba8881ef80a5e83cd6208091307c7 WHIRLPOOL 357c25ac76680ce5a1844ce368149cb3b33eb73748b244ed6cc9d0afcdd518d643ff9c80808ac4c52871f633f104f368557c5af7e8186ae3219174ee2530bb4e +DIST genpatches-3.18-16.extras.tar.xz 16188 SHA256 0861244845ec3dc87c5cc070ad413ac98fb435e51bc20cd41354cef8967216b9 SHA512 59b830567f423c20f0c2c8b3123c44c61ab81dae1d35f4e62a5dd291f4b34772bf5116405086228aa5ed3712721e33309d1783d2921eac49c413f7e8b4cdc5d0 WHIRLPOOL 05cc5027107bc1c0f32b3189f84432b5ccbf2ed93792709ef52859fe1cd75018714f893ffca52c675af82b88398d8c072a9cfbe1a6703fd9b7ba6ea121cdcee3 +DIST genpatches-3.18-19.base.tar.xz 591336 SHA256 346d9ce9b825e024cb448c768b9e994ef27a4693cd7eb596295f1419dd3cbca9 SHA512 5d8c4550dc8afc0687d309f586200e908d2e71ce0ec6dfc86bbe26b3437e46927a6041278b97ed2087d8aafefddbb5d6162d9e22fa566c7f9eb1e57017dad6d4 WHIRLPOOL d9f29c9dc5b3995ff59b7e4f93617ad360ecb32c6fe6702daa4826277e98ef35ca3a1fd9817cf011ba43eedc14a54ebed6134f348245fceb56298baee6b73ece +DIST genpatches-3.18-19.experimental.tar.xz 61628 SHA256 7a34377e5c43214cc03c00e983a1996e955b3fdfc53be01ac1f84b9578c25287 SHA512 4ac764f6b11985fd63a4b392791e1a4467867ffe00f464115e8982a199cafc6a45489c704aee2a1ef9afefab93a1b110f8ccec597e6b4bf61e61f5b996d5fd36 WHIRLPOOL f2cbcf0efbe7929b0c1360b53c15bd9d6502916d664eec23aeda56e5c626d49fc2caa833e793a5a4ffed20591ff48e944ecff11c997fb5ef4aaaec066e745236 +DIST genpatches-3.18-19.extras.tar.xz 16176 SHA256 b1a797dba4a735d95a635bfd40b03e2cb83e0fedb0d50735a3eaa2cfe7898c68 SHA512 d77e4f337621b8e424f93e4433628f065895e8568f87daee82a46dfba12f7547d50edf71ece0dd9bc6356dfb9af356fc334111923c29aa61218ecf797b5bff2c WHIRLPOOL ab37e325b7be6a5a1dd9f959f9db3f46cfee3d903721c1ee1c896f66495d46ec908367cecac13a279756ab528c7f3788c90689ba717122874b430f7ec445b0fc +DIST genpatches-3.19-9.base.tar.xz 257836 SHA256 94ca8760c25b14e705dbdc4584c78b4ba71655bcb3529c9fed3a24c41e144231 SHA512 118bd7d89bd7652ae44cd01042f865a846668ac2976f2344e9f72d6dadb4c3fdfda738e7a971656519831cbfdb6cc07a8c9b4513c88be707c3eb707d6e75a8f8 WHIRLPOOL 38df4344680cb3d38c384ac6a7ec2dfaf591cccca3795a1a1150cbf410ec4e4e8affa816c5dc3448b0310dd2b9c12e220aa6b85820fd9c68c8441ad6c2846e73 +DIST genpatches-3.19-9.experimental.tar.xz 61632 SHA256 c1668cb0ebe2c04a5f9d837cd0b42378ec9c1c53cacc4b02272462bd9e773c88 SHA512 86738abd9ce9eb007c96388a18710d8005760f5f2c36d12388af6d88cea2b60f81c2debe8d3e0af8f4ac83619a4797aa5a77b73c83adca1cbc6f397005c66561 WHIRLPOOL 8c8c5931b69a99106f38309df1367db16f6935357db1ed48a2fbeff5c266ac4801803485446d5a8a292c1c29d851c1b32dcc8ce161c6646227b9f1e75ae7621b +DIST genpatches-3.19-9.extras.tar.xz 16280 SHA256 f0b77c7754741f000933a1450c39027c509ca66b44e78add44b100b02e415e5c SHA512 764e704d43573b80604f090b35b4c5913cc8d8abcb8f94590621df879668fdd0607db1a711a6fb24dd7b2ad709dff1110381e4b8072ad435ef7356639d8baacf WHIRLPOOL 6e8243526c27642cade7d1e9b36c6453c7a5ea63e99abae77ebd866365543930d1ee685b7a447f38e40bc8cfcbe84b01cbc8f5a6e443fe732b8e14ff3487a45d +DIST genpatches-3.4-90.base.tar.xz 1325696 SHA256 77764d0afc0e3a9db3b4e3314c86505ed8703834f8364fabf7bc21004d14425b SHA512 df2583e5a939a2ae9a2fade243b128ad3b1d4f7370407bca15ad1dca2defde271ede16daa8c01f844053af5da7a5cfbb7ea04839fe93a4a21fe87d1d8551374f WHIRLPOOL 17050e7e73b15106fb1831290a685810e65e41a345669e401ab324a3fa27576d02cb17e22b3f8c36961b501b31254cef82d849cac005504b8feb5b4113d9cbc3 +DIST genpatches-3.4-90.extras.tar.xz 18236 SHA256 787d5a43bbadfcb40ac5f7aed21aca6bba239bcf495b0d051380f675487ecb42 SHA512 9917f83e64c0705e0c810723ada2f14109d29cee03576027fb234229796c024d8092abbb91406e2ff9594e9e1840f718885e9e0ff294cdb2bfb0ef76fbcfde0d WHIRLPOOL 255b4f46bd3f0685f6903eb04be187dfa3f821318c7bb8ae48fb17c35eabd88d0f14684f6031326cea4935246acd0766abe6e7363f1a527af686c7fa965cf9d3 +DIST genpatches-4.0-11.base.tar.xz 234968 SHA256 49cfd38bb97a92984c0d8b955c2f795701897544a4bfea4d2d2932543abca31a SHA512 059a049248c2eaaae4c4201235586306f846b12503fa1aa3bdea9ad31b4522f030beb057926cf79ffa9468e2940a68b6f6089511a60005dd339e4775c8a682cd WHIRLPOOL a5a31fa2a1db39fd01ed72e9917481a7c4f406c8168a2dac078df5a46c41d0be69df6ef532aae0f06fbf81a5a5e2262a9ba4785bdb13c48b21e338347d6be1ee +DIST genpatches-4.0-11.experimental.tar.xz 61632 SHA256 cedb08c7d68cf62038aa6f8db3999a7d6daf434a08d0c811308affd5d18667d4 SHA512 cfe5281678acc938ba0c906ef58a654889a71da5238fbff13e5e78f328dc07485345deea6080abf1380a8a3ec5314691b8f5a35ae0cf627e6ebb38ba66860e38 WHIRLPOOL 5bfd4de5098fe5cd05bc7184a5797f9b310a848b2d96e04b83986f45d3961abaf6cfb76b801b9031c0b46c2c072578b59b98781c8c432b7ec0989449f8098a04 +DIST genpatches-4.0-11.extras.tar.xz 16288 SHA256 84b7509ecc82f7ff1b90959b88e9e0ad77544610d5a95aacfb88b7200b9aced1 SHA512 95354b1a2dce8d93a50cc1e1e79ea807134eb050c7a76921ada26f5bfa210963a16c9af7bda0b75894201a1e82929859f6dfa5c23cf63fe4586e4264eef85c7f WHIRLPOOL 4ebc929d8e39c0967b99d558f68e5454e6ffc771273b7e9637d8d0ba477c67ee490e0a443a8aa4fdcc74f3aab59cf8e9c159f2a3b152b33fb9a8f395a67b0085 +DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1 +DIST genpatches-4.0-9.experimental.tar.xz 61640 SHA256 94b3548a1154fff360c04b72e10cdd065dcba8531624b8edc3b0cbb918d22a7d SHA512 03ca661197a858e7a99419dddcab4ec1d9680652273df608d21d1df21a90dc7a59f6512a18c445e4b04fc531414bf29ed37f8f9973c3936688f8182492b4fff8 WHIRLPOOL e3018f7b855647bd6233761f9f10d9d69c0bbd138555eaa755b9964af0a1271caf64b025269d919e68f18c57fe86125a3b071c9ea1d046742fbd2cda83934401 +DIST genpatches-4.0-9.extras.tar.xz 16284 SHA256 18f2b5d62d0c9295ea28db9d589fef5f06afea2c2105f085ecf4082dd5e899d2 SHA512 69199530ddd179efa47e38cf32e39bac1819d788dc628bbc3b6cf2dd4d7149b33c0de06b304aaecb7fd92ed68f631c9638d55282174f1d1c51b8edb4dcfff336 WHIRLPOOL ac598ab6c14df8ca4a6b793abb41cddb27f6719ef5dcc4f5c7cf91b9dedabe2b2c8a19107340d1e55b3a05da2d59a99192ed81b9c666e46dbe62f7e2ebb1338d +DIST genpatches-4.1-7.base.tar.xz 59032 SHA256 9106e15001e0c286ef929d5e4505507ccdefb0aecdd094b73d57d587070d3288 SHA512 da1e3ef03874ab0fd3af811d6b72e791117dd7490ecbd8698e24e98424175c0ad7228182976fdadbc62a3ef69bf721f82d99cc1760417c4ba3401844fe3c8db4 WHIRLPOOL d3d3623112f118f98db870f48bc3181d6f510fdb4d916a88a832065a2e0df99c1bc5e04db6f7dd09c505f0253b76037965bbaa27103263dd95a713d0428db5ba +DIST genpatches-4.1-7.experimental.tar.xz 214944 SHA256 1812d9b5cfa6a974cf36bb44a14bec26d021b29d386ce3139b50b99e3175143f SHA512 9704ae5529610afa2d6e62a123cba0a1891a18229a97ad5214449f23cf870e70932acd3a2ce32c5a30bd2cf89a64a012b23ee2591b699120cbffba3cb1cb0509 WHIRLPOOL cad56926d233a7b75dc4e915c1256a10864d356b6124b272f9af7eb59ae77871fd0c58ee810fdaf8d86820fdef1c0670ff7a463142cd7daa9fe9586983fc3fb9 +DIST genpatches-4.1-7.extras.tar.xz 16180 SHA256 39569583e833ff338b8126a52ae46a9a9b335d701006abbca7ed239bb84e7129 SHA512 4a5be5d19474a4679f83135ddfbb9af4b2c2c2d614ae95911c641c4d6fea8de9e25ebc1f4eefc2d9b1976c46b880e8717a0ca6987c64d2ccff969af5d6a84387 WHIRLPOOL 4509fef31139f79d7609e31d37b29f636471ba471c6ab47d6d4fcdd661b9a20d13e292b57a668b40a885a3aad4e2f831a1c3861aafbc3c85dd47f235b0ed09a6 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST patch-3.10-ck1-r1.bz2 57305 SHA256 7b7835ba32c3ce1afa81139c848b7f6ec13540ba00f64ef4290c56eea52808c4 SHA512 d58dd603f02853c945d5980630e5123f7cc5fd012e0c61508cd08962cbdd4e35dfb3a6dbdd9452d8b936e6c1ec2cb552b39dc3bc6dfc29e8d020c1e2ad92825f WHIRLPOOL 322da3c72ed3641f0ec8c071dd6fe79c5a860e87a3f023df9c1fd582ed16ffaf6ba67fa93806b7545658551bbb311235dfdae8db1f09b4fb7882c79827768b11 +DIST patch-3.14-ck1.bz2 58269 SHA256 8b5924a8aa17876d394cdeb84740d96317e94d2430caddf753c416100b917d3c SHA512 d745370376e660245e0a5cc4512f0c584a4c782ddb0747637d6ec60021d95afa09d5728f44756c48843b398ba3072823bea99b1713c0833c941a522da0b6f305 WHIRLPOOL 7a9dda7e0a20b2c2ee373d957441af83f2148cfdf224ba20fe699a1f319f898493534d4b3115ed09851604760b767d2cb4c97e7f01501e0e261fa68f21937572 +DIST patch-3.18-ck1.bz2 59246 SHA256 e603c2752c160c124ae54dba8a4a9820d86912e5685b3bf6cd99705d7b147552 SHA512 c1ffbbc641cf9ef3c666a1fe5ddff1ab9ed02eb2d8d229d5ce4c11487609ef81beee456c211a658355c2061a108042929b9ad62914395a22077754ade4eb6a23 WHIRLPOOL 3562ad8e8859fa4845af99639a69cd45b73a5bcdcc3cb5bf473eeff3708c77aaf5ca6f0816e57010285bf1fdb6724d5736dc2ae74392d96cebccfd266b08d2bf +DIST patch-3.18.14-15.xz 54756 SHA256 5d33a75024798b7842936ee61f3652a1cebbc2c4818df7f67751e942a834859d SHA512 2b7e45dcd66e6e5471d3fc81b92ea8557c3025b0d82bad7d964a1ba0e1c3912e20afb9e3cb4cf6d176986afd4d4364cf0ef043ee981076a37264334be4d8ab9f WHIRLPOOL 8c14b99d0e1909b8aa559713400e722de98217697092bc6b60a7dd51efa2e11789622d23103a6c5b9b25685b730e077b3753d1774e84324d381afdb840072a2d +DIST patch-3.18.15-16.xz 864 SHA256 8a6d93b8737957a87a242fe25e71e87bf53d83cc028227b360316ac086e6c97a SHA512 ee99969d142c92c529cddc9521d44ced9f00eb533d3a1295c196bf74b6932ee032c6f4e0cd16697c6f378cffdbcfbdc6ceabddf23c13b2ed0b78ab9cd33df3a1 WHIRLPOOL 536b4a531f7671d4f70b8d5dceedb07a12dc8fb75b486e3cdcb6ba4d2a060bb9c16ea6b1a1dd02aa01528b1ba117117295b254a13bf2e4c6e23d1c35166b8752 +DIST patch-3.19-ck1.xz 62632 SHA256 6d3043360485bbf3b8b6b780d62ff529074489e6a4d0086607de873d1278c031 SHA512 e8d172b93597ad9023c00e07d6825ace8cb5bf421c7b8b77941262c95908dbe3129a7dfe6215dcd34b92f5e08cf7c58571b6b166aee24c1f9807fe74963b3806 WHIRLPOOL b0f8d6e56f96271499a557ad334e42c6cb6cb5f14f70579bc310e6580ad5cb2a9cd4b36f6a590ce950a2ea4360bcf5f503c0fc0c28d8876b955fee5c9c1474a7 +DIST patch-3.4-ck3.bz2 58930 SHA256 97a05793e15836866f7eabeeb08abec06dccbc23cfdd521c7e2c6c5baee20601 SHA512 f72c88f0b3570e3aa0f9c36cae5d535282c2e5aa29b3c0ac9e13db492f9df310f1fedbbcff5ea68ec872ea53c7cd968cff8e60746ccbeebb87f48a8a8a8d0c78 WHIRLPOOL 351be52877128717a40cdadf5c13aaddd688994f4654c901d905233cf41d5f0daf4aa771bf62da52d3d0acd98fcfa49234efbd0f705f4f34becd7b1ea22ddeb3 +DIST patch-4.0-ck1.bz2 59968 SHA256 be3ca32d048428a0cbd476bfe467e0d46d1848b95d4d7b70ab57b522d19f6cd2 SHA512 97f392e0bed2e6622aed7eb344f0ed499bb58ee118e62e28b67080df6ef02c7b874596e70d7db970a2f58f9f94faa3406c8a29eb5f6871ddc8d290ecd6aaf0b5 WHIRLPOOL 0efdd12ff388fdbbdcf6aacd910b27651f0834b3e8533c9a460e726c090fbaf7e926f8636f754960b54821cafcfadc665a3ad53884549ba2fe8975d76123628e +DIST patch-4.1-ck1.bz2 60192 SHA256 d383e24325333b0045ddbfee4cfc2491ab25d9a6446094dbe0e5ad7ed3de133a SHA512 0679eab9ac50714beff50bb4551bdd01d29f3287e4438a1d88ce74ce11286dfb1ec8d2c8f07d0dd765ed3171488b52320e976e50eeb47c8da9b18ad8d7b3a233 WHIRLPOOL 7ddeb29822eaeb6cddd4e4ebf60a5fbf2f925f994627948520fe8138ae6324c62669460e823a0dcd70a181914247b7ba72bb4ff1b01a61718f4c1deb4651559b +DIST urw-locks.patch 7451 SHA256 09c7faed0234aabb5af6dd156eb99f2a2855b4adfec3a0a2dd9e6b6ef47d4cdd SHA512 dc5dd6f36ec8de68ad723174728df28137dbbecf81b9aca07cdeaec2d6410f42e5b5b14cd1d7fafbad44c4ab0f420db9285b3df28b990a43bc3a05327ef92e4c WHIRLPOOL 625444ada085ae324a1032e9c4d1b88376df9cd05ca613571799e96645eb58217ffd93c47d33e4ce4f0cc15eb82b572a00aee6edca93a371cf39474f54dee242 diff --git a/sys-kernel/ck-sources/ck-sources-3.10.82.ebuild b/sys-kernel/ck-sources/ck-sources-3.10.82.ebuild new file mode 100644 index 000000000000..7c18c11f1e5f --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.10.82.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="88" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="440" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}-r1.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}-r1.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="http://dev.gentoo.org/~dlan/distfiles/${CK_FILE} + ${CK_LVER_URL}/${CK_FILE}" +BFS_URI="http://dev.gentoo.org/~dlan/distfiles/${BFS_FILE} + ${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7)-------------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.10.83.ebuild b/sys-kernel/ck-sources/ck-sources-3.10.83.ebuild new file mode 100644 index 000000000000..6a18bf4ea43f --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.10.83.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="89" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="440" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}-r1.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}-r1.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="http://dev.gentoo.org/~dlan/distfiles/${CK_FILE} + ${CK_LVER_URL}/${CK_FILE}" +BFS_URI="http://dev.gentoo.org/~dlan/distfiles/${BFS_FILE} + ${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7)-------------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.14.46.ebuild b/sys-kernel/ck-sources/ck-sources-3.14.46.ebuild new file mode 100644 index 000000000000..e730838a6741 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.14.46.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="52" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="447" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7/3.13)--------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.14.48.ebuild b/sys-kernel/ck-sources/ck-sources-3.14.48.ebuild new file mode 100644 index 000000000000..f820f688e989 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.14.48.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="54" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="447" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7/3.13)--------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.18.16.ebuild b/sys-kernel/ck-sources/ck-sources-3.18.16.ebuild new file mode 100644 index 000000000000..34de3fdfa03b --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.18.16.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="16" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="14" +XTRA_INCP_MAX="15" + +#-- + +CK_VERSION="1" +BFS_VERSION="460" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).xz" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7/3.13)--------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.18.19.ebuild b/sys-kernel/ck-sources/ck-sources-3.18.19.ebuild new file mode 100644 index 000000000000..d84749d0d48a --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.18.19.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="19" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="460" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).xz" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7/3.13)--------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.19.8.ebuild b/sys-kernel/ck-sources/ck-sources-3.19.8.ebuild new file mode 100644 index 000000000000..a9d51dd953bf --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.19.8.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="9" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="461" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... (3.7/3.13)--------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly (3.4/3.5) ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-3.4.107.ebuild b/sys-kernel/ck-sources/ck-sources-3.4.107.ebuild new file mode 100644 index 000000000000..580f1c083e73 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-3.4.107.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly experimental urwlocks" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="90" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="3" +BFS_VERSION="424" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" +XPR_1_FILE="bfs${BFS_VERSION}-grq_urwlocks.patch" +XPR_2_FILE="urw-locks.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/3.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" +XPR_1_URI="${CK_LVER_URL}/patches/${XPR_1_FILE}" +XPR_2_URI="${CK_LVER_URL}/patches/${XPR_2_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... ------------------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly ----------------- + +PRE_CK_FIX="${FILESDIR}/${PN}-3.4-3.5-PreCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P4.patch" +POST_CK_FIX="${FILESDIR}/${PN}-3.4-3.5-PostCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P5.patch ${FILESDIR}/${PN}-3.4.9-calc_load_idle-aCOSwt_P3.patch" +POST_CK_FIX="${POST_CK_FIX} ${FILESDIR}/${PN}-3.4.81-update_cpu_load-aCOSwt_P9.patch" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} ) + experimental? ( + urwlocks? ( ${XPR_1_URI} ${XPR_2_URI} ) )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +if use experimental ; then + if use urwlocks ; then + UNIPATCH_LIST="${UNIPATCH_LIST} ${DISTDIR}/${XPR_1_FILE} ${DISTDIR}/${XPR_2_FILE}:1" + fi +fi + +UNIPATCH_STRICTORDER="yes" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-4.0.7.ebuild b/sys-kernel/ck-sources/ck-sources-4.0.7.ebuild new file mode 100644 index 000000000000..195eeeb6c6cc --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.0.7.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="9" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="462" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... --------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly ------- + +PRE_CK_FIX="" +POST_CK_FIX="( ${FILESDIR}/bfs462-rtmn-fix.patch + ${FILESDIR}/bfs462-update_inittask.patch )" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-4.0.9.ebuild b/sys-kernel/ck-sources/ck-sources-4.0.9.ebuild new file mode 100644 index 000000000000..446c4affe2fc --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.0.9.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="11" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="462" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... --------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly ------- + +PRE_CK_FIX="" +POST_CK_FIX="( ${FILESDIR}/bfs462-rtmn-fix.patch + ${FILESDIR}/bfs462-update_inittask.patch )" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/ck-sources-4.1.3.ebuild b/sys-kernel/ck-sources/ck-sources-4.1.3.ebuild new file mode 100644 index 000000000000..0c2902caee38 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.1.3.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" +IUSE="bfsonly" + +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ + http://users.on.net/~ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="7" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with Con Kolivas' high performance patchset and Gentoo's genpatches" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" +BFS_VERSION="463" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.bz2" +BFS_FILE="${K_BRANCH_ID}-sched-bfs-${BFS_VERSION}.patch" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" +BFS_URI="${CK_LVER_URL}/patches/${BFS_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... --------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} + !bfsonly? ( ${CK_URI} ) + bfsonly? ( ${BFS_URI} )" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}" + +if ! use bfsonly ; then + UNIPATCH_LIST="${UNIPATCH_LIST}/${CK_FILE}" +else + UNIPATCH_LIST="${UNIPATCH_LIST}/${BFS_FILE}" +fi + +UNIPATCH_LIST="${UNIPATCH_LIST} ${CK_INCP_LIST} ${POST_CK_FIX}" + +UNIPATCH_STRICTORDER="yes" + +#-- Since experimental genpatches && we want BFQ irrespective of experimental - + +K_EXP_GENPATCHES_LIST="50*_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: http://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +} diff --git a/sys-kernel/ck-sources/files/bfs462-rtmn-fix.patch b/sys-kernel/ck-sources/files/bfs462-rtmn-fix.patch new file mode 100644 index 000000000000..c3c77fd6854a --- /dev/null +++ b/sys-kernel/ck-sources/files/bfs462-rtmn-fix.patch @@ -0,0 +1,26 @@ +Fix undefined reference to `register_task_migration_notifier' + +-ck + +--- + kernel/sched/bfs.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +Index: linux-4.0.2-ck1/kernel/sched/bfs.c +=================================================================== +--- linux-4.0.2-ck1.orig/kernel/sched/bfs.c 2015-05-08 09:03:55.730280539 +1000 ++++ linux-4.0.2-ck1/kernel/sched/bfs.c 2015-05-08 09:18:42.266015120 +1000 +@@ -976,6 +976,13 @@ static inline void deactivate_task(struc + clear_sticky(p); + } + ++static ATOMIC_NOTIFIER_HEAD(task_migration_notifier); ++ ++void register_task_migration_notifier(struct notifier_block *n) ++{ ++ atomic_notifier_chain_register(&task_migration_notifier, n); ++} ++ + #ifdef CONFIG_SMP + void set_task_cpu(struct task_struct *p, unsigned int cpu) + { diff --git a/sys-kernel/ck-sources/files/bfs462-update_inittask.patch b/sys-kernel/ck-sources/files/bfs462-update_inittask.patch new file mode 100644 index 000000000000..92321c7d1b59 --- /dev/null +++ b/sys-kernel/ck-sources/files/bfs462-update_inittask.patch @@ -0,0 +1,30 @@ +Add missing init task changes. + +-ck + +--- + include/linux/init_task.h | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: linux-4.0.2-ck1/include/linux/init_task.h +=================================================================== +--- linux-4.0.2-ck1.orig/include/linux/init_task.h 2015-05-08 09:03:54.922287214 +1000 ++++ linux-4.0.2-ck1/include/linux/init_task.h 2015-05-08 14:09:52.046246570 +1000 +@@ -200,6 +200,9 @@ extern struct task_group root_task_group + .cpus_allowed = CPU_MASK_ALL, \ + .mm = NULL, \ + .active_mm = &init_mm, \ ++ .restart_block = { \ ++ .fn = do_no_restart_syscall, \ ++ }, \ + .run_list = LIST_HEAD_INIT(tsk.run_list), \ + .time_slice = HZ, \ + .tasks = LIST_HEAD_INIT(tsk.tasks), \ +@@ -243,6 +246,7 @@ extern struct task_group root_task_group + INIT_FTRACE_GRAPH \ + INIT_TRACE_RECURSION \ + INIT_TASK_RCU_PREEMPT(tsk) \ ++ INIT_KASAN(tsk) \ + } + #else /* CONFIG_SCHED_BFS */ + #define INIT_TASK_COMM "swapper" diff --git a/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PostCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P5.patch b/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PostCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P5.patch new file mode 100644 index 000000000000..0414c31e3a4b --- /dev/null +++ b/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PostCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P5.patch @@ -0,0 +1,36 @@ +diff -Naur a/include/linux/init_task.h b/include/linux/init_task.h +--- a/include/linux/init_task.h 2012-10-09 14:42:04.000000000 +0200 ++++ b/include/linux/init_task.h 2012-10-08 18:14:11.000000000 +0200 +@@ -123,6 +123,8 @@ + + extern struct cred init_cred; + ++#ifndef CONFIG_SCHED_BFS ++ + extern struct task_group root_task_group; + + #ifdef CONFIG_CGROUP_SCHED +@@ -132,6 +134,8 @@ + # define INIT_CGROUP_SCHED(tsk) + #endif + ++#endif ++ + #ifdef CONFIG_PERF_EVENTS + # define INIT_PERF_EVENTS(tsk) \ + .perf_event_mutex = \ +diff -Naur a/include/linux/sched.h b/include/linux/sched.h +--- a/include/linux/sched.h 2012-10-09 14:42:04.000000000 +0200 ++++ b/include/linux/sched.h 2012-10-08 18:36:50.000000000 +0200 +@@ -1264,6 +1264,11 @@ + const struct sched_class *sched_class; + struct sched_entity se; + struct sched_rt_entity rt; ++ ++#ifdef CONFIG_CGROUP_SCHED ++ struct task_group *sched_task_group; ++#endif ++ + #endif + + #ifdef CONFIG_PREEMPT_NOTIFIERS diff --git a/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PreCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P4.patch b/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PreCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P4.patch new file mode 100644 index 000000000000..d95953b968bc --- /dev/null +++ b/sys-kernel/ck-sources/files/ck-sources-3.4-3.5-PreCK-Sched_Fix_Race_In_Task_Group-aCOSwt_P4.patch @@ -0,0 +1,13 @@ +diff -u -r a/include/linux/sched.h b/include/linux/sched.h +--- a/include/linux/sched.h 2012-10-03 02:54:00.000000000 +0200 ++++ b/include/linux/sched.h 2012-07-21 22:58:29.000000000 +0200 +@@ -1244,9 +1244,6 @@ + const struct sched_class *sched_class; + struct sched_entity se; + struct sched_rt_entity rt; +-#ifdef CONFIG_CGROUP_SCHED +- struct task_group *sched_task_group; +-#endif + + #ifdef CONFIG_PREEMPT_NOTIFIERS + /* list of struct preempt_notifier: */ diff --git a/sys-kernel/ck-sources/files/ck-sources-3.4.81-update_cpu_load-aCOSwt_P9.patch b/sys-kernel/ck-sources/files/ck-sources-3.4.81-update_cpu_load-aCOSwt_P9.patch new file mode 100644 index 000000000000..e5e673d78daa --- /dev/null +++ b/sys-kernel/ck-sources/files/ck-sources-3.4.81-update_cpu_load-aCOSwt_P9.patch @@ -0,0 +1,13 @@ +--- kernel/sched/bfs.000 2014-02-25 23:02:00.000000000 +0100 ++++ kernel/sched/bfs.c 2014-02-25 23:04:49.000000000 +0100 +@@ -2599,6 +2599,10 @@ + void calc_load_exit_idle(void) + { + } ++ ++void update_cpu_load_nohz(void) ++{ ++} + #endif /* CONFIG_NO_HZ */ + + /* diff --git a/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch b/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch new file mode 100644 index 000000000000..f3de9292dfdc --- /dev/null +++ b/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch @@ -0,0 +1,19 @@ +--- kernel/sched/bfs.c.000 2012-09-06 09:05:05.000000000 +0200 ++++ kernel/sched/bfs.c 2012-09-06 09:06:07.000000000 +0200 +@@ -2591,6 +2591,16 @@ + { + } + ++#ifdef CONFIG_NO_HZ ++void calc_load_enter_idle(void) ++{ ++} ++ ++void calc_load_exit_idle(void) ++{ ++} ++#endif /* CONFIG_NO_HZ */ ++ + /* + * Account guest cpu time to a process. + * @p: the process that the cpu time gets accounted to diff --git a/sys-kernel/ck-sources/metadata.xml b/sys-kernel/ck-sources/metadata.xml new file mode 100644 index 000000000000..a57973b7f6d4 --- /dev/null +++ b/sys-kernel/ck-sources/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>yngwin@gentoo.org</email> + </maintainer> + <use> + <flag name='bfsonly'>BFS by itself vs the full ck patchset</flag> + <flag name='experimental'>Allow experimental code. Can break or degrade + performance. (UNSUPPORTED) + </flag> + <flag name='urwlocks'>Use upgradable read/write locks in place of the grq + spinlock. (EXPERIMENTAL) + </flag> + <flag name='deblob'>Remove binary blobs from kernel sources to provide + libre license compliance. + </flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest new file mode 100644 index 000000000000..df55cb979b2b --- /dev/null +++ b/sys-kernel/cryptodev/Manifest @@ -0,0 +1 @@ +DIST cryptodev-linux-1.7.tar.gz 52827 SHA256 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25 SHA512 b0073bc547782973587654cb14205ec624059ef46f88ed2b36236d37203f9231ffb8124489b1b2fea735eb7f89bd1011f0d1546eae7b6f562e26ec7a72a59b6c WHIRLPOOL fdc3588949264a575bce7d88286b30663b3ce7232340c5065b9c8cf8f3759c9e3844dc11499cb68c529dd23dcd865f778ecdc2b8535e75e97df270c26df2cd84 diff --git a/sys-kernel/cryptodev/cryptodev-1.7.ebuild b/sys-kernel/cryptodev/cryptodev-1.7.ebuild new file mode 100644 index 000000000000..cf65220578f1 --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info linux-mod + +DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" +HOMEPAGE="http://cryptodev-linux.org/index.html" +SRC_URI="http://download.gna.org/cryptodev-linux/${PN}-linux-${PV}.tar.gz" +KEYWORDS="~amd64 ~arm ~x86" + +LICENSE="GPL-2" +SLOT="0" +IUSE="examples" + +DEPEND="virtual/linux-sources" +RDEPEND="" +#test do not compile +RESTRICT="test" +S=${WORKDIR}/${PN}-linux-${PV} + +MODULE_NAMES="cryptodev(extra:${S})" + +pkg_pretend() { + if use kernel_linux ; then + CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD" + check_extra_config + fi +} + +pkg_setup() { + if use kernel_linux ; then + linux-mod_pkg_setup + else + die "cryptodev ebuild only support linux" + fi + BUILD_TARGETS="build" + export KERNEL_DIR +} + +src_prepare() { + # get_unused_fd was removed in 3.19 + sed -i 's,get_unused_fd(),get_unused_fd_flags(0),' ioctl.c || die +} + +src_install() { + linux-mod_src_install + if use examples ; then + docinto examples + dodoc example/* + fi + insinto /usr/include/crypto + doins crypto/cryptodev.h +} diff --git a/sys-kernel/cryptodev/metadata.xml b/sys-kernel/cryptodev/metadata.xml new file mode 100644 index 000000000000..a1406ad73c8e --- /dev/null +++ b/sys-kernel/cryptodev/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> +<email>clabbe.montjoie@gmail.com</email> +<name>LABBE Corentin</name> +<description>Maintainer. Assign bugs to him</description> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest new file mode 100644 index 000000000000..de964128f976 --- /dev/null +++ b/sys-kernel/dracut/Manifest @@ -0,0 +1,5 @@ +DIST 034-0010-module-setup.sh-add-comments.patch.bz2 6424 SHA256 fbcb940c83e362cc93a78c5be28ffd7c794a331f992498e451d69c1830f054fa SHA512 e5e41b8696716c5284ea981ae85dbe688c5c31330e400c79f4ba46890939dffdd7744e4a85d27d074987a8db65114332171af0a5471338e3e4bed19d54edc6fd WHIRLPOOL c5d29ef2f20aa752e57180be35a2014c214a25e4e49d3f623d05cd6ef1debd2cec38d24453ecb0c004cdbb52239f0d541ddc9df065ab84fb7d62c30594704347 +DIST dracut-034.tar.bz2 277692 SHA256 48c7fd57e287d4f34dfff5b5ead14a4511926858f1e2ffaa40b762f257516d7f SHA512 ae06510668e63550d4d6b509b314c7668880387cfe696fc7f21cf04cc488be743440871dbd1fcf4e8314f9aa9e61ee3e78a42a75631123c420767677c6744e34 WHIRLPOOL 0412dea239fbd82d79e873869211ea31b7495dac74d7079e8aa52dd8d2484986fd0a0831aefffe29cfe5acfbf64fa01a9a1fa742192a28276a8671b663a69e13 +DIST dracut-040.tar.xz 263944 SHA256 b6e743353804b46e350177b9ecb9a8511df7e8c4ff9e0b4f3b4f72bc509c98a3 SHA512 6bc6a714572cc18c4cf9f9c1af4bc787287554ead1e39fbec8a1b8986585cf8c7c7ef476f87fc361f565eb344fe2594d63185ffe02cc5fa7cc3eaa03bcb4b72b WHIRLPOOL d8dbdbf6cb7705a0b7793f82a0323c49b4ac0dc3d61cf0073e3061f34af0b5c92dd21a7dc080f2a8d24d3eef3abc99df91f113675721267352f934f1319c66ba +DIST dracut-041.tar.xz 268288 SHA256 8ece6c2240bf0e9283e5f717b65dfcd6830b3ef7f8d1c01b60014052f1063251 SHA512 358444588febfc482627eb5423b8a87b588ed3842ae814b9f88d8c5dfec28419f2aea92cd54c11c4949b9968d60d7e05ba9cfea78d26d2dc6f2a943a38b28dac WHIRLPOOL ab538fe1ffeb3d43185c6222a6e65af8c684b292be571e0571fdd69011f654c3093f3a2256f3003d5dbaf07d0a26f83d82055885bae1868738ad15dc74982e72 +DIST dracut-043.tar.xz 272744 SHA256 1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1 SHA512 a36271e1ed4c1205a01bece7652095a8bfd722bcf7239a93baeb21e7e0a60fa86dd6657aa69b594241981056c87c6fe9d372f18ac045785122a9cafe8b0c31eb WHIRLPOOL d1efd59e2c41478e489d4707114b141e8bb0501c54209e364edc2060d3ffac7f2e1afd640b0812a452e7fbe7f9134e5e96436f0f1f2a54613d9468f9dca61a0c diff --git a/sys-kernel/dracut/dracut-034-r4.ebuild b/sys-kernel/dracut/dracut-034-r4.ebuild new file mode 100644 index 000000000000..ea80f7f2d827 --- /dev/null +++ b/sys-kernel/dracut/dracut-034-r4.ebuild @@ -0,0 +1,333 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +add_req_use_for() { + local dep="$1"; shift + local f + + for f in "$@"; do + REQUIRED_USE+="${f}? ( ${dep} ) +" + done +} + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +AIDECOE_DISTFILES="http://dev.gentoo.org/~aidecoe/distfiles" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.bz2 + ${AIDECOE_DISTFILES}/${CATEGORY}/${PN}/${PV}-0010-module-setup.sh-add-comments.patch.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +REQUIRED_USE=" + dracut_modules_bootchart? ( !dracut_modules_systemd ) + dracut_modules_crypt-gpg? ( dracut_modules_crypt ) + dracut_modules_crypt-loop? ( dracut_modules_crypt ) + dracut_modules_livenet? ( dracut_modules_dmsquash-live ) + " +COMMON_MODULES=" + dracut_modules_biosdevname + dracut_modules_bootchart + dracut_modules_btrfs + dracut_modules_caps + dracut_modules_crypt-gpg + dracut_modules_crypt-loop + dracut_modules_dash + dracut_modules_gensplash + dracut_modules_mdraid + dracut_modules_multipath + dracut_modules_plymouth + dracut_modules_syslog + dracut_modules_systemd + " +DM_MODULES=" + dracut_modules_crypt + dracut_modules_dmraid + dracut_modules_dmsquash-live + dracut_modules_livenet + dracut_modules_lvm + " +NETWORK_MODULES=" + dracut_modules_cifs + dracut_modules_iscsi + dracut_modules_livenet + dracut_modules_nbd + dracut_modules_nfs + dracut_modules_ssh-client + " +add_req_use_for device-mapper ${DM_MODULES} +add_req_use_for net ${NETWORK_MODULES} +IUSE_DRACUT_MODULES="${COMMON_MODULES} ${DM_MODULES} ${NETWORK_MODULES}" +IUSE="debug device-mapper net selinux ${IUSE_DRACUT_MODULES}" + +RESTRICT="test" + +CDEPEND="virtual/udev + !>=sys-fs/udev-210 + !>=sys-apps/systemd-210 + dracut_modules_systemd? ( >=sys-apps/systemd-199 ) + selinux? ( sec-policy/selinux-dracut ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >=sys-apps/baselayout-1.12.14-r1 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd[sysv-utils] sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + device-mapper? ( >=sys-fs/lvm2-2.02.33 ) + net? ( net-misc/curl >=net-misc/dhcp-4.2.4_p2-r1[client] sys-apps/iproute2 ) + selinux? ( sys-libs/libselinux sys-libs/libsepol ) + dracut_modules_biosdevname? ( sys-apps/biosdevname ) + dracut_modules_bootchart? ( app-admin/killproc app-benchmarks/bootchart2 + sys-process/acct ) + dracut_modules_btrfs? ( sys-fs/btrfs-progs ) + dracut_modules_caps? ( sys-libs/libcap ) + dracut_modules_cifs? ( net-fs/cifs-utils ) + dracut_modules_crypt? ( sys-fs/cryptsetup ) + dracut_modules_crypt-gpg? ( app-crypt/gnupg ) + dracut_modules_dash? ( >=app-shells/dash-0.5.4.11 ) + dracut_modules_dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ) + dracut_modules_gensplash? ( media-gfx/splashutils ) + dracut_modules_iscsi? ( >=sys-block/open-iscsi-2.0.871.3 ) + dracut_modules_lvm? ( >=sys-fs/lvm2-2.02.33 ) + dracut_modules_mdraid? ( >=sys-fs/mdadm-3.2.6-r1 ) + dracut_modules_multipath? ( sys-fs/multipath-tools ) + dracut_modules_nbd? ( sys-block/nbd ) + dracut_modules_nfs? ( net-fs/nfs-utils net-nds/rpcbind ) + dracut_modules_plymouth? ( >=sys-boot/plymouth-0.8.3-r1 ) + dracut_modules_ssh-client? ( net-misc/openssh ) + dracut_modules_syslog? ( || ( app-admin/syslog-ng app-admin/rsyslog ) ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib + +# +# Helper functions +# + +# Returns true if any of specified modules is enabled by USE flag and false +# otherwise. +# $1 = list of modules (which have corresponding USE flags of the same name) +any_module() { + local m modules=" $@ " + + for m in ${modules}; do + ! use $m && modules=${modules/ $m / } + done + + shopt -s extglob + modules=${modules%%+( )} + shopt -u extglob + + [[ ${modules} ]] +} + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${FILESDIR}/${PV}-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch" + epatch "${FILESDIR}/${PV}-0002-dracut-functions.sh-support-for-altern.patch" + epatch "${FILESDIR}/${PV}-0003-gentoo.conf-let-udevdir-be-handled-by-.patch" + epatch "${FILESDIR}/${PV}-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch" + epatch "${FILESDIR}/${PV}-0005-Install-dracut-install-into-libexec-di.patch" + epatch "${FILESDIR}/${PV}-0006-resume-fix-swap-detection-in-hostonly.patch" + epatch "${FILESDIR}/${PV}-0007-dracut.sh-also-mkdir-run-lock-which-is.patch" + epatch "${FILESDIR}/${PV}-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch" + epatch "${FILESDIR}/${PV}-0009-lvm-install-thin-utils-for-non-hostonl.patch" + epatch "${DISTDIR}/${PV}-0010-module-setup.sh-add-comments.patch.bz2" + epatch "${FILESDIR}/${PV}-0011-lvm-fix-thin-recognition.patch" + epatch "${FILESDIR}/${PV}-0012-lvm-always-install-thin-utils-for-lvm.patch" + epatch "${FILESDIR}/${PV}-0013-usrmount-always-install.patch" + epatch "${FILESDIR}/${PV}-0014-udev-rules-add-eudev-rules.patch" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use dracut_modules_systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use dracut_modules_systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + # Remove modules not enabled by USE flags + for module in ${IUSE_DRACUT_MODULES} ; do + ! use ${module} && rm_module -f ${module#dracut_modules_} + done + + # Those flags are specific, and even are corresponding to modules, they need + # to be declared as regular USE flags. + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + # Following flags define set of helper modules which are base dependencies + # for others and as so have no practical use, so remove these modules. + use device-mapper || rm_module 90dm + use net || rm_module 40network 45ifcfg 45url-lib + + if use dracut_modules_systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 98selinux + else + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove S/390 modules which are not tested at all + rm_module 80cms 95dasd 95dasd_mod 95zfcp 95znet + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni + + # Remove extra modules which go to future dracut-extras + rm_module 05busybox 97masterkey 98ecryptfs 98integrity +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + if use dracut_modules_crypt || use dracut_modules_dmraid || use \ + dracut_modules_mdraid || use dracut_modules_lvm; then + + if ! [[ $(</proc/cmdline) =~ rd.auto[\ =] ]]; then + ewarn "Autoassembly of special devices like cryptoLUKS, dmraid, " + ewarn "mdraid or lvm is off for default as of >=dracut-024." + ewarn "Use rd.auto option to turn it on." + fi + fi +} diff --git a/sys-kernel/dracut/dracut-040-r3.ebuild b/sys-kernel/dracut/dracut-040-r3.ebuild new file mode 100644 index 000000000000..0ab6bd89b9a9 --- /dev/null +++ b/sys-kernel/dracut/dracut-040-r3.ebuild @@ -0,0 +1,272 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + systemd? ( >=sys-apps/systemd-199 ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd[sysv-utils] sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( + sys-libs/libselinux + sys-libs/libsepol + sec-policy/selinux-dracut + ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +PATCHES=( + "${FILESDIR}/${PV}-0001-dracut-functions.sh-support-for-altern.patch" + "${FILESDIR}/${PV}-0002-gentoo.conf-let-udevdir-be-handled-by-.patch" + "${FILESDIR}/${PV}-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch" + "${FILESDIR}/${PV}-0005-NEWS-add-040-entry.patch" + "${FILESDIR}/${PV}-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch" + "${FILESDIR}/${PV}-0007-Take-into-account-lib64-dirs-when-dete.patch" + ) +QA_MULTILIB_PATHS=" + usr/lib/dracut/dracut-install + usr/lib/dracut/skipcpio + " + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${PATCHES[@]}" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + if [[ ${SYMLINK_LIB} = yes ]]; then + # Preserve lib -> lib64 symlinks in initramfs + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + fi + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + else + local systemdutildir="/lib/systemd" + einfo "Setting systemdutildir for standalone udev to" \ + "${systemdutildir}..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install skipcpio/skipcpio +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 98systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 app-admin/killproc sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + "sys-fs/cryptsetup[-static-libs]" + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + net-misc/openssh + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sys-kernel/dracut/dracut-041-r3.ebuild b/sys-kernel/dracut/dracut-041-r3.ebuild new file mode 100644 index 000000000000..a7318cbf1f8c --- /dev/null +++ b/sys-kernel/dracut/dracut-041-r3.ebuild @@ -0,0 +1,280 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + systemd? ( >=sys-apps/systemd-199 ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( + >=sys-apps/sysvinit-2.87-r3 + sys-apps/systemd[sysv-utils] + sys-apps/systemd-sysv-utils + ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( + sys-libs/libselinux + sys-libs/libsepol + sec-policy/selinux-dracut + ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +PATCHES=( + "${FILESDIR}/${PV}-0001-Use-the-same-paths-in-dracut.sh-as-tho.patch" + "${FILESDIR}/${PV}-0002-Install-dracut-install-and-skipcpio-in.patch" + "${FILESDIR}/${PV}-0003-Take-into-account-lib64-dirs-when-dete.patch" + "${FILESDIR}/${PV}-0004-Portability-fixes.patch" + "${FILESDIR}/${PV}-0005-base-dracut-lib.sh-remove-bashism.patch" + ) +QA_MULTILIB_PATHS=" + usr/lib/dracut/dracut-install + usr/lib/dracut/skipcpio + " + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${PATCHES[@]}" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + if [[ ${SYMLINK_LIB} = yes ]]; then + # Preserve lib -> lib64 symlinks in initramfs + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + fi + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + else + local systemdutildir="/lib/systemd" + einfo "Setting systemdutildir for standalone udev to" \ + "${systemdutildir}..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install skipcpio/skipcpio +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + if ! use systemd; then + # Scripts in kernel/install.d are systemd-specific + rm -r "${D%/}/${my_libdir}/kernel" || die + fi + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 98systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 app-admin/killproc sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + "sys-fs/cryptsetup[-static-libs]" + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + net-misc/openssh + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sys-kernel/dracut/dracut-043.ebuild b/sys-kernel/dracut/dracut-043.ebuild new file mode 100644 index 000000000000..04eb96479f1e --- /dev/null +++ b/sys-kernel/dracut/dracut-043.ebuild @@ -0,0 +1,271 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + systemd? ( >=sys-apps/systemd-199 ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( + >=sys-apps/sysvinit-2.87-r3 + sys-apps/systemd[sysv-utils] + sys-apps/systemd-sysv-utils + ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( + sys-libs/libselinux + sys-libs/libsepol + sec-policy/selinux-dracut + ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +QA_MULTILIB_PATHS=" + usr/lib/dracut/dracut-install + usr/lib/dracut/skipcpio + " + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + if [[ ${SYMLINK_LIB} = yes ]]; then + # Preserve lib -> lib64 symlinks in initramfs + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + fi + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + else + local systemdutildir="/lib/systemd" + einfo "Setting systemdutildir for standalone udev to" \ + "${systemdutildir}..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install skipcpio/skipcpio +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + if ! use systemd; then + # Scripts in kernel/install.d are systemd-specific + rm -r "${D%/}/${my_libdir}/kernel" || die + fi + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 00systemd 98dracut-systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart 01systemd-initrd 02systemd-networkd + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 app-admin/killproc sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + "sys-fs/cryptsetup[-static-libs]" + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + net-misc/openssh + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch b/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch new file mode 100644 index 000000000000..7500ecfdb7a8 --- /dev/null +++ b/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch @@ -0,0 +1,42 @@ +From 45e5079d4be0ac1a977bc41dcda423fcfa3280fc Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Tue, 8 Oct 2013 15:03:40 +0200 +Subject: [PATCH 1/5] dracut.sh: do not bail out, if kernel modules dir is + missing + +and only print a warning message +--- + dracut.sh | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/dracut.sh b/dracut.sh +index e135dfc..d9533dd 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -496,17 +496,18 @@ if [[ $regenerate_all == "yes" ]]; then + ((ret+=$?)) + done + exit $ret +-elif [[ $kernel ]]; then +- if ! [[ -d /lib/modules/$kernel ]] && [[ $no_kernel != yes ]]; then +- printf -- "Kernel version $kernel has no modules in /lib/modules/$kernel\n" >&2 +- exit 1 +- fi + fi + + if ! [[ $kernel ]]; then + kernel=$(uname -r) + fi + ++if [[ $kernel ]]; then ++ if ! [[ -d /lib/modules/$kernel ]] && [[ $no_kernel != yes ]]; then ++ printf -- "Kernel version $kernel has no module directory /lib/modules/$kernel\n" >&2 ++ fi ++fi ++ + if ! [[ $outfile ]]; then + [[ -f /etc/machine-id ]] && read MACHINE_ID < /etc/machine-id + +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch b/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch new file mode 100644 index 000000000000..acb2db7677e6 --- /dev/null +++ b/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch @@ -0,0 +1,41 @@ +From c5a2f35eb2a90d8787d127b44cb6b5e0536d16ce Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 6 Jan 2013 13:35:01 +0100 +Subject: [PATCH 2/5] dracut-functions.sh: support for alternative udev dirs - + udevaltdirs + +It is required for Gentoo which moves udev from / to /usr and supports +both /lib/udev and /usr/lib/udev for compatibility with other packages. + +Credits go to Alexander Tsoy <alexander@tsoy.me>. + +Conflicts: + dracut-functions.sh +--- + dracut-functions.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 45e0911..c1cbdeb 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -872,6 +872,16 @@ inst_rules() { + inst_dir "$_target" + for _rule in "$@"; do + if [ "${_rule#/}" = "$_rule" ]; then ++ for r in ${udevaltdirs}; do ++ [[ "$r" = "${udevdir}" ]] && continue ++ if [[ -e $r/rules.d/$_rule ]]; then ++ _found="$r/rules.d/$_rule" ++ inst_rule_programs "$_found" ++ inst_rule_group_owner "$_found" ++ inst_rule_initqueue "$_found" ++ inst_simple "$_found" "${udevdir}/rules.d/${_found##*/}" ++ fi ++ done + for r in ${udevdir}/rules.d ${hostonly:+/etc/udev/rules.d}; do + if [[ -e $r/$_rule ]]; then + _found="$r/$_rule" +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch b/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch new file mode 100644 index 000000000000..e5bee434ef8a --- /dev/null +++ b/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch @@ -0,0 +1,30 @@ +From 29ade4d78b7609877659aa5938b3fba2954ce415 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 16 Dec 2012 20:02:48 +0100 +Subject: [PATCH 3/5] gentoo.conf: let udevdir= be handled by pkg-config and + use udevaltdirs + +To avoid need of rebuild after udev update/downgrade let udevdir= be set +dynamically with pkg-config. Use udevaltdirs to search for rules both +in old and new locations. +--- + dracut.conf.d/gentoo.conf.example | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dracut.conf.d/gentoo.conf.example b/dracut.conf.d/gentoo.conf.example +index 26e7314..f9617f0 100644 +--- a/dracut.conf.d/gentoo.conf.example ++++ b/dracut.conf.d/gentoo.conf.example +@@ -1,7 +1,8 @@ + # /etc/dracut.conf.d/gentoo.conf + # dracut config file customized for Gentoo Base System release 2 + +-udevdir=/lib/udev ++udevdir= ++udevaltdirs="/lib/udev /usr/lib/udev" + ro_mnt=yes + + # +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 000000000000..dec964e5a87f --- /dev/null +++ b/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From 6660721bd34b7a25026ffc6a6df4cdfdc8742ed3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 4/5] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 124a41b..ea504f5 100644 +--- a/Makefile ++++ b/Makefile +@@ -91,6 +91,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index d9533dd..cf18c81 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -26,10 +26,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -54,7 +57,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -549,8 +551,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -669,7 +669,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch b/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch new file mode 100644 index 000000000000..6af99197ed49 --- /dev/null +++ b/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch @@ -0,0 +1,81 @@ +From 80dbe6dfbdb2cd3475006e210fe057dceb81ddf2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 5/5] Install dracut-install into libexec dir instead of lib + dir + +dracut-install script is the only thing ABI specific atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 4 +++- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut.sh | 1 + + 4 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index ea504f5..e004a79 100644 +--- a/Makefile ++++ b/Makefile +@@ -92,6 +92,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -135,7 +136,8 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir); \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut-install; \ + fi + mkdir -p $(DESTDIR)${prefix}/lib/kernel/install.d + install -m 0755 50-dracut.install $(DESTDIR)${prefix}/lib/kernel/install.d/50-dracut.install +diff --git a/configure b/configure +index 19b5e1f..d2ffc2c 100755 +--- a/configure ++++ b/configure +@@ -61,6 +61,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index c1cbdeb..72b7f1b 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -694,6 +694,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $libexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$libexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + fi +diff --git a/dracut.sh b/dracut.sh +index cf18c81..e28b929 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -27,6 +27,7 @@ + dracut_args=( "$@" ) + + # base dirs ++libexecdir=/usr/libexec + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch b/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch new file mode 100644 index 000000000000..e97780c25981 --- /dev/null +++ b/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch @@ -0,0 +1,31 @@ +From 0c89bcc27516803d68444488ede3d513ba982039 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Wed, 9 Oct 2013 06:39:46 +0400 +Subject: [PATCH 6/6] resume: fix swap detection in hostonly + +Check for other possible fs types. This fixes swap detection when using +TuxOnIce kernel. + +Note that parse-resume.sh generate udev rules with support for +ID_FS_TYPE=suspend, but we do not include it here, because it is +libvolume_id thing and host_fs_types is populated using blkid. +--- + modules.d/95resume/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh +index 518ebf0..a1ddb46 100755 +--- a/modules.d/95resume/module-setup.sh ++++ b/modules.d/95resume/module-setup.sh +@@ -6,7 +6,7 @@ check() { + # No point trying to support resume, if no swap partition exist + [[ $hostonly ]] || [[ $mount_needs ]] && { + for fs in "${host_fs_types[@]}"; do +- [[ $fs = swap ]] && return 0 ++ [[ $fs =~ ^(swap|swsuspend|swsupend)$ ]] && return 0 + done + return 255 + } +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch b/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch new file mode 100644 index 000000000000..0cf2586ed422 --- /dev/null +++ b/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch @@ -0,0 +1,25 @@ +From be723725cd6ea1c41b52c1bff5a569eb8cd0c76d Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Wed, 16 Oct 2013 11:31:54 +0200 +Subject: [PATCH 07/12] dracut.sh: also mkdir /run/lock, which is copied to + +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index e28b929..309aa7d 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1081,7 +1081,7 @@ if [[ $kernel_only != yes ]]; then + fi + done + +- for d in dev proc sys sysroot root run run/lock run/initramfs; do ++ for d in dev proc sys sysroot root run run/log run/lock run/initramfs; do + if [ -L "/$d" ]; then + inst_symlink "/$d" + else +-- +1.8.4.3 + diff --git a/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch b/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch new file mode 100644 index 000000000000..380411cc5f14 --- /dev/null +++ b/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch @@ -0,0 +1,25 @@ +From 34712f015f13221b653a1ed2ee75804f06a22357 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Wed, 16 Oct 2013 11:39:17 +0200 +Subject: [PATCH 08/12] dracut.sh: no need to make subdirs in run + +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index 309aa7d..4f58eed 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1081,7 +1081,7 @@ if [[ $kernel_only != yes ]]; then + fi + done + +- for d in dev proc sys sysroot root run run/log run/lock run/initramfs; do ++ for d in dev proc sys sysroot root run; do + if [ -L "/$d" ]; then + inst_symlink "/$d" + else +-- +1.8.4.3 + diff --git a/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch b/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch new file mode 100644 index 000000000000..8bf0f7c39875 --- /dev/null +++ b/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch @@ -0,0 +1,41 @@ +From bd3303000b32cb500b2d769c6852784a807cee47 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Tue, 8 Oct 2013 10:30:00 +0200 +Subject: [PATCH 09/12] lvm: install thin utils for non-hostonly + +--- + modules.d/90lvm/module-setup.sh | 18 +++++++++++------- + 1 file changed, 11 insertions(+), 7 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index f98ffff..514addc 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -52,13 +52,17 @@ install() { + + inst lvm + +- get_host_lvs | while read line; do +- printf "%s" " rd.lvm.lv=$line" +- if ! [[ $_needthin ]]; then +- [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 +- fi +- done >> "${initdir}/etc/cmdline.d/90lvm.conf" +- echo >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ if [[ $hostonly ]]; then ++ get_host_lvs | while read line; do ++ printf "%s" " rd.lvm.lv=$line" ++ if ! [[ $_needthin ]]; then ++ [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 ++ fi ++ done >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ echo >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ else ++ _needthin=1 ++ fi + + inst_rules "$moddir/64-lvm.rules" + +-- +1.8.4.3 + diff --git a/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch b/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch new file mode 100644 index 000000000000..b2dfc777814c --- /dev/null +++ b/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch @@ -0,0 +1,40 @@ +From a70dff7f103b27d5b7016e13a64c7710c61dc96e Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Wed, 16 Oct 2013 11:30:08 +0200 +Subject: [PATCH 11/12] lvm: fix thin recognition + +The global var setting was happening in a pipe and did not have an +effect. + +Use <<<$() instead. + +< <() cannot be used, because dracut is called in chroot's environments, +where /dev/fd does not point to /proc/self/fd, but bash wants +/dev/fd/<num> for this construct. +--- + modules.d/90lvm/module-setup.sh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index f8b598d..cbdf4a2 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -57,12 +57,13 @@ install() { + inst lvm + + if [[ $hostonly ]]; then +- get_host_lvs | while read line; do ++ while read line; do ++ [[ -n "$line" ]] || continue + printf "%s" " rd.lvm.lv=$line" + if ! [[ $_needthin ]]; then + [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 + fi +- done >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ done <<<$(get_host_lvs) >> "${initdir}/etc/cmdline.d/90lvm.conf" + echo >> "${initdir}/etc/cmdline.d/90lvm.conf" + else + _needthin=1 +-- +1.8.4.3 + diff --git a/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch b/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch new file mode 100644 index 000000000000..074566b69a48 --- /dev/null +++ b/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch @@ -0,0 +1,79 @@ +From 615071016ecfa223b2744fc17e137de780167115 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Mon, 21 Oct 2013 09:09:26 +0200 +Subject: [PATCH 12/12] lvm: always install thin utils for lvm + +--- + modules.d/90lvm/module-setup.sh | 33 +++++++-------------------------- + 1 file changed, 7 insertions(+), 26 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index cbdf4a2..87374da 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -24,7 +24,8 @@ depends() { + return 0 + } + +-get_host_lvs() { ++# called by dracut ++cmdline() { + local _activated + declare -A _activated + +@@ -37,37 +38,20 @@ get_host_lvs() { + eval $(dmsetup splitname --nameprefixes --noheadings --rows "$dev" 2>/dev/null) + [[ ${DM_VG_NAME} ]] && [[ ${DM_LV_NAME} ]] || return 1 + if ! [[ ${_activated[${DM_VG_NAME}/${DM_LV_NAME}]} ]]; then +- printf "%s\n" "${DM_VG_NAME}/${DM_LV_NAME} " ++ printf " rd.lvm.lv=%s\n" "${DM_VG_NAME}/${DM_LV_NAME} " + _activated["${DM_VG_NAME}/${DM_LV_NAME}"]=1 + fi + done + } + + # called by dracut +-cmdline() { +- get_host_lvs | while read line; do +- printf " rd.lvm.lv=$line" +- done +-} +- +-# called by dracut + install() { +- local _i _needthin ++ local _i + + inst lvm + +- if [[ $hostonly ]]; then +- while read line; do +- [[ -n "$line" ]] || continue +- printf "%s" " rd.lvm.lv=$line" +- if ! [[ $_needthin ]]; then +- [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 +- fi +- done <<<$(get_host_lvs) >> "${initdir}/etc/cmdline.d/90lvm.conf" +- echo >> "${initdir}/etc/cmdline.d/90lvm.conf" +- else +- _needthin=1 +- fi ++ cmdline >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ echo >> "${initdir}/etc/cmdline.d/90lvm.conf" + + inst_rules "$moddir/64-lvm.rules" + +@@ -103,9 +87,6 @@ install() { + + inst_libdir_file "libdevmapper-event-lvm*.so" + +- if [[ $_needthin ]]; then +- inst_multiple -o thin_dump thin_restore thin_check thin_repair +- fi +- ++ inst_multiple -o thin_dump thin_restore thin_check thin_repair + } + +-- +1.8.4.3 + diff --git a/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch b/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch new file mode 100644 index 000000000000..55fd87c1b08c --- /dev/null +++ b/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch @@ -0,0 +1,31 @@ +From ffbe30d1e1e9fb09136bfc2d29a3cc65292b5690 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Thu, 21 Nov 2013 20:33:38 +0400 +Subject: [PATCH 13/13] usrmount: always install + +/usr should be mounted by initramfs even if /sbin/init lives in / + +Conflicts: + modules.d/98usrmount/module-setup.sh +--- + modules.d/98usrmount/module-setup.sh | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh +index 1af789f..31a6229 100755 +--- a/modules.d/98usrmount/module-setup.sh ++++ b/modules.d/98usrmount/module-setup.sh +@@ -4,10 +4,7 @@ + + # called by dracut + check() { +- local _init + [[ $mount_needs ]] && return 1 +- _init=$(readlink -f /sbin/init) +- [[ "$init" == "${init##/usr}" ]] && return 255 + return 0 + } + +-- +1.8.4.4 + diff --git a/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch b/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch new file mode 100644 index 000000000000..0b3fc39d2f9e --- /dev/null +++ b/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch @@ -0,0 +1,29 @@ +From 29f735ac0e54421d1518b8d0f730523ebb7e6d5a Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Wed, 25 Dec 2013 14:00:26 +0400 +Subject: [PATCH] udev-rules: add eudev rules + +eudev configured with "--enable-modules --disable-libkmod" installs +80-drivers-modprobe.rules instead of 80-drivers.rules + +https://bugs.gentoo.org/show_bug.cgi?id=494188 +--- + modules.d/95udev-rules/module-setup.sh | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh +index 88c3da2..ebc4447 100755 +--- a/modules.d/95udev-rules/module-setup.sh ++++ b/modules.d/95udev-rules/module-setup.sh +@@ -39,6 +39,8 @@ install() { + prepare_udev_rules 59-persistent-storage.rules 61-persistent-storage.rules + # debian udev rules + inst_rules 91-permissions.rules ++ # eudev rules ++ inst_rules 80-drivers-modprobe.rules + + { + for i in cdrom tape dialout floppy; do +-- +1.8.3.2 + diff --git a/sys-kernel/dracut/files/040-0001-dracut-functions.sh-support-for-altern.patch b/sys-kernel/dracut/files/040-0001-dracut-functions.sh-support-for-altern.patch new file mode 100644 index 000000000000..55b369981810 --- /dev/null +++ b/sys-kernel/dracut/files/040-0001-dracut-functions.sh-support-for-altern.patch @@ -0,0 +1,41 @@ +From ed2f8d6145ef12084af882575091a7d44a3e47c1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 6 Jan 2013 13:35:01 +0100 +Subject: [PATCH 1/4] dracut-functions.sh: support for alternative udev dirs - + udevaltdirs + +It is required for Gentoo which moves udev from / to /usr and supports +both /lib/udev and /usr/lib/udev for compatibility with other packages. + +Credits go to Alexander Tsoy <alexander@tsoy.me>. + +Conflicts: + dracut-functions.sh +--- + dracut-functions.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 1bcc3b4..72afce2 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -943,6 +943,16 @@ inst_rules() { + inst_dir "$_target" + for _rule in "$@"; do + if [ "${_rule#/}" = "$_rule" ]; then ++ for r in ${udevaltdirs}; do ++ [[ "$r" = "${udevdir}" ]] && continue ++ if [[ -e $r/rules.d/$_rule ]]; then ++ _found="$r/rules.d/$_rule" ++ inst_rule_programs "$_found" ++ inst_rule_group_owner "$_found" ++ inst_rule_initqueue "$_found" ++ inst_simple "$_found" "${udevdir}/rules.d/${_found##*/}" ++ fi ++ done + for r in ${udevdir}/rules.d ${hostonly:+/etc/udev/rules.d}; do + if [[ -e $r/$_rule ]]; then + _found="$r/$_rule" +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0002-gentoo.conf-let-udevdir-be-handled-by-.patch b/sys-kernel/dracut/files/040-0002-gentoo.conf-let-udevdir-be-handled-by-.patch new file mode 100644 index 000000000000..52b97692f9e2 --- /dev/null +++ b/sys-kernel/dracut/files/040-0002-gentoo.conf-let-udevdir-be-handled-by-.patch @@ -0,0 +1,30 @@ +From a562cb9ad84784cb4ba7679a2fc3a269d31a4ca3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 16 Dec 2012 20:02:48 +0100 +Subject: [PATCH 2/4] gentoo.conf: let udevdir= be handled by pkg-config and + use udevaltdirs + +To avoid need of rebuild after udev update/downgrade let udevdir= be set +dynamically with pkg-config. Use udevaltdirs to search for rules both +in old and new locations. +--- + dracut.conf.d/gentoo.conf.example | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dracut.conf.d/gentoo.conf.example b/dracut.conf.d/gentoo.conf.example +index 26e7314..f9617f0 100644 +--- a/dracut.conf.d/gentoo.conf.example ++++ b/dracut.conf.d/gentoo.conf.example +@@ -1,7 +1,8 @@ + # /etc/dracut.conf.d/gentoo.conf + # dracut config file customized for Gentoo Base System release 2 + +-udevdir=/lib/udev ++udevdir= ++udevaltdirs="/lib/udev /usr/lib/udev" + ro_mnt=yes + + # +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sys-kernel/dracut/files/040-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 000000000000..fbfd9ee419ad --- /dev/null +++ b/sys-kernel/dracut/files/040-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From 5a1de9053d27feeb283253554033e7ad25c9aa31 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 3/4] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 7127368..a4c35e5 100644 +--- a/Makefile ++++ b/Makefile +@@ -103,6 +103,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index 1c7e208..ea30a7b 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -24,10 +24,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -52,7 +55,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -656,8 +658,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -798,7 +798,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0004-Install-dracut-install-into-libexec-di.patch b/sys-kernel/dracut/files/040-0004-Install-dracut-install-into-libexec-di.patch new file mode 100644 index 000000000000..2cf27f339c92 --- /dev/null +++ b/sys-kernel/dracut/files/040-0004-Install-dracut-install-into-libexec-di.patch @@ -0,0 +1,81 @@ +From ed9375739c3f7e48f6e1c3037c5a589c49d78613 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 4/4] Install dracut-install into libexec dir instead of lib + dir + +dracut-install script is the only thing ABI specific atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 4 +++- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut.sh | 1 + + 4 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index a4c35e5..af61faf 100644 +--- a/Makefile ++++ b/Makefile +@@ -104,6 +104,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -147,7 +148,8 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir); \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut-install; \ + fi + if [ -f skipcpio/skipcpio ]; then \ + install -m 0755 skipcpio/skipcpio $(DESTDIR)$(pkglibdir)/skipcpio; \ +diff --git a/configure b/configure +index 0bd3d2d..17370de 100755 +--- a/configure ++++ b/configure +@@ -59,6 +59,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 72afce2..1d85315 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -741,6 +741,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $libexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$libexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + fi +diff --git a/dracut.sh b/dracut.sh +index ea30a7b..08f27eb 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -25,6 +25,7 @@ + dracut_args=( "$@" ) + + # base dirs ++libexecdir=/usr/libexec + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0005-NEWS-add-040-entry.patch b/sys-kernel/dracut/files/040-0005-NEWS-add-040-entry.patch new file mode 100644 index 000000000000..eeb4610e4190 --- /dev/null +++ b/sys-kernel/dracut/files/040-0005-NEWS-add-040-entry.patch @@ -0,0 +1,25 @@ +From 36c91220234af69a96cd95e575b47f0a3ec4c645 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Fri, 24 Oct 2014 14:41:29 +0200 +Subject: [PATCH 5/5] NEWS: add 040 entry + +--- + NEWS | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/NEWS b/NEWS +index 1b79da1..da44068 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,3 +1,8 @@ ++dracut-040 ++========== ++- fixed dracut module dependency checks ++- fixed test suite ++ + dracut-039 + ========== + - DRACUT_PATH can now be used to specify the PATH used by dracut +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch b/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch new file mode 100644 index 000000000000..1ade9bd1e94c --- /dev/null +++ b/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch @@ -0,0 +1,26 @@ +From ff57ba111c03957d4a68459efd91322c24223861 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sat, 1 Nov 2014 22:25:07 +0100 +Subject: [PATCH 6/6] Don't pass --rsyncable option to gzip - Gentoo gzip + doesn't support it + +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index 08f27eb..17be895 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -822,7 +822,7 @@ case $compress in + bzip2) compress="bzip2 -9";; + lzma) compress="lzma -9 -T0";; + xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; +- gzip) compress="gzip -n -9 --rsyncable"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";; ++ gzip) compress="gzip -n -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";; + lzo) compress="lzop -9";; + lz4) compress="lz4 -l -9";; + esac +-- +2.1.3 + diff --git a/sys-kernel/dracut/files/040-0007-Take-into-account-lib64-dirs-when-dete.patch b/sys-kernel/dracut/files/040-0007-Take-into-account-lib64-dirs-when-dete.patch new file mode 100644 index 000000000000..5d1031284611 --- /dev/null +++ b/sys-kernel/dracut/files/040-0007-Take-into-account-lib64-dirs-when-dete.patch @@ -0,0 +1,44 @@ +From 25efd305dace3275c661e0a7dfbaef42b4cbc6d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 11 Jan 2015 15:10:39 +0100 +Subject: [PATCH 7/7] Take into account lib64 dirs when detecting version, + modules and params + +--- + lsinitrd.sh | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lsinitrd.sh b/lsinitrd.sh +index 4f12c2c..dc1f88f 100755 +--- a/lsinitrd.sh ++++ b/lsinitrd.sh +@@ -124,7 +124,7 @@ extract_files() + list_modules() + { + echo "dracut modules:" +- $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/modules.txt' 'usr/lib/dracut/modules.txt' 2>/dev/null ++ $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib64/dracut/modules.txt' 'lib/dracut/modules.txt' 'usr/lib/dracut/modules.txt' 2>/dev/null + ((ret+=$?)) + } + +@@ -217,7 +217,7 @@ ret=0 + if (( ${#filenames[@]} > 0 )); then + extract_files + else +- version=$($CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/dracut-*' 'usr/lib/dracut/dracut-*' 2>/dev/null) ++ version=$($CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib64/dracut/dracut-*' 'lib/dracut/dracut-*' 'usr/lib/dracut/dracut-*' 2>/dev/null) + ((ret+=$?)) + echo "Version: $version" + echo +@@ -226,7 +226,7 @@ else + echo "========================================================================" + else + echo -n "Arguments: " +- $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/build-parameter.txt' 'usr/lib/dracut/build-parameter.txt' 2>/dev/null ++ $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib64/dracut/build-parameter.txt' 'lib/dracut/build-parameter.txt' 'usr/lib/dracut/build-parameter.txt' 2>/dev/null + echo + list_modules + list_files +-- +2.2.1 + diff --git a/sys-kernel/dracut/files/041-0001-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sys-kernel/dracut/files/041-0001-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 000000000000..d16119ccaea7 --- /dev/null +++ b/sys-kernel/dracut/files/041-0001-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From 89334439113c0ea8196ac5e9e188e6a1bbebe267 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 1/4] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 41ae274..41968b0 100644 +--- a/Makefile ++++ b/Makefile +@@ -103,6 +103,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index 5e2feba..89a711e 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -24,10 +24,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -52,7 +55,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -666,8 +668,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -808,7 +808,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +2.3.3 + diff --git a/sys-kernel/dracut/files/041-0002-Install-dracut-install-and-skipcpio-in.patch b/sys-kernel/dracut/files/041-0002-Install-dracut-install-and-skipcpio-in.patch new file mode 100644 index 000000000000..5202ac37401a --- /dev/null +++ b/sys-kernel/dracut/files/041-0002-Install-dracut-install-and-skipcpio-in.patch @@ -0,0 +1,125 @@ +From 7d8dadfdb2d59ac60c6a579f602e13ac7c743e39 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 2/4] Install dracut-install and skipcpio into libexec dir + instead of lib dir + +dracut-install and skipcpio are the only ABI specific things atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 7 +++++-- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut-initramfs-restore.sh | 4 ++-- + dracut.sh | 1 + + lsinitrd.sh | 4 ++-- + 6 files changed, 15 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index 41968b0..bb007d1 100644 +--- a/Makefile ++++ b/Makefile +@@ -104,6 +104,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -147,10 +148,12 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir)/dracut; \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut/dracut-install; \ + fi + if [ -f skipcpio/skipcpio ]; then \ +- install -m 0755 skipcpio/skipcpio $(DESTDIR)$(pkglibdir)/skipcpio; \ ++ mkdir -p $(DESTDIR)$(libexecdir)/dracut; \ ++ install -m 0755 skipcpio/skipcpio $(DESTDIR)$(libexecdir)/dracut/skipcpio; \ + fi + mkdir -p $(DESTDIR)${prefix}/lib/kernel/install.d + install -m 0755 50-dracut.install $(DESTDIR)${prefix}/lib/kernel/install.d/50-dracut.install +diff --git a/configure b/configure +index 0bd3d2d..17370de 100755 +--- a/configure ++++ b/configure +@@ -59,6 +59,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 37ddca2..953acd1 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -733,6 +733,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutlibexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$dracutlibexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + elif ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then +diff --git a/dracut-initramfs-restore.sh b/dracut-initramfs-restore.sh +index 8b9b80f..8dd358e 100644 +--- a/dracut-initramfs-restore.sh ++++ b/dracut-initramfs-restore.sh +@@ -8,8 +8,8 @@ set -e + + KERNEL_VERSION="$(uname -r)" + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +-SKIP="$dracutbasedir/skipcpio" ++[[ $dracutlibexecdir ]] || dracutlibexecdir=/usr/libexec/dracut ++SKIP="$dracutlibexecdir/skipcpio" + [[ -x $SKIP ]] || SKIP=cat + + [[ -f /etc/machine-id ]] && read MACHINE_ID < /etc/machine-id +diff --git a/dracut.sh b/dracut.sh +index 89a711e..9cfeef1 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -25,6 +25,7 @@ + dracut_args=( "$@" ) + + # base dirs ++dracutlibexecdir=/usr/libexec/dracut + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +diff --git a/lsinitrd.sh b/lsinitrd.sh +index 4f12c2c..2ed6e56 100755 +--- a/lsinitrd.sh ++++ b/lsinitrd.sh +@@ -33,7 +33,7 @@ usage() + } + + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut ++[[ $dracutlibexecdir ]] || dracutlibexecdir=/usr/libexec/dracut + + sorted=0 + modules=0 +@@ -158,7 +158,7 @@ case $bin in + echo "Early CPIO image" + list_files + fi +- SKIP="$dracutbasedir/skipcpio" ++ SKIP="$dracutlibexecdir/skipcpio" + if ! [[ -x $SKIP ]]; then + echo + echo "'$SKIP' not found, cannot display remaining contents!" >&2 +-- +2.3.3 + diff --git a/sys-kernel/dracut/files/041-0003-Take-into-account-lib64-dirs-when-dete.patch b/sys-kernel/dracut/files/041-0003-Take-into-account-lib64-dirs-when-dete.patch new file mode 100644 index 000000000000..b355f8445c69 --- /dev/null +++ b/sys-kernel/dracut/files/041-0003-Take-into-account-lib64-dirs-when-dete.patch @@ -0,0 +1,60 @@ +From acfd4d98e821dbaa9ae68dde82fb8843fbf5de59 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Sun, 11 Jan 2015 15:10:39 +0100 +Subject: [PATCH 3/4] Take into account lib64 dirs when detecting version, + modules and params + +--- + lsinitrd.sh | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +diff --git a/lsinitrd.sh b/lsinitrd.sh +index 2ed6e56..0355c87 100755 +--- a/lsinitrd.sh ++++ b/lsinitrd.sh +@@ -108,6 +108,12 @@ if ! [[ -f "$image" ]]; then + exit 1 + fi + ++dracutlibdirs() { ++ for d in lib64/dracut lib/dracut usr/lib64/dracut usr/lib/dracut; do ++ echo "$d/$1" ++ done ++} ++ + extract_files() + { + (( ${#filenames[@]} == 1 )) && nofileinfo=1 +@@ -124,7 +130,8 @@ extract_files() + list_modules() + { + echo "dracut modules:" +- $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/modules.txt' 'usr/lib/dracut/modules.txt' 2>/dev/null ++ $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- \ ++ $(dracutlibdirs modules.txt) 2>/dev/null + ((ret+=$?)) + } + +@@ -217,7 +224,8 @@ ret=0 + if (( ${#filenames[@]} > 0 )); then + extract_files + else +- version=$($CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/dracut-*' 'usr/lib/dracut/dracut-*' 2>/dev/null) ++ version=$($CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- \ ++ $(dracutlibdirs 'dracut-*') 2>/dev/null) + ((ret+=$?)) + echo "Version: $version" + echo +@@ -226,7 +234,8 @@ else + echo "========================================================================" + else + echo -n "Arguments: " +- $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- 'lib/dracut/build-parameter.txt' 'usr/lib/dracut/build-parameter.txt' 2>/dev/null ++ $CAT "$image" | cpio --extract --verbose --quiet --to-stdout -- \ ++ $(dracutlibdirs build-parameter.txt) 2>/dev/null + echo + list_modules + list_files +-- +2.3.3 + diff --git a/sys-kernel/dracut/files/041-0004-Portability-fixes.patch b/sys-kernel/dracut/files/041-0004-Portability-fixes.patch new file mode 100644 index 000000000000..f92cba390e66 --- /dev/null +++ b/sys-kernel/dracut/files/041-0004-Portability-fixes.patch @@ -0,0 +1,63 @@ +From 82f7e46c8fdb2bb41b7b26916e463add7af70a94 Mon Sep 17 00:00:00 2001 +From: xtraeme <xtraeme@voidlinux.eu> +Date: Tue, 2 Jun 2015 11:11:21 +0200 +Subject: [PATCH 5/5] Portability fixes: + +- Use uid_t not __uid_t. +- Define _GNU_SOURCE for cpu_set_t and others. +- Include string.h for strncmp(). +- Detect musl's ldd error message. +--- + install/dracut-install.c | 7 ++++++- + install/util.h | 3 +++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/install/dracut-install.c b/install/dracut-install.c +index 201f181..0ff5c49 100644 +--- a/install/dracut-install.c ++++ b/install/dracut-install.c +@@ -222,7 +222,7 @@ static int cp(const char *src, const char *dst) + if (ret == 0) { + struct timeval tv[2]; + if (fchown(dest_desc, sb.st_uid, sb.st_gid) != 0) +- if(fchown(dest_desc, (__uid_t) - 1, sb.st_gid) != 0) ++ if(fchown(dest_desc, (uid_t) - 1, sb.st_gid) != 0) + log_error("Failed to chown %s: %m", dst); + tv[0].tv_sec = sb.st_atime; + tv[0].tv_usec = 0; +@@ -388,6 +388,11 @@ static int resolve_deps(const char *src) + break; + } + ++ /* musl ldd */ ++ if (strstr(buf, "Not a valid dynamic program")) ++ break; ++ ++ /* glibc */ + if (strstr(buf, "not a dynamic executable")) + break; + +diff --git a/install/util.h b/install/util.h +index cc7b988..2ad3254 100644 +--- a/install/util.h ++++ b/install/util.h +@@ -20,6 +20,8 @@ + along with systemd; If not, see <http://www.gnu.org/licenses/>. + ***/ + ++#define _GNU_SOURCE ++ + #include <inttypes.h> + #include <time.h> + #include <sys/time.h> +@@ -27,6 +29,7 @@ + #include <stdbool.h> + #include <stdlib.h> + #include <stdio.h> ++#include <string.h> + #include <signal.h> + #include <sched.h> + #include <limits.h> +-- +2.4.1 + diff --git a/sys-kernel/dracut/files/041-0005-base-dracut-lib.sh-remove-bashism.patch b/sys-kernel/dracut/files/041-0005-base-dracut-lib.sh-remove-bashism.patch new file mode 100644 index 000000000000..47bfdc5e0983 --- /dev/null +++ b/sys-kernel/dracut/files/041-0005-base-dracut-lib.sh-remove-bashism.patch @@ -0,0 +1,27 @@ +From 7ab0852f24a803ea2c9b0d8e1ce45d13cdd25320 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Tue, 24 Feb 2015 22:28:24 +0300 +Subject: [PATCH 5/5] base/dracut-lib.sh: remove bashism + +--- + modules.d/99base/dracut-lib.sh | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh +index 5c1504f..c1a22b6 100755 +--- a/modules.d/99base/dracut-lib.sh ++++ b/modules.d/99base/dracut-lib.sh +@@ -886,7 +886,9 @@ dev_unit_name() + dev="${dev##/}" + dev="$(str_replace "$dev" '\' '\x5c')" + dev="$(str_replace "$dev" '-' '\x2d')" +- dev=${dev/#\./\\x2e} ++ if [ "${dev##.}" != "$dev" ]; then ++ dev="\x2e${dev##.}" ++ fi + dev="$(str_replace "$dev" '/' '-')" + + printf -- "%s" "$dev" +-- +2.4.1 + diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml new file mode 100644 index 000000000000..c117f3f30d83 --- /dev/null +++ b/sys-kernel/dracut/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>aidecoe@gentoo.org</email> + <name>Amadeusz Żołnowski</name> + </maintainer> + <maintainer> + <email>alexander@tsoy.me</email> + <name>Alexander Tsoy</name> + </maintainer> + <herd>proxy-maintainers</herd> + <use> + <flag name="debug">Module installing additional tools like strace, file + editor, ssh and more</flag> + <flag name="device-mapper">Set of helper modules providing support for + device mapper. You need to enable this only if emerge says + so.</flag> + <flag name="net">Set of helper modules providing networking support. You + need to enable this only if emerge says so.</flag> + </use> + <longdescription lang="en"> + Generic, modular initramfs generation tool that can be used across various + distributions. + </longdescription> +</pkgmetadata> + diff --git a/sys-kernel/genkernel-next/Manifest b/sys-kernel/genkernel-next/Manifest new file mode 100644 index 000000000000..8b296ad61ce8 --- /dev/null +++ b/sys-kernel/genkernel-next/Manifest @@ -0,0 +1,4 @@ +DIST genkernel-next-35.tar.xz 2285208 SHA256 b50b164240d6428588c163e7f01c0f6090cb5c55a2a0f2e2e9c62154b254ae20 SHA512 a288c89dfb482ea90a59dd71308d22441e40360912e9cdc5e3ee16e2f7b52eaa08a5bcb542e0b95e97999fa20eda4151751b38e98131b7b52d6dad208e773495 WHIRLPOOL bf44120eacf20d322c52c191e673c1a7e0c7b73aa795a921d35bfdd187269d2e22fd385cf8acf712f109c5a701a7474a2e37f151a8508937ee4c3623d361a2f2 +DIST genkernel-next-55.tar.xz 2285968 SHA256 ea0bbba9cdb4d225d1085af67c84616a1e7e2f7378a6dca7a068c5de4d4096d4 SHA512 2aa86d6bcb2c6350c8084dcc79d2d934df165496f978206e4cbd7225a275fa3ea1a9522fcab6bbd6a27b93f794efde239c95e2a7ddfae2fff70923b6dc403c6f WHIRLPOOL 260c3d03efe99b3ebccd7cbf4013539e7c1957e981e3e944c329989395b26ad5e140c7681f9168fdf26a1f724f855a1224eaecde57ca357ab9c70d1240ceb2d2 +DIST genkernel-next-60.tar.xz 2286844 SHA256 17333f40ac9cdc304dc2d67d97d5fe900396590756bf43be4a52c39fcb79b05b SHA512 76bbe45f9739685d89cbb409b5f7a0a24165044acd7133b334a20639959cb82391b49c2431195e4a5eba306271b8b7e2ab10e904d5256b0694b1d8bee9806763 WHIRLPOOL bdb6de4234da472bb107087cfccc806040f6077a86a57e5da47d09c17ae89d799911008867efbabcf8a79b7ca7a0239eb221fa04e9c1e4cac2814b464df3c280 +DIST genkernel-next-63.tar.xz 2287136 SHA256 5a4f410ee3b7bb89d2d494190588c1ff572a027826502cbae312d548d07a126e SHA512 39dcfd0c4f5bd880cac2360f4792e7913ff20ed740a27358d14ba6653b4e4b4fc5a3b0983a62ebafec6882d0a5d0f7707b273ef60bfa153d9a26ea11f4f0f068 WHIRLPOOL 26d57d1d55aa9c49960d1d2b0d90341ff32078d40d5e77db804a24f24f3afbf8b3e476eb3e022752f5fbbf56371d30bd2e6dad160822496bc10c105b7072bba0 diff --git a/sys-kernel/genkernel-next/genkernel-next-35.ebuild b/sys-kernel/genkernel-next/genkernel-next-35.ebuild new file mode 100644 index 000000000000..d63b31531526 --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-35.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz" +else + EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" + inherit git-2 +fi +inherit bash-completion-r1 eutils + +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~alpha amd64 ~arm ia64 x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts, reloaded" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup dmraid gpg iscsi plymouth selinux" + +DEPEND="app-text/asciidoc + sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + !sys-kernel/genkernel + cryptsetup? ( sys-fs/cryptsetup ) + dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 ) + gpg? ( app-crypt/gnupg ) + iscsi? ( sys-block/open-iscsi ) + plymouth? ( sys-boot/plymouth ) + app-portage/portage-utils + app-arch/cpio + >=app-misc/pax-utils-0.6 + !<sys-apps/openrc-0.9.9 + sys-apps/util-linux + sys-block/thin-provisioning-tools + sys-fs/lvm2" + +src_prepare() { + sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ + die "Could not setup release" + + epatch_user +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + doman "${S}"/genkernel.8 || die "doman" + dodoc "${S}"/AUTHORS || die "dodoc" + + newbashcomp "${S}"/genkernel.bash "${PN}" +} diff --git a/sys-kernel/genkernel-next/genkernel-next-55.ebuild b/sys-kernel/genkernel-next/genkernel-next-55.ebuild new file mode 100644 index 000000000000..45a14fe446c0 --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-55.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz" +else + EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" + inherit git-2 +fi +inherit bash-completion-r1 eutils + +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts, reloaded" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup dmraid gpg iscsi plymouth selinux" + +DEPEND="app-text/asciidoc + sys-fs/e2fsprogs + !sys-fs/eudev[-kmod,modutils] + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + !sys-kernel/genkernel + cryptsetup? ( sys-fs/cryptsetup ) + dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 ) + gpg? ( app-crypt/gnupg ) + iscsi? ( sys-block/open-iscsi ) + plymouth? ( sys-boot/plymouth ) + app-portage/portage-utils + app-arch/cpio + >=app-misc/pax-utils-0.6 + !<sys-apps/openrc-0.9.9 + sys-apps/util-linux + sys-block/thin-provisioning-tools + sys-fs/lvm2" + +src_prepare() { + sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ + die "Could not setup release" + + epatch_user +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + doman "${S}"/genkernel.8 || die "doman" + dodoc "${S}"/AUTHORS || die "dodoc" + + newbashcomp "${S}"/genkernel.bash "${PN}" +} diff --git a/sys-kernel/genkernel-next/genkernel-next-60.ebuild b/sys-kernel/genkernel-next/genkernel-next-60.ebuild new file mode 100644 index 000000000000..05912ddd6d0a --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-60.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz" +else + EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" + inherit git-2 +fi +inherit bash-completion-r1 eutils + +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts, reloaded" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup dmraid gpg iscsi plymouth selinux" + +DEPEND="app-text/asciidoc + sys-fs/e2fsprogs + !sys-fs/eudev[-kmod,modutils] + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + !sys-kernel/genkernel + cryptsetup? ( sys-fs/cryptsetup ) + dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 ) + gpg? ( app-crypt/gnupg ) + iscsi? ( sys-block/open-iscsi ) + plymouth? ( sys-boot/plymouth ) + app-portage/portage-utils + app-arch/cpio + >=app-misc/pax-utils-0.6 + !<sys-apps/openrc-0.9.9 + sys-apps/util-linux + sys-block/thin-provisioning-tools + sys-fs/lvm2" + +src_prepare() { + sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ + die "Could not setup release" + + epatch_user +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + doman "${S}"/genkernel.8 || die "doman" + dodoc "${S}"/AUTHORS || die "dodoc" + + newbashcomp "${S}"/genkernel.bash genkernel +} diff --git a/sys-kernel/genkernel-next/genkernel-next-63.ebuild b/sys-kernel/genkernel-next/genkernel-next-63.ebuild new file mode 100644 index 000000000000..f643dd7c9d69 --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-63.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz" +else + EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" + inherit git-2 +fi +inherit bash-completion-r1 eutils + +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="ppc" +else + KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts, reloaded" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup dmraid gpg iscsi mdadm plymouth selinux" + +DEPEND="app-text/asciidoc + sys-fs/e2fsprogs + !sys-fs/eudev[-kmod,modutils] + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + !sys-kernel/genkernel + cryptsetup? ( sys-fs/cryptsetup ) + dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 ) + gpg? ( app-crypt/gnupg ) + iscsi? ( sys-block/open-iscsi ) + mdadm? ( sys-fs/mdadm ) + plymouth? ( sys-boot/plymouth[libkms] ) + app-portage/portage-utils + app-arch/cpio + >=app-misc/pax-utils-0.6 + !<sys-apps/openrc-0.9.9 + sys-apps/util-linux + sys-block/thin-provisioning-tools + sys-fs/lvm2" + +src_prepare() { + sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ + die "Could not setup release" + + epatch_user +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + doman "${S}"/genkernel.8 || die "doman" + dodoc "${S}"/AUTHORS || die "dodoc" + + newbashcomp "${S}"/genkernel.bash genkernel +} diff --git a/sys-kernel/genkernel-next/metadata.xml b/sys-kernel/genkernel-next/metadata.xml new file mode 100644 index 000000000000..5a51271cb37d --- /dev/null +++ b/sys-kernel/genkernel-next/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<maintainer> + <email>lxnay@gentoo.org</email> +</maintainer> +<use> + <flag name='cryptsetup'>Enable support for Luks disk enrcyption using <pkg>sys-fs/cryptsetup</pkg></flag> + <flag name='dmraid'>Enable support for DMRAID (include dmraid dependency)</flag> + <flag name='gpg'>Enable support for GPG (include gnupg dependency)</flag> + <flag name='iscsi'>Enable support for open-iscsi (include open-iscsi dependency)</flag> + <flag name='mdadm'>Enable support for mdadm (include mdadm dependency)</flag> + <flag name='plymouth'>Enable support for Plymouth (include Plymouth dependency)</flag> +</use> +</pkgmetadata> diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest new file mode 100644 index 000000000000..3782473bd57e --- /dev/null +++ b/sys-kernel/genkernel/Manifest @@ -0,0 +1,18 @@ +DIST LVM2.2.02.88.tgz 1029151 SHA256 a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432 SHA512 5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b WHIRLPOOL b30a1f2403e71ff6fb381ec82291018632e1d10258dd615efae4e39077a304a66271013247793390f57c26886599d8bad8f4b896d230f3e4f846e74c12282f71 +DIST busybox-1.20.2.tar.bz2 2186738 SHA256 eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882 SHA512 089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd WHIRLPOOL aa8fec92d0ac8bb246dea7353537d425a5fecfa0bb807d0e291c7351e8289b84aab83303c45b75f9b7a98cd10177e210511064f0709425c2f84b069fe6a06420 +DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 SHA256 93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e WHIRLPOOL 87915ea0013766da8a9722b437bfe146b4b2c7560a7814ac6caab92054ddc3b4b59ceb4d413609d5eaab92b5cee67886ade7924455f1dba19f1b8dabc25d3498 +DIST fuse-2.8.6.tar.gz 505334 SHA256 1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6 SHA512 03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd WHIRLPOOL 668c01f5ae9742f3e70248d6d2b57cbeaa0decf93d5f7987550fe54d4ebdb6e445ff841e8d36a60a4824c114651b8a93b118e15b8a00ac30ddc813e583fa2b51 +DIST genkernel-3.4.45.1.tar.bz2 265391 SHA256 8285aff3b27a56a2bbb9c8d91d8c8332f8fc15df7eb892f618859a5a74f92981 SHA512 4333cb4d2eceb8d25bd7e86c0a9cc11576926eceabed9e00a52ab6e3b341a8beb0c83e61bf1ffb5e865956d54be145f971a89a992496837f539def449efde3a4 WHIRLPOOL 3e9d94e7e6a3836ee327cb53eef746904eb2a146375508ca3f5cf25dfcb2ee98e7b23dd21aae3d3bd370630354a4ea86e2c0e50d3394b61ca82b4e63b3c99676 +DIST genkernel-3.4.48.tar.bz2 274876 SHA256 ac35531074765afdab6d1762f9facaf8b0d799797d4ec95885bd20a2f41c9727 SHA512 707c06f90a57502ee3bd3f4ef4be58d6dfba0839299baed38d75e4962b04fe8de24d01c480ea3d1bfa2fa1cdf935da3dd5ccb2ddb24e7be9eddf2ed01fc6ddb8 WHIRLPOOL a42939de0b606ac7499a8f194828bd4983fdfb94b220af66b850353a2ee0861e61ea6c9f5cbd62f5f30dc3e14f0b347068576f6df5a191e64bb7ab29a30a6cd3 +DIST genkernel-3.4.49.1.tar.bz2 266425 SHA256 84f23a7d01aafa3de0ec651c266db1a6d25356cf7257db3ea1b019f552d0406a SHA512 2ad73f845cfb490679be7245a367cb9dedc032a7b9e757f25fffab9aee5638cfaa586d3fd3100ebbca6899da3277b0d75d66a59b1a1ce59816f41b85102e0b2e WHIRLPOOL 99d24ab187afeb66b68a6de81685f335f1d652c5fbe321f1178abdd9cb768a05015b8fe5da9fb6746aa0a97a293ae34bb76590a9be646cc312abf7d527d8bf3b +DIST genkernel-3.4.49.2.tar.bz2 266427 SHA256 62ade4f83cefc2278e1dc7cf1456974b037a2aedc6dafcaf05c02b53e29a6e34 SHA512 f66b0107438d420a16de546ee28e2a2f09281fcf21c2ffc26c94438ba4c7467e607bf296081954e90d01a92e7db7642091267bade458b837758041a64b0b97ea WHIRLPOOL 626adac32a9b4c9f1ab9acc62a2354d894db806171a4fe28bd4697e28b7315d2ac1da1fcc438fbdb8ce5d9ce9bb88269c4e4f549122bae425b8d98e7f32315fa +DIST genkernel-3.4.49.tar.bz2 289872 SHA256 7212b1c80e63db9949f2a72f160b06ece6d886980aee5c165050e92b400bcd49 SHA512 4116656544d8bb30f79a86366dae58f8c52942ce831b4e3d263b103dfb76afb92d22bc44038212c53285b0ab5803d7931a4a5e9595b275f0f254c22249eddff4 WHIRLPOOL 27c7db14abe33fc5546c95681d7e14ed9d364457e2df0bf3f6d98bf9afcc3e0fdfc743ac0b645b2421aefe950ff4b6b30d4a6eab3b15a787e3b0faca100a5bd5 +DIST genkernel-3.4.50.tar.bz2 273874 SHA256 d1450b9a38837147f3ec2600bcd05a56df5537a1d9de0c41db123833a5f2f450 SHA512 8b56c0736abaffa1c04dd1315d38ed35be46b72a2e20b5602e946dbabde9c05a66691d3059306f58a17f436124912dd0b39ccc012fff8562b1531cfcb90e7d28 WHIRLPOOL 09d88f2013267021e792b784850057472b40d216b45c8cd8f67c9340c30ee4cdf8161beaa7fd628fb71755a35fed6e64adddd9b957f5c5b7698207fb70d4a7e4 +DIST genkernel-3.4.51.1.tar.bz2 294870 SHA256 af99c3f5dc1885b3c362e2fe1e4b7557b6ff2f55b8ce63b3681b1051fe3e4441 SHA512 a72378965fdc23be3e5af6c612502a38c89ae1be52f3baa82cc6ea17871a5f7c48515e55cf448d0288acf6d8cba012fb4f44e5219f5a69f942cec49dbaed31e0 WHIRLPOOL de229d1e6441d7ce25e8cf7180ebae27a591326058c8dcadb8f6054fc985a5f1d73fa97ea061d0bc8007c98b23b5c97a553f6b97cbc503e145864b43baa81e8f +DIST genkernel-3.4.51.2.tar.bz2 291001 SHA256 579989eaaf1c87686b3bf2d315acad8e3d3d9c64c06f78ae67555a3636276671 SHA512 1eb3ffff251c5ed84d91059a3af1460ad80702e28353c9e5e206615810168d83c097fbe34e28a774caf435e873fc758afd1a16e996dc93b6a2384ee050b4eb71 WHIRLPOOL b60f4ff9667b6dd2f9b73fb5bb63c81a8ce72db367b779188b587c38a95d69ae6fc96dcdaae57456bfec3832706edf6254ca2f4a2c135f088c0cd22d86322e9f +DIST genkernel-3.4.51.4.tar.xz 250400 SHA256 72062b11628eb967690691a7003625fffcd183117a22a8ae718e9bec116ec24f SHA512 85c138fea889b12662e9b0a782b1cd9121c740de35d96f3c56ed37d13fdc0178b265a30f409e7247b69ed4209e5dd13e9cff297079d626bad85f8846d8144e3b WHIRLPOOL 4ca49fe6cf5307ee950da89862a915766a6ca9b36995bb3937ff42cce2f250a845b9733c773e5f77212f2e4b15bfef5aade1f378bd71d7097f8d73292db3df44 +DIST genkernel-3.4.51.tar.bz2 273918 SHA256 6256510fa8966e8d6929f66679a1af249aacc564c91c9869decbab0a2f789bd7 SHA512 0a845e9ff0aeb15c75faaf0c1aac80e79ce30c0a907e3e028e0f3feb66e34005991a7b5e82b2281c60bf857f77b15c3d405cf698375caf398fc8e9d7504326d1 WHIRLPOOL 1e28036c2eabd3eb7ed4017347c1f6a44cba0ce2202898f19d3332e3217a65e9e6500b5ddb30774007d222422fe6218de93a1efc12eb6f33171a42b07722b33d +DIST gnupg-1.4.11.tar.bz2 3407075 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6 SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae WHIRLPOOL 6f914627e2f527f6616e1f99d2ae06942b734f839d03a45ffa45bf67516a81d58f89e6a85612cf8e5fd83be04ab0b6bc2da8f81114143dad7523e5fcea62366b +DIST mdadm-3.1.5.tar.bz2 292709 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3 SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d WHIRLPOOL 003595a1338b3a95ccc176b07a31f26dd5fda9460f2c4d3513b9ca09cdab1c91dab05f8914f2354047fccff42c4dcfc6131a383c84467c2838ac7b1af2f9bef8 +DIST open-iscsi-2.0-872.tar.gz 900081 SHA256 37753697a170223ac02a292b3a23a315a3c747b490c42480e4057b676c9f8d4f SHA512 d26c87772b0b1d13a8bd2eea9db86b3c61af83efbb788116c01ab6a914ff3de634a7b1bff56c1161b28965315543edbfc2735b6c7fbd3f7797471fde63b69cc0 WHIRLPOOL 4b04c8481c6c5f094ca6f7761828006a84eda7a22a6b3a4d65e7b3e4b39e73ef839ec710b491e7ca731b047fa8c74a9c03a17e85519a62dfbeb95222cfbdd935 +DIST unionfs-fuse-0.24.tar.bz2 30381 SHA256 d8abc855eb618ac356b1e716599c82f8f0f74dbaee36d4062edc707567121937 SHA512 e0e414f4edbf641ec9d0135a8723e43fc75412359b482f7aedd66fe8245e4df03943c5ecb6f8de4fdbd97f0346033c691e766cc4f4a755f5b43748e1441d3fbd WHIRLPOOL dc132086d9614895961dc8b498c435145b4390fc80331e0575ee8420faea0201325ab2394b9090d8f721c602ef1f93e150573b1b88b77ee4f7be4a262103b986 diff --git a/sys-kernel/genkernel/files/genkernel.bash b/sys-kernel/genkernel/files/genkernel.bash new file mode 100644 index 000000000000..ed6b1c16604e --- /dev/null +++ b/sys-kernel/genkernel/files/genkernel.bash @@ -0,0 +1,73 @@ +# genkernel (8) completion +# Copyright 2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Written by Aron Griffis <agriffis@gentoo.org> + +_genkernel() +{ + declare cur prev genkernel_help actions params + COMPREPLY=() + cur=${COMP_WORDS[COMP_CWORD]} + prev=${COMP_WORDS[COMP_CWORD-1]} + + # extract initial list of params/actions from genkernel --help + genkernel_help=$(command genkernel --help) + actions=( $(<<<"$genkernel_help" sed -n \ + '/^Available Actions:/,/^$/s/^[[:space:]]\+\([^[:space:]]\+\).*/\1/p') ) + params=( $(<<<"$genkernel_help" egrep -oe '--[^[:space:]]{2,}') ) + + # attempt to complete the current parameter based on the list + COMPREPLY=($(compgen -W "${params[*]/=*/=} ${actions[*]}" -- "$cur")) + + # if we don't have a rhs to complete + if [[ ${#COMPREPLY[@]} -gt 1 ]]; then + return + elif [[ ${#COMPREPLY[@]} -eq 0 && $cur != --*=* ]]; then + return + elif [[ ${#COMPREPLY[@]} -eq 1 && $COMPREPLY != --*= ]]; then + # using nospace completion, add an explicit space + COMPREPLY="${COMPREPLY} " + return + fi + + # we have a unique lhs and need to complete the rhs + declare args lhs rhs + if [[ ${#COMPREPLY[@]} -eq 1 ]]; then + lhs=$COMPREPLY + else + lhs=${cur%%=*}= + rhs=${cur#*=} + fi + + # genkernel's help gives clues as to what belongs on the rhs. + # extract the clue for the current parameter + args=" ${params[*]} " + args="${args##* $lhs}" + args="${args%% *}" + + # generate a list of completions for the argument; this replaces args with + # an array of results + args=( $(case $args in + ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;; + ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;; + ('<dir>') compgen -A directory -S / -- "$rhs" ;; + ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;; + (*) compgen -o bashdefault -- "$rhs" ;; # punt + esac) ) + + # we're using nospace completion to prevent spaces after paths that aren't + # "done" yet. So do some hacking to the args to add spaces after + # non-directories. + declare slash=/ + args=( "${args[@]/%/ }" ) # add space to all + args=( "${args[@]/%$slash /$slash}" ) # remove space from dirs + + # recreate COMPREPLY + if [[ $cur == "$lhs"* ]]; then + COMPREPLY=( "${args[@]}" ) + elif [[ ${#args[@]} -gt 0 ]]; then + COMPREPLY=( "${args[@]/#/$lhs}" ) + fi +} + +complete -o nospace -F _genkernel genkernel diff --git a/sys-kernel/genkernel/files/initramfs.mounts b/sys-kernel/genkernel/files/initramfs.mounts new file mode 100644 index 000000000000..b34c67502307 --- /dev/null +++ b/sys-kernel/genkernel/files/initramfs.mounts @@ -0,0 +1,23 @@ +# This specifies which mounts from your fstab should be mounted before +# switching to the real root. If this file is missing, genkernel's code will +# default to just "/usr", which will suffice on most systems with a seperate +# /usr mount. +# +# If you have a complex configuration with a bindmount or symlink at /usr, or +# need some other mountpoints at boot, you should update this file such that +# /usr and anything else needed will be available after the switch into the +# real root. +# +# The lines without comments in this file are used as exact matches against the +# second column of your /etc/fstab and the device, fstype and mount options are +# taken from that line in fstab. If no line matches, the line from this file +# will be ignored. +# + +/usr + +# If you had some need of these: +#/usr/local +#/opt +#/var +#/home diff --git a/sys-kernel/genkernel/genkernel-3.4.45.1.ebuild b/sys-kernel/genkernel/genkernel-3.4.45.1.ebuild new file mode 100644 index 000000000000..8584e5f5bc4e --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.45.1.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + elog "Copying files to /var/cache/genkernel/src..." + mkdir -p "${D}"/var/cache/genkernel/src + cp -f \ + "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \ + "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \ + "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ + "${D}"/var/cache/genkernel/src || die "Copying distfiles..." + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.48.ebuild b/sys-kernel/genkernel/genkernel-3.4.48.ebuild new file mode 100644 index 000000000000..d876a7e52247 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.48.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + elog "Copying files to /var/cache/genkernel/src..." + mkdir -p "${D}"/var/cache/genkernel/src + cp -f \ + "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \ + "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \ + "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ + "${D}"/var/cache/genkernel/src || die "Copying distfiles..." + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.49.1.ebuild b/sys-kernel/genkernel/genkernel-3.4.49.1.ebuild new file mode 100644 index 000000000000..1eb33a0743c3 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.49.1.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + elog "Copying files to /var/cache/genkernel/src..." + mkdir -p "${D}"/var/cache/genkernel/src + cp -f \ + "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \ + "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \ + "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ + "${D}"/var/cache/genkernel/src || die "Copying distfiles..." + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild b/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild new file mode 100644 index 000000000000..c2d0c00344a5 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="alpha arm hppa ia64 ppc ppc64 s390 sh sparc" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + elog "Copying files to /var/cache/genkernel/src..." + mkdir -p "${D}"/var/cache/genkernel/src + cp -f \ + "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \ + "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \ + "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ + "${D}"/var/cache/genkernel/src || die "Copying distfiles..." + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.49.ebuild b/sys-kernel/genkernel/genkernel-3.4.49.ebuild new file mode 100644 index 000000000000..54d7507f715c --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.49.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + elog "Copying files to /var/cache/genkernel/src..." + mkdir -p "${D}"/var/cache/genkernel/src + cp -f \ + "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \ + "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \ + "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ + "${D}"/var/cache/genkernel/src || die "Copying distfiles..." + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.50.ebuild b/sys-kernel/genkernel/genkernel-3.4.50.ebuild new file mode 100644 index 000000000000..cfdc74a059d3 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.50.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.51.1.ebuild b/sys-kernel/genkernel/genkernel-3.4.51.1.ebuild new file mode 100644 index 000000000000..cfdc74a059d3 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.51.1.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.51.2.ebuild b/sys-kernel/genkernel/genkernel-3.4.51.2.ebuild new file mode 100644 index 000000000000..cfdc74a059d3 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.51.2.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.51.4.ebuild b/sys-kernel/genkernel/genkernel-3.4.51.4.ebuild new file mode 100644 index 000000000000..9af6973ea882 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.51.4.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + default + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-3.4.51.ebuild b/sys-kernel/genkernel/genkernel-3.4.51.ebuild new file mode 100644 index 000000000000..cfdc74a059d3 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.51.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + # sparc doesn't need crosscompiler anymore + # remove this after >3.4.51.2 + sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \ + "${S}"/arch/sparc64/config.sh \ + || die "Could not remove sparc64 crosscompiler config" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/genkernel-9999-r1.ebuild b/sys-kernel/genkernel/genkernel-9999-r1.ebuild new file mode 100644 index 000000000000..05c13133f5e8 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-9999-r1.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI=4 # works with EAPI5 without changes, but this is more supported for a crucial package + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup ibm selinux" + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +pkg_pretend() { + if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + if use selinux ; then + sed -i 's/###//g' "${S}"/gen_compile.sh || die + fi + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]] ; then + emake + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf + + doman genkernel.8 + dodoc AUTHORS ChangeLog README TODO + dobin genkernel + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf || die + + if use ibm ; then + cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die + else + cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die + fi + insinto /usr/share/genkernel + doins -r "${S}"/* + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts + + cd "${DISTDIR}" + insinto /usr/share/genkernel/distfiles + doins ${A/${P}.tar.bz2/} +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext4." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo +} diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild new file mode 100644 index 000000000000..fb6593728f67 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI="3" + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git + http://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-2 bash-completion-r1 eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion-r1 eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git-2_src_unpack + else + unpack ${P}.tar.bz2 + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf || die "doins genkernel.conf" + + doman genkernel.8 || die "doman" + dodoc AUTHORS ChangeLog README TODO || die "dodoc" + + dobin genkernel || die "dobin genkernel" + + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + insinto /usr/share/genkernel + doins -r "${S}"/* || die "doins" + use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ + cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 + + # Copy files to /var/cache/genkernel/src + GKDISTDIR=/usr/share/genkernel/distfiles/ + elog "Copying files to ${GKDISTDIR}..." + insinto $GKDISTDIR + doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 + doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 + doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz + doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 + doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz + doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 + doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'http://www.gentoo.org/doc/en/genkernel.xml' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext3 or" + ewarn "even reiser3." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo + if use crypt && ! use cryptsetup ; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} diff --git a/sys-kernel/genkernel/metadata.xml b/sys-kernel/genkernel/metadata.xml new file mode 100644 index 000000000000..8bf1d5c6003a --- /dev/null +++ b/sys-kernel/genkernel/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>genkernel@gentoo.org</email> + </maintainer> + <use> + <flag name="crypt">Obsolete USE flag. Use cryptsetup for LUKS support. (bug ##414523)</flag> + <flag name="cryptsetup">Enable support for Luks disk encryption using <pkg>sys-fs/cryptsetup</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge">fuse</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest new file mode 100644 index 000000000000..34cc1c60c3ca --- /dev/null +++ b/sys-kernel/gentoo-sources/Manifest @@ -0,0 +1,90 @@ +DIST deblob-3.10 117299 SHA256 d48cad04fab6a802b3a3e34955c8e35b539c2441f9a62522ec5a132c3a5ae684 SHA512 7b30f0f97ed97bf6b096d4a321b4b1e62f4b48f07972f2511870c3eaaf4f3877b0c6af2f30f6b985edf9c9c79267d40448b504c59016acfe06374630d1fdcba9 WHIRLPOOL 03a5963367cc6cb4f87e3d315ab61a8b3cb1fe577b20d7e2fb6ad83464075b3ed8176f543bb4c3b4e607d78cd55ef940f446bb75be09eb7496321930413ce2b9 +DIST deblob-3.12 120320 SHA256 1d767acd3f461bcaa7ebef744dce1ca3eefde1cd41fde4c69a449e2470ab8c0e SHA512 61073cb763e3e0c21a84c0ee888087fbbf37b667ce0efbbc6c2ebc46ccae8460553511e347cf23d3c3603eec64df738ad4552a1b527453c7d795b8f90c4cf678 WHIRLPOOL c64cc566944ac241149a2a517da069185830be5b8ee25168b2b6b942bcf24fe3f2c0fe487b51a5b7e73e2910af2cabd7167cd1497ab7272c865d1eb3e68e4efe +DIST deblob-3.14 121249 SHA256 980400e0db952ccdb5a507f99444330af893ed0f8a7a052916fcf0c2b2631f7e SHA512 2cbdf4f3947c12ade0931f0b3fb8b9c0312626a3bfea9d1c7d8d1d875b4673624ed3a6369653521998bbea0cde6730b573d6be918d052f1b553e093cb42a838f WHIRLPOOL 7ba1738ac829d8848104843da6237576f235c0151d53944ff3a7e0308cfb91600ffb9253402a34c2ed106c5b0bb3ce36785ead990396465341a957c58319221c +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e +DIST deblob-check-3.10 612122 SHA256 5a9552abac85cab9715a958785a3f901937fa135d85452647a16398181909c12 SHA512 c52917e9de8211f66a1e6805282dd727f1ec86701f76cbf16d0909ec212a9429c0994e0993db95b57934b17d9d91b08b4fa29f80c501397a5acce84bf4e1aed9 WHIRLPOOL d1c591fe7e229f9638945dd14f7dd16617ecff224b4cf2a6a3dd58913c23f7eb67496c26235d1d4637607bc9c9d260d990a0935b6b5bf2332f15e8ed58269856 +DIST deblob-check-3.12 612300 SHA256 f29e34b141113ef9f71bf963b0e09bfe64e46db485ae1174bd212fed45a82ed3 SHA512 5835725eecbb9c23740e80bf5a6bb826bf49244e8a90b82ba3e2eaabeb8199aaceb1b63b8615f9e4770d846a5218eddcd091e7ec4568f74f963eb177051e8da5 WHIRLPOOL 615b95b11a9c9514c94a064e6b5019d36faae384c55ba30da1014ce3676731042939331074ccb3e7136458d54f3a5ad1f88aeb8ea45fb6310734c9f455ddb750 +DIST deblob-check-3.14 613905 SHA256 4c69ea1c225b1a84c41e75392dcaa94f77dd8e647aff3afe52f1ab16ac99c5e5 SHA512 4dd7e785727ce29d78f5f68431fcb6ea9dfda5221dc8e699f40d13e3c85411707b13c288d23f8baa6b3c47f5a67ac58da0a7f1a51c4d9fdda82a7428ead88cf4 WHIRLPOOL de1b67955662f072193f58b7e7dbd98c6680958c2d65632bfb831dc0681945a4d1c27abe978e6ee687ae8f48773eb71c2f9026f461377b28235e7f7e39832a67 +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 +DIST genpatches-3.10-88.base.tar.xz 1217916 SHA256 b4037ba6e57270215f951e56f8961058a52d421cdd8ac932b95eb0fb7f5447db SHA512 2b01cc729ceedb77b5daeadd34705a5221ac9ad8fd1f920ce10b85739a5b3c67de3b76366982c8eb216932abbcb4040d4909b6f2908a3633997617987cfe2dd1 WHIRLPOOL 515def87c16a3e28dda0816695d6d8d3981232c31bc4f01df9607c9f4aabf950ad675cdc7cea1bb09e3a41101afb2bb9c48b28ae1957e3e8c206c1cb2efab052 +DIST genpatches-3.10-88.experimental.tar.xz 60188 SHA256 d779f799a398f07377f1d7cc140b3f07b43b3afdb13f94c8ef4366ba47c9f78c SHA512 abd1d1d6b4fa175c8a0e70bd57690f674e8b588e22ed18459e5433e9065336b165e404eb320dfd3e62b78978a9961c2f011aa9d758f9bdbe27b87ef008210a11 WHIRLPOOL 1667a6d965a315b7bc2b31f6d6fbad65c8c3bb66ce978c97562ad8255815eaee2b895a5bd5a8a8dbe0505e29763b8553a70ae10c7d75d853bd2af97ea3b957aa +DIST genpatches-3.10-88.extras.tar.xz 17844 SHA256 3caee8fd80d824dbe855f52524a70c8911baf8996626eb48b82391956f39c58b SHA512 7fdd240c093e1837816358f98328cbeffdbafde8f3dedd9f31dee39d4f491cc3764dbdb30549477eb820e16ace063d6958d6fe487f4b184b96f6799ed959b95f WHIRLPOOL 9ab75dde01eb128f586d192d70cc308353f1a2cda67d949af6d955c2bbd34c4b09b0e8e1cc1c1909daca6b0006d706380806d209ba8baa4422b8edb107355778 +DIST genpatches-3.10-89.base.tar.xz 1229720 SHA256 86adf7b1a4d27a1770180410652b52d91366cbd80819b6b99794c606725b4f41 SHA512 fbb93ff58f24598db3d48125ea38b85712090b517ac7a4258d252812256cf25388bb27a18e9dd7737a61fd969609a744f6749b134035b4899c27c76af9b6d80e WHIRLPOOL 2781580b3042563b5d4958d8048796d7bce09f541d33d4f284147df0504b53e9a7c1ad71ec7c93ce06efcb3b486832d0f1c98b7444b0c6f063f077f9748c603d +DIST genpatches-3.10-89.experimental.tar.xz 60188 SHA256 9cbcb6187fbad49c04ca926394bc725440fb6948763f5a745c7e42a947354ceb SHA512 3afc230b86653e84803cef9bb24ee2ad0d0763e42feb2fd4886810858661c6ab82110beb200370b05991fe3a630db5fcf72ae997c355db89416848b4cc9e25ec WHIRLPOOL aaa0cb729f93cced59daaa4f01e8e024189db933e78ba4d9745866f2290d9a8202d500e260c0837c5b85054173d3c03e4fbc5ea388df8ccc6030eb328abc8ff8 +DIST genpatches-3.10-89.extras.tar.xz 17832 SHA256 4f55ddccc80d9c849165929d726cd24759601db9f5c39de5f2f34413ce1f10fc SHA512 4de9603d0099e8f001721dcbf2e135e6153dba535cc1a949d7a3992d976fd6119f35c8bb026413e25f9aaa59e329e6abbaa269fb5c0278d502e37b7751b08086 WHIRLPOOL 4d33ab1225144f45c0072fc8d9a1832772ebe0b5413acc0f0827ab130148619f146fb3ef2f58ea8735ef749510d5b8408181d1a163929d4c1d6444309767b0a6 +DIST genpatches-3.10-90.base.tar.xz 1252100 SHA256 28f28a17fb30b72970167576d9572a4f34ca7a93a7c658c77df8e0669a26fd92 SHA512 8395978017750ee15b32307465617e7c85ff93799508d887b224805ac04ac406b1256cbbccab608c7f6ff477f45b7eb7a5518bc8375533ae2c64712e7fb31588 WHIRLPOOL 3b4ad912f1525506055ce1b132fd79269cef83c8586026d5fe176172da540627f8237aa882259b5d7417cee12e78183d998bfa691e4c5fe70428facc5f76f6bf +DIST genpatches-3.10-90.experimental.tar.xz 60184 SHA256 8028875798adecee5c5419ae58fef9f2c222c42b63b1bbb884a69a38b7e00a59 SHA512 1727952b1c8c9e94bc84c1d4d02f3946a8aa99498016f3258399cb08f22fd0f69245240c2252934377de30c87f755df3af19b46e9500f6b0532bc1f64be44bfa WHIRLPOOL c3e539d142cf6559ffd2aec7b9ad87bf874f5936395d5895293065d0ed63176daeacf592d1e1820e6a2f5a09c8a00d04c88026bbdf11e01c8dce7d2e3455b2d9 +DIST genpatches-3.10-90.extras.tar.xz 17836 SHA256 c0530ffe58e5b4f654224b09cde9af2b8aaa1d1644f18355c3c855b16847f2bd SHA512 709263ecc2be794c7c2e6f314625d9cf4920e6b52348160191f2589bead14a28ac8c1ec812a1fd21d86fa77acde037e9be42b49c4833e04590efa6c634ce404c WHIRLPOOL 0b3a830a1e304c39bafd28c25569051d8c3eaf79c0717aed2c4b824ab8a6a7faa284c464ee7b590ff25fb1df2f7571eea7e858827fc4cf85dda0c2216a345a23 +DIST genpatches-3.12-43.base.tar.xz 1364580 SHA256 2d83b0b0ed5946542676467d99d9d0f0879c8da9ab16a9b602548bc3fa9b5fbd SHA512 40d77097db66868b0281c556e25edf24924a8ea4dc6b0a297f38730f41e55a9b4937bc68c614d2279875e78bff0c9dff2a6c4192fc2a847ac3b1d3927af25acc WHIRLPOOL 34ef24dca012870ff9129113147457fdbb5009bccc2ea4dbb0f601bb88b36fbf037c2d12c646c3ac38e7413278e1ae316bc2a1fdbbecdbc8255bb32a8dac3ed2 +DIST genpatches-3.12-43.experimental.tar.xz 46536 SHA256 a66c108185ec4524e212f273c01b1d3dc84da9e15e08f570be0da899067ce567 SHA512 1d739c625e13b1c48554746572d0e2f2bb141a2d9742a683ff342a770792fbd8a1764d322c987a8a0f091c5a0834f7f980f4e2676b34bff05bd2b7a2ddf36373 WHIRLPOOL 3e9601ef0e9903fff4b363564f8e300becc78f82337ed84effa806dd1067de3359ba21596af782d2292e5979445e74a885c456df61306ed2cc8da008008a3be1 +DIST genpatches-3.12-43.extras.tar.xz 18236 SHA256 928d2d472b3fcedc711b2134de4294a9a8906eff3344baa26bc9ef276067a180 SHA512 6096d64e1d8f88fd4570c50d7f04265173dc136feab79477549d1ccea6d99226c756e195a2a1fd5cd245888566ef8b005f3fd40e83076e0c83b1b8d5edba8b26 WHIRLPOOL aa44f5b80524a6dce660f0d13513d0d01dcb0a23f3c0e9cd6d110c989aa0e7cfaf77d02d1034838bf02b666d7b608a54fee956141d7b2527590381d0ac40dc25 +DIST genpatches-3.14-54.base.tar.xz 1000384 SHA256 31496c9d1175b58ddea2e7e832cc0a1d6485754b0876bf10395de151b113bc26 SHA512 8c41346830512bedf1efa20914aa4c0a5895a78a8442e7f6749845986518a01bf0ef4d8759887b8368735c7c3cf5537717bd31ea9b2bd02c30204358a2e1adfa WHIRLPOOL 7aac6195994ca15659a7c8d73ae23fdcc0391f1a0260f795ec7c10833ef3dba90caf7fe1a8b1debcf314739515d180635e3a37721943083181a4784a8f38a30b +DIST genpatches-3.14-54.experimental.tar.xz 60308 SHA256 d65996f339e190d74e5ec1279b7e7e50712a75c36a83d71fa030c6a91cf402d9 SHA512 a51652a814070674c106bbff39acf2a65b6f011b676a7963138ea9279fb0dfc35842efea5fbf5d02e57db53a20535edf62afdb433a31282226b3fcfb10d525f3 WHIRLPOOL a6696e0271df7ae8c4c16c1fb9450b8e3383c330967ba131e988569d67481c1d7a124094573e1522a01df8bcae0453f1a722456c637efe0531fd96b0b34e97df +DIST genpatches-3.14-54.extras.tar.xz 18268 SHA256 082caa7769237e2105c3aedcc3be569809cdaa3dfa7a99107aaddc7f5830d5ef SHA512 8b238352a15587c7ce44ae90311b5cb7e49e05abfda5af2a777757306464316527527c2f47d81f4689acc9998d3059a3e7854b38b9ce2929de2383cdfd321d65 WHIRLPOOL d7c633218de7299be91eb3c01f5e3c5a00d348dc00612de52381ae3c4385717d9424670e8e2e0c2de94b032c50af732371f090c7189915877d6e7ef0e6896945 +DIST genpatches-3.14-55.base.tar.xz 1028172 SHA256 6ed652d3632d47984ce03737149328610e71d2c49d574e819b687560d2e5a9b4 SHA512 d94de7be2bf52f7b3a0b2dd3fff581ff967baf7acdc578015dbd4343bb458be59799a470ee4da02db5110f19fcded034dc6c3be263d23f4f8c0cb4a17419c8d0 WHIRLPOOL 19d8ff2a552ba3a93b1de1db79d0dfae52b1f5943c84d11074ffaa3d3a1a1bfd6559ccd59ee30af241b4d376cc1c0fd0d9e8e81716da72a8f65938b85d1b3b16 +DIST genpatches-3.14-55.experimental.tar.xz 60276 SHA256 77be199419c55cc9c84d1380b7d7c8e4794b45cedd0748dfc8bc955bf9c231de SHA512 5440fba7d71def1adaa4ace15932734b2eea968d2480a445ef26c869959845244438c777e0120d8a7c223d10a6e5982a9f5fd88cae100b2bf841fca604229695 WHIRLPOOL 13d8f1c4b40d25dcfcc589149aeeb70bc0fcdd4eb8eb46553f63e4c6bc9ea2d556934245da93f810418cd3f613c132a0cd70c92244f763d97213f6b72d4527c6 +DIST genpatches-3.14-55.extras.tar.xz 18264 SHA256 3b5dc73e360e5e3e289baecc74a43ac467519a24af09994151d41e1902247afb SHA512 0d91e6f66015d66b9b288360368e6049b6157288de065e074d67721fd7a0fdd969945fee2bc99ef91eaf30654f3a8e39dab77b347d30fa34b75ea9b92fb027e8 WHIRLPOOL f333a37a9b4c7266f01473a9e30a0098e4bc542ebff21fa2a825deca892d702f35e13dce8de659110ae66b6f43c25ee06a6478520e38b525fbeeb5996ab9faec +DIST genpatches-3.18-17.base.tar.xz 489076 SHA256 46ec429229380585e73dfde06e11868d5f3b2212720c0ab57f6023eff0a2e4ba SHA512 af269677d88a2e3a1feb66c26c5a12d967f41606e486903858f982d1cbfbb57a54c26585b6765592337fdb424aa13b714b1bbeec1520e263d64518be3d766476 WHIRLPOOL 74ed70843cb81b493fa86fe334430a7d43d88df3c5c58075a33cea762f8126dece50338ceca9114843c6703836cfd85a7ff2e000e75d2e4fe227010041563bfd +DIST genpatches-3.18-17.experimental.tar.xz 61604 SHA256 efd6d02daf759fb77ebd7f6654ba933bce007abc414ed67f3667115dd6c15bd9 SHA512 95abf4e05ec31944a2ff520cfce68753656c966e575b5e23823753bb25da5f1c7f169d908f58df81db7dd75f9dbf1b1060dfb9c6349eabb2d1273086fbb09912 WHIRLPOOL b89d32886fccd7c5be7f65df647f75918e8f0aa3eddd4baccb6b06da5fedb00c04516a600bf48530ee4821dee416580b695bea677607b7ce905156ac0300134f +DIST genpatches-3.18-17.extras.tar.xz 16184 SHA256 cadde114f6229bbb92092ae76a0dbba11b4c4841bd0daa8f8520e6e64308254f SHA512 8637aaad4c901937cea64317a85416e328fae1802ddb51b638d68f9a1746b5ad136d6b398105056c047c5d9d5437f5f3ab763a8be3581625e5bc4be16a84a0b5 WHIRLPOOL 2b340ace5325ddbf4149337c8cb1d387c846de061c18269fc1ed207c138e2c4ceaf6cac85a4d969ac0f5433993f7617386494ae4a7bd2281d92ec5852a91f04d +DIST genpatches-3.18-18.base.tar.xz 578860 SHA256 49e03e36c5f4fa9d0b98f74c225d6739a331d124d99ef0162abd6403d8b0235f SHA512 ba788c6264537cd121e8dfdf7d2c9997286f096734fa0971e5b9a93af75f7584ba766f848308964034d830cc5fc7726f0e02ccbfb9234c671f305e1983253087 WHIRLPOOL fc2419b6f42d03c7de4311b468fac523805360b7328494ee302ada0f9aad8ecddc74960db3c608671a6666e4b292f3f991fdd29ec6f30fd13dfac7174714839c +DIST genpatches-3.18-18.experimental.tar.xz 61636 SHA256 507064665e98b77d0350b1787ae13f7120ae74f31c499f023140ebaf6b0c67d1 SHA512 460bcd57c9a87b9eeed2bdf2488d3d9173b08d9f016d6bd298bf321775724581b520e0e14d42fb1d8da302c4b987f5ff2c15f8d5cfee7ffe93946b42fbf6a3f4 WHIRLPOOL 6cf7bb28aeee276be6991b9add56f19f9e4448e575bca663a17051d16e0db5abb78eb0963638977c6f89c639507e1ad8526db514d5c68883997303710d78dce0 +DIST genpatches-3.18-18.extras.tar.xz 16188 SHA256 7467a3104b0864b5e2ca01c3ed691ff001d3e29bc6f7e9dac32ff80edd6be7f7 SHA512 0ac07dc12cf89309c450b446f5db224134a8f69a1c21d17e7e178606084f603e3c719d4487573a7f9b8cc960a1d19bed9661bc288538f87cf349d794f4effd12 WHIRLPOOL eb23a89af6adc3885ed856ad1649338839fcecb2092c4aff0fa6b0643bc9baca0c664c4a02009d3e79db44f51a88a7d76ec464b3b752a4eebe061ef3a1bbef3f +DIST genpatches-3.18-19.base.tar.xz 591336 SHA256 346d9ce9b825e024cb448c768b9e994ef27a4693cd7eb596295f1419dd3cbca9 SHA512 5d8c4550dc8afc0687d309f586200e908d2e71ce0ec6dfc86bbe26b3437e46927a6041278b97ed2087d8aafefddbb5d6162d9e22fa566c7f9eb1e57017dad6d4 WHIRLPOOL d9f29c9dc5b3995ff59b7e4f93617ad360ecb32c6fe6702daa4826277e98ef35ca3a1fd9817cf011ba43eedc14a54ebed6134f348245fceb56298baee6b73ece +DIST genpatches-3.18-19.experimental.tar.xz 61628 SHA256 7a34377e5c43214cc03c00e983a1996e955b3fdfc53be01ac1f84b9578c25287 SHA512 4ac764f6b11985fd63a4b392791e1a4467867ffe00f464115e8982a199cafc6a45489c704aee2a1ef9afefab93a1b110f8ccec597e6b4bf61e61f5b996d5fd36 WHIRLPOOL f2cbcf0efbe7929b0c1360b53c15bd9d6502916d664eec23aeda56e5c626d49fc2caa833e793a5a4ffed20591ff48e944ecff11c997fb5ef4aaaec066e745236 +DIST genpatches-3.18-19.extras.tar.xz 16176 SHA256 b1a797dba4a735d95a635bfd40b03e2cb83e0fedb0d50735a3eaa2cfe7898c68 SHA512 d77e4f337621b8e424f93e4433628f065895e8568f87daee82a46dfba12f7547d50edf71ece0dd9bc6356dfb9af356fc334111923c29aa61218ecf797b5bff2c WHIRLPOOL ab37e325b7be6a5a1dd9f959f9db3f46cfee3d903721c1ee1c896f66495d46ec908367cecac13a279756ab528c7f3788c90689ba717122874b430f7ec445b0fc +DIST genpatches-3.19-9.base.tar.xz 257836 SHA256 94ca8760c25b14e705dbdc4584c78b4ba71655bcb3529c9fed3a24c41e144231 SHA512 118bd7d89bd7652ae44cd01042f865a846668ac2976f2344e9f72d6dadb4c3fdfda738e7a971656519831cbfdb6cc07a8c9b4513c88be707c3eb707d6e75a8f8 WHIRLPOOL 38df4344680cb3d38c384ac6a7ec2dfaf591cccca3795a1a1150cbf410ec4e4e8affa816c5dc3448b0310dd2b9c12e220aa6b85820fd9c68c8441ad6c2846e73 +DIST genpatches-3.19-9.experimental.tar.xz 61632 SHA256 c1668cb0ebe2c04a5f9d837cd0b42378ec9c1c53cacc4b02272462bd9e773c88 SHA512 86738abd9ce9eb007c96388a18710d8005760f5f2c36d12388af6d88cea2b60f81c2debe8d3e0af8f4ac83619a4797aa5a77b73c83adca1cbc6f397005c66561 WHIRLPOOL 8c8c5931b69a99106f38309df1367db16f6935357db1ed48a2fbeff5c266ac4801803485446d5a8a292c1c29d851c1b32dcc8ce161c6646227b9f1e75ae7621b +DIST genpatches-3.19-9.extras.tar.xz 16280 SHA256 f0b77c7754741f000933a1450c39027c509ca66b44e78add44b100b02e415e5c SHA512 764e704d43573b80604f090b35b4c5913cc8d8abcb8f94590621df879668fdd0607db1a711a6fb24dd7b2ad709dff1110381e4b8072ad435ef7356639d8baacf WHIRLPOOL 6e8243526c27642cade7d1e9b36c6453c7a5ea63e99abae77ebd866365543930d1ee685b7a447f38e40bc8cfcbe84b01cbc8f5a6e443fe732b8e14ff3487a45d +DIST genpatches-3.4-89.base.tar.xz 1274612 SHA256 67f1fc28b1a48e201d011f543aa8cbb2cbf596557cde7e66e68c40310639d327 SHA512 2e3ff2b26a0a4f7bbabda2b1845660ccfaead481c408af461b3bd8965a9657b99a5aac80fd8735d6eb6b1e0e9e5699bb5f9cb9c45d6845b37abfd17c546ca4bf WHIRLPOOL 78af99b652223aca35ac94e6e9d7d696b17cfd5690183deb9e0eda831925866145ec8ddf6e5e9e9f6e39a215af0e3b25c2165878557737997816106ad6b69eb5 +DIST genpatches-3.4-89.extras.tar.xz 18240 SHA256 c93ee7aa7b095db85cb12f990a2d344e87f4caaee64cdd8e85336c483459b69d SHA512 936c2baf1b5015913a1dc2f43353cd8286a5749f5deb382c0cf569d9ca302b9f85c6ba678d77156c5d54c87ba2f3147751fe4622fd6738b2d1b55b0f44c09c34 WHIRLPOOL 7a8d218525509e1a1eddba81341cb20ac06a4b4120d2e43a92d0855584e38eb39ce497538931d4972e2406bd48ce77f2613aea3a407b0f884936fa9ff22fa6fc +DIST genpatches-3.4-90.base.tar.xz 1325696 SHA256 77764d0afc0e3a9db3b4e3314c86505ed8703834f8364fabf7bc21004d14425b SHA512 df2583e5a939a2ae9a2fade243b128ad3b1d4f7370407bca15ad1dca2defde271ede16daa8c01f844053af5da7a5cfbb7ea04839fe93a4a21fe87d1d8551374f WHIRLPOOL 17050e7e73b15106fb1831290a685810e65e41a345669e401ab324a3fa27576d02cb17e22b3f8c36961b501b31254cef82d849cac005504b8feb5b4113d9cbc3 +DIST genpatches-3.4-90.extras.tar.xz 18236 SHA256 787d5a43bbadfcb40ac5f7aed21aca6bba239bcf495b0d051380f675487ecb42 SHA512 9917f83e64c0705e0c810723ada2f14109d29cee03576027fb234229796c024d8092abbb91406e2ff9594e9e1840f718885e9e0ff294cdb2bfb0ef76fbcfde0d WHIRLPOOL 255b4f46bd3f0685f6903eb04be187dfa3f821318c7bb8ae48fb17c35eabd88d0f14684f6031326cea4935246acd0766abe6e7363f1a527af686c7fa965cf9d3 +DIST genpatches-4.0-10.base.tar.xz 209652 SHA256 1d9c9feae61a3bbd90d63cf953a8411a4c35e2560ca92bbdee5b3dd4635060c7 SHA512 a34fe7548539b7bd6f1026eb2367bb036d78259e527e563226e26b2a6f6ba0aad411468f3d24841994c9da7533b0c4f22d2baf518b7004ba9acfe483ec2a2920 WHIRLPOOL 502a317becea20edc3d51e7245796a128ada53edf358dc8f87fe5bfaa7625a40d71b7956bba78858d39f23527a901d6edab4c4d0764720daac7626ce124a3a89 +DIST genpatches-4.0-10.experimental.tar.xz 61632 SHA256 0e9d5c62df37f550e91f32ffbb8e93ff2c2f3d6888976afd363376b8c92a8020 SHA512 dfa015b0c8e9ca83bbee9bfb55b5a6c4a37ec645bc59839b0aa579188ebce6b6802e664f3d52eecd7502ecfb20f937e5e1bedbc798c8664a883134829b5bc306 WHIRLPOOL b9e2fe048bb1aeb05201e59050e681b35bde0e92f3930b3593e9238374a9acf7c3166d76f36ec3a7df97adf9a2fb9b1880e0609ef6fa169721e9b023f3ed0a6a +DIST genpatches-4.0-10.extras.tar.xz 16276 SHA256 3cd10f8704486514409b5558741b4ae12cb9254d393fb7e8cef926187aaca288 SHA512 97f4013be453b20006f5073e30e1fd1abc3d3604cce01c5ac1d3ec2875bc17ecfb98b8427a1a398e497e66d146e442ad3d9a8d9cc700ae54ba9e483695b40d59 WHIRLPOOL 7416eb22023935e1f0d28414378201917cbceb2511a422254e5216b3391bb7152e9904b44ef0ebae223e80da4caf351fd6ef3cb1144199ea8b64f58691dc820c +DIST genpatches-4.0-11.base.tar.xz 234968 SHA256 49cfd38bb97a92984c0d8b955c2f795701897544a4bfea4d2d2932543abca31a SHA512 059a049248c2eaaae4c4201235586306f846b12503fa1aa3bdea9ad31b4522f030beb057926cf79ffa9468e2940a68b6f6089511a60005dd339e4775c8a682cd WHIRLPOOL a5a31fa2a1db39fd01ed72e9917481a7c4f406c8168a2dac078df5a46c41d0be69df6ef532aae0f06fbf81a5a5e2262a9ba4785bdb13c48b21e338347d6be1ee +DIST genpatches-4.0-11.experimental.tar.xz 61632 SHA256 cedb08c7d68cf62038aa6f8db3999a7d6daf434a08d0c811308affd5d18667d4 SHA512 cfe5281678acc938ba0c906ef58a654889a71da5238fbff13e5e78f328dc07485345deea6080abf1380a8a3ec5314691b8f5a35ae0cf627e6ebb38ba66860e38 WHIRLPOOL 5bfd4de5098fe5cd05bc7184a5797f9b310a848b2d96e04b83986f45d3961abaf6cfb76b801b9031c0b46c2c072578b59b98781c8c432b7ec0989449f8098a04 +DIST genpatches-4.0-11.extras.tar.xz 16288 SHA256 84b7509ecc82f7ff1b90959b88e9e0ad77544610d5a95aacfb88b7200b9aced1 SHA512 95354b1a2dce8d93a50cc1e1e79ea807134eb050c7a76921ada26f5bfa210963a16c9af7bda0b75894201a1e82929859f6dfa5c23cf63fe4586e4264eef85c7f WHIRLPOOL 4ebc929d8e39c0967b99d558f68e5454e6ffc771273b7e9637d8d0ba477c67ee490e0a443a8aa4fdcc74f3aab59cf8e9c159f2a3b152b33fb9a8f395a67b0085 +DIST genpatches-4.0-6.base.tar.xz 118672 SHA256 228c38e1e691fc3b3862a5de627c71ba9bcf1aafd10317a9ece83a13e041ed24 SHA512 02c3cbe7982173121f03ca9424e5fa04b27f985c2f81b7469559eda4d8824e4bb348a0b9b341a9e34c7803ea341161ff306aee5d6cb73617e01fe7aad327e05f WHIRLPOOL 685c62001c6e29efbf800471ed95f8413368c6dc194689c04dea44c5b9148e09d3d79e026f91a2054a84a991bd741dc8de08838c3cd9b9c94fb8dc981db9e953 +DIST genpatches-4.0-6.experimental.tar.xz 61620 SHA256 ea7359c8a3e4e8c53ccfa0573158f080e4ed2a458f6de654097cf21134c0910d SHA512 69b0f51e43c2a5712fd8eff3f8292fe31109e33a24b51bb0e637d15bbf2329767896d6c56f3f178ad6e9d1f69ebe6875108941f18a4a10747405be385e47ce86 WHIRLPOOL 657758e5a8b7a9c764f1d8a875be71ee079907aa6ab79c90ae2632c4ab8445a86ad97cb3ef70e424a6bd62d4c937de577cf44a10aeea4a41d8dd6d1bcf803952 +DIST genpatches-4.0-6.extras.tar.xz 16280 SHA256 205c87c3d133a57d6ca42e2ce107cf64cbedd64fd356c601ca0af29248af5c1e SHA512 61cea7f5a8919418bbea96599f7decf804d97d9e6b8729e7e5dc4f077d54c86db7b0087f70b87183420798f16c1036242f1b857ff2598edf0902ff4fa6bd2890 WHIRLPOOL fde8c4c909a26d7bf2d00e35d1ee45e03c4710871f0a2cffdfbcd1109aac0b4f3215bf0ef5dc6562e9fb9d7447c1330f91a08ffa78912b3857cd3ddab5d10a3b +DIST genpatches-4.0-7.base.tar.xz 159536 SHA256 9d1e84cb5133489f76aa3ee4ffdc6a28331bed0c6557e383bdf288ec9461ff3c SHA512 49f29bc5b8d0953431dbd1c2c0b5fa0ae0eaad6ed744cddc5e8eeb3a6dc7aeb2231d9f491149fd0e9a4a9c10bfd336746a0b544b96d9212bc401091ee586eb46 WHIRLPOOL 355dfcdf5eb508cd840e506b32f3a9a39ef885bfc605b271574cc906492ad7a82c3f3511bbc519a912c56ad2cd0ab11d51a45602f20b03bc6441a11adc53d9d1 +DIST genpatches-4.0-7.experimental.tar.xz 61636 SHA256 419952353e98ed36dcdb9a45fe73b52449ec6b6d969dbf228f4dfc2da880f261 SHA512 1dcb8ede976b65304f3550aa55fb5cd0881861bc3507658f3e1927754ec37956e656ff053d546e5edd4f4ba63fbeca50f4a5c766229d5d05e5a69a4f2002f8b4 WHIRLPOOL 881f738f577ac15b977e3d3fa7e2abae427df196a0b33e96bb457ba36118e912e84bb8e36ee0baa67ab92ccfbffdcc2265cbae3034d618e25ab9b25db0791388 +DIST genpatches-4.0-7.extras.tar.xz 16276 SHA256 911ccb197f2c9514d8b4eacbdb7c059d709f64cb97632eae85cda99d61596ba4 SHA512 ce94b88735fde37b1337f111c91da0610b14b22ce5ac68bb082170acf23b8875cc1d2e7bc8354959a91bcbf10dee9fdd81d0cd173e21e8bd8d6f2ba157a737d9 WHIRLPOOL b8d32b09e5b9ec7af8307398fef31f5569c738dfdfc1832060e998f9fb5baa31cbb84eadab28b82d50fb7e6acbb381c55271128de4c5bc14febbb7dc4b1d1534 +DIST genpatches-4.0-8.base.tar.xz 187784 SHA256 31988af608f3c3e2a6a676b8df416debbc6cbfba3fa0b0bab004de4c7acf5b79 SHA512 cbb54c89994d0cb34fd7c823572b3daec84295aece8af8119f260390ea70266ee7e4d9be700de63f6f9f9c1cdfc2e9e77bcac1862a6dd7b10162344870f59c3a WHIRLPOOL 702fa7f2a70f8b88f0645f1725f32ec98baf5a3abb4b07e4c407038ce50bd03967bf687d298e81482c83f5391197de03fcff414d8caf92cf1134e59d07436928 +DIST genpatches-4.0-8.experimental.tar.xz 61648 SHA256 37cadee8326e5da2ca8fc657de74c586a1ffea224d5f30ee0d05b35d26404505 SHA512 672b3c9f1e05ae0c2cc075eef3c47b8c7982774c0a24807509f8232eaf60b794ea37041f8c4293cd5c4e92fa956dc65b7916ab0df1abf906ac4273e0df617159 WHIRLPOOL 1e24cf7b34e22f85e77aaefacfaea35bc0b2cf55f98b75ce24c4e6649e11b2dd8e7d0de5c794675e11f17886a7e762bb97c1a824d0d07db14e51b23e7d69d4fa +DIST genpatches-4.0-8.extras.tar.xz 16280 SHA256 ea2a886f46e800b321b14168bb1b28be6fadeed8b7e7ba0f3d03d8604554814a SHA512 ab4b9c98bf65859a2e6036cd63e6373dfdbc2ad4a4360117de58be70df94342792b56673056dc8c04c07ed744c641e233df771680ea7257dd6486bd5d9e84e71 WHIRLPOOL d684bf7de81357b2a1ac5632d166319d69946e6da2556b62cd5576c10a700dc65856eb69d3acd50265bb292f9440d5fd3b93ca588c301613e4c49a1b4cbdbdd3 +DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1 +DIST genpatches-4.0-9.experimental.tar.xz 61640 SHA256 94b3548a1154fff360c04b72e10cdd065dcba8531624b8edc3b0cbb918d22a7d SHA512 03ca661197a858e7a99419dddcab4ec1d9680652273df608d21d1df21a90dc7a59f6512a18c445e4b04fc531414bf29ed37f8f9973c3936688f8182492b4fff8 WHIRLPOOL e3018f7b855647bd6233761f9f10d9d69c0bbd138555eaa755b9964af0a1271caf64b025269d919e68f18c57fe86125a3b071c9ea1d046742fbd2cda83934401 +DIST genpatches-4.0-9.extras.tar.xz 16284 SHA256 18f2b5d62d0c9295ea28db9d589fef5f06afea2c2105f085ecf4082dd5e899d2 SHA512 69199530ddd179efa47e38cf32e39bac1819d788dc628bbc3b6cf2dd4d7149b33c0de06b304aaecb7fd92ed68f631c9638d55282174f1d1c51b8edb4dcfff336 WHIRLPOOL ac598ab6c14df8ca4a6b793abb41cddb27f6719ef5dcc4f5c7cf91b9dedabe2b2c8a19107340d1e55b3a05da2d59a99192ed81b9c666e46dbe62f7e2ebb1338d +DIST genpatches-4.1-1.base.tar.xz 4068 SHA256 4c47329cb177183a87430775a57ca9069beb05581c56546c508aa3c14d137727 SHA512 e431366509b81fabe746acaa3b7deb34d0612a318a0c83fd070b5ed9a0619648b2965b99901d21ec7ba053b8376354327b0f0d02d8ae346996ddf29466c168eb WHIRLPOOL 2049e567f8409d9213e9de78d3e8c0dd62c1f11691c99fd82d494bec22dc8d85f357b9d789885d8bda178ed844ac25a255148d86fe1827ed81542bc0f8754074 +DIST genpatches-4.1-1.experimental.tar.xz 4908 SHA256 86eb0ef2e651afe7d223e28f667fe1b297ef958d4bc29d0ef5cb48be32d6b9a3 SHA512 3d02fb02a50ab5f1a339bafcf3dec03ef91e6122b72169ea17a6c3225b486e4789ef35c4828fc8f65d06ae25b6899f3e4d107f9356e5844b2933f49dfe0f74c7 WHIRLPOOL 96dbe7bedd49e7fc27bb6a6048f7bffc91c9fed9c278c3db8556af974c1d090d116833007b7d6a6b7e5cc56c280bfdd03d15a1515d7e3fb123bbe85ed0323e99 +DIST genpatches-4.1-1.extras.tar.xz 16172 SHA256 7be8e1ef45089a572112cb9a1d15afea8dd0d7e75b231d9af7499533f9410bd1 SHA512 f9f3ccd746e321fa2da75b15caf0ef67e8485835503ffaa82d68f85cc7bf931ccb8420695cdb73b0831451a4c550430b73c1d0ee1dab16eea32ba038c09e452e WHIRLPOOL 123f9960272e963cce8baea04233943012c408e3ac3b915605bffa5bf3f4c833c9854020c84c60bed50a4867ea72cafdc58cd13bac3af86e0ef51d0581fdf90f +DIST genpatches-4.1-3.base.tar.xz 4096 SHA256 d7dfb397945d8f0b505b0759dc7db39784568f8eabdd56549070569ec34c31a9 SHA512 6b7954af6dbc38a7655ea9f50f72f4024c634b8d0df88e780ec8079058ca5b7450dde66fe7ba6ebdbd22859f22647d47fa2033d4adc9ff65d598addfa36e6a7f WHIRLPOOL 73c781f414141d772d1e6bae52d213bff60971f0e7e9f6b931776ec63eeb68bffd812ac87018bb6f3bb9c9ec3c92b8ffae67141c146c05b391a967d587f3b7fa +DIST genpatches-4.1-3.experimental.tar.xz 157844 SHA256 03e93741fb653f28ca103c058f807e8f0f8bbfef8796863685c47af104e72e01 SHA512 c6cc02058130b911277333ac5d06e1e3ad5e8e22d51d1ab7eade7871599736fecdc7888d5b6e5932bc07ff6f841bd5a62d1ebc4641ad558f877644a07f070689 WHIRLPOOL 58a119f070f595b457f87c88bb5e15adfcc499c0dc8027506fbdea9c07981dc8553f7ec372500574c87331be50fa230d89ad4f82a478be148bc873a844677cff +DIST genpatches-4.1-3.extras.tar.xz 16176 SHA256 f29b92fa9e7f3c3a1081b86227b9daec3d932610f2c6a4d8ecd8218dcda190d7 SHA512 b1e61b9fe7303752643cfed0717c74fe953855bf2f2d019ff95d83f08a5e4f9b00ce5a8cf72d48fa6716abcec3a8476b003cf6c6b25a04b6b47a8505faca182e WHIRLPOOL b3797a12878a55331740c55f483f6ec69e6180a52dc3dbc227b3c68bfefcbeccc702cbafce3d6e3b0ce09d82f43d91b4bdd0d8ae51f6edaefcc6dc1d6d21987b +DIST genpatches-4.1-5.base.tar.xz 7600 SHA256 4b28f6d9f2a053cd8546f690323ccc3ac830ce46fa2885b2ae470f9318193388 SHA512 bd5f27028272b14620db931f8dadbcb852e06a03461596e73be6e5cb7a70bcc35f5ba146caa2b7feeb9c83bd74a58e47b049a83bf647a4a7cdc076206873a6c0 WHIRLPOOL 17416698c28502ac45815878a3c6d9e3c0db668424881774eecb32d82514f549bf636ec853776f25db745f597abc4196863f2cfc53c64a482bdbe42fd5ab4f52 +DIST genpatches-4.1-5.experimental.tar.xz 157836 SHA256 3f0e2f62c5c158da10df687bfba04be802aea3cfc48f1e7e89fb68d1f16e1d0a SHA512 5684e6a38e78503b3332ea47e967933939a3388685fc4f87b849ac7f5ccdcabde4056a12c66b7a832528d20f095299ec724d73c7bbce445664e37b32c7588f2b WHIRLPOOL c085a0a80bdeb320bb9fcda35387eb2826b2f16faf7737099dad745712817293617aebc8fb9abe76044fc5c6037e055e51cc39b5ae18615707814fae5c45391e +DIST genpatches-4.1-5.extras.tar.xz 16180 SHA256 f5dd8764bccda72ab47e1a749d1f6e021b8b02fa7fb97b9c9ecc58595283c3eb SHA512 0268ab0dc0e881f062c1839ae11e12ffb5159fc08e0b7216ba77119f5a78fc191d01fd959b79966563fdc891298c4b2259b3dc2a0434edd81e2b0eca2e823e14 WHIRLPOOL 0f85949cc6684a882c2ee983924502c12ca0a24544bd0e4ccb1ebb5fe86445393139f320ac671fa0b23c988c449e0b5c27ff385d228ea7733b714e7d9cf48734 +DIST genpatches-4.1-6.base.tar.xz 27392 SHA256 0aa8e2699cdfc6848f71be79462522055ee725bc59899ec7aa27c2a952f3140f SHA512 1ce26a0ff4548cc5170e93b63472a553657ca7cecc3fcf86e247bcb107bc7493e77cf0497285fb9d03c900faa0fd83c9931a72e819811908294cf9a29cff0770 WHIRLPOOL 9c37aa46e069a86fa25d14e7cee867d504f9eb089bdc2ccdb1c4076adc06f1d954ba4bd5f535e476a6876866d421a82bfcd1dd30bd921d60e2fcf73245ad25b7 +DIST genpatches-4.1-6.experimental.tar.xz 157852 SHA256 17c0f509fc7eb8c716cb21e41bf520271425af0bd5648137bcbd57e27ad6aa0b SHA512 e1ccc0fbb538daa3ab8e48eddbe53d7dc7aa2d274dc76f07661c473a1d9fab90cbe1a9fae1d5cc026521c50d35b5fde144e0902edecba0a5d9c3365378a13404 WHIRLPOOL 2df0834d8fb9c7bcaa6f329df5f65b4869a1a5be9de76bd1ecaeed3fc74b473cd6f6a397310d7eb0cd9cdd01cb071e1a5934624ba17888ddfe0f8555d80ad5a8 +DIST genpatches-4.1-6.extras.tar.xz 16184 SHA256 6f3fe173cdabe9424fbbba358d45946894548b3d6dbaa09aa1643090b80a6833 SHA512 79cea07c2a457f275caa1aea8d10ac8a20341359a29e20f1ab2fbf625b6d8ebe6adf44fa9968241ade279e943e21f08a9c9c18b0d4242181a42c75184d37e197 WHIRLPOOL 731aebecdb223e423d7d6e70020786881d12a20ff0bf399c96496b4db91ebb587788cddb9a0f1b91a6d1c0ca32acca6128d3d32e696dbf505951e41923d1c138 +DIST genpatches-4.1-7.base.tar.xz 59032 SHA256 9106e15001e0c286ef929d5e4505507ccdefb0aecdd094b73d57d587070d3288 SHA512 da1e3ef03874ab0fd3af811d6b72e791117dd7490ecbd8698e24e98424175c0ad7228182976fdadbc62a3ef69bf721f82d99cc1760417c4ba3401844fe3c8db4 WHIRLPOOL d3d3623112f118f98db870f48bc3181d6f510fdb4d916a88a832065a2e0df99c1bc5e04db6f7dd09c505f0253b76037965bbaa27103263dd95a713d0428db5ba +DIST genpatches-4.1-7.experimental.tar.xz 214944 SHA256 1812d9b5cfa6a974cf36bb44a14bec26d021b29d386ce3139b50b99e3175143f SHA512 9704ae5529610afa2d6e62a123cba0a1891a18229a97ad5214449f23cf870e70932acd3a2ce32c5a30bd2cf89a64a012b23ee2591b699120cbffba3cb1cb0509 WHIRLPOOL cad56926d233a7b75dc4e915c1256a10864d356b6124b272f9af7eb59ae77871fd0c58ee810fdaf8d86820fdef1c0670ff7a463142cd7daa9fe9586983fc3fb9 +DIST genpatches-4.1-7.extras.tar.xz 16180 SHA256 39569583e833ff338b8126a52ae46a9a9b335d701006abbca7ed239bb84e7129 SHA512 4a5be5d19474a4679f83135ddfbb9af4b2c2c2d614ae95911c641c4d6fea8de9e25ebc1f4eefc2d9b1976c46b880e8717a0ca6987c64d2ccff969af5d6a84387 WHIRLPOOL 4509fef31139f79d7609e31d37b29f636471ba471c6ab47d6d4fcdd661b9a20d13e292b57a668b40a885a3aad4e2f831a1c3861aafbc3c85dd47f235b0ed09a6 +DIST genpatches-4.1-8.base.tar.xz 136372 SHA256 9be08b05eb8a10387d791d496ec5a4e7eb22c07dabb93bbba21f2aa11fb5be61 SHA512 67110c4191d8a40a435bd767a8024edac7bb00de507703a3faf5798d484f2d373aa1257bb23209f0151c394b08fb2577af5b8bd621a6654bfdbc247e4a083c58 WHIRLPOOL 26e727302e2c790805748e85610c5673e7b0c2869be9bf2938df07c18ed15c44ed278c285d073d71c69d83614bdee2c3058b82cb3720188ad91994fdde442820 +DIST genpatches-4.1-8.experimental.tar.xz 214924 SHA256 89ed455ba8d8aee207993b600b79b067d3fdf329b143ddbc00fe7b562bdf9893 SHA512 0722ea9d5219a06e6bee24a1be46fccf098367c2845e9c2196c29412fd64815db06f42ad724fd96bbd94527e84bb01929b744059add8b5fb555dcc87d2e8a593 WHIRLPOOL f4b3a57bdf713c4a5819276cc2a6f441741c91ae58aacf49076bfe889b617f67f158b5a61a27341318a02bb8de1b1959860433339d9a3a2337a62098a11e6261 +DIST genpatches-4.1-8.extras.tar.xz 16172 SHA256 8968ac71a0bf7c9d17600c5ac09d78216e14c54cfa9873aabce9c972747b3aa8 SHA512 654154fb0c7701083bcc530448cf1eb1a93bb0bfdc1f7816f40a5f8777b3e2209ed49f23954b095d99cd38cb83a676f0597cde13499b8ed7cce94eac464a7329 WHIRLPOOL c4d629ffb6211a71771ffa5165409bf29091e0c34e4350d6142617dc63f48c1d9d5bbc14b0b39d068d21ea1353f2b7496ae2b2d399734fd69d338f867876e695 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.10.82.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.10.82.ebuild new file mode 100644 index 000000000000..99355c9e4d7a --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.10.82.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="88" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.10.83.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.10.83.ebuild new file mode 100644 index 000000000000..6bfbeb199fb0 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.10.83.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="89" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.10.85.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.10.85.ebuild new file mode 100644 index 000000000000..0c480dd07150 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.10.85.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="90" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" + +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.12.44.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.12.44.ebuild new file mode 100644 index 000000000000..99e1cfce7fb9 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.12.44.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="43" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.12.9999.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.12.9999.ebuild new file mode 100644 index 000000000000..f7e04380875a --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.12.9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_DEBLOB_AVAILABLE="0" +inherit kernel-2 subversion git-r3 +detect_version +detect_arch + +KEYWORDS="" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz ${ARCH_URI}" +ESVN_REPO_URI="svn://anonsvn.gentoo.org/linux-patches/genpatches-2.6/trunk/${KV_MAJOR}.${KV_MINOR}" +EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git + https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git + http://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git" + +S="${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}.9999" + +UNIPATCH_DOCS="${UNIPATCH_DOCS} ../work/0000_README" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} + +src_unpack() { + unpack ${A} + + mv "${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}" "${S}" || die + cd "${S}" || die + + subversion_src_unpack + EGIT_CHECKOUT_DIR="${WORKDIR}/stable-queue" git-r3_src_unpack +} + +src_prepare() { + # First do previous versions, ... + for p in 1[0123]*.patch* ; do + UNIPATCH_LIST+=" ${p}" + done + unipatch "${UNIPATCH_LIST}" + + # ... then do the stable queue, as they are not ordered by name; we apply them one by one ... + local patch_dir="${WORKDIR}/stable-queue/queue-${KV_MAJOR}.${KV_MINOR}" + for p in $(cat ${patch_dir}/series | tr '\n' ' ') ; do + if [[ -f "${patch_dir}/${p}" ]] ; then + UNIPATCH_LIST="${patch_dir}/${p}" + unipatch "${UNIPATCH_LIST}" + fi + done + + # ... and finally do the rest of the genpatches. + UNIPATCH_LIST="" + for p in 1[4-9]*.patch* [2-4]*.patch* 50*.patch* ; do + if ! use experimental ; then + [[ ${p} == "50"*_*.patch* ]] && continue + fi + UNIPATCH_LIST+=" ${p}" + done + unipatch "${UNIPATCH_LIST}" + + rm *.patch* || die + mv 0000_README ../ || die +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.14.48.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.14.48.ebuild new file mode 100644 index 000000000000..00d3ab4331c4 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.14.48.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="54" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.14.49.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.14.49.ebuild new file mode 100644 index 000000000000..5d6792300210 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.14.49.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="55" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.18.16.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.18.16.ebuild new file mode 100644 index 000000000000..061bbd65f9c9 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.18.16.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="17" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="alpha amd64 arm ~arm64 -hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.18.18.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.18.18.ebuild new file mode 100644 index 000000000000..def58fd0de41 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.18.18.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="18" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.18.19.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.18.19.ebuild new file mode 100644 index 000000000000..88389cd6a582 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.18.19.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="19" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.19.8.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.19.8.ebuild new file mode 100644 index 000000000000..057f78bdbf9e --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.19.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="0" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.4.106.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.4.106.ebuild new file mode 100644 index 000000000000..c45bf962ec6f --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.4.106.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="89" +K_DEBLOB_AVAILABLE="0" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.4.107.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.4.107.ebuild new file mode 100644 index 000000000000..442078635990 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.4.107.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="90" +K_DEBLOB_AVAILABLE="0" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.4.9999.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.4.9999.ebuild new file mode 100644 index 000000000000..f7e04380875a --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-3.4.9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_DEBLOB_AVAILABLE="0" +inherit kernel-2 subversion git-r3 +detect_version +detect_arch + +KEYWORDS="" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz ${ARCH_URI}" +ESVN_REPO_URI="svn://anonsvn.gentoo.org/linux-patches/genpatches-2.6/trunk/${KV_MAJOR}.${KV_MINOR}" +EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git + https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git + http://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git" + +S="${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}.9999" + +UNIPATCH_DOCS="${UNIPATCH_DOCS} ../work/0000_README" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} + +src_unpack() { + unpack ${A} + + mv "${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}" "${S}" || die + cd "${S}" || die + + subversion_src_unpack + EGIT_CHECKOUT_DIR="${WORKDIR}/stable-queue" git-r3_src_unpack +} + +src_prepare() { + # First do previous versions, ... + for p in 1[0123]*.patch* ; do + UNIPATCH_LIST+=" ${p}" + done + unipatch "${UNIPATCH_LIST}" + + # ... then do the stable queue, as they are not ordered by name; we apply them one by one ... + local patch_dir="${WORKDIR}/stable-queue/queue-${KV_MAJOR}.${KV_MINOR}" + for p in $(cat ${patch_dir}/series | tr '\n' ' ') ; do + if [[ -f "${patch_dir}/${p}" ]] ; then + UNIPATCH_LIST="${patch_dir}/${p}" + unipatch "${UNIPATCH_LIST}" + fi + done + + # ... and finally do the rest of the genpatches. + UNIPATCH_LIST="" + for p in 1[4-9]*.patch* [2-4]*.patch* 50*.patch* ; do + if ! use experimental ; then + [[ ${p} == "50"*_*.patch* ]] && continue + fi + UNIPATCH_LIST+=" ${p}" + done + unipatch "${UNIPATCH_LIST}" + + rm *.patch* || die + mv 0000_README ../ || die +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.4.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.4.ebuild new file mode 100644 index 000000000000..657f31241899 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="6" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.5.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.5.ebuild new file mode 100644 index 000000000000..97ca8e3d06c7 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="alpha amd64 ~arm ~arm64 -hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.6.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.6.ebuild new file mode 100644 index 000000000000..1123f90c1c23 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="8" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.7.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.7.ebuild new file mode 100644 index 000000000000..b16d6dfd4435 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.8.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.8.ebuild new file mode 100644 index 000000000000..8225ad20e3eb --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="10" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.0.9.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.0.9.ebuild new file mode 100644 index 000000000000..fe4c3d63f9f1 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.0.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="11" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.0-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.0-r1.ebuild new file mode 100644 index 000000000000..de6af011d99c --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="3" +K_DEBLOB_AVAILABLE="1" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.0.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.0.ebuild new file mode 100644 index 000000000000..3582db2bc4ed --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="1" +K_DEBLOB_AVAILABLE="1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.1-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.1-r1.ebuild new file mode 100644 index 000000000000..de2a2688bc74 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="5" +K_DEBLOB_AVAILABLE="1" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.2.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.2.ebuild new file mode 100644 index 000000000000..0d87b50fb3fa --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="6" +K_DEBLOB_AVAILABLE="1" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.3.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.3.ebuild new file mode 100644 index 000000000000..4909b90a5089 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="deblob experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.4.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.4.ebuild new file mode 100644 index 000000000000..dcfb61f8cd44 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="8" +K_DEBLOB_AVAILABLE="0" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches" +IUSE="experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/metadata.xml b/sys-kernel/gentoo-sources/metadata.xml new file mode 100644 index 000000000000..c824b6bc9018 --- /dev/null +++ b/sys-kernel/gentoo-sources/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kernel</herd> +<use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + <flag name='experimental'>Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag> + <flag name='kdbus'>Apply the kdbus patch. This also requires the "experimental" use flag.</flag> +</use> +<upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-kernel/git-sources/Manifest b/sys-kernel/git-sources/Manifest new file mode 100644 index 000000000000..d6951744dac8 --- /dev/null +++ b/sys-kernel/git-sources/Manifest @@ -0,0 +1,5 @@ +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST patch-4.2-rc2.xz 7413044 SHA256 57be3181b43f2440fa223fc2651b933665b895b0ccaed65b43fed1fb1a7af7bc SHA512 6d7e276c469b5c4e7e4116879ca2fcbad53a00cb94416d1b1ec0f90e76b418cce71cf574db56ab4d787a367c457c5bc4cc3c41d5bdf6d822cf5ae18fcd6adab1 WHIRLPOOL e7f13df6879c65f72950a355593e5cfe3a3b12dd8ae7a5d8366c16b2d5b158f7747b1cff5b6212bd6a8d3df5657f0059c72e66c8d800d7e7a981c4ca7bc7cfbf +DIST patch-4.2-rc3.xz 7487512 SHA256 b9915aba62e3efd7500887c38c4fd69faccb9b64a0d5d3d128618b923846f08e SHA512 ef721717d028ddd0522b07920c130838da8de665adf0e2f4a55b663a671b4bfdaa4d22e36718e024cdee57b8b672ef75b7896a6d7c3a974a31e99c4ada64e594 WHIRLPOOL d268ff86a69a4f1da5e2b3f42437cfc66c72e5b197641a3a9687c70b98ea9a035fddcaa759823eb8c286a4f8dd06a357959c91857eb22325b97fbfdf58ba97dc +DIST patch-4.2-rc4.xz 7529356 SHA256 91ec7a4096cf6496b5ad5de01a06b6b14ffab616d4271b1301357927d06f9857 SHA512 6bad8b6349368c87d5c378df514fa4438c2691907a82f3fda770b85b1f2c6e5cf26e85718876ad56c2b69e1ebc9559bd80fb90875b4af4fe3382bf67500266a1 WHIRLPOOL 94094fb4ea61df0865c0eb5fd37092834c92acdffb72cf97143295ab9343e4f2eebeead92fbac00b0d6b2d31c90e951fc592987a902f97a52a8a959cfadcad9c +DIST patch-4.2-rc5.xz 7595648 SHA256 796a276b00301d74982bd519c959c845ed29a7c8594881a444e5d1e4cfc9f8a5 SHA512 9d8d9d6e1bc702dd0f328ae5db7af5ffdb027d63fcadf3d897dab9a5db89c055040f334b7734bde946f99273f4e7659eb40fd3d5f089936747e005a86b9fe931 WHIRLPOOL 03a4bce195fded7e5503aa8c139f8c1a270206e90a5561968cf90f78bec6d834548d8d6637a97e0c21272cc617b1465074c2ec007713a0827a04c1f6623e6959 diff --git a/sys-kernel/git-sources/git-sources-4.2_rc2.ebuild b/sys-kernel/git-sources/git-sources-4.2_rc2.ebuild new file mode 100644 index 000000000000..5355a7bc37e1 --- /dev/null +++ b/sys-kernel/git-sources/git-sources-4.2_rc2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +UNIPATCH_STRICTORDER="yes" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_NOUSEPR="yes" +K_SECURITY_UNSUPPORTED="yes" +K_BASE_VER="4.1" +ETYPE="sources" +CKV="${PVR/-r/-git}" + +# only use this if it's not an _rc/_pre release +[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}" +inherit kernel-2 +detect_version + +DESCRIPTION="The very latest -git version of the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and +experimental nature. If you have any issues, try a matching vanilla-sources +ebuild -- if the problem is not there, please contact the upstream kernel +developers at http://bugzilla.kernel.org and on the linux-kernel mailing list to +report the problem so it can be fixed in time for the next kernel release." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +pkg_postinst() { + postinst_sources +} diff --git a/sys-kernel/git-sources/git-sources-4.2_rc3.ebuild b/sys-kernel/git-sources/git-sources-4.2_rc3.ebuild new file mode 100644 index 000000000000..5355a7bc37e1 --- /dev/null +++ b/sys-kernel/git-sources/git-sources-4.2_rc3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +UNIPATCH_STRICTORDER="yes" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_NOUSEPR="yes" +K_SECURITY_UNSUPPORTED="yes" +K_BASE_VER="4.1" +ETYPE="sources" +CKV="${PVR/-r/-git}" + +# only use this if it's not an _rc/_pre release +[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}" +inherit kernel-2 +detect_version + +DESCRIPTION="The very latest -git version of the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and +experimental nature. If you have any issues, try a matching vanilla-sources +ebuild -- if the problem is not there, please contact the upstream kernel +developers at http://bugzilla.kernel.org and on the linux-kernel mailing list to +report the problem so it can be fixed in time for the next kernel release." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +pkg_postinst() { + postinst_sources +} diff --git a/sys-kernel/git-sources/git-sources-4.2_rc4.ebuild b/sys-kernel/git-sources/git-sources-4.2_rc4.ebuild new file mode 100644 index 000000000000..5355a7bc37e1 --- /dev/null +++ b/sys-kernel/git-sources/git-sources-4.2_rc4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +UNIPATCH_STRICTORDER="yes" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_NOUSEPR="yes" +K_SECURITY_UNSUPPORTED="yes" +K_BASE_VER="4.1" +ETYPE="sources" +CKV="${PVR/-r/-git}" + +# only use this if it's not an _rc/_pre release +[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}" +inherit kernel-2 +detect_version + +DESCRIPTION="The very latest -git version of the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and +experimental nature. If you have any issues, try a matching vanilla-sources +ebuild -- if the problem is not there, please contact the upstream kernel +developers at http://bugzilla.kernel.org and on the linux-kernel mailing list to +report the problem so it can be fixed in time for the next kernel release." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +pkg_postinst() { + postinst_sources +} diff --git a/sys-kernel/git-sources/git-sources-4.2_rc5.ebuild b/sys-kernel/git-sources/git-sources-4.2_rc5.ebuild new file mode 100644 index 000000000000..5355a7bc37e1 --- /dev/null +++ b/sys-kernel/git-sources/git-sources-4.2_rc5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +UNIPATCH_STRICTORDER="yes" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_NOUSEPR="yes" +K_SECURITY_UNSUPPORTED="yes" +K_BASE_VER="4.1" +ETYPE="sources" +CKV="${PVR/-r/-git}" + +# only use this if it's not an _rc/_pre release +[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}" +inherit kernel-2 +detect_version + +DESCRIPTION="The very latest -git version of the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and +experimental nature. If you have any issues, try a matching vanilla-sources +ebuild -- if the problem is not there, please contact the upstream kernel +developers at http://bugzilla.kernel.org and on the linux-kernel mailing list to +report the problem so it can be fixed in time for the next kernel release." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +pkg_postinst() { + postinst_sources +} diff --git a/sys-kernel/git-sources/metadata.xml b/sys-kernel/git-sources/metadata.xml new file mode 100644 index 000000000000..ae08212b1ea3 --- /dev/null +++ b/sys-kernel/git-sources/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <maintainer> + <email>mpagano@gentoo.org</email> + <name>Mike Pagano</name> + <description>Actively maintained</description> + </maintainer> + <longdescription> + -git sources sources, for people who like to have the absolute latest kernel available + </longdescription> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest new file mode 100644 index 000000000000..3312ea06daa0 --- /dev/null +++ b/sys-kernel/hardened-sources/Manifest @@ -0,0 +1,37 @@ +DIST deblob-3.14 121249 SHA256 980400e0db952ccdb5a507f99444330af893ed0f8a7a052916fcf0c2b2631f7e SHA512 2cbdf4f3947c12ade0931f0b3fb8b9c0312626a3bfea9d1c7d8d1d875b4673624ed3a6369653521998bbea0cde6730b573d6be918d052f1b553e093cb42a838f WHIRLPOOL 7ba1738ac829d8848104843da6237576f235c0151d53944ff3a7e0308cfb91600ffb9253402a34c2ed106c5b0bb3ce36785ead990396465341a957c58319221c +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-3.2 107195 SHA256 2e8a59bf7f18425652050a1b9f2fe2e8d1f09b50b33ee633771ac03943345e81 SHA512 8de24b5dade9256caf20215692f2e53e403f99d3d1e81b301263ae5f8ce667780a1df7917094155fb47210f22e7839e3d08e4f3a84c86ae6bf582227b938229d WHIRLPOOL f7abda0702c9b038ee82b462d1de30bd21b28d591058f417aa399581e93ba35638f476544e6acfb12760d672dab067916e4c68275c91f4c01d3bef7f685ed67b +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e +DIST deblob-check-3.14 613905 SHA256 4c69ea1c225b1a84c41e75392dcaa94f77dd8e647aff3afe52f1ab16ac99c5e5 SHA512 4dd7e785727ce29d78f5f68431fcb6ea9dfda5221dc8e699f40d13e3c85411707b13c288d23f8baa6b3c47f5a67ac58da0a7f1a51c4d9fdda82a7428ead88cf4 WHIRLPOOL de1b67955662f072193f58b7e7dbd98c6680958c2d65632bfb831dc0681945a4d1c27abe978e6ee687ae8f48773eb71c2f9026f461377b28235e7f7e39832a67 +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-3.2 557345 SHA256 60d05db20e7b50919ca44487d05e8faa9cca830318bd8d96625f0f75b252eeed SHA512 6b857380d495261c4d356639157f99f3ca3412388fd3b1c72b566c3bb6453c5a22ab7716e3b24e64a9b63dab912b07baccccfd0fca806ac0e0620efeef777b6a WHIRLPOOL 877c2c9b813466f9aa5cfecdc9ab93247bd2cdead457c9e0bd97da49d042d0a52262f9b4f8e9c83e397b57c5bb5a8fe2b61bb5f44d5a178a579cc9fff990941a +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 +DIST genpatches-3.14-49.base.tar.xz 959560 SHA256 671097dec0eac493698a4bf773e96d2bfb6f5d460642f49f0117da2cb76e51b3 SHA512 2fb24dee399e2e574f19e1b0e88f7ce397101ed34236403a5c1e47a272f89e7bfbb399c136d4d53e8211f865c757b55402a76ef5678a8e5f6ceedced5dad2c62 WHIRLPOOL 050716ff15a0a844bde931cbd9b5110e25686b1adbcf2bb4b9ca88d37b3783957450fdb31c2087591a14f22fcd91f4f2008a417c86802948f44a76c8851c21f3 +DIST genpatches-3.14-52.base.tar.xz 984136 SHA256 01318999e36187e937f9108fb7b5642f05ffdf61946981cc2d3a35f2c84139ae SHA512 e691210e2ae8184e6cdbb7dd381dfa850189aa7adb58bb33f6f0c6f9cb35e04097b97ef7ec5a0806c70d4d6aa4fae39cd6fe74b04cac4aa117340bc93c785049 WHIRLPOOL f0ddafcdee7c2f7b90f2f94b859afed000d860d259fe059cb4916b1bb71ecf146c943d279ad8b00f6fcee33c0faca3fb2e0e5d9eaa69619dd1da487f2c25f583 +DIST genpatches-3.14-53.base.tar.xz 993468 SHA256 1787942a9d4aa6ee5b8e27c40320380c58e39c19179ea9114cae3f439551092d SHA512 7eeb1924211620ae9d656b05141d7b9de803c52631c1b230de349d6b867ad6bf19a468df96ff1a349362163ff28b7ddf776ac78ae5438f0f3b3701f11a5f3f10 WHIRLPOOL da3a93ba3542c33f7153f791b981ad10924220f4b5bf1e9ff450cec782ae75b87998588b03d6b53c9676559b7fbdd42d24764b74429d81798bba4e032fbf6463 +DIST genpatches-3.18-10.base.tar.xz 213444 SHA256 26876e79789ba2605fc8d6bbd2950fb53f7da8db726febb5636be453a0cbd36a SHA512 cb24ba1798a43fe71747b8332034ebe69c2b416b301913c2a12b02c2d826217453779a4a77fce8e943152f70d6cea34645effb903fa1301e02d6923581f7e3b5 WHIRLPOOL 6ee5eed82fe63d9d3fcd246d7eae7eb58b2d1a2ed8826c2d1effdb5ac54ef4314685eab28e6ed0f74c4cf3d57c1046c59cb14f702102288a45e7c5184ed7a2cd +DIST genpatches-3.2-16.base.tar.xz 410332 SHA256 d3ad97b119c5b8cfd8e34f1cf118dc7d5bbe61fe908a5627f8ab6365517d7190 SHA512 6c917efbdd26dada3e68241c4d55833968e8ee7044ea7fa2edeffdd4d7eb0edac157057abb75da09ac6d2b5368d228ecd1c2ac6006a9d45b91dbb264eae33625 WHIRLPOOL 155a5b3297ec53a6bdb76e20c8c89d4f4c35ed2bb47e20281ce305bf9edd413e4d89168e250a699ace0561c151ef2f484c05e59013dbd971d43184c5f072a71a +DIST genpatches-3.2-16.extras.tar.xz 16764 SHA256 c3f5adba6f1700c716354b91bc624115c6f5cae6f8fbdc51d07a76d4546bacaa SHA512 e3245c05f3385bb27852c00a39a898c91b3c0006e19c5db561f3e41f9bef7e97012ed29ddf9b0e2bd1ba1fa16590e516fb00ce754a84dd5c653c046b9f4e63f9 WHIRLPOOL 3c1ee6db88607ed91366067217d4a556fb5516ce8bee2859e97be7e214a05609e2d36ec27ec413154baa432a984f53cf69cfb94ae65ec4b8d2e9a86641d77a0b +DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1 +DIST genpatches-4.1-7.base.tar.xz 59032 SHA256 9106e15001e0c286ef929d5e4505507ccdefb0aecdd094b73d57d587070d3288 SHA512 da1e3ef03874ab0fd3af811d6b72e791117dd7490ecbd8698e24e98424175c0ad7228182976fdadbc62a3ef69bf721f82d99cc1760417c4ba3401844fe3c8db4 WHIRLPOOL d3d3623112f118f98db870f48bc3181d6f510fdb4d916a88a832065a2e0df99c1bc5e04db6f7dd09c505f0253b76037965bbaa27103263dd95a713d0428db5ba +DIST hardened-patches-3.14.43-4.extras.tar.bz2 969523 SHA256 4aa9b820a1e302df33dfba574e609fe8ccd25143054124bcb7bb06ea19ca9f59 SHA512 52cf7cb51bec66d6732f391c2413a5ae7e748f1c4eea346737b885b4e1d937b0d8b5a0ce7cc0959526b774304f2372341bc4c2be583e77f854cc897c1bfb2480 WHIRLPOOL 8d7b1e965acfc68ae8b4d0d19168a1317ae0a0e4a1a75735ee9d54a356b3410312908ae83488cf1ddab238a5f63e5f36c7e286713b28e8ff820bf933b4b2904e +DIST hardened-patches-3.14.48-1.extras.tar.bz2 997773 SHA256 e8be8af4006dde34d9174fa659c8cdccc836da340d17d6ccf0aced1f3ae4f1c8 SHA512 5c7f33594e5063f09d5d5cba75e0ca7d1d08d8cee8f104630ff376364fc340647a9a3d83107abc7d0775273a802b6f22b195df7df21fa0caa21ca070d1af075f WHIRLPOOL 3f050ba87cc7a44ec0c9e79f41f22ebc717e6fe4f822426371473dfbdac6327e600a855987b8af870f343cb41f9e437fc4427e1402e4677a46d7235b22507c09 +DIST hardened-patches-3.14.48-3.extras.tar.bz2 1052329 SHA256 1559e8e4af0f8f7abc41d04d6faa83f003c9ed33aeb3adef520388f8eb557b35 SHA512 7b6f6928a2619ac73675dec5193bb02a81c272468b8e832f775d670acdd4a1685d89aeb0535dabb30158939820a66f997828812311b5531528f56923c0509ed1 WHIRLPOOL da30515b470e6283f730beddaa2d14013b7c797c15b0ebfa5b8dd96c0bf5f421151beafa20e57608a24edae5900679dee01c4bbffa64df42cc687b0545283136 +DIST hardened-patches-3.14.48-4.extras.tar.bz2 1059354 SHA256 1bde7573f7f038139f5fdcfe00cc799b191e6162c4d54582eaf5c45a6e4e386a SHA512 4396172e1ce4141a1240717a035cabfb6f1bf9aac7731ba5fd5be00a82d28dcb73fc92e32d8daf9005641dd94c2bd52e11616a0b951306fca28f85179702146b WHIRLPOOL f8944f47377eeae302e43fb5d4d54a4c29e5e840f0563f45b5108fd68d35ee50a24e4be78da1f75592d18431a8b76aa1efb5920e5b8059ab87527f3d07d56282 +DIST hardened-patches-3.14.49-1.extras.tar.bz2 1092342 SHA256 e1509dac4ca2ec00cf2c7c3ccd67b6240c6e9324f1d2dcf948a4238c6d856c2d SHA512 5471118ee9742af0d00d0f5437ee183ccc413e2770a8137c3c9b49cde14c9f8746e641367543c9ce9259504fc25e9fe5f462332ab45232598b92cad7573daa15 WHIRLPOOL 1633fc9b9300d6dd8acbd0d5f5227477db63ac6138f92162f47eabc32c48a7b7c8352110c05efce47da19e51ad6e82d3c7f1d8c0157c1fa3eb4898c922ed640d +DIST hardened-patches-3.18.9-1.extras.tar.bz2 896609 SHA256 8b587954838d063a97491cb0bd56bb82db1898f5a10b5a142a0b9175cec67610 SHA512 d24f4080ba0437939c296614659477aa3d535cb3f3c950cc2a695c3925c8a04cab543b1277e48ba05a6e58cd31762473ad5d2b54e9c5aaf5b1a1b46965a7166e WHIRLPOOL 73abf5b3c1c6b868b931357d11707b41a6d4bee8fd5e2d8306ee3830a0edd24f371159b8f8efbd2b1afbc21efb045e96b2994219d43ee7ab484116e86e136196 +DIST hardened-patches-3.2.69-11.extras.tar.bz2 2293649 SHA256 98b7cf52c368d3f54330f8a821bd83e9d1aa96025438640d5657e599191282be SHA512 6ae2fa4a0b1d89d84f166af6347aad7179eb6031efe6bd9fb6fcd96ac6a4f9597ccdc34661c0ac92b85b24818a2bb99eeac4c4728587853255c81c98969a8c58 WHIRLPOOL 997f47848a14a512e15d7b3635c1c924000dcd9ce8992aac312764bc065474beebf5de53561eb3a1b72feb4f6a176a4500dd054b32d5f4b35eee4e3a9c7824df +DIST hardened-patches-3.2.69-13.extras.tar.bz2 2320523 SHA256 532536303b89962f4687de07715e2bcc0733858df56cccdef42915914bfbfa4d SHA512 d0ed3a9e8ffb936726b753ce43b1406162a16ea29703d8f34904878af1b687160c766bdb34225149188e585df440d57f46725c62ebda25a5c0d8316fc2f3509d WHIRLPOOL 38cd562c26f7a7d7550d5242a412421649aeb8d9a0fdf33a94a2a833a72b643acb67793c39ef50df7eca334eb24a2cec7413ce490b6cf05b146bc273759198cf +DIST hardened-patches-3.2.69-14.extras.tar.bz2 2314416 SHA256 224d23d37d00fc0532d459f5460144797f8ddb58075cc8bb71fbbe2fe211e20c SHA512 a462e6c8710b1b1e91a29e24d74e6918f93379c1af42788cbc0151c9ef39fff35c7ac60af1a923cbcf96ad5c6a8ccd549210013fbd32f2d47cf38c84506bb7f6 WHIRLPOOL b58c2c83416a787fecf5399e176ffb2774092ce72a2d923ba180010c70beec122c46a4966c62c0e2ab6e341bd8163cbfe18d1a4995ce898609873aeec3ee9726 +DIST hardened-patches-3.2.69-5.extras.tar.bz2 2288972 SHA256 34714276b7f676a6e8318419b9e01af1064442da70bc1b28d349f8c0d7efc951 SHA512 02ba31182d16588ecf503abd37a34675e1b6e35ceed5653a15bd63f2ee4f38946c6c6603e9428d2a4d3d0d186b954d20f7a5e75f0feea952c76ab8f9739ad635 WHIRLPOOL a708cfb3c4a764f2399c21a9380ac278b65d0280c8b05118c8ecf99a937e91a84e89c40f273f486da6e04aefcac737ee8f4b412418845237f65c2774ba24baf4 +DIST hardened-patches-4.0.8-1.extras.tar.bz2 1366743 SHA256 765a06197afb4b7f268778b5ba2a6ca438b20bf900ca97cbc17b47570cf1dd0e SHA512 782a7883e055173a1cf6be76e8d99a56757f5576c09fb80c295e6bc926d7dd8e6fbfc4fd09c38e0e95d4f0317808b68a9fbb0e9b59a9a3f27b89f906f375e619 WHIRLPOOL ea95c5d29801759d2ed247885095c914ee07c4b800cb9a2f5f1c4b7b79347d2853ae56f64ad732c6aa8972a43e8993fdcfabf5e244d5994fa7998a382faebfe7 +DIST hardened-patches-4.1.3-3.extras.tar.bz2 1423163 SHA256 cbdf9e2a46f371e2c1d2558483c79193b7f8a3d1091f1eb71443166904d19db0 SHA512 73f52448707acca54c8e4a23156d91df2a3a55947bcfbeea030d4529334a2b1000451826c7680ee9a9513d2db282bc553a7fc8966696af18d6b12c835feb1614 WHIRLPOOL 5b98f4485474c744ed7daf52398afa820a43358995fd66f08aaca626b5bcc5c3c539347ba1b01d684eeb83bad1411540ab490a1b9d73d3ddafb741826f7e19e0 +DIST hardened-patches-4.1.3-4.extras.tar.bz2 1424508 SHA256 3fbec617578cb300855634b778fca8b98ac2871968803de13497d98281b28d5c SHA512 a69b3c5a957ce44612366276f277e8ae2d3ba878f2020738491f6685fd3aea88b0a20d79bc33f7211c263796bd244380cd3ecb27f88ddbcd9cf3456404754604 WHIRLPOOL 1c0afe1235bb71447b6d780a9de95e5b7783e31eeb79941a422401f3add96311d101544e5b8d022ed559e601a62ac20951bd23b3825550e34a1bde1eace683cd +DIST hardened-patches-4.1.4-1.extras.tar.bz2 1525808 SHA256 63d924d73232f86d764201ea250bbde2a81d814ecc678a4bfa02ab7ccb379b7e SHA512 d444d481eeec50a05228b344149243c0ee1a463bbc429b74ef1ecc6109d9f88fece13005574a4eb9973bc80be5b59286fdb07d7f80f9cba3587563f44cd80938 WHIRLPOOL 0eebdca0d592da1c4454191a033582c7dcbdad56b2f3ff79234d470aa0912717cea3c0ef58ecac6f3120f458f4053a2146de10ab2eb34194b1bbcd61ba0ee1fe +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17 +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.43-r3.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.43-r3.ebuild new file mode 100644 index 000000000000..290481bc8456 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.43-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="49" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-4" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.48-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.48-r2.ebuild new file mode 100644 index 000000000000..7bb6ed31f118 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.48-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="53" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.48-r3.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.48-r3.ebuild new file mode 100644 index 000000000000..0d8f94d430c7 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.48-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="53" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-4" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.48.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.48.ebuild new file mode 100644 index 000000000000..1b72addc88bb --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.48.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="52" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.49.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.49.ebuild new file mode 100644 index 000000000000..5b6474efbe34 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.49.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="53" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.18.9.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.18.9.ebuild new file mode 100644 index 000000000000..0d5ac23590ef --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.18.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="10" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch + 2710_i915-drm-disallow-pin-ioctl-for-kms-drivers.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.69-r11.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r11.ebuild new file mode 100644 index 000000000000..37c62b333b2c --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r11.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="16" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-11" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.69-r12.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r12.ebuild new file mode 100644 index 000000000000..f1be0ac7edb2 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r12.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="16" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-13" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.69-r13.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r13.ebuild new file mode 100644 index 000000000000..d99d0ea034ed --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r13.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="16" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-14" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.69-r4.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r4.ebuild new file mode 100644 index 000000000000..2dc60de7e959 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.69-r4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="16" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-5" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-4.0.8.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.0.8.ebuild new file mode 100644 index 000000000000..a0e1692e6282 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.0.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-4.1.3-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.1.3-r2.ebuild new file mode 100644 index 000000000000..e05268acbbe4 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.1.3-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-4.1.3-r3.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.1.3-r3.ebuild new file mode 100644 index 000000000000..41cef6c85742 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.1.3-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-4" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/hardened-sources-4.1.4.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.1.4.ebuild new file mode 100644 index 000000000000..e8a2d6881691 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="7" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-3.1*" + + ewarn + ewarn "Users of grsecurity's RBAC system must ensure they are using" + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." + ewarn "It is strongly recommended that the following command is issued" + ewarn "prior to booting a ${PF} kernel for the first time:" + ewarn + ewarn "emerge -na =${GRADM_COMPAT}" + ewarn +} diff --git a/sys-kernel/hardened-sources/metadata.xml b/sys-kernel/hardened-sources/metadata.xml new file mode 100644 index 000000000000..6ed487784a9f --- /dev/null +++ b/sys-kernel/hardened-sources/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <herd>hardened</herd> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <longdescription> + hardened-sources is based upon genpatches, and adds the grsecurity + patch from http://www.grsecurity.net, which also includes PaX. + </longdescription> + <use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + </use> +</pkgmetadata> diff --git a/sys-kernel/kccmp/Manifest b/sys-kernel/kccmp/Manifest new file mode 100644 index 000000000000..774d8ed8b742 --- /dev/null +++ b/sys-kernel/kccmp/Manifest @@ -0,0 +1 @@ +DIST kccmp-0.3.tar.gz 14033 SHA256 815a4f77e720fc87ccdf5d0aec3c97eeb6627d365369e5a8975a9394578f3701 diff --git a/sys-kernel/kccmp/kccmp-0.3.ebuild b/sys-kernel/kccmp/kccmp-0.3.ebuild new file mode 100644 index 000000000000..a256c1151f5b --- /dev/null +++ b/sys-kernel/kccmp/kccmp-0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit qt4-r2 + +DESCRIPTION="A simple tool for comparing two linux kernel .config files" +HOMEPAGE="http://stoopidsimple.com/kccmp/" +SRC_URI="http://stoopidsimple.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND}" + +src_prepare() { + qt4-r2_src_prepare + echo "DEFINES += KCCMP_QT_4" >> ${PN}.pro +} + +src_install() { + dobin kccmp + dodoc README +} diff --git a/sys-kernel/kccmp/metadata.xml b/sys-kernel/kccmp/metadata.xml new file mode 100644 index 000000000000..59c9a21a55b6 --- /dev/null +++ b/sys-kernel/kccmp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kernel</herd> +<maintainer> + <email>mpagano@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sys-kernel/kergen/Manifest b/sys-kernel/kergen/Manifest new file mode 100644 index 000000000000..e8245abb3337 --- /dev/null +++ b/sys-kernel/kergen/Manifest @@ -0,0 +1 @@ +DIST kergen-0.1.1.tar.gz 109207 SHA256 a618cb8918fb4849c76eeb73211471829633d03ac36b31d6bc35cafee248a5f9 SHA512 6667b630c850b93d1edca554d8dc22f834a38d7fcdd222721973593c4272d65034db4bfe3983b53135ae02e3fda9c29af208168e38ea82048792c6a791afd4fe WHIRLPOOL 1acb14be792554682dc93b9712914495d9ef4013bc68317873d8fe97ef6147c1148dfb459e2ef0491d6ef2a699f15b25cc60025a35b5b42d7c1e48e4fa6421fe diff --git a/sys-kernel/kergen/kergen-0.1.1.ebuild b/sys-kernel/kergen/kergen-0.1.1.ebuild new file mode 100644 index 000000000000..dc0e6c156473 --- /dev/null +++ b/sys-kernel/kergen/kergen-0.1.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Kernel config generator" +HOMEPAGE="https://github.com/nichoski/kergen" +SRC_URI="http://whatishacking.org/${PN}/downloads/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/sys-kernel/kergen/metadata.xml b/sys-kernel/kergen/metadata.xml new file mode 100644 index 000000000000..9be1b1b5b835 --- /dev/null +++ b/sys-kernel/kergen/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> + <upstream> + <remote-id type="github">nichoski/kergen</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest new file mode 100644 index 000000000000..6143212acd14 --- /dev/null +++ b/sys-kernel/linux-docs/Manifest @@ -0,0 +1,6 @@ +DIST linux-3.10.58.tar.xz 73287940 SHA256 dffd5af29d516caf1b2fba8360acad81eec24af744e2da4e28ca3289e113961b SHA512 cfca039bfd919fecc87db1b5b7b408510f161eae2bcf7e2eb317473f52c553acd2d2e3a7afc4da10e84463b3ce362e9a7cb8cc0db7b6625bf1b5461b82833d77 WHIRLPOOL 975ad7aba0ba34c06e7df83424a63764edf54c26924006c942995a60d730c6e71d14bccc778b4e25bd00cb6cad02d917889d728de16a880f2cc7d9dc251d6d69 +DIST linux-3.12.30.tar.xz 76465772 SHA256 24941aa7e5b9c556080d59e63ef9eea4e739ed1b29d367d2e777243f90633480 SHA512 3f0b188547f0f0adcd8d7e6246465020bee316eda8ca20be8140f2115ae04d58a3d2e37ef60480ebe009797c71db5a14dd60cfcff958561cb12d313ee0d18499 WHIRLPOOL d139c36f20d08cb721c1ac08e48e33aba04b1b04c199b557ab814dbb3fb048d6ccf0f0e4fcf5bb2c430888dfa891981770e1973f7cbdda49ba5c284fbaa44a91 +DIST linux-3.14.22.tar.xz 78451580 SHA256 77a0c7a41b1fc4232a959c539e48f98071769c8cc553e013291fbfadba62b084 SHA512 2d2f40fc18f2769a1fe53115de91ea37aeab53f5b4ca9bedaf7622447c87a97c5d59c2e4a3faf1356d00a365a970d7a53d98fdbdc7e967aef402918e7bff9b61 WHIRLPOOL 89768ea13f7e1b912feabb303e6146dc0886702c3133cb15d4f2351ddc6976af4b135a61f0dc78f3a4da6a51ea515cd322f008e9074b3d427a6116b287aa197a +DIST linux-3.16.6.tar.xz 80524980 SHA256 31e9dcffd79933040b8a91d36ac1d75fa4ad554656665c3d9c8fbd9fa73006f2 SHA512 ef850b73d28f3432d55389a251bf4244c464af52ff02ed87a5707ff4467932b7b8f12182017f73e73671ae893b44e17e4f4414b023848b8ba4869b1cd3ac6086 WHIRLPOOL a23c1503bdaf3ffe2bc1ea2351d2a0612d20f6d144d5a2d2595fc051ac2292da84d91053c64f4391b91bcc46edf0fe0bee49329ff8ca70beafc04e50e4c0571b +DIST linux-3.17.1.tar.xz 80315188 SHA256 2c9c002cf9618962883d82ba3e1caaea29af4ea37147a82bad422afdc8d21dc2 SHA512 89c38d7b9dcc3f3de65b1f46266e1d02a2444316fac53fa70b49f6a01b42f420d87a0dcdd2a5730d7fb0453ace77e4b7ced5b80dcee5eaf65d8619bf0c1c93ec WHIRLPOOL e2eacae2ac42ea1e24d517ebd2f8b0ee06d9936fbf590e606236b66ab5b7634de6c63c01abbe01fcae5492d19d792fea453b907668aefb405a314301f5f7ea4e +DIST linux-3.4.104.tar.xz 67176948 SHA256 8bf42d8befdd61a296546dfb626eca7c108b7c3eb0c284f4bd4273c628e1c275 SHA512 a8d86b0fa9bbb602262f8e4155870a5e33224597030d6b6777480ea81127564d9bf94389d8adb59c8e9cec2f586f59031968d33ec3b6b82c10e13924c303872b WHIRLPOOL 95cb16ceab4899689145385c5acbe4cf46682e9f5258dc99b6b890347c06aba903858a0fd98d9d34a264a9db46c54e9fa6da0821bb33bd3a2a3fb6a82ba7f451 diff --git a/sys-kernel/linux-docs/linux-docs-3.10.58.ebuild b/sys-kernel/linux-docs/linux-docs-3.10.58.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.10.58.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/linux-docs-3.12.30.ebuild b/sys-kernel/linux-docs/linux-docs-3.12.30.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.12.30.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/linux-docs-3.14.22.ebuild b/sys-kernel/linux-docs/linux-docs-3.14.22.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.14.22.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/linux-docs-3.16.6.ebuild b/sys-kernel/linux-docs/linux-docs-3.16.6.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.16.6.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/linux-docs-3.17.1.ebuild b/sys-kernel/linux-docs/linux-docs-3.17.1.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.17.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/linux-docs-3.4.104.ebuild b/sys-kernel/linux-docs/linux-docs-3.4.104.ebuild new file mode 100644 index 000000000000..fb38c2a545dd --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.4.104.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="html" +DEPEND="app-text/docbook-sgml-utils + app-text/xmlto + sys-apps/sed + ~app-text/docbook-xml-dtd-4.1.2" +RDEPEND="" + +src_prepare() { + + sed -i \ + -e "s:db2:docbook2:g" \ + -e "s:/usr/local/man:${D}/usr/share/man:g" \ + "${S}"/Documentation/DocBook/Makefile + + # fix for parallel build as per bug #248337 + sed -i \ + -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \ + "${S}"/Makefile +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + emake mandocs || die "make mandocs failed" + + if use html; then + emake htmldocs || die "make htmldocs failed" + fi +} + +src_install() { + local file + local ARCH=$(tc-arch-kernel) + unset KBUILD_OUTPUT + + make installmandocs || die "make installmandocs failed" + + if use html; then + # There is no subdirectory named "index" + dohtml Documentation/DocBook/index.html + rm Documentation/DocBook/index.html + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} diff --git a/sys-kernel/linux-docs/metadata.xml b/sys-kernel/linux-docs/metadata.xml new file mode 100644 index 000000000000..6251e1f6cf32 --- /dev/null +++ b/sys-kernel/linux-docs/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel-misc</herd> + <maintainer> + <email>mpagano@gentoo.org</email> + </maintainer> + <use> + <flag name='html'>Install HTML documentation</flag> + </use> +</pkgmetadata> diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest new file mode 100644 index 000000000000..ac2ae81df342 --- /dev/null +++ b/sys-kernel/linux-firmware/Manifest @@ -0,0 +1,6 @@ +DIST linux-firmware-20140603.tar.xz 23299316 SHA256 f45cb7aa37fd52f65289389ee5b112235e8044bd6f0926f070dfee8c8118b749 SHA512 93add92b2b25fd5001e84e66b4c3e28be4ba99827d45758bc8d251ee359d09d88ae8057978a800b26d32e7711bab14a19191a53fc48faf47b76e172b8d07f464 WHIRLPOOL 6cf7a6d845f545ec176994788ee0bc25b884f33a5d24f599757ce5e6e2cfeae47c796ef968c44f5c6de74c3fa44614b9c7056453923f31275f7b877865bf76e8 +DIST linux-firmware-20140809.tar.xz 24031360 SHA256 3286490a4e0b435309067005f7645e556caec0b725806cbd667b320955cebc4b SHA512 a260954258cd1c8804abfd45eb7214de08fc78d03873af48943900e48aa4218183d40f3e1a62195099318d99bbf28f22a223c832408d06ace4c358043e3ac6e4 WHIRLPOOL 0c6e15e3667865c595a0794ca093792e9167ac23bd161847aa0bae48b2638f0a83aa33c6273f5c2e5016cefeaf2892e4ef1816ba3fb67c55d30bcb6fa4afad63 +DIST linux-firmware-20140902.tar.xz 24277312 SHA256 3dbf463d6deb559ce071de7f9f98547fa55b293be43baca7829326f1c523d826 SHA512 e23ae282ae0caf6891f889d670f4ddb61d254a710c5345c4bb0b0e2603d20cb45f7b341e828fbf8ca6dded40c54dad0076957b1ecfaea3512dfa7ee373ab3322 WHIRLPOOL 6a2a4c3c0f5c5b553fd1195e07294a16b52e5b7b5db0fbcc89edfc21fe83aece110d0914c4452b0f901e13e8b25d61e56eaddf49953e70ab327d705ecd45fa48 +DIST linux-firmware-20141009.tar.xz 24288396 SHA256 b3423bc48bdb46d89707096d9bed3eb0e59ec9172b52ad61d49d996f49f09f61 SHA512 d599abc518e95834118311428fd5cb3e5de47a25a264397758f8456bb3e1e1ed751d0fbfccc5196bd153c1fa4c0e477a7e2e6706f44ef1ba83bcab94b34d5ca3 WHIRLPOOL fd9f13f951c17fcff4db2981f0a71e91dde8b14639746d92ab51a16720758e1f3044a6c718580b5c662cb5a6e571e23739bceb7a8ea9ffe54d2492216efa4320 +DIST linux-firmware-20150206.tar.xz 25831872 SHA256 d9c9d87263cdff827b38bcd99c8a196230b3edc66c0f23d33da31718bad151ec SHA512 67d45da2ab7f6657b89b8c176c8906cbab82a502ac421d2d615dc6f20f7ef10ec49327a154624dcc28369a71ee34963712041c4a7c70b8995cdddb0fdb07093d WHIRLPOOL 2da562600d6e89a58f61a3783a8911ea0d186e9435a032fc224e18802c02159223c08c26f89150052174eef4b586b65913a8fe34b9cbd0c26202c2af3bd86147 +DIST linux-firmware-20150320.tar.xz 27113932 SHA256 0eafba794ea53b9f5f10714bd8d320b0c1d704801726b28072a99fd71606ba59 SHA512 280663d072eb4dd987ebbcb8b4508a167f3caa45dd21e3e6c8f8abfe6a90a5b9379f71ba4cd576e942a856b378c2d8a6f1e508cd16c7c59ac602ea36dff85ba3 WHIRLPOOL cdf9b5c136aba2cfa547e489e0273deedecab1fb4dfb2743b1fcb0d6ab2a0722702df7036ed0a299450f4257d33e0bd3ca23d650992a0a3df1901c996ba9a5d0 diff --git a/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild b/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild new file mode 100644 index 000000000000..cde45cd9dfb6 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-20140809.ebuild b/sys-kernel/linux-firmware/linux-firmware-20140809.ebuild new file mode 100644 index 000000000000..0891e3e5c546 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20140809.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-20140902.ebuild b/sys-kernel/linux-firmware/linux-firmware-20140902.ebuild new file mode 100644 index 000000000000..4195b5b37bde --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20140902.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-20141009.ebuild b/sys-kernel/linux-firmware/linux-firmware-20141009.ebuild new file mode 100644 index 000000000000..78d8c97f74d9 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20141009.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-20150206.ebuild b/sys-kernel/linux-firmware/linux-firmware-20150206.ebuild new file mode 100644 index 000000000000..382b1c849080 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20150206.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-20150320.ebuild b/sys-kernel/linux-firmware/linux-firmware-20150320.ebuild new file mode 100644 index 000000000000..78d8c97f74d9 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20150320.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild new file mode 100644 index 000000000000..78d8c97f74d9 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://gentoo/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] + !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] + !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] + !net-dialup/ueagle-atm + !net-dialup/ueagle4-atm + !net-wireless/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !x11-drivers/radeon-ucode + )" +#add anything else that collides to this + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-2_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + ebegin "Removing all files not listed in config" + find * \( \! -type d -and \! -name ${PN}.conf \) \ + | sort ${PN}.conf ${PN}.conf - \ + | uniq -u | xargs -r rm + eend $? || die + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." +} diff --git a/sys-kernel/linux-firmware/metadata.xml b/sys-kernel/linux-firmware/metadata.xml new file mode 100644 index 000000000000..dcf83e73e454 --- /dev/null +++ b/sys-kernel/linux-firmware/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kernel</herd> +<maintainer> + <email>gregkh@gentoo.org</email> + <name>Greg Kroah-Hartman</name> +</maintainer> +<maintainer> + <email>chithanh@gentoo.org</email> + <name>Chí-Thanh Christopher Nguyễn</name> +</maintainer> +<maintainer> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> +</maintainer> +<use> + <flag name='savedconfig'>Allows individual selection of firmware files</flag> +</use> +</pkgmetadata> diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest new file mode 100644 index 000000000000..8413c12ace45 --- /dev/null +++ b/sys-kernel/linux-headers/Manifest @@ -0,0 +1,50 @@ +DIST gentoo-headers-2.4.33-1.tar.bz2 11542 SHA256 a1517b0ea6619f018d0dfbb7457be122a0f80b5e76b995fdedaa9423951fb37d SHA512 47e9a9b35aae8ea8511dba4607dca52dc7ff87f8091a263065dac76b635456c2600ae1217e197286f89fc8edd632a8c754ec5525a14d6955266d222f1cfa4219 WHIRLPOOL ac7a4e31782c2c4d38e695fdd4393789a2da4f1bb45dc66a17ea0782da6cf60470d4c2e9af9dedc40b64919b6d6fc0547f252862d377828fad55abc079853cae +DIST gentoo-headers-2.4.36-1.tar.lzma 10846 SHA256 2120f941e11dde038a8ad3cf47ce4f6eb4b5cba3fa59a378113c4cf57544509d SHA512 fd3746708096f692b2190b514c6b2511fb5571ec772adee81e37c46825d642cfa31ffe9e6a9b343079fa17927ca46780da08306d3e2962b0ecdb1fb386d653f9 WHIRLPOOL 063abe2b3dff20585adf4f58bb2e93f1bfe71fe83aa36a642f15fb8e3c6561491eaf3dc3edf75c71d786e9d34ebfe00a8734afff6872840ba120f4e1f6f7def7 +DIST gentoo-headers-3.1-2.tar.xz 3656 SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972 SHA512 c6513a71044f2eaa032bf2045c9db973c1eb5eca440621623c1b86ec28badd35c874035b176b74b1df550db0fd04aa91cf8c290962c66e4b090e3b88b80fd188 WHIRLPOOL d404efbf90ed12475467558dc92f29b4bea17bf1f7c135b2c7a3d68c4b7910ef587ee571982e7801f2760ea0586af6b63323534fc353a081477304b2270162a7 +DIST gentoo-headers-3.10-1.tar.xz 4412 SHA256 6a04662378bbc35eadb5cfe7d39f6eca313a7969fae15f65d6b7445727ff19a9 SHA512 780048e866ce3c0790f236fa5682a114e3020882d8321d05f07b0cc877d7624563f6f5b248807981cda8c21c72ed2754e1b8d69c51b7fbe0e5d4d570523c10c5 WHIRLPOOL f0c69e1206379a3b678d7ce48a40ce46abdbb739bcca2b832f924c85c2403a206db25eb6195a0eed9546a848003b784557b76eed61d9baa9e40d2d6209668e0b +DIST gentoo-headers-3.11-1.tar.xz 4228 SHA256 115cf7f7b7d5a92b1ff934dafeabafc8531def5c6dfb4addae81160e36505469 SHA512 2866fcb6d5b3cc7cf44685f70d375e7520aaaac1f894ae6eda925381e5d24dc26ee25827be9c6505366c089e6afd52b1e07b081fe5e956054f41683a150eac38 WHIRLPOOL bbd86d231b72ce35d9d4dbe6a15aa01115e5a4ccb5572cf5c4b96c99cfd9ba9c531554013bcd6cf21a3dd6364dbb70b380192f2492e065c4716e7a8a3c6fd72a +DIST gentoo-headers-3.12-1.tar.xz 3944 SHA256 5c7f8eb30366b2d24d7f39928f5fd5b12abcb5cf6daa135e0160493775a46270 SHA512 53f119974edc7797512c65286ac36ce50e436769560ad1e9e2a87be16b7d6d411aa29b6fe1e251115c47a9f7aa86233e3dfa52715c94e0e3cded89962b8cdf00 WHIRLPOOL a2342d1f217577745574a47b6ce1054123aab7d006f276149746f6d8ac8ac85779e508838c273202d899273c19109e4750a12801853e9a14d2cd12fc912db19f +DIST gentoo-headers-3.13-1.tar.xz 4424 SHA256 12f0bc5e41d6708445f22d292b8da9e8cb2eaf6ae7e9f292266003d5884366e7 SHA512 10f8382e72573e4d45542d03071fc62418a267ebbb718533ce97556f2339f32f7734c0e46cd5a04d51c11b6ded115c466d87c6a6993e73874a4da9917665adf6 WHIRLPOOL 33e8e32116ab0940811a3a6c1a5fc1ce179439ca050c7d3a69a7a364860ab8ad82e00e0182f8b5dcf4193afb3daabd7b074471abd95f743fba9e87043f8be3ae +DIST gentoo-headers-3.14-1.tar.xz 3152 SHA256 a16b5271de8357e20a913753929e3af7b6c1bc20ce3624af998b4dc0e6c4343c SHA512 7b7278d34e7e02fee5dab48a2c374f5ff3ab55788b2139bf1c61bba0a67c736983e00b1bc373ce69e07ecef507b8bfd0277cd84ab6b3d92d0d9ab85d10a21808 WHIRLPOOL e530990caea6c579c7a112512affb77c18a3c48dee5facbc0d919307f01d74d9c0b5682c7bcc0eeacfaf3017fa1dc83482f9abc637c547e1ddb25e9aae1f09c1 +DIST gentoo-headers-3.15-1.tar.xz 3164 SHA256 69386c4df74c509b26a62b6fc0680ab47cbca92c86468d921f4a07826dbee9a6 SHA512 d2aa5ad12bb202e58d5b41bc87ab6394049543e09f5a5ca6732e4011b86109bca6e994c15951a206ebb691c5df277a904e63da597c008bf78ef3c72b23e1eb21 WHIRLPOOL f70c28ca42c610399bf16da073281a07f2464bee72b62748665ad72fd9d29189ecd086adaaf60d51ce4ced9f4db8bb2c6bc8c658502127a1858e116180f5fcea +DIST gentoo-headers-3.16-1.tar.xz 2760 SHA256 331d2e00e94d86b6895fde450dffa7c669a177a53174649561d46ccd58e1351c SHA512 5df6857267ff93619c1735420fad689e104980ad55fb6fa33db6d4739ac166594672b16fa21b58f253540adf3198c32acf499eb3e10726c2bc88234e42e68b14 WHIRLPOOL e380f0309d391db15ad1fb273925efe30ee020c594030d5b4c74b8a3fb9154eeac658b04bc9816ba7f932f8d0cc53cf385ba02bc690a306e053a22fa167e1965 +DIST gentoo-headers-3.17-1.tar.xz 2764 SHA256 24d0ad5dda444e1cf9cbc9f2f113c3de3983b08da43ed3a78d2cfa3b53fe4e9a SHA512 6d54c1775d74e20ab44bd8d5f742339fb3e21fcf7a21195906aa1a3b8c339e201500f5df3f02f51b036b8d1772a158d929718203ce11ec2a0bf67b436249d718 WHIRLPOOL c56b1a9ede4f339991d94159a60f33b09bf137017e5048e3578ead58f067a78fd79c40abb4722e576801fbc62844cfffaf54cdb0884fdf2c2858f03180b7e2ba +DIST gentoo-headers-3.17-3.tar.xz 3524 SHA256 7fe4cab14e92fef176705bf70078889610c3b2d35810e07528ea7ba5370e89e1 SHA512 0b3c96b522c2812c16c437c49041d43991f90ae3e44fa9d4b40d2888874341f36e37bc6c537a4cb4a3cc83a7fc5448f2fe4f523b51c5913133893a02a55d8f4c WHIRLPOOL 3f555f425db9932cf5ce80c423f3934d5a2cfbcf9210f276dbd7386b90d363572388a70b7f39ff118410365781918aef2e3c9816592ae8aeb923d6df371e7539 +DIST gentoo-headers-3.18-1.tar.xz 3628 SHA256 d6b83a873baf83d8db535623dc9b91b52354e53238a128bb6fc29c6ff4f9f11e SHA512 89fb9b336fa3455752f6fe8626500d30245c04806890d4448a2895bbef2a5eae409940618fd4e0be57aa12784a198a695c32479f12d76450e16f2af1536e7a1f WHIRLPOOL 5a18218fef9013d5306d3ef6aa6467c1fe09dc70593c3f8f1f62a3e99d704d085420e33ded3924f0e34ee58c080952e5e007842f31d7bf648fad14a02ce3751f +DIST gentoo-headers-3.19-1.tar.xz 3848 SHA256 f66fedf95b99130b3b43dababe40b2269552059a945f1d9f1876f773e3fcbd82 SHA512 767de6ec1870185da2ee1fc1579289d3c564d64ae57556a8534fca9b1843cea25d4d34381d4c56959e89400b8e28aa575c56d573eace0e85e7c258a8d32f3bab WHIRLPOOL 8ae320ad44de8088e29b199c4ec80657106c413fa60b7b8158088b539a547cd5b6d33b99f0bc0acfc0567715ed0e3943b69e7cd423c4a8d096cf75d723d82c2e +DIST gentoo-headers-3.2-3.tar.xz 3972 SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822 SHA512 df3bbce64875b4036cb56ef687d9dd67df6eab5b166d915fc79e583fcd392e93068e0b3a88f169405bf006e110041221a02145106903ffc3c0a0b67e51fe0461 WHIRLPOOL babc84b25ce551831156cb09057f8efe05596592e4a8ce1cc4b73e993e585b6aa0f8d983e5c935dc9da04ead47531b43e06e9cb2e93a6a1ef4c5db13687206d9 +DIST gentoo-headers-3.3-2.tar.xz 34172 SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36 SHA512 edb4a064cd26f3bb216038c40e139e0da9907beca95ecf240f1719ea5b159eed1bc60cecda25278dce666ea82edb72ef24ef343b4ceae4a00ba2ffd31857696e WHIRLPOOL d3961dfdc9d007ee710fb5fe4007c822d932fc1f857fd0bc442e88bdc097f1c2bee8a0d26dd291f1094e26a927a4ec5b1255557a40614ac37e7eb9f021f38537 +DIST gentoo-headers-3.4-1.tar.xz 3524 SHA256 96575df8c65d749b832880d41db4b694ccaa76a6386eef80e4e9cd123625bfee SHA512 29baad764311d100815c2572e1ba868cf75f0fbf8a1ae38e047daf729b305e059fb94a8c521b88735f5d4678316c314a191e066efa96263347c2c7612a5ab6ee WHIRLPOOL 0160261bc0397a101fefaf66c1e647d7696fe64203b288f358ff8448c49c22e4e37eae7411dde3c11decd578355c825c27bd959e41b209f029d688e184da784e +DIST gentoo-headers-3.4-2.tar.xz 3988 SHA256 0172d6599a59e3176f3dd2738607dc9ebdfceb6243d1b2935dbca7570caac6fc SHA512 944acf36b842ce9ef80282becc5490f2a7f140e3d11b0668d8be92d354e419b4f1299ac5b65285e74e14259507ffb556b52aa7b5a99510a3ea0ed0a3044157b0 WHIRLPOOL 75f3aab55be1f6abf88f2f3dfb29de2acfb63f3f74c922c776206db85d8b2cd2f73547b43d8d49277c7b7477c06562bc3a933073f6c591dcbc7bd35b4c7cec2f +DIST gentoo-headers-3.4-3.tar.xz 4332 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c SHA512 4f79f7d454e6e7b1ba34e84446ce0c60b8310896eb210493a587773442fe558a3a7ab293055540de9fec5f459131a8a605288fca1f6c39ae6e10c7f4aae5e28f WHIRLPOOL 5cb69daf183137b99ed64eb046d748a82c9a7f89ab5ac4053b23af72e926893ba3c1b369d3bb5a69beadb2f8ff1790bf3ec7c8541efd3982c405dadd788ad98e +DIST gentoo-headers-3.5-1.tar.xz 3972 SHA256 7d0600b6c1e19c6b2f4cedaa1e6f8bd57ce31c5b9aef694f2881e80ba3a4338d SHA512 28a7e0525c836b3064ac91e35cef00a252073d65bd3d771ea8f29ea77c0eb94670d1a3543dd7e53269d797b2ea8abac804fca7748158c547bffe7786e9966a6c WHIRLPOOL 2329b15b8c8cacc922a1bd5a0132338be34d723692d3de5b260d1de07231d393e78282b10b214176271e2f3f73570db04dfe176f093f5de9785117cd982cd981 +DIST gentoo-headers-3.6-1.tar.xz 3520 SHA256 367d83b367f163b07deb10ad8b0fd306d8a597eb7d98d776374ff615432ce016 SHA512 c8ef71f6bff706313d010b0b1dbd8ee7d8028f95ca21271f205cd9dd341cf8eca0b31279761d99e4f50548385bebdbe201971e389c5f30f8ed10c922f1d2170d WHIRLPOOL 02f98e387269afa7d37d47a7947a26132d9ca30a72540ebbb11ab35a42beb47e787235af1bfd9794572fe3f3bfe8d999fd8b944afe3ea4886e4a6bed7609d9c6 +DIST gentoo-headers-3.7-1.tar.xz 3212 SHA256 f07407df6577a1a544ed485e0285ad6adca66b516e4ff6af525f36ad2a6cece1 SHA512 d802cf3f3964a80ef2ffa3750139c0aa6b6520e78ec6eaa087532964a6a80999c937b8deb47ac76a250f649d8080308e8f5a5f33bb4859f3907d5dd41fede93f WHIRLPOOL be6aa3e709295d9a74841bf8fb4823ffe3019700ee9ac118b78bbcab50b60a3c404699e0a96267a9aeb71d6e7e62ed770ab5dbb0d8a0097a47f4b20cad663835 +DIST gentoo-headers-3.8-1.tar.xz 3204 SHA256 6790d6934be43251bcc40d19da3776cd004affcf8f62bac7bc9cde91cfd065ba SHA512 b5534730f4a50b41b220f5041aad6b871a7a05bb2fa19f67523baa3788a9ab355cf26f3f3443e50e7defe754a6b828e169f8ce5dc427de3a6690adccaa33add3 WHIRLPOOL efad77ad1a3788eb088393ee67d688d981c768fc4ad5d40b7764e8811e0e002ad0b9cdd2590f61997b277d86414a1e68bc709e923876d91a545a184530da54f2 +DIST gentoo-headers-3.9-1.tar.xz 3204 SHA256 b7f54447f0787cef16796e64a52fe7a4891d1b0c7198d87d00b4203eb40a938a SHA512 c206dccafa969d80406cdc4b6747aeff7451c5eab6b4b35827eaa102cdda4f69a3944d79b3b78276ca5122a68e980bf047f2cc53255aff7959fa5863cbfdf59c WHIRLPOOL 19e84a5ef8274adc9cffe383f4c95180210c8fb871082eab90bdc8d7ec98d617ab858e6c3aa19f61fa388f171ee695553b4aea1b6853a8d50a96debb15fda471 +DIST gentoo-headers-4.0-2.tar.xz 5368 SHA256 ac090b3ced9f1a4b046795402ef919a756570b33f605a8a963af421d5a86af5e SHA512 2c7687c460bba24c8ed6e1df6f55ae79acbdc9f0f5b83074ec062226208fa0384b9660850ebe699bf72eeb8d44716f71115d802858bdf3147fa91c2f85eed85e WHIRLPOOL fcc530b2b973817cd5a16a34e26b1f817b67d622ab6cdcf0398ced6b73a6a626d7d1179b30895e2a33eb044d304fc98ed313e0353cf55fe4d791cd8959b202a8 +DIST gentoo-headers-4.1-1.tar.xz 5616 SHA256 c66e0f023fb786ed4c041e0643e7a778bcc868528ee902b0228cf71986d30dbc SHA512 fa1ebc03e5a3a15b25e037d566ace812a451830c0a05454524e6e3021a6a77dd048ae79b85f2d2aeb4cff414f4bfabe93bfb42ec18a3a8a9c80ed7d6b5352832 WHIRLPOOL 93ecfac69c93500c5f2d3734d2a8a260821032a549b119bb554688ddc725b800e2c0c37612c2cc4f217452d0b2887dd1e1d2bb3f0a3774f3395a72a7cf307445 +DIST gentoo-headers-base-3.1.tar.xz 4814816 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0 SHA512 1218eba261172f5480d6b399be25f9fff0d3c9de48f6b47669820d746957cd9225a7beb3d94eb3d7779c1d28a97da0623dd494a56c8761c092d939afcd99d42f WHIRLPOOL 85869c824fa2a691f50feb94d85aa63103e4cece793273e8d9eca7b23e8459e5fbe31b46e1f97e4f62a1fc8e03b27827ac70ed061369c9df8efadc6e8beb7962 +DIST gentoo-headers-base-3.10.tar.xz 3643164 SHA256 ac054e6370381f6ba504371e6125551489f0dbb3207a79f9f328a0b9a6eac8bb SHA512 1c2c6cbdd5dd7bcabdd0854376202806bd45af519046aa776c3cad54730b8d4f5b0eb7e7bc580314aca070ce7f9f548c43b74fd11c8fc19e4a65c8834e0112ca WHIRLPOOL f86788bffee26f9598fa9d94ad4c590558d6d08f85c4d7888e9115aefe4d783a4234f835c93f2137abdebba8f84d5a8fdb89e9e21bb72073902a49584b0b9932 +DIST gentoo-headers-base-3.11.tar.xz 3664640 SHA256 09765c907425044efbc423e00b48ffa3a976a73ff9a71bb03139fa4ec924b240 SHA512 59ae911e9780e49954ce9671ef109537c90180c24c7eb6e639e8d4d2a4bec503d5c198cacfece4d203762a15ad69a11e05e22d31ea373deea4b9d7105047b513 WHIRLPOOL 67b64bc74321e36a1b125ed4db45df9a8af8acd4854cf51eadf4d8080c47c1a3ecc485758d518c5035ec2b14aa32ad69ec06ab0c670f117be02059c8005d011e +DIST gentoo-headers-base-3.12.tar.xz 3686380 SHA256 eced07ca6a46c3adead4d0f2b729d3f9442902ac7a4f381e8eee7ae0fcc3b27a SHA512 6384f9e33dcd5efccc56c50beb7668b12c031fd7b80023b183722257157158b60304eec6c1973d8921ce11eebb58d8fb6bed75fc3c34e427a6ca0150a7d45841 WHIRLPOOL da45fa9e15f73278f66ac682de27daac49636700bccd02a6ea6f5c4dac3e485f7638756c9b893e6a5b9bc8c33ba81998277743d6bcdf12c735b18fb7a0bcccdc +DIST gentoo-headers-base-3.13.tar.xz 3687116 SHA256 65b63272093f787537940fc906695d806e17cc9fe8e94e79005f1112d2049d6a SHA512 e925cb24d41b4a22cfc7258c2dc32da1d8450dab1af23354682588958cf140d3fc9c3bbaeac3c3a5e5f6de9a5246bd57f3bd1172a82c9a93e9adf82349275d4c WHIRLPOOL 6593ac959186c054587f6d4a1e6b1f0bba34c34af8f793d8c2cfbc42dc2bbea5a5b6b0fd35fbfd0468aaefb4c90557bb40cbd79c7f668124be827874dd3717a5 +DIST gentoo-headers-base-3.14.tar.xz 3716052 SHA256 c9ca099b204f7296e66bb95abeb9a512eecc9758dcde036cc855d8299d75f7a5 SHA512 9918f6ed16ea18b77024f6ef924d9acf7572daff153ea0a5d17d78ebcd6809b5179c415c5506aab24c543b2c2ddfbe2cb8bc3502bb92a84429325026b4c840af WHIRLPOOL 4ee57104cdb3bd01b17bb505e2b49585ac787e3626fd2389bb5cdc6aae06bb261659b2d4abde3808620bf45d2004e9b885d44a17042605a29560a6e2580dffca +DIST gentoo-headers-base-3.15.tar.xz 3728220 SHA256 bbc584404aa7abfcc30099e00eb01ec9ff3df7610b92a0254222a8af5928562f SHA512 de1f8d5b067ec3c1c508c4c4cbf74b0c24d0aff218b240d6ab6858ab3684383523b3696ebb5fb1582c605af05469429eed760191444c76c8ffcb28fe8127b672 WHIRLPOOL f224354228f00bf64a170d6cfa7fbf384a3e0309d14dcd402a0268fe78ccf8f1a0a7aea15d669c11f278b884b3997eb0ab2eeff3a417828a6e7741b0aff0fa54 +DIST gentoo-headers-base-3.16.tar.xz 3743324 SHA256 705c4652ac1bf78c9accec6fd8da795ebd88a79f6fad47cf1f4e88685bb2a2ce SHA512 100234a696f9ec3a5762a8d5115672e48ff47a1741be24affde1a1c86a906d7a560d0bd6906ec2c6cd86ec79f843f29e2cc153fff17111ddf5e2696e5ee9f7b6 WHIRLPOOL 0fb19c8618b76ebacf7a647aacdce32406384e69cbdd7126ac567cb9819781d1c85ef341822b6551962b5af0cc75372119deeb709e11f2739b99d4be7a2ab338 +DIST gentoo-headers-base-3.17.tar.xz 3760444 SHA256 45e9bc8733a58b2bc0cea587e7470170d2ffb454d3755d23cbe1757d1348f956 SHA512 f618f9d9a29719c5ad9de4f2a0ed56129ca7b7e123834e5999c5ed160701fbf6f9ff63cfd98e09cbcb78ea30678ab83410615a1b2b35fa87dcf6f2c00bb411ce WHIRLPOOL 881b360897413efdd691d6b397111d86d4f8b5514bc2d102d8853783c62ce84827ca80b79373a0eae94429c4b3f728617e5cec3e60e49389039028e4f116f22c +DIST gentoo-headers-base-3.18.tar.xz 3776668 SHA256 12a44590e505525509556f6e973464f124f172565d3a4b29a3ff4627aa24f9a7 SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535 WHIRLPOOL 5cdd500aaac3589d6672ea365f5b29ccef207db36cbc34052f0bf1bbe35b5dbfedf3b1675079c1ec05daf1a136d2da3018b2ca91bcaeda1fe8d23e3246fda25e +DIST gentoo-headers-base-3.19.tar.xz 3807516 SHA256 e614ab947a7d0bd5064c49aeaac43507a7a322c43fdcca9a0858855137193b1d SHA512 3ba9b5e442e53d82e5af7fced55b173cacc7edc99157eb430dad81f95d48594bc18a8d5f54cd15ba2221bad4098c7732b9ba24780fc0964ea34377933ba36333 WHIRLPOOL 6ca7f201272202e6e2bc1d36c6e62e47d85163546e317fee5e4e31af98722aa6de81c4c0c54635acd4386a515f28376517aa84eec7ae4cd17220fb549e5f51c1 +DIST gentoo-headers-base-3.2.tar.xz 4912432 SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675 SHA512 4574574843ff3c96f8aaafb19eef7d5488388ba3ad95dd249dbb755ab64085abeb022c8d3d0b0c535521b92b448b2e43b4049446d6e23d9059b26a362d0ad9eb WHIRLPOOL e2be5eb12e3071288f95e58ce9ea9c8de78af02395b683b2acf6e2edb5ac1f14f8d26099e0f49b8e7c44b79a015a190da1419651c58915d45b3bd3e25eab191d +DIST gentoo-headers-base-3.3.tar.xz 5065432 SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea SHA512 27141a91909fb5c48e5e9cb76629e11f92eb0cd3c3b87b939a5fa524acc4d7e5a412e8f3f3b2e07239f6530052e94724b6d638e584f7390090674527768ebe19 WHIRLPOOL 15915c3f303327fd79b55700f3afd081ef86334b25cbe5785ceea6260050609f892a7bbb1410c01af57d96f5cea5119aa21d0c3b8ba550f40d783b3e1217241e +DIST gentoo-headers-base-3.4.tar.xz 5115932 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154 SHA512 2400cb99d275c6d3be8fa9d3e5a4e2e1db9377227b1ae561ac3511659f10c7d1dc667d5fd5b43b9acde8d69bd299273b03b2413a98de70e6f79f0df210cf8ee2 WHIRLPOOL 5d0039e1bfdea386c20d58e84a170c69db48876fc31c09843dd48583c4fc095d15cc19a353c162b709536c8893740175ba86dca5c4e7322c36fa036cc510e50b +DIST gentoo-headers-base-3.5.tar.xz 5175116 SHA256 f9d080282a82edb5ebb0b17158a28a11c685ca3c5a16f4fd86db9816b40d9c4d SHA512 643ee5fc0a9fbdf049cebbc1e0953f947649e054462ff9cd6cbafbea6709546f24985f894c5094de064dabb51f88369dbc593a8027a648f77c42e9c05674b2a3 WHIRLPOOL 7c5c696a66e414af043bbf657d71440ffb85d5ef3a65800a1096b983362293b9935859d235a384c3cb6a47fd086b0124c2b419f08a37c368e71e0b1eee1bc50e +DIST gentoo-headers-base-3.6.tar.xz 5264368 SHA256 214bc04b1327980d62ecc73dacea44ca8f8261ab426cf9fd629982077c6b29b4 SHA512 d4c82826da481dcb8baba2962242cf3990f8313a5cd2785c4ba0f177ef2c9747f6bd7fc134dd24e029d42064abe6979f5e1f1e53580a74c87caadd08dda8ac53 WHIRLPOOL ed9cdd9085dbfd1b6f2a2275115670c0384353a92cc92ec410d27756d31fdfd9aad5c4784b6f5e82bca12a7e5356c00dbd774293a7abdba9dc20fc148fb2f1de +DIST gentoo-headers-base-3.7.tar.xz 5322476 SHA256 6bd75073dd2565f87e3ae03e71a2f211146a50a935b998e3f8c670b825aa3fb0 SHA512 8f74730267e7a2e914f17ab6052b0512e88c80409908b7b598093871f8ab834dd3c453b149a02bded1421a420163769c87783f43351eccd5be614856b152d939 WHIRLPOOL 5d0527ef71b4983f046828e27abb92ccb935ad0a4d34e3aa1c0618d7f580a058b2ede73189280f56638e6bac3d522519b0aa0a4a087253b8418db863e7c0e02b +DIST gentoo-headers-base-3.8.tar.xz 3585964 SHA256 ce0ccbff24c3b7472c7c5e9fb4dfad876716e40b26b192bbb075794128e92e86 SHA512 55bc78cfbef75cdaccf90f913017d54f9938a942cafb24a0054266cc5b1ddd263d3c2e06625d813531596359b7cc348e016598f2b3815cc73ab33ec4f3ac86a1 WHIRLPOOL b63b030352c801b3de4f371c49e7f475d097b5f00a5936580dab318383b72f4589c023cc84c1038c19a618b7248d9b743842207a1f2ea572a7f265c65ccaed4c +DIST gentoo-headers-base-3.9.tar.xz 3697180 SHA256 7cfb2066936dc3668d16ff8881cdb9ccec7b16f460b7c9bb753e41c1432ff9be SHA512 55ce32970d4f2750648b76dfde53250c7dd8800672a0c3831844f54e4c2ada1e20a66deb1079e4e61f2250dda929abce4db65634e0b042c3293f31a1f6d49210 WHIRLPOOL e13bec4bfd735ac156acbf6b5b6d968e30b2c2ac1963302101fc1e029e256582ce4721a6d0fdcca2d26dce461959fdb0a5b98087d5014ec2e5c1e878c489c60b +DIST gentoo-headers-base-4.0.tar.xz 3815288 SHA256 96c4ff8acc80fe6c401e0452212cd49fec50c7eccceb5b1e79e9b3a70d309318 SHA512 42e158532181dd225009a4b564cbd1d7ae00485ec4a3d56ab7cd54b6816e171b6a6a9217b9db460ceb701b473a4082f1f4f9cd7a7da6fde2bba5591d95d03fc9 WHIRLPOOL 5a9d29237f1729109dee4b9990efa339b1e953e5663a2774dac17a463d8c7f5934f4a0627a7b46496fa2127e9d9b205f673a1b32c4c77bb5b849078a39a5db5c +DIST gentoo-headers-base-4.1.tar.xz 3832284 SHA256 7abef9c950ebbc5da3f11c6b7883f1417ba429cd4d39aa7776c13c50f5c68e83 SHA512 e91ee80d31a0205f8d835931c39b4b4c085e338a3dddaf1fc179ae95a566148ba7b8a28e73e661700b834c7b2ca9b25e0a0645403d13330fd2fd887695898111 WHIRLPOOL 7cfb035b6d4cc330bce89d2025ee927758fcf20addbd8100503ccecd9e3b0be057603da96412cc1cc564698a6ffdf961a4a35f24b1a3bb822c8be1370a0751ae +DIST linux-2.4.33.tar.xz 25725956 SHA256 f5e58cc4b85cfc84accb284b9b65eec24ba637d6bacddc734948a8ca3ca75d4b SHA512 cc5b6ba5824471a81b80e973378a706882b10951ff4ff6c888e849fb5efff88cce20d2265ba5c8161605cbf87d1759851f9e4703720dd0ac339ec129985d4b0e WHIRLPOOL 7389d6adbaed5731d4f58fa6e1c3e58c65b326329c91a40ab75d50d8c5dc3c18f04aa90d30ff04bd9db90ed94079cd7efcef600bb4e000595446722bdfbf642d +DIST linux-2.4.36.tar.xz 25535188 SHA256 7850a814e5be336214b9e4b68cfcf3d03c8061b4d7b9926aac65b968435fcfbd SHA512 e203ceebf97bd4228bb680ded39d6ebc801dd77eb82bafc63802e548849f5922b5c80462ba7e0564c04d40cc777414c2cefe57d3c0024b811277d6c2dddd38d2 WHIRLPOOL ba1452d09e97a52ff2b9003a46680beba399ac6d77f690c1b19c262903018f7933b8d048106a2cd1a626c1293e4a515651ca2608365f73d14befc8faf45f7090 +DIST patch-2.4.33.3.xz 5796 SHA256 89fe1dbf5cb9513b73f9825328765c342f6054186f0b41c08b8612a6a4ad7a90 SHA512 9f6b9118f4888b34b7b20ba0d6c9ffaba547dea0f7cc93019117ad94411d9008e5513367e7da23a19e347f63ef823a493972850edd69b140d528454fa65124c9 WHIRLPOOL 75a06efb368fe5268fc0e6a625a4144dacf0e4ad3d4b6a4128e6e483dd809d294f406d96314b60138365d35397799f3d2c507f3e4eefdce17f7732eac565e55f diff --git a/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild new file mode 100644 index 000000000000..f96e356f1930 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm m68k ppc sh sparc x86" +inherit eutils kernel-2 +detect_version + +PATCHES_V="1" + +SRC_URI="${KERNEL_URI} mirror://gentoo/gentoo-headers-${OKV}-${PATCHES_V}.tar.bz2" + +KEYWORDS="-* alpha -amd64 arm hppa ia64 m68k -mips ppc ppc64 s390 sh sparc x86" + +UNIPATCH_LIST="${DISTDIR}/gentoo-headers-${OKV}-${PATCHES_V}.tar.bz2" diff --git a/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild new file mode 100644 index 000000000000..83026e9bf112 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm m68k ppc sh sparc x86" +inherit eutils kernel-2 +detect_version + +PATCHES_V="1" + +SRC_URI="${KERNEL_URI} mirror://gentoo/gentoo-headers-${OKV}-${PATCHES_V}.tar.lzma" + +KEYWORDS="-* ~alpha -amd64 ~arm ~hppa ~ia64 ~m68k -mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +UNIPATCH_LIST="${DISTDIR}/gentoo-headers-${OKV}-${PATCHES_V}.tar.lzma" diff --git a/sys-kernel/linux-headers/linux-headers-3.1.ebuild b/sys-kernel/linux-headers/linux-headers-3.1.ebuild new file mode 100644 index 000000000000..34e621be0385 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="2" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz" +[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz" + +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + has x32 $(get_all_abis) || EPATCH_EXCLUDE+=" 90_all_x32-3.1.patch" + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.10.ebuild b/sys-kernel/linux-headers/linux-headers-3.10.ebuild new file mode 100644 index 000000000000..ee58c2516a7d --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.10.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm arm64 avr32 bfin cris frv hexagon hppa ia64 m68k metag mips openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.11.ebuild b/sys-kernel/linux-headers/linux-headers-3.11.ebuild new file mode 100644 index 000000000000..bea2a6a8dbe0 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.11.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm arm64 avr32 bfin cris frv hexagon hppa ia64 m68k metag mips openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.12.ebuild b/sys-kernel/linux-headers/linux-headers-3.12.ebuild new file mode 100644 index 000000000000..bea2a6a8dbe0 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.12.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm arm64 avr32 bfin cris frv hexagon hppa ia64 m68k metag mips openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.13.ebuild b/sys-kernel/linux-headers/linux-headers-3.13.ebuild new file mode 100644 index 000000000000..b65e3b11a06d --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.13.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.14.ebuild b/sys-kernel/linux-headers/linux-headers-3.14.ebuild new file mode 100644 index 000000000000..da228e99b5e8 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.14.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.15.ebuild b/sys-kernel/linux-headers/linux-headers-3.15.ebuild new file mode 100644 index 000000000000..da228e99b5e8 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.15.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${ED}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.16.ebuild b/sys-kernel/linux-headers/linux-headers-3.16.ebuild new file mode 100644 index 000000000000..a30ade889288 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.16.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-3.17-r1.ebuild b/sys-kernel/linux-headers/linux-headers-3.17-r1.ebuild new file mode 100644 index 000000000000..fcb720125647 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.17-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="3" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-3.17.ebuild b/sys-kernel/linux-headers/linux-headers-3.17.ebuild new file mode 100644 index 000000000000..59fb325dc411 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.17.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-3.18.ebuild b/sys-kernel/linux-headers/linux-headers-3.18.ebuild new file mode 100644 index 000000000000..69e559f85269 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.18.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-3.19.ebuild b/sys-kernel/linux-headers/linux-headers-3.19.ebuild new file mode 100644 index 000000000000..560049aeb2f3 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.19.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-3.2-r1.ebuild b/sys-kernel/linux-headers/linux-headers-3.2-r1.ebuild new file mode 100644 index 000000000000..8351c29fe36b --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="3" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz" +[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + has x32 $(get_all_abis) || EPATCH_EXCLUDE+=" 90_all_x32-3.2.patch" + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.3.ebuild b/sys-kernel/linux-headers/linux-headers-3.3.ebuild new file mode 100644 index 000000000000..d2454c33f8d1 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="2" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz" +[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + has x32 $(get_all_abis) || EPATCH_EXCLUDE+=" 90_all_x32-3.3.patch" + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.4-r1.ebuild b/sys-kernel/linux-headers/linux-headers-3.4-r1.ebuild new file mode 100644 index 000000000000..99b98be1b4f5 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="2" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.4-r2.ebuild b/sys-kernel/linux-headers/linux-headers-3.4-r2.ebuild new file mode 100644 index 000000000000..41fc52402a9b --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.4-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="3" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.4.ebuild b/sys-kernel/linux-headers/linux-headers-3.4.ebuild new file mode 100644 index 000000000000..1e15db7166fc --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.5.ebuild b/sys-kernel/linux-headers/linux-headers-3.5.ebuild new file mode 100644 index 000000000000..6fb203f9debf --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.6.ebuild b/sys-kernel/linux-headers/linux-headers-3.6.ebuild new file mode 100644 index 000000000000..80dc3eff7f14 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.7.ebuild b/sys-kernel/linux-headers/linux-headers-3.7.ebuild new file mode 100644 index 000000000000..80dc3eff7f14 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.8.ebuild b/sys-kernel/linux-headers/linux-headers-3.8.ebuild new file mode 100644 index 000000000000..6fb203f9debf --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-3.9.ebuild b/sys-kernel/linux-headers/linux-headers-3.9.ebuild new file mode 100644 index 000000000000..3b7737fd24b9 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-3.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arm arm64 avr32 bfin cris frv hexagon hppa ia64 m68k metag mips openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" + #blocker was added to help transition from alsa-headers + #providing the files to linux-headers providing the same + #files. portage isn't smart enough to remove alsa-headers + #if it is already on systems +RDEPEND="!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + cd "${D}" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + headers___fix $(find -type f) + + egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h + + # hrm, build system sucks + find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f + + # provided by libdrm (for now?) + rm -rf "${D}"/$(kernel_header_destdir)/drm +} + +src_test() { + emake ARCH=$(tc-arch-kernel) headers_check || die +} diff --git a/sys-kernel/linux-headers/linux-headers-4.0.ebuild b/sys-kernel/linux-headers/linux-headers-4.0.ebuild new file mode 100644 index 000000000000..c778e380e9da --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="2" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + # Make sure no uapi/ include paths are used by accident. + egrep -r \ + -e '# *include.*["<]uapi/' \ + "${D}" && die "#include uapi/xxx detected" + + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/linux-headers-4.1.ebuild b/sys-kernel/linux-headers/linux-headers-4.1.ebuild new file mode 100644 index 000000000000..6d71287671b4 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND="app-arch/xz-utils + dev-lang/perl" +RDEPEND="!!media-sound/alsa-headers" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} +} + +src_prepare() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} +} + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null + + # provided by libdrm (for now?) + rm -rf "${ED}"/$(kernel_header_destdir)/drm +} + +src_test() { + # Make sure no uapi/ include paths are used by accident. + egrep -r \ + -e '# *include.*["<]uapi/' \ + "${D}" && die "#include uapi/xxx detected" + + einfo "Possible unescaped attribute/type usage" + egrep -r \ + -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ + -e '\<([us](8|16|32|64))\>' \ + . + + einfo "Missing linux/types.h include" + egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h + + emake ARCH=$(tc-arch-kernel) headers_check +} diff --git a/sys-kernel/linux-headers/metadata.xml b/sys-kernel/linux-headers/metadata.xml new file mode 100644 index 000000000000..0cddf5227d63 --- /dev/null +++ b/sys-kernel/linux-headers/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>toolchain</herd> +<upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-kernel/metadata.xml b/sys-kernel/metadata.xml new file mode 100644 index 000000000000..16c8a6d318c6 --- /dev/null +++ b/sys-kernel/metadata.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The sys-kernel category contains kernel source ebuilds and + kernel-related tools. + </longdescription> + <longdescription lang="es"> + La categoría sys-kernel contiene las fuentes del núcleo y herramientas + relacionadas con este. + </longdescription> + <longdescription lang="de"> + Die Kategorie sys-kernel enthält Ebuilds für Kernelquellen + sowie damit in Zusammenhang stehende Pakete. + </longdescription> + <longdescription lang="ja"> + sys-kernelカテゴリにはカーネルソースebuildとカーネル関連ツールが含まれます。 + </longdescription> + <longdescription lang="nl"> + De sys-kernel categorie bevat ebuilds voor kernelbroncode en gerelateerde + hulpmiddelen. + </longdescription> + <longdescription lang="vi"> + Nhóm sys-kernel chứa ebuild mã nguồn kernel và các công cụ + liên quan đến kernel. + </longdescription> + <longdescription lang="it"> + La categoria sys-kernel contiene i sorgenti del kernel e alcuni programmi + per la sua gestione come genkernel. + </longdescription> + <longdescription lang="pt"> + A categoria sys-kernel contém ebuilds de fonte de kernel e + ferramentas relacionadas a kernel. + </longdescription> + <longdescription lang="pl"> + Kategoria sys-kernel zawiera źródła jądra oraz związane z nimi narzędzia. + </longdescription> +</catmetadata> + diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest new file mode 100644 index 000000000000..bcccdc037742 --- /dev/null +++ b/sys-kernel/mips-sources/Manifest @@ -0,0 +1,8 @@ +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST mips-sources-3.19.0-patches-v2.tar.xz 103912 SHA256 45e4f018c89ba899db8feb976bf16dccc83c99a24fa80402f2c40a112a859b96 SHA512 b7bf9ad8073ac190cf2cb6110b798b6be2c59b193eb8762d8c4b3fe66f3519a05810a4db1f6b43cc979946f4d3827b6b43191599a9c10bac9c907f1299ff6d1e WHIRLPOOL 2bb1ff3a28e1067d225b5614580ab83b27813ef4a803d4bc83f7469763ed0c6cf8a5a0905167ac043115b7512a6af186c181d1ac139ec2fae06e877c8faa5ea2 +DIST mips-sources-4.0.0-patches-v1.tar.xz 94208 SHA256 f6a21f6f2e1136d9e1fa43dccd7b8bd76f8c44fa24c33d841c444c2e9dd03094 SHA512 4e6ff611ba1dc9d34b215a5cff44e74f0c196a83556a5eba52feff26a833de5540f9acee0cb1eb0a8b1e2ed255e24059dbde8f192c1082ab6169e44720d22a44 WHIRLPOOL 7c81bb9b5c5f5b459a763023ea36c395f8d38008ca5b0e2f2bb01a8cd53fcdef04e793e0168524cc8b3f0de44498228aa4946da7fb7cbaf3b2ce4ca78c2b6110 +DIST mipsgit-3.19.0-20150418.diff.xz 2996 SHA256 c44dc0956375ae3b56dd05f47229657479dbc76572d1457577bb59c9db19b802 SHA512 f2aae6e01d6e8f152720b46551bb980cb7fda27ac3752182ee7afccbd779565279e29c3329ac87553de374c54cf4f79374ef3022b475dddf88842864a4bd2390 WHIRLPOOL c8a4b95b78793fd5528c24f984ccbdc62ab02794c52d8a97baec7703272f20103d850628f4dcdcf6dae3be15430ef907c6455beea71b2c277a3f7635cba6be89 +DIST mipsgit-4.0.0-20150418.diff.xz 6820 SHA256 970b6ab12578dc30b770ea3157589f1015c8d28c9269ded2e16296269e8ac499 SHA512 cb8cf9d6e53ccdfe382dfba2312115860641ee638e5defc0fbe2452c0e69641ec283caef63fcc59557cefc54611005c95bc9120fb42aa6704ba1d56022b21ea0 WHIRLPOOL 8526ab03f4be1a4332028951a63f92b7e738db8d70369ce0afc18641b1da092e33bf7e1b5d32a0761450ea94f5eb1462bea0452b171c1a17de17b85d6eedaa53 +DIST patch-3.19.6.xz 202724 SHA256 8dd82b6e2daca608e18dcda50b370b089dd45a7b3915ea274b59bfe15f657026 SHA512 871d5a8a1588e0c2d313802a89bdc52d7fc2ba84d731f01c7a07fe941ae311696043ce07b85483821cf2ece910119d59ce6c432f78db51ff0c80cfa46c24842f WHIRLPOOL d777885fe82d8172aebdf64fb69af30b4aa057df2d25ce8d2804bd0b7d857ef41e3d2847a8729eca3d2ee2acdca45f6f006c733b6200cc3dae43c2e1e9e0312e +DIST patch-4.0.1.xz 4072 SHA256 9b4b47eb6584dc39aaa5db46843b83f7c60975abecbda4dc106a8722eabe96fb SHA512 3f4547c759a7ce9f75671676d9d57e516ba8a6617d1c195aa5d728bc10926e200ac4285aa2612a7e3a8f4e4f4e3038e250563f139fb4f76d0f93b73222eb7d30 WHIRLPOOL c20bdc0f434702758512b0707da4d90cd3d89fe9ae0e22e4a7a5794a17ed02e0c13b6ea0951907950aa173beccf1022fb72da2badf3bc8e5b957a7ae5d9f7d13 diff --git a/sys-kernel/mips-sources/files/eblits/err_disabled_mach-v1.eblit b/sys-kernel/mips-sources/files/eblits/err_disabled_mach-v1.eblit new file mode 100644 index 000000000000..631ca4679cc3 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/err_disabled_mach-v1.eblit @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit to check if a given machine is disabled or marked for testing. + +err_disabled_mach() { + # Get args + local m_name="${1}" + local m_abbr="${2}" + local m_use="${3}" + local is_test="${4}" + + # Get stable version, if exists + local stable_ver="SV_${m_abbr}" + stable_ver="${!stable_ver}" + + # See if this machine needs a USE passed or skip dying + local has_use + [ ! -z "${m_use}" -a "${m_use}" != "skip" ] && has_use="USE=\"${m_use}\" " + + # Print error && (maybe) die + echo -e "" + if [ "${is_test}" != "test" ]; then + eerror "${m_name} Support has been disabled in this ebuild" + eerror "revision. If you wish to merge ${m_name} sources, then" + eerror "run ${has_use}emerge =mips-sources-${stable_ver}" + [ "${m_use}" != "skip" ] && die "${m_name} Support disabled." + else + ewarn "${m_name} Support has been marked as needing testing in this" + ewarn "ebuild revision. This usually means that any patches to support" + ewarn "${m_name} have been forward ported and maybe even compile-tested," + ewarn "but not yet booted on real hardware, possibly due to a lack of access" + ewarn "to such hardware. If you happen to boot this kernel and have no" + ewarn "problems at all, then please inform the maintainer. Otherwise, if" + ewarn "experience a bug, an oops/panic, or some other oddity, then please" + ewarn "file a bug at bugs.gentoo.org, and assign it to the mips team." + fi + + return 0 +} diff --git a/sys-kernel/mips-sources/files/eblits/err_only_one_mach_allowed-v1.eblit b/sys-kernel/mips-sources/files/eblits/err_only_one_mach_allowed-v1.eblit new file mode 100644 index 000000000000..e312204329c2 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/err_only_one_mach_allowed-v1.eblit @@ -0,0 +1,15 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit informing a user when they try to apply two machine patches to the +# same tree. Most machine patches are exclusive to avoid conflicts. + +err_only_one_mach_allowed() { + echo -e "" + eerror "A patchset for a specific machine-type has already been selected." + eerror "No other patches for machines-types are permitted. You will need a" + eerror "separate copy of the kernel sources for each different machine-type" + eerror "you want to build a kernel for." + die "Only one machine-type patchset allowed" +} diff --git a/sys-kernel/mips-sources/files/eblits/pkg_postinst-v1.eblit b/sys-kernel/mips-sources/files/eblits/pkg_postinst-v1.eblit new file mode 100644 index 000000000000..a28fb8c09268 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/pkg_postinst-v1.eblit @@ -0,0 +1,19 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit that handles binpkg postinst tasks. +# In this case, it sets up the /usr/src/linux symlink. + +eblit-mips-sources-pkg_postinst() { + # Symlink /usr/src/linux as appropriate + local my_ksrc="${S##*/}" + for x in {ip27,ip28,ip30,cobalt}; do + use ${x} && my_ksrc="${my_ksrc}.${x}" + done + + if [ ! -e "${ROOT}usr/src/linux" ]; then + rm -f "${ROOT}usr/src/linux" + ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux" + fi +} diff --git a/sys-kernel/mips-sources/files/eblits/pkg_setup-v1.eblit b/sys-kernel/mips-sources/files/eblits/pkg_setup-v1.eblit new file mode 100644 index 000000000000..d9eaf60db16a --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/pkg_setup-v1.eblit @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit to check our USE flags for machine-specific flags and give appropriate +# information, warnings, or errors to the user. + +# Some machine patches are mutually-exclusive to avoid conflicts: +# Affected: ip27 ip28 ip30 +# Not Affected: cobalt ip22 ip32 + +eblit-mips-sources-pkg_setup() { + local arch_is_selected="no" + local m_ip m_enable m_name + + # See if we're on a cobalt system first (must use the cobalt-mips profile) + if use cobalt; then + arch_is_selected="yes" + [ "${DO_CBLT}" = "test" ] \ + && err_disabled_mach "Cobalt Microsystems" "CBLT" "cobalt" "test" + [ "${DO_CBLT}" = "no" ] \ + && err_disabled_mach "Cobalt Microsystems" "CBLT" "cobalt" + show_cobalt_info + fi + + # Exclusive machine patchsets + # These are not allowed to be mixed together, thus only one of them may be applied + # to a tree per merge. + for x in \ + "ip27 SGI Origin 200/2000" \ + "ip28 SGI Indigo2 Impact R10000" \ + "ip30 SGI Octane" + do + set -- ${x} # Set positional params + m_ip="${1}" # Grab the first param (HW IP for SGI) + shift # Shift the positions + m_name="${*}" # Get the rest (Name) + + if use ${m_ip}; then + # Fetch the value indiciating if the machine is enabled or not + m_enable="DO_${m_ip/ip/IP}" + m_enable="${!m_enable}" + + # Make sure only one of these exclusive machine patches is selected + [ "${arch_is_selected}" = "no" ] \ + && arch_is_selected="yes" \ + || err_only_one_mach_allowed + + # Is the machine support disabled or marked as needing testing? + [ "${m_enable}" = "test" ] \ + && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test" + [ "${m_enable}" = "no" ] \ + && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" + + # Show relevant information about the machine + show_${m_ip}_info + fi + done + + # All other systems that don't have a USE flag go here + # These systems have base-line support included in linux-mips git, so + # instead of failing, if disabled, we simply warn the user + if [ "${arch_is_selected}" = "no" ]; then + [ "${DO_IP22}" = "no" ] \ + && err_disabled_mach "SGI Indy/Indigo2 R4x00" "IP22" "skip" \ + || show_ip22_info + [ "${DO_IP32}" = "no" ] \ + && err_disabled_mach "SGI O2" "IP32" "skip" \ + || show_ip32_info + + fi +} diff --git a/sys-kernel/mips-sources/files/eblits/show_cobalt_info-v1.eblit b/sys-kernel/mips-sources/files/eblits/show_cobalt_info-v1.eblit new file mode 100644 index 000000000000..68f62cab9e49 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_cobalt_info-v1.eblit @@ -0,0 +1,21 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for Cobalt users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_cobalt_info() { + echo -e "" + einfo "Please keep in mind that the 2.6 kernel will NOT boot on Cobalt" + einfo "systems that are still using the old Cobalt bootloader. In" + einfo "order to boot a 2.6 kernel on Cobalt systems, you must be using" + einfo "the CoLo bootloader, which does not have the kernel" + einfo "size limitation that the older bootloader has. If you want" + einfo "to use the newer bootloader, make sure you have sys-boot/colo" + einfo "installed and setup." + echo -e "" +} diff --git a/sys-kernel/mips-sources/files/eblits/show_ip22_info-v3.eblit b/sys-kernel/mips-sources/files/eblits/show_ip22_info-v3.eblit new file mode 100644 index 000000000000..0d2568060e67 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_ip22_info-v3.eblit @@ -0,0 +1,21 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for IP22 (Indy/Indigo2 R4x00) users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_ip22_info() { + echo -e "" + einfo "IP22 systems with an R5000 processor should work with this release." + einfo "The R4x00 series of processors tend to be rather flaky, especially the" + einfo "R4600. If you have to run an R4x00 processor, then try to use an R4400." + einfo "" + einfo "Some Notes:" + einfo "\t- Supported graphics card right now is Newport (XL)." + einfo "\t- A driver for Extreme (XZ) does not exist at present." + echo -e "" +} diff --git a/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit b/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit new file mode 100644 index 000000000000..2f5dfefe9a99 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for IP27 (Origin 200/2000/Onyx2) users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_ip27_info() { + echo -e "" + ewarn "Heavy disk I/O on recent kernels may randomly trigger a BUG() in" + ewarn "isolate_lru_pages() in mm/vmscan.c. The exact trigger cause is" + ewarn "unknown at this time. Please report any oops messages from this" + ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)" + echo -e "" +} diff --git a/sys-kernel/mips-sources/files/eblits/show_ip28_info-v1.eblit b/sys-kernel/mips-sources/files/eblits/show_ip28_info-v1.eblit new file mode 100644 index 000000000000..f6be936f2e52 --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_ip28_info-v1.eblit @@ -0,0 +1,19 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for IP28 (Indigo2 Impact R10000) users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_ip28_info() { + echo -e "" + einfo "Support for the Indigo2 Impact R10000 is now in the mainline kernel. However," + einfo "due to the R10000 Speculative Execution issue that exists with this machine," + einfo "nothing is guaranteed to work correctly. Consider enabling ${HILITE}CONFIG_KALLSYMS${NORMAL}" + einfo "in your kernel so that if the machine Oopes, you'll be able to provide valuable" + einfo "feedback that can be used to trace down the crash." + echo -e "" +} diff --git a/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit b/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit new file mode 100644 index 000000000000..1c1a160b5c7f --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for IP30 (Octane) users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_ip30_info() { + echo -e "" + einfo "Octane boots again as-of 3.14! Celebrate!" + echo -e "" + eerror "Things that DON'T work:" + eerror "\t- SMP SUPPORT IS CURRENTLY BROKEN! I require help in getting CPU1 to" + eerror "\t\040\040'tick' properly, as it hangs up in the generic MIPS SMP code." + eerror "\t- R14000 ONLY: Do NOT use CONFIG_TRANSPARENT_HUGEPAGE on an Octane with" + eerror "\t\040\040an R14000 CPU, otherwise, when the machine starts to boot into" + eerror "\t\040\040userland, it will trigger Instruction Bus Errors (IBEs), which" + eerror "\t\040\040requires a complete powerdown of the machine for about 15 seconds" + eerror "\t\040\040to clear." + eerror "\t- Do not use CONFIG_SLUB, otherwise, you'll get errors when booting" + eerror "\t\040\040regarding duplicate /sys/kernel/slab/* entries in" + eerror "\t\040\040sysfs." + eerror "\t- Do not use OHCI-based USB cards in Octane. They're broke on this machine." + eerror "\t\040\040Patches are welcome to fix the issue." + echo -e "" + ewarn "Things that might work, but have problems, or are unknown:" + ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives" + ewarn "\t\040\040the 16550A chip on the IOC3 directly. It does not use interrupts," + ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-" + ewarn "\t\040\040intensive. The baud rate is limited to no more than 38.4kbps on" + ewarn "\t\040\040this driver. Patches for getting the Altix IOC3 serial driver to" + ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome." + ewarn "\t- UHCI Cards are known to have issues, but should still have some functionality." + ewarn "\t\040\040This issue primarily manifests itself when using pl2303 USB->Serial" + ewarn "\t\040\040adapters." + ewarn "\t- MENET boards appear to have the four ethernet ports detected, however" + ewarn "\t\040\040the six serial ports didn't appear to get picked up by the IOC3" + ewarn "\t\040\040UART driver. The NIC part number is also not read correctly" + ewarn "\t\040\040from the four Number-In-a-Cans. Additional testing would be" + ewarn "\t\040\040appreciated and patches welcome." + ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested" + ewarn "\t\040\040and are not guaranteed to work. This applies to various digital" + ewarn "\t\040\040video conversion boards as well." + echo -e "" + einfo "Things that DO work:" + einfo "\t- Impact (MGRAS) console and X driver, please report any bugs." + einfo "\t- VPro (Odyssey) console, but no X driver exists yet." + einfo "\t- PCI Card Cages should work for many devices, except certain types like" + einfo "\t\040\040PCI-to-PCI bridges (USB hubs, USB flash card readers for example)." + einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse. Please" + einfo "\t\040\040 report any problems with these devices." + echo -e "" +} diff --git a/sys-kernel/mips-sources/files/eblits/show_ip32_info-v3.eblit b/sys-kernel/mips-sources/files/eblits/show_ip32_info-v3.eblit new file mode 100644 index 000000000000..112b44c0823a --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/show_ip32_info-v3.eblit @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit with information/warnings for IP32 (O2) users. +# +# If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use +# \040 for a space instead of the standard space. These functions will strip +# redundant white space. + +show_ip32_info() { + echo -e "" + einfo "IP32 systems function well, however there are some notes:" + einfo "\t- A sound driver now exists for IP32. Celebrate!" + einfo "\t- Framebuffer console is limited to 4MB. Anything greater" + einfo "\t\040\040specified when building the kernel will likely oops" + einfo "\t\040\040or panic the kernel." + einfo "\t- A new RTC driver is included that uses the RTC class" + einfo "\t\040\040framework to interface with the O2's Dallas/Maxim 1687-5" + einfo "\t\040\040RTC chip. Please report any bugs to the MIPS Team." + einfo "\t- X support is limited to the generic fbdev driver. No X" + einfo "\t\040\040gbefb driver exists for O2 yet. Feel free to submit" + einfo "\t\040\040patches!" + echo -e "" + + if use ip32r10k; then + eerror "The R10K patch for IP32 is now updated and will apply to 3.0.x kernels." + eerror "When it did apply and booted, it was flaky at best, and didn't stay online" + eerror "for long before locking up. Don't attempt to play with this unless you" + eerror "are seriously interested in kernel hacking." + echo -e "" + eerror "We're interesting in finding anyone with knowledge of the R10000" + eerror "workaround for speculative execution listed in the R10000 Processor" + eerror "manual, or those who are familiar with the IP32 chipset and the feature" + eerror "called \"Juice\"." + echo -e "" + fi + + einfo "To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)" + einfo "systems, you need to use the ${GOOD}vmlinux.32${NORMAL} make target." + einfo "Once done, boot the ${GOOD}vmlinux.32${NORMAL} file (NOT vmlinux)." +} diff --git a/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit b/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit new file mode 100644 index 000000000000..dade9b268a6b --- /dev/null +++ b/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Eblit to handle src_unpack. + +eblit-mips-sources-src_unpack() { + # Unpack the kernel sources, update to the latest rev (if needed), + # and apply the latest patch from linux-mips git. + kernel-2_src_unpack + + # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}. + echo -e "" + cd "${WORKDIR}" + unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" + + # Create a new folder, patch-symlinks, and create symlinks to + # mips-patches in there. If we want to exclude a patch, we'll + # just delete the symlink instead of the actual patch. + local psym="patch-symlinks" + mkdir "${psym}" + cd "${psym}" + for x in ../mips-patches-${BASE_KV}/*.patch; do + ln -s "${x}" "${x##../mips-patches-*/}" + done + + # With symlinks created, setup the variables referencing external + # machine patches and if a machine USE flag is enabled, then unset + # its corresponding variable. + # See 0000_README for the patch numbers and their meanings. + local p_generic="501*" + local p_ip27="502*" p_ip28="503*" p_ip30="504*" p_ip32r10k="6001*" + use ip27 && unset p_generic p_ip27 + use ip28 && unset p_ip28 + use ip30 && unset p_generic p_ip30 + use ip32r10k && unset p_ip32r10k + + # Remove symlinks for any patches that we don't want applied. We do + # this by looping through all the above variables, and deleting + # matching symlinks that point to the corresponding patches. + # The remaining symlinks will be applied to the kernel source. + local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_ip32r10k}" + for x in $patchlist; do rm -f "./${x}"; done + + # Rename the source tree to match the linux-mips git checkout date and + # machine type. + local fkv="${F_KV%-*}" + local v="${fkv}-${GITDATE}" + for x in {ip27,ip28,ip30,cobalt}; do use ${x} && v="${v}.${x}" && break; done + mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die + S="${WORKDIR}/linux-${v}" + + # Now go into the kernel source and patch it. + cd "${S}" + epatch "${WORKDIR}/${psym}"/*.patch + + # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE + EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}" + unpack_set_extraversion +} diff --git a/sys-kernel/mips-sources/metadata.xml b/sys-kernel/mips-sources/metadata.xml new file mode 100644 index 000000000000..fe41a9022a41 --- /dev/null +++ b/sys-kernel/mips-sources/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mips</herd> + <maintainer> + <email>mips@gentoo.org</email> + <name>Mips Team</name> + </maintainer> + + <longdescription> + mips-sources are git snapshots from the Linux-Mips.org git server for MIPS-Based machines + </longdescription> + <use> + <flag name='cobalt'>Enables support for Cobalt Microserver hardware (Qube2/RaQ2)</flag> + <flag name='ip27'>Enables support for SGI Origin (IP27)</flag> + <flag name='ip28'>Enables support for SGI Indigo2 Impact R10000 (IP28)</flag> + <flag name='ip30'>Enables support for SGI Octane (IP30, 'Speedracer')</flag> + <flag name='ip32r10k'>Enables experimental support for IP32 R10K kernels (SGI O2, 'Moosehead')</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/mips-sources/mips-sources-3.19.6.ebuild b/sys-kernel/mips-sources/mips-sources-3.19.6.ebuild new file mode 100644 index 000000000000..a6e2a28a7fd6 --- /dev/null +++ b/sys-kernel/mips-sources/mips-sources-3.19.6.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# EAPI Version +EAPI="5" + +# INCLUDED: +# 1) linux sources from kernel.org +# 2) linux-mips.org GIT snapshot diff +# 3) Generic Fixes +# 4) Patch for the IOC3 Metadriver (IP27, IP30) +# 5) Patch for IP30 Support +# 6) Experimental patches (if needed) + +#//------------------------------------------------------------------------------ + +# Version Data +OKV=${PV/_/-} +GITDATE="20150418" # Date of diff between kernel.org and lmo GIT +GENPATCHREV="2" # Tarball revision for patches + +# Directories +S="${WORKDIR}/linux-${OKV}-${GITDATE}" +MIPS_PATCHES="${WORKDIR}/mips-patches" + +# Kernel-2 Vars +K_SECURITY_UNSUPPORTED="1" +K_NOUSENAME="0" +K_NOUSEPR="0" +K_USEPV="0" +ETYPE="sources" + +# Inherit Eclasses +inherit kernel-2 eutils +detect_version + +# Version Data +F_KV="${PVR}" +BASE_KV="$(get_version_component_range 1-2).0" +[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" + +# Portage Vars +HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" +SLOT="${OKV}" +KEYWORDS="-* ~mips" +IUSE="cobalt ip27 ip28 ip30 ip32r10k" +DEPEND=">=sys-devel/gcc-4.6.0" +RDEPEND="" + +# Machine Support Control Variables +DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) +DO_IP27="yes" # IP27 support (SGI Origin) +DO_IP28="test" # IP28 support (SGI Indigo2 Impact R10000) +DO_IP30="yes" # IP30 support (SGI Octane) +DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) +DO_CBLT="test" # Cobalt Support (Cobalt Microsystems) + +# Machine Stable Version Variables +SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version +SV_IP27="" # DO_IP27 == "no", IP27 +SV_IP28="" # DO_IP28 == "no", IP28 +SV_IP30="" # DO_IP30 == "no", IP30 +SV_IP32="" # DO_IP32 == "no", IP32 +SV_CBLT="" # DO_CBLT == "no", Cobalt + +DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" +SRC_URI="${KERNEL_URI} + mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz + mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" + +UNIPATCH_STRICTORDER="1" +UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz" + +#//------------------------------------------------------------------------------ + +# Eblit Handling Functions +# +# They'll likely be superseded someday by better ideas, possibly elibs. + +# eblit-core +# Usage: <function> [version] +# Main eblit engine +eblit-core() { + local e v func=$1 ver=$2 + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e="${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + [[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" + return 0 + fi + done + return 1 +} + +# eblit-include +# Usage: [--skip] <function> [version] +# Includes an "eblit" -- a chunk of common code among ebuilds in a given +# package so that its functions can be sourced and utilized within the +# ebuild. +eblit-include() { + local skipable=false r=0 + [[ $1 == "--skip" ]] && skipable=true && shift + [[ $1 == pkg_* ]] && skipable=true + + [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" + eblit-core $1 $2 + r="$?" + ${skipable} && return 0 + [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# Usage: <function> +# Runs a function if it is defined in an eblit +eblit-run-maybe() { + [[ $(type -t "$@") == "function" ]] && "$@" +} + +# eblit-run +# Usage: <function> [version] +# Runs a function defined in an eblit +eblit-run() { + eblit-include --skip common "${*:2}" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +# eblit-pkg +# Usage: <phase> [version] +# Runs the pkg_* functions AND evals them so they're included in the binpkgs +eblit-pkg() { + [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" + eblit-core pkg_$1 $2 +} + +#//------------------------------------------------------------------------------ + +load_eblit_funcs() { + # This is a sanity check to avoid QA issues. It prevents + # eblits from being referenced during metadata operations. + [ -n "${MIPS_SOURCES_EBLITS_LOADED}" ] && return + + # All are in ${FILESDIR}/eblits + # If a message for a given machine needs to change, + # then we create a new eblit and increment the + # version and reference it here. + eblit-include err_disabled_mach v1 + eblit-include err_only_one_mach_allowed v1 + eblit-include show_ip22_info v3 + eblit-include show_ip27_info v3 + eblit-include show_ip28_info v1 + eblit-include show_ip30_info v3 + eblit-include show_ip32_info v3 + eblit-include show_cobalt_info v1 + + # This makes sure pkg_setup & pkg_postinst gets into any binpkg. + # Neccessary because we can't guarantee FILESDIR is around for binpkgs. + eblit-pkg setup v1 + eblit-pkg postinst v1 + + # Eblit load complete + MIPS_SOURCES_EBLITS_LOADED=1 +} + +pkg_setup() { + load_eblit_funcs + pkg_setup +} + +src_unpack() { eblit-run src_unpack v5 ; } + +#//------------------------------------------------------------------------------ diff --git a/sys-kernel/mips-sources/mips-sources-4.0.1.ebuild b/sys-kernel/mips-sources/mips-sources-4.0.1.ebuild new file mode 100644 index 000000000000..56bf579799f6 --- /dev/null +++ b/sys-kernel/mips-sources/mips-sources-4.0.1.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# EAPI Version +EAPI="5" + +# INCLUDED: +# 1) linux sources from kernel.org +# 2) linux-mips.org GIT snapshot diff +# 3) Generic Fixes +# 4) Patch for the IOC3 Metadriver (IP27, IP30) +# 5) Patch for IP30 Support +# 6) Experimental patches (if needed) + +#//------------------------------------------------------------------------------ + +# Version Data +OKV=${PV/_/-} +GITDATE="20150418" # Date of diff between kernel.org and lmo GIT +GENPATCHREV="1" # Tarball revision for patches + +# Directories +S="${WORKDIR}/linux-${OKV}-${GITDATE}" +MIPS_PATCHES="${WORKDIR}/mips-patches" + +# Kernel-2 Vars +K_SECURITY_UNSUPPORTED="1" +K_NOUSENAME="0" +K_NOUSEPR="0" +K_USEPV="0" +ETYPE="sources" + +# Inherit Eclasses +inherit kernel-2 eutils +detect_version + +# Version Data +F_KV="${PVR}" +BASE_KV="$(get_version_component_range 1-2).0" +[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" + +# Portage Vars +HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" +SLOT="${OKV}" +KEYWORDS="-* ~mips" +IUSE="cobalt ip27 ip28 ip30 ip32r10k" +DEPEND=">=sys-devel/gcc-4.6.0" +RDEPEND="" + +# Machine Support Control Variables +DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) +DO_IP27="yes" # IP27 support (SGI Origin) +DO_IP28="test" # IP28 support (SGI Indigo2 Impact R10000) +DO_IP30="yes" # IP30 support (SGI Octane) +DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) +DO_CBLT="test" # Cobalt Support (Cobalt Microsystems) + +# Machine Stable Version Variables +SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version +SV_IP27="" # DO_IP27 == "no", IP27 +SV_IP28="" # DO_IP28 == "no", IP28 +SV_IP30="" # DO_IP30 == "no", IP30 +SV_IP32="" # DO_IP32 == "no", IP32 +SV_CBLT="" # DO_CBLT == "no", Cobalt + +DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" +SRC_URI="${KERNEL_URI} + mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz + mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" + +UNIPATCH_STRICTORDER="1" +UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz" + +#//------------------------------------------------------------------------------ + +# Eblit Handling Functions +# +# They'll likely be superseded someday by better ideas, possibly elibs. + +# eblit-core +# Usage: <function> [version] +# Main eblit engine +eblit-core() { + local e v func=$1 ver=$2 + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e="${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + [[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" + return 0 + fi + done + return 1 +} + +# eblit-include +# Usage: [--skip] <function> [version] +# Includes an "eblit" -- a chunk of common code among ebuilds in a given +# package so that its functions can be sourced and utilized within the +# ebuild. +eblit-include() { + local skipable=false r=0 + [[ $1 == "--skip" ]] && skipable=true && shift + [[ $1 == pkg_* ]] && skipable=true + + [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" + eblit-core $1 $2 + r="$?" + ${skipable} && return 0 + [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# Usage: <function> +# Runs a function if it is defined in an eblit +eblit-run-maybe() { + [[ $(type -t "$@") == "function" ]] && "$@" +} + +# eblit-run +# Usage: <function> [version] +# Runs a function defined in an eblit +eblit-run() { + eblit-include --skip common "${*:2}" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +# eblit-pkg +# Usage: <phase> [version] +# Runs the pkg_* functions AND evals them so they're included in the binpkgs +eblit-pkg() { + [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" + eblit-core pkg_$1 $2 +} + +#//------------------------------------------------------------------------------ + +load_eblit_funcs() { + # This is a sanity check to avoid QA issues. It prevents + # eblits from being referenced during metadata operations. + [ -n "${MIPS_SOURCES_EBLITS_LOADED}" ] && return + + # All are in ${FILESDIR}/eblits + # If a message for a given machine needs to change, + # then we create a new eblit and increment the + # version and reference it here. + eblit-include err_disabled_mach v1 + eblit-include err_only_one_mach_allowed v1 + eblit-include show_ip22_info v3 + eblit-include show_ip27_info v3 + eblit-include show_ip28_info v1 + eblit-include show_ip30_info v3 + eblit-include show_ip32_info v3 + eblit-include show_cobalt_info v1 + + # This makes sure pkg_setup & pkg_postinst gets into any binpkg. + # Neccessary because we can't guarantee FILESDIR is around for binpkgs. + eblit-pkg setup v1 + eblit-pkg postinst v1 + + # Eblit load complete + MIPS_SOURCES_EBLITS_LOADED=1 +} + +pkg_setup() { + load_eblit_funcs + pkg_setup +} + +src_unpack() { eblit-run src_unpack v5 ; } + +#//------------------------------------------------------------------------------ diff --git a/sys-kernel/openvz-sources/Manifest b/sys-kernel/openvz-sources/Manifest new file mode 100644 index 000000000000..c1856c43d26f --- /dev/null +++ b/sys-kernel/openvz-sources/Manifest @@ -0,0 +1,3 @@ +DIST linux-2.6.32.tar.xz 52620720 SHA256 723106c298c5ba8733bb51ecc106b05e332a18490edc5f61cc6e57dbb36dcc46 SHA512 f8570daf2806eb191fce54cc7358577b0571bb295a75bd86db630d6136b328ae48e4732554b2d1886c64b0a0018bf0b9105dcface978a5005d1b77789aa40312 WHIRLPOOL bfcb4b186f7c4b60e69674a85d20a8e92b5efd05941b550401ef446cc6b20c9ed197f920d1cd9250c0e518c05308b9225f7ababe41cdfc83570412117b2ee555 +DIST patch-042stab108.5-combined.gz 52741774 SHA256 9909c8565b17fdd5f0f6694ea1e5cfb16bba7008cd57171297dd9136fc18ea19 SHA512 ff48ccd0bb83f6ba2810dbdbb13b66b710882384d16e441ac8a8447dc1a6d2171b84a4e494fde32b5b95de73a652f74e4a8b698ccd6716e402c64b983faa593a WHIRLPOOL da80e16b2c9cc803aaa5c46175adb81f81d7b688b4360f4002ad1513217f40103465948e99417e25e046bb4b8feb725b5d53f165981f6a213997d5f40dfd3274 +DIST patch-042stab108.8-combined.gz 52745522 SHA256 3a08fe55caf39a012e00f434bbcc2fa590728186eeac4843d2937d1cd983c6a0 SHA512 dc2b8e11084d3f11fb8b9f37f1a0d444881558982c1d9d4d7716c8bbe1ca5f594d2be0954ad57d8413075e431020b87eef2d11e9783f4dc22276b9ac892368c5 WHIRLPOOL 540a101279087c9cb992803188371e2082fe3d107b8c106a2dcd82bbc3c8895388c3fb15788e71d3b3438c0830da1c7f923a547fdcabf2b867aff4ecaa83bfe7 diff --git a/sys-kernel/openvz-sources/metadata.xml b/sys-kernel/openvz-sources/metadata.xml new file mode 100644 index 000000000000..f282372a204c --- /dev/null +++ b/sys-kernel/openvz-sources/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> + </maintainer> + <maintainer> + <email>andreis.vinogradovs@gmail.com</email> + <name>Andreis Vinogradovs</name> + <description>Proxy maintainer, CC him on bugs</description> + </maintainer> + <longdescription> + OpenVZ is an Operating System-level server virtualization solution, + built on Linux. OpenVZ creates isolated, secure virtual private + servers (VPSs) or virtual environments on a single physical server + enabling better server utilization and ensuring that applications do not conflict. + </longdescription> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.5.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.5.ebuild new file mode 100644 index 000000000000..d77ef2b08d1e --- /dev/null +++ b/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +OVZ_KV="$(get_version_component_range 4).$(get_version_component_range 5)" + +CKV=$(get_version_component_range 1-3) +OKV=${OKV:-${CKV}} +EXTRAVERSION=-${PN/-*}-${OVZ_KV} +ETYPE="sources" +KV_FULL=${CKV}${EXTRAVERSION} +if [[ ${PR} != "r0" ]]; then + KV_FULL+=-${PR} + EXTRAVERSION+=-${PR} +fi +S=${WORKDIR}/linux-${KV_FULL} + +# ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed. +KV_MAJOR=$(get_version_component_range 1 ${OKV}) +KV_MINOR=$(get_version_component_range 2 ${OKV}) +KV_PATCH=$(get_version_component_range 3 ${OKV}) + +KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.xz" + +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +inherit kernel-2 +#detect_version + +KEYWORDS="amd64 ~ppc64 ~sparc x86" +IUSE="" + +DESCRIPTION="Kernel sources with OpenVZ patchset" +HOMEPAGE="http://www.openvz.org" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://download.openvz.org/kernel/branches/rhel6-${CKV}/042stab${OVZ_KV}/patches/patch-042stab${OVZ_KV}-combined.gz" + +UNIPATCH_STRICTORDER=1 +UNIPATCH_LIST="${DISTDIR}/patch-042stab${OVZ_KV}-combined.gz" + +K_EXTRAEINFO="This openvz kernel uses RHEL6 patchset instead of vanilla kernel. +This patchset considered to be more stable and security supported by upstream, +but for us RHEL6 patchset is very fragile and fails to build in many +configurations so if you have problems use config files from openvz team +http://wiki.openvz.org/Download/kernel/rhel6/042stab${OVZ_KV}" diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.8.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.8.ebuild new file mode 100644 index 000000000000..d145a19a1616 --- /dev/null +++ b/sys-kernel/openvz-sources/openvz-sources-2.6.32.108.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +OVZ_KV="$(get_version_component_range 4).$(get_version_component_range 5)" + +CKV=$(get_version_component_range 1-3) +OKV=${OKV:-${CKV}} +EXTRAVERSION=-${PN/-*}-${OVZ_KV} +ETYPE="sources" +KV_FULL=${CKV}${EXTRAVERSION} +if [[ ${PR} != "r0" ]]; then + KV_FULL+=-${PR} + EXTRAVERSION+=-${PR} +fi +S=${WORKDIR}/linux-${KV_FULL} + +# ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed. +KV_MAJOR=$(get_version_component_range 1 ${OKV}) +KV_MINOR=$(get_version_component_range 2 ${OKV}) +KV_PATCH=$(get_version_component_range 3 ${OKV}) + +KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.xz" + +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +inherit kernel-2 +#detect_version + +KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" +IUSE="" + +DESCRIPTION="Kernel sources with OpenVZ patchset" +HOMEPAGE="http://www.openvz.org" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://download.openvz.org/kernel/branches/rhel6-${CKV}/042stab${OVZ_KV}/patches/patch-042stab${OVZ_KV}-combined.gz" + +UNIPATCH_STRICTORDER=1 +UNIPATCH_LIST="${DISTDIR}/patch-042stab${OVZ_KV}-combined.gz" + +K_EXTRAEINFO="This openvz kernel uses RHEL6 patchset instead of vanilla kernel. +This patchset considered to be more stable and security supported by upstream, +but for us RHEL6 patchset is very fragile and fails to build in many +configurations so if you have problems use config files from openvz team +http://wiki.openvz.org/Download/kernel/rhel6/042stab${OVZ_KV}" diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest new file mode 100644 index 000000000000..bc7695724b5b --- /dev/null +++ b/sys-kernel/pf-sources/Manifest @@ -0,0 +1,77 @@ +DIST bfs357-penalise_fork_depth_account_threads.patch 9786 SHA256 c8ca930785b969ca24a6f8dbd63bdfbe4d07264b1c982272d50718e712d00f13 SHA512 955ce426039d32c47a88635023d2fd4661793ca061f0ff8d68b5b69740740037d4dd64d3952e7744d2936f44d265f45837f445c9a1ea7ef50a69f7c4a96bc93a WHIRLPOOL c5ff8b6ae0c1d134e0cb2d325cfd435e1428a7f4820ae1eb2f55035f1f30de71ce7b3a7049f9be44cf61f337cc291d6c8e1a3e2dfc5d12efc4dd0e733507ca0c +DIST deblob-2.6.31 83089 SHA256 5c773d6ed13af516a7eef3ac1e49c2e8355a2ba4ae34b1fc067f64f2a1e1c018 SHA512 184b6892a09a25ec8104ba5f390c896ee3d2ff140e1b2ab87f6a40ae363eb0ac6e53d84571cdd4a100c10b874124ebb754148b79e25dc316c74d01571ed51444 WHIRLPOOL 35b9a9c5b54e6e627bf640ac18b9b0207bb435e5d5fa66bb8a5dbd9e47e0f41bca4f024b4464aff8f6644fe79be83eb1979fb027b09eb1b7693f4ab7e7c0bd3b +DIST deblob-2.6.32 87081 SHA256 005d2f84037cb5fcc0c3d70e1ac26380763230fe91ae4d250ef5af08abff72a4 SHA512 f2f3f75bf3aa55276da5c1b27fa2531e51369491cbc6a07a4e76745b8fa8631a21681bc2504525734df0e6afb26c5b9910747e360a3ef6f012b0fc77ceff0ade WHIRLPOOL 6748bea8bf2687c5d4753c6ac4a809e43153a59de8a6a719a2a81b24ff9f3ee8a65ea6cc4b56b565644a81a42105d6c505b99135de1f6a2467112521e29e39ea +DIST deblob-2.6.33 89802 SHA256 bdfeed98db30ebf021ba4d04855a0c0dab9026f437ac489bbb89de4b1250980e SHA512 6af40f01b4ccf8583b0ec57ff004c616e2b691b85d3119c410ed00b429a578390eaf2436c34dd4666f89ef00e702fb45a31e2f5266c2e3af58081a48aacad4c0 WHIRLPOOL d490a8d0535e0ba170105b2f08b75ae899efd84e4b4647f43387283d798a14585c1c356197092fae5dfe24a2853ede88f36f627abe8b6017fc01ed272503da2a +DIST deblob-2.6.34 91479 SHA256 e9928c95365f4cfce99fd29f5e6b2d05c1695d82c7242c13b76eb1c8a56a634f SHA512 da35201d127018dccb918dbceb60299c7cdd1bb1ffc14fcd9d9562c859addcc9687e0d93def3288fd9ad22165d67527af528cece18b586cba730468b035bad33 WHIRLPOOL 7c9bf8324578013477d93ede430ae5da189af2451bd1c58e57060d77341caa73a389ba46d930eddd86b547c01841bcd9d6e5a66b0e396f75b2db75374c463f58 +DIST deblob-2.6.35 93556 SHA256 58a36ea1899cac2ceb1c7b545a922d7cb76c7648f86ba5224679a0a629eed469 SHA512 e7a94ba2e54def3749611cd5491a5dffd61d621bc1c9883612369082d0a215ee543732952575cd7babd447604a3e79af65bf15106d2e409dc2c347980804c369 WHIRLPOOL e59cf751f05e915a8f69c94a8748e7a5c22277ea3607fdadcf03eedd0091e9b8911748462440bb9a5d2c5576c61e89ad984b2806dd26da24d1db13e2ac2ba7d4 +DIST deblob-2.6.36 93471 SHA256 3fb2b462dddff66c22b8ebcb9bc6b89cb4019db6956cfb027fecab9956e07195 SHA512 3bba7d2267766244d63e8442a9fe7e13c2dba3a155c35a8ddeaf5a778f53fbcb9b762172120c2505295781079fbfd6b933a96e0f6c9125ba021f1e3346e89446 WHIRLPOOL 0eae16d16f0c1a5bcbf2474d4aecb6cfcc89e21ded8f283c1df0e5f1fee4963d834c487400a71cdc5932934af73205bcf772b4905bfd548f9738a2f48568ead1 +DIST deblob-2.6.37 98152 SHA256 3ae9abc6fb56415bd98bedafc91e5981d4f58c5bd5842eb3cf4a6a0116351497 SHA512 ce85dc0ddb2e5094f4a9576c1727cc159853100c1b7ff411a2b3faa4e0d6a50c5d3fe934989ae1e5d7760b22976291bb4defd588c9d77417aa8e017d28f4f034 WHIRLPOOL 534f1c7d32c77b78c8121b1f33fe817357f611ec95622d8943ec325663a45d8f633b0ee16b6c411005e5f807c9971ab727b71b1f68bc84255318d22065ec5a37 +DIST deblob-2.6.38 100442 SHA256 e77dc1df671d16e4e5afd9ce7a4210771f217847b8c48d9e4a42fc61c2055ba9 SHA512 944965c9b8ce60997d462c93521aa5c90a46f030a904e5f1ae45b569da6f937ac19862a8a3e636f8206d12b4c95bad30081898f00f98cba57d1728ed43c83786 WHIRLPOOL c7e19d710522a04f90d7551fb9eac927676524f9bdd47a659817f59f0465efd8692fd434b96a22e5276cd20eaefd844e6ed6a5196c4699b727c2c910118b60d9 +DIST deblob-check-2.6.31 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST deblob-check-2.6.32 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST deblob-check-2.6.33 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST deblob-check-2.6.34 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST deblob-check-2.6.35 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST deblob-check-2.6.36 557794 SHA256 30f0f397e6fe6b3325f415bed8390cfc218d79f1ab9cd3f203240f5b4a75435d SHA512 457b546ea874246de2573981c5b401dde5867e8d815e44d9721ea203ea6c6414e82a2a1564c2f598948f5e339d7aa56b44cb4760b347cdfbc92e057343fb0b0d WHIRLPOOL aa4677f959490e80fa3174c2ec3bea0fdbabd2e933f9d6cc16cee2c988f32256cd154d6bfd35d75a074525e7b385deccf32fe5f47e6f4b8694b84c1fae95e70a +DIST deblob-check-2.6.37 557794 SHA256 30f0f397e6fe6b3325f415bed8390cfc218d79f1ab9cd3f203240f5b4a75435d SHA512 457b546ea874246de2573981c5b401dde5867e8d815e44d9721ea203ea6c6414e82a2a1564c2f598948f5e339d7aa56b44cb4760b347cdfbc92e057343fb0b0d WHIRLPOOL aa4677f959490e80fa3174c2ec3bea0fdbabd2e933f9d6cc16cee2c988f32256cd154d6bfd35d75a074525e7b385deccf32fe5f47e6f4b8694b84c1fae95e70a +DIST deblob-check-2.6.38 557794 SHA256 30f0f397e6fe6b3325f415bed8390cfc218d79f1ab9cd3f203240f5b4a75435d SHA512 457b546ea874246de2573981c5b401dde5867e8d815e44d9721ea203ea6c6414e82a2a1564c2f598948f5e339d7aa56b44cb4760b347cdfbc92e057343fb0b0d WHIRLPOOL aa4677f959490e80fa3174c2ec3bea0fdbabd2e933f9d6cc16cee2c988f32256cd154d6bfd35d75a074525e7b385deccf32fe5f47e6f4b8694b84c1fae95e70a +DIST linux-2.6.31.tar.xz 50684132 SHA256 4ad0df33ca20f170fa0a05ad2bcf8fb18bf457aba7f909434ed13461c59be80a SHA512 0b9543896568af46bc62d6bdbc13104b449b52267c568fba016588f9da413f4e066cccbdbc92d8ffed2d2f6e5aa1ad29f07c67f1c6cea3b8905a1af52a2384d2 WHIRLPOOL b69d93538575d69a8296df5585b65da47ae8c9badbd4c25307b1e28377f2b75b065896570f4e1575de4d49bb430c15b3714882da8882ceeab6a60dd6c16776be +DIST linux-2.6.32.tar.xz 52620720 SHA256 723106c298c5ba8733bb51ecc106b05e332a18490edc5f61cc6e57dbb36dcc46 SHA512 f8570daf2806eb191fce54cc7358577b0571bb295a75bd86db630d6136b328ae48e4732554b2d1886c64b0a0018bf0b9105dcface978a5005d1b77789aa40312 WHIRLPOOL bfcb4b186f7c4b60e69674a85d20a8e92b5efd05941b550401ef446cc6b20c9ed197f920d1cd9250c0e518c05308b9225f7ababe41cdfc83570412117b2ee555 +DIST linux-2.6.33.tar.xz 54293324 SHA256 aeba7b4538df8dcb495757a36b10aa6a795ce90a4d822caa04880e801f2914b5 SHA512 0f0c0381ee4e762fb1337cfc2366071d549b1e03b50226e78bc2e71de53ec3495d2c26f37a675bba7f99cd76e5ebe85b1da4857563703d0d7254800bcbac2ff8 WHIRLPOOL b059e9cf426e3602cb6b7b5c60f29804894dac14257d7ca26bbf7d120a1d36b23a9a79b04d3f54af6ed570509a945fde5d358ad9155126e41b0735e4de102853 +DIST linux-2.6.34.tar.xz 55453544 SHA256 cc013b9ed7ba57dbeff90c79067bc2be59d952a1ccbf9918de8d368b50222cc8 SHA512 71bacd913a94648ddeb85cb3c25e8b4a9e36ee21801ee5a7da40d6af50ab696fca87ce0f9538cf077d048ed0e6d6f2c068f9882f3b801efe50e94e4502fa1261 WHIRLPOOL cc8f2651db8e6417a61ff9a155224c367d8f15b580fd5a0870f826a6a926f4e55ef1ad22cf67ab82d7cc902efc35669693e08ef061c82c8cd226c885ced2d3f1 +DIST linux-2.6.35.tar.xz 56921708 SHA256 195c14b6b2785900b1e3c051916a29bc08f4862b65a599a500aae50711fe96c1 SHA512 7fb9bd9c2a246282400333742301fb8463d21a6dc52542054eeb455c0f19e7a3462a0744aea05189cb841a017aa81521d31b865684173553a33a8bd8e2d82d4b WHIRLPOOL a3d5b4891afdec6410971c7371bcf72f48ae8711f2979298796b32f67a57e5903c1d99b50a46c6e272aa04e9d6bc2329b29607d9c4c31c87d036d8f85a9156e8 +DIST linux-2.6.36.tar.xz 58077284 SHA256 8feffb29ad70eadcac9ae70f19f455a12c58b166f82e5cac4b62fff57fc0a9f0 SHA512 9aafcb788830cb0d3ad44a5e379a3ba3d47b7580c56465dc47f5ececf13853f127cc50ee06cc16fe627cff9a363d45457c0dd89483549e3ad2a29aecb8e1f687 WHIRLPOOL a00fb4b852dae6ff1f712f4df8440dc3371cb485a63b6b03b7d45c65616026fedf3304942d01ccd84e84a4cf117dcb78718a3dd92ee0cf24cc751fc7422b26ab +DIST linux-2.6.37.tar.xz 61010856 SHA256 e6a7b1063ba71199038d55521885f284e10cf1ed75f51f6ad5bb22e54a441436 SHA512 efb384b71ff505620920841ac26c58143afb5922c62a74b3369a02f2ca13b0870c5da014595a5bbb0a2e654ed064743184e3e392544a3b15e77dbdec456e7518 WHIRLPOOL 22ac7294de93c7c84f771570655794276baee69444ddab77d51d1b481cf0bc306242bf5be3ccd891240a931f0d37f1be0e0580a50b04999eacd67e75146cf14c +DIST linux-2.6.38.tar.xz 62085248 SHA256 f49b4e9f62026db2717c975728b3e90544a9f2cab31cb6f6be0292cf32420094 SHA512 530ea948811209cf94ca19010812f7984d0e9f9efec1bc48b3cb8f9a2db7a4ae8605b309168b8ad7f9f7be71ff0243936742fe04414d8f044a79105b9b67307c WHIRLPOOL b0b75f41336c02a3668272f397a90c49619d1ea11eeb71e70eb1c071a4317766fbb65a5f0f7019bef0a6fdea8c6af818e22bcd3da4eb03fe61688000a1a209bf +DIST linux-2.6.39.tar.xz 63250520 SHA256 d3a579104e0d3154727793f4fa79b6b882ddafeded73cc8c0eb8c2536ad77373 SHA512 2a61ac5a001f1939584fb65717fec557fa5fcc4bef6e295e07e64ae7f05e2a1540161c9baee8c0d42e533f59839cca56cf92c310929db43983a1843295515d90 WHIRLPOOL cd74d876108b767f2c8182381b3f7af5603a6512af5131421fcac22b4e59268b2c1a81aa9527e673430f3fed2ba61a17fcdef08cd6f516824529506936025469 +DIST linux-3.0.tar.xz 63798008 SHA256 ef5e8c2dedb20a6eab01bb379e9982cd7d47cf95bd87c9ee3e872272e85c24b6 SHA512 d1ce2369a8f6d73043b7cd992c47953c227afa591bca31e8d5ae8a549052cc2f70c035382332335ae9cf6af2d183cc88c3a41e7f0a582c7f493b8022f82816f5 WHIRLPOOL 0ea5069df287b2d86f148b59f38193ec40d5add585213bfac3efe4aa9e250ecea96017d9c54be6004894106049eac5e8fbef1d8605fd39441795d0c88c96a1c3 +DIST linux-3.1.tar.xz 64198228 SHA256 6f220258f3ce9f11d0e53860ccc2d9fe746117056212099876dbe5ee1de80af3 SHA512 620f411907a595504decf7e8944d017dad33ee2cb0a6c2155871a57b8da230d7f064d6cca2b0ebac983ce114d0288a62b272b28218a563c15c9c1052749ee3a3 WHIRLPOOL 36178e98b4df547c5a3c3f38394773256412f577eba44b1fca4f75f2bee0d714947c27ca8dae0912de4f5cca312a2aee0be8b9d76ecdce03ca6c1dfecd792026 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.11.tar.xz 75082460 SHA256 803ec8f0ad4b2ddedcb0332a590cd2b5e10dfc57c3b1c95bc9c46af81d51d7f9 SHA512 b3680d3a45a7308383cf8634a7f1908e94f6e1c6d1cb587332a9418a95fb93bd3c73ab70c6976c7330508d7c8c6b0f43c2a9a2efde5fe1f76e9bfffb1de5686c WHIRLPOOL 96c9c27ffe155fe2c1760b53d87ef981943d58ab2dcf1ed6bd2c1e762e18bceec81d85d49c523947ec6fe52e41f25c4a86310347705c8d4b80a1748cec5b90d3 +DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 +DIST linux-3.13.tar.xz 77187032 SHA256 4d5e5eee5f276424c32e9591f1b6c971baedc7b49f28ce03d1f48b1e5d6226a2 SHA512 1ba223bb4b885d691a67196d86a8aaf7b4a1c351bf2a762f50f1b0c32da00dd0c28895872a66b49e8d244498d996876609268e64861d28ac4048886ef9f79b87 WHIRLPOOL 2992257a17e85b3eb16fcaf21678fa6dbf31f80c2099fd1ad0ff9852ac1d16122ac8e2c0b46421d8895d4368253a724e439cd625307ee7af7bd1e50cb2c9b62a +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.15.tar.xz 79676484 SHA256 c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794 SHA512 d5dc477cad4584e56e2e2ef9e0950c2b22e76e5cf5090a896ba099cb7c5e5db1853a4aeb96b199189653dc66d461557e95198e37516a619f7ddc01ba6b308e02 WHIRLPOOL 7f3dfde1a23aab75b7f40770ae2ca77c1b28f845e4abe6296b2aec9b56fe94f7afa76b00eb6cc7475305c31b726ebeb4643107dd48c12ac04c933cf1856b8e77 +DIST linux-3.16.tar.xz 80501624 SHA256 4813ad7927a7d92e5339a873ab16201b242b2748934f12cb5df9ba2cfe1d77a0 SHA512 64033e741d3f42ed06010e63e69d66e1d3d9414ef20f76834508878d4218b72619541a18ef4fd377204af2859e52198310998109b20ed9b67722586b28c9a231 WHIRLPOOL 69e5e367751185ff4e8d7c1f23c6f1e8f547fe782f581f6cf5f0bde301fa922185c8b996b815cf19fb7f14ca64042e264e87d321872ee3096adad02b1015769b +DIST linux-3.17.tar.xz 80333152 SHA256 f5153ec93c5fcd41b247950e6a9bcbc63fa87beafd112c133a622439a0f76251 SHA512 29c99764e371f7005dbbe2bbe4458b4deeae5297da7e5b719b0f29f6f018629338b608369162ae6bd76bec4d8719cf491257ac57fdd5277cce8941b7f90246a0 WHIRLPOOL 4b0ba9d997f28a317991287160c91c4e4f2245d7e08c7cb9691f67c3838bddb3ab8048b01e841e6659eceb94a269b6bde32f4ca521d999593d0e9473c8559b46 +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17 +DIST linux-3.3.tar.xz 65859432 SHA256 355df2085626cdf0083c4bc0fe3017419034b6db5cce6f437ae8234a5e90b40c SHA512 9afb624c1fccd240e6609ede225ecf4c3de1a6f008e78a2f8540963ae9b1f1428d2e7368cc0066966cd358665b754ced9166470956da31002d6df2e3e5db86cd WHIRLPOOL 595fc8e548cffbc595a5a7bedbc26265e911c5d1f202f047a785e2f6b89d1b0f341c82e9415d97b43b73313649cac72eb1432ddc81aa77d1f31f30376b5091cc +DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a +DIST linux-3.5.tar.xz 67558640 SHA256 b985ce383f0cfd940d988d4c99a84899028327aca8c29b420678241f26fdb342 SHA512 9878d6811f5972095552cf9ad2cf34e601951130d174d70da1252970a9812b01e902a30aec736d5f54c27620690335d4e749c85208f153f60d3dd9ed544090bb WHIRLPOOL 058515b5ab85a0bd0acd3a7320411eb71cf83c2015d623395e80d63de5205b3a119d52c1453de9062a63957434bb954823c7ed8463560ff39429a552687fd43d +DIST linux-3.6.tar.xz 68667080 SHA256 4ab9a6ef1c1735713f9f659d67f92efa7c1dfbffb2a2ad544005b30f9791784f SHA512 6e3354184d1799228a2d33b92e4a6b743cc24352b8ccc1fd487fab07ab97be2aa03ba87b8406a177581692db1fd40674fbd4e213a782cbe0a6a969b10c4c17a1 WHIRLPOOL 50b16de4f099e411cfc1f920f3bec57a624b3b336bb3970dcd8fffc0ba8d6ad749a36d2f6609eeca264c137e196885dcb35ab5fdeeb9b576ef216bebdc2ad028 +DIST linux-3.7.tar.xz 69736096 SHA256 60a64d0bf76eeec3355f115c577935757b84629c8c129ce5b8bb02075f6b9458 SHA512 91d65d658e9b6d0c0f03533e631ef1cc46c79ec5c1425a0914e1fe97ac4069230ee2f7d947df5cf76dd8865eb78f149d46140a3ec6509de21094ef70f27f6f61 WHIRLPOOL db9d25f5a479fef45808e85fdac9e72e5508cb94358e012f522ad5dce4b4777811ce57fd33649704400f54592c4dc3306b0099eb85fca60dd9544b8fd918ca1d +DIST linux-3.8.tar.xz 70989468 SHA256 e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b SHA512 10a7983391af907d8aec72bdb096d1cabd4911985715e9ea13d35ff09095c035db15d4ab08b92eda7c10026cc27348cb9728c212335f7fcdcda7c610856ec30f WHIRLPOOL 0c633854ad9c06df1b1d832aea9bbef76144ba88c8fccf6a3f8729101dc36838bcda6ccd444451cab19177608e7f7866f4f79cff1a8ef2bd0c893933d7f1f44c +DIST linux-3.9.tar.xz 72104164 SHA256 60bc3e64ee5dc778de2cd7cd7640abf518a4c9d4f31b8ed624e16fad53f54541 SHA512 77fa521f42380409f8ab400c26f7b00e225cb075ef40834bb263325cfdcc3e65aef8511ec2fc2b50bbf4f50e226fb5ab07d7a479aaf09162adbbf318325d0790 WHIRLPOOL 668a8de30c7c3ccf6558cf0f29570f15e37ca7d599d1453afc3cab113d1b05fbd5b32646dd9ed798ceb61405a8754345da0740a53f467b825445028cda4bc698 +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST patch-2.6.31-pf9.bz2 358306 SHA256 55106f8f17d7987e8789254d52f44e093a2ab520292d0106288d14ea4f3a1e9c SHA512 97edc491768686b868f0cb0bac5fbbec365629dc883a60a9419d34f6be2f9a7bc445d51cf935f8c54fb6f0ba1699e7b6a6d1c9a13e3145718e565802930f5bf6 WHIRLPOOL fbeb6b18e677c1e27e1c9bb894409e1b7fb6bab8d4c00d91979911616233fb5391be9a3b9a43124df7b3adc2512d2dba9ebc7118fd4385637f61b2304a507a35 +DIST patch-2.6.32-pf16.bz2 445921 SHA256 72ba0a9eb0c0dda1e553b9d0d7e450eec96cbfa625f3a3c2a8397d1ce12f7f20 SHA512 e90f12ea8527d68a96d27bcb53bc7a34a907f43dc42b60f3e09139a9b6ecd9da493f737b1a188c6e0fbd2e1d5183a653f4cf6c7045b648d9bb1d2dfdabd36721 WHIRLPOOL 442306ef06f20cabfe7b35b672f413060154ba160c5921a60200a87617e5f750ba835c239877d4899c5457c9c01e59d2027555571ca40271b86e97e764ef0369 +DIST patch-2.6.33-pf4.bz2 378325 SHA256 4b6b641746e30983ac51a20b3098053f69591861bdf0b43e3bed9df8ccf6ff70 SHA512 8769e24b55539e95b570ba933bd80edf37da0eb18e00bd290c3a793871fa7f465a14f8a763201fb24c0d9e6185722dade5d63f66da170e6a38422add84a2f057 WHIRLPOOL 32fcc05977365019473de700579a3858592e6a94e7d3baa88850722de7a57c36f17860e11c5e6fc065cc3cb0158ca49ded48562b13de77b1e2fd5d446dc41e2b +DIST patch-2.6.34-pf7.bz2 427361 SHA256 d10679183c490243f3d60070f9825653d7894b49b9cf88ca75daf846c41f0282 SHA512 107cbdfe8a44c216d8cea93afc8222cd6f66e3387f1011c64494d60a4340ca400380b016408c866193f33d11d6de7a4e902e478ef8aa9a2759c8a4b7f3381210 WHIRLPOOL e672db66ef01dbd9cc0692f48d2ad42f00a79d4b298385b72f53045ddbeecdda51da1166929aeb30ec9fae2f3efbc2ea7eb5e7c86fa773636f1dafbf4f8c342b +DIST patch-2.6.35-pf11.bz2 397185 SHA256 f5b92437f55b9d5e06821cc4aa75aec56641df9cd7610c3991f79b30c3265fc3 SHA512 a8032587cac4218f9c4498525a73d0b20587556943cc11c026bcae5551b03408feb3660b39d4243c29fee878a6a24c7b57414beac412a0aa977c5c96122960a6 WHIRLPOOL fb70d93b4413d6ba918ec3bf762ceabdd97f2db36e9448fe3e934d6c68ed29106f93f3568f545454494e87ce8e752fbfe2450b29b69434e6023491b1b68a634f +DIST patch-2.6.36-pf6.bz2 345620 SHA256 ceea90b693fc54afe9929aa7c7c820d21aa98c1447372d5282fb5f8ef4c7e638 SHA512 c80553a675ac5b494ee0c95f9f746f0ecb3c7e42cd509acfd195e4d2de4433584eca145eda63bc403363679d36c602d5a50d80486341e51ba50b68976719c8f5 WHIRLPOOL ea903d48ac88453701031bafa58079eaebb56a11ff25413c0632b8cb674013fd97d65bc855150e5ba9b71ac97c649596146e0c6722cf7a6f2ce51fef4945c19d +DIST patch-2.6.37-pf6.bz2 379823 SHA256 0ba90c8f1be582a81568f2ffdfdb3f16feae8bbc446b59174f0767e873ce177a SHA512 5ed660eb8de38f5bb816f072a47d5f57216b6de752f19c5117d13babefdd09f2a24081db2cf5be67720cead80dea2dfe32d3a1477793a6ded121d69b4c7298d4 WHIRLPOOL 5764190c888c3db6424e8f7ed2c9a4b981238b64f8979e49053c5c4697d94ba8ec442e9aa0d38eac1cae2c6c958c395eca54347f5d5c6030b413151d6cbc6181 +DIST patch-2.6.38-pf8.bz2 373278 SHA256 9067998dd697d8d4acc272c0f4fd400e93ea74cdc3a5a06a32ff9d0d2cef3bbb SHA512 cdfac85af8ca348fbf9829f5821ad8971258fcf390df37007ec025663cf93124c519cba02495ed414c541d0904d0c3a8c8773b60b2fcdb7daa6303d3ecdd385d WHIRLPOOL c1cd157c68119f93934f63aff081709fc8973da9646b7a88438d89fb315103789aa73d5615195b8325df7ebe2d35b0c901f21b2ec8416902d04b978c9f631576 +DIST patch-2.6.39-pf4.bz2 351707 SHA256 c1e977b6b12dd5b0fc110bb2bd1dc98416e656bb95c445e0995182ad9766adbb SHA512 b2f5df76077e2ac328f3aee3fa2a3715e6d3056fc5d1e0d68381b769d67ae2e196ac44fdcb7f684c23bfb168eaeb17a8cffd02b4e45e952d66aed1d896941544 WHIRLPOOL 6986b78d35e021b795e2116fb3ea56b6d2d7bd2516e2d875ad30337427a6b7990be9788fa16eec5c5fc0cf411430917d94aefde30bdfeffd46a7cd2664defa0b +DIST patch-3.0.7-pf.bz2 455906 SHA256 bde9041ee795eeddf56cb164d15355e0bf3b9ec996a8c4cbdbf8e30805e89340 SHA512 4517de33d135aefa3077f19b669b6b48cc3682c1e88acdbd392826bf1c9399a351f77d634b9d602844077a108e2fa925018ded7ddc2dc395b70aae003deda99d WHIRLPOOL 856e5e89aaacfc910bf9997159321e4b1f367b3ebd90486e629aae06f171ce6a533afcc72a97944f67c6345e97f51c70e69cf2bef4b06e18909780343dc7f2b7 +DIST patch-3.1.6-pf.bz2 424384 SHA256 bc7d0bcfa1a2fc6951dea5fa20f654e4f707cde0748e2d48a0b7b347e71e9faf SHA512 12eb1b9202dc5c649b7999f8bce3bcf8aae0b47a942665dc0c4d718d5432f762a5688c67da9ae19f7f503e9e7b7177c03a219c1d12fc2154be71f88f4e65ef66 WHIRLPOOL d99918cb085a175f89dee6af2e64f0739a1e9b85577a4d5507449ed1b2b06222809e2a0c073d706cafb86a8c1a8090a8ec3742f72ab244c0412794ca60fc89fd +DIST patch-3.10.1-pf.bz2 461428 SHA256 deeaaf781974c5120064c11e387b4dbb977c47ae3fe6b63d26cbb0dfa4157ce1 SHA512 6c5b1df29de7955c6f7159a70ebd621d0a1ae95f09abe4519817a16c6e82252a784eed39ac164005c22524f7ed4d47c9b9b0a206fd7d00b5b589e1a72fcd3ebd WHIRLPOOL 03e2b36ce686529ca9218f3df00398fd84f02b02af0a904371a3b4c60f53841e91f5ec9c295696066142c7f86c271d91a57dc1a0c37cfeac3167845e41482c8c +DIST patch-3.11.4-pf.bz2 433632 SHA256 a641ce49f6ef39baa576d58b59e5c72afe81ea87e2d881424e8443b5fad2ef21 SHA512 9a141fe2f8d32333cd2d275a33d9e6e7e3470662b5b9d3eb641c9da23f16ac6352e4af6c6b376f8a98413ddd80871e70bad83d4db26927d05ca727f08d62239d WHIRLPOOL 15b8f84b26ff048bb768a9912ac51d36f8f41ceda777feaa507832e9d4e83b27cf803c25d7a31e44b857b38edb44a3f9ef1ee1f97e75990f6481bc3d7def7f56 +DIST patch-3.12.4-pf.bz2 525325 SHA256 5244a66c3d19daa758b09ffd823f49b65a39083a3d289aefff5d8d0b2c4ee632 SHA512 23d5443890eb39a9ee3dcde0c999283b047bafbe9e6f4947ee33c7ddbef08b52151547f8edf3d495d7c37773984811ce0e188fb1163968bd529395b0cd4a98ab WHIRLPOOL 5ba0a91c344193472dfc97b7e8f916c204a4581c3955e50186bdc4a6d26a9ed6783bc378850bc3e35536a1765c6ac3890e3f101461358c254f9d490373bc6311 +DIST patch-3.13.3-pf.xz 532776 SHA256 18ed1f052326f1f89936949704c11dd235d4bd3f17c4f36458c3191027417ed4 SHA512 eecd9e5ff3e4347615b58624c56324d8566a3f28ff878e430d267814761b42d58d225e1af3b9cc886e295746f8df7848a63eb71144696ef9fd0243f43b0381a6 WHIRLPOOL 94ac8e7cf4f851ec600b53fce3d17b3388172e2cb2eb6617bc3a4deaff358a202968213599422ac8f896d9d0f782aaedf3f0f98166fa6117c5d9970a5e3767d5 +DIST patch-3.14-pf4.xz 504040 SHA256 fbbd45b73df920ef59b6171dfcfb4f78ab18c5d64ef0f82d951bd46a011bc2f8 SHA512 70cfafe0ead2862ffb336c1d4b5c03bb69377ec48bae16cb299132bded68f668425c95ef9cff135b16bff6167ef5214159a3bb82071bb17131c5929c9869cea7 WHIRLPOOL 75c086d1fa057d5fdf252ded067d9098d429c25a8cd38a4848e392880b47e0984696182d37887f069bdc9a516794f5a1fca9888132bf99b41cd1c0dc8566df27 +DIST patch-3.15-pf5.xz 470472 SHA256 4f625dc39c23bedf5e8a484704175ec0dec59d2703f674d236acda8102d686cc SHA512 dcab5bee6301499085c0e819b3f79f69be65dcb0fcf058c7da5cd467fb1e70d8b378d05d084d1016e9ec6ae6624ff57051ad7271e4f7e879068c4bafcad4a165 WHIRLPOOL 80df8a2cd89239668e4c91bf48e3e592c8a9fa530534e0f0fd7928f22041a4d96e40f335f2f7ae0ae3f3dd20cdcea628b60cb4cda536c5b88228598153a2f3bc +DIST patch-3.16-pf4.xz 536992 SHA256 cd65577aab78ae613f670a85232b4e36c0421e8e6392de5ba921464effb84f67 SHA512 73558d46706c99155553e3a2b2cf48be6151ab44ed5e1fb9d921e722d72f0d205c0a10d7c9c39de9b68fa5cff38455b65a07202e15f0efbca471e99040c655e5 WHIRLPOOL cf7fbd2c1f0608b86c3218f67005d4a21eb1490283968b3b6d925cd5037457e9a6b1940b32f18aa4e7aa4ba0264e5a23667f0bb1a84983169f33a15aec61d29f +DIST patch-3.17-pf4.xz 576592 SHA256 ff13ab8e24d8dfc38865c3a576a092ab0bddb740b223547a96aad6693bcb3c8a SHA512 572f7d80f7edf50bb87318ebed11bc2b1a3b5f0465a69d9859c4e7a9b437b1a6e5f715657a0cfc3ae82ed5ab23fb059b3f6f1723f0d1257c16bf665a969f76d5 WHIRLPOOL 1b027b97bb22d343e2b9e8a3c5af2bc670da319c99249883a31e77b02cf762667d6f481bd714be3f153e7eaa16a0efb0dd7505902aa092b9b6bc2fa9b90647f0 +DIST patch-3.19-pf1.xz 316116 SHA256 e9576c84d13c286f5a7659ad5fa0221105ebf023c2cab6ef20cff0f8c48478ef SHA512 4e9a8f28322781942b79d45a14d6c6e50dc6bf283a01cb56f25c3b9d45c31368fb008a1ff08cefea3e100bfc925c0c68cbcbc69f459bcf1124a61691812df7e4 WHIRLPOOL f4eaff894d2f3de5b0824a7428018d14945ecae27976addda6ca7fd9dd21083b2263a4d21a36c7bfa8ec9d48e8ad56988a9748a08da529a3538541a18489b20e +DIST patch-3.2.7-pf.bz2 456810 SHA256 d657ad9afa1dd7aa3b2d09c5bd75adc409cb02ac64bb4ae143c9c63ec5d1b07d SHA512 3292720582a90a1102858e4c3eed64513b14d5f90da81fd58908970e273bc97875ea3ff023cc508cf0d5d2caa971f01f5f0624bca41f6be378a756448ca066c8 WHIRLPOOL 0551fc0487cefa99ec0179086fa6a522870eddfb265f249d791132a6a9833bc38cd5eebe6a6df8ea25cb6ba853ad3df6ff8f5e739d22f6c53ca075def9944345 +DIST patch-3.3.6-pf.bz2 462804 SHA256 ae3b6eb1aa940541f99e5b4d0286e4e5f56c6134c861c064bdf91d54cf38d262 SHA512 d56860e0e2a6a4bad22b578aa68512654356877d1bdf614ba1ccf50ca24cf9c59d71a0ccab60df2caac8d593982f82e5db09827649890cc263d53ad98784f413 WHIRLPOOL ebf6504f5863f3a5b134e63f994a6f1229c0955d1980d85c29f9125341d38155effbeb35a8222b8ebed3b1451082327fa6999b5c52c5b3f84404b551a8897806 +DIST patch-3.4.6-pf.bz2 440602 SHA256 5fc96dd1c1e9d3ac214ed322edf9798b406f1b1fc61db9e5d53fe10c1587ee19 SHA512 411d07a30302382ca2bfcc8b5d609c2f434d547ef85bced3bc39fc9a2cea0dec5ab147977edb12ebce96d4693fdbb965e1e48d5f406612f244f12f34118ebe12 WHIRLPOOL 4be07284041097a20f66b7cbbecb2de3e4bca62398aae0039c1623c9e1cf02d593290c6994455bfbd50079dc5ba7f2903456184b4d97969227f721f41ce8dfff +DIST patch-3.5.4-pf.bz2 431483 SHA256 16424a61130244802cc01112af2cc1e49be8e152bc9d236c9298d9f4edac2cef SHA512 2f081a9635bec4f28dafce436c79c08a267704696eba5bbf94ac4145c85b1d832d003a810999950a8a6f0773123dd7d569434bfedaf3a1a181959b44babfb597 WHIRLPOOL 3bd97047d485a38a8f10c9f4750b5ec4f73ebefbf828314702d50918d90990ecfd6396a2b27f80a32204a02fac18e8ceb908030cbe69aaf9652472fcce5b1312 +DIST patch-3.6.12-pf.bz2 551922 SHA256 7f6faacebc171cba80aaeb2e040501df32ca06afcea85e90a64a976bfe9d5dbf SHA512 1b692f17139ab3c9a27c154dba657eac8c9ac8c8fcb796e010405a43b6ce5505f45dcfc5e7c255ed36d5b67aadda3739fced398b5a59b8d9b292ff1149a6a71e WHIRLPOOL 4b30ccc4c3edce169ec277279c8518a0bd2dc48512d871835e3f3369c05526f16768889864068a749f1100ed4e8244cca5395092e524cac730f3037c209e2024 +DIST patch-3.7.5-pf.bz2 583386 SHA256 5b712c6b3c4548ee81a2f8a8eb46fbe8d10cd473fd5c62ad280132f752ee1579 SHA512 68aaea121d1531711d65fb743292c1fe209e1aaa0dfae577bfd89576104237ea96b08f7855e24194e878c2db01dc33d70841d44093545eb63019a11fcabbe070 WHIRLPOOL 306e78db02becb6d1669482b21380358fc5471502d235c5b0fadf4125b2f233b44fd104dd26acdf1b4f10e57226c977b6238663612eb0c0cef21dbcf54d584b9 +DIST patch-3.8.2-pf.bz2 661597 SHA256 4165acb380ef59b50b455775d23d4212703678d68bddc2794beeaf5f284696e2 SHA512 2f820b0f53059a381c0b4b5e53e4c84a81458540f4fec923a9544803ed6ece8830f0dcac9903b301503a1b289c792d9eaf294c22dcf8854eb63199041ba73c4f WHIRLPOOL 2e802d2118253cbdfa37547ae9b4981389f3fb5ed34234f18bf884fd9e27343bdddfeddb3021bbadf71698213c963f857b1b63c0e08c293669411aa67511d353 +DIST patch-3.9.5-pf.bz2 607797 SHA256 b6e8976003e7c4ffa603200dda8326bbac68601489b1a451cbb5714242aaccbb SHA512 7b64e325442f8677784fee6ee5380eeb6f4dcda3a806f473ae61344e7ea2651835a237cb01c388124f6a784c0f6220c5946435a3446c254ed6aa26372873a70e WHIRLPOOL c48494ca6e4bb04a4d0a2fdf465b2be72f94c2890c3629a14c94d2373a59c772a27b546878b310cd905bdd5c882ac88a11111e053a56fdd5175637bdd8cfb696 +DIST patch-4.0-pf6.xz 463504 SHA256 e45747d19034cab60928fe5c90c570ef0d6a8a95b34b2026d9fcf94efafccd25 SHA512 2858874c1d29c8e54277085c1ba0dc1d6b144231db43dfc57ab4fb8689498e447922082853138b14664334cf566bbe58c36b8fd52df631f219856abba29bcf3f WHIRLPOOL 7fc0b016559688dd32638f5aaf481d997b1ef6e4c35a5970d6abece682ba1f23b772c7a2c2ad713fad7c0f9e6dcec4a377c1623477c3bc82a425d9c3aecce3c7 +DIST patch-4.1-pf1.xz 341256 SHA256 68d466f1ac76bb1c5faae2dd01eaea83ed2f1790800eefb9d3aaf2c891569670 SHA512 6d97975a9fbdaf5046f274a8c739e7fe6edd55d69583b593483f6867222f3c3dc5793129041149e633a4fb0d0cbff867721fa4c2c66c1304c96a4e8d5d3aba6d WHIRLPOOL 60edd299461d78a451def90e026971eec6eb19e9257ea9797f54d593628fa9bd8eddc9ff0558735438437b5b45ff9d8822b0610e8b0f8db9bbfbb27c220120de diff --git a/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch b/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch new file mode 100644 index 000000000000..ef86a3b076a9 --- /dev/null +++ b/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch @@ -0,0 +1,270 @@ +From e268337dfe26dfc7efd422a804dbb27977a3cccc Mon Sep 17 00:00:00 2001 +From: Linus Torvalds <torvalds@linux-foundation.org> +Date: Tue, 17 Jan 2012 15:21:19 -0800 +Subject: proc: clean up and fix /proc/<pid>/mem handling +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Linus Torvalds <torvalds@linux-foundation.org> + +commit e268337dfe26dfc7efd422a804dbb27977a3cccc upstream. + +Jüri Aedla reported that the /proc/<pid>/mem handling really isn't very +robust, and it also doesn't match the permission checking of any of the +other related files. + +This changes it to do the permission checks at open time, and instead of +tracking the process, it tracks the VM at the time of the open. That +simplifies the code a lot, but does mean that if you hold the file +descriptor open over an execve(), you'll continue to read from the _old_ +VM. + +That is different from our previous behavior, but much simpler. If +somebody actually finds a load where this matters, we'll need to revert +this commit. + +I suspect that nobody will ever notice - because the process mapping +addresses will also have changed as part of the execve. So you cannot +actually usefully access the fd across a VM change simply because all +the offsets for IO would have changed too. + +Reported-by: Jüri Aedla <asd@ut.ee> +Cc: Al Viro <viro@zeniv.linux.org.uk> +Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + fs/proc/base.c | 145 +++++++++++++++------------------------------------------ + 1 file changed, 39 insertions(+), 106 deletions(-) + +--- a/fs/proc/base.c ++++ b/fs/proc/base.c +@@ -194,65 +194,7 @@ static int proc_root_link(struct inode * + return result; + } + +-static struct mm_struct *__check_mem_permission(struct task_struct *task) +-{ +- struct mm_struct *mm; +- +- mm = get_task_mm(task); +- if (!mm) +- return ERR_PTR(-EINVAL); +- +- /* +- * A task can always look at itself, in case it chooses +- * to use system calls instead of load instructions. +- */ +- if (task == current) +- return mm; +- +- /* +- * If current is actively ptrace'ing, and would also be +- * permitted to freshly attach with ptrace now, permit it. +- */ +- if (task_is_stopped_or_traced(task)) { +- int match; +- rcu_read_lock(); +- match = (ptrace_parent(task) == current); +- rcu_read_unlock(); +- if (match && ptrace_may_access(task, PTRACE_MODE_ATTACH)) +- return mm; +- } +- +- /* +- * No one else is allowed. +- */ +- mmput(mm); +- return ERR_PTR(-EPERM); +-} +- +-/* +- * If current may access user memory in @task return a reference to the +- * corresponding mm, otherwise ERR_PTR. +- */ +-static struct mm_struct *check_mem_permission(struct task_struct *task) +-{ +- struct mm_struct *mm; +- int err; +- +- /* +- * Avoid racing if task exec's as we might get a new mm but validate +- * against old credentials. +- */ +- err = mutex_lock_killable(&task->signal->cred_guard_mutex); +- if (err) +- return ERR_PTR(err); +- +- mm = __check_mem_permission(task); +- mutex_unlock(&task->signal->cred_guard_mutex); +- +- return mm; +-} +- +-struct mm_struct *mm_for_maps(struct task_struct *task) ++static struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) + { + struct mm_struct *mm; + int err; +@@ -263,7 +205,7 @@ struct mm_struct *mm_for_maps(struct tas + + mm = get_task_mm(task); + if (mm && mm != current->mm && +- !ptrace_may_access(task, PTRACE_MODE_READ)) { ++ !ptrace_may_access(task, mode)) { + mmput(mm); + mm = ERR_PTR(-EACCES); + } +@@ -272,6 +214,11 @@ struct mm_struct *mm_for_maps(struct tas + return mm; + } + ++struct mm_struct *mm_for_maps(struct task_struct *task) ++{ ++ return mm_access(task, PTRACE_MODE_READ); ++} ++ + static int proc_pid_cmdline(struct task_struct *task, char * buffer) + { + int res = 0; +@@ -816,38 +763,39 @@ static const struct file_operations proc + + static int mem_open(struct inode* inode, struct file* file) + { +- file->private_data = (void*)((long)current->self_exec_id); ++ struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); ++ struct mm_struct *mm; ++ ++ if (!task) ++ return -ESRCH; ++ ++ mm = mm_access(task, PTRACE_MODE_ATTACH); ++ put_task_struct(task); ++ ++ if (IS_ERR(mm)) ++ return PTR_ERR(mm); ++ + /* OK to pass negative loff_t, we can catch out-of-range */ + file->f_mode |= FMODE_UNSIGNED_OFFSET; ++ file->private_data = mm; ++ + return 0; + } + + static ssize_t mem_read(struct file * file, char __user * buf, + size_t count, loff_t *ppos) + { +- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); ++ int ret; + char *page; + unsigned long src = *ppos; +- int ret = -ESRCH; +- struct mm_struct *mm; ++ struct mm_struct *mm = file->private_data; + +- if (!task) +- goto out_no_task; ++ if (!mm) ++ return 0; + +- ret = -ENOMEM; + page = (char *)__get_free_page(GFP_TEMPORARY); + if (!page) +- goto out; +- +- mm = check_mem_permission(task); +- ret = PTR_ERR(mm); +- if (IS_ERR(mm)) +- goto out_free; +- +- ret = -EIO; +- +- if (file->private_data != (void*)((long)current->self_exec_id)) +- goto out_put; ++ return -ENOMEM; + + ret = 0; + +@@ -874,13 +822,7 @@ static ssize_t mem_read(struct file * fi + } + *ppos = src; + +-out_put: +- mmput(mm); +-out_free: + free_page((unsigned long) page); +-out: +- put_task_struct(task); +-out_no_task: + return ret; + } + +@@ -889,27 +831,15 @@ static ssize_t mem_write(struct file * f + { + int copied; + char *page; +- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); + unsigned long dst = *ppos; +- struct mm_struct *mm; ++ struct mm_struct *mm = file->private_data; + +- copied = -ESRCH; +- if (!task) +- goto out_no_task; ++ if (!mm) ++ return 0; + +- copied = -ENOMEM; + page = (char *)__get_free_page(GFP_TEMPORARY); + if (!page) +- goto out_task; +- +- mm = check_mem_permission(task); +- copied = PTR_ERR(mm); +- if (IS_ERR(mm)) +- goto out_free; +- +- copied = -EIO; +- if (file->private_data != (void *)((long)current->self_exec_id)) +- goto out_mm; ++ return -ENOMEM; + + copied = 0; + while (count > 0) { +@@ -933,13 +863,7 @@ static ssize_t mem_write(struct file * f + } + *ppos = dst; + +-out_mm: +- mmput(mm); +-out_free: + free_page((unsigned long) page); +-out_task: +- put_task_struct(task); +-out_no_task: + return copied; + } + +@@ -959,11 +883,20 @@ loff_t mem_lseek(struct file *file, loff + return file->f_pos; + } + ++static int mem_release(struct inode *inode, struct file *file) ++{ ++ struct mm_struct *mm = file->private_data; ++ ++ mmput(mm); ++ return 0; ++} ++ + static const struct file_operations proc_mem_operations = { + .llseek = mem_lseek, + .read = mem_read, + .write = mem_write, + .open = mem_open, ++ .release = mem_release, + }; + + static ssize_t environ_read(struct file *file, char __user *buf, + diff --git a/sys-kernel/pf-sources/metadata.xml b/sys-kernel/pf-sources/metadata.xml new file mode 100644 index 000000000000..0e10e17abccf --- /dev/null +++ b/sys-kernel/pf-sources/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>wired@gentoo.org</email> + <name>Alex Alexander</name> + </maintainer> + <maintainer> + <email>hwoarang@gentoo.org</email> + <name>Markos Chandras</name> + </maintainer> + <use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + <flag name='experimental'>Apply patches that are considered experimental. For more information, + check out the ChangeLog or the ebuild that interests you.</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/pf-sources/pf-sources-2.6.31_p9.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.31_p9.ebuild new file mode 100644 index 000000000000..48f018f308cc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.31_p9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.32_p16.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.32_p16.ebuild new file mode 100644 index 000000000000..48f018f308cc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.32_p16.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.33_p4.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.33_p4.ebuild new file mode 100644 index 000000000000..48f018f308cc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.33_p4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.34_p7.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.34_p7.ebuild new file mode 100644 index 000000000000..48f018f308cc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.34_p7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.35_p11.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.35_p11.ebuild new file mode 100644 index 000000000000..48f018f308cc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.35_p11.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.36_p6.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.36_p6.ebuild new file mode 100644 index 000000000000..f130d00e4d00 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.36_p6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI} ${EXPERIMENTAL_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="experimental" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + ebeep 8 + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" + if use experimental; then + for patch in ${EXPERIMENTAL_PATCHES[@]}; do + epatch "${DISTDIR}"/"${patch/*\/}" + done + fi +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.37_p6.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.37_p6.ebuild new file mode 100644 index 000000000000..cb7056b9dd83 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.37_p6.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI} ${EXPERIMENTAL_URI}" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="experimental" + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" + if use experimental; then + for patch in ${EXPERIMENTAL_PATCHES[@]}; do + epatch "${DISTDIR}"/"${patch/*\/}" + done + fi +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.38_p8.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.38_p8.ebuild new file mode 100644 index 000000000000..2e730be974bc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.38_p8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" + #if use experimental; then + #for patch in ${EXPERIMENTAL_PATCHES[@]}; do + #epatch "${DISTDIR}"/"${patch/*\/}" + #done + #fi +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-2.6.39_p4.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.39_p4.ebuild new file mode 100644 index 000000000000..2e730be974bc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-2.6.39_p4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="${PV/_p[0-9]*}" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and LinuxIMQ" +HOMEPAGE="http://pf.natalenko.name/" + +PF_PATCHSET="${PV/*_p}" +PF_KERNEL="${PV/_p[0-9]*}" +PF_KERNEL="${PF_KERNEL/_/-}" +PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-3)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR/_p/-pf}" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" + #if use experimental; then + #for patch in ${EXPERIMENTAL_PATCHES[@]}; do + #epatch "${DISTDIR}"/"${patch/*\/}" + #done + #fi +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.0.7-r2.ebuild b/sys-kernel/pf-sources/pf-sources-3.0.7-r2.ebuild new file mode 100644 index 000000000000..2272d0d58431 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.0.7-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.1.6-r2.ebuild b/sys-kernel/pf-sources/pf-sources-3.1.6-r2.ebuild new file mode 100644 index 000000000000..35d6f00c598c --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.1.6-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" + epatch "${FILESDIR}"/2100_proc-mem-handling-fix.patch +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.10.1.ebuild b/sys-kernel/pf-sources/pf-sources-3.10.1.ebuild new file mode 100644 index 000000000000..619d4b14539a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.10.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.11.4.ebuild b/sys-kernel/pf-sources/pf-sources-3.11.4.ebuild new file mode 100644 index 000000000000..619d4b14539a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.11.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.12.4.ebuild b/sys-kernel/pf-sources/pf-sources-3.12.4.ebuild new file mode 100644 index 000000000000..458290d1f37c --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.12.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.13.3.ebuild b/sys-kernel/pf-sources/pf-sources-3.13.3.ebuild new file mode 100644 index 000000000000..34a6984d0cbe --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.13.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.14_p4.ebuild b/sys-kernel/pf-sources/pf-sources-3.14_p4.ebuild new file mode 100644 index 000000000000..2c1044aa2e4d --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.14_p4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.15_p5.ebuild b/sys-kernel/pf-sources/pf-sources-3.15_p5.ebuild new file mode 100644 index 000000000000..2c1044aa2e4d --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.15_p5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.16_p4.ebuild b/sys-kernel/pf-sources/pf-sources-3.16_p4.ebuild new file mode 100644 index 000000000000..2c1044aa2e4d --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.16_p4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.17_p4.ebuild b/sys-kernel/pf-sources/pf-sources-3.17_p4.ebuild new file mode 100644 index 000000000000..0219e46ba06c --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.17_p4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.19_p1.ebuild b/sys-kernel/pf-sources/pf-sources-3.19_p1.ebuild new file mode 100644 index 000000000000..0219e46ba06c --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.19_p1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.2.7.ebuild b/sys-kernel/pf-sources/pf-sources-3.2.7.ebuild new file mode 100644 index 000000000000..9ef99bf832e0 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.2.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog + elog "${P} has the following optional runtime dependencies:" + elog " sys-apps/tuxonice-userui" + elog " provides minimal userspace progress information related to" + elog " suspending and resuming process" + elog " sys-power/hibernate-script or sys-power/pm-utils" + elog " runtime utilites for hibernating and suspending your computer" + elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.3.6.ebuild b/sys-kernel/pf-sources/pf-sources-3.3.6.ebuild new file mode 100644 index 000000000000..9ef99bf832e0 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.3.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog + elog "${P} has the following optional runtime dependencies:" + elog " sys-apps/tuxonice-userui" + elog " provides minimal userspace progress information related to" + elog " suspending and resuming process" + elog " sys-power/hibernate-script or sys-power/pm-utils" + elog " runtime utilites for hibernating and suspending your computer" + elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.4.6.ebuild b/sys-kernel/pf-sources/pf-sources-3.4.6.ebuild new file mode 100644 index 000000000000..9ef99bf832e0 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.4.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog + elog "${P} has the following optional runtime dependencies:" + elog " sys-apps/tuxonice-userui" + elog " provides minimal userspace progress information related to" + elog " suspending and resuming process" + elog " sys-power/hibernate-script or sys-power/pm-utils" + elog " runtime utilites for hibernating and suspending your computer" + elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.5.4.ebuild b/sys-kernel/pf-sources/pf-sources-3.5.4.ebuild new file mode 100644 index 000000000000..9ef99bf832e0 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.5.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog + elog "${P} has the following optional runtime dependencies:" + elog " sys-apps/tuxonice-userui" + elog " provides minimal userspace progress information related to" + elog " suspending and resuming process" + elog " sys-power/hibernate-script or sys-power/pm-utils" + elog " runtime utilites for hibernating and suspending your computer" + elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.6.12.ebuild b/sys-kernel/pf-sources/pf-sources-3.6.12.ebuild new file mode 100644 index 000000000000..9ef99bf832e0 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.6.12.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog + elog "${P} has the following optional runtime dependencies:" + elog " sys-apps/tuxonice-userui" + elog " provides minimal userspace progress information related to" + elog " suspending and resuming process" + elog " sys-power/hibernate-script or sys-power/pm-utils" + elog " runtime utilites for hibernating and suspending your computer" + elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.7.5.ebuild b/sys-kernel/pf-sources/pf-sources-3.7.5.ebuild new file mode 100644 index 000000000000..619d4b14539a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.7.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.8.2.ebuild b/sys-kernel/pf-sources/pf-sources-3.8.2.ebuild new file mode 100644 index 000000000000..619d4b14539a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.8.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-3.9.5.ebuild b/sys-kernel/pf-sources/pf-sources-3.9.5.ebuild new file mode 100644 index 000000000000..619d4b14539a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-3.9.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo versionator + +COMPRESSTYPE=".bz2" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_FILE="patch-${PV}-pf${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +EXPERIMENTAL_PATCHES=( + # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html + # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch +) +EXPERIMENTAL_URI=" + experimental? ( + ${EXPERIMENTAL_PATCHES[@]} + ) +" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" # experimental + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-4.0_p6.ebuild b/sys-kernel/pf-sources/pf-sources-4.0_p6.ebuild new file mode 100644 index 000000000000..eedcebf04e79 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-4.0_p6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo toolchain-funcs versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_pretend() { + # 547868 + if [[ $(gcc-version) < 4.9 ]]; then + eerror "" + eerror "${P} needs an active GCC 4.9+ compiler" + eerror "" + die "${P} needs an active sys-devel/gcc >= 4.9" + fi +} + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/pf-sources/pf-sources-4.1_p1.ebuild b/sys-kernel/pf-sources/pf-sources-4.1_p1.ebuild new file mode 100644 index 000000000000..eedcebf04e79 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-4.1_p1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit readme.gentoo toolchain-funcs versionator + +COMPRESSTYPE=".xz" +K_USEPV="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" + +CKV="$(get_version_component_range 1-2)" +ETYPE="sources" +inherit kernel-2 +detect_version +K_NOSETEXTRAVERSION="don't_set_it" + +DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM" +HOMEPAGE="http://pf.natalenko.name/" + +PF_VERS="1" +PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}" +PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}" +SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI} + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}"/linux-"${KV_FULL}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${P} has the following optional runtime dependencies: +- sys-apps/tuxonice-userui: provides minimal userspace progress +information related to suspending and resuming process. +- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities +for hibernating and suspending your computer." + +pkg_pretend() { + # 547868 + if [[ $(gcc-version) < 4.9 ]]; then + eerror "" + eerror "${P} needs an active GCC 4.9+ compiler" + eerror "" + die "${P} needs an active sys-devel/gcc >= 4.9" + fi +} + +pkg_setup(){ + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_prepare(){ + epatch "${DISTDIR}"/"${PF_FILE}" +} + +src_install() { + kernel-2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + kernel-2_pkg_postinst + readme.gentoo_print_elog +} + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, +see: ${HOMEPAGE}." diff --git a/sys-kernel/raspberrypi-image/Manifest b/sys-kernel/raspberrypi-image/Manifest new file mode 100644 index 000000000000..760491c53d5e --- /dev/null +++ b/sys-kernel/raspberrypi-image/Manifest @@ -0,0 +1,8 @@ +DIST raspberrypi-image-3.10.24_pre-r20131212.tar.xz 10686516 SHA256 0e9b4af7ccfdb9a9b80d3a0996bdd522670c00412af3dd5b301fc47c2ddeaa50 SHA512 5001ac5722e91528a1c8fd83fc775afaa5d0917d4b19e0b07870c34b102de0ccae6f52eb734e2ec7f2a84fa6a6b47c1852de505382e6027a5c048dc310f7d961 WHIRLPOOL 531ae1c94bd4c0e71eb954dce64c7b8ac50e63447c2e9ad19802280b0ac26acf43f6df0eb3269563866d57a66d03e18e95fb5290e03ec43babbc2ff05047af46 +DIST raspberrypi-image-3.10.38_pre-r20140427.tar.xz 10834816 SHA256 9f00d57e4f14233329f713110991b62b3c4cb22ae5024e82dd4a6856b5667dc3 SHA512 d61c6698a4b52b77a2967ea80766519db84f61388e7e32018a3ceb5f77d8bbee24f409a79bbbfbdace2dc154d873e8a5498f3b957db836fef43f6688de84d95d WHIRLPOOL ba21788cc709e0b6e8c1f286c8e213fad6221b6ef97db6ea3e80cf08370998c0224b0272216685eabd5ff2efdaac72e256655b395a5e3f1e7a4fce6691cc2d8f +DIST raspberrypi-image-3.12.36_pre-r20150206.tar.xz 11038896 SHA256 999db53f2b0293de377db5b4fbe00a3990a0e29f4eece1c145c2a921edbfddeb SHA512 c0254bb1da52651ef6d308b3204397c441f4bf8f6272cceefde0fa1e755397b252be55d2e7e397b352b319722d9195c0b9b7fed8ae301da4fa4c0d2c04618d7c WHIRLPOOL 20e0b529bcc01902ed453b8e6f0ae152a38e61ae6b07a95e398f830a98c8d199b574ca15b46728b683139a288a5f6eabcc8a08e75c007bd5a3e1fb53263c5d46 +DIST raspberrypi-image-3.18.10_pre-r20150330.tar.xz 12976572 SHA256 ea35d0a90b06951e5919ec5a5918291e1ad1c26fb486b103b4be6f6232126556 SHA512 4a9f3ea141a4135d890d6e52867f533293f9ec9237f5be370674599f17cf4edc626ab38de5e493ae0b013e8768eaf5126b2e18662e40cb5cd4587b49ffe8547a WHIRLPOOL a88dcefdd785a68f88f8d882f7e516eb857670dae11150f2000551f9adb316b35cf17f584bce228602e5a518cbbc46c81c65e74d738cf1b5b0c24e95c26e373b +DIST raspberrypi-image-3.18.14_pre-r20150520.tar.xz 12998340 SHA256 f7d5400f06314cc174b3ff5ad57ac75bdff9d63c7a6aededfcc149bff4540eb6 SHA512 3e7721a207ea7f88e5e68af471c76948b68c1a92acb974a648b5e3ef911c63caa96646cb556323975cfce845576546812ef508bd711e674c3e0d98959e2010aa WHIRLPOOL 5bd3aa413d2f8a97ecce867780fe3a05eb28337e818335d26993db2fbabde78f9a3f64f37fe769dc1d9a73df908da473f6f61520cff40ee27edcec4464b6a1aa +DIST raspberrypi-image-3.19.3_pre-r20150327.tar.xz 12973956 SHA256 c1025b57a2423a1c2d98c136a5e332139a6734b2ddb3a605526c62d51ba1000d SHA512 5293ff2b75dc6f38f0e4dea5bb8322fdae9a799a1dc2e7f9791d8383e70e2ed39131a8e211514f74d72266b2570c8707abb735905a97f0ecf1c4ca595ac99fd6 WHIRLPOOL 0ef71e26e52014e4fba91edad94fb8bda315ecddf16108c713c4a2303e8a61de2df5626d41c2b45f7b7812252893d74fbb86c28ae1f85eb0441746924598ec93 +DIST raspberrypi-image-3.19.3_pre-r20150413.tar.xz 12976080 SHA256 e7cca8243839e80a6fe358c57289ba8c149bdd38e4f2e6a10c8d6f31b8da3743 SHA512 141e245273713f95f85c0c474fd0aaf9b01b67c412574756f6cf4d820013706160b872f0435fa139c96110c8a6b0f2d9b68f71e31ddf05964cb6fcf7014a960a WHIRLPOOL 3fe2fa6fb2284bd155458ee201130a9b3d6dc69a76033c6512f30963e3d379bbcc68e2701e8d60b88827fdbb498048934de624a0b859d468ad4b03f425679497 +DIST raspberrypi-image-4.0.4_pre-r20150523.tar.xz 13052304 SHA256 3cbe55ffccb6e7067f37b57a3bbcc7676ed89ae639f8663e17c94f0c8ec99d31 SHA512 c33517321769e5267d7084e82b54d9548bed77fed1755fd5985ac648cb5721fc462f2c062d0e003171eb4b0ccd3e5b0d7b41fc6783c6dd85f86089f54d8bbe60 WHIRLPOOL ef9359919e3da0de0edce3bacc16c70cb36fa66dc13051bde8c4dcb7c47782cd18fe8ed65ff992ae00454b109293ecbee4d71699adc78a7d17e903d1e91cd603 diff --git a/sys-kernel/raspberrypi-image/metadata.xml b/sys-kernel/raspberrypi-image/metadata.xml new file mode 100644 index 000000000000..30709ceda2f0 --- /dev/null +++ b/sys-kernel/raspberrypi-image/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="github">raspberrypi/firmware</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.24_pre-r20131212.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.24_pre-r20131212.ebuild new file mode 100644 index 000000000000..1dc67d760714 --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.24_pre-r20131212.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.38_pre-r20140427.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.38_pre-r20140427.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.38_pre-r20140427.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.9999.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.9999.ebuild new file mode 100644 index 000000000000..4c7c673e4195 --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit git-2 versionator + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +EGIT_REPO_URI="https://github.com/raspberrypi/firmware.git" +EGIT_PROJECT="raspberrypi-firmware.git" +EGIT_BRANCH="master" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="${PV}" +KEYWORDS="" +IUSE="doc" + +RESTRICT="binchecks strip" + +src_install() { + MY_PV=$(awk '{ print $3 }' extra/uname_string) + insinto /boot + local suffix + for suffix in "" "_emergency" ; do + newins boot/kernel${suffix}.img kernel-${MY_PV}${suffix}.img + newins extra/System${suffix}.map System-${MY_PV}${suffix}.map + newins extra/Module${suffix}.symvers Module-${MY_PV}${suffix}.symvers + done + + insinto /lib/modules + doins -r modules/${MY_PV} + + if use doc ; then + dohtml documentation/ilcomponents/* + fi +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.12.36_pre-r20150206.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.12.36_pre-r20150206.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.12.36_pre-r20150206.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.10_pre-r20150330.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.10_pre-r20150330.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.10_pre-r20150330.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.14_pre-r20150520.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.14_pre-r20150520.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.18.14_pre-r20150520.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150327.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150327.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150327.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150413.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150413.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-3.19.3_pre-r20150413.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-4.0.4_pre-r20150523.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-4.0.4_pre-r20150523.ebuild new file mode 100644 index 000000000000..1e4eef4c795a --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-4.0.4_pre-r20150523.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Raspberry PI precompiled kernel and modules" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz" + +LICENSE="GPL-2" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +S=${WORKDIR} + +RESTRICT="binchecks mirror strip" + +src_prepare() { + #hide kernel vectors + chmod go= boot/System* || die + # on a filesystem with permissions + mv boot/System* lib/modules/* || die + elog "System.map has been moved to $(ls -d lib/modules/*)" +} + +src_install() { + mv -v boot "${D}" || die + + dodir /lib + mv -v lib/modules "${D}"/lib || die +} diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest new file mode 100644 index 000000000000..4ecd8c3b26ad --- /dev/null +++ b/sys-kernel/raspberrypi-sources/Manifest @@ -0,0 +1,3 @@ +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST patch-3.10.1.xz 5716 SHA256 1ce8533d0142acf9bb4c2167f0317580735a3c335b7303acbbd8127d01fb73e3 SHA512 6441aacbd2a3d1f1c2925397610e7343b7ed4e6fe80d64c52a261d12bb5cb7c44bcdc6aaa8aa975eabd90d8558820dad943fa2023451aa05825979af2b026ece WHIRLPOOL 3ed54bc6ba5741a884ec098a397b251aa610aa466090a65650b233baadc8627b2898f18719e2c91a087b0d5e3e3d20735eaf7d9c4e721bf7bd672ad4b9c1478c +DIST raspberrypi-sources-3.10.1_pre-r20130719.patch.xz 1085996 SHA256 785a8227cca602d42b5c07f9d95d135fc5dc183dd418d04c6ffe3e58b64cb639 SHA512 a493a6f88844d7cd8371a6b4cf3509e0fb5ae5e0a07cb28f32d947cc42d469870f13506c0f62e3b83bca5d2ac48d17653daa1371dfd5b9bb2af9cb0831356048 WHIRLPOOL d5d49f3aa897635ad97997c55733ab09db5c8b70486e6e64f39c9e3b55ce4bec6060e5e81406644b8431acee0edf60dd5144f0d22de1bae7a6d9859f69e229cd diff --git a/sys-kernel/raspberrypi-sources/metadata.xml b/sys-kernel/raspberrypi-sources/metadata.xml new file mode 100644 index 000000000000..0f40772b7fee --- /dev/null +++ b/sys-kernel/raspberrypi-sources/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="github">raspberrypi/linux</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.1_pre-r20130719.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.1_pre-r20130719.ebuild new file mode 100644 index 000000000000..a864c3d8c77a --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.1_pre-r20130719.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +UNIPATCH_LIST="${DISTDIR}/${PF}.patch.xz" +CKV="3.10.1" +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" +# from github.com/rasperrypi/firmware/extra/git_hash +# MY_COMMIT="b04d3b1874" +# https://github.com/raspberrypi/linux/tarball/${MY_COMMIT} -> +# raspberrypi-sources-${MY_COMMIT}.tar.gz +SRC_URI="${KERNEL_URI} + http://dev.gentoo.org/~xmw/${PN}/${PF}.patch.xz" + +KEYWORDS="~arm" diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.9999.ebuild new file mode 100644 index 000000000000..1144e449e855 --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.10.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="" + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.12.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.12.9999.ebuild new file mode 100644 index 000000000000..1144e449e855 --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.12.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="" + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.14.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.14.9999.ebuild new file mode 100644 index 000000000000..ae80e7ac6b75 --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.14.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="" + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.18.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.18.9999.ebuild new file mode 100644 index 000000000000..9e7224829a8d --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.18.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="" + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.19.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.19.9999.ebuild new file mode 100644 index 000000000000..9e7224829a8d --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-3.19.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" + +DESCRIPTION="Raspberry PI kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="" + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/rsbac-sources/Manifest b/sys-kernel/rsbac-sources/Manifest new file mode 100644 index 000000000000..aaefbd6c5bf3 --- /dev/null +++ b/sys-kernel/rsbac-sources/Manifest @@ -0,0 +1,4 @@ +DIST genpatches-3.10-13.base.tar.xz 220108 SHA256 cc2c91b479e7dd78e5a793e220b4f4d067d8bb2cd89e84c35f82612eba2a62c2 SHA512 01a1b73bcf6ee1add8a307dd23e39cd0f8ef4798c6ccea42e676ac2dc8f8c2cb3e0c3802d80b5800c9c607f318aa63feaef90ae95375d29e664ce8d9c02ea671 WHIRLPOOL c938d8aa11eb2e701c6bff69301253e896c6c65f5f6c5da3cd1737e376fb2ef50aac5b80e1d0e4110298e17ab4c06db3e395e1e882b189a141412e41d83f3f01 +DIST genpatches-3.10-13.extras.tar.xz 17732 SHA256 aaec50b87931d58b16a0ca1a920e59baee9256fc2465a5ee9a3b9e7dde6d1a81 SHA512 9e30d1ff47600c85d655ffb6f4caefec5140550b517b6c97a5c668e93bc8c0dbd13dc12952f64c8070d3636860bcd41b7d9b428815a5cfed37a1228c646f3785 WHIRLPOOL dd80d37ca76da035dfdc457cd40f5bfb2b8398d604bec8ed0be27619a33ef68af5a02c93d604b6c7b322aab5aec9d9b11b0b2c628c959c562220082b18c65b72 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST patch-linux-3.10.7-rsbac-1.4.7.diff.xz 382900 SHA256 57b283ac21ed14b61d4ccc672d3317f10abc4f1ac8e80ee3f6269d00e51ea1d2 SHA512 37ff26f5cef201c46cd8b585cf2c8cc7a1f4f3bc7d8eb7e112bdeecf10483325517921323917f76d63209b43707dde514e7a263f85328fd2ead0a1af7fd3e746 WHIRLPOOL 7038853c1503d521df51acc64ea295e683a12e970db6444ec765d3578ab881da7a9188aa1c54811065260ca230b8432d0aac7cac2621e838fe13ed3a355e1a96 diff --git a/sys-kernel/rsbac-sources/metadata.xml b/sys-kernel/rsbac-sources/metadata.xml new file mode 100644 index 000000000000..71cf2783bbf8 --- /dev/null +++ b/sys-kernel/rsbac-sources/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <herd>hardened</herd> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <longdescription> + RSBAC patched kernel from http://www.rsbac.org/ + </longdescription> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/rsbac-sources/rsbac-sources-3.10.7.ebuild b/sys-kernel/rsbac-sources/rsbac-sources-3.10.7.ebuild new file mode 100644 index 000000000000..11e93b604098 --- /dev/null +++ b/sys-kernel/rsbac-sources/rsbac-sources-3.10.7.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="13" + +inherit kernel-2 +detect_version + +RSBC_VER="1.4.7" +RSBC_PATCH="patch-linux-${PV}-rsbac-${RSBC_VER}.diff.xz" + +HGPV_URI="http://download.rsbac.org/patches/${RSBC_VER}/${RSBC_PATCH}" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/${RSBC_PATCH}" +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="RSBAC kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="" + +KEYWORDS="~amd64 ~x86" diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest new file mode 100644 index 000000000000..4af2a058f977 --- /dev/null +++ b/sys-kernel/rt-sources/Manifest @@ -0,0 +1,15 @@ +DIST deblob-3.14 121249 SHA256 980400e0db952ccdb5a507f99444330af893ed0f8a7a052916fcf0c2b2631f7e SHA512 2cbdf4f3947c12ade0931f0b3fb8b9c0312626a3bfea9d1c7d8d1d875b4673624ed3a6369653521998bbea0cde6730b573d6be918d052f1b553e093cb42a838f WHIRLPOOL 7ba1738ac829d8848104843da6237576f235c0151d53944ff3a7e0308cfb91600ffb9253402a34c2ed106c5b0bb3ce36785ead990396465341a957c58319221c +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-check-3.14 613905 SHA256 4c69ea1c225b1a84c41e75392dcaa94f77dd8e647aff3afe52f1ab16ac99c5e5 SHA512 4dd7e785727ce29d78f5f68431fcb6ea9dfda5221dc8e699f40d13e3c85411707b13c288d23f8baa6b3c47f5a67ac58da0a7f1a51c4d9fdda82a7428ead88cf4 WHIRLPOOL de1b67955662f072193f58b7e7dbd98c6680958c2d65632bfb831dc0681945a4d1c27abe978e6ee687ae8f48773eb71c2f9026f461377b28235e7f7e39832a67 +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST patch-3.14.46-rt46.patch.xz 166044 SHA256 769c320b221aa8507b8714c146894015b4a36d2f2c64c28d361d0d1fcc516bb2 SHA512 da1ab0e12f2b8a277ce48c351a59b628094472e73297867a8d20fadf60ed70340cfaa5c19eb8b2c83b9514decae78ed4a6ae3b7de10766ccbaf09aad1c140b27 WHIRLPOOL 2ab1cf65b3d4296b341a8ddda5f4e7c458ceb26ce9b12e86a1e99ce8d639880e5178f89cff5c37e3abbc5894e34c1725a15b2fb6b7c297357f9d8a35ea12e3e5 +DIST patch-3.14.46.xz 920632 SHA256 06bda2457a41d28c7b782739e85bd9074b29cb2bf28fd9d18a0b797c958175ad SHA512 d5a5af3d81313932adb90d74e4d3999e73c86a11dc42d2928304bb51b87dd237ef33005de2fecb6971e11aac7fe55d4ef3dd35b82fbc1e530d772c0d1363d987 WHIRLPOOL 24c5f9397acc734af43a7ee35cfb3c2346f57fdb0c3fac09b6353050b9fc555216fdbee93f7ac345081979a9365f6e8f1aac658da4fa9d175d379d9a6ebca005 +DIST patch-3.18.17-rt14.patch.xz 156584 SHA256 1e93fa3e05a23d9b4b8c89074898c7f45844611d94cc85c6ef88ac4394816a18 SHA512 9f1c1bed08cd4fd9b47386a3ab0df2c960e034cf3b55736d9ff2bcdf30c6630bf4a2abac2a41ab872b94b411f07a2d6336d3e4960db082a6befc1d1bcef078cd WHIRLPOOL eb9a785a09925ba651ab99de597c9413499f6ef763def71a04c512984d9bd95d1f5cdebcf157fb269cd84c156a87092be8973b6828d3a662a4b56d9a91b90b60 +DIST patch-3.18.17.xz 510700 SHA256 190b769580a766add68c3e3a8878a725b36fe6877991f3af0cb4a1d6b5eeccf8 SHA512 03a78cc7b72150570fd0f24ad44f491dc57913e0675f31b7322af8ccbf41deea05a0b04c7058f9c85352cb03a976b3817d3544d8c690cc67e26ec08672c09afa WHIRLPOOL 74a3d589e16a52252520e3a8be72190505197fcee921349d79343585ca3dfe27cf5cb81407cc5bf08a98753dbc99c9c7e751098f842dbfd919da4d94adf03d8c +DIST patch-4.0.5-rt4.patch.xz 166564 SHA256 9503166ca9cfc71b3d05d3c86a650a42f730f28d62eb04e77443d67a70f5d2df SHA512 e4655337a4ca6fa3ecd21c590446367e4755e0089352a9a7db87c7f20e360ce4dc84c5e34f4c99b25e8489cafbbf9019cff084caaa2fcfae91a90b7eb37ef60c WHIRLPOOL 4a1df242fe31387419cbb80a214f1996c4d4e3658787a1dcf5c44b16eebc8e16acd5b8c061e749d129970032b0a3333f8198a4357f5812670172f8680a4e64d7 +DIST patch-4.0.5.xz 154204 SHA256 60b691210a9e412710e29eac6468d64b6c4d1efc53a6e22878dd51044001adf0 SHA512 377371371752eb706053282ee296f82b3af0c3cf84c346091b1e347c8d00fcf6787c5b51c76955af3f61e9c20c30035b110368ee3ba2587871f0dbc92826de32 WHIRLPOOL af2a7e0c805beeff1a235d8a6958d1251524e02c2c5b0302d0e45e77695f95183ab43f6cfd55f973e6d22ae3da8bd6829e6f180945480d1ed8a3ab5f6c3e6777 diff --git a/sys-kernel/rt-sources/metadata.xml b/sys-kernel/rt-sources/metadata.xml new file mode 100644 index 000000000000..b82b40d0ff32 --- /dev/null +++ b/sys-kernel/rt-sources/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>psomas@gentoo.org</email> + <name>Stratos Psomadakis</name> + </maintainer> + <maintainer> + <email>eric-f.garioud@wanadoo.fr</email> + <name>Eric F. GARIOUD</name> + </maintainer> + <longdescription> + Real-time patchset for the Linux Kernel + </longdescription> + <use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/rt-sources/rt-sources-3.14.46_p46.ebuild b/sys-kernel/rt-sources/rt-sources-3.14.46_p46.ebuild new file mode 100644 index 000000000000..010dcb90d6d0 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-3.14.46_p46.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64" + +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/projects/rt/" + +inherit versionator + +CKV="$(get_version_component_range 1-3)" +K_SECURITY_UNSUPPORTED="yes" +K_DEBLOB_AVAILABLE="1" +RT_PATCHSET="${PV/*_p}" + +inherit kernel-2 +detect_version + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz" +RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \ + mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch" +SRC_URI="${KERNEL_URI} ${RT_URI}" + +KV_FULL="${PVR/_p/-rt}" +S="${WORKDIR}/linux-${KV_FULL}" + +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}" +UNIPATCH_STRICTORDER="yes" + +pkg_postinst(){ + + ewarn + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the RT project developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds." + ewarn +} + +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/rt-sources/rt-sources-3.18.17_p14.ebuild b/sys-kernel/rt-sources/rt-sources-3.18.17_p14.ebuild new file mode 100644 index 000000000000..010dcb90d6d0 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-3.18.17_p14.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64" + +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/projects/rt/" + +inherit versionator + +CKV="$(get_version_component_range 1-3)" +K_SECURITY_UNSUPPORTED="yes" +K_DEBLOB_AVAILABLE="1" +RT_PATCHSET="${PV/*_p}" + +inherit kernel-2 +detect_version + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz" +RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \ + mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch" +SRC_URI="${KERNEL_URI} ${RT_URI}" + +KV_FULL="${PVR/_p/-rt}" +S="${WORKDIR}/linux-${KV_FULL}" + +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}" +UNIPATCH_STRICTORDER="yes" + +pkg_postinst(){ + + ewarn + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the RT project developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds." + ewarn +} + +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/rt-sources/rt-sources-4.0.5_p4.ebuild b/sys-kernel/rt-sources/rt-sources-4.0.5_p4.ebuild new file mode 100644 index 000000000000..010dcb90d6d0 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-4.0.5_p4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64" + +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/projects/rt/" + +inherit versionator + +CKV="$(get_version_component_range 1-3)" +K_SECURITY_UNSUPPORTED="yes" +K_DEBLOB_AVAILABLE="1" +RT_PATCHSET="${PV/*_p}" + +inherit kernel-2 +detect_version + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz" +RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \ + mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch" +SRC_URI="${KERNEL_URI} ${RT_URI}" + +KV_FULL="${PVR/_p/-rt}" +S="${WORKDIR}/linux-${KV_FULL}" + +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}" +UNIPATCH_STRICTORDER="yes" + +pkg_postinst(){ + + ewarn + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the RT project developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds." + ewarn +} + +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \ +${HOMEPAGE}." diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest new file mode 100644 index 000000000000..88e4f755f8b1 --- /dev/null +++ b/sys-kernel/spl/Manifest @@ -0,0 +1,13 @@ +DIST spl-0.6.0-rc13.tar.gz 210192 SHA256 500d9c9297f2b7abdc4fce43efe05dddda2edbe403f9ca76d01ae632f798ee1f SHA512 630b63c15e98ada397bc8b8a1a5b6a48255ffa5d7fad8dd0ed9ad7fbede32f3557651effcc99234ffef1a1b9bb13e289c0ca5a2cf60307e0a57ac3a93b709f6b WHIRLPOOL 9330dd1567421e610a714b69d096bbae66c102baaf90fa3daed45cc1a2928eb3dd0e8537f3cf83a7fb2b157bf52ff37b031bcf6c9f52760acd6e480ad335b69a +DIST spl-0.6.0-rc14.tar.gz 210495 SHA256 92785e2c2c6caf93ec31175e192a18b27458613a99e6578041f6029875b061e3 SHA512 85d066a97d62ce60f60c552d121c20d5a719e95e0eb6d7ec1b10e29acca1e3429a751bcbb811e9cee2a14282c8908684cb9ee0df9cbc8e53ddfe47da18df4cf9 WHIRLPOOL 6473236476dd9a2d392e2f71fee6810ed83e68f309d1eaaa5fbad1f73ae567ad629db97a2bc81a4ad9e28991f4be3d4100c1b9ab0f65941206afe6e5b03f64ab +DIST spl-0.6.1.tar.gz 213191 SHA256 24d73eeeb0b08bcc162342c5236f116b90ed0a2e69344ae34de744f61c2e3663 SHA512 116117235b4730b5e7041107188747fa2872fb204a08d67a03e1ec95d6302ca57aa17edd12e6f9284492a844e60d446a25d1172d7a2ce53075c36bd889879b31 WHIRLPOOL 4554eb9ba4a2b60fbfc7d73ada4b5c7ce20b26d6655f0a8d9fe5479d11124acc27cf2ba6eab5af4e4a08c886b06687dcbb656322c8e26c43f07b4066770f9a4d +DIST spl-0.6.2-p0.tar.xz 3740 SHA256 e07570e0141d0563f38c0eb48c2a43432720f03e805ed0bbc16b657826f8f0fb SHA512 512690cbde850e57b25bdff633efb33838d08591c1923cf8e01d15e0b84e7730fc12f7d64dc39c90d1a6d74e8e344065b86465d2d7651ed4974baa5c99aecca8 WHIRLPOOL 10944742881f92d041f7ed3054cf6a22373919a6a469b2ef6c4e83772c8197139339b8994f4bcbd449b4f33e629854a51240f6dad77bc5e690b76b9f7acac0ba +DIST spl-0.6.2-p1.tar.xz 6552 SHA256 1784bccdd889dc7e2caa0b37a57d98d3db1b451043238b8c3b8af5da4bd84964 SHA512 12ae76e28a8fbf2d7051049be8a9226230a85b7cf8126839b3c285d7af01a7e4a12dbad33c94ed1edd2cbd9fa0392e9df499522f356dc1329579e76debeb7099 WHIRLPOOL 7c04bc7ae60f830b8c44ea2472a006a5cd81c8e0c3cafbf919f5d6e8088498362ea60c44c93b63af32e54c56b958e9edb35e8c37192efb6189d0da9d280f4e1c +DIST spl-0.6.2-p2.tar.xz 8264 SHA256 2fb106eda86a19aa01ff33a74bc71e84facba82f67efb23cfbeb9f90d0653a93 SHA512 1f2484637a624e37859da8295f6301f755cf7abd3c4e4c4db815bc430e0adf03a26432d5004c76715869301a4dcf2affe789ed8c1b1a62dd97ca6f5a8d45abc3 WHIRLPOOL d3e335c30032082634668a259bec43ab72cd12da2f21b6fc83ad3bf2a2f93048edb7fd95a6f5bf09249eed178f0d34c016a96a1d7b2dc28298183fd535a1be18 +DIST spl-0.6.2-p3.tar.xz 8676 SHA256 8544b8f4bcbb29b61cae58d750fc442683a1ed200b58d90c7e0886eb812b3dc2 SHA512 a298765a1cb396192a08b2f8e4a1cffdbf50e3b720ae48b262958659386efa0ad4fc4550192c8bf672abc5a1c309ff2b1b6d64307bfb0ab29023a0adfa9ac858 WHIRLPOOL ca9e97e0fb52b5506fd3f410ef00fab05cfb01aed4727702c52e31f527967ae6c22d8bafb8f8faf039e937f5f32d446ef05c04e0adf0b8c8acfe26ff18507a75 +DIST spl-0.6.2-p4.tar.xz 9076 SHA256 8b434bb53da79c5adb5339b36bddf4d19c4e8d5df7a8a5d2a4ca1bcf7336094e SHA512 77ca1ce0235edb85cf36243ad45710ee8759dcc49bacddc661a986d558eb9cd92671ce256c88287e056732882a038b12bb0d9ae131229819702a06de18c50bc1 WHIRLPOOL afc335ba0a7d24a610f272e6a65460326b91ab91652bf66525e14110a811b2490de65847560989f793aab8d473794c56836e438cb7f1e19d4e253373178f0a72 +DIST spl-0.6.2.tar.gz 215032 SHA256 a8147eaba030ca71bf8c47b46a2c7ae92f9b4ef60aa8ccfa7368f395faeb85ac SHA512 ef5b77046259ec754e0a41f90b51c27207bf91e832d54a8502232b19cfaff711de301f24945ca739faeac2544b3ef22a57f58cf6298d756a1ebaff06f765b8a9 WHIRLPOOL ab7229691a6f56ab3f98513fd0e32048c11dd7cf3ea61e438bac2d97ebd8cd92eeeb422ef1c4e639572feb3e8f69c0840b861f654ca31de481601ef54295be37 +DIST spl-0.6.3-patches-r1.tar.xz 15996 SHA256 7f1cf74c9be5c14eeff529ce0a45d7dcca33cc08e5b9e7d17fc79dd5a58719d7 SHA512 6eeee3a18466bbe8ca903910d807a3242bff0c12848d4fc6e226fe40592cd6cd9109bc5ee301867f0512b5cf2ad28eab2988e261c69fd200c5dd6eb6d8027b2c WHIRLPOOL 93578cfa435dc343edc8087a0d49aa90ddc457bf75292b0c10ce30836e00f27ea0c4768a62270a6ec559238b778ccfcde71c15740a8242f9f93c7d84934c5f72 +DIST spl-0.6.3.tar.gz 221430 SHA256 5d60dfbe86a50e65dbce17f538d8d0874a0cc293374f59eed46cd2dd1809a944 SHA512 c4b82f1e279c7581d0082c044157e8a933edf53233c8c7c8202117454cfda0473ab85fbb56ac0b6da09a4d6798e33020a9c55bf23e25d630efa3265545c3defc WHIRLPOOL eaf001a96a80264e16ce416da38b988eabbfd2fce17690151a496a3141c32e92e5d00791e2d9c009ae0cf6910f80434c10f02a700752fc664f6bf6723bb03dba +DIST spl-0.6.4.2.tar.gz 190421 SHA256 05c428f48acc55287c0662a90cfc087985b8ef3694dc057cfb16e1fa2ebbda43 SHA512 6a295651622dd1819bc9ef8f693c6a3cf73dbb084a4789ad508dda644bfcaa1984c5487ea0e16c8d6d468da59a3fae2e9309b2b13cd869a4af4ea675c394bbe3 WHIRLPOOL e270b66ac9e22c806876e727ef040c3cfb2c304889de982f1c54a1625f7bf0214d3b6f8baac42cb3710aa23897f1b1bc67ef633fe35cb1b2c4b57196390a0fad +DIST spl-0.6.4.tar.gz 190348 SHA256 290c20cec89161a0e3e3a885494dfb7b0b7defbe38006cb2ecfdf2b241136415 SHA512 4dda082170884811a2667ecdc130e9e3743bf362109bebb53bd69a18115b8e2b41305d212a03f4233258f866fe7c56ed4a3f08fc1814fa1f8e947b5305a056ab WHIRLPOOL 475593c4b0f75fb30c963196bf6e45219b4a57bd8c9d4350f02ff358c97a69f066b5d4ce8cb346b67d773d7ff985e1812925a5490b8911b9cd657e654772bb9f diff --git a/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch new file mode 100644 index 000000000000..e8eaa385c642 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch @@ -0,0 +1,46 @@ +From 050cd84e628e5d827a0b345cda12b97253fccd37 Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf <behlendorf1@llnl.gov> +Date: Mon, 7 Jan 2013 14:09:09 -0800 +Subject: [PATCH] Linux compat 3.7.1, on_each_cpu() + +Some kernels require that we include the 'linux/irqflags.h' +header for the SPL_AC_3ARGS_ON_EACH_CPU check. Otherwise, +the functions local_irq_enable()/local_irq_disable() will not +be defined and the prototype will be misdetected as the four +argument version. + +This change actually include 'linux/interrupt.h' which in turn +includes 'linux/irqflags.h' to be as generic as possible. + +Additionally, passing NULL as the function can result in a +gcc error because the on_each_cpu() macro executes it +unconditionally. To make the test more robust we pass the +dummy function on_each_cpu_func(). + +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +Closes #204 +--- + config/spl-build.m4 | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/config/spl-build.m4 b/config/spl-build.m4 +index f710d8e..6e4afed 100644 +--- a/config/spl-build.m4 ++++ b/config/spl-build.m4 +@@ -1312,9 +1312,12 @@ dnl # + AC_DEFUN([SPL_AC_3ARGS_ON_EACH_CPU], [ + AC_MSG_CHECKING([whether on_each_cpu() wants 3 args]) + SPL_LINUX_TRY_COMPILE([ ++ #include <linux/interrupt.h> + #include <linux/smp.h> ++ ++ void on_each_cpu_func(void *data) { return; } + ],[ +- on_each_cpu(NULL, NULL, 0); ++ on_each_cpu(on_each_cpu_func, NULL, 0); + ],[ + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_3ARGS_ON_EACH_CPU, 1, +-- +1.7.10 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch new file mode 100644 index 000000000000..99227feb04a2 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch @@ -0,0 +1,179 @@ +From d4899f4747fd03be748fd1a589b9db5786fa1375 Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf <behlendorf1@llnl.gov> +Date: Fri, 11 Jan 2013 14:29:32 -0800 +Subject: [PATCH] kmem-cache: Fix slab ageing soft lockup + +Commit a10287e00d13c4c4dbbff14f42b00b03da363fcb slightly reworked +the slab ageing code such that it is no longer dependent on the +Linux delayed work queue interfaces. + +This was good for portability and performance, but it requires us +to use the on_each_cpu() function to execute the spl_magazine_age() +function. That means that the function is now executing in interrupt +context whereas before it was scheduled in normal process context. +And that means we need to be slightly more careful about the locking +in the interrupt handler. + +With the reworked code it's possible that we'll be holding the +skc->skc_lock and be interrupted to handle the spl_magazine_age() +IRQ. This will result in a deadlock and soft lockup errors unless +we're careful to detect the contention and avoid taking the lock in +the interupt handler. So that's what this patch does. + +Alternately, (and slightly more conventionally) we could have used +spin_lock_irqsave() to prevent this race entirely but I'd perfer to +avoid disabling interrupts as much as possible due to performance +concerns. There is absolutely no penalty for us not aging objects +out of the magazine due to contention. + +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +Signed-off-by: Prakash Surya <surya1@llnl.gov> +Closes zfsonlinux/zfs#1193 +--- + module/spl/spl-kmem.c | 94 +++++++++++++++++++++++++++---------------------- + 1 file changed, 51 insertions(+), 43 deletions(-) + +diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c +index bc08a55..cc5961e 100644 +--- a/module/spl/spl-kmem.c ++++ b/module/spl/spl-kmem.c +@@ -827,8 +827,7 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) + struct rw_semaphore spl_kmem_cache_sem; /* Cache list lock */ + taskq_t *spl_kmem_cache_taskq; /* Task queue for ageing / reclaim */ + +-static int spl_cache_flush(spl_kmem_cache_t *skc, +- spl_kmem_magazine_t *skm, int flush); ++static void spl_cache_shrink(spl_kmem_cache_t *skc, void *obj); + + SPL_SHRINKER_CALLBACK_FWD_DECLARE(spl_kmem_cache_generic_shrinker); + SPL_SHRINKER_DECLARE(spl_kmem_cache_shrinker, +@@ -1244,6 +1243,38 @@ static int spl_cache_flush(spl_kmem_cache_t *skc, + SRETURN(0); + } + ++/* ++ * Release objects from the per-cpu magazine back to their slab. The flush ++ * argument contains the max number of entries to remove from the magazine. ++ */ ++static void ++__spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush) ++{ ++ int i, count = MIN(flush, skm->skm_avail); ++ SENTRY; ++ ++ ASSERT(skc->skc_magic == SKC_MAGIC); ++ ASSERT(skm->skm_magic == SKM_MAGIC); ++ ASSERT(spin_is_locked(&skc->skc_lock)); ++ ++ for (i = 0; i < count; i++) ++ spl_cache_shrink(skc, skm->skm_objs[i]); ++ ++ skm->skm_avail -= count; ++ memmove(skm->skm_objs, &(skm->skm_objs[count]), ++ sizeof(void *) * skm->skm_avail); ++ ++ SEXIT; ++} ++ ++static void ++spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush) ++{ ++ spin_lock(&skc->skc_lock); ++ __spl_cache_flush(skc, skm, flush); ++ spin_unlock(&skc->skc_lock); ++} ++ + static void + spl_magazine_age(void *data) + { +@@ -1252,10 +1283,23 @@ static int spl_cache_flush(spl_kmem_cache_t *skc, + + ASSERT(skm->skm_magic == SKM_MAGIC); + ASSERT(skm->skm_cpu == smp_processor_id()); ++ ASSERT(irqs_disabled()); ++ ++ /* There are no available objects or they are too young to age out */ ++ if ((skm->skm_avail == 0) || ++ time_before(jiffies, skm->skm_age + skc->skc_delay * HZ)) ++ return; + +- if (skm->skm_avail > 0) +- if (time_after(jiffies, skm->skm_age + skc->skc_delay * HZ)) +- (void) spl_cache_flush(skc, skm, skm->skm_refill); ++ /* ++ * Because we're executing in interrupt context we may have ++ * interrupted the holder of this lock. To avoid a potential ++ * deadlock return if the lock is contended. ++ */ ++ if (!spin_trylock(&skc->skc_lock)) ++ return; ++ ++ __spl_cache_flush(skc, skm, skm->skm_refill); ++ spin_unlock(&skc->skc_lock); + } + + /* +@@ -1451,7 +1495,7 @@ static int spl_cache_flush(spl_kmem_cache_t *skc, + + for_each_online_cpu(i) { + skm = skc->skc_mag[i]; +- (void)spl_cache_flush(skc, skm, skm->skm_avail); ++ spl_cache_flush(skc, skm, skm->skm_avail); + spl_magazine_free(skm); + } + +@@ -1932,42 +1976,6 @@ static int spl_cache_flush(spl_kmem_cache_t *skc, + } + + /* +- * Release a batch of objects from a per-cpu magazine back to their +- * respective slabs. This occurs when we exceed the magazine size, +- * are under memory pressure, when the cache is idle, or during +- * cache cleanup. The flush argument contains the number of entries +- * to remove from the magazine. +- */ +-static int +-spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush) +-{ +- int i, count = MIN(flush, skm->skm_avail); +- SENTRY; +- +- ASSERT(skc->skc_magic == SKC_MAGIC); +- ASSERT(skm->skm_magic == SKM_MAGIC); +- +- /* +- * XXX: Currently we simply return objects from the magazine to +- * the slabs in fifo order. The ideal thing to do from a memory +- * fragmentation standpoint is to cheaply determine the set of +- * objects in the magazine which will result in the largest +- * number of free slabs if released from the magazine. +- */ +- spin_lock(&skc->skc_lock); +- for (i = 0; i < count; i++) +- spl_cache_shrink(skc, skm->skm_objs[i]); +- +- skm->skm_avail -= count; +- memmove(skm->skm_objs, &(skm->skm_objs[count]), +- sizeof(void *) * skm->skm_avail); +- +- spin_unlock(&skc->skc_lock); +- +- SRETURN(count); +-} +- +-/* + * Allocate an object from the per-cpu magazine, or if the magazine + * is empty directly allocate from a slab and repopulate the magazine. + */ +@@ -2053,7 +2061,7 @@ static int spl_cache_flush(spl_kmem_cache_t *skc, + + /* Per-CPU cache full, flush it to make space */ + if (unlikely(skm->skm_avail >= skm->skm_size)) +- (void)spl_cache_flush(skc, skm, skm->skm_refill); ++ spl_cache_flush(skc, skm, skm->skm_refill); + + /* Available space in cache, use it */ + skm->skm_objs[skm->skm_avail++] = obj; +-- +1.7.10 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch new file mode 100644 index 000000000000..9ac8a4308dd6 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch @@ -0,0 +1,70 @@ +From dd3678fc29d75286b57e705454bbd7e60e1b44e0 Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf <behlendorf1@llnl.gov> +Date: Tue, 5 Feb 2013 09:35:43 -0800 +Subject: [PATCH] Fix atomic64_* autoconf checks + +The SPL_AC_ATOMIC_SPINLOCK, SPL_AC_TYPE_ATOMIC64_CMPXCHG, and +SPL_AC_TYPE_ATOMIC64_XCHG were all directly including the +'asm/atomic.h' header. As of Linux 3.4 this header was removed +which results in a build failure. + +The right thing to do is include 'linux/atomic.h' however we +can't safely do this because it doesn't exist in 2.6.26 kernels. +Therefore, we include 'linux/fs.h' which in turn includes the +correct atomic header regardless of the kernel version. + +When these incorrect APIs are used in ZFS the following build +failure results. + + arc.c:791:80: warning: '__ret' may be used uninitialized + in this function [-Wuninitialized] + arc.c:791:1875: error: call to '__cmpxchg_wrong_size' + declared with attribute error: Bad argument size for cmpxchg + +Since this is all Linux 2.6.24 compatibility code there's +an argument to be made that it should be removed because +kernels this old are not supported. However, because we're +so close to a release I'm going to leave it in place for now. + +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +Closes zfsonlinux/zfs#814 +Closes zfsonlinux/zfs#1254 +--- + config/spl-build.m4 | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/config/spl-build.m4 b/config/spl-build.m4 +index e9695de..8518404 100644 +--- a/config/spl-build.m4 ++++ b/config/spl-build.m4 +@@ -777,7 +777,7 @@ AC_DEFUN([SPL_AC_ATOMIC_SPINLOCK], [ + [enable_atomic_spinlocks=check]) + + SPL_LINUX_TRY_COMPILE([ +- #include <asm/atomic.h> ++ #include <linux/fs.h> + ],[ + atomic64_t *ptr __attribute__ ((unused)); + ],[ +@@ -820,8 +820,7 @@ dnl # + AC_DEFUN([SPL_AC_TYPE_ATOMIC64_CMPXCHG], + [AC_MSG_CHECKING([whether kernel defines atomic64_cmpxchg]) + SPL_LINUX_TRY_COMPILE([ +- #include <asm/atomic.h> +- #include <asm/system.h> ++ #include <linux/fs.h> + ],[ + atomic64_cmpxchg((atomic64_t *)NULL, 0, 0); + ],[ +@@ -840,7 +839,7 @@ dnl # + AC_DEFUN([SPL_AC_TYPE_ATOMIC64_XCHG], + [AC_MSG_CHECKING([whether kernel defines atomic64_xchg]) + SPL_LINUX_TRY_COMPILE([ +- #include <asm/atomic.h> ++ #include <linux/fs.h> + ],[ + atomic64_xchg((atomic64_t *)NULL, 0); + ],[ +-- +1.7.10 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch new file mode 100644 index 000000000000..ee7314d3cf32 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch @@ -0,0 +1,33 @@ +From a0625691b39468d04eb716919e237f96a3987b48 Mon Sep 17 00:00:00 2001 +From: Richard Yao <ryao@cs.stonybrook.edu> +Date: Tue, 5 Feb 2013 16:42:29 -0500 +Subject: [PATCH] Fix HAVE_MUTEX_OWNER_TASK_STRUCT autotools check on PPC64 + +The HAVE_MUTEX_OWNER_TASK_STRUCT fails on PPC64 with the following +error: + +error: 'current' undeclared (first use in this function) + +We include linux/sched.h to ensure that current is available. + +Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +--- + config/spl-build.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/config/spl-build.m4 b/config/spl-build.m4 +index 8518404..4cb7e1d 100644 +--- a/config/spl-build.m4 ++++ b/config/spl-build.m4 +@@ -1269,6 +1269,7 @@ AC_DEFUN([SPL_AC_MUTEX_OWNER_TASK_STRUCT], [ + EXTRA_KCFLAGS="-Werror" + SPL_LINUX_TRY_COMPILE([ + #include <linux/mutex.h> ++ #include <linux/sched.h> + ],[ + struct mutex mtx __attribute__ ((unused)); + mtx.owner = current; +-- +1.7.10 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch new file mode 100644 index 000000000000..5f9a4c698803 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch @@ -0,0 +1,237 @@ +diff --git a/config/spl-build.m4 b/config/spl-build.m4 +index 3dcc05e..6a8e658 100644 +--- a/config/spl-build.m4 ++++ b/config/spl-build.m4 +@@ -64,6 +64,7 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [ + SPL_AC_USER_PATH_DIR + SPL_AC_SET_FS_PWD + SPL_AC_2ARGS_SET_FS_PWD ++ SPL_AC_SET_FS_PWD_WITH_CONST + SPL_AC_2ARGS_VFS_UNLINK + SPL_AC_4ARGS_VFS_RENAME + SPL_AC_VFS_FSYNC +@@ -88,6 +89,8 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [ + SPL_AC_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE + SPL_AC_SHRINK_CONTROL_STRUCT + SPL_AC_RWSEM_SPINLOCK_IS_RAW ++ SPL_AC_SCHED_RT_HEADER ++ SPL_AC_2ARGS_VFS_GETATTR + ]) + + AC_DEFUN([SPL_AC_MODULE_SYMVERS], [ +@@ -1684,12 +1687,55 @@ AC_DEFUN([SPL_AC_2ARGS_SET_FS_PWD], + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_2ARGS_SET_FS_PWD, 1, + [set_fs_pwd() wants 2 args]) ++ HAVE_2ARGS_SET_FS_PWD=yes + ],[ + AC_MSG_RESULT(no) + ]) + ]) + + dnl # ++dnl # 3.9 API change ++dnl # set_fs_pwd takes const struct path * ++dnl # ++AC_DEFUN([SPL_AC_SET_FS_PWD_WITH_CONST], ++if test "x$HAVE_2ARGS_SET_FS_PWD" = xyes; then ++ tmp_flags="$EXTRA_KCFLAGS" ++ EXTRA_KCFLAGS="-Werror" ++ [AC_MSG_CHECKING([whether set_fs_pwd() requires const struct path *]) ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/spinlock.h> ++ #include <linux/fs_struct.h> ++ #include <linux/path.h> ++ void (*const set_fs_pwd_func) ++ (struct fs_struct *, const struct path *) ++ = set_fs_pwd; ++ ],[ ++ return 0; ++ ],[ ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_SET_FS_PWD_WITH_CONST, 1, ++ [set_fs_pwd() needs const path *]) ++ ],[ ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/spinlock.h> ++ #include <linux/fs_struct.h> ++ #include <linux/path.h> ++ void (*const set_fs_pwd_func) ++ (struct fs_struct *, struct path *) ++ = set_fs_pwd; ++ ],[ ++ return 0; ++ ],[ ++ AC_MSG_RESULT(no) ++ ],[ ++ AC_MSG_ERROR(unknown) ++ ]) ++ ]) ++ EXTRA_KCFLAGS="$tmp_flags" ++fi ++]) ++ ++dnl # + dnl # SLES API change, never adopted in mainline, + dnl # Third 'struct vfsmount *' argument removed. + dnl # +@@ -2217,3 +2263,53 @@ AC_DEFUN([SPL_AC_RWSEM_SPINLOCK_IS_RAW], [ + ]) + EXTRA_KCFLAGS="$tmp_flags" + ]) ++ ++dnl # ++dnl # 3.9 API change, ++dnl # Moved things from linux/sched.h to linux/sched/rt.h ++dnl # ++AC_DEFUN([SPL_AC_SCHED_RT_HEADER], ++ [AC_MSG_CHECKING([whether header linux/sched/rt.h exists]) ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/sched.h> ++ #include <linux/sched/rt.h> ++ ],[ ++ return 0; ++ ],[ ++ AC_DEFINE(HAVE_SCHED_RT_HEADER, 1, [linux/sched/rt.h exists]) ++ AC_MSG_RESULT(yes) ++ ],[ ++ AC_MSG_RESULT(no) ++ ]) ++]) ++ ++dnl # ++dnl # 3.9 API change, ++dnl # vfs_getattr() uses 2 args ++dnl # It takes struct path * instead of struct vfsmount * and struct dentry * ++dnl # ++AC_DEFUN([SPL_AC_2ARGS_VFS_GETATTR], [ ++ AC_MSG_CHECKING([whether vfs_getattr() wants]) ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/fs.h> ++ ],[ ++ vfs_getattr((struct path *) NULL, ++ (struct kstat *)NULL); ++ ],[ ++ AC_MSG_RESULT(2 args) ++ AC_DEFINE(HAVE_2ARGS_VFS_GETATTR, 1, ++ [vfs_getattr wants 2 args]) ++ ],[ ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/fs.h> ++ ],[ ++ vfs_getattr((struct vfsmount *)NULL, ++ (struct dentry *)NULL, ++ (struct kstat *)NULL); ++ ],[ ++ AC_MSG_RESULT(3 args) ++ ],[ ++ AC_MSG_ERROR(unknown) ++ ]) ++ ]) ++]) +diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h +index 7c4da67..b4778b7 100644 +--- a/include/sys/sysmacros.h ++++ b/include/sys/sysmacros.h +@@ -26,12 +26,17 @@ + #define _SPL_SYSMACROS_H + + #include <linux/module.h> ++#include <linux/sched.h> + #include <linux/cpumask.h> + #include <sys/debug.h> + #include <sys/varargs.h> + #include <sys/zone.h> + #include <sys/signal.h> + ++#ifdef HAVE_SCHED_RT_HEADER ++#include <linux/sched/rt.h> ++#endif ++ + #ifndef _KERNEL + #define _KERNEL __KERNEL__ + #endif +diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c +index e3538b5..f9c1114 100644 +--- a/module/spl/spl-kmem.c ++++ b/module/spl/spl-kmem.c +@@ -404,7 +404,8 @@ kmem_del_init(spinlock_t *lock, struct hlist_head *table, int bits, const void * + spin_lock_irqsave(lock, flags); + + head = &table[hash_ptr(addr, bits)]; +- hlist_for_each_entry_rcu(p, node, head, kd_hlist) { ++ hlist_for_each_rcu(node, head) { ++ p = list_entry_rcu(node, struct kmem_debug, kd_hlist); + if (p->kd_addr == addr) { + hlist_del_init(&p->kd_hlist); + list_del_init(&p->kd_list); +diff --git a/module/spl/spl-tsd.c b/module/spl/spl-tsd.c +index d7749cf..6e5605b 100644 +--- a/module/spl/spl-tsd.c ++++ b/module/spl/spl-tsd.c +@@ -113,7 +113,8 @@ tsd_hash_search(tsd_hash_table_t *table, uint_t key, pid_t pid) + hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); + bin = &table->ht_bins[hash]; + spin_lock(&bin->hb_lock); +- hlist_for_each_entry(entry, node, &bin->hb_head, he_list) { ++ hlist_for_each(node, &bin->hb_head) { ++ entry = list_entry(node, tsd_hash_entry_t, he_list); + if ((entry->he_key == key) && (entry->he_pid == pid)) { + spin_unlock(&bin->hb_lock); + SRETURN(entry); +diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c +index 4d571c6..dac452c 100644 +--- a/module/spl/spl-vnode.c ++++ b/module/spl/spl-vnode.c +@@ -175,7 +175,11 @@ vn_open(const char *path, uio_seg_t seg, int flags, int mode, + if (IS_ERR(fp)) + SRETURN(-PTR_ERR(fp)); + +- rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat); ++#ifdef HAVE_2ARGS_VFS_GETATTR ++ rc = vfs_getattr(&fp->f_path, &stat); ++#else ++ rc = vfs_getattr(fp->f_path.mnt, fp->f_dentry, &stat); ++#endif + if (rc) { + filp_close(fp, 0); + SRETURN(-rc); +@@ -602,7 +606,11 @@ vn_getattr(vnode_t *vp, vattr_t *vap, int flags, void *x3, void *x4) + + fp = vp->v_file; + +- rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat); ++#ifdef HAVE_2ARGS_VFS_GETATTR ++ rc = vfs_getattr(&fp->f_path, &stat); ++#else ++ rc = vfs_getattr(fp->f_path.mnt, fp->f_dentry, &stat); ++#endif + if (rc) + SRETURN(-rc); + +@@ -754,7 +762,12 @@ vn_getf(int fd) + if (vp == NULL) + SGOTO(out_fget, rc); + +- if (vfs_getattr(lfp->f_vfsmnt, lfp->f_dentry, &stat)) ++#ifdef HAVE_2ARGS_VFS_GETATTR ++ rc = vfs_getattr(&lfp->f_path, &stat); ++#else ++ rc = vfs_getattr(lfp->f_path.mnt, lfp->f_dentry, &stat); ++#endif ++ if (rc) + SGOTO(out_vnode, rc); + + mutex_enter(&vp->v_lock); +@@ -827,7 +840,11 @@ EXPORT_SYMBOL(releasef); + # ifdef HAVE_2ARGS_SET_FS_PWD + /* Used from 2.6.25 - 2.6.31+ */ + void ++# ifdef HAVE_SET_FS_PWD_WITH_CONST ++set_fs_pwd(struct fs_struct *fs, const struct path *path) ++# else + set_fs_pwd(struct fs_struct *fs, struct path *path) ++# endif + { + struct path old_pwd; + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch new file mode 100644 index 000000000000..9f1d692d0371 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch @@ -0,0 +1,38 @@ +From 58a382c73ad3393d7591421950624e75d3c4aea1 Mon Sep 17 00:00:00 2001 +From: Richard Yao <ryao@cs.stonybrook.edu> +Date: Thu, 21 Mar 2013 13:21:11 -0400 +Subject: [PATCH] Do not call cond_resched() in spl_slab_reclaim() + +Calling cond_resched() after each object is freed and then after each +slab is freed can cause slabs of objects to live for excessive periods +of time following reclaimation. This interferes with the kernel's own +memory management when called from kswapd and can cause direct reclaim +to occur in response to memory pressure that should have been resolved. + +Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> +--- + module/spl/spl-kmem.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c +index f9c1114..a0ca2d2 100644 +--- a/module/spl/spl-kmem.c ++++ b/module/spl/spl-kmem.c +@@ -1112,14 +1112,11 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) + + if (skc->skc_flags & KMC_OFFSLAB) + kv_free(skc, sko->sko_addr, size); +- +- cond_resched(); + } + + list_for_each_entry_safe(sks, m, &sks_list, sks_list) { + ASSERT(sks->sks_magic == SKS_MAGIC); + kv_free(skc, sks, skc->skc_slab_size); +- cond_resched(); + } + + SEXIT; +-- +1.8.1.5 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch new file mode 100644 index 000000000000..3d5199fb4eb6 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch @@ -0,0 +1,181 @@ +From f47f028ae6f039c13d3138e2ee1c0056a3a3f789 Mon Sep 17 00:00:00 2001 +From: Richard Yao <ryao@cs.stonybrook.edu> +Date: Mon, 11 Mar 2013 21:16:36 -0400 +Subject: [PATCH] Simplify hostid logic + +There is plenty of compatibility code for a hw_hostid +that isn't used by anything. At the same time, there are apparently +issues with the current hostid logic. coredumb in #zfsonlinux on +freenode reported that Fedora 17 changes its hostid on every boot, which +required force importing his pool. A suggestion by wca was to adopt +FreeBSD's behavior, where it treats hostid as zero if /etc/hostid does +not exist + +Adopting FreeBSD's behavior permits us to eliminate plenty of code, +including a userland helper that invokes the system's hostid as a +fallback. + +Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> +--- + include/sys/sysmacros.h | 1 - + include/sys/systeminfo.h | 3 +-- + module/spl/spl-generic.c | 55 ++++++------------------------------------------ + module/spl/spl-proc.c | 11 ---------- + 4 files changed, 7 insertions(+), 63 deletions(-) + +diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h +index 7c4da67..4dd2685 100644 +--- a/include/sys/sysmacros.h ++++ b/include/sys/sysmacros.h +@@ -138,7 +138,6 @@ + /* Missing globals */ + extern char spl_version[32]; + extern unsigned long spl_hostid; +-extern char hw_serial[11]; + + /* Missing misc functions */ + extern int highbit(unsigned long i); +diff --git a/include/sys/systeminfo.h b/include/sys/systeminfo.h +index e22a085..a4c1984 100644 +--- a/include/sys/systeminfo.h ++++ b/include/sys/systeminfo.h +@@ -25,6 +25,5 @@ + #ifndef _SPL_SYSTEMINFO_H + #define _SPL_SYSTEMINFO_H + +-#define HW_INVALID_HOSTID 0xFFFFFFFF /* an invalid hostid */ + #define HW_HOSTID_LEN 11 /* minimum buffer size needed */ + /* to hold a decimal or hex */ +diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c +index 3cef489..b8e2ed1 100644 +--- a/module/spl/spl-generic.c ++++ b/module/spl/spl-generic.c +@@ -52,14 +52,11 @@ + char spl_version[32] = "SPL v" SPL_META_VERSION "-" SPL_META_RELEASE; + EXPORT_SYMBOL(spl_version); + +-unsigned long spl_hostid = HW_INVALID_HOSTID; ++unsigned long spl_hostid = 0; + EXPORT_SYMBOL(spl_hostid); + module_param(spl_hostid, ulong, 0644); + MODULE_PARM_DESC(spl_hostid, "The system hostid."); + +-char hw_serial[HW_HOSTID_LEN] = "<none>"; +-EXPORT_SYMBOL(hw_serial); +- + proc_t p0 = { 0 }; + EXPORT_SYMBOL(p0); + +@@ -467,7 +464,7 @@ struct new_utsname *__utsname(void) + int result; + uint64_t size; + struct _buf *file; +- unsigned long hostid = 0; ++ uint32_t hostid = 0; + + file = kobj_open_file(spl_hostid_path); + +@@ -511,45 +508,10 @@ struct new_utsname *__utsname(void) + return 0; + } + +-#define GET_HOSTID_CMD \ +- "exec 0</dev/null " \ +- " 1>/proc/sys/kernel/spl/hostid " \ +- " 2>/dev/null; " \ +- "hostid" +- +-static int +-hostid_exec(void) +-{ +- char *argv[] = { "/bin/sh", +- "-c", +- GET_HOSTID_CMD, +- NULL }; +- char *envp[] = { "HOME=/", +- "TERM=linux", +- "PATH=/sbin:/usr/sbin:/bin:/usr/bin", +- NULL }; +- int rc; +- +- /* Doing address resolution in the kernel is tricky and just +- * not a good idea in general. So to set the proper 'hw_serial' +- * use the usermodehelper support to ask '/bin/sh' to run +- * '/usr/bin/hostid' and redirect the result to /proc/sys/spl/hostid +- * for us to use. It's a horrific solution but it will do for now. +- */ +- rc = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); +- if (rc) +- printk("SPL: Failed user helper '%s %s %s', rc = %d\n", +- argv[0], argv[1], argv[2], rc); +- +- return rc; +-} +- + uint32_t + zone_get_hostid(void *zone) + { + static int first = 1; +- unsigned long hostid; +- int rc; + + /* Only the global zone is supported */ + ASSERT(zone == NULL); +@@ -559,21 +521,16 @@ struct new_utsname *__utsname(void) + + /* + * Get the hostid if it was not passed as a module parameter. +- * Try reading the /etc/hostid file directly, and then fall +- * back to calling the /usr/bin/hostid utility. ++ * Try reading the /etc/hostid file directly. + */ +- if ((spl_hostid == HW_INVALID_HOSTID) && +- (rc = hostid_read()) && (rc = hostid_exec())) +- return HW_INVALID_HOSTID; ++ if (hostid_read()) ++ spl_hostid = 0; + + printk(KERN_NOTICE "SPL: using hostid 0x%08x\n", + (unsigned int) spl_hostid); + } + +- if (ddi_strtoul(hw_serial, NULL, HW_HOSTID_LEN-1, &hostid) != 0) +- return HW_INVALID_HOSTID; +- +- return (uint32_t)hostid; ++ return spl_hostid; + } + EXPORT_SYMBOL(zone_get_hostid); + +diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c +index cd4fa1b..1113cf2 100644 +--- a/module/spl/spl-proc.c ++++ b/module/spl/spl-proc.c +@@ -506,9 +506,6 @@ enum { + if (str == end) + SRETURN(-EINVAL); + +- (void) snprintf(hw_serial, HW_HOSTID_LEN, "%lu", spl_hostid); +- hw_serial[HW_HOSTID_LEN - 1] = '\0'; +- *ppos += *lenp; + } else { + len = snprintf(str, sizeof(str), "%lx", spl_hostid); + if (*ppos >= len) +@@ -1051,14 +1048,6 @@ enum { + .mode = 0644, + .proc_handler = &proc_dohostid, + }, +- { +- CTL_NAME (CTL_HW_SERIAL) +- .procname = "hw_serial", +- .data = hw_serial, +- .maxlen = sizeof(hw_serial), +- .mode = 0444, +- .proc_handler = &proc_dostring, +- }, + #ifndef HAVE_KALLSYMS_LOOKUP_NAME + { + CTL_NAME (CTL_KALLSYMS) +-- +1.8.1.5 + diff --git a/sys-kernel/spl/files/spl-0.6.0_rc9-alias-km-sleep-with-km-pushpage.patch b/sys-kernel/spl/files/spl-0.6.0_rc9-alias-km-sleep-with-km-pushpage.patch new file mode 100644 index 000000000000..fb0e5914e773 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.0_rc9-alias-km-sleep-with-km-pushpage.patch @@ -0,0 +1,56 @@ +From 5c072b45b66e841ebc7952db7860c2ee7b024b08 Mon Sep 17 00:00:00 2001 +From: Richard Yao <ryao@cs.stonybrook.edu> +Date: Mon, 25 Jun 2012 20:05:00 -0400 +Subject: [PATCH] Make KM_SLEEP an alias of KM_PUSHPAGE Use GFP_NOIO in + KM_SLEEP + +This should prevent direct reclaim issues without requiring +Linux-specific changes to code from Solaris. This is what is done in +FreeBSD. + +Note that a change to __taskq_dispatch() module/spl/spl-taskq.c is +needed to make this work. Changing KM_PUSHPAGE to use GFP_NOIO is fine, +but adding __GFP_HIGH to that triggers a hard-coded panic in +__taskq_dispatch() during zvol initialization. Removing the hard coded +panic has no ill effects. + +Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> +--- + include/sys/kmem.h | 2 +- + module/spl/spl-taskq.c | 7 ++++--- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/include/sys/kmem.h b/include/sys/kmem.h +index 796af44..633278b 100644 +--- a/include/sys/kmem.h ++++ b/include/sys/kmem.h +@@ -41,7 +41,7 @@ + /* + * Memory allocation interfaces + */ +-#define KM_SLEEP GFP_KERNEL /* Can sleep, never fails */ ++#define KM_SLEEP (GFP_NOIO | __GFP_HIGH) /* Can sleep, never fails */ + #define KM_NOSLEEP GFP_ATOMIC /* Can not sleep, may fail */ + #define KM_PUSHPAGE (GFP_NOIO | __GFP_HIGH) /* Use reserved memory */ + #define KM_NODEBUG __GFP_NOWARN /* Suppress warnings */ +diff --git a/module/spl/spl-taskq.c b/module/spl/spl-taskq.c +index 0c546c7..5ab387e 100644 +--- a/module/spl/spl-taskq.c ++++ b/module/spl/spl-taskq.c +@@ -255,9 +255,10 @@ + if (!(flags & (TQ_SLEEP | TQ_NOSLEEP))) + flags |= TQ_SLEEP; + +- if (unlikely(in_atomic() && (flags & TQ_SLEEP))) +- PANIC("May schedule while atomic: %s/0x%08x/%d\n", +- current->comm, preempt_count(), current->pid); ++ /* FIXME: Why does this fail when KM_SLEEP contains __GFP_HIGHMEM? */ ++ //if (unlikely(in_atomic() && (flags & TQ_SLEEP))) ++ // PANIC("May schedule while atomic: %s/0x%08x/%d\n", ++ // current->comm, preempt_count(), current->pid); + + spin_lock_irqsave(&tq->tq_lock, tq->tq_lock_flags); + +-- +1.7.10 + diff --git a/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch b/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch new file mode 100644 index 000000000000..6be0c6d06ffe --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch @@ -0,0 +1,28 @@ +From 991857cac5929fa149820722b8e8cd90f874670c Mon Sep 17 00:00:00 2001 +From: Matthew Thode <mthode@mthode.org> +Date: Fri, 21 Jun 2013 14:55:07 -0400 +Subject: [PATCH] Copy spl.release.in to kernel dir + +Required when compiling ZFS in the kernel. + +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +Closes #253 +--- + copy-builtin | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/copy-builtin b/copy-builtin +index 3277270..cd98b7a 100755 +--- a/copy-builtin ++++ b/copy-builtin +@@ -33,6 +33,7 @@ rm -rf "$KERNEL_DIR/include/spl" "$KERNEL_DIR/spl" + cp --recursive include "$KERNEL_DIR/include/spl" + cp --recursive module "$KERNEL_DIR/spl" + cp spl_config.h "$KERNEL_DIR/" ++cp spl.release.in "$KERNEL_DIR/" + + adjust_obj_paths() + { +-- +1.8.1.6 + diff --git a/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch b/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch new file mode 100644 index 000000000000..e17cbad4ce81 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch @@ -0,0 +1,63 @@ +diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c +index cd4fa1b..3cac8a1 100644 +--- a/module/spl/spl-proc.c ++++ b/module/spl/spl-proc.c +@@ -37,6 +37,12 @@ + + #define SS_DEBUG_SUBSYS SS_PROC + ++#ifdef CONSTIFY_PLUGIN ++typedef struct ctl_table __no_const spl_ctl_table; ++#else ++typedef struct ctl_table spl_ctl_table; ++#endif ++ + #ifdef DEBUG_KMEM + static unsigned long table_min = 0; + static unsigned long table_max = ~0; +@@ -323,7 +329,7 @@ enum { + SPL_PROC_HANDLER(proc_console_max_delay_cs) + { + int rc, max_delay_cs; +- struct ctl_table dummy = *table; ++ spl_ctl_table dummy = *table; + long d; + SENTRY; + +@@ -355,7 +361,7 @@ enum { + SPL_PROC_HANDLER(proc_console_min_delay_cs) + { + int rc, min_delay_cs; +- struct ctl_table dummy = *table; ++ spl_ctl_table dummy = *table; + long d; + SENTRY; + +@@ -387,7 +393,7 @@ enum { + SPL_PROC_HANDLER(proc_console_backoff) + { + int rc, backoff; +- struct ctl_table dummy = *table; ++ spl_ctl_table dummy = *table; + SENTRY; + + dummy.data = &backoff; +@@ -417,7 +423,7 @@ enum { + { + int rc = 0; + unsigned long min = 0, max = ~0, val; +- struct ctl_table dummy = *table; ++ spl_ctl_table dummy = *table; + SENTRY; + + dummy.data = &val; +@@ -444,7 +450,7 @@ enum { + { + int rc = 0; + unsigned long min = 0, max = ~0, val = 0, mask; +- struct ctl_table dummy = *table; ++ spl_ctl_table dummy = *table; + spl_kmem_cache_t *skc; + SENTRY; + +-- diff --git a/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch b/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch new file mode 100644 index 000000000000..42f1f59c7299 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch @@ -0,0 +1,33 @@ +From ab59be7bc752481db64df07c821e2ae6bf2ae71b Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf <behlendorf1@llnl.gov> +Date: Wed, 1 May 2013 16:20:28 -0700 +Subject: [PATCH] Fix delay() + +Somewhat amazingly it went unnoticed that the delay() function +doesn't actually cause the task to block. Since the task state +is never changed from TASK_RUNNING before schedule_timeout() the +scheduler allows to task to continue running without any delay. +Using schedule_timeout_interruptible() resolves the issue by +correctly setting TASK_UNINTERRUPTIBLE. + +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +--- + include/sys/timer.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/sys/timer.h b/include/sys/timer.h +index 13ef404..2542510 100644 +--- a/include/sys/timer.h ++++ b/include/sys/timer.h +@@ -35,7 +35,7 @@ + #define ddi_get_lbolt() ((clock_t)jiffies) + #define ddi_get_lbolt64() ((int64_t)get_jiffies_64()) + +-#define delay(ticks) schedule_timeout((long)(ticks)) ++#define delay(ticks) schedule_timeout_uninterruptible(ticks) + + #define SEC_TO_TICK(sec) ((sec) * HZ) + #define MSEC_TO_TICK(ms) msecs_to_jiffies(ms) +-- +1.8.1.6 + diff --git a/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch b/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch new file mode 100644 index 000000000000..aac1c926bbb4 --- /dev/null +++ b/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch @@ -0,0 +1,426 @@ +diff --git a/config/spl-build.m4 b/config/spl-build.m4 +index 8a8e3ba..da179e3 100644 +--- a/config/spl-build.m4 ++++ b/config/spl-build.m4 +@@ -33,6 +33,8 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [ + SPL_AC_TASK_CURR + SPL_AC_CTL_UNNUMBERED + SPL_AC_CTL_NAME ++ SPL_AC_VMALLOC_INFO ++ SPL_AC_PDE_DATA + SPL_AC_FLS64 + SPL_AC_DEVICE_CREATE + SPL_AC_5ARGS_DEVICE_CREATE +@@ -1358,6 +1360,43 @@ AC_DEFUN([SPL_AC_GET_VMALLOC_INFO], + ]) + + dnl # ++dnl # 3.10 API change, ++dnl # struct vmalloc_info is now declared in linux/vmalloc.h ++dnl # ++AC_DEFUN([SPL_AC_VMALLOC_INFO], [ ++ AC_MSG_CHECKING([whether struct vmalloc_info is declared]) ++ SPL_LINUX_TRY_COMPILE([ ++ #include <linux/vmalloc.h> ++ struct vmalloc_info { void *a; }; ++ ],[ ++ return 0; ++ ],[ ++ AC_MSG_RESULT(no) ++ ],[ ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_VMALLOC_INFO, 1, [yes]) ++ ]) ++]) ++ ++dnl # ++dnl # 3.10 API change, ++dnl # PDE is replaced by PDE_DATA ++dnl # ++AC_DEFUN([SPL_AC_PDE_DATA], [ ++ AC_MSG_CHECKING([whether PDE_DATA() is available]) ++ SPL_LINUX_TRY_COMPILE_SYMBOL([ ++ #include <linux/proc_fs.h> ++ ], [ ++ PDE_DATA(NULL); ++ ], [PDE_DATA], [], [ ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_PDE_DATA, 1, [yes]) ++ ],[ ++ AC_MSG_RESULT(no) ++ ]) ++]) ++ ++dnl # + dnl # 2.6.17 API change + dnl # The helper functions first_online_pgdat(), next_online_pgdat(), and + dnl # next_zone() are introduced to simplify for_each_zone(). These symbols +diff --git a/include/linux/proc_compat.h b/include/linux/proc_compat.h +index 434ffa3..7b044e7 100644 +--- a/include/linux/proc_compat.h ++++ b/include/linux/proc_compat.h +@@ -43,9 +43,6 @@ + #endif + + extern struct proc_dir_entry *proc_spl_kstat; +-struct proc_dir_entry *proc_dir_entry_find(struct proc_dir_entry *root, +- const char *str); +-int proc_dir_entries(struct proc_dir_entry *root); + + int spl_proc_init(void); + void spl_proc_fini(void); +diff --git a/include/sys/kstat.h b/include/sys/kstat.h +index 9275c1e..da3c589 100644 +--- a/include/sys/kstat.h ++++ b/include/sys/kstat.h +@@ -83,6 +83,13 @@ struct kstat_s; + typedef int kid_t; /* unique kstat id */ + typedef int kstat_update_t(struct kstat_s *, int); /* dynamic update cb */ + ++typedef struct kstat_module { ++ char ksm_name[KSTAT_STRLEN+1]; /* module name */ ++ struct list_head ksm_module_list; /* module linkage */ ++ struct list_head ksm_kstat_list; /* list of kstat entries */ ++ struct proc_dir_entry *ksm_proc; /* proc entry */ ++} kstat_module_t; ++ + typedef struct kstat_s { + int ks_magic; /* magic value */ + kid_t ks_kid; /* unique kstat ID */ +@@ -102,6 +109,7 @@ typedef struct kstat_s { + void *ks_private; /* private data */ + kmutex_t ks_lock; /* kstat data lock */ + struct list_head ks_list; /* kstat linkage */ ++ kstat_module_t *ks_owner; /* kstat module linkage */ + } kstat_t; + + typedef struct kstat_named_s { +diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h +index 9c52d28..34aea2b 100644 +--- a/include/sys/vmsystm.h ++++ b/include/sys/vmsystm.h +@@ -74,10 +74,12 @@ extern size_t vmem_size(vmem_t *vmp, int typemask); + #ifndef HAVE_GET_VMALLOC_INFO + #ifdef CONFIG_MMU + ++#ifndef HAVE_VMALLOC_INFO + struct vmalloc_info { + unsigned long used; + unsigned long largest_chunk; + }; ++#endif + + typedef void (*get_vmalloc_info_t)(struct vmalloc_info *); + extern get_vmalloc_info_t get_vmalloc_info_fn; +diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c +index b7e4b94..4e900c0 100644 +--- a/module/spl/spl-kstat.c ++++ b/module/spl/spl-kstat.c +@@ -33,9 +33,12 @@ + #endif + + #define SS_DEBUG_SUBSYS SS_KSTAT ++#ifndef HAVE_PDE_DATA ++#define PDE_DATA(x) (PDE(x)->data) ++#endif + +-static spinlock_t kstat_lock; +-static struct list_head kstat_list; ++static kmutex_t kstat_module_lock; ++static struct list_head kstat_module_list; + static kid_t kstat_id; + + static void +@@ -348,6 +351,47 @@ static struct seq_operations kstat_seq_ops = { + .stop = kstat_seq_stop, + }; + ++static kstat_module_t * ++kstat_find_module(char *name) ++{ ++ kstat_module_t *module; ++ ++ list_for_each_entry(module, &kstat_module_list, ksm_module_list) ++ if (strncmp(name, module->ksm_name, KSTAT_STRLEN) == 0) ++ return (module); ++ ++ return (NULL); ++} ++ ++static kstat_module_t * ++kstat_create_module(char *name) ++{ ++ kstat_module_t *module; ++ struct proc_dir_entry *pde; ++ ++ pde = proc_mkdir(name, proc_spl_kstat); ++ if (pde == NULL) ++ return (NULL); ++ ++ module = kmem_alloc(sizeof (kstat_module_t), KM_SLEEP); ++ module->ksm_proc = pde; ++ strlcpy(module->ksm_name, name, KSTAT_STRLEN+1); ++ INIT_LIST_HEAD(&module->ksm_kstat_list); ++ list_add_tail(&module->ksm_module_list, &kstat_module_list); ++ ++ return (module); ++ ++} ++ ++static void ++kstat_delete_module(kstat_module_t *module) ++{ ++ ASSERT(list_empty(&module->ksm_kstat_list)); ++ remove_proc_entry(module->ksm_name, proc_spl_kstat); ++ list_del(&module->ksm_module_list); ++ kmem_free(module, sizeof(kstat_module_t)); ++} ++ + static int + proc_kstat_open(struct inode *inode, struct file *filp) + { +@@ -359,7 +403,7 @@ proc_kstat_open(struct inode *inode, struct file *filp) + return rc; + + f = filp->private_data; +- f->private = PDE(inode)->data; ++ f->private = PDE_DATA(inode); + + return rc; + } +@@ -390,10 +434,10 @@ __kstat_create(const char *ks_module, int ks_instance, const char *ks_name, + if (ksp == NULL) + return ksp; + +- spin_lock(&kstat_lock); ++ mutex_enter(&kstat_module_lock); + ksp->ks_kid = kstat_id; + kstat_id++; +- spin_unlock(&kstat_lock); ++ mutex_exit(&kstat_module_lock); + + ksp->ks_magic = KS_MAGIC; + mutex_init(&ksp->ks_lock, NULL, MUTEX_DEFAULT, NULL); +@@ -456,71 +500,64 @@ EXPORT_SYMBOL(__kstat_create); + void + __kstat_install(kstat_t *ksp) + { +- struct proc_dir_entry *de_module, *de_name; ++ kstat_module_t *module; + kstat_t *tmp; +- int rc = 0; +- SENTRY; +- +- spin_lock(&kstat_lock); + +- /* Item may only be added to the list once */ +- list_for_each_entry(tmp, &kstat_list, ks_list) { +- if (tmp == ksp) { +- spin_unlock(&kstat_lock); +- SGOTO(out, rc = -EEXIST); +- } +- } ++ ASSERT(ksp); + +- list_add_tail(&ksp->ks_list, &kstat_list); +- spin_unlock(&kstat_lock); ++ mutex_enter(&kstat_module_lock); + +- de_module = proc_dir_entry_find(proc_spl_kstat, ksp->ks_module); +- if (de_module == NULL) { +- de_module = proc_mkdir(ksp->ks_module, proc_spl_kstat); +- if (de_module == NULL) +- SGOTO(out, rc = -EUNATCH); ++ module = kstat_find_module(ksp->ks_module); ++ if (module == NULL) { ++ module = kstat_create_module(ksp->ks_module); ++ if (module == NULL) ++ goto out; + } + +- de_name = create_proc_entry(ksp->ks_name, 0444, de_module); +- if (de_name == NULL) +- SGOTO(out, rc = -EUNATCH); ++ /* ++ * Only one entry by this name per-module, on failure the module ++ * shouldn't be deleted because we know it has at least one entry. ++ */ ++ list_for_each_entry(tmp, &module->ksm_kstat_list, ks_list) ++ if (strncmp(tmp->ks_name, ksp->ks_name, KSTAT_STRLEN) == 0) ++ goto out; ++ ++ list_add_tail(&ksp->ks_list, &module->ksm_kstat_list); + + mutex_enter(&ksp->ks_lock); +- ksp->ks_proc = de_name; +- de_name->proc_fops = &proc_kstat_operations; +- de_name->data = (void *)ksp; ++ ksp->ks_owner = module; ++ ksp->ks_proc = proc_create_data(ksp->ks_name, 0444, ++ module->ksm_proc, &proc_kstat_operations, (void *)ksp); ++ if (ksp->ks_proc == NULL) { ++ list_del_init(&ksp->ks_list); ++ if (list_empty(&module->ksm_kstat_list)) ++ kstat_delete_module(module); ++ } + mutex_exit(&ksp->ks_lock); + out: +- if (rc) { +- spin_lock(&kstat_lock); +- list_del_init(&ksp->ks_list); +- spin_unlock(&kstat_lock); +- } +- +- SEXIT; ++ mutex_exit(&kstat_module_lock); + } + EXPORT_SYMBOL(__kstat_install); + + void + __kstat_delete(kstat_t *ksp) + { +- struct proc_dir_entry *de_module; ++ kstat_module_t *module = ksp->ks_owner; + +- spin_lock(&kstat_lock); +- list_del_init(&ksp->ks_list); +- spin_unlock(&kstat_lock); ++ mutex_enter(&kstat_module_lock); ++ list_del_init(&ksp->ks_list); ++ mutex_exit(&kstat_module_lock); + +- if (ksp->ks_proc) { +- de_module = ksp->ks_proc->parent; +- remove_proc_entry(ksp->ks_name, de_module); ++ if (ksp->ks_proc) { ++ remove_proc_entry(ksp->ks_name, module->ksm_proc); + +- /* Remove top level module directory if it's empty */ +- if (proc_dir_entries(de_module) == 0) +- remove_proc_entry(de_module->name, de_module->parent); ++ /* Remove top level module directory if it's empty */ ++ if (list_empty(&module->ksm_kstat_list)) ++ kstat_delete_module(module); + } + + if (!(ksp->ks_flags & KSTAT_FLAG_VIRTUAL)) +- kmem_free(ksp->ks_data, ksp->ks_data_size); ++ kmem_free(ksp->ks_data, ksp->ks_data_size); + + mutex_destroy(&ksp->ks_lock); + kmem_free(ksp, sizeof(*ksp)); +@@ -533,8 +570,8 @@ int + spl_kstat_init(void) + { + SENTRY; +- spin_lock_init(&kstat_lock); +- INIT_LIST_HEAD(&kstat_list); ++ mutex_init(&kstat_module_lock, NULL, MUTEX_DEFAULT, NULL); ++ INIT_LIST_HEAD(&kstat_module_list); + kstat_id = 0; + SRETURN(0); + } +@@ -543,7 +580,8 @@ void + spl_kstat_fini(void) + { + SENTRY; +- ASSERT(list_empty(&kstat_list)); ++ ASSERT(list_empty(&kstat_module_list)); ++ mutex_destroy(&kstat_module_lock); + SEXIT; + } + +diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c +index cd4fa1b..b8379d0 100644 +--- a/module/spl/spl-proc.c ++++ b/module/spl/spl-proc.c +@@ -1120,39 +1120,6 @@ static struct ctl_table spl_root[] = { + { 0 } + }; + +-static int +-proc_dir_entry_match(int len, const char *name, struct proc_dir_entry *de) +-{ +- if (de->namelen != len) +- return 0; +- +- return !memcmp(name, de->name, len); +-} +- +-struct proc_dir_entry * +-proc_dir_entry_find(struct proc_dir_entry *root, const char *str) +-{ +- struct proc_dir_entry *de; +- +- for (de = root->subdir; de; de = de->next) +- if (proc_dir_entry_match(strlen(str), str, de)) +- return de; +- +- return NULL; +-} +- +-int +-proc_dir_entries(struct proc_dir_entry *root) +-{ +- struct proc_dir_entry *de; +- int i = 0; +- +- for (de = root->subdir; de; de = de->next) +- i++; +- +- return i; +-} +- + int + spl_proc_init(void) + { +@@ -1174,11 +1141,11 @@ spl_proc_init(void) + if (proc_spl_kmem == NULL) + SGOTO(out, rc = -EUNATCH); + +- proc_spl_kmem_slab = create_proc_entry("slab", 0444, proc_spl_kmem); ++ proc_spl_kmem_slab = proc_create_data("slab", 0444, ++ proc_spl_kmem, &proc_slab_operations, NULL); + if (proc_spl_kmem_slab == NULL) + SGOTO(out, rc = -EUNATCH); + +- proc_spl_kmem_slab->proc_fops = &proc_slab_operations; + #endif /* DEBUG_KMEM */ + + proc_spl_kstat = proc_mkdir("kstat", proc_spl); +diff --git a/module/splat/splat-atomic.c b/module/splat/splat-atomic.c +index df3b38f..f702196 100644 +--- a/module/splat/splat-atomic.c ++++ b/module/splat/splat-atomic.c +@@ -26,6 +26,7 @@ + + #include <sys/atomic.h> + #include <sys/thread.h> ++#include <linux/slab.h> + #include "splat-internal.h" + + #define SPLAT_ATOMIC_NAME "atomic" +diff --git a/module/splat/splat-thread.c b/module/splat/splat-thread.c +index a1e70db..e55acd0 100644 +--- a/module/splat/splat-thread.c ++++ b/module/splat/splat-thread.c +@@ -26,6 +26,7 @@ + + #include <sys/thread.h> + #include <sys/random.h> ++#include <linux/slab.h> + #include "splat-internal.h" + + #define SPLAT_THREAD_NAME "thread" +diff --git a/module/splat/splat-time.c b/module/splat/splat-time.c +index ca60c45..cd513c9 100644 +--- a/module/splat/splat-time.c ++++ b/module/splat/splat-time.c +@@ -25,6 +25,7 @@ + \*****************************************************************************/ + + #include <sys/time.h> ++#include <linux/slab.h> + #include "splat-internal.h" + + #define SPLAT_TIME_NAME "time" diff --git a/sys-kernel/spl/metadata.xml b/sys-kernel/spl/metadata.xml new file mode 100644 index 000000000000..a446f2c2fe48 --- /dev/null +++ b/sys-kernel/spl/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ryao@gentoo.org</email> + <name>Richard Yao</name> + </maintainer> + <use> + <flag name="debug-log">Enable additional diagnostics</flag> + </use> + <upstream> + <remote-id type="github">zfsonlinux/spl</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild b/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild new file mode 100644 index 000000000000..f96a7db4be38 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 8 || die "Linux 3.8 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Fix on_each_cpu autotools to work correctly + epatch "${FILESDIR}/${P}-fix-on_each_cpu-autotools-check.patch" + + # Fix soft lockup regression + epatch "${FILESDIR}/${P}-fix-soft-lockup.patch" + + # Fix x86 build failures on Linux 3.4 and later, bug #450646 + epatch "${FILESDIR}/${PN}-0.6.0_rc14-fix-atomic64-checks.patch" + + # Fix autotools check that fails on ~ppc64 + epatch "${FILESDIR}/${PN}-0.6.0_rc14-fix-mutex-owner-check.patch" + fi + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_test() { + if [[ ! -e /proc/modules ]] + then + die "Missing /proc/modules" + elif [[ $UID -ne 0 ]] + then + ewarn "Cannot run make check tests with FEATURES=userpriv." + ewarn "Skipping make check tests." + elif grep -q '^spl ' /proc/modules + then + ewarn "Cannot run make check tests with module spl loaded." + ewarn "Skipping make check tests." + else + autotools-utils_src_test + fi +} diff --git a/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild b/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild new file mode 100644 index 000000000000..94f8fd85f95c --- /dev/null +++ b/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 9 || die "Linux 3.9 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Fix x86 build failures on Linux 3.4 and later, bug #450646 + epatch "${FILESDIR}/${P}-fix-atomic64-checks.patch" + + # Fix autotools check that fails on ~ppc64 + epatch "${FILESDIR}/${P}-fix-mutex-owner-check.patch" + + # Linux 3.9 Support + epatch "${FILESDIR}/${P}-linux-3.9-compat.patch" + + # Free memory under load quickly + epatch "${FILESDIR}/${P}-no-cond_resched.patch" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown + + # Provide /usr/src/spl symlink for lustre + dosym "$(basename $(echo "${ED}/usr/src/spl-"*))/${KV_FULL}" /usr/src/spl +} + +src_test() { + if [[ ! -e /proc/modules ]] + then + die "Missing /proc/modules" + elif [[ $UID -ne 0 ]] + then + ewarn "Cannot run make check tests with FEATURES=userpriv." + ewarn "Skipping make check tests." + elif grep -q '^spl ' /proc/modules + then + ewarn "Cannot run make check tests with module spl loaded." + ewarn "Skipping make check tests." + else + autotools-utils_src_test + fi +} diff --git a/sys-kernel/spl/spl-0.6.1-r3.ebuild b/sys-kernel/spl/spl-0.6.1-r3.ebuild new file mode 100644 index 000000000000..d4866ac9cb4c --- /dev/null +++ b/sys-kernel/spl/spl-0.6.1-r3.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !UIDGID_STRICT_TYPE_CHECKS + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 10 || die "Linux 3.10 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Be more like FreeBSD and Illumos when handling hostids + epatch "${FILESDIR}/${PN}-0.6.0_rc14-simplify-hostid-logic.patch" + + # Block tasks properly + epatch "${FILESDIR}/${PN}-0.6.1-fix-delay.patch" + + # Linux 3.10 Compatibility + epatch "${FILESDIR}/${PN}-0.6.1-linux-3.10-compat.patch" + + # Fix kernel builtin support + epatch "${FILESDIR}/${PN}-0.6.1-builtin-fix.patch" + + # Support recent hardened kernels + if kernel_is ge 3 8 + then + epatch "${FILESDIR}/${PN}-0.6.1-constify-ctl_table.patch" + fi + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2-r1.ebuild b/sys-kernel/spl/spl-0.6.2-r1.ebuild new file mode 100644 index 000000000000..a3de4381f9e4 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz + http://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p0.tar.xz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 11 || die "Linux 3.11 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${PN}-${MY_PV}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2-r2.ebuild b/sys-kernel/spl/spl-0.6.2-r2.ebuild new file mode 100644 index 000000000000..46ecb6d0e97e --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2-r2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz + http://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p1.tar.xz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 12 || die "Linux 3.12 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${PN}-${MY_PV}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2-r3.ebuild b/sys-kernel/spl/spl-0.6.2-r3.ebuild new file mode 100644 index 000000000000..046f84a4e966 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2-r3.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz + http://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p2.tar.xz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 13 || die "Linux 3.13 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${PN}-${MY_PV}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2-r4.ebuild b/sys-kernel/spl/spl-0.6.2-r4.ebuild new file mode 100644 index 000000000000..26d1b543edf7 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2-r4.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz + http://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p3.tar.xz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 14 || die "Linux 3.14 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${PN}-${MY_PV}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2-r5.ebuild b/sys-kernel/spl/spl-0.6.2-r5.ebuild new file mode 100644 index 000000000000..44b21c345c92 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2-r5.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz + http://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p4.tar.xz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 14 || die "Linux 3.14 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${PN}-${MY_PV}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.2.ebuild b/sys-kernel/spl/spl-0.6.2.ebuild new file mode 100644 index 000000000000..d85a170a3a94 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 11 || die "Linux 3.11 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die + + if [ ${PV} != "9999" ] + then + # Be more like FreeBSD and Illumos when handling hostids + epatch "${FILESDIR}/${PN}-0.6.0_rc14-simplify-hostid-logic.patch" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.3-r1.ebuild b/sys-kernel/spl/spl-0.6.3-r1.ebuild new file mode 100644 index 000000000000..8cb54070e141 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.3-r1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz + http://dev.gentoo.org/~ryao/dist/${P}-patches-${PR}.tar.xz" + S="${WORKDIR}/${PN}-${P}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + !PAX_RANDKSTACK + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 17 || die "Linux 3.17 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + if [ ${PV} != "9999" ] + then + # Apply patch set + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/${P}-patches" + fi + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.3.ebuild b/sys-kernel/spl/spl-0.6.3.ebuild new file mode 100644 index 000000000000..03171e038b67 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.3.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + !PAX_RANDKSTACK + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 16 || die "Linux 3.16 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.4.2.ebuild b/sys-kernel/spl/spl-0.6.4.2.ebuild new file mode 100644 index 000000000000..73ad7a942c1e --- /dev/null +++ b/sys-kernel/spl/spl-0.6.4.2.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz" + S="${WORKDIR}/${PN}-${P}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 4 1 || die "Linux 4.1 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-0.6.4.ebuild b/sys-kernel/spl/spl-0.6.4.ebuild new file mode 100644 index 000000000000..3799c7219c70 --- /dev/null +++ b/sys-kernel/spl/spl-0.6.4.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz" + S="${WORKDIR}/${PN}-${P}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 4 20 || die "Linux 4.0 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/spl/spl-9999.ebuild b/sys-kernel/spl/spl-9999.ebuild new file mode 100644 index 000000000000..03171e038b67 --- /dev/null +++ b/sys-kernel/spl/spl-9999.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" +else + inherit eutils versionator + MY_PV=$(replace_version_separator 3 '-') + SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}/${PN}-${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug debug-log" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_HIDESYM + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + !PAX_RANDKSTACK + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 3 16 || die "Linux 3.16 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + # splat is unnecessary unless we are debugging + use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + $(use_enable debug-log) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" + dodoc AUTHORS DISCLAIMER README.markdown +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} diff --git a/sys-kernel/tuxonice-sources/Manifest b/sys-kernel/tuxonice-sources/Manifest new file mode 100644 index 000000000000..a3e33934f1e3 --- /dev/null +++ b/sys-kernel/tuxonice-sources/Manifest @@ -0,0 +1,66 @@ +DIST genpatches-3.10-85.base.tar.xz 1204840 SHA256 849c94f434934dbfc1df7d3f5704ab3619c7b1515ffea3048fee7b7a17313694 SHA512 a2f2b57af757f168d023372cfb988fbdd4ea63ac21bf8a06916db931f03c9eed50dfa68376285ddada122759a065564246210a94236c522c858070527ebf7297 WHIRLPOOL dd601821923364be9df5ec35dcb61215e54ddaef9f61e2ceb8c63f8e669df66c863cd840d6ad5d4cbc804bce3831a28f0b86d095bfaa78fef903249a2ab1974d +DIST genpatches-3.10-85.experimental.tar.xz 60208 SHA256 a4d594ab39de091f851e1bae26f879907073d05f5498ad7b1169c3039da8323e SHA512 b9d28ff600c5a0b0477a2b79cb6c2ac6f1c6704e64ea20832fb2dd65942242f5ac62f3aa860b2a548f76407441ad343eee1ca2897eb76375c5afeae27474aa5e WHIRLPOOL bf270c888fa18c52e7fee5b170fb2957caca169c5faf28da8d46eb447aed398c7ed67d13ee491b7051d1fa2ba6e1fbb43cfdcbfd536df250eaa16cce81b29648 +DIST genpatches-3.10-85.extras.tar.xz 17848 SHA256 bda353f5a0ca2da6d47e2389ede23d4c31118d0520ccd055bc0bad76c1c134f6 SHA512 604ee87b28b56664a62317464b6e54578e43868a7bbf3fb7a6fe0b6cb702124486967f97e3744e845c2e383d32d547f1e57032839f7d08feceef23510d53276a WHIRLPOOL 89040896d6b491c6f71098ac4d40aed2066aebc8b8cfabdfa28924e2a8900d9d383b8e2017806c065e6dff330ef87a5ae99a7c4f86da3eba28d410743c158c66 +DIST genpatches-3.10-86.base.tar.xz 1212180 SHA256 d7302d69ffd2fdb69743d955e418b91f6f7bcfc6555100e3eccbf8383cf40764 SHA512 8b5255a6012a157ef386715c7a2c6a0171e8f79169e4f00a75c8e149392ad29f894e9164816dcd779bff61dcdb0600053cf0e7c6cbf75bf9b241cd4acbbf868e WHIRLPOOL 2658e4031649b0d7ebe6d6a8dc38f5d36b9a8eb20066f9ca89193537ec21cf069c66b0b75b76d82933d8fab8c6393f374ded2bbc8a278bc477a12ffe0c4dcfe3 +DIST genpatches-3.10-86.experimental.tar.xz 60176 SHA256 5c92a211ce6823083304d74da99b8bb2fd1aa47d48a1be9e1d7af9e4fb2fb29f SHA512 cb06ac8d24aaf7f2165ec1c2cce3736b0108c3e3e340bd3914c79d74825c8ae51b5ae4557324189e9d7385c864620d6717a6846dc9ba1452c98cc33b96a620e7 WHIRLPOOL a3c689b3506267e4be31d4c6ec0bca5b164e6afbc0e041d2ec8fdcdefca919c79c28074bb289719a09660f3f8cbe884be4428b9ff325f4d3e24fdb3d3686b746 +DIST genpatches-3.10-86.extras.tar.xz 17840 SHA256 7bfaf11431408241bcad1cca9831cbddc61ac50cdf850f5ab70ad0534c9257ca SHA512 a645ec5311b12aacd377ea42d1ece9e55040c34b9d8decd8d597d2850d23260a7f53c5f5402079a38355e9cade4d2b19d38dac792bc8f587268076ca82ea2ce5 WHIRLPOOL 551b5ca718387a0a002db9284bc8897846db87a63baa8e33c9ae203ddf3704e15062d014a87ee80193bbd4e5de2947a34bc61c9c4f11e49ffebba55860d87726 +DIST genpatches-3.10-87.base.tar.xz 1216464 SHA256 6df879900788a42efe3f88873af4c0b5017f469634f94802f41244f696706d98 SHA512 6ad4fea3203e3fdaf5b491ccc4ef30a74ea019fccb953f4bc67bd78267858f610c1d6ef4651c77f6f1174daba6ff4acb8fdd6cb7d4ef6554a3c127cacbdb0ccc WHIRLPOOL faf62faf482827f142fd1477ef27e2aa4f67d519d60a785f5b25d2aa7f24478ac5dcb26be3a97bce627b6f09078920f4dbe31edc62cacee20bf321d65faf2935 +DIST genpatches-3.10-87.experimental.tar.xz 60188 SHA256 d779f799a398f07377f1d7cc140b3f07b43b3afdb13f94c8ef4366ba47c9f78c SHA512 abd1d1d6b4fa175c8a0e70bd57690f674e8b588e22ed18459e5433e9065336b165e404eb320dfd3e62b78978a9961c2f011aa9d758f9bdbe27b87ef008210a11 WHIRLPOOL 1667a6d965a315b7bc2b31f6d6fbad65c8c3bb66ce978c97562ad8255815eaee2b895a5bd5a8a8dbe0505e29763b8553a70ae10c7d75d853bd2af97ea3b957aa +DIST genpatches-3.10-87.extras.tar.xz 17844 SHA256 3caee8fd80d824dbe855f52524a70c8911baf8996626eb48b82391956f39c58b SHA512 7fdd240c093e1837816358f98328cbeffdbafde8f3dedd9f31dee39d4f491cc3764dbdb30549477eb820e16ace063d6958d6fe487f4b184b96f6799ed959b95f WHIRLPOOL 9ab75dde01eb128f586d192d70cc308353f1a2cda67d949af6d955c2bbd34c4b09b0e8e1cc1c1909daca6b0006d706380806d209ba8baa4422b8edb107355778 +DIST genpatches-3.12-42.base.tar.xz 1340680 SHA256 167429c561b25408c0ff278b7a8a07b3670368cb3ef3d1dd00cb5649e6af4f5d SHA512 b1e718ab1d08fb453a4bc87a99afff7508e31e1e94500dff90cb644c5504887f1b7edfdf6867ce3b1d558c5ecfa909997d99902d3ae01080a98503bebc3ab8b0 WHIRLPOOL f92eda31b056007ba3861772ba1031d52d2b5d01d6979abf778340860679406126e05d562d5dd6c4e5897314e309946e759c203bd403c2a0dad0da77887aa3af +DIST genpatches-3.12-42.experimental.tar.xz 46544 SHA256 bbd415e45d263de4e0aec525267225bc1ff86e58a02c329b819080791325ae71 SHA512 fd8cc4029568fa1fd1aa277445810a230dfb47b287dacd0454fa9ae852ab3e1d88ff6ad73ff6bcf4cb60af98edd0424af601604029953da762bbafa328801bde WHIRLPOOL 94b118c734f5b3f51feb9e66fd9fa46db36670dee644a58bb9c74b46a077e1f57cf3b7bbc6c2cc1da6f7d76e051cb2f9936ef624a41ca06036a5d5a4a9213822 +DIST genpatches-3.12-42.extras.tar.xz 18232 SHA256 338ed3d02df7cb8fa3dcda8c57650d2f7fed78a9df6db09fc1f9f251d99d53b6 SHA512 4b00f9c2d64c3ddfe189b2964678ad03c27da7e85182b68281f93052a90a871119a1ad08b059c947e7178df5343851176ac5d6cf6df7e94ad3c4f14e64617a45 WHIRLPOOL 6fae32b81f6e6535e84cf8d9081b0f3a23b1fcd85359e852ab43524386c34b7518d9b68401d8f93b8063839ed5d909888f17089636f4415bd7cf0c1a4a69708d +DIST genpatches-3.12-43.base.tar.xz 1364580 SHA256 2d83b0b0ed5946542676467d99d9d0f0879c8da9ab16a9b602548bc3fa9b5fbd SHA512 40d77097db66868b0281c556e25edf24924a8ea4dc6b0a297f38730f41e55a9b4937bc68c614d2279875e78bff0c9dff2a6c4192fc2a847ac3b1d3927af25acc WHIRLPOOL 34ef24dca012870ff9129113147457fdbb5009bccc2ea4dbb0f601bb88b36fbf037c2d12c646c3ac38e7413278e1ae316bc2a1fdbbecdbc8255bb32a8dac3ed2 +DIST genpatches-3.12-43.experimental.tar.xz 46536 SHA256 a66c108185ec4524e212f273c01b1d3dc84da9e15e08f570be0da899067ce567 SHA512 1d739c625e13b1c48554746572d0e2f2bb141a2d9742a683ff342a770792fbd8a1764d322c987a8a0f091c5a0834f7f980f4e2676b34bff05bd2b7a2ddf36373 WHIRLPOOL 3e9601ef0e9903fff4b363564f8e300becc78f82337ed84effa806dd1067de3359ba21596af782d2292e5979445e74a885c456df61306ed2cc8da008008a3be1 +DIST genpatches-3.12-43.extras.tar.xz 18236 SHA256 928d2d472b3fcedc711b2134de4294a9a8906eff3344baa26bc9ef276067a180 SHA512 6096d64e1d8f88fd4570c50d7f04265173dc136feab79477549d1ccea6d99226c756e195a2a1fd5cd245888566ef8b005f3fd40e83076e0c83b1b8d5edba8b26 WHIRLPOOL aa44f5b80524a6dce660f0d13513d0d01dcb0a23f3c0e9cd6d110c989aa0e7cfaf77d02d1034838bf02b666d7b608a54fee956141d7b2527590381d0ac40dc25 +DIST genpatches-3.14-49.base.tar.xz 959560 SHA256 671097dec0eac493698a4bf773e96d2bfb6f5d460642f49f0117da2cb76e51b3 SHA512 2fb24dee399e2e574f19e1b0e88f7ce397101ed34236403a5c1e47a272f89e7bfbb399c136d4d53e8211f865c757b55402a76ef5678a8e5f6ceedced5dad2c62 WHIRLPOOL 050716ff15a0a844bde931cbd9b5110e25686b1adbcf2bb4b9ca88d37b3783957450fdb31c2087591a14f22fcd91f4f2008a417c86802948f44a76c8851c21f3 +DIST genpatches-3.14-49.experimental.tar.xz 60320 SHA256 b426e25bb590b05f6cbec429b348702c402166d3c02395975aa26c4b32f581c4 SHA512 01efc1a84c843d27e8b5d8054ccff00aeb38c5607c20973244ba5433c50d3b0268c0182ba566c2849ca052ce29c68e46234a86ea61d67fcc35a89c886bd0d0f7 WHIRLPOOL 79c488fcda43e8387a54fb681fe572f80f57a7d8c6beb9154ab958a28fe5a754092cff2131d4130a9e8f203fe69695771e95102e178e1c4e1871b8aa03c4062a +DIST genpatches-3.14-49.extras.tar.xz 18264 SHA256 ea0ef08a4131dbd362df849d72ad19f6c28ce0ca7e2de92e30f9769f6ca34a62 SHA512 3e35ba7f3543a9b3e8fcfb8217291f3fc4ed731260c5cdc925e382ff58cca4b76f620a6303c65ff4a757f08d80ffc5458b5d30e41fde8449fbf2c6c180c82536 WHIRLPOOL 7925c977e302521b3db319106caa430b7b7113dfe09a6e7db6ffbc2fef95e57897eb1453ce5a23213c1ddf94f8456abd6986ae2735b71ad0fcccf717de5cc294 +DIST genpatches-3.14-50.base.tar.xz 971352 SHA256 e3aefffbe04e6b7095c5595955d128bd9cd6638ab4528aeaec15a39b9509930a SHA512 5c91dc715b54df67bc6c676ee86d00c42ffff50b90776ae0d54d5ede3ab6bc57740bb9a87695bd91fe83647289c6ce2c3c35f7ca7608d1c2434894ba2be5a8c4 WHIRLPOOL 6afbbbcd8817942d363fea8290b764f6c876ac5ba5407e78d9db3728a16701f588fe100182119928ee8378b6a4e191895afbe4ceb1742d37887b37dfd7a5ae5e +DIST genpatches-3.14-50.experimental.tar.xz 60308 SHA256 5cac1fb6cbcc1ee3a223037e5588d4c9f1b1d3c0b01d023602f115aeeca220d9 SHA512 e9ca9a5606b3911c554c3971493c1d19b2ace10bc65250205942fb3749bf6c09548000f0557e66c6fb2512ee117f6d09a923def14e325c8a68dd85fb368fa0ff WHIRLPOOL 6e9054fede3167d5e805a52f4f906572f8b64072dc642e9f335ed503cd86724226c7e8d072420baaadc211de17cacce1c263d4be878f035e1ba047add880cf43 +DIST genpatches-3.14-50.extras.tar.xz 18260 SHA256 2450d342873d22742383d39b1de810e389382dfe3e0866ed98d63d1ad2af0d9f SHA512 e47465ab6e97d5396770a4732787aff1c9d4f77510b7d48f379b82a97b9c10078cd07355f74c22d8c1920ca2ff3c9d0aa678d09b5981406bd4c4f0d14027a2dc WHIRLPOOL 64d4d9c88022622abf66df511e3423afc771018ce563e1b545d7e44e0b87887da8d00771ed38db02f579d4899915ecffd564d479a6a1c813ef304eb7d63733cd +DIST genpatches-3.14-51.base.tar.xz 979896 SHA256 4c01297fde28b4e064916e931df04fb888b4d2ad780a4084a911d73218dc3ecc SHA512 339d034b016d9c301a4e04b0c3c8cd8975cb3b8096a356fa46687859d9d561a3a17b987fa0b048c802e8024effb8fad7ed91729e72b2d9b587ebf00276f8a6d5 WHIRLPOOL 0dd6c7a1e53099ac7eb4b195948be09c129f994eff33778b77d2b88589d347a19761fdbc4ae94c55167418d2b61a2f1a923841a429cea18802530cfe0dd3aff1 +DIST genpatches-3.14-51.experimental.tar.xz 60328 SHA256 2af6e311587d83c4ed168e87aa908b3bbcfb1840703037923386088628471791 SHA512 482037e0cf87544dcfce0f481d3a32618594a908b25e3c5489426f28850c40b7973ff4202533172ce35dc89193b7a0af05829e4816c830b13ca944b811e27a51 WHIRLPOOL 27ec472519267151312713f05ad13564642dfeff2ef30bf141c9b5e23208f33bbde23b6d7c1312bb5a8eac831e475efcd91c11e0a1ac1598d2d806c7d4fec403 +DIST genpatches-3.14-51.extras.tar.xz 18268 SHA256 8e7e3861802699df6c947a3f1e64755f09a4f9bf2bb78c4c9839412b2674ab06 SHA512 daecd52aa81a990cf6e71fce9826491e61580a3f89e94a492358e953940c6ced000b0c359826e608fbc6f3faace6a76871dfeb673b1a2f4fceb1c04bcc91e3c0 WHIRLPOOL fc739357b3162eddf63f521de1daa834a684511700b31143d76f34abf59c206b9ec910ba1cd5921999f45066dcd2811da5af7b35cbaab9b88db4b4f9c02138e4 +DIST genpatches-3.18-16.base.tar.xz 444356 SHA256 9868f2d0a808026bbbe276193ef98a5bb65e881f6dbf347940d338e347b5a269 SHA512 6e10a76c0dbb53e82775f271dcc2077a4fa3681c92df7ed7c7d3abffcb31b19221fbf17f031e884235a62223b9a8c2ebb8c4998c1e692e3808b56c5bd7d4c1b9 WHIRLPOOL 3992b4bcf377fc4d4ba450fc7487c8be18de9bf37b49661f51a57587c2e6e4721e46c5f961a39396d7f94793fac30aa0e6a21a39ed3344b8f789fdb000d5a093 +DIST genpatches-3.18-16.experimental.tar.xz 61624 SHA256 1bab18d2a9e3995dc466533d8df2bff16ebac6170e11bf31b6c51de3170b5696 SHA512 551c1f9745f078fb5094240e7fc58fb877f6af601bff6c4dc742ecac5f0b9a1f0ec98752b7c47e56a05e2f7f9f6b79103e5ba8881ef80a5e83cd6208091307c7 WHIRLPOOL 357c25ac76680ce5a1844ce368149cb3b33eb73748b244ed6cc9d0afcdd518d643ff9c80808ac4c52871f633f104f368557c5af7e8186ae3219174ee2530bb4e +DIST genpatches-3.18-16.extras.tar.xz 16188 SHA256 0861244845ec3dc87c5cc070ad413ac98fb435e51bc20cd41354cef8967216b9 SHA512 59b830567f423c20f0c2c8b3123c44c61ab81dae1d35f4e62a5dd291f4b34772bf5116405086228aa5ed3712721e33309d1783d2921eac49c413f7e8b4cdc5d0 WHIRLPOOL 05cc5027107bc1c0f32b3189f84432b5ccbf2ed93792709ef52859fe1cd75018714f893ffca52c675af82b88398d8c072a9cfbe1a6703fd9b7ba6ea121cdcee3 +DIST genpatches-3.18-17.base.tar.xz 489076 SHA256 46ec429229380585e73dfde06e11868d5f3b2212720c0ab57f6023eff0a2e4ba SHA512 af269677d88a2e3a1feb66c26c5a12d967f41606e486903858f982d1cbfbb57a54c26585b6765592337fdb424aa13b714b1bbeec1520e263d64518be3d766476 WHIRLPOOL 74ed70843cb81b493fa86fe334430a7d43d88df3c5c58075a33cea762f8126dece50338ceca9114843c6703836cfd85a7ff2e000e75d2e4fe227010041563bfd +DIST genpatches-3.18-17.experimental.tar.xz 61604 SHA256 efd6d02daf759fb77ebd7f6654ba933bce007abc414ed67f3667115dd6c15bd9 SHA512 95abf4e05ec31944a2ff520cfce68753656c966e575b5e23823753bb25da5f1c7f169d908f58df81db7dd75f9dbf1b1060dfb9c6349eabb2d1273086fbb09912 WHIRLPOOL b89d32886fccd7c5be7f65df647f75918e8f0aa3eddd4baccb6b06da5fedb00c04516a600bf48530ee4821dee416580b695bea677607b7ce905156ac0300134f +DIST genpatches-3.18-17.extras.tar.xz 16184 SHA256 cadde114f6229bbb92092ae76a0dbba11b4c4841bd0daa8f8520e6e64308254f SHA512 8637aaad4c901937cea64317a85416e328fae1802ddb51b638d68f9a1746b5ad136d6b398105056c047c5d9d5437f5f3ab763a8be3581625e5bc4be16a84a0b5 WHIRLPOOL 2b340ace5325ddbf4149337c8cb1d387c846de061c18269fc1ed207c138e2c4ceaf6cac85a4d969ac0f5433993f7617386494ae4a7bd2281d92ec5852a91f04d +DIST genpatches-3.19-9.base.tar.xz 257836 SHA256 94ca8760c25b14e705dbdc4584c78b4ba71655bcb3529c9fed3a24c41e144231 SHA512 118bd7d89bd7652ae44cd01042f865a846668ac2976f2344e9f72d6dadb4c3fdfda738e7a971656519831cbfdb6cc07a8c9b4513c88be707c3eb707d6e75a8f8 WHIRLPOOL 38df4344680cb3d38c384ac6a7ec2dfaf591cccca3795a1a1150cbf410ec4e4e8affa816c5dc3448b0310dd2b9c12e220aa6b85820fd9c68c8441ad6c2846e73 +DIST genpatches-3.19-9.experimental.tar.xz 61632 SHA256 c1668cb0ebe2c04a5f9d837cd0b42378ec9c1c53cacc4b02272462bd9e773c88 SHA512 86738abd9ce9eb007c96388a18710d8005760f5f2c36d12388af6d88cea2b60f81c2debe8d3e0af8f4ac83619a4797aa5a77b73c83adca1cbc6f397005c66561 WHIRLPOOL 8c8c5931b69a99106f38309df1367db16f6935357db1ed48a2fbeff5c266ac4801803485446d5a8a292c1c29d851c1b32dcc8ce161c6646227b9f1e75ae7621b +DIST genpatches-3.19-9.extras.tar.xz 16280 SHA256 f0b77c7754741f000933a1450c39027c509ca66b44e78add44b100b02e415e5c SHA512 764e704d43573b80604f090b35b4c5913cc8d8abcb8f94590621df879668fdd0607db1a711a6fb24dd7b2ad709dff1110381e4b8072ad435ef7356639d8baacf WHIRLPOOL 6e8243526c27642cade7d1e9b36c6453c7a5ea63e99abae77ebd866365543930d1ee685b7a447f38e40bc8cfcbe84b01cbc8f5a6e443fe732b8e14ff3487a45d +DIST genpatches-3.4-90.base.tar.xz 1325696 SHA256 77764d0afc0e3a9db3b4e3314c86505ed8703834f8364fabf7bc21004d14425b SHA512 df2583e5a939a2ae9a2fade243b128ad3b1d4f7370407bca15ad1dca2defde271ede16daa8c01f844053af5da7a5cfbb7ea04839fe93a4a21fe87d1d8551374f WHIRLPOOL 17050e7e73b15106fb1831290a685810e65e41a345669e401ab324a3fa27576d02cb17e22b3f8c36961b501b31254cef82d849cac005504b8feb5b4113d9cbc3 +DIST genpatches-3.4-90.extras.tar.xz 18236 SHA256 787d5a43bbadfcb40ac5f7aed21aca6bba239bcf495b0d051380f675487ecb42 SHA512 9917f83e64c0705e0c810723ada2f14109d29cee03576027fb234229796c024d8092abbb91406e2ff9594e9e1840f718885e9e0ff294cdb2bfb0ef76fbcfde0d WHIRLPOOL 255b4f46bd3f0685f6903eb04be187dfa3f821318c7bb8ae48fb17c35eabd88d0f14684f6031326cea4935246acd0766abe6e7363f1a527af686c7fa965cf9d3 +DIST genpatches-4.0-6.base.tar.xz 118672 SHA256 228c38e1e691fc3b3862a5de627c71ba9bcf1aafd10317a9ece83a13e041ed24 SHA512 02c3cbe7982173121f03ca9424e5fa04b27f985c2f81b7469559eda4d8824e4bb348a0b9b341a9e34c7803ea341161ff306aee5d6cb73617e01fe7aad327e05f WHIRLPOOL 685c62001c6e29efbf800471ed95f8413368c6dc194689c04dea44c5b9148e09d3d79e026f91a2054a84a991bd741dc8de08838c3cd9b9c94fb8dc981db9e953 +DIST genpatches-4.0-6.experimental.tar.xz 61620 SHA256 ea7359c8a3e4e8c53ccfa0573158f080e4ed2a458f6de654097cf21134c0910d SHA512 69b0f51e43c2a5712fd8eff3f8292fe31109e33a24b51bb0e637d15bbf2329767896d6c56f3f178ad6e9d1f69ebe6875108941f18a4a10747405be385e47ce86 WHIRLPOOL 657758e5a8b7a9c764f1d8a875be71ee079907aa6ab79c90ae2632c4ab8445a86ad97cb3ef70e424a6bd62d4c937de577cf44a10aeea4a41d8dd6d1bcf803952 +DIST genpatches-4.0-6.extras.tar.xz 16280 SHA256 205c87c3d133a57d6ca42e2ce107cf64cbedd64fd356c601ca0af29248af5c1e SHA512 61cea7f5a8919418bbea96599f7decf804d97d9e6b8729e7e5dc4f077d54c86db7b0087f70b87183420798f16c1036242f1b857ff2598edf0902ff4fa6bd2890 WHIRLPOOL fde8c4c909a26d7bf2d00e35d1ee45e03c4710871f0a2cffdfbcd1109aac0b4f3215bf0ef5dc6562e9fb9d7447c1330f91a08ffa78912b3857cd3ddab5d10a3b +DIST genpatches-4.0-7.base.tar.xz 159536 SHA256 9d1e84cb5133489f76aa3ee4ffdc6a28331bed0c6557e383bdf288ec9461ff3c SHA512 49f29bc5b8d0953431dbd1c2c0b5fa0ae0eaad6ed744cddc5e8eeb3a6dc7aeb2231d9f491149fd0e9a4a9c10bfd336746a0b544b96d9212bc401091ee586eb46 WHIRLPOOL 355dfcdf5eb508cd840e506b32f3a9a39ef885bfc605b271574cc906492ad7a82c3f3511bbc519a912c56ad2cd0ab11d51a45602f20b03bc6441a11adc53d9d1 +DIST genpatches-4.0-7.experimental.tar.xz 61636 SHA256 419952353e98ed36dcdb9a45fe73b52449ec6b6d969dbf228f4dfc2da880f261 SHA512 1dcb8ede976b65304f3550aa55fb5cd0881861bc3507658f3e1927754ec37956e656ff053d546e5edd4f4ba63fbeca50f4a5c766229d5d05e5a69a4f2002f8b4 WHIRLPOOL 881f738f577ac15b977e3d3fa7e2abae427df196a0b33e96bb457ba36118e912e84bb8e36ee0baa67ab92ccfbffdcc2265cbae3034d618e25ab9b25db0791388 +DIST genpatches-4.0-7.extras.tar.xz 16276 SHA256 911ccb197f2c9514d8b4eacbdb7c059d709f64cb97632eae85cda99d61596ba4 SHA512 ce94b88735fde37b1337f111c91da0610b14b22ce5ac68bb082170acf23b8875cc1d2e7bc8354959a91bcbf10dee9fdd81d0cd173e21e8bd8d6f2ba157a737d9 WHIRLPOOL b8d32b09e5b9ec7af8307398fef31f5569c738dfdfc1832060e998f9fb5baa31cbb84eadab28b82d50fb7e6acbb381c55271128de4c5bc14febbb7dc4b1d1534 +DIST genpatches-4.0-8.base.tar.xz 187784 SHA256 31988af608f3c3e2a6a676b8df416debbc6cbfba3fa0b0bab004de4c7acf5b79 SHA512 cbb54c89994d0cb34fd7c823572b3daec84295aece8af8119f260390ea70266ee7e4d9be700de63f6f9f9c1cdfc2e9e77bcac1862a6dd7b10162344870f59c3a WHIRLPOOL 702fa7f2a70f8b88f0645f1725f32ec98baf5a3abb4b07e4c407038ce50bd03967bf687d298e81482c83f5391197de03fcff414d8caf92cf1134e59d07436928 +DIST genpatches-4.0-8.experimental.tar.xz 61648 SHA256 37cadee8326e5da2ca8fc657de74c586a1ffea224d5f30ee0d05b35d26404505 SHA512 672b3c9f1e05ae0c2cc075eef3c47b8c7982774c0a24807509f8232eaf60b794ea37041f8c4293cd5c4e92fa956dc65b7916ab0df1abf906ac4273e0df617159 WHIRLPOOL 1e24cf7b34e22f85e77aaefacfaea35bc0b2cf55f98b75ce24c4e6649e11b2dd8e7d0de5c794675e11f17886a7e762bb97c1a824d0d07db14e51b23e7d69d4fa +DIST genpatches-4.0-8.extras.tar.xz 16280 SHA256 ea2a886f46e800b321b14168bb1b28be6fadeed8b7e7ba0f3d03d8604554814a SHA512 ab4b9c98bf65859a2e6036cd63e6373dfdbc2ad4a4360117de58be70df94342792b56673056dc8c04c07ed744c641e233df771680ea7257dd6486bd5d9e84e71 WHIRLPOOL d684bf7de81357b2a1ac5632d166319d69946e6da2556b62cd5576c10a700dc65856eb69d3acd50265bb292f9440d5fd3b93ca588c301613e4c49a1b4cbdbdd3 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.19.tar.xz 81688872 SHA256 be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c WHIRLPOOL 76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778 +DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST tuxonice-for-linux-3.10.77-2015-05-11.patch.bz2 129101 SHA256 9ce88fa2f23795d9738bef2fb0eb583d8c691255e1196673220a26624ca99e95 SHA512 97260e8191211786748a6fd001f9f04a37bf3e40243335b6a4693c5abea2627c2b7d6a923459f8c9a4b06dce007702a9aad5a6f707d8634c01701e46f2caeefe WHIRLPOOL 87942e73c69b1cdddfe534a328e3a2b54580978146196b0d1c2b55e75620511c828ec039b6790d65ff2ca3e34320e912c19c2ef510ef5fdf2c2a18973008b432 +DIST tuxonice-for-linux-3.10.79-2015-06-04.patch.bz2 129101 SHA256 9ce88fa2f23795d9738bef2fb0eb583d8c691255e1196673220a26624ca99e95 SHA512 97260e8191211786748a6fd001f9f04a37bf3e40243335b6a4693c5abea2627c2b7d6a923459f8c9a4b06dce007702a9aad5a6f707d8634c01701e46f2caeefe WHIRLPOOL 87942e73c69b1cdddfe534a328e3a2b54580978146196b0d1c2b55e75620511c828ec039b6790d65ff2ca3e34320e912c19c2ef510ef5fdf2c2a18973008b432 +DIST tuxonice-for-linux-3.10.80-2015-06-17.patch.bz2 129101 SHA256 9ce88fa2f23795d9738bef2fb0eb583d8c691255e1196673220a26624ca99e95 SHA512 97260e8191211786748a6fd001f9f04a37bf3e40243335b6a4693c5abea2627c2b7d6a923459f8c9a4b06dce007702a9aad5a6f707d8634c01701e46f2caeefe WHIRLPOOL 87942e73c69b1cdddfe534a328e3a2b54580978146196b0d1c2b55e75620511c828ec039b6790d65ff2ca3e34320e912c19c2ef510ef5fdf2c2a18973008b432 +DIST tuxonice-for-linux-3.12.42-2015-05-11.patch.bz2 129289 SHA256 16cec6808d846f74d045ffb5abac40527a7a4f5de4d881373150f95cbaaa28dd SHA512 7a920a7f84548444aa5dfbe706ca72fa6cda69fa8fd352f771c7a7e3373a845739b078394fbacec74704bfc27fb1b53b6bd896593bcf1fa2858d44fe31b10b99 WHIRLPOOL ce3690592872f77ae61a580378bb86d9fd9fb3a3c8df8d143227b28ca7b0d63caadfcfb1eccf508dbc4eb9ca916cdd4097663159b7d20e5ebd5c3ab835d8c120 +DIST tuxonice-for-linux-3.12.44-2015-06-17.patch.bz2 129258 SHA256 ca9ede7cf81f23fc378a9a917d37544583215dd59f3a43b4f18f1ced276a119e SHA512 6cc7f0468657e98cc8a2e58d440bbd76f16fbe55dd97593d6de7553b029000c2cbff9cbef19f10f5d72130c37acabcd31fea078984c46d66922a0d49242d0ff3 WHIRLPOOL c605e15a47e164191f2df19c9ef7ff73bcd4a4d2aed66e599a89562aa5239f947557bc916e8ed25b673a3c2122624514ae69f67365847a33824848e14a6fef02 +DIST tuxonice-for-linux-3.14.41-2015-05-11.patch.bz2 129460 SHA256 9ca130949f210cdc53e02bcf4058fab23620b29a713d16c78fd412d2d6b03971 SHA512 1c799c38cb7c1593451046a849f116af7ade6bf204feca72df6d3c05375b495e478446aade873b89f69f675c320d0e7979f022870c35c2c9ed08f4b2133b70ba WHIRLPOOL fa79bbf4bf8758112b2d148a8db10a69230f10dfb7df588ecc9a2d8fc2b0713ee92f2e362ffb0edf0253ed61f0f6d5e6d9aba7dce277e91035bb8ef23ff83a3d +DIST tuxonice-for-linux-3.14.43-2015-06-04.patch.bz2 129413 SHA256 c447cfd0395c952fd1758730587d33b1cebd5a8b2f93fddad23a965197e591a1 SHA512 424d5b05927359b3af151a42a4d3518cca7586bd54556f641f32dada668bad5f7ef6a76acf6de29b9dd69f4eb6ffda35acf339ad1ab6058a5f3edad7543db121 WHIRLPOOL 94f186389f618a3450ad471b909362d72db1bf4b3506387a13e2845ea7c499f828c93397c52a3b837f77fb893a1bca13bd72f1d496488894cafda2dc4fc27561 +DIST tuxonice-for-linux-3.14.44-2015-06-17.patch.bz2 129413 SHA256 c447cfd0395c952fd1758730587d33b1cebd5a8b2f93fddad23a965197e591a1 SHA512 424d5b05927359b3af151a42a4d3518cca7586bd54556f641f32dada668bad5f7ef6a76acf6de29b9dd69f4eb6ffda35acf339ad1ab6058a5f3edad7543db121 WHIRLPOOL 94f186389f618a3450ad471b909362d72db1bf4b3506387a13e2845ea7c499f828c93397c52a3b837f77fb893a1bca13bd72f1d496488894cafda2dc4fc27561 +DIST tuxonice-for-linux-3.18.13-2015-05-11.patch.bz2 127804 SHA256 2a95a32caa69c9fd2e3a2c1473f491f8c8b7809690abcd9a571702df662c6add SHA512 bf4126061c191a12b2740c4b618945386391e57659e241cfebab3192e21de32d5adb2ec8284a223c32884762f49d47b3b9b27e4ea98e1eb5e52edff6d88e1bbf WHIRLPOOL 1ef56722272435e6ade12eadf699739b1ce9f0ff1eeaedcd1a5102953da3b9e0511f847f0641282c0353f8eaa0fa45fe9d33937b96d3e3d2a4f2c37ccc56cc1b +DIST tuxonice-for-linux-3.18.16-2015-06-17.patch.bz2 127476 SHA256 baeaa16b599c46beff946aa916dd941447e55855e1129bf4d476033e39e2a693 SHA512 88cf3ed0d8cbca20fa9708f98dca962253eec7897e0d4b6b3c7207f7c36e9544d38afbfabd2e1697dd206d426b7c0a72af3502b891ffe7df75dfaeb4b25ea762 WHIRLPOOL e68d7c55d321761c1d8c4294b2133b91a4ac1d7ebb5003819d05d94b64b1427c9ce64417b51ac008995cad567a6580df8c96c55e39d0fb5670c5634a9766b6aa +DIST tuxonice-for-linux-3.19.8-2015-05-12.patch.bz2 131125 SHA256 054a5cdb85b8bb40fd35c1c0992ab115db95b9d90483de76f917cb86d061c0fc SHA512 7181090e107624e5503092c16008c2dc1c7ad05039b73c8c2e7256978004d10990f3317805794e47381e793c4970ddeef9fef433c2ea3946fa19eb4eb50b1dc4 WHIRLPOOL 518fc5db2588038bb2a8c28bb26ad7fa113caaa9e82d0eda6fc503bf336d528245f99dd10976c252a31d2e906953c594a7ef1d7c4c7a68369921e94119cfb177 +DIST tuxonice-for-linux-3.4.107-2015-04-18.patch.bz2 131546 SHA256 c2802f72c7cce5b6811b4476b8135a8e9aa7c715c3807b2c60f92cc84c661caf SHA512 4f4da36b697db267e8153e4336f0458aea9093f20eee8e809a61f2addaba3b9707c73ed6656ad54cbac006bfb08d64f5cd9eb0e2fb9990b00e126e7af15c8178 WHIRLPOOL a4c05d1325a1326273506b07721ec8b7618db17e5fbe5c23353fee922714889a92a19063727ec308e1b63ba6b7912a2ee9b80a9a30cdf837090dc18c4a366adf +DIST tuxonice-for-linux-4.0.2-2015-05-11.patch.bz2 133135 SHA256 4b92d07f35ef87aba311e61f5fa8df93caae5f4d13cabc36601de85d8a148410 SHA512 248d71a8041d9b14709823a4d26d8a11629b26fefaad27672180407224e70a5f6a80422f37aa34599534122553925fa01483c84449fd12437f3b7f28c7db111b WHIRLPOOL 3452d69cfd7260ecbde78ae0342dca2b610c6aa6a56569c0917839e881c94cdc0bb79fcb95034fa070f52f4e41f92d9812c181c27186738cfeb4e24ec9a15b09 +DIST tuxonice-for-linux-4.0.4-2015-06-04.patch.bz2 134035 SHA256 fe591fb892e1e4c8438314357e1e78ec2f2f40a68f87f1b334edb5ffe8069dac SHA512 87e610ca49af0057ff86612c0f8093445f26978b70878e75c8edd8011f67d2ba89f22fec784e276ea8b5b8f77ab8f2a9afafd5f64bcf2869eb39016722d6d406 WHIRLPOOL 5dbc1bb24641cba9e4bf055503dbef5ab0fe25246ed04910f442a20f9e4a7ddffbec7d63833ceed2f9315c36cb166a9631ac0e75f2e2c740064420fda16d4234 +DIST tuxonice-for-linux-4.0.5-2015-06-17.patch.bz2 133769 SHA256 9296692f3e2143039a781404ba761ff43bd4e51f9d1bd4ac295357e98ebbec80 SHA512 ee0212e8aac25ae7a7abca8e9e93ce0a3b67e5eee314a977b601a29c019db6a47f72c2e4057840be051486c3bba51170690e07e493063c9e6b0dd49b59350e62 WHIRLPOOL 4caa2a43546d115fc586cb978e2d6d62884347c9f3f95e2b6de6450476e20e6c7dbb15d2a2a5f128b2317dfd78bb3a6b944023608263eea05dcc393ec719d03d diff --git a/sys-kernel/tuxonice-sources/metadata.xml b/sys-kernel/tuxonice-sources/metadata.xml new file mode 100644 index 000000000000..e9ef9a6c3cf1 --- /dev/null +++ b/sys-kernel/tuxonice-sources/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>arfrever.fta@gmail.com</email> + <name>Arfrever Frehtes Taifersar Arahesis</name> + </maintainer> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + <remote-id type="github">NigelCunningham/tuxonice-kernel</remote-id> + </upstream> + <use> + <flag name="experimental">Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag> + </use> +</pkgmetadata> diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.79.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.79.ebuild new file mode 100644 index 000000000000..18a6fd5d9a1f --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.79.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="85" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.10.77" +TUXONICE_DATE="2015-05-11" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.80.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.80.ebuild new file mode 100644 index 000000000000..6dbeb0d269ab --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.80.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="86" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.10.79" +TUXONICE_DATE="2015-06-04" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.81.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.81.ebuild new file mode 100644 index 000000000000..b816fa730488 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.81.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="87" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.10.80" +TUXONICE_DATE="2015-06-17" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.43.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.43.ebuild new file mode 100644 index 000000000000..44e7d88a672d --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.43.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="42" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.12.42" +TUXONICE_DATE="2015-05-11" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.44.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.44.ebuild new file mode 100644 index 000000000000..46912c89b440 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.44.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="43" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.12.44" +TUXONICE_DATE="2015-06-17" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.43.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.43.ebuild new file mode 100644 index 000000000000..fdca76c906ae --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.43.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="49" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.14.41" +TUXONICE_DATE="2015-05-11" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.44.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.44.ebuild new file mode 100644 index 000000000000..46ebac0427f8 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.44.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="50" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.14.43" +TUXONICE_DATE="2015-06-04" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.45.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.45.ebuild new file mode 100644 index 000000000000..d7d46734cfac --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.45.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="51" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.14.44" +TUXONICE_DATE="2015-06-17" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.14.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.14.ebuild new file mode 100644 index 000000000000..d1f936d8ba97 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.14.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="16" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.18.13" +TUXONICE_DATE="2015-05-11" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.16.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.16.ebuild new file mode 100644 index 000000000000..5cb5c0c87e16 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.16.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="17" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.18.16" +TUXONICE_DATE="2015-06-17" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.19.8.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.19.8.ebuild new file mode 100644 index 000000000000..2126867797e6 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.19.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="9" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.19.8" +TUXONICE_DATE="2015-05-12" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.107.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.107.ebuild new file mode 100644 index 000000000000..109397784a0c --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.107.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="90" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="3.4.107" +TUXONICE_DATE="2015-04-18" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.4.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.4.ebuild new file mode 100644 index 000000000000..a40089e339dc --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="6" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="4.0.2" +TUXONICE_DATE="2015-05-11" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.5.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.5.ebuild new file mode 100644 index 000000000000..6b80279b5bfd --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="4.0.4" +TUXONICE_DATE="2015-06-04" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.6.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.6.ebuild new file mode 100644 index 000000000000..1bc2b9665462 --- /dev/null +++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.0.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="8" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="TuxOnIce + Gentoo patchset sources" +HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel" + +TUXONICE_PV="4.0.5" +TUXONICE_DATE="2015-06-17" + +TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2" +TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}" +UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}" +UNIPATCH_STRICTORDER="yes" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}" + +KEYWORDS="~amd64 ~x86" +IUSE="experimental" + +RDEPEND="${RDEPEND} + >=sys-apps/tuxonice-userui-1.0 + || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )" + +K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list: +http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/" +K_SECURITY_UNSUPPORTED="1" diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest new file mode 100644 index 000000000000..84e78dcbf60f --- /dev/null +++ b/sys-kernel/vanilla-sources/Manifest @@ -0,0 +1,32 @@ +DIST deblob-3.10 117299 SHA256 d48cad04fab6a802b3a3e34955c8e35b539c2441f9a62522ec5a132c3a5ae684 SHA512 7b30f0f97ed97bf6b096d4a321b4b1e62f4b48f07972f2511870c3eaaf4f3877b0c6af2f30f6b985edf9c9c79267d40448b504c59016acfe06374630d1fdcba9 WHIRLPOOL 03a5963367cc6cb4f87e3d315ab61a8b3cb1fe577b20d7e2fb6ad83464075b3ed8176f543bb4c3b4e607d78cd55ef940f446bb75be09eb7496321930413ce2b9 +DIST deblob-3.12 120320 SHA256 1d767acd3f461bcaa7ebef744dce1ca3eefde1cd41fde4c69a449e2470ab8c0e SHA512 61073cb763e3e0c21a84c0ee888087fbbf37b667ce0efbbc6c2ebc46ccae8460553511e347cf23d3c3603eec64df738ad4552a1b527453c7d795b8f90c4cf678 WHIRLPOOL c64cc566944ac241149a2a517da069185830be5b8ee25168b2b6b942bcf24fe3f2c0fe487b51a5b7e73e2910af2cabd7167cd1497ab7272c865d1eb3e68e4efe +DIST deblob-3.14 121249 SHA256 980400e0db952ccdb5a507f99444330af893ed0f8a7a052916fcf0c2b2631f7e SHA512 2cbdf4f3947c12ade0931f0b3fb8b9c0312626a3bfea9d1c7d8d1d875b4673624ed3a6369653521998bbea0cde6730b573d6be918d052f1b553e093cb42a838f WHIRLPOOL 7ba1738ac829d8848104843da6237576f235c0151d53944ff3a7e0308cfb91600ffb9253402a34c2ed106c5b0bb3ce36785ead990396465341a957c58319221c +DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831 +DIST deblob-3.2 107195 SHA256 2e8a59bf7f18425652050a1b9f2fe2e8d1f09b50b33ee633771ac03943345e81 SHA512 8de24b5dade9256caf20215692f2e53e403f99d3d1e81b301263ae5f8ce667780a1df7917094155fb47210f22e7839e3d08e4f3a84c86ae6bf582227b938229d WHIRLPOOL f7abda0702c9b038ee82b462d1de30bd21b28d591058f417aa399581e93ba35638f476544e6acfb12760d672dab067916e4c68275c91f4c01d3bef7f685ed67b +DIST deblob-3.4 108298 SHA256 b005dd372b8e55b19fc583fd99a3e95e44844b56305fdff7fdbd5f924a6c0308 SHA512 ce3df3c4850f0da821286acfa1b6c94e16350578f76a4df93284d2fe201dd78ce15dfb5c56727d8f90012062db180d5e9ee81ac3372f5b46e0deabdcfc03ca19 WHIRLPOOL 79386c1e04ca84709fce6ec4ea5eb308876d86f04a1b28f1eda4653d4917b3b9aa9b8a6b82605da3456d29e800dd5bbfcb27c124f1a01057d25b18871bc8770d +DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8 +DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e +DIST deblob-check-3.10 612122 SHA256 5a9552abac85cab9715a958785a3f901937fa135d85452647a16398181909c12 SHA512 c52917e9de8211f66a1e6805282dd727f1ec86701f76cbf16d0909ec212a9429c0994e0993db95b57934b17d9d91b08b4fa29f80c501397a5acce84bf4e1aed9 WHIRLPOOL d1c591fe7e229f9638945dd14f7dd16617ecff224b4cf2a6a3dd58913c23f7eb67496c26235d1d4637607bc9c9d260d990a0935b6b5bf2332f15e8ed58269856 +DIST deblob-check-3.12 612300 SHA256 f29e34b141113ef9f71bf963b0e09bfe64e46db485ae1174bd212fed45a82ed3 SHA512 5835725eecbb9c23740e80bf5a6bb826bf49244e8a90b82ba3e2eaabeb8199aaceb1b63b8615f9e4770d846a5218eddcd091e7ec4568f74f963eb177051e8da5 WHIRLPOOL 615b95b11a9c9514c94a064e6b5019d36faae384c55ba30da1014ce3676731042939331074ccb3e7136458d54f3a5ad1f88aeb8ea45fb6310734c9f455ddb750 +DIST deblob-check-3.14 613905 SHA256 4c69ea1c225b1a84c41e75392dcaa94f77dd8e647aff3afe52f1ab16ac99c5e5 SHA512 4dd7e785727ce29d78f5f68431fcb6ea9dfda5221dc8e699f40d13e3c85411707b13c288d23f8baa6b3c47f5a67ac58da0a7f1a51c4d9fdda82a7428ead88cf4 WHIRLPOOL de1b67955662f072193f58b7e7dbd98c6680958c2d65632bfb831dc0681945a4d1c27abe978e6ee687ae8f48773eb71c2f9026f461377b28235e7f7e39832a67 +DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c +DIST deblob-check-3.2 557345 SHA256 60d05db20e7b50919ca44487d05e8faa9cca830318bd8d96625f0f75b252eeed SHA512 6b857380d495261c4d356639157f99f3ca3412388fd3b1c72b566c3bb6453c5a22ab7716e3b24e64a9b63dab912b07baccccfd0fca806ac0e0620efeef777b6a WHIRLPOOL 877c2c9b813466f9aa5cfecdc9ab93247bd2cdead457c9e0bd97da49d042d0a52262f9b4f8e9c83e397b57c5bb5a8fe2b61bb5f44d5a178a579cc9fff990941a +DIST deblob-check-3.4 612122 SHA256 5a9552abac85cab9715a958785a3f901937fa135d85452647a16398181909c12 SHA512 c52917e9de8211f66a1e6805282dd727f1ec86701f76cbf16d0909ec212a9429c0994e0993db95b57934b17d9d91b08b4fa29f80c501397a5acce84bf4e1aed9 WHIRLPOOL d1c591fe7e229f9638945dd14f7dd16617ecff224b4cf2a6a3dd58913c23f7eb67496c26235d1d4637607bc9c9d260d990a0935b6b5bf2332f15e8ed58269856 +DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d +DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17 +DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a +DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 +DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST patch-3.10.85.xz 1155136 SHA256 c20dd0404aa48fd3253a4f5f9045f068a9c92f837758e1de8c4bc2243a770604 SHA512 e1d91259abb3383bfb6d62ceace41739e069ba9972388f7821f7ef13610b3d30538108ce25aed6aa25942b9e07de6bcd457032921bdaae507465c73e4e2df736 WHIRLPOOL fccbcc33f2ea27525a59df7b533baa812d69cd82b7455b0070bd060c0de944810faccdb3296f94f838102d7ad788a1927d98af162165c658e3ff266aec68958d +DIST patch-3.12.46.xz 1313524 SHA256 cc052c3c1bf2442f22396f0658b7b8a078402859416cbf5a16eb8d40bc9416aa SHA512 7173b508d173fa389b06362fe823b6f22bf3a43245dec735c36b9a9cbb9ee4dbb9fda5b3cceba06f3464e31fb4af2fcd3f543969f4ce3a9170b55270283781b6 WHIRLPOOL a56cc8a8f05ff210cd7dbe903d40cdfcd26960c00efea323d2ef08690940914ecdbc0d50835a4409670615fc01947687fffdd2d2f68309ad3f9095d714882894 +DIST patch-3.14.49.xz 959964 SHA256 0158fedcacac6b5be1273a5382e137a083bdb63b83449068c342ab1587c4240f SHA512 d28954b5e7748d32412db7e462f5e6490dcebb872df041c38915f0209832a175b7c5c2813695641959450a8b4c5fde1ddb1bbcfa68a3bd438f6b57505540e461 WHIRLPOOL b0b659f10e916b5fcb7d905412a6607e8ec1a9e64653bd76f3269e0b605f909b8ea2ccb0ec57cef5744e60cab4e4688a4e8019f4c71e9c519887abeb1c36f73b +DIST patch-3.18.19.xz 566864 SHA256 27764fcbefea9e1a83a2f31c55c1baf8bb580634fdce243c4a386850d2724c37 SHA512 32cc7e9db5e4b607160670b83bf03ef1d850a49c77a45f183543e1c3674bb3e1337480d139959636624c739f97cca9f9f3e16d282dab2151926e50378a1c96c7 WHIRLPOOL 48d79ba1828ce2875af271b1d6891047ee9cc451f95e4e4f304d31578130d9f6b71eb49d94a375ba07e35ceafe36b4d0d528adde0b54c8684021e3bb2b15dbd3 +DIST patch-3.2.70.xz 1438832 SHA256 f19128239756e2ff3cee9e3176f3c4f779ae888d71507a9fded4972228ccb669 SHA512 974f9ea5fa2a4419ee7452846270b04a4be870cb24e3391ac6e2d84366f33e3b9dde5b8cf4cea038075264446e4e3f5778da690ecd43f46efd30187d6fc48bfa WHIRLPOOL 95d891007753cb1f0b9176183cf75a7ea21f56773a52354c8662c6b418d2ec42b43cef6af6043abd2f31f413c9f3761cf8daa7f80af506cd9c2788611636098c +DIST patch-3.4.108.xz 1249808 SHA256 7909601dd0cab76e933c86fc76bdd64520ff34abb126059f9c02fb4cf2050372 SHA512 50091f2db3cf60d3fe3a0619f9ca72c29ce20f1accbee745849da9d2c0f0de1dd0fb6ba3511356d6d70ab0cbf7e740e16ae45c7dc9311b06a5539684dbac5f94 WHIRLPOOL 3e7341a42f71cceeaec7b19b0558017d66bf7f0c115d8bd47c6cfdc646b319d59c4fb176704c43fe945c72ecb1c052eb8a6dab9c9e99f6c615ee17f6caeda7ac +DIST patch-4.0.9.xz 226564 SHA256 842cb3abf053e809b23e615020f3d0730220660f0e71f259dce69510364965f1 SHA512 59cfaba028cf9d669ceac25f967945963330736059f38c01f584d3379e2ac243df3f89836e4815014f6799816746bba49a35915ccc4a66250bb95536d9b9e9f5 WHIRLPOOL 9e59979125dbbfef3ba972be4987606a8ba0ce24ed7cadf216c3b339036dbfc3a071f66fc12b6d0acd41d5ad53e71607d3e01d658f4fa59ebe70767d0e5cbc62 +DIST patch-4.1.4.xz 130240 SHA256 0976127a60a950acf2796f642ac647e5231573b9a0f25703a37a50b988bf3b88 SHA512 c6ac581f49e6fcbc6248a56e0e318778743e83c1936b3540b9b4aef255b5877ed3bae2fdd09fea8d3a86e6b57dbb6a413b4ebe4f994cbe0b0a0167b4dc821794 WHIRLPOOL d33a6f6dcc7ff759407d8b20fad40fbb8cb6ea44aead4876b53ed6ce66026c3bb43e478e25fd694d9bd3648ef3d01195ffd14ebf24619cd856805270b885d13d diff --git a/sys-kernel/vanilla-sources/metadata.xml b/sys-kernel/vanilla-sources/metadata.xml new file mode 100644 index 000000000000..47336f4e6c2a --- /dev/null +++ b/sys-kernel/vanilla-sources/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <maintainer> + <email>kernel@gentoo.org</email> + <name>Gentoo kernel team</name> + </maintainer> + <maintainer> + <email>ago@gentoo.org</email> + <name>Agostino Sarubbo</name> + <description>CC/Assign to me the version bump request</description> + </maintainer> + <longdescription> + Vanilla prepatch/rc sources, for people who like to have the latest kernel available + </longdescription> + <use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.10.85.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.10.85.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.10.85.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.12.46.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.12.46.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.12.46.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.14.49.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.14.49.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.14.49.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.18.19.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.18.19.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.18.19.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.2.70.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.2.70.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.2.70.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.4.108.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.4.108.ebuild new file mode 100644 index 000000000000..c75920f1781d --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.4.108.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +K_DEBLOB_TAG="-gnu1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.0.9.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.0.9.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-4.0.9.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.1.4.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.1.4.ebuild new file mode 100644 index 000000000000..307e6299c03e --- /dev/null +++ b/sys-kernel/vanilla-sources/vanilla-sources-4.1.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +ETYPE="sources" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for the Linux kernel" +HOMEPAGE="http://www.kernel.org" +SRC_URI="${KERNEL_URI}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="deblob" diff --git a/sys-kernel/vserver-sources/Manifest b/sys-kernel/vserver-sources/Manifest new file mode 100644 index 000000000000..02e7a00ec11c --- /dev/null +++ b/sys-kernel/vserver-sources/Manifest @@ -0,0 +1,23 @@ +DIST deblob-2.6.35 93556 SHA256 58a36ea1899cac2ceb1c7b545a922d7cb76c7648f86ba5224679a0a629eed469 SHA512 e7a94ba2e54def3749611cd5491a5dffd61d621bc1c9883612369082d0a215ee543732952575cd7babd447604a3e79af65bf15106d2e409dc2c347980804c369 WHIRLPOOL e59cf751f05e915a8f69c94a8748e7a5c22277ea3607fdadcf03eedd0091e9b8911748462440bb9a5d2c5576c61e89ad984b2806dd26da24d1db13e2ac2ba7d4 +DIST deblob-check-2.6.35 558238 SHA256 3cfe6a5d4048999924c78630fc050f50035606d2555327fd126c7309ea2e256c SHA512 3fce9cc56df0da5b7fce308026657afb65aec97a0249e5894286c52637ddf8de33b573e24ec377dcc8eed3341b4cc56bc4a32da7348e3b0aece4e9c0179d133a WHIRLPOOL bb9885ac9c53f37347024793184fcf6baf34ab82369cde5867829af98e98196c76cf9c1953f9ebe1fdfd5f468502e7dff56e1c6e9c6eaa5d64829e83797d8365 +DIST genpatches-2.6.35-9.base.tar.xz 121780 SHA256 a28626d39d3314e4cdfab45a77d69bb524028dc3ff4b6d6de9872ad161b2eacc SHA512 faef1bb0320d6ace83e0d7258201c80d06c07cde6ec852a450c654c04002ae9a9a2148682e46ebe1368ef897ee34bac789d1fa83156442ecf54a927b9944f4ec WHIRLPOOL 255394d394cbfb50d0a642eb2c46ed2b2d1baaa54bfa0cfa904bbaeda625757b705278aebe29c30e2b868e4faee525a65db9990a06187c2fa6dd85b601280a77 +DIST genpatches-2.6.35-9.extras.tar.xz 15244 SHA256 b79a0a3327abf8db8a9dd3b59c568ea9f50ed590ef24a06a46d5f72ae37dec58 SHA512 47b84be6640b3de08ef35b0051af171351cf52a5a2c1a4b49c441270929da2721c2cc56a8f461753105e5dc9aef639d73d0434e73fbe19a87a5cf90cb96f1cc9 WHIRLPOOL d7aa2f4b87cb261b5d7ee2d8ae8e2b603bc8d7a85650b6cc974713edcef41722d3de851d5005926f5cd8a3d27ea6ae413f081418699edb463e6f59eaaeda237c +DIST linux-2.6.35.tar.xz 56921708 SHA256 195c14b6b2785900b1e3c051916a29bc08f4862b65a599a500aae50711fe96c1 SHA512 7fb9bd9c2a246282400333742301fb8463d21a6dc52542054eeb455c0f19e7a3462a0744aea05189cb841a017aa81521d31b865684173553a33a8bd8e2d82d4b WHIRLPOOL a3d5b4891afdec6410971c7371bcf72f48ae8711f2979298796b32f67a57e5903c1d99b50a46c6e272aa04e9d6bc2329b29607d9c4c31c87d036d8f85a9156e8 +DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 +DIST linux-3.13.tar.xz 77187032 SHA256 4d5e5eee5f276424c32e9591f1b6c971baedc7b49f28ce03d1f48b1e5d6226a2 SHA512 1ba223bb4b885d691a67196d86a8aaf7b4a1c351bf2a762f50f1b0c32da00dd0c28895872a66b49e8d244498d996876609268e64861d28ac4048886ef9f79b87 WHIRLPOOL 2992257a17e85b3eb16fcaf21678fa6dbf31f80c2099fd1ad0ff9852ac1d16122ac8e2c0b46421d8895d4368253a724e439cd625307ee7af7bd1e50cb2c9b62a +DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 +DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6 +DIST linux-3.9.tar.xz 72104164 SHA256 60bc3e64ee5dc778de2cd7cd7640abf518a4c9d4f31b8ed624e16fad53f54541 SHA512 77fa521f42380409f8ab400c26f7b00e225cb075ef40834bb263325cfdcc3e65aef8511ec2fc2b50bbf4f50e226fb5ab07d7a479aaf09162adbbf318325d0790 WHIRLPOOL 668a8de30c7c3ccf6558cf0f29570f15e37ca7d599d1453afc3cab113d1b05fbd5b32646dd9ed798ceb61405a8754345da0740a53f467b825445028cda4bc698 +DIST patch-3.10.40-vs2.3.6.8.diff 748146 SHA256 3842a7770119a237016d8bdc5ade4d9388604bb6a87f73749a34dfe2b3182393 SHA512 bb24cae59e42e2681aebcfabf65ead8613fb4df4aa1a0ab3e71ece62aa9f70f65ad2c7ba7d7869f69e07ea61a5260894d92c1c493856d9cf9438bc471dd5fd0a WHIRLPOOL 6e38fd36f9669dd9aa8cee65e8c509f7378b40cb9f5b3c594274d17294adea262e3b1e4a085c98526171e97c72122fe9925aadb4219638febaad361020e33740 +DIST patch-3.10.40.xz 686216 SHA256 ca4514f17cfc0c1b9ef17066465f044f06452a2b3da5e5a0eca8a841df42c634 SHA512 21890114e7853a99e62bf8fbfe131459cba0bc1c0d731719102a155125dbc980b962f3c9b3fd4c060dd4c9198c007d5b7eb2c4ded2c66e6602c13add24c555ef WHIRLPOOL ac9984aa6eac0eff8a0587315d2ca69d24b873253d7288ce0a7eac684d7daca570e10283b32ade4fe43bbedf582f2f335a88f0dcde00c3a142abba96b9f9759b +DIST patch-3.13.11-vs2.3.6.11.diff 725618 SHA256 1ec7e22f6fb69e5ea91d56203889e7c81b8f058bd90fadc3f1d8b0abf782af11 SHA512 05b8a72ca55621beb6ddc59e545f50f735f9b01fbdd577efe1201c274a5ccea97e085bf774ad58a8ddf7eefa7aa2a1476acdf7fc7da412155484bf78cbd473be WHIRLPOOL 18ab7b319713e3dad7660567fc1c18231e7b06ff490461ca1d99bcbc6f1f01386bc5a83414512405495be9b541ad30e4296d7f536ff55c4ae9c7b5d315eab394 +DIST patch-3.13.11.xz 278568 SHA256 0c481b0abee4ba6779fe168f98dcca6481a033d393d66ff6b9caaed7f0307231 SHA512 31a85e07ed75f68507d4d264d36314877c6304f4c9afb18173d70255c1c5514772989bcbc3582756e57c22d28dc84a610acc56edbb6d06045d9c63505fcfbc1b WHIRLPOOL 814ca09d577a8fd0ccb2a41353aebb93f18209b2b3c51a2b5c76353cb474ea58ba88be805d4e0d316eb0442b9ee50637ac9d25a05fa0b4a8453cdea8273aa50b +DIST patch-3.14.27-vs2.3.6.14.diff 723058 SHA256 e2ea623bbabf341fb5f00fb8a778f3331132f304e9284fbae575988d65ca6e05 SHA512 f4546b51f1e9ae5ab2a800ded41eb38ca0da5efa6598bf29a8494c9aaa93a55b5b66ee2f2c4d330bd70a318e2b8ddf2e4318ed57fe60bf128bc6d0f1ed987279 WHIRLPOOL 86f8061ee417b091b91f845e19d4ee937f0a1ea9b18a6089dcc0ccdd8fcc328c8c456feb09ccb67b7a96bfbb7ab0065aeccaa44fd045c9eb62f3c754979a43cd +DIST patch-3.14.27.xz 671988 SHA256 5f84a4ff394444486d1715d5283383a8461ff089ed9b9fdc5dde2ed65531d21e SHA512 1191ef739905b2e5057c5273e5cf026baea1ea4855dca8375dbe4ecaa7e6d2d38b8103e2781554f2d9ecf9026fdad1086c6b9d8f0b41fcb8e39aca0612e208e7 WHIRLPOOL 0e2e6dab6bd76db8a04c6643d46a5049d48ef0149fd06f1e4abb0067f0618e60b1b065107d6ddbfd24b42c5a9876d9b2ffe8ddd2585d556f3769d83761b5ea33 +DIST patch-3.18.5-vs2.3.7.3.diff 718451 SHA256 498e7d9066262021169efdf173e18be6704261fafe9ec7941471fbe4b782fd95 SHA512 fa717dcaaa0fed50357be12e4fb79148d92867d9091504b304500017b44e48d751f7b1848cc90b3e1485884ae6b33a5d6ff6ac5fff574afe432712c5e2a80b0b WHIRLPOOL f29b2f94b38b288eba784b9f971d05816685d7dc29ffc0fed738c48412f4eee911aaeae7dcd8162fd9182bf98288c6b5644fec9610f58cf87846c39f83234322 +DIST patch-3.18.5.xz 165412 SHA256 9e261632e11f629705c3f1b2f07c611284e5f9972c42f6740131e8e2471c349a SHA512 273b5e4917bcd8520d8c81869f41572275a181ae4cb2c3d7309507d47da29903eb2104703e4402f07f6c20477665a82ef57d8a1c34e19ecc10b0e1a4c0f8fd14 WHIRLPOOL 28cc9043c47c945e7e64cd703a3c9c66edb29f179822156875fbe6036b2119f05e9922a2249bf530f1bd7a2f992d324b34a0c7d04bea0e2e655a24bf57485ca6 +DIST patch-3.18.7-vs2.3.7.4.diff 721087 SHA256 d9182298b3d139402687202bc0c10d5fccea76ad3450c93bd905f0c2b8cfda33 SHA512 6691a8337c0baefd90308c4d3c7d5821e3dafd10b07b67924748e5ddc58cb84cc04f5f8a3a5d2f7fde7d0d5096a5b5b66a8c1d77e57e8e2df05789a410927eaa WHIRLPOOL fbbec19ff7e397dc764440a3eb459b6f412251d32e2a6c3320ab7126e27013dc094abcfaaf9126fe9bcdc075ab1602afae8b1a672518fa443093adc9fb9049c1 +DIST patch-3.18.7.xz 201656 SHA256 2267eee27227c85c6c7aee1ed6a14e1d7f11d70c3048c96bcb1e848fc5ab31ca SHA512 a63f56818a3d16f7e39b9967ed751fd6f49837668d533e32ae5bbad7f834e0f3641d9829c27acaf7e65b10581dd1e7d15a05127550627edcd7f9ec7fb5780600 WHIRLPOOL 5a2a611641e34267506afab88b22d28fa0346194074669fe92279ae2873d27c8257d0a7bbc39e32e60f4b4b1f0d31c44f8597afa8c15326ebb350a7c7a49c0c1 +DIST patch-3.9.10-vs2.3.6.5.diff 749393 SHA256 5446b3dc35929744008ab9f9ec65ec043739ba1dc024d272a285742689e23091 SHA512 97dd894742b0e348a1159a540f802bb38b8fb720a3c2cfaf8da8df5da8aa4628e7b63a8a0c1f20544995dc618f244209238ed46502d53a705fb168fcc6d462af WHIRLPOOL f33d77b5992286c82698820c2ec3aa8376a5fee4965b49ccd0dadb3852fe01c42d32e5fbc6d00c2ee0872bdab2689243d254bbab48891e2f27256a467e3c172d +DIST patch-3.9.10.xz 210652 SHA256 917a1c08ee87c11911ab73af438cf27eb36ab42cae9b84bc60aa18c4a72ba3b6 SHA512 27976b68034376ad2ae9185ad6e5d35668af34aee4e856ee4d1c07657e397d956f8570db66bd032eb391ebb1fa10d12bbda56546036ac5e0ad7897b507be0929 WHIRLPOOL 38f86c546d89396ba68a2adde268a4666385296a23aebec0c2e801a51f76446a6b9651918db7effb3ef7030020ca0ac349183f70dc01a5abe97653b986491df8 +DIST vserver-patches-2.6.35_2.3.0.36.32.tar.bz2 139594 SHA256 4cc1ba13d6bb1491d48e53590a8abb2c0e3f2eb8f560ab74800c6cde9bf74b12 SHA512 8d755f239314c33e8804fa703966af857b30de71b42ffde2eb1be59d1b42daf4ef7c5a73e2c19fae1905471e925f7f99676a176f4a7340fcc0c35453c2e72053 WHIRLPOOL b83c84cfa7a7a55e8018d51709daaa4615e43bb90001bf0b49ac8632915a6b2c35158905e8e10773649f7fc0af87f15f35ee5d91b69d9b7e88a4ebbd0cb24e1f diff --git a/sys-kernel/vserver-sources/metadata.xml b/sys-kernel/vserver-sources/metadata.xml new file mode 100644 index 000000000000..e067c04324a9 --- /dev/null +++ b/sys-kernel/vserver-sources/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> + <longdescription> + The basic concept of the Linux-VServer solution is to separate the + user-space environment into distinct units (sometimes called Virtual Private + Server) in such way that each VPS looks and feels like a real server to the + processes contained within. + </longdescription> + <use> + <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.0.36.32.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.0.36.32.ebuild new file mode 100644 index 000000000000..2170c84a9d1a --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.0.36.32.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="2.6.35" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="9" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +MY_PN=${PN/-sources/-patches} + +inherit kernel-2 +detect_version + +KEYWORDS="amd64 hppa x86" +IUSE="" + +DESCRIPTION="Full sources including Gentoo and Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} + http://dev.gentoo.org/~hollow/distfiles/${MY_PN}-${CKV}_${PVR}.tar.bz2" + +UNIPATCH_LIST="${DISTDIR}/${MY_PN}-${CKV}_${PVR}.tar.bz2" diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.6.11.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.6.11.ebuild new file mode 100644 index 000000000000..082c44bfc0c1 --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.6.11.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.13.11" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.6.14.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.6.14.ebuild new file mode 100644 index 000000000000..f79af7b13a7d --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.6.14.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.14.27" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.6.5.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.6.5.ebuild new file mode 100644 index 000000000000..076393fba99e --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.6.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.9.10" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.6.8.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.6.8.ebuild new file mode 100644 index 000000000000..7f636fcb5117 --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.6.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.10.40" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.7.3.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.7.3.ebuild new file mode 100644 index 000000000000..6e42b687cede --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.7.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.18.5" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.3.7.4.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.3.7.4.ebuild new file mode 100644 index 000000000000..ac08af525349 --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.3.7.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +CKV="3.18.7" + +K_USEPV=1 +K_NOSETEXTRAVERSION=1 + +inherit kernel-2 +detect_version + +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DESCRIPTION="Full sources including Linux-VServer patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://www.gentoo.org/proj/en/vps/" +SRC_URI="${KERNEL_URI} ${ARCH_URI} + http://vserver.13thfloor.at/Experimental/patch-${CKV}-vs${PV}.diff" + +UNIPATCH_LIST="${DISTDIR}/patch-${CKV}-vs${PV}.diff" +UNIPATCH_STRICTORDER=1 diff --git a/sys-kernel/xbox-sources/Manifest b/sys-kernel/xbox-sources/Manifest new file mode 100644 index 000000000000..df26e621b5bb --- /dev/null +++ b/sys-kernel/xbox-sources/Manifest @@ -0,0 +1,3 @@ +DIST linux-2.6.16-xbox.patch.gz 114525 SHA256 c8c3bd4b506f2c5a534d43efa6121e701aa5268a63ce4f35855c7a00b4d4f5f7 SHA512 003fd833a5fe6f96f6a3ac187cfd5083486ffa3472cb73f118b33b74a0b236a15f1bee8b28f7a08fed508ea57d78717f5834de8b77847a07c3a14e8b8ca9d076 WHIRLPOOL 1c8eedfa5263a9751e44c14239c9f9e6220e485182702c9f965297cd996edaa7d22a85513b0fc79637f2d9d33c203e7834c9752f6598e07dfc00ac5d482bbd79 +DIST linux-2.6.16.tar.xz 33178492 SHA256 6851eabcdd9da0d79f6d7c62da941547da963fa916c3d30ac5e8d70367cdc75a SHA512 7df52017beeedb9c0abe2f3ea0054141153d10acdd20935b60f357ee795c04f4235477776dbe6b81f34e33f4451325202c5f6d41201de299e69b653cbef7c9a1 WHIRLPOOL 3ec1f4cfd265b1b177d65959d24b89781af471f8a6b7be616ed8f88e7d531e2d25b6e7a8626bdb4ada5844843a912bbef37d9a5d25e283811cdc7803351fdb50 +DIST patch-2.6.16.26.xz 58504 SHA256 b280b662a3bc92e11b28a825582d7046d8064c30c342707e76f7f0c5a3ab7715 SHA512 5c088557e788a25aa6dfe4b60e80af0cb0a1cb09e5d17fcdfd7912dadd7810381425931ac42de35e13c51b8349cf5c134dbb2feb5726131725bae99d35caa4ce WHIRLPOOL f1383cac82ce5dd4a6767bae37ae3add551ccb3cae1e8583585cb00e276ec6dfdab7cec5d6f55e8cdc304801dbd8548569572914964c67c7cc2d147a667ea767 diff --git a/sys-kernel/xbox-sources/metadata.xml b/sys-kernel/xbox-sources/metadata.xml new file mode 100644 index 000000000000..413f9bdcef93 --- /dev/null +++ b/sys-kernel/xbox-sources/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kernel</herd> + <herd>xbox</herd> + <longdescription>Full sources for the Xbox Linux kernel</longdescription> + <upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> + <remote-id type="sourceforge">xbox-linux</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild b/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild new file mode 100644 index 000000000000..63d24d5b7d87 --- /dev/null +++ b/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_NOUSENAME="yes" +K_NOSETEXTRAVERSION="yes" +ETYPE='sources' +K_SECURITY_UNSUPPORTED="1" +inherit kernel-2 +detect_arch +detect_version + +# version of gentoo patchset +XBOX_PATCHES=linux-2.6.16-xbox.patch.gz + +KEYWORDS="~x86 -*" +UNIPATCH_LIST=" + ${ARCH_PATCH} + ${DISTDIR}/${XBOX_PATCHES}" +DESCRIPTION="Full sources for the Xbox Linux kernel" +SRC_URI="${KERNEL_URI} + ${ARCH_URI} + mirror://sourceforge/xbox-linux/${XBOX_PATCHES}" diff --git a/sys-kernel/zen-sources/files/powernow-k8-family10-model10_fix.patch b/sys-kernel/zen-sources/files/powernow-k8-family10-model10_fix.patch new file mode 100644 index 000000000000..10ad496ce57f --- /dev/null +++ b/sys-kernel/zen-sources/files/powernow-k8-family10-model10_fix.patch @@ -0,0 +1,34 @@ +From 679370641e3675633cad222449262abbe93a4a2a Mon Sep 17 00:00:00 2001 +From: Mark Langsdorf <mark.langsdorf@amd.com> +Date: Wed, 31 Mar 2010 21:56:45 +0200 +Subject: [PATCH] powernow-k8: Fix frequency reporting + +With F10, model 10, all valid frequencies are in the ACPI _PST table. + +Cc: <stable@kernel.org> # 33.x 32.x +Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> +LKML-Reference: <1270065406-1814-6-git-send-email-bp@amd64.org> +Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> +Reviewed-by: Thomas Renninger <trenn@suse.de> +Signed-off-by: H. Peter Anvin <hpa@zytor.com> +--- + arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +index 52fce63..6f3dc8f 100644 +--- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c ++++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +@@ -935,7 +935,8 @@ static int fill_powernow_table_pstate(struct powernow_k8_data *data, + powernow_table[i].index = index; + + /* Frequency may be rounded for these */ +- if (boot_cpu_data.x86 == 0x10 || boot_cpu_data.x86 == 0x11) { ++ if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10) ++ || boot_cpu_data.x86 == 0x11) { + powernow_table[i].frequency = + freq_from_fid_did(lo & 0x3f, (lo >> 6) & 7); + } else +-- +1.7.1 + diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml new file mode 100644 index 000000000000..df5ec0287618 --- /dev/null +++ b/sys-kernel/zen-sources/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>vicegentoo@gmail.com</email> + <name>Daniel Weiss</name> + <description>Maintainer. Assign bugs to him</description> +</maintainer> +<upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild new file mode 100644 index 000000000000..8c69704ca931 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} diff --git a/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild new file mode 100644 index 000000000000..8c69704ca931 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} diff --git a/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild new file mode 100644 index 000000000000..8c69704ca931 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} diff --git a/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild new file mode 100644 index 000000000000..a0718234745d --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} diff --git a/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild new file mode 100644 index 000000000000..8c69704ca931 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} diff --git a/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild new file mode 100644 index 000000000000..8c69704ca931 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE=0 +CKV="${PV/99/}" + +ETYPE="sources" + +EGIT_BRANCH="${PV/.9999/}/master" +EGIT_REPO_URI="git://github.com/damentz/zen-kernel.git + https://github.com/damentz/zen-kernel.git" + +inherit kernel-2 git-2 +detect_version + +K_NOSETEXTRAVERSION="don't_set_it" +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="http://zen-kernel.org" + +IUSE="" + +KEYWORDS="" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup(){ + ewarn "Be carefull!! You are about to install live kernel sources." + ewarn "Git zen-sources are extremely unsupported, even from the upstream" + ewarn "developers. Use them at your own risk and don't bite us if your" + ewarn "system explodes" + kernel-2_pkg_setup +} |