summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-05-25 05:06:12 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-25 08:42:52 -0400
commitc253b4238065d1adba843cc6f18a7712152665fe (patch)
treea53b85812b5d7c814b87e587e5485b97dc3be281 /sys-kernel/ck-sources
parentdev-db/mariadb-galera: remove unused patch (diff)
downloadgentoo-c253b4238065d1adba843cc6f18a7712152665fe.tar.gz
gentoo-c253b4238065d1adba843cc6f18a7712152665fe.tar.bz2
gentoo-c253b4238065d1adba843cc6f18a7712152665fe.zip
sys-kernel/ck-sources: genpatches-4.9-105
Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/8576
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.102.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 175369c5e079..2ba55e2b2b51 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -47,6 +47,9 @@ DIST genpatches-4.9-103.extras.tar.xz 17356 BLAKE2B e84df76263c11d9ae1fe5bbbad0d
DIST genpatches-4.9-104.base.tar.xz 1988596 BLAKE2B 00e31664c8da68ded4e831c872296319b341690c2640c47e0940b1dad6ac1cf9c78a1a773ea5120605af3f09ccf4a62f544b6e6a5d42562d3a803ccae6617dfd SHA512 13fab296b38eae012ec9e58bb3e29fb5bf3b4afced6156d87e275836d04c9afc1a5c748b45e495d770c665e3e61020893f3ae912d7c014b2891fc56b87f640ab
DIST genpatches-4.9-104.experimental.tar.xz 106388 BLAKE2B c8a171fda6fd70e17662b779805cc7353303159443fc4031f153bb8acda5c3632aaf331d1720c389b030fbc837d25522c4abbf6cb1858e7023ba292c5373b633 SHA512 db1c60f4c5356cc67e26244af373678fa7b51155c620cb8d62ae966e63e5b2c8320167bae699137135fd2e522337e197d6e2d8c1bf9f736ba5fc0657243218a3
DIST genpatches-4.9-104.extras.tar.xz 17356 BLAKE2B e84df76263c11d9ae1fe5bbbad0d24dfd2e866f625deab07f7b72404c351237ac28f8907cb4ef30e5bb88947ef303e1c8c4123acf4c6f899aa66f2ccfab5de41 SHA512 49025fe6fd388ddf72cdb3cbb68f24ae8225d4356459bbb2f8677b90488eb49f27e62591f98f87038f2d17d0355c55bf0c38b8fb94e3929a0619ebf2bccd06e6
+DIST genpatches-4.9-105.base.tar.xz 2008496 BLAKE2B 228c1495c583ca33adee5c13476363b516b6705d1818458ee03d600b00e3e4e57952f8f55a7ffc5c6ced2b2bd9951a3ba2bc34be12981e147e64f8354b5fe3e9 SHA512 86b70fa9f98e6e4e855a5949ebe11d9a9ab15a7f84529173487538e59227f3a75b834aa419397a835b510e99d7b6f91b4c462ec3dfd0cac8e50b1f161a422728
+DIST genpatches-4.9-105.experimental.tar.xz 106388 BLAKE2B 8458f5d7cea973d2085a67d6b715ba20d745ec9bcb7b66c27a8f955a4df1d2badac5fba93b35f0d79eaa0042950e77972ecd9a8396460f0c8dabdb5967f3da0a SHA512 56d1cd213f4084d3976ceb150f2f38baf14794fb4ba3bf2faa730db5a15278e7f2274ebaa0cf6f5d770448bbd683e82981bc9924990e18ad6bb1068b5d523363
+DIST genpatches-4.9-105.extras.tar.xz 17356 BLAKE2B ee7a0b4ac672a9cadaf17899a102859f1df6e91a5974dd993cf157cc4929a5bee4424b0d264b8a0ca760cab30f43c072117a3d043c9bbb0770b762c4c87b4bb8 SHA512 96f5fa4fa4617f291ef59160f575a54ecd9f1134c8f6b5162ee1fb8335ba4cc2b60467e6cd389f8b0df43cef0e10b7b12db1418b315301f8f044a1459017c895
DIST genpatches-4.9-96.base.tar.xz 1813704 BLAKE2B 43236fbdf22137a2f98c617919e3a21208cf7269a5d5e51d705734610e348f443b57677e3c00aa1d75a73c68314de537252eb24bd23cf83e8d7de05c2f111526 SHA512 c8275aad26fce06c6f8286d4341964031aaa5308ee4e0396fde48f3abbc97fc47db6bcc67764ba424dbed6d93fcc935f07831c20c5dada21acdd9e2d9575a5d8
DIST genpatches-4.9-96.experimental.tar.xz 106408 BLAKE2B a959d2df5d348d1dac693e9e99169f7f87a0234cd45e4a7b8f77e5d446cb844ed210ae64e7d5f50239e5d4e1d55da67ab740cf803d428a683d23ac481731ce80 SHA512 aa23d0364460a82382f6554416019ae1bec6fb61e3dc18ed2c9366b25f47fac447c30ba5316b5b627e041710cfd33d8411c998bba1e5e9ace722aca304ce9816
DIST genpatches-4.9-96.extras.tar.xz 17352 BLAKE2B ab1643d3b767b33a4f0cf1d5de5fd373d7de89f2eec1d0c626cab8155b057d18667f614bc1cf29926e5c55538ed4570ef9c25aef171f13d8c86fb3aa130174d7 SHA512 7a56e5b5108ed398696e220c25859ac1a5a9e02afac6659977f1c38b8d0731ee9b8455654d3e5d03e50f188ea0eaf2e8714435eb241a4bb7fdc6f2b273859661
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.102.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.102.ebuild
new file mode 100644
index 000000000000..ce11a7b0e72f
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.102.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 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="105"
+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
+}