summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-05-21 01:33:10 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-21 13:06:34 -0400
commit48f8632781e50828e2f7cd34181f0f6614c600c3 (patch)
treec7006da04aa6c778aeaf358be60856791629cbd9 /sys-kernel
parentsys-kernel/ck-sources: genpatches-4.14-46 (diff)
downloadgentoo-48f8632781e50828e2f7cd34181f0f6614c600c3.tar.gz
gentoo-48f8632781e50828e2f7cd34181f0f6614c600c3.tar.bz2
gentoo-48f8632781e50828e2f7cd34181f0f6614c600c3.zip
sys-kernel/ck-sources: genpatches-4.16-10
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.16.10.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index dc2775cf5cbb..175369c5e079 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -32,6 +32,9 @@ DIST genpatches-4.15-21.extras.tar.xz 17496 BLAKE2B 2240a8879139d6ad765a9e38d0ef
DIST genpatches-4.16-10.base.tar.xz 215644 BLAKE2B b2706d34e5778c3453aac5e63c006a94a1f35ebf164cff8af692b754721205303a3d22a1cf7715a1809359d166191dbe29503ae0632af421c34ac59210876ee0 SHA512 0d290d1853481052b74d7777ea62c16f1c9d25d3b27b9fffa5f444d48e23a4dcf79cd12008940c2ab8cd6af3733003a287620148a4535431081a7d37e7b9d5c1
DIST genpatches-4.16-10.experimental.tar.xz 5164 BLAKE2B f99e68621a2e5b17e4f6bef55a24ec2c52c442abfa35230e869ae008e4fca3721375e4a93a4f6cd7c49f09e5412ba4cd753bedab2fb4ae85fad57dfb8761f04f SHA512 4288ddbd0123242c5e22b69645f9da7d706c08c7dd313c7c59481ffd42c395076e7aac8bc26736729d04cebe5b1da579cadeca1ecd4644bcf1d786e402e87642
DIST genpatches-4.16-10.extras.tar.xz 17488 BLAKE2B 75169c7816271f85df521749f6da4a706217797b10a4b3bd8ff7cdb37e380c3427f442428707449afa361956bb0197cc4c30f794491bb9ba1f5056abc586d2ad SHA512 dc8253041478cfb0ce1f6d5d1ec5a4e006320822e14b79f40fea752575e47444948987c17b8ad90d1bf5febece034393f49ab8a049e5e33078831e8e640c27e2
+DIST genpatches-4.16-11.base.tar.xz 229832 BLAKE2B ad7e4b657825802cd3049893140621a26a20f78f5327c43d36cdbbc3ba87938a80276757f1952fb532933d691428ce0bb8dc23d8c8c1c6533d939adaf7a65b5b SHA512 589eb66c4908d6c4964b50e62b22ccbcf6e9b5959cc0ce0bac6d07dbf483c0a0ded6c640649819efcee07f71ed0f930a0f6059be77d8df65e11a3f5031f8555d
+DIST genpatches-4.16-11.experimental.tar.xz 5168 BLAKE2B 9d8fb3e66bce93a3e8e2925d3b0b3627d37af82fc3b31faa4a676e2b8c355f36ffc998e1cb0b7a7ae75153712ffb3cbe289a351a1a5511b65251734b9b977e57 SHA512 eff2802e2d950357dcd368a9b358bbb2a5892b886be8991da0b808ecf61f199fd079a1d4e3a60bfe0c70bb4c97b582142a1f3341731d50aafc6fad06e462c634
+DIST genpatches-4.16-11.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14
DIST genpatches-4.16-9.base.tar.xz 196768 BLAKE2B 25c4b6a22a9a07af643ddc73fea2cf6e997f5cca89f86cf8386286d1b63e0c0dd393f138f66f87773d9eba382bcaec3a2562d2a4c22140a61358cd2612e11d4f SHA512 aab3c760270e8d72c892d58a88fac3db792150a8f7157a2fb656d52ecfb29c9f6a049783ec9583b98b9cfd09ae6f77f672ef375d6a260cb2cb4df8157e5398a7
DIST genpatches-4.16-9.experimental.tar.xz 5164 BLAKE2B 0e8c1ce1a65404faafe4c0c7163cf87ce4ba4195edec6caab0dcbffff5351c6b211b233b6b659a7521e48e11e0fcf726e23341728591e9dbf305a4cac4500175 SHA512 9b4003d7902152183e4a76c54e0d4d09da33c9956aadafef4b11cdde81f7539a0d7931f4ae7d4d7e02928bbd7c128eba5fda00319723c1f7c2a7abb34ecddc9c
DIST genpatches-4.16-9.extras.tar.xz 17492 BLAKE2B 2e9bb4e33e33f0b5ba923bc0036a3697abefcf7c439dfba68beb0c4d0a558dffde1c9224f56da6bbea560bec3664cb1025c0ce1c961037598523d1af0d0513fb SHA512 e1ed8a1532488aa849969a90bf299eaf39233695eb9bda7b070a87906b8891e2332a06234d4b2c98338b04380020387b8fb212dc95072ae79cc58274e8118656
diff --git a/sys-kernel/ck-sources/ck-sources-4.16.10.ebuild b/sys-kernel/ck-sources/ck-sources-4.16.10.ebuild
new file mode 100644
index 000000000000..12ff9f3f4929
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.16.10.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="11"
+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)"
+}