summaryrefslogtreecommitdiff
path: root/sys-kernel/ck-sources
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
commit30c53e395853f5bfe805a1e429fcf26666eed8f8 (patch)
treea0670eaf9babda7b83503f7d36806a944bb49752 /sys-kernel/ck-sources
parentd302a5d7fc9caafba5c8a404f2891bb6ccdec311 (diff)
gentoo resync : 17.05.2018
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/Manifest12
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.14.41.ebuild67
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.16.9.ebuild62
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.100.ebuild65
4 files changed, 206 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 4dd07cab338e..6c13d6581ab3 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -17,18 +17,27 @@ DIST genpatches-4.14-40.extras.tar.xz 17496 BLAKE2B 2240a8879139d6ad765a9e38d0ef
DIST genpatches-4.14-45.base.tar.xz 1175760 BLAKE2B 6bc299d8072aa6e1f0ee3d338f20ecf9e17bc3f3c89b6458fa3c3b5616a58b69d32ff1c173202dc95a8a234a1cf3f6eee0f74028f6b386d39c1319f93dc3fcd4 SHA512 f1431f24c17bbe49e3f08d4041aba88bce22ef560c89cfe5c9abe4fead0305de7b27649e1dca8965867f115fc153839880eac5905aca74949289c8a061286932
DIST genpatches-4.14-45.experimental.tar.xz 5184 BLAKE2B 501c9b838f5e44380043ceaa9f8a5d9097bcd97c9113874cd8c9959224d1556e64867605c803e02ba92f70e250cb8f96728dee728e52b97feaf43eeb75a95fdd SHA512 907a896f768ac555d04c7d5278c632bf9a89c556a1ba863d01ba73cfa98f20c5b12742cd057bcb6037b41d12420069ac7a2453774d1a79a4e68e1216c188192b
DIST genpatches-4.14-45.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14
+DIST genpatches-4.14-46.base.tar.xz 1190412 BLAKE2B cf4c875da660153fdc018e10a208d0277ca7e9645aa3ced2a6331f182a9eb50ad3f459d94680f0749cff6cf2e2900930a169873b0e3076d54b4155a4718aba5b SHA512 8704a4855b85b5ae151cbf66300ba7b0f546e7283fb58cfa8db32c038b32d00481770d9152e6a616f90010709215d7c07fcebd7ddfabd2978397b669894d794d
+DIST genpatches-4.14-46.experimental.tar.xz 5184 BLAKE2B 501c9b838f5e44380043ceaa9f8a5d9097bcd97c9113874cd8c9959224d1556e64867605c803e02ba92f70e250cb8f96728dee728e52b97feaf43eeb75a95fdd SHA512 907a896f768ac555d04c7d5278c632bf9a89c556a1ba863d01ba73cfa98f20c5b12742cd057bcb6037b41d12420069ac7a2453774d1a79a4e68e1216c188192b
+DIST genpatches-4.14-46.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14
DIST genpatches-4.15-20.base.tar.xz 464468 BLAKE2B b3c30e02819663b31b4ed83794d57c4521fe13015a4419088664f017f4753117bbc88a5600e310092d8eaf8b132b0757d59fb7b503abef046db0249ed7ae96e6 SHA512 cf79c85b65f3a68d3d721d2425fb6e498df808097bd8b1c610023d0c36c0378ec0f92d33ee0dc39592730d87f4a1df52931ea9608be2d56d5543a201f9d1d658
DIST genpatches-4.15-20.experimental.tar.xz 5184 BLAKE2B 96ab38624869b7ca2caddceea1be6701c6a9df489dda0be4736765a6546909d522f5b32a44506875270485606797357bf44e044ed61ee40f6171670a5956bdbb SHA512 673083672ca1758f0b3dcc4507bd18c3ea1c024c86f1f8e0bcafe6117f33e226ad981fa123f1b3317858b93f5a17b5f56924e5e5eefb6c0980fc8572626010da
DIST genpatches-4.15-20.extras.tar.xz 17492 BLAKE2B a610729f55d64e3ef6dee6129879f5ae27f31bb2738b0d8d3270f3502eaa19024323a741f0ac3325ba72342ae9e3c7fc9b4dbd56f8763a4be29e825d98a17b18 SHA512 304fa9e1f83f5b8e2fe10905799badc8bd8e9ac981fd59b3568f9d9d208dc671ec4dc1b88163351322d047596db4d2c8f9a261dbefa3351cf25f321b84beca9e
DIST genpatches-4.15-21.base.tar.xz 479732 BLAKE2B 3d2b40d4ed60e68712a498b184ff58cb72a7902b75ecd35efc98f2a6455dc902b1c02d459837e7ca17465ceeae380e20ed12cfe50f1bcc4a884eef0d80e05360 SHA512 e92ad5ee6cfc8d7a57eba044ae6bd86344a0e8eca11c89d0de9fbe3410b0d7582c38d48281ae8d0c17992b151cb35a9916835a6963402732449e150ff5e471d6
DIST genpatches-4.15-21.experimental.tar.xz 5184 BLAKE2B 4c1bdbd651ea3c20d44194e0bcc5ab3dce499182ce31a8436ec46875cde2d4b14a0cc5f0eb90cef0aaea167b49a25775be24b38a2b2bfa606a415627f87d96fc SHA512 05a8084dff8f08f9ba84b90230b4bf50a521ba1e0dfe792f30a3f775772f2097e43927c6c5878ba19bd97fed66036c5b29309a0b1a5e914ec895281440be8c8d
DIST genpatches-4.15-21.extras.tar.xz 17496 BLAKE2B 2240a8879139d6ad765a9e38d0ef78c78ac9e92f54c5317912b512ab1a64fd42fd512696f1820718a1fbfa658c8775bbae358db483ded60e65d504f4a81aa4e0 SHA512 e6070bd5631bb41e1e0e73c9381993779cc6095525a6eab5d8387641e1fce534617d368bd6a02c5f5d8d2669db6f480d284a64c8f76fc218e29df5a34937e1dc
+DIST genpatches-4.16-10.base.tar.xz 215644 BLAKE2B b2706d34e5778c3453aac5e63c006a94a1f35ebf164cff8af692b754721205303a3d22a1cf7715a1809359d166191dbe29503ae0632af421c34ac59210876ee0 SHA512 0d290d1853481052b74d7777ea62c16f1c9d25d3b27b9fffa5f444d48e23a4dcf79cd12008940c2ab8cd6af3733003a287620148a4535431081a7d37e7b9d5c1
+DIST genpatches-4.16-10.experimental.tar.xz 5164 BLAKE2B f99e68621a2e5b17e4f6bef55a24ec2c52c442abfa35230e869ae008e4fca3721375e4a93a4f6cd7c49f09e5412ba4cd753bedab2fb4ae85fad57dfb8761f04f SHA512 4288ddbd0123242c5e22b69645f9da7d706c08c7dd313c7c59481ffd42c395076e7aac8bc26736729d04cebe5b1da579cadeca1ecd4644bcf1d786e402e87642
+DIST genpatches-4.16-10.extras.tar.xz 17488 BLAKE2B 75169c7816271f85df521749f6da4a706217797b10a4b3bd8ff7cdb37e380c3427f442428707449afa361956bb0197cc4c30f794491bb9ba1f5056abc586d2ad SHA512 dc8253041478cfb0ce1f6d5d1ec5a4e006320822e14b79f40fea752575e47444948987c17b8ad90d1bf5febece034393f49ab8a049e5e33078831e8e640c27e2
DIST genpatches-4.16-9.base.tar.xz 196768 BLAKE2B 25c4b6a22a9a07af643ddc73fea2cf6e997f5cca89f86cf8386286d1b63e0c0dd393f138f66f87773d9eba382bcaec3a2562d2a4c22140a61358cd2612e11d4f SHA512 aab3c760270e8d72c892d58a88fac3db792150a8f7157a2fb656d52ecfb29c9f6a049783ec9583b98b9cfd09ae6f77f672ef375d6a260cb2cb4df8157e5398a7
DIST genpatches-4.16-9.experimental.tar.xz 5164 BLAKE2B 0e8c1ce1a65404faafe4c0c7163cf87ce4ba4195edec6caab0dcbffff5351c6b211b233b6b659a7521e48e11e0fcf726e23341728591e9dbf305a4cac4500175 SHA512 9b4003d7902152183e4a76c54e0d4d09da33c9956aadafef4b11cdde81f7539a0d7931f4ae7d4d7e02928bbd7c128eba5fda00319723c1f7c2a7abb34ecddc9c
DIST genpatches-4.16-9.extras.tar.xz 17492 BLAKE2B 2e9bb4e33e33f0b5ba923bc0036a3697abefcf7c439dfba68beb0c4d0a558dffde1c9224f56da6bbea560bec3664cb1025c0ce1c961037598523d1af0d0513fb SHA512 e1ed8a1532488aa849969a90bf299eaf39233695eb9bda7b070a87906b8891e2332a06234d4b2c98338b04380020387b8fb212dc95072ae79cc58274e8118656
DIST genpatches-4.9-102.base.tar.xz 1971300 BLAKE2B 1d0a9bdbabb19e482249668052f06578c791a90b15fd771969e58049f8fd7c029901d78ff4424915f1a7d245a02757f19b3796500b508d8cc7c7ff93fec6fc5c SHA512 002cb87ba93db70f6de6bc0fba42c49b2d3ab69ce9f28f783a161b0c0b60d7235f583b535ec7f9735974decb98206f73a36b8ffbf2521ec524cbf5ccb0793c89
DIST genpatches-4.9-102.experimental.tar.xz 106380 BLAKE2B 59e2fda5661bcb77a1e60fc6fe9dc8a78476891ea203e2b4ec02389c01e702200bf5dbe8fe1d9bfecdd6ad59fa43d1e20c9738f929949c3442ec301b0a4a27d5 SHA512 0cfe440902f209e9e74bbb424780b19538d05d43388ca6d067633be479c0ba6b459d766617a42282ff53ed25374da469226825f31969ef7c128d2620b69af43e
DIST genpatches-4.9-102.extras.tar.xz 17356 BLAKE2B d9a05e5b95c7a4c2477f01c7cef7b58697d6dc4d519bec5494fdc946a1a2b6e5a2fd9a0b6155dac84539a0aa6b2dd4583aa9180b19702062567189a460859387 SHA512 3b97bdb3f49676a43f378a95773b38c3650aba89f2d74e55f14762868983254250654ca56368cab41a150b04a32a190d8238a7bb0209196b80202cb2e9ca5040
+DIST genpatches-4.9-103.base.tar.xz 1979040 BLAKE2B 767d35109446a55c229bd3cd7a66beece88557f810b1ed1548d556e21205e2ed50eb5ee3d3aeb21255f5a1f7878ecaa722b3cc2dd0a45f116cb9288f04ae2d2c SHA512 8ccfe558b0ff3fea8765664a5304b67c7e244fbe88990cdb50f82b6e9b88c2abfd865663329458c5455cafc29f62bcfa5e3a6d6557a989af99ea0899a4ebbb92
+DIST genpatches-4.9-103.experimental.tar.xz 106388 BLAKE2B c8a171fda6fd70e17662b779805cc7353303159443fc4031f153bb8acda5c3632aaf331d1720c389b030fbc837d25522c4abbf6cb1858e7023ba292c5373b633 SHA512 db1c60f4c5356cc67e26244af373678fa7b51155c620cb8d62ae966e63e5b2c8320167bae699137135fd2e522337e197d6e2d8c1bf9f736ba5fc0657243218a3
+DIST genpatches-4.9-103.extras.tar.xz 17356 BLAKE2B e84df76263c11d9ae1fe5bbbad0d24dfd2e866f625deab07f7b72404c351237ac28f8907cb4ef30e5bb88947ef303e1c8c4123acf4c6f899aa66f2ccfab5de41 SHA512 49025fe6fd388ddf72cdb3cbb68f24ae8225d4356459bbb2f8677b90488eb49f27e62591f98f87038f2d17d0355c55bf0c38b8fb94e3929a0619ebf2bccd06e6
DIST genpatches-4.9-96.base.tar.xz 1813704 BLAKE2B 43236fbdf22137a2f98c617919e3a21208cf7269a5d5e51d705734610e348f443b57677e3c00aa1d75a73c68314de537252eb24bd23cf83e8d7de05c2f111526 SHA512 c8275aad26fce06c6f8286d4341964031aaa5308ee4e0396fde48f3abbc97fc47db6bcc67764ba424dbed6d93fcc935f07831c20c5dada21acdd9e2d9575a5d8
DIST genpatches-4.9-96.experimental.tar.xz 106408 BLAKE2B a959d2df5d348d1dac693e9e99169f7f87a0234cd45e4a7b8f77e5d446cb844ed210ae64e7d5f50239e5d4e1d55da67ab740cf803d428a683d23ac481731ce80 SHA512 aa23d0364460a82382f6554416019ae1bec6fb61e3dc18ed2c9366b25f47fac447c30ba5316b5b627e041710cfd33d8411c998bba1e5e9ace722aca304ce9816
DIST genpatches-4.9-96.extras.tar.xz 17352 BLAKE2B ab1643d3b767b33a4f0cf1d5de5fd373d7de89f2eec1d0c626cab8155b057d18667f614bc1cf29926e5c55538ed4570ef9c25aef171f13d8c86fb3aa130174d7 SHA512 7a56e5b5108ed398696e220c25859ac1a5a9e02afac6659977f1c38b8d0731ee9b8455654d3e5d03e50f188ea0eaf2e8714435eb241a4bb7fdc6f2b273859661
@@ -46,9 +55,12 @@ DIST patch-4.9-ck1.xz 165624 BLAKE2B 7b3967e92446f2cc70efc24aa0bd94db056015ef20f
EBUILD ck-sources-4.14.34.ebuild 1890 BLAKE2B e396f6558628023e7e5330e522391c059e31ab39bc5addd537616403192271c8ae26bf7ecba0a2e0aeb2225b217020208353b5f6a4620ef42513c172937396ee SHA512 c7499dd57c0f03fa45f954fb2a6dd73d5821589be82e2d58a71fedc81c7587110a7af3808e5fd19400c0e77cd11d89dede429a817c8092cfec82e562b91295b2
EBUILD ck-sources-4.14.35.ebuild 1890 BLAKE2B 31e796623109a95e9479c14c1fe4215d48703d0daf74e31ac9bed2241316610a57eceff0d1877549cbbe27eacb2445965cf58cdf5ff12ac5353245b0173043a1 SHA512 1ebbd911db82c82361b31f38126b6e8edbad30d2ee33857635237d0dcf7a83ca31eb7235bd67b07522b9a4aa9bcdb735bf2382c9a4547d834d09df9915076ab9
EBUILD ck-sources-4.14.40.ebuild 1890 BLAKE2B 1189c57b729c29b7fe37d421e69a5bef9f1ee9d6ba9398a116bb40b839927a85925678a65666c24ec26cc445e332d7d56af77a91d19b31b574e3b3068279fe8e SHA512 6eb6b7001d973e354163c8ced89ae13999a0b8d9aeb4f469c0d46648960c05433b42186376ee815944460e0358761c3ece9fb97a89a15b104354fff690004e62
+EBUILD ck-sources-4.14.41.ebuild 1890 BLAKE2B a951cff7570362e32c29c2702612b9b877342a16504165b4dda2c93725506e69b6cc2f3d2aa1c0785a9387982b9126cf9fd82164469fdf503c5a76c2f678b9fb SHA512 643c67eadb27afbdde7aaad402e6326bed9b842b44984eaf8accd4c0a5e6ddd86270d0fb570def87fecd449ec647ed71bf639f9ed8b8089bff5e4d988342f1ac
EBUILD ck-sources-4.15.17.ebuild 1613 BLAKE2B c686bdc39cf2bcdfb39fc6bb1d022abe7c89c6bf56d6768dca114ef37a75028958760b0248cd998fca8e38b0eee1a91fe60f377855bbced0962ebdb2e6fc1d3b SHA512 c89b106684d799d5cc02f57b2c963ceacd67ec9319aa2ed4d56a377699972d817463fd5dc1449bbde5b000f67944430bc6de04275ed8aa8fc261ca63636caec3
EBUILD ck-sources-4.15.18.ebuild 1613 BLAKE2B d44234f86f13cdddd3e9e4aef9ba9416fa99f43dfd9de249fc38e7c51f733bd1ca21ae07fc2f862e304139ec5bff459022054978931996d8c6c033f89331760f SHA512 ed30d4061718fd052ec346697a2d5f6d737d4bfbcb16ea9164d0d45f6cb9312845d1301ebb1f51e759a1748bf44f2a6080132cce3ed8e34bcc1e2c9caa8c9109
EBUILD ck-sources-4.16.8.ebuild 1612 BLAKE2B b4065b5b7b954efe9f1dd0c947ba8254c5720e29be9b310bf5a4309016a4413233da74737d65e9c6f1a36fa923323eeb2920093e34f6df538c8e07fc3a4147a8 SHA512 c2739523c055f939b14ac149fd76788100d0fcd5d750056cbecd1935b80effabc11de5caf9ab96df946d45f4c354b780e456990a0a4037d49e49c4b5045a59dc
+EBUILD ck-sources-4.16.9.ebuild 1613 BLAKE2B d48cd4eef9a3de8313a0d400ddd0ed46d5bb5f71ad5d07373673234308394af43d0f5058766b5b09b3b7355674f4acab59755057e7e6ef677d1fecebeb6b7c0f SHA512 3426bb5264b67d482fbfd20cc4ffb664c2f60ed31fd169c078ccf06370c5beddff376ecefa6fb37d587be1c2673312cfde2e3f79f4c139f393e248c900c833ba
+EBUILD ck-sources-4.9.100.ebuild 1892 BLAKE2B fc000087dca221160f4e403aa79158fa72552ae807233543a619b7afca0931f3d7b22386b9b170e0a384514dcbb5bb46133814c5d7b35a1c6b9747f99880e2df SHA512 5fbbb633cd61982643079f1562070fa6426c7541ed3b31d4134b120ba5151042a12175b8ae2e63232335217bea6fdb0120113bea920715cb932abba50f506e9e
EBUILD ck-sources-4.9.93.ebuild 1891 BLAKE2B 6b6fbd4a9ada3a7f348012e1d5dd541a8d8c930c9bb51737f2e12faadb57fe9c2fdd54cf88361557b3cd69c8891815b3f0ee38875d631745bb4f4ac3915ab6bd SHA512 bc67bb18bf2d98ee26f575feae16696e695c93f3591d2cfefef7c6439fdc8b7d5f69ec06953d20c56dad0c251acb1148ab8dedabd28d84c79c0a02c4b40f69b1
EBUILD ck-sources-4.9.95.ebuild 1891 BLAKE2B 69e55844a6b354cc046acc196ce3c966c05e8c1fb27e06f7bf7cca68b8ef0fd98ad1057195a11de52810d0b6d64e97c76421d67f76107a87389daa9218be9d8d SHA512 e60b5414bd80181ba16a00841a2ab51923996bae6401121ddead1ed199bda77525651e3e754f980186ab64e20fee18dc45c46547ae3d35d4ced73caebf8a7237
EBUILD ck-sources-4.9.99.ebuild 1892 BLAKE2B 0112b97794c6f18328ba0e2063bbd238cb515091c8c530fcf6170d62ead611ffb26fc9ca1b9ee314a8db009e2475f609ae81d7bc055c9be97f40f53c4616b03a SHA512 7c4feace1bfe13cf8d4e576fd72e3e066c0eac1d0a2fae5e238c334fd719f3fcf631f907f7a47dac495f97cec6eafd44d64f80c7b76b04ba49ce580313f8b55b
diff --git a/sys-kernel/ck-sources/ck-sources-4.14.41.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.41.ebuild
new file mode 100644
index 000000000000..4c16f5a4afa7
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.14.41.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 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://kernel.kolivas.org/"
+
+IUSE="experimental"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="46"
+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}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+# Fix for: https://github.com/gentoo/gentoo/pull/6942
+BLKIO_HASH="25849740d77dfc089fdbfb53623e50d38a972aff"
+BLKIO_FILE="${PN}-4.14-blkio-fix.patch"
+BLKIO_URI="https://github.com/ckolivas/linux/commit/${BLKIO_HASH}.patch -> ${BLKIO_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${BLKIO_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${BLKIO_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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
+}
+
+pkg_postinst() {
+ elog "ck-sources previously enabled CPU optimizations by default."
+ elog "USE=\"experimental\" is now required to enable this patch."
+ elog "this can be set in /etc/portage/package.use (or make.conf)"
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.16.9.ebuild b/sys-kernel/ck-sources/ck-sources-4.16.9.ebuild
new file mode 100644
index 000000000000..7a7e0e9f590e
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.16.9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 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://kernel.kolivas.org/"
+
+IUSE="experimental"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="10"
+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}"
+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"
+
+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
+}
+
+pkg_postinst() {
+ elog "ck-sources previously enabled CPU optimizations by default."
+ elog "USE=\"experimental\" is now required to enable this patch."
+ elog "this can be set in /etc/portage/package.use (or make.conf)"
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.100.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.100.ebuild
new file mode 100644
index 000000000000..e4306f6ab3fb
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.100.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 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://kernel.kolivas.org/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="103"
+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
+}