Skip to content

Commit

Permalink
sys-kernel/ck-sources: v.bump (4.9.45 & 4.12.9)
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
kuzetsa authored and gktrk committed Aug 30, 2017
1 parent 75b1fe4 commit 9551701
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys-kernel/ck-sources/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19
DIST genpatches-4.11-14.base.tar.xz 309928 SHA256 4d98138d52cf49f2fea90ee2b597b59a42686a20a2f99639c773dde44e3be877 SHA512 bdb3fa75a5eed5ef86bb20bf0a56b49616bfa2698577af6b62e6f1257e111b30e57504eafb411f998a9d2254f91a81685f0cc01aa724166720c3f4e4e3a8fda3 WHIRLPOOL b49cce46cf60108ac7ee07fa793123762e74d280351801cdb40916331bb63f5f124a7245a6416be35953dd9a0570a4db7faff36c21fdec16113bbfad01631af3
DIST genpatches-4.11-14.experimental.tar.xz 106588 SHA256 d9edc8d0b2b2d5f060a08e368449707e2708e217eec2963b64a5722113e9a58e SHA512 58c06789d72378a6f72f279a7f98e75f8eff75df1647375435455f788434ade1821ff9467a52a2aeb8ce6f59de4d4a7b812c530a5aaec8f1b81da1c6c72ca807 WHIRLPOOL 20d26eafbc5e03c5b9a5590154d09c1f4c811a54fb518026c470ede966e5e033d44576c14fe29c19d869da4759cbeb9d8a4ced2bba5a0ea3df8c4b9462c77d5b
DIST genpatches-4.11-14.extras.tar.xz 17360 SHA256 b9b6164eff5dbe458ee05f856770f545a28764d17d2216afd16940513053e16f SHA512 968906db8bb837f79478d8912220b4691de8231b06bf479b224a60b001831d1ea3824b4a47ae66894a3b7c2aefffbf0523570888ebe7e81f7c321c184e51a611 WHIRLPOOL d4ebfdd022a6ffa74a1a3f6f4d93366156c43ab9c3f9ba4d2d4b5395fba0a6cfb5800c9d9b2333de90d965eb66117e226647330213a566d3960e6d071b7c7acb
DIST genpatches-4.12-10.base.tar.xz 180700 SHA256 87394872ba7c4e7367b4ba26dd8d042a0944aac35cf934796a166271500b42ae SHA512 5f62aa462040cab27a70eb92c0980b4ca4bdc3f776e97fcca7b586c3f7a66331c55cda8bb3dbb5cc9c870165cdc0aa1661fccca9016de4607cf6fdc4b02087b2 WHIRLPOOL 1614060245e85b31f6d4e6d51fad49a80caea949abd195a5ec3ec52d8ca72fa812d84bf760616f495a71c4e7d21f3118a9636dd11b637ed3e530f9ebe88471cf
DIST genpatches-4.12-10.experimental.tar.xz 5188 SHA256 f730e8e5cf1b0c1d2dd948fe9871f259a5a3eb7a36eff597a8f79f92f954b1d8 SHA512 efe9e701d3529d4a6f3129e09686135bc4b214a66145a7130185dc31737cbae726560e0c088af2caadf8b27c6cfeffeb83f5dcec1f4dd876268f30666b04e200 WHIRLPOOL af1c817fcb70ff21fe918e6260c500aca043d62f33924f03f463b09481756a6283400046950a094a018a436203a39724dbcc0e2abebb5162eab79aabb123167f
DIST genpatches-4.12-10.extras.tar.xz 17344 SHA256 91a297577a0fb9349ac1a4826711dec22c6d5009fd26dab7a44a768458f8d615 SHA512 2b1948be073425fe34e8ba3381ec9516157088dc69ddb1bc4de5398bb47b181881da466d886a0dd15e692a61efa1969d5e4f192262c15a57c163e25cb10ceddb WHIRLPOOL 3cacb13e80dfc92bb9b2e1f24416041354e0836ec11245acb5a19e3556d97f2a33b3f52207d3f8e599101ac516405ca3d4e66cf27b1913c2b10d669735290d1d
DIST genpatches-4.12-7.base.tar.xz 145740 SHA256 fe5ee55518eb59d7381806dfbd90ab33b9d16d99f1d3dc98e3fa9c3963ab64b7 SHA512 0b772a56ae1a5819fc0fa8dc130c9f2c7701e9ebffb216b37714684811d6ea92b52a3c5720a4417893b9ebd97fee56605f5a821eee964418ae6b7d09b942acd1 WHIRLPOOL b59379a8818f75ee0b1461d2edc732cf6f3c9ff2c058d4bff4767d3240ab4266a815252e16bcf5fc1d9c2365fe8096cdf710d8dca46108f6bf82a94df2f64cc5
DIST genpatches-4.12-7.experimental.tar.xz 5188 SHA256 b2371110a69f6e68e3bbaf2ecfaf9f8589824de94ff3f1bffceeb49948a659fe SHA512 6204a007435249ec10b68718b1e63ceb446d13bfd7b1af9f40b88fa7c5a485633b7dfbafd71302dc1041ad1f83e01eb5c6c458e517a679b6c8085cf545e5be4e WHIRLPOOL 6d4d9bdaa52404a038c2f53cad0e10c088f6ccdb9400983bbc13801b37e2aa8c89266d44318fa8925341e7e33a0146c68a718cbfb9126f673558dfafc1e4d5dc
DIST genpatches-4.12-7.extras.tar.xz 17356 SHA256 bc6c9e7e68f5cd1a011e72165fa07d80cd55fcee72ba2b41f2005cac9c60c0fc SHA512 5a21b90460759b52f4a100fd649746c1082871dd4bb69d84dd49ee1682d203dba024398eb844eda7c545a8a405d28600059fd7c21d1f3db25ce750283fe3015c WHIRLPOOL 4d886e5e702a3ec5c24543f7f8e33bcd889d71a69d6dd6ad4a8d40ad17d11c270f81d17cd91f096f7e2f66870717ed0d439a4a85ecf6f9f9effd70e3806d5ed4
Expand All @@ -32,6 +35,9 @@ DIST genpatches-4.9-44.extras.tar.xz 17348 SHA256 8a8ab6b7fde738260621a1a2a8eb83
DIST genpatches-4.9-45.base.tar.xz 959052 SHA256 279bec7f62cdc68d7fbc28a86c937346553050f32bb781fc31b8d8d6f5d6948b SHA512 604bca804acc93ff69f44daf070ff753fc2a0fc6a3c181346b42188b0ca1a3db219acb961a56a02a2187dfaa53bea0dee6e3cb5b524bcb0e21f9d52d700de8d4 WHIRLPOOL e3e753a436e3447d18e965299d4b63ca59ca31ec0aec7351ac2f2e60f7a21318e90ef099793ffa1ea33f79d53f39ccf0d1d82376b4871498d5a8193d668e4ac9
DIST genpatches-4.9-45.experimental.tar.xz 106376 SHA256 fbe0b7bc2d185af01ab238419fb19b8d7c5e0e64cacb2d2c87136839aa88baa6 SHA512 fde1d35e1ab88df690b76f773df962b408b0ec6957ddc99edf8bc61f1fefeae0e09005056cfa3ea9ac2c0c3a3a62e2119eafbe821f33f2335f26006af1415b10 WHIRLPOOL 59d90dd89a30ea65988c638bae8b71469534a717256a107be9e553e9abfd4585da17478ead2258f731473ec4c3b19f4a3dc5c3c81fc977f2a9d0b85f2b26301b
DIST genpatches-4.9-45.extras.tar.xz 17348 SHA256 223efaa2c498c3191643d03ba47b7f3a88e019bc013a82226d24b6132a75d713 SHA512 38f9fbb92a2e446d57ddf4fe765225cc050e90282ce14b43eeec53d41a4af704c6219808592f96bf7cb2b5629c5294b7cd1b847fee113dec3d42e0c4c38c483f WHIRLPOOL 782ef4f145343df7515cd0fc9acc569842e5a889ed21198f96fab5b230d4e5bb33a597864ef0b2693db83a13a9051c38513ec4b7ed4a1d1330f029c7eb13adef
DIST genpatches-4.9-46.base.tar.xz 966088 SHA256 4ded52a79217e4a45cc02cca6ae1f553680353b826ae04bd1e3dedc40b24afbd SHA512 98a0451bd3caef1c891fa693652f467b4ac7eee4ce43e949f302b60f4c7f02062073c048a72d12f74ac9834c3f0517011001892e6361578842e76d08a3439f8e WHIRLPOOL 5767b1dfb6cc61780916f487968321bb0603da1beb91667f2d025dab0eecf10017e917152c9b81d02b1c0e32aba07f474720cd6cd079e8b0e484e9facee32608
DIST genpatches-4.9-46.experimental.tar.xz 106384 SHA256 ede9a692b8742e4a678bb8c38b3f7b58bba291a7e016819b18a3111f15f5635f SHA512 f49f42af80d4ea6cb556d29b127562734a44fd8545e4aae34d80011408959a866579d4582585d04f7e7cf188627be6b4283507393e6fbd28c860311e241d73f1 WHIRLPOOL b301fd80aa69b24941885aed70654c73df8f03f6aff0835b3b46e7867c1ceefafb8b82820b3cbef00f4c2abd724512618ef2e0e34684d982897293442c99043e
DIST genpatches-4.9-46.extras.tar.xz 17344 SHA256 91a297577a0fb9349ac1a4826711dec22c6d5009fd26dab7a44a768458f8d615 SHA512 2b1948be073425fe34e8ba3381ec9516157088dc69ddb1bc4de5398bb47b181881da466d886a0dd15e692a61efa1969d5e4f192262c15a57c163e25cb10ceddb WHIRLPOOL 3cacb13e80dfc92bb9b2e1f24416041354e0836ec11245acb5a19e3556d97f2a33b3f52207d3f8e599101ac516405ca3d4e66cf27b1913c2b10d669735290d1d
DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886
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
Expand Down
60 changes: 60 additions & 0 deletions sys-kernel/ck-sources/ck-sources-4.12.9.ebuild
Original file line number Diff line number Diff line change
@@ -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="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="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
}
65 changes: 65 additions & 0 deletions sys-kernel/ck-sources/ck-sources-4.9.45.ebuild
Original file line number Diff line number Diff line change
@@ -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="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}"

# 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
}

0 comments on commit 9551701

Please sign in to comment.