summaryrefslogtreecommitdiff
path: root/sys-kernel/ck-sources
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-06 18:23:20 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-06 18:23:20 +0000
commitd37b97a25b8b10f748eead6574b01f893f140b01 (patch)
tree13e2a142a31cd193a39c63042a64cab29a1f7ae9 /sys-kernel/ck-sources
parenta833e3f4a431b8eea751b7420e127787f9c92117 (diff)
gentoo resync : 06.12.2017
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/Manifest11
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.13.16-r1.ebuild64
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.14.4.ebuild61
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.67.ebuild65
-rw-r--r--sys-kernel/ck-sources/metadata.xml1
5 files changed, 201 insertions, 1 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 09187bf5892e..0a1ccdcf3f16 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -29,6 +29,9 @@ DIST genpatches-4.14-3.extras.tar.xz 17480 BLAKE2B 346a3292223a5e046c019a50cce2b
DIST genpatches-4.14-4.base.tar.xz 87480 BLAKE2B 753bc9a5145ae32f1d4562862449f798ac9c78111819c7c279327039f74142fd0ae6955d559801736b6d2a0b074cae56d53226e5745cb8c85e76b0bd42ea0673 SHA512 8c0d8d864dea85f6730cc8c5bb1bcefefc8ef3ee5254ba62f0d4e90c5787ea6423988f4c303e0e32aa41fc9e5d4fc01103136556daa826a57403522066c3c949
DIST genpatches-4.14-4.experimental.tar.xz 5184 BLAKE2B f1d9938a476a958a5fb42b60589234df5c85211b2ebfe59316dd32036ce2a93fdd405f02976ed8eb9312841a4853bac0baec4df52cfc09278b7cdd1fe76e0718 SHA512 85f3055ce8ee187fc7105bf338dc18fbbf02e9cec27aedec10a6fde4db89dec70e666e63dd24497decfefb4b1f59c74789079614025304df67484d80f81d7ede
DIST genpatches-4.14-4.extras.tar.xz 17488 BLAKE2B ddab5ff81dc6cfe85ce3805846d8d74ce1eb8a2c79b2156e4363fa9592d1a0edec9f9812b9f41bd9ed955ac7030188776a7da5ff4a59408a0d5cf74bf0e629d6 SHA512 7ab148e3db28367ac7d8e56f75e65cafc3b80fd0932018d5ebd1ba1ba1b97521c94e30055fd653803806825bbc8be65e4fff2924907f9144b5ccdb48a53b00c8
+DIST genpatches-4.14-5.base.tar.xz 115968 BLAKE2B d48a56eef5c045c79a355b765f7b569280b741f5879b7ae2ffd411922a27225d8150554f42f70503218bb7ac674434c01f0e2350e7c7e8da256cd36be11a502c SHA512 67c9b9c295ec90137c05385be239b6d2d0e79465a3f1e9f92ac3d0e6d8bb50a9107885a009a185d0cb2102e31d773cfd690f0d8ccafc0bacdcfab607ae556872
+DIST genpatches-4.14-5.experimental.tar.xz 5184 BLAKE2B 13611ce70740cae179fd732ddab8b5daa1f8feab9d5fe80081753020e0df42dd76c8c8696522769a950f9eded8a92b80c93dece78a9c959a1fb9ac5ee61af101 SHA512 c6725e6728c9fbe923472116977136a13bf6ee4e4e450478ab2eb2e7c91d88fb50961b017d9c57335bd329543a830ba629bd064975326f187d72ae7376687d5e
+DIST genpatches-4.14-5.extras.tar.xz 17488 BLAKE2B 16281a8110e0e1156aeaa1b5bc219e3bad364b22da6ef3a540e16c0f0a2a9fd1fd3fd550d002e79b4095916863f93cfdf4b49617b9b1c3bea8263c54702205a0 SHA512 f15a3b545b5d4c1359f57046cc2dcd273508737129b181ab3a8c7eb7ee65f5ddb82ecf8b1f96095da87d5fb9659ec4f0eb4826aab63b45bfda2530ed8a609605
DIST genpatches-4.9-63.base.tar.xz 1183404 BLAKE2B 4e49c39b91a86ec1d7cb0bdf24c9cb9c66bbd3fbf9847c1d2246e98618f49f57b4702699fddad6595003b146f35b2b4416ac788410d4dd5076342ae470834c65 SHA512 cb8e7ee1e8cf88e08bad0ec7078667f8cb044a5369a7bda6db68846ac56696d888125527b3dc0d4b5fc90bc072cbd31a75c327c6317036ba697ffa235c1c074e
DIST genpatches-4.9-63.experimental.tar.xz 106440 BLAKE2B ece4f2c9cba523a9eb44a59a4ae8f3bbfcba22660f9143fb2ba23ddbafd6468459b1a70cafc373145a33c07d0a881c4d1b4f3a262e3ddd59b39deb17a58d95d3 SHA512 3c03fadd3a532cf0db5e3b7a319f8ffa6a96e3d304f31cf017baba5766da4af619daacb08749ec12bf8d62ce7439d2087de05b07f42ae0a41d81540f130a615a
DIST genpatches-4.9-63.extras.tar.xz 17348 BLAKE2B 613eef1455b723fa71d79d9df0c71f29cc7e1507ae0e2ac588e1410576d18d1320107d37c9f462477adb62c6f8c3460b557b11d6235c47d5ef2e85f2bcaa0940 SHA512 26e91da7d56177e7d0ec5c0c58e1acdddb99432978551a60cd48b58800c6f286054fbfabb87cf15b56ac4b7102c12f2c3edc2865f8fecce89e7eb0e7191ef1fa
@@ -47,6 +50,9 @@ DIST genpatches-4.9-67.extras.tar.xz 17352 BLAKE2B c56b8e7483fc9f44fcaf930313614
DIST genpatches-4.9-68.base.tar.xz 1266744 BLAKE2B 287306aeecbab6cf9b9c08440ee333e729d0af555fec354400c54e407a1c3b8a723ea95c28b7d3c13fe37f4c7fb78c273eec8d6a68f31b68ec24ba45a374bef7 SHA512 4ba94ae3f592cdc466ab58e4bba9781fee915df4994beb6c9dec4efd3622b180cf0d145de585ec9a7361ed2ec636910a42b449d937dca50983bd7f13494edd16
DIST genpatches-4.9-68.experimental.tar.xz 106380 BLAKE2B e360ddf86cc6db981937c188ccd5106754c7533ec01e6e4d4c9dcef72092b11c4d9accf0389414c3f20032977e010d29344f1014f490e9e13cc51b59d1f59d1b SHA512 000567fef478babbe86b706bc9532756bf42f2c2e09aa3f4e39f7fff8d90fd9dfe65929fb1b9473031d6529ce4ea4a9a8dd8bb7dc615a58f5157ccb2ad4b9249
DIST genpatches-4.9-68.extras.tar.xz 17352 BLAKE2B 215a823f33f6d5cccbfd9597ae123a885abaf1bd2deef215b1f4c76dbd0652c4160152b96b62cfaa7523899f49263a48d49c9bfc43cab3fd44ca3aabadb54605 SHA512 549e8fc65d62b5197ffd047b7c281c183d267a7d93dbe4c46fe19c161fa84db9a00db9e4cf254431303dbfc8652dc360aa53af8057ab5a433fcc98dbc3748c9f
+DIST genpatches-4.9-69.base.tar.xz 1274148 BLAKE2B 732076c76dc8c5077ea804065c86e3c384004b484d661c60a5534964fe94a07ea86e6cec9e47d1484ace04a22123f88ac9a511e90998da948869c266f3b2c3be SHA512 5db83495c9b9757822df7a3733a29cb897163ce51bbb143fdfd31d42f9e5fab73dcd5c4ef18fa0c502838359ad3d9b9c9de625041042119df46f68d847eb26e6
+DIST genpatches-4.9-69.experimental.tar.xz 106392 BLAKE2B a8025d5b3c4a86240beaca7237f8876d9690a6029dfbed72ad86b4e64ae69103717b034d3071a13d70e966ded9bd5847f40c9a81003380b0e0c6530dc0f404a6 SHA512 b91c383adb79de67fca53d4c729cd449973544d5d0c9c03cbd4fb2eeab37db4c018d460e15c985a8bd63ce6294dad160ad44dd9cfaf860a35e911b4a31594291
+DIST genpatches-4.9-69.extras.tar.xz 17352 BLAKE2B e9a8c063812acf2155ebd6241e6061ab40328194c3a158feb8e53d4dc464b011184892ad8a0f240ef8cd8e5e1569981999fc46fda9d23b8e8ce9e1a05d8a7109 SHA512 5d48f1dc65bd352fe77793f3e8f5b3f689582aaa649a423b62ffc4d4e84113d6cb305d60bc09d37c191c46daf85e5021b27b4c7097b10a7df0aa5335d5e8116c
DIST linux-4.13.tar.xz 100579888 BLAKE2B 2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2
DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c5954c4611158ca99e71cc0da2e051272eabf27d5887df4a7cb4a5dd66ff993077c11d2221e92d300a0b48d7 SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a
@@ -57,14 +63,17 @@ EBUILD ck-sources-4.13.12.ebuild 1611 BLAKE2B ed2c5fe27a8987c7b43e29d7c36eb2cabf
EBUILD ck-sources-4.13.13.ebuild 1611 BLAKE2B 9359ecb30336818beb810bcf818ff1154c8dfd1665cf0a09d8bda443fc3026a02405fb657adda5a511b35310216f1e9b8b85fd1acd8a8de9632d8c1f15f5a188 SHA512 3af955d5ff4b47e06733680826598518289e89e17987959ba363bdbdda9f20a7065ed375d6a93fc0e7e8ea833c13b9d794a79578184dcf66d976c8f05fc881cf
EBUILD ck-sources-4.13.14.ebuild 1611 BLAKE2B abb0b9a99684045ebc26cef19e2b718c5cc38e81f12845083801e3b4b453d88c172cfbd48c21b1ec5b7b43132f517a9c3bea2bbff4a7ba9a4fbe8851eec84997 SHA512 fbf84b34ad70155a7c7954711bc33cc14a4810aacdab024983d378b5bf81fa705d2929af586f6753af79afbafeb23536acbd12a12734e200b3741bf50819b071
EBUILD ck-sources-4.13.15.ebuild 1611 BLAKE2B 552ea4d2f122596388e8c2c771cc994f78ef53d9e7e833855683d694187120640e0b76c25d3b6b99cc761af9640f45691d7c24fbbfdac1787566857554a8fe70 SHA512 03a88527f51b2f9b246645b92ce244c9e829959e7813ddbe894d53e5ba1f5a97223a259c01a4132c2a30b0bcff2c07330f9b984fc2e5bd1dd73e3bfb1ade6d09
+EBUILD ck-sources-4.13.16-r1.ebuild 1690 BLAKE2B 28acf319385d83f75e4c9216eb239d4300790d1f2c3d32cc5d2dde80adfb8d677150aaa3790a8c5b49c5ec1aed12b6228bf2e370c59df99d759dc20af925cabf SHA512 84b153a6361b35013f5c259168cb8777901adaea3d6c13b245075ffe0b5cbf330d0b361fdf6abfc0cf7b198cf9b2f3a84021f0e26533d5193edc39aa4fd1f480
EBUILD ck-sources-4.13.16.ebuild 1611 BLAKE2B 493dae100bf94754f5eaa7817a076302dd6ef5465a3d2deef7c7ff3cf49171de024f94b66557ae37ed498a77410306028a340efd74abd1ee61797a5e8208631d SHA512 9ff6fd896b75ef78bd87db29b09bb2e40c7fa9016a2ec14b53137575b5a9c86491696d24dcb0cb8d4f998c6ab7e62b2f7ef360c49879dbb0fe99ff99e7ebbfdd
EBUILD ck-sources-4.14.1.ebuild 1610 BLAKE2B 7584e76d38206fc9fe655fb2174f466fffdb34eea367d20b8f94266161b79921dc5b64c2e33ffa16630147628a5c2b3c2ca7a64636e9d2d8fbe458446d3d7b22 SHA512 d92388091ab13580950afc04c7b2232dd988dc8651dc1e2888c4bf8ae5da2f32ca47a0b9db4b013f0d2060f49e161606e45d147a423400bc1cfaae82ebb8504e
EBUILD ck-sources-4.14.2.ebuild 1610 BLAKE2B 3074f30adc852cea5840b31e44c6a290beabab5f4e35bf4a95e646bbd1f2d0492bbbe8722dcddabfba192653c80cafac6c5f077c4d92585a8a528212479a1b33 SHA512 3383fe105426b7f0378ed1386c3e4786d3a5be6a32b96a011180c1a1f8f780cacbcaaa3a7a156af380e5de0b747af60ad2bca4427481ef73803d1d71c26acc1a
EBUILD ck-sources-4.14.3.ebuild 1610 BLAKE2B 8dd970f4e1c950756bf98a70fb263621b8fb31fa9b4a55543d103004e8b1ff1c790547afb3459b397ffe2f81f337e13a4211121c77364082aa88159fb0955336 SHA512 0b949468896eda6627f5de33172d75e2732de52abe98a96899766fd97801b066101c2c3c581f56eec90e1aca4b9dab943cd9ba29206f237efb0537656cc86d92
+EBUILD ck-sources-4.14.4.ebuild 1577 BLAKE2B 2210cff3f7b074bf836fbc00825f139e7f83e46774d6aeb531056576ffe54d9e4dfe2f9f4d0ae5bbbe0e9ea628524fdd4ec46b0186d924ad9b211faa419f0c8d SHA512 b1cf16dd032a209eed8d0df771cadec0b66d7b6dfda364141d04807dd5b1ce70304f8dcc6097fb033b58b010ae39b6d8004c6ff46da6a83d5870df3ca38f850c
EBUILD ck-sources-4.9.61.ebuild 1891 BLAKE2B 2db78b51839f444ea0dbd63e9131ffb020f3c6246347a12c145b2bc93f7d676e350d6a5cabaa7de73e74aae14bad3a4785c86f1fd925562bf2cea3200ae8b12d SHA512 66f34994be5b28607c05bbd0f16a20f1b5322df31c36db01024bf94eeb01d8d5ee8ea6bd49c3fd58ab2f3bee3d18c1a9bbdb366949a0eca85e2cda585d566c43
EBUILD ck-sources-4.9.62.ebuild 1891 BLAKE2B 5108f8a4643c2fcfda789249a83f027b0de4a7c4ec04a96865938764a1086ebfe49f2b3e67ce319ef3ca63e18a4620fff6451780280bc4c5d547dc4e79c24a74 SHA512 ca095e4ccd2c723bac9f02aab743e21a3b27c688747c0ccab9df40d22508126196242f7fe6f3d6dc4c8695a8e0ee3e508cae82d900923a017b749abba70f40ad
EBUILD ck-sources-4.9.63.ebuild 1891 BLAKE2B 1a9b2cb887ba6123af8cbe6b306d7ef39dd6f7ea46193947d6d60a95b377504cfee06df6a0896662fc3fe6b0c8fef422f463b71f306dd56bb580f6c03e841459 SHA512 ed79c805f8823db503472c888993ff7616a168f6ddfbda0946b767929ee4b1a9920b27a7b69cbd41c3454dd084c3c3f79895a63bb1a1631cd471092d3a2bee10
EBUILD ck-sources-4.9.64.ebuild 1891 BLAKE2B 5a67dd64eec330e5bfaec9ba773dbb1568cf5be043ed5b904255415acfbd7e18d2e5ad6543726258d35daa95e48baef1ad8952ef0a3f6334677606e32b2cbd55 SHA512 0d9173802a9cd460bfedcc76d0a0d22a43a6653b98911b0410bfc0ed978d0ae20d25941e35e2eb24cbfcfeef40ef5c08de1eda679c5ce1c2268e0536211aad2c
EBUILD ck-sources-4.9.65.ebuild 1891 BLAKE2B 2a0e4265104d837b799bb312582df0ffeaec1de118054e3bd67110a642afcdfc3330cc360923a8ef5e1a59de7b63aa102ff1a9b886c11a9e4204fe55943b28d0 SHA512 376833ff1c83b8c543e56d9732528ec86e7a3fc895f26ad205a8ef2b59df4c768223169bc431c586ce60b500e5f733dab286f466e1b85067965a04be90829f92
EBUILD ck-sources-4.9.66.ebuild 1891 BLAKE2B 439b8cf27656a864f5556eb4a49ae8b37c6666940818026dcb4d397df9afd745e81570ac2b69d16d817c2057f2b5dd70e4898c03339ff8f04f20065787eaa53b SHA512 0d4b8c2f63ad8294eda3752fb8c68075afa65c5664ec84cdb9bee529a6db19f3ae4f8d7c3ed5a2f76b9de8bf5713630e11932df578165a2ee4c23ba5f199e583
-MISC metadata.xml 770 BLAKE2B 02c6ece33d5d6feeaa622b62600fa651d886f01927a435d85fccf19212c00fac2d0ac2b13eb618ec7076cfdcac36b2d9353ef4fdc6d7f9e174438ad033ffd04f SHA512 6c1d9152ac638ac3c4483a687f24d5e9a4a8c3c840d2d046db7f082d3638cf2d460f8ce82e69bf86f1d4d2e8f7b2a9f34431e00d3f8d09bd52ce6581f3dcf6c1
+EBUILD ck-sources-4.9.67.ebuild 1891 BLAKE2B ba51583586a355e6739e70ae1472a51d0406ee2ca49a5054420ae0be8085e29d471cb959e85bbb51fece381c9b38711c9655f69d1200747be5fdb2a063c77ed4 SHA512 3a41224bfb7e852167a173b3f18fc14c7938804344c0af3605fe9d511c8ee070df367cf3fdc7ea61ee8e8ded461eeee08796ccaee41b474d235df4cada4b1801
+MISC metadata.xml 921 BLAKE2B a4b785a7d542fd5b1899749a5b83eba87ab3ab3e6dd30cee33f7f762e6b433ce4fb47a119b2162ec088b483f0469ff526093c9775b1e92291c5330c64cf2d10e SHA512 611c76b0b27282067a51869db434ca837f604ef75fe54bba2f18f12c41dbd4a62d5c9e2a53bf5db7ee824bbf4d663db6b5292316bde93aec771356e34751496e
diff --git a/sys-kernel/ck-sources/ck-sources-4.13.16-r1.ebuild b/sys-kernel/ck-sources/ck-sources-4.13.16-r1.ebuild
new file mode 100644
index 000000000000..a754ac4a5a10
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.13.16-r1.ebuild
@@ -0,0 +1,64 @@
+# 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://kernel.kolivas.org/"
+
+IUSE="experimental"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="19"
+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"
+
+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)"
+
+ ewarn "kernel.org marked 4.13 branch EOL (end of life)"
+ ewarn "upgrading to a newer release is recommended."
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.14.4.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.4.ebuild
new file mode 100644
index 000000000000..36caf42619ec
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.14.4.ebuild
@@ -0,0 +1,61 @@
+# 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://kernel.kolivas.org/"
+
+IUSE="experimental"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="5"
+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"
+
+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.67.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.67.ebuild
new file mode 100644
index 000000000000..b368c07ddf59
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.67.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://kernel.kolivas.org/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="69"
+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
+}
diff --git a/sys-kernel/ck-sources/metadata.xml b/sys-kernel/ck-sources/metadata.xml
index 92ef277f18eb..4eadcd1d08a4 100644
--- a/sys-kernel/ck-sources/metadata.xml
+++ b/sys-kernel/ck-sources/metadata.xml
@@ -17,6 +17,7 @@
<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>
</use>
<upstream>
<remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>