summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.55.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index f8539b6c7eb7..eba1514766ee 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -15,6 +15,9 @@ DIST genpatches-4.9-55.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4f
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 genpatches-4.9-57.base.tar.xz 1123828 SHA256 c1dea24632710b6847766dd1776e398045f5fd4920c14d089cb783a169c2f41f SHA512 4fc135e4c2a6db37bcc82694491d05d176e2a8f9a420c08bad915dbaedfbdcb679a36bc7ec187c27fb617f751880a2e6e9f103b0860191ad339eec0b86240453 WHIRLPOOL b2594ec0dd072b7ea402417ac83bd6c43a9e82a2a438c55cb8bfbb1d036210f8a8eee9224f2434f386b529645224ed93a4984d984d8cbdec8d3ce0353d120f12
+DIST genpatches-4.9-57.experimental.tar.xz 106420 SHA256 0dd2e1c70e7d271b6a02f1abc21698698edeb9ea2c7a4bc9e421fbe55e963186 SHA512 6c06ceaec38b4d87750fb0fd188c43b7420f90cf1f6e5b9f3f0268d959400b78d993d1d435910d50815b0cddb3dcf73e97dfda732a620a7ab91cb0fb8ce913c3 WHIRLPOOL c1878fcf5052741a89c9ad670c3ef96676dcf23b58efa1949c126887ab0538e2816ac4f5661b677640528328c1d95f18fd89eac9b5660f8900ca0e1c041f2045
+DIST genpatches-4.9-57.extras.tar.xz 17352 SHA256 b7de79c153d275dd374f79f5de4864f3f3362ab3190fba054b8365fbbc8109f5 SHA512 6116c52aa4ad546e93226545fb99c6218587d6f76aec5f4ffb1f84a379be9d562fcdc93768c0979773a2eb3966d2053ec16939eeb2fce7f8af8259efa13f3c2f WHIRLPOOL 206903be31b879c96fa57d2827c7d31f1123a3147111a4b9801d0bb525dc46ca7c6d8d21c38d399cb2e2b57f8055c389d6cf05e01741b04e6de51150bec1149c
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
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.55.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.55.ebuild
new file mode 100644
index 000000000000..f000ce569dbc
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.55.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="57"
+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
+}