commit:     169fef316798bf5c55e1acce8d274206ffd4f015
Author:     kuzetsa <kuzetsa <AT> gmail <DOT> com>
AuthorDate: Thu Mar 29 06:41:34 2018 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 18:42:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169fef31

sys-kernel/ck-sources: genpatches-4.14-36

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-kernel/ck-sources/Manifest                  |  3 ++
 sys-kernel/ck-sources/ck-sources-4.14.31.ebuild | 67 +++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index f985c3c7947..a85b79ff81f 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -18,6 +18,9 @@ DIST genpatches-4.14-31.extras.tar.xz 17492 BLAKE2B 
4a1d976f56d48c8da2c43cd30650
 DIST genpatches-4.14-34.base.tar.xz 893480 BLAKE2B 
26a867d2f723bee9e2e3f90ae1208f447aa6c025ef520020bcff2656c6870cc25ac44c0533fc555c77a8a4f8fe22b545ac8f2e10820935e5dd88fada4a40e71f
 SHA512 
6721ef0e5153d334c95f70c5180587ffc716882f4abaf71e830a79641499527aebf7e310ba81c9e0e69bf83656c53f19c4a22720686e20b476f032a56e30ba88
 DIST genpatches-4.14-34.experimental.tar.xz 5184 BLAKE2B 
1543a0da91eb42dc3c61b3670c2d5aa94a49bf30c3745b2408d43d55f009f378737d05d9c8cc2b16a43717ef96fe52758c0487f7f9ab725ced9482c92494321c
 SHA512 
e9014e32d8d4659d4d7ac5e4902b6a4bb1fca2f3263efae09873e966a86151045c054c42f3247074ca802fd7008a7ba8ff06cdc507367cf9298579ddcd73f6da
 DIST genpatches-4.14-34.extras.tar.xz 17492 BLAKE2B 
ebff9e91c92b4fb48ae355401faf2c7dfc4029899cb2bad7a31fd9c2d2675d6d941584d74db8f96971a64cbc2e2a1e8dd6e9b189443a8b7d4918f3ce33cdf481
 SHA512 
dc05fdfa9b0a799b8767109033434d8a2be00dedb19a420c395576fc142dd41e7ed1a74530d543958865d9d8557eac2b193fea3a16fb45fb1e725b0129ab75f2
+DIST genpatches-4.14-36.base.tar.xz 937452 BLAKE2B 
6d1a76eb2d49f08980a1ed98e2ee51b4190525febda533f35c809b4c4fdc5006cd76dad93120caa1d677c6b3e65b24ae9f0639b249ae05762e0caa2855c81959
 SHA512 
8cf07fb978b91edde19edf8f09827a820681ecc9719e8f80803ee9d29a308e5c4f222acbcb401cb05a9e659a4e408e6e5b23f3a0f1c415f87f3374de4ad87ac7
+DIST genpatches-4.14-36.experimental.tar.xz 5184 BLAKE2B 
b4d97f8f7d4dc4fdeb22e316ee5474f86376571eeee384385e0130d56f6228896d5de5cb74f3abd4e437b0fb2ad5f8e092c431ca3efe076af06e1d1008b70fc3
 SHA512 
5666450cc357545df8260e7100cfbfdc6389f7c766a93214ed5f8fb0ff7524c90fcdb232e136d3cf451be581e021b8ecc086d37782780b44772eb95e3a0f0432
+DIST genpatches-4.14-36.extras.tar.xz 17492 BLAKE2B 
585593b652ce04707ded634190d56ce3e548493b1d65e2cffe963d62abe3bab83134eb6a0feef45b94b324c577a7c5aa318bebeb2e97bf2943c8a1319e40ed3a
 SHA512 
df8d909c8897116f42877fce9b7e62f5eb651a0ab51861ad4e3acd68adebb40657755cb7c7757b001beec7f959cf1ef8691609b11deba0aa214baacc7b4f66ae
 DIST genpatches-4.15-12.base.tar.xz 251412 BLAKE2B 
c6534458a28c9df29b7cb9e3392000f49d529b2d223c8aee353b8e5e961886c97acb80993e30671ae2359a7f1ae6fb37ca1320571cad55b7cae562a03ae49f61
 SHA512 
f98e32b0b84b3499227a3ddca06398a1bad277e68b721b70a3cfdbbe9449c259a9e8ebc63e5463e65b5e5accbc6b3935bcc78840e26567a4c12e29a19dc8e422
 DIST genpatches-4.15-12.experimental.tar.xz 5184 BLAKE2B 
4a44f3d3fef089140e6420c26d1c4102d518ce615abc30afb8127ede4328c276e3380502c2b28d5f452d8c7881130f0d2d7b04f0f81ce44f02db7b280493a12c
 SHA512 
ddf304f14c9c714c32423b349c8740bd0785c5893ea7cfcf89895f0b76214693dff142c7fa5c40df09f55696b845210e3be8bda4fbf7deacff1718a83f83047a
 DIST genpatches-4.15-12.extras.tar.xz 17484 BLAKE2B 
919091a255d5ec058e52c151caad2afe470b401a9ab5269946a2309ddee3a2b5068df8483807ee310832c690bb561700363a2b1c0294a4e15ca03dff36061890
 SHA512 
3a426bf63ffe786984cc8b9c296b0393fcaa9881c65d4220cadb331fe445fc05418a629cd5494f0a1419215d4512679d9619c8a92f4a10b2ad8087fa44292ffb

diff --git a/sys-kernel/ck-sources/ck-sources-4.14.31.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.14.31.ebuild
new file mode 100644
index 00000000000..addac9bcc7e
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.14.31.ebuild
@@ -0,0 +1,67 @@
+# 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/";
+
+IUSE="experimental"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="36"
+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}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+# Fix for: https://github.com/gentoo/gentoo/pull/6942
+BLKIO_HASH="25849740d77dfc089fdbfb53623e50d38a972aff"
+BLKIO_FILE="${PN}-4.14-blkio-fix.patch"
+BLKIO_URI="https://github.com/ckolivas/linux/commit/${BLKIO_HASH}.patch -> 
${BLKIO_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${BLKIO_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${BLKIO_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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
+}
+
+pkg_postinst() {
+       elog "ck-sources previously enabled CPU optimizations by default."
+       elog "USE=\"experimental\" is now required to enable this patch."
+       elog "this can be set in /etc/portage/package.use (or make.conf)"
+}

Reply via email to