summaryrefslogtreecommitdiff
path: root/sys-kernel/ck-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/Manifest8
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.13.12.ebuild60
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.61.ebuild65
3 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 4d1fac243291..04357c38e79e 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -20,6 +20,9 @@ DIST genpatches-4.13-12.extras.tar.xz 17412 SHA256 1570e22b14044fd5227d2bb9c632e
DIST genpatches-4.13-13.base.tar.xz 232160 SHA256 11bd5bf67ca6b3aa92075e66c9642016e348b22949dd2f0195487863c48fe65d SHA512 02ed31fd0fedf1c312ac12a016946746df549e30c16040ab860a91041872addb0cd33e6b845fb37af179b30c9e50a090e4091d2b48eee1b61cb935fd593c1108 WHIRLPOOL c32be054cb97df1151db90fcc8cece47e6c0c5e506e37237acbceed567f9859bc34a7d734c5660c78884bfd6cb5468856700ef3adf7f7d4d145b97bde2d049a1
DIST genpatches-4.13-13.experimental.tar.xz 5184 SHA256 6734f0f0fdf33b648f7af28252e17b72e9345a483ef0714fa45e192cb33e2b7c SHA512 c220d229f4dffaf7bf09b9d4cb1a73d61b7646191d715098e5eb51808c66d38827729edcc9999f1252d7b1bfaaed7d2d2566add7b6cbadad1db246379334dee1 WHIRLPOOL 307fe32b1492096547eca0af6de818d81724ee58f2594d4c537b1a6bf797ef45b96a51a25b5e92d279e78398f5104bb28bb20a2c2980bab779e5f292017de246
DIST genpatches-4.13-13.extras.tar.xz 17396 SHA256 dc3c9d2b5c8c5f95af5e3da9463e0fc3d9c83b8c40d992f6381ac3d4523d0287 SHA512 67a4cf48502378663c5277e5d6c2d98d195d7f7b3a7fe0e79a5118c7e910e19c9882807cd7d80f73c08f28d702b83e4af9248597af751dc3cf923eee40a5c0ab WHIRLPOOL 8aa276bb0617a876fea012e15ee8e1877ae6921b386e846c60881410ff565960e9c5b82e88e62e39c85439a79bf1561e2834912358f754a274870e224381ce8d
+DIST genpatches-4.13-14.base.tar.xz 243120 SHA256 7ab50617a0dd9661b8e23db22d3be8d20c39715b9dee8b2ab7b9a19ecca2b1fb SHA512 c885d59f4d301b1ef71d40e3b35758914b669e25a15a64826454b3f46f5b45a49850971ddf11cd1d5db41d1c0fc5d814158dd02f14d9eb0c97af208865c44dd2 WHIRLPOOL 36f0972a3ff9f58100603faf6a7086e03a32cfdef42d903df5e202734c0d56eace42d7c1242712e764aa5b87f1eb9fe1c78070a05cff6eafc2150d05f35ffde2
+DIST genpatches-4.13-14.experimental.tar.xz 5184 SHA256 6734f0f0fdf33b648f7af28252e17b72e9345a483ef0714fa45e192cb33e2b7c SHA512 c220d229f4dffaf7bf09b9d4cb1a73d61b7646191d715098e5eb51808c66d38827729edcc9999f1252d7b1bfaaed7d2d2566add7b6cbadad1db246379334dee1 WHIRLPOOL 307fe32b1492096547eca0af6de818d81724ee58f2594d4c537b1a6bf797ef45b96a51a25b5e92d279e78398f5104bb28bb20a2c2980bab779e5f292017de246
+DIST genpatches-4.13-14.extras.tar.xz 17396 SHA256 dc3c9d2b5c8c5f95af5e3da9463e0fc3d9c83b8c40d992f6381ac3d4523d0287 SHA512 67a4cf48502378663c5277e5d6c2d98d195d7f7b3a7fe0e79a5118c7e910e19c9882807cd7d80f73c08f28d702b83e4af9248597af751dc3cf923eee40a5c0ab WHIRLPOOL 8aa276bb0617a876fea012e15ee8e1877ae6921b386e846c60881410ff565960e9c5b82e88e62e39c85439a79bf1561e2834912358f754a274870e224381ce8d
DIST genpatches-4.9-54.base.tar.xz 1053504 SHA256 ad6728a6e84a45aa9a84215f72ba1daed8c9681b61d9470b0fed24c285aec82a SHA512 3e64d39f3d7d0c1d68cca6b27df1e374970f0b42f47ff6bc900a1a12d1305093efafdccc28a1ba89404397ad285298058e882329f651e8d1031ddc86dbf06c40 WHIRLPOOL 7c22db4217a2604a05e8f4a9817fceabf865b00c7c33df95cfc5a09af6ffa84d809930c221f55cb9b500cc8d57b2e43f70f80e622a19fb73e0d068f2ec2be18d
DIST genpatches-4.9-54.experimental.tar.xz 106360 SHA256 9c5b4ec4005bf50556163cebe4a4e577cffc3ed0ab06a40cd79bc7e9e33a964d SHA512 ace1650a90d70f1ab6d938d2509c44ff1911178161bfa6f060f5eb078b9c83d031709dc483f3481afc82c34b705cd9dd653c95c9b53817c79b0e632f970dad10 WHIRLPOOL 50c40e6160a92d98e568b3d55b336c4400cb8faff7fcfa5c71a8172e5149468b0483874c8531270f6f15b48f84fb3c47dee8ec01870c3331a150226c748b16ac
DIST genpatches-4.9-54.extras.tar.xz 17356 SHA256 70314b113191df3bcf461537c5c5789ce990311affcb41e9d00b4a4d1f674659 SHA512 894f37761c80304fd12e20d9b2a11a56475484dd2a4504f4aada6b48854e752228256d56dfc328c7633996a16f4653af0105698b6a230619d9a3364b9d08a265 WHIRLPOOL 3fddbc03354fcb2b3c72caa7462a36d16a0595304da2ff9df0614925e252e3c15c38138b4f07789333c118dde992569c7cbbeb019b5052bc0ff18e87fb08cf6b
@@ -47,6 +50,9 @@ DIST genpatches-4.9-61.extras.tar.xz 17352 SHA256 b26741cd2078757609ea6952467a56
DIST genpatches-4.9-62.base.tar.xz 1165604 SHA256 206dca947b813757514e5ab63f10a5884554b53359a81a82920f033970c66841 SHA512 6fec6da3e943b18235427d1df588aa3ffd5337c3239d1525f8cbb812ae2f250ba1b358b29ff80d08cc6f8f44e554e9c88c0500594a65f24ea6abce47f136a26b WHIRLPOOL 2403a6c1fc6a19ecfd646007a7ad364689d8e471eca1c7b5627d145525d933eb6e875487aacf002f66c80e96610697078b2022455a8331558387acc331195a79
DIST genpatches-4.9-62.experimental.tar.xz 106392 SHA256 480a7000d530b36a4b3801b36c0037f7a2d68cbcd7b531a47575fa652f9a08af SHA512 c1134056fa2be38f70e6fc3315fc7ba396d36f03d6cc3a58b453558b242dd1902fad06dbe64454fba1f25d3bd4c856c76cb74d525b016f276e990704e6a80ace WHIRLPOOL 0f6b3fa4d221b97c8bcd4812fb4dc3133caee99da86bba3c24980235931fa3a3958d13a2def4f7378157c931302d53a46eb2a585cdeaf6e112ba1af373fb1dd4
DIST genpatches-4.9-62.extras.tar.xz 17356 SHA256 6a9eb1e797afee5006c2d11435f9b066515b0a0be8190869d3318e4dea4b9c15 SHA512 0e37dcdb94a7c1cc9f55de24c90eb07f2c6c5c63044d68f862e3562913bc53cd0882d8ef48e164eab5c3e201d5e9cb50145f38f59729bad9ed79f9a8b3a8bbbb WHIRLPOOL b68e9412f072729ce7009972e7d3f2a7b8015cc6051acd5926a6779f2203858862ce30feaaa936048eeccfb0059fc9d0b1b62d74a81b396bbb81cbbc0ab10cc9
+DIST genpatches-4.9-63.base.tar.xz 1183404 SHA256 8e5ad88a7a26df4c64b92a9fc6650ea753db6f7876034bfc4bf054d917db7eb0 SHA512 cb8e7ee1e8cf88e08bad0ec7078667f8cb044a5369a7bda6db68846ac56696d888125527b3dc0d4b5fc90bc072cbd31a75c327c6317036ba697ffa235c1c074e WHIRLPOOL b079cd9151f22140a9b1774159d28f430f7cc2a26816c1d7e58b9781c1b6f58635412eb308ad01a0fba90633cd582bb936fce8f44a970d70c5a7e8ab44d1dae3
+DIST genpatches-4.9-63.experimental.tar.xz 106440 SHA256 f4b1d833cd7f827cd36a0354c52065a08a495436adfafe0c6f3c4643ff7e4d79 SHA512 3c03fadd3a532cf0db5e3b7a319f8ffa6a96e3d304f31cf017baba5766da4af619daacb08749ec12bf8d62ce7439d2087de05b07f42ae0a41d81540f130a615a WHIRLPOOL 255dbef473aca9748358a34d535335fab5a11db1614db80d10edde5b8e4970f2ae48680fe1d3812d0f9e280dced7c58f8cee7840eeea2bfdd3b892037cbef970
+DIST genpatches-4.9-63.extras.tar.xz 17348 SHA256 28408ae0b16962f032f994635723a65d1dc2a4ad1fa41f36e2f3d18091e9e5eb SHA512 26e91da7d56177e7d0ec5c0c58e1acdddb99432978551a60cd48b58800c6f286054fbfabb87cf15b56ac4b7102c12f2c3edc2865f8fecce89e7eb0e7191ef1fa WHIRLPOOL 56313feff208263f6239237c3b177b8bf755d3b1a3ecfca7a42e71c5799836b7fbb9faf68d8a02ad9f93b2bef29fa33a834adcb2a7f7198d81e357c96b727769
DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
@@ -56,6 +62,7 @@ DIST patch-4.9-ck1.xz 165624 SHA256 5b9d8f4ef73f87e8595de66ccc38bad86e290fd9453b
EBUILD ck-sources-4.12.14.ebuild 1625 SHA256 5ec6b0191d3e183813fa3a89f22806865a8d8a721a2d6ee7d2a81f57d2f13506 SHA512 dcbd2fc096d8bb3379b7122a50a2f0dc705c973c3ee8cd7a50b7a6a73afceda5eabcee0c5f788e84b2bd72ff43ca6172389324803b3a7ddc4bd6470a604fe97c WHIRLPOOL b809b4c089ce50af91c0aaa0b216248971dd6881fae2e1ec9cc7a3156327b0123f53c2f2e8341735a1dcf5131377e1a43acc37d5451d7c3676203387ce5e3f27
EBUILD ck-sources-4.13.10.ebuild 1625 SHA256 402630f72444212e7929225f20a72bdba7d2ec97c2613d3d4dea183282547dc0 SHA512 e8f29f412533d2f3dd6c0f94f6eaeccb9e31508bb7b966ae8cd3fb4a963590d79da014f01a664a575c50b9601ea8de365206b237a2ab06b972dcb2a4bcb61fb9 WHIRLPOOL e0c39823c8b93f2adb9781d39af16efb7501913de248bac023fd5c2b67b1b78d1d28181f73add34e984597b51cbe823116d1d497d880749c3af87888ab1f6751
EBUILD ck-sources-4.13.11.ebuild 1625 SHA256 c3fe3a3ad93caeb3053cec76ea8f6cac022d67e9945b2141e4d9a9d5201859e4 SHA512 f8de4f022cf9dd4c853a2ca43e8538e0396d8857aad333360c63871b05f976517a12a02a348ef96a35c5d96cf3ac187a5a7410eba30d3144a3512525118a2aa4 WHIRLPOOL c5d748a118bbde5b814310bf7c369cb34d023d4535ef086172a060a8a683f33bc65a49a360ed39d70a4cc476d300418e5f1942534f5cceb4fa5aa3098f72681c
+EBUILD ck-sources-4.13.12.ebuild 1625 SHA256 5c3cc6f8dbf761c64ae1dfd1f82170446352b9890074ccffba5a58a3e13d64b1 SHA512 7e178ae4b10089253be898bc759a6acd999aaa83e4bd9605ef3c31ad2d35966b1b4136bfb7e0bd33b93a4b51b08b103e41bf8adac587849ef4dae420d0b4ef6f WHIRLPOOL d48e2c9300d197175aec1581a45bb6ae339485badb4285d0e968ba470c2823044d24224d0568af6e819df6915bcfdf7e6cb46fb205045bed08ac7ec093300f1d
EBUILD ck-sources-4.13.8.ebuild 1625 SHA256 700396b1a20a9ac92761e91dbef4ed645f46971993b96c46194d754adf07872a SHA512 0bc56986a408bd0584b9949c6624f855f0e99ae751bf7f94ccbfb01a3bd26ae91758454e6d8b4aaa032b76fb5e5c076d8db6e4ad0e256e7f3a522ba7d27b1eab WHIRLPOOL fdc007fec5d32f2bea3982aa2af43251588797a4ad3b054ccf8b1d34562bdb1aa20dddabe41c97dcc3bb5fae36a613d1fb59357130e219a4929329449f0cf148
EBUILD ck-sources-4.13.9.ebuild 1625 SHA256 f804e06d6a971a38dcba7f183283c396203f756f348d27a0e43eee557ad32281 SHA512 fda920dbc2a132a3b2f89613ce190a31030e55be1dea43fc531a7e4856814c732738cd548c58152b312deb0ec1495e1c2c8f5f4b383d857571e8b193a8cc5dbe WHIRLPOOL 08ccb7a0cad4258b0f766c44fad4a7f5e8c91e69f9f9a7f95e38bec281305f1a4ef156e6e6a1fd73d4aca2e56821a19ae10f5c91da5f50fedf114720b3272c2a
EBUILD ck-sources-4.9.52.ebuild 1905 SHA256 350addd7131a737a291a02f97da5fab96526ab7d3eff25546b8410b2cc4e0ad9 SHA512 cec584dc1d17b292c2f44dcaa00f41912ce4eb26c2b1f938e3f4d05505d6a555e59993bbaf577cf480573738ddde80d3422b6f92d436a57e0a2140d424177a03 WHIRLPOOL 9e1ed8b714ea42208333092d8d6913bc613692f0342a0f50fc0c523fd1e3f3763a6d705a14b3a168b886e9d8850ea4691ddd8c4f86f1e0db5279210fea129e7b
@@ -67,6 +74,7 @@ EBUILD ck-sources-4.9.57.ebuild 1905 SHA256 f7d1ef11e36c67e44b20f1d25f2b0d81e3b8
EBUILD ck-sources-4.9.58.ebuild 1905 SHA256 677f4513b618c5d450eaab401ea480c43e8abbab9e3db3cd58bc1a94abe37e25 SHA512 a1d1b76b9386f42b7eec283b99978bdcba4620637ba32f7f93f17f14dceaa11607f5e30ef75fa2742a2017a788c02ae1991f5b69dc1300d225a5a46338d5b99d WHIRLPOOL b20027489ab1e673f59e22700b20987ed2d45581b4f0a78cb9ee6a96767518081b21950b932745c0e2ec557d6973759dce88002c3c90300cd6ee823d45193804
EBUILD ck-sources-4.9.59.ebuild 1905 SHA256 1ee22f04947d946f7c64ce15b5447a2bc1848e800afa911b21a3a56f1cfa7b69 SHA512 77291d5fd1aadf059a2ff9af1b77bfc5dc4c4385b7df7d2e6f7d5da4d70bb42f4d3fbdc472bc3f989e7a3eeb4a1629a24d99ad56712e7de94ce8a7595d92bfc1 WHIRLPOOL 3bde39b016ea7b1f5153c878068a96993bb5ad93cabc3f0d91f64590be9eaeaab8302393bf07629b20a30c13d79f800f4f8521945a664bf361e6706c58e6b86e
EBUILD ck-sources-4.9.60.ebuild 1905 SHA256 78c4c972ba58fc6ae1a0bd7a2da9ab30ff7c5c1691695c6f3a9291a5049db96b SHA512 b310132795831aa5e10d9931d1bedf6cb454aa5e681dae00185df09e9c660baf6c92023d2c52ae5b94d04da6aebcfe4aa07571b9d63ba5d286055178b1d3a526 WHIRLPOOL ad8c1e1535d3620dc50f7fa4b0793dfe326db79be5abf9fd85b28a28384c5e81929fad8e3167e3462dc0492ba9cb959ec089d068b63a53730eed9219a65914ad
+EBUILD ck-sources-4.9.61.ebuild 1905 SHA256 bdf1ae409780df09e9bae3e07e71520ccf61518e103197180eb39acc64ab703c SHA512 049966c91569ec8e57cf5228532edc4d74e8aea8c0fcd89fa0caee0c161c8d3bea5722f468bb4a6fad78fe462ef6173de354b6138f49a56c6c35e483cf3f9769 WHIRLPOOL a5936822164441b487dacb649a80c02fe84da48894ef3565778199a0ac98dc946f1d8c2b2a0ce6fc9ca7b794e4ee97fee97b417fbceb587451f43c1e8d65967c
MISC ChangeLog 8693 SHA256 b34cb29fe694a7fae951b08ccf1562bbcc3d5b4154e643b2e6f7096be8f2ba5b SHA512 81732b96b5d47a4bd84d1710fbcb2115b0a89edb0982c984474669c4251ecf00787632b223070d879c1124fd30b5876927eab0775da0ea4a3a9be0b1bb7cb441 WHIRLPOOL 1dc401d79ac02f8be03817c385ba03277e7f5486704bcfba53012efd813ea7ec8945b550951fc19159fe7a90b7a3059806981c542f915a0e4cce1a624b4d56a4
MISC ChangeLog-2015 22978 SHA256 f5bd9c75144802391d4e81da727842262dd69dd0a981899bc23a8f25d7f9f4f7 SHA512 d7df0a783cdfc7eb7c1bcd0c7163cf4679926ed094c35213867a4120415d4351562c33a3ce346b08f04f3cc8c880110eaf413a53b67d6ad01cb92a4e437b1c8f WHIRLPOOL d4901ece1e1b7b8dacf2dc8442ea33c8b27e0a54506926a9cfe76da288be9121a28f5f31a01362192ef594b4b1fb67b619e17cf5c12222015f5db3803afeddeb
MISC metadata.xml 770 SHA256 62628aa544e3ea7b512ea85e0497cb0ddf7a06c7ce89d041b9f424ca77acce26 SHA512 6c1d9152ac638ac3c4483a687f24d5e9a4a8c3c840d2d046db7f082d3638cf2d460f8ce82e69bf86f1d4d2e8f7b2a9f34431e00d3f8d09bd52ce6581f3dcf6c1 WHIRLPOOL 1e5735d4d5a8867aeef0e744cc1539b247d00a3aa1c1b67e89a3d0f8bf53118ea027c4c516d90c1bc9dff1664493cca56aaf01c3a06276bab2b0f795a66fd2a2
diff --git a/sys-kernel/ck-sources/ck-sources-4.13.12.ebuild b/sys-kernel/ck-sources/ck-sources-4.13.12.ebuild
new file mode 100644
index 000000000000..4f5f0dad6e8e
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.13.12.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="14"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="1"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+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}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.61.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.61.ebuild
new file mode 100644
index 000000000000..cea4d119ac57
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.61.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="63"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="1"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+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}"
+
+# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x)
+FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc"
+FRZR_FILE="${PN}-4.9-freezer-fix.patch"
+FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}