diff options
author | kuzetsa <kuzetsa@gmail.com> | 2018-06-08 12:13:02 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-06-08 12:29:10 -0400 |
commit | 4b3b9324b7aae06e8efb4521ef39a8590dbf3f0f (patch) | |
tree | a1738dbee5b5259489c76a2f7933d9d6b844ac86 /sys-kernel | |
parent | sys-kernel/ck-sources: genpatches-4.9-110 (diff) | |
download | gentoo-4b3b9324b7aae06e8efb4521ef39a8590dbf3f0f.tar.gz gentoo-4b3b9324b7aae06e8efb4521ef39a8590dbf3f0f.tar.bz2 gentoo-4b3b9324b7aae06e8efb4521ef39a8590dbf3f0f.zip |
sys-kernel/ck-sources: genpatches-4.14-52
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/ck-sources/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-4.14.48.ebuild | 67 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 8aa5530594da..4e6dcd86a11d 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -32,6 +32,9 @@ DIST genpatches-4.14-49.extras.tar.xz 17500 BLAKE2B f4c4d6408999934c03b2d0543b12 DIST genpatches-4.14-51.base.tar.xz 1377292 BLAKE2B e438be087cc2f48fa174f568008687dc8f0352fc15352c5e9d59ab9b741fd836f5ef9adf3284b843a2dffea1d34c735e2f08bccee23ca93470dbb32bbda1750f SHA512 a421da5d03d099808202f2c032c29a55967a8053177fa60b9181ef0668d1b38182440b7d5699696560f165b380e2d007cd6d9f9b8cf1ab6e91fb44826692155f DIST genpatches-4.14-51.experimental.tar.xz 5184 BLAKE2B bb7b10584d230d6295bd57e50eeacffab7044061ba09806e812c18e4d5926516ec5674cfd8925fc838304987b115509aaaea07f8f3af1c4822bae0df78476363 SHA512 b79937209b305e1738c857a8bbd46a1394cc4893fd5052eb5f037edc6c29d83b3ef013eecc2ff93da08b8a90cdebc169e277be0f81231c26468091ff33e6d9dd DIST genpatches-4.14-51.extras.tar.xz 17496 BLAKE2B 115e99b501a0119809f2abe84c3bb8a66b2b450f53003441593654c23a4bb653c4b40da1ba31e53f7f4db69c99511b2dd41f53b4adf8bd377714b1ace8abd9e2 SHA512 a01c90e36504f17495c8691ba6fa99870fd03b65299730df57e767e2562a90b6a04da24c50983cb8ea12ac276e6805f3b5fdaa30ad175ae5ee28f147f75dc3ec +DIST genpatches-4.14-52.base.tar.xz 1393612 BLAKE2B f408007ae60b6580104f0a2ba35af383bb294508800540d62593a4d0cf57addc518b926a7ca8c0398c89c6762b0389de553af189a100031929770a5b84d08ce0 SHA512 f114baf7273dde352905f1dff5dd72f4822f01ba906ba04d49f68ff779d9b27359564f15e57d3d091fe942c8c1d679227020e5937fe82ac5dcb59d270104b971 +DIST genpatches-4.14-52.experimental.tar.xz 5188 BLAKE2B 8212503f164cfbba9d6d59624ed29bea6ae1a5a027cf6afa484e90c931a4cc32c954216e91a442ad27834049ce90a4b262aa82b14763c72096d933d8459977ca SHA512 8475a0f915b49e003ba362f47e909ae97bf9dd2f94c8eb96fbf07899fc6884309f4f49bc17ab49de0bd8ad0066ef1e63cf1d19ba2d8a493ea1478b431e2d2034 +DIST genpatches-4.14-52.extras.tar.xz 17496 BLAKE2B 402ab3be4571457aa71ad0e4785abc5ca4ab3b245d7009bb3c89d730f57b4cf78b6e7b0127907c31e4a21e96f3de367e19a71778d3dcf02ec269345d60a02cd2 SHA512 fc3d536bfa95854ddf788de3bd603a44b4aad3cfd11e464e54b7bcdd328513a048ff3a4e882c4a90fd3d21989aa3e5c0b46f4d0f22d58b93f3bab0f95801694f DIST genpatches-4.15-20.base.tar.xz 464468 BLAKE2B b3c30e02819663b31b4ed83794d57c4521fe13015a4419088664f017f4753117bbc88a5600e310092d8eaf8b132b0757d59fb7b503abef046db0249ed7ae96e6 SHA512 cf79c85b65f3a68d3d721d2425fb6e498df808097bd8b1c610023d0c36c0378ec0f92d33ee0dc39592730d87f4a1df52931ea9608be2d56d5543a201f9d1d658 DIST genpatches-4.15-20.experimental.tar.xz 5184 BLAKE2B 96ab38624869b7ca2caddceea1be6701c6a9df489dda0be4736765a6546909d522f5b32a44506875270485606797357bf44e044ed61ee40f6171670a5956bdbb SHA512 673083672ca1758f0b3dcc4507bd18c3ea1c024c86f1f8e0bcafe6117f33e226ad981fa123f1b3317858b93f5a17b5f56924e5e5eefb6c0980fc8572626010da DIST genpatches-4.15-20.extras.tar.xz 17492 BLAKE2B a610729f55d64e3ef6dee6129879f5ae27f31bb2738b0d8d3270f3502eaa19024323a741f0ac3325ba72342ae9e3c7fc9b4dbd56f8763a4be29e825d98a17b18 SHA512 304fa9e1f83f5b8e2fe10905799badc8bd8e9ac981fd59b3568f9d9d208dc671ec4dc1b88163351322d047596db4d2c8f9a261dbefa3351cf25f321b84beca9e diff --git a/sys-kernel/ck-sources/ck-sources-4.14.48.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.48.ebuild new file mode 100644 index 000000000000..f4c62f9d70fb --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.14.48.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="52" +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)" +} |