From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-kernel/ck-sources/Manifest | 28 +++++++++++ sys-kernel/ck-sources/ck-sources-4.12.14.ebuild | 60 +++++++++++++++++++++++ sys-kernel/ck-sources/ck-sources-4.9.52.ebuild | 65 +++++++++++++++++++++++++ sys-kernel/ck-sources/ck-sources-4.9.53.ebuild | 65 +++++++++++++++++++++++++ sys-kernel/ck-sources/ck-sources-4.9.54.ebuild | 65 +++++++++++++++++++++++++ sys-kernel/ck-sources/metadata.xml | 25 ++++++++++ 6 files changed, 308 insertions(+) create mode 100644 sys-kernel/ck-sources/Manifest create mode 100644 sys-kernel/ck-sources/ck-sources-4.12.14.ebuild create mode 100644 sys-kernel/ck-sources/ck-sources-4.9.52.ebuild create mode 100644 sys-kernel/ck-sources/ck-sources-4.9.53.ebuild create mode 100644 sys-kernel/ck-sources/ck-sources-4.9.54.ebuild create mode 100644 sys-kernel/ck-sources/metadata.xml (limited to 'sys-kernel/ck-sources') diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest new file mode 100644 index 000000000000..70538a03182a --- /dev/null +++ b/sys-kernel/ck-sources/Manifest @@ -0,0 +1,28 @@ +DIST ck-sources-4.9-freezer-fix.patch 684 SHA256 9ede45bd0d6daf49fd9904fe2cc9c741ccc04f4f475c38775773090854c4d8e8 SHA512 4241ca604f928263c29a49aca076832c06469db734864ec8c648cbbc30ba63cfb0b21d076ea4a7f3c438868802feb4e369d976e9ef6e091ce7bacf1a69c2c588 WHIRLPOOL 41e84eac1bf9390aa8dba69062a07d711f9e3878b7948027227e0baa90e01348df1f8c4fb6fa7dcbc67a25606bbde9908fd7db9047f8d6c232b6914ca689f643 +DIST deblob-4.12 151349 SHA256 47500d6084ad5402d0199074a05f4765259b27e81136f3893099d0e19b21418b SHA512 f8ce5fbfbf0083c5392769a54b253b4b4e3a0c2a2e0c9534c08681572960f7def55c3fba11c0bc647b4d050b9633075ebae362293ebf4783c9c0893f10fbf1c5 WHIRLPOOL 227e43fe101795bb361ec1085889574a8594f01cbc0ac4095a213cc6b77adb55a260ea1461f36e865014038226f7740691a70d9c3a24dd42e2e432856247d6e8 +DIST deblob-4.9 146273 SHA256 af4214b851928a53ef470ed8729122b9db910a6c0769d5d46a5de0b3e96f74f3 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 WHIRLPOOL 7b5ddba1469b6515d03d2e0e91a643ab0252803fde271ca710978186582a2f1a3b01deab9718c194bcdae0a79887636b6e98e604305402c9051b15a89fd393df +DIST deblob-check-4.12 743561 SHA256 d01e155683fbd5bc0db9a1b7104c5c21ae0813fd16f86cebe31ab7254edc4754 SHA512 7fddc4eac16876c660fee9e9d3d5dc0761aef629560833301e5f9e6ee0464b476836c79526f995c02c43f5ddb236c08f679441513f4a91a340b6380e305fba63 WHIRLPOOL 583bfbd6d09d63ff6fccea7688f0f32387746f6f6d1870c364b49c7241ca906b4c01c50b911e10f5e35eba58221c19848db98c9295e446f8dd7a81a20db3f887 +DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19757fc6b8e34355928d6b SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 WHIRLPOOL f1afe1f8d8bcd6fc43a01da5eb012d117687418f049212fe20fe7ea88700c482bc6fd3e917102ff9d12baf11e678a40355877a7d214da8b3cbf2b585a51a012e +DIST genpatches-4.12-15.base.tar.xz 247556 SHA256 a8a14f85d7551b770c461e87c2108f24d520f255b40b4f2ba7660269ce9bf610 SHA512 abd9f433fd6247fde9bd9c6655bd6cb90d56d4b3df6fed7f86872ff620f8502a7d277bd418c7d5d1667c792f85eb568b2cebe981cbd8bf4e4b7d7c3746e33d22 WHIRLPOOL 26a44d05019d19efd8fc7ae153c013ee050c81bc0f7d60644edc0b346c96c683c5b3664a1ee9694a93b77cfabc9a0240c9aeb1d6ecae670f7425aae95d4a54ea +DIST genpatches-4.12-15.experimental.tar.xz 5188 SHA256 0fb1a60a47025effcba3af7360ffb4995913b455cbf9f4dcd47e3c141f53dcc0 SHA512 af85f2724f767062c06acefb230db5eaae6ae65c68b8d0ba52f7ea9f13cf07adc277929bc9a4e3532ec680c5c0d270d92f1786a21303390e33f41e592d9761c3 WHIRLPOOL 5eeb957c923a4b3db2724445a161bc0f395bb1ddb799d9aafb8509dfa78d15f0477a6ed2a14298d94aa1203d90d616457c46189ed71a87a4cc7b8972985db80f +DIST genpatches-4.12-15.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58 +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 +DIST genpatches-4.9-55.base.tar.xz 1069704 SHA256 803d5d028875b905bb4cbff7b2258786e7199095e68e3b2cdf8134dd22f11c20 SHA512 a1156e41e1499218e3fb1c6ef0bb66fb6bcb93b4076c3c780f60ac23b340d13e3e9f4a38e62bf066c765e9a65d2cdc9266d9358fbea2c1bed3a491d8b7d40875 WHIRLPOOL 8af62aa544f5e0f2c707b7537c80f09ffdbfb454c634f551242917fedae070eaeb8c09a98638f9eaa6adaafd1cbc45cacfa50d4687b9e036234d6749938d7451 +DIST genpatches-4.9-55.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e +DIST genpatches-4.9-55.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8 +DIST genpatches-4.9-56.base.tar.xz 1098340 SHA256 69e8104e4b2cf11d286d04b19a88d027ffbf94701cfc237f5737d0d907d2f4e4 SHA512 d0e54f6b904bce6cee767297fd3282ad8fbd002e2820cd211d35d00e71c1a0339f0715d352c6dc7972097ebeaa282c074f9e85ef953ad16f9a4f35f5ddc26e58 WHIRLPOOL c64fb7d0f811754166b5f8cdb08efd270ec6e1b57723fe8d1c206d5d184c8230b41d1f61c1e98300da0765327dc6feb2f3d8d5e36a8d26b9b1d5a2a3a6170c32 +DIST genpatches-4.9-56.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e +DIST genpatches-4.9-56.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8 +DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375 +DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a +DIST patch-4.12-ck2.xz 83604 SHA256 6d15f95ca23b46f7abdfa1315600daed7ed6843acc29587fd84c2be7937c8564 SHA512 958cbce3d20484372473fd372de25555cf803c58e6b62d203e6da98aef8d367f01d6291f984a601b0ba962670eadeab7c5a3b1cb200ca0c8c82921688cae1b10 WHIRLPOOL 6156e37a9029fcbcdc2bf7b8ed49e1c2e5a03fa0c849c71383b16af3cf6cadedcd0239eebcbb82aeb4a536ecdd0770bd9704712a61716df57e7696b98b857b2b +DIST patch-4.9-ck1.xz 165624 SHA256 5b9d8f4ef73f87e8595de66ccc38bad86e290fd9453bd536b9cc950f5344b82d SHA512 335f83b8f77c4c2c304db74268eae895ec53611b2cb5ed45a9c6e7f9c7ac37c2eba7cc714d49504ae29cc44c448aa873b52eb332fe91d4e6dbbdd2a175aab252 WHIRLPOOL fdf01a45ad028095d0c91105975724bf19eeb2ddd380f20465357748d3f4a22d73de9fc408473d9d1fb988a6956edcebd0269ff105d3392a82b96e48566aeea5 +EBUILD ck-sources-4.12.14.ebuild 1625 SHA256 5ec6b0191d3e183813fa3a89f22806865a8d8a721a2d6ee7d2a81f57d2f13506 SHA512 dcbd2fc096d8bb3379b7122a50a2f0dc705c973c3ee8cd7a50b7a6a73afceda5eabcee0c5f788e84b2bd72ff43ca6172389324803b3a7ddc4bd6470a604fe97c WHIRLPOOL b809b4c089ce50af91c0aaa0b216248971dd6881fae2e1ec9cc7a3156327b0123f53c2f2e8341735a1dcf5131377e1a43acc37d5451d7c3676203387ce5e3f27 +EBUILD ck-sources-4.9.52.ebuild 1905 SHA256 350addd7131a737a291a02f97da5fab96526ab7d3eff25546b8410b2cc4e0ad9 SHA512 cec584dc1d17b292c2f44dcaa00f41912ce4eb26c2b1f938e3f4d05505d6a555e59993bbaf577cf480573738ddde80d3422b6f92d436a57e0a2140d424177a03 WHIRLPOOL 9e1ed8b714ea42208333092d8d6913bc613692f0342a0f50fc0c523fd1e3f3763a6d705a14b3a168b886e9d8850ea4691ddd8c4f86f1e0db5279210fea129e7b +EBUILD ck-sources-4.9.53.ebuild 1905 SHA256 e0f22aa9821172665dfd8f6f69cef2d92531d9aab1a352136056b3890b0f48da SHA512 1f89cfb5180435f7244cf1c72dadfe4c9ac51feda86b072d2611b2688fa2094478ae0c5ad6d40137cd6269b09fc33f6aa5e085aa77b497aea103a32fa736a3fd WHIRLPOOL 8896d6aa2b187c325af51196627c10561f4be972a04fb65386c38f5aff5c1f36db93947d305d6be65045d6ab3fd102cee531d31cb5a65c6feebc53042ab0d88d +EBUILD ck-sources-4.9.54.ebuild 1905 SHA256 91fb04632dd781a68f06fa61f84cccd2ac50460d2dd7d0d9bc2e49e1fd187432 SHA512 e98033902d799565ba2a169e0469895743ec381d84c709a9278b755224d546ec1f50ec286b4b4acca19a16e15111e68160760865a600e0508cf8c2158d004cb8 WHIRLPOOL 68145af995ff7bd89a53e8db9d6e81459fc8a9fcbaddedb9e556e2d1ac1985c4da7b6f3c9849d8358699dc20099155f46f64a75c1e3f885af06f05520da4a553 +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.12.14.ebuild b/sys-kernel/ck-sources/ck-sources-4.12.14.ebuild new file mode 100644 index 000000000000..57a222c2add6 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.12.14.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="15" +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="2" + +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.52.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild new file mode 100644 index 000000000000..28b1c407e231 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.52.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="54" +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/ck-sources-4.9.53.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.53.ebuild new file mode 100644 index 000000000000..1534fa1b0d82 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.53.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="55" +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/ck-sources-4.9.54.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.54.ebuild new file mode 100644 index 000000000000..5f00f46f1326 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.54.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="56" +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 new file mode 100644 index 000000000000..92ef277f18eb --- /dev/null +++ b/sys-kernel/ck-sources/metadata.xml @@ -0,0 +1,25 @@ + + + + + kuzetsa@gmail.com + kuzetsa + + + gokturk@gentoo.org + Göktürk Yüksek + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Remove binary blobs from kernel sources to provide + libre license compliance. + + + + cpe:/o:linux:linux_kernel + ckolivas/linux + + -- cgit v1.2.3