summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-07-29 18:10:33 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2018-08-01 18:46:15 -0400
commitac18e5ddee55924f98535b9ee428ca5405de9e9c (patch)
treefead14fa1eda9fc69ba2e0a64cd49edc93801f87 /sys-kernel/ck-sources
parentsys-kernel/ck-sources: genpatches-4.14-64 (diff)
downloadgentoo-ac18e5ddee55924f98535b9ee428ca5405de9e9c.tar.gz
gentoo-ac18e5ddee55924f98535b9ee428ca5405de9e9c.tar.bz2
gentoo-ac18e5ddee55924f98535b9ee428ca5405de9e9c.zip
sys-kernel/ck-sources: genpatches-4.17-12
Package-Manager: Portage-2.3.40, Repoman-2.3.9
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.17.11.ebuild61
2 files changed, 64 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 52409dbb7d2c..af4497afc200 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -35,6 +35,9 @@ DIST genpatches-4.16-17.extras.tar.xz 17492 BLAKE2B 9ad1072b3c62c064a72a5406e80e
DIST genpatches-4.16-18.base.tar.xz 508740 BLAKE2B bbdd0ef86712ab8561c1d0272ac163cf165ee35ca496f24f8c587f74004085ed058e26b9bcaa900918badfbaa146dec2dfe73d98072fb4b43fb1fdd33a5097af SHA512 5b4841f67241de83e984d9b83a9643a311f8b8bc18e78536db4b1223e0c7daaee60c75b7e551f42d0ccc1b068241d773d720159dc0446375229e38cfa0a9e140
DIST genpatches-4.16-18.experimental.tar.xz 5168 BLAKE2B 536cd42df508c7b528ca5cdd34f215426d07572455c0e26c678b9f044f53574fe1d2ab1488bde7ac306c9e7a3fd9042755bbb98d988f4389592dbd44ca3b0f47 SHA512 be5c1a1d6e758486b2d5bdeed44750cf6b9d38a42fdb34aa577b36c496ff25e221bf57243a280e1c4315705fc83e340e855614486d2bbff2528b05b1a35721ef
DIST genpatches-4.16-18.extras.tar.xz 17496 BLAKE2B 926ea0dfe37beb6244da243d2dbf37c4e85118f0d56410b4f80b019228d5702d14e514c5324a1ca455e4d69927f30490b152b746340d0feeeae46342cf7ad1de SHA512 69db081086e60a2eaeb2038b3017b8815c7b2d8b6e1b0f20af04f3e8e783d3b6f67263cdf0988314ed6e91fa3561336c7db1949e3fc51ab00b9d7f62803f65c7
+DIST genpatches-4.17-12.base.tar.xz 246780 BLAKE2B 64cafd4ba5492db8df42f20d92040fa758d61044398562432f0111d07a4e8e3a5dcf9c2c1d52cb503f10ffc44162616185697186344cd5291390457a807aa376 SHA512 b9ea2c3181dac826da6db02bfb677f8889b9ff06497e7231b1ddb90cdcc6b8be70b85d25c70ccea874493fe26c338f2639fd5aee8cfa77a164f4a2d07278e4e7
+DIST genpatches-4.17-12.experimental.tar.xz 5228 BLAKE2B 303a95aa5d28940446d41530e02b251a3b2a4fb5123f2f0f7d7ce9f674012b4be27e2f6149760efcc3e7a92d91b4be0a6c46d34b320f50f1b3317b205da1d38e SHA512 758f92ba2a94e1a5052dc2470fc2a459032a25954fd799b1aa15cfdc37335f6ad642d2c06ec13250134bdece9ca0b9c30ddba31d70ea47fce87c6d637aaa3f63
+DIST genpatches-4.17-12.extras.tar.xz 17496 BLAKE2B 4e62accefe05f592f514403a5ee38aaa3e68f629e2cdc9b4048ac9884b7ef26940b9663055614881fc849fdc2948aeecb12b81ed283d587c3cf765784453ff45 SHA512 2c55ee4a36046b8c487ee2cf8a0484df9e00b529cf5d5296d3e7dc0f611a4ae748841574df2f996ffe81fcd98578bf9872523a795d3c2657df15f836af5a4975
DIST genpatches-4.17-7.base.tar.xz 145032 BLAKE2B b227c23375bc4b16bcc281b3c8e31776538d1d91a61f0df1a6f49dff41494c87c7f75abc455aa5afaa422f47e7d9900bff4834dd038f4af8ea07f0ac0628b3bb SHA512 95e67406a0400354b74e73273edd3dd6512212e408f7aa2202b5c7e6b03d541af05cdd37de9451673eebb6ec9893695d00a78bcabe4ff8686a51a62e8ae85899
DIST genpatches-4.17-7.experimental.tar.xz 5216 BLAKE2B ecaf744867f77064c251d4e35fc7737d25d46e66374edf9cb38004111ba3799728e0a02a9157f67ddb5d7577fe211ea3e6e09f8b272fd79ceab5f1097a34403e SHA512 1a6c77c94c2c7ff559e915fa4db238595c21b1faa7f716acecf68b7f31a349a30575f89e31ee2d64e2a4571feba4ff016fb858a5b1d3a3b7661923b1f3581fa4
DIST genpatches-4.17-7.extras.tar.xz 17480 BLAKE2B ba9706cc7fd251ce586062354be3af5bd1760a3f19c458ecac4da4d094489bc54a50e27c792725c8b8d5b5a9be0de09949fa7c389db226344bcdfd8ffb859455 SHA512 5f384790402cbd7a7ed9f00401f868d10b3f9a55b63f3cbcac37e196da48eced24c2994f1716267f9ce7be7d80fe118a42855b1e1c884acb8d1e3a1ad3ca5a09
diff --git a/sys-kernel/ck-sources/ck-sources-4.17.11.ebuild b/sys-kernel/ck-sources/ck-sources-4.17.11.ebuild
new file mode 100644
index 000000000000..ae581c138e88
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.17.11.ebuild
@@ -0,0 +1,61 @@
+# 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="12"
+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}"
+
+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)"
+}