diff options
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r-- | sys-kernel/ck-sources/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-4.9.57.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 67d00db68f95..39e41a28fd3a 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -26,6 +26,9 @@ DIST genpatches-4.9-57.extras.tar.xz 17352 SHA256 b7de79c153d275dd374f79f5de4864 DIST genpatches-4.9-58.base.tar.xz 1124000 SHA256 b2b5f906221d998661065f259d7fdc543f42ff2743ed192f26ee470405889b29 SHA512 c1dfb266b9a5dbdb92068061e49230a0a5b33df9e995212a62128cb54cefd1743f084ebffa3cb94bd1f335a90b97058464b3245ce2ad5580489e3d41b30b5e21 WHIRLPOOL ce5770b15cb82165ef676625c88b81f80eb079ad713b2a01b155aba2ac2136460f36704b2a40b229fea3202fd8d947e5c134525e886cdf6c8640a820d7420433 DIST genpatches-4.9-58.experimental.tar.xz 106368 SHA256 52efe26871a034dd7559a27f336b5ac63788605dee9f01196b66d67e916502c1 SHA512 59a09e4a7df29092f51df45569dd86f806e3ebb80f397a0e44b237e6f23588e8c3e2de1d1d266b10b9227320763129daf0a3326f18f16aa18e9bd2ebbafdbbb4 WHIRLPOOL a792f351b9d4d2acb5be5c342e27ce65b2197fa19739462f1ed8d4b8b0d451bfc9b73ca512d3f9c460d0bc146292d882d5b0429241f398a13e8f84f6dc7d7125 DIST genpatches-4.9-58.extras.tar.xz 17348 SHA256 538ec1d455e26781b6b898b172c324500e1ab185cc25fc115b65f4496857a16b SHA512 5caf5732004295541f61e4409f7ab02f324a73d9ae6fcfc0943b6e6c942f64374cd735ff1873d3e596c2628663d5ca9e7cfea2f6c55ba2d145a569b5bd07254e WHIRLPOOL abad1dfa83aaa41edfbadfeaa17715383391008ac1badf5f5a715714f4d7efed532c3ff5081d3407823a172a24606b9597302eafc286fd23dfa084be2b0b9154 +DIST genpatches-4.9-59.base.tar.xz 1133092 SHA256 691f9860aaa31ca2da288aaf9f808c506b39addc19772d6f84b57732d2a7679f SHA512 b1395a77963b2b2d73635a5b9a1d610cd7a7f9220d469e6a7f4fb02ff10cc9267fddd862d682e5bd4cffb0128d48c89dcb52ade45a56021b0133f483a26c9875 WHIRLPOOL 5ca080c8560eb62ef342fd036b4e6db12b25c827a1699f91d586444728425ae472632ade2fc175432a4fd8b49fc9bd18ac041ce9130a18ddade05a52cbfe9388 +DIST genpatches-4.9-59.experimental.tar.xz 106392 SHA256 ccf9f18a3dd28f69aad8cd34d513d2b5676cd726289d940d17b7278aa266f191 SHA512 eb8a1699a8c68a91e00bf65e0455c432ec3a6748080bb2df5fc7b6070e3626967927ecc8b64a4344bb2efd753f70c2fe4f69cc8e7de5ce337750dc908c4b5e4f WHIRLPOOL de3da93b251f43faa8b7a80aeb8a28c8f08b9578ce5dc56bee3f941efca3165b8301ffb403ac4f84521cc9a49682850b58e6ed73c0cea3b53edbebbaa60e8b00 +DIST genpatches-4.9-59.extras.tar.xz 17360 SHA256 be21758bdec50724d687d255b516bf8735d026c603f260644c7b08ec9352d624 SHA512 79a2c47aa6ee6191b5a6e4d17835dab90e747986b6b407a12afd4e343663a4ddb4066c752a65196b534dca102f3843f927b1952e21c3f04e04a28dbe30bef0fe WHIRLPOOL 07cf4232e3061a677317ef4444cd41dbdfbee3ecf6c870e55b291a1e2a6cc0e1bc2bb89cbeb3e1c910efede109fd766f852c2a52aada60f3e04db581ec39dfa0 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 diff --git a/sys-kernel/ck-sources/ck-sources-4.9.57.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.57.ebuild new file mode 100644 index 000000000000..8ed23abdcc9a --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.57.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="59" +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 +} |