summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-05-26 19:10:30 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-26 19:20:55 -0400
commit63202803369d15bf720b2914769791d02fe62bf0 (patch)
treee2f89a15aa6584b58e1922190851465dd8fa6efb /sys-kernel/ck-sources
parentsys-kernel/ck-sources: genpatches-4.14-49 (diff)
downloadgentoo-63202803369d15bf720b2914769791d02fe62bf0.tar.gz
gentoo-63202803369d15bf720b2914769791d02fe62bf0.tar.bz2
gentoo-63202803369d15bf720b2914769791d02fe62bf0.zip
sys-kernel/ck-sources: genpatches-4.16-13
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.16.12.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 5cf85052af5d..642e5ef765c5 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -44,6 +44,9 @@ DIST genpatches-4.16-11.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0da
DIST genpatches-4.16-12.base.tar.xz 262212 BLAKE2B 95d70087d1e17fa59498be09fb5f73b26843627e0f858979914123d5ed38c48c3d0b6cc8fdcddb0d0a145342f5664032784793a9076692fe0c260b40299c0fc6 SHA512 3d029c80a1b00dc90f4781c778815bbacae1713f0b5e2af3c9351ee6d56996efc1e048ef2509c8e002fc8c633158886c5abc24a8663eb7daa97bbe2cf0f9363c
DIST genpatches-4.16-12.experimental.tar.xz 5168 BLAKE2B a65e3d51f96010dc20c5937bdc2d1984c519af9633a2e460a161b2640293ddbec38f2581e0ba6278397d06d9cd9154c8880eb6f31a02ce2f25123ad6b1ff12bd SHA512 1691f82a02d153d5d6f98c53e03db5692693f6e01487b17d025193f973904f488bbe48a73a8e7c9e35ef5f9dfe37e4f3c1087713b891791fad714f18a6a82c49
DIST genpatches-4.16-12.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14
+DIST genpatches-4.16-13.base.tar.xz 310996 BLAKE2B 6d87d807dbb17b2c132279849798c16ffe844e7f9f46e5adfcb5ecf1356ae60ed95d94469db8016d91d1a396aa4ae806fa8ae30a7cf17a9a8229c9546fdd5022 SHA512 450ec9c39cd88e995324b70cd58092f8f588f359cbada6d3c097cfc98c05d15a705c41ed4d9b48d9c2b4b15c79188c172a68a094c2e76b4aa44d83631fe8a486
+DIST genpatches-4.16-13.experimental.tar.xz 5168 BLAKE2B 3c137d43673f5a2eb0169d521c029c160f8f85bbcca212b2b7a0cfdcec48a93ed31c4c0fc0393581d106565db1b65d4e656c3a0b315c98ad7cddd06ac83a64be SHA512 bb5dd9dcee179c3384002f2b6abb3ffb937f8ea19dfe804acc9e248dd056535b03e2fc2655a11d1b0bbd1e3cfcc6d154ad1bb73a73dfd7ca4e517b476d0b1346
+DIST genpatches-4.16-13.extras.tar.xz 17476 BLAKE2B 72ebf7259d9157612350f0e7565cf15c9ca20d993413a81891ad09e4eaad4f8d2cf94cd35ba1439717820cb812a30b964bcb7b6346dbefd138ddcfb568f378c5 SHA512 aab9b7ccc1cde0374ae5c6f364ef89ab2ceb15484307db8cf8157da3066147835d0a0cff06392b4440c59762527065f933586b43b1fe53fe5510ed9514436987
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.12.ebuild b/sys-kernel/ck-sources/ck-sources-4.16.12.ebuild
new file mode 100644
index 000000000000..017164bf3b4d
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.16.12.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="13"
+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)"
+}