summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-05-21 01:31:19 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-21 13:06:34 -0400
commit0d77afe01e9f01f58784dfec9b2db7f02d0081a2 (patch)
treebea7bee9e08a97ee31f7f331c2f9ba98344104e4 /sys-kernel
parentmail-filter/policyd-weight: remove old (diff)
downloadgentoo-0d77afe01e9f01f58784dfec9b2db7f02d0081a2.tar.gz
gentoo-0d77afe01e9f01f58784dfec9b2db7f02d0081a2.tar.bz2
gentoo-0d77afe01e9f01f58784dfec9b2db7f02d0081a2.zip
sys-kernel/ck-sources: genpatches-4.9-103
Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/8503
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.101.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 8ab6b0fef44a..771b3e054582 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -38,6 +38,9 @@ DIST genpatches-4.9-102.extras.tar.xz 17356 BLAKE2B d9a05e5b95c7a4c2477f01c7cef7
DIST genpatches-4.9-103.base.tar.xz 1979040 BLAKE2B 767d35109446a55c229bd3cd7a66beece88557f810b1ed1548d556e21205e2ed50eb5ee3d3aeb21255f5a1f7878ecaa722b3cc2dd0a45f116cb9288f04ae2d2c SHA512 8ccfe558b0ff3fea8765664a5304b67c7e244fbe88990cdb50f82b6e9b88c2abfd865663329458c5455cafc29f62bcfa5e3a6d6557a989af99ea0899a4ebbb92
DIST genpatches-4.9-103.experimental.tar.xz 106388 BLAKE2B c8a171fda6fd70e17662b779805cc7353303159443fc4031f153bb8acda5c3632aaf331d1720c389b030fbc837d25522c4abbf6cb1858e7023ba292c5373b633 SHA512 db1c60f4c5356cc67e26244af373678fa7b51155c620cb8d62ae966e63e5b2c8320167bae699137135fd2e522337e197d6e2d8c1bf9f736ba5fc0657243218a3
DIST genpatches-4.9-103.extras.tar.xz 17356 BLAKE2B e84df76263c11d9ae1fe5bbbad0d24dfd2e866f625deab07f7b72404c351237ac28f8907cb4ef30e5bb88947ef303e1c8c4123acf4c6f899aa66f2ccfab5de41 SHA512 49025fe6fd388ddf72cdb3cbb68f24ae8225d4356459bbb2f8677b90488eb49f27e62591f98f87038f2d17d0355c55bf0c38b8fb94e3929a0619ebf2bccd06e6
+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-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.101.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.101.ebuild
new file mode 100644
index 000000000000..c29dc6503402
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.101.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="104"
+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
+}