commit:     e5c6c9a8e9e0adeb531c86cfeb52d06597e622c5
Author:     kuzetsa <kuzetsa <AT> gmail <DOT> com>
AuthorDate: Fri Mar  2 20:34:00 2018 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sat Mar  3 04:54:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c6c9a8

sys-kernel/ck-sources: genpatches-4.15-9

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-kernel/ck-sources/Manifest                 |  3 ++
 sys-kernel/ck-sources/ck-sources-4.15.7.ebuild | 62 ++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 3fdca40c1d2..181f644ea25 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -51,6 +51,9 @@ DIST genpatches-4.15-5.extras.tar.xz 17480 BLAKE2B 
efcbfd671a8d34546dec1077c6e40
 DIST genpatches-4.15-7.base.tar.xz 193592 BLAKE2B 
7568231819af388699ba317d97659cd433815aec1b1b39aa53d7cf740560149934edf214bbedf5b9d48a2e56ff6f3c58a78c301ef01de1ba08deb46a569ace32
 SHA512 
63c85b3f434c7a201a1488211962ea7c3cad2b22abd5455ae52fab17ecf7485a3d346a762fd0078ea786694b6481818da0f271f1ca9068242bf7b23a9977fcc9
 DIST genpatches-4.15-7.experimental.tar.xz 5184 BLAKE2B 
f67c68b74d74ba81499e36cae871656b07fc6c40ca890d2b5edb9137b5672652bc3c5bfdd46f322b64b7863776e76485370b23c8a5b03b8de16730bb9b265a53
 SHA512 
83b60e68991ee73488f5919d26308615361b95a4dca153d9f1d58e360a7e4370b18c34aaaf572f853fad08aab7636fde67a45c371e37f56abcd5b44c32f62b6a
 DIST genpatches-4.15-7.extras.tar.xz 17492 BLAKE2B 
4a1d976f56d48c8da2c43cd306506075f226a50caa1730bc77cbbb11f11e9c7446ac471355f236535bf4878ecb9b9f4dbc9f07cb54ba9fb4089faee9d6b87ee2
 SHA512 
8d209e3ac993fce94ebeca0ec30f81710da0a8a9b657ca936f5d0db05061aaeb95cde4f552fe414edf51be8e28e6bb9af3cb668210a7c335b3f58cee84110470
+DIST genpatches-4.15-9.base.tar.xz 213364 BLAKE2B 
cd9d322b760f455e9030f37b2af0fc16c18aa760352a1e48e7acf249783884ac7b6f8503fcc9f7d04d9f84d46dbdb83ce30d6fd9672158cedbda413733ea2543
 SHA512 
06f2da48a4e219ca7af343d3607adfc533cee2d43d0e8629b0fb58390e99ac3c0c226aa89db4e37c87c1ebb247b10d27fe4b68a87325fdf6491846a3648305ba
+DIST genpatches-4.15-9.experimental.tar.xz 5180 BLAKE2B 
f273483f44819e3110d45ed8cb042c16e729dc15e495a3042754d0fc727225a4db2d9b00e744dd3898ffc5d31b0cbf4dfdcda3a7019d768e7b714544d9c46b02
 SHA512 
342819d503051177983ae9e4fb20da1d67b416db4c46c5c3a3dbe8282c75c9a9f21fda31ee9a2d8080f139c24c107b650a53e7a0212e91a54f09c012a7545920
+DIST genpatches-4.15-9.extras.tar.xz 17488 BLAKE2B 
a31b176bff4dcba9e3ee6fc0685a6fd7ae695c590c4f95cb495e4c0d34d6a818c11aa30a1153aed4d662837847281917dbe91237c7edc51052908b0c30ede8d0
 SHA512 
97dbbe066093d0c495578196409496aa4102d3f10de28f2bb975a3db4ad3917a6ef34b26e947b745419f0e80711e5dff6a41cf141b02bfaea910bc1ce0b5d3b5
 DIST genpatches-4.9-68.base.tar.xz 1266744 BLAKE2B 
287306aeecbab6cf9b9c08440ee333e729d0af555fec354400c54e407a1c3b8a723ea95c28b7d3c13fe37f4c7fb78c273eec8d6a68f31b68ec24ba45a374bef7
 SHA512 
4ba94ae3f592cdc466ab58e4bba9781fee915df4994beb6c9dec4efd3622b180cf0d145de585ec9a7361ed2ec636910a42b449d937dca50983bd7f13494edd16
 DIST genpatches-4.9-68.experimental.tar.xz 106380 BLAKE2B 
e360ddf86cc6db981937c188ccd5106754c7533ec01e6e4d4c9dcef72092b11c4d9accf0389414c3f20032977e010d29344f1014f490e9e13cc51b59d1f59d1b
 SHA512 
000567fef478babbe86b706bc9532756bf42f2c2e09aa3f4e39f7fff8d90fd9dfe65929fb1b9473031d6529ce4ea4a9a8dd8bb7dc615a58f5157ccb2ad4b9249
 DIST genpatches-4.9-68.extras.tar.xz 17352 BLAKE2B 
215a823f33f6d5cccbfd9597ae123a885abaf1bd2deef215b1f4c76dbd0652c4160152b96b62cfaa7523899f49263a48d49c9bfc43cab3fd44ca3aabadb54605
 SHA512 
549e8fc65d62b5197ffd047b7c281c183d267a7d93dbe4c46fe19c161fa84db9a00db9e4cf254431303dbfc8652dc360aa53af8057ab5a433fcc98dbc3748c9f

diff --git a/sys-kernel/ck-sources/ck-sources-4.15.7.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.15.7.ebuild
new file mode 100644
index 00000000000..b352d8bb4a9
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.15.7.ebuild
@@ -0,0 +1,62 @@
+# 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="9"
+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}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_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