diff options
author | kuzetsa <kuzetsa@gmail.com> | 2018-05-16 12:47:56 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-05-16 15:13:30 -0400 |
commit | 8f4c952514a2f486aa71ed28e1d7d156c5f9410f (patch) | |
tree | 7b65a12375663fabe0abf7c44717432c77b9a033 /sys-kernel | |
parent | sys-kernel/ck-sources: genpatches-4.9-103 (diff) | |
download | gentoo-8f4c952514a2f486aa71ed28e1d7d156c5f9410f.tar.gz gentoo-8f4c952514a2f486aa71ed28e1d7d156c5f9410f.tar.bz2 gentoo-8f4c952514a2f486aa71ed28e1d7d156c5f9410f.zip |
sys-kernel/ck-sources: genpatches-4.14-46
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.41.ebuild | 67 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 6d5c914bbee4..c36a513acf75 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -17,6 +17,9 @@ DIST genpatches-4.14-40.extras.tar.xz 17496 BLAKE2B 2240a8879139d6ad765a9e38d0ef DIST genpatches-4.14-45.base.tar.xz 1175760 BLAKE2B 6bc299d8072aa6e1f0ee3d338f20ecf9e17bc3f3c89b6458fa3c3b5616a58b69d32ff1c173202dc95a8a234a1cf3f6eee0f74028f6b386d39c1319f93dc3fcd4 SHA512 f1431f24c17bbe49e3f08d4041aba88bce22ef560c89cfe5c9abe4fead0305de7b27649e1dca8965867f115fc153839880eac5905aca74949289c8a061286932 DIST genpatches-4.14-45.experimental.tar.xz 5184 BLAKE2B 501c9b838f5e44380043ceaa9f8a5d9097bcd97c9113874cd8c9959224d1556e64867605c803e02ba92f70e250cb8f96728dee728e52b97feaf43eeb75a95fdd SHA512 907a896f768ac555d04c7d5278c632bf9a89c556a1ba863d01ba73cfa98f20c5b12742cd057bcb6037b41d12420069ac7a2453774d1a79a4e68e1216c188192b DIST genpatches-4.14-45.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14 +DIST genpatches-4.14-46.base.tar.xz 1190412 BLAKE2B cf4c875da660153fdc018e10a208d0277ca7e9645aa3ced2a6331f182a9eb50ad3f459d94680f0749cff6cf2e2900930a169873b0e3076d54b4155a4718aba5b SHA512 8704a4855b85b5ae151cbf66300ba7b0f546e7283fb58cfa8db32c038b32d00481770d9152e6a616f90010709215d7c07fcebd7ddfabd2978397b669894d794d +DIST genpatches-4.14-46.experimental.tar.xz 5184 BLAKE2B 501c9b838f5e44380043ceaa9f8a5d9097bcd97c9113874cd8c9959224d1556e64867605c803e02ba92f70e250cb8f96728dee728e52b97feaf43eeb75a95fdd SHA512 907a896f768ac555d04c7d5278c632bf9a89c556a1ba863d01ba73cfa98f20c5b12742cd057bcb6037b41d12420069ac7a2453774d1a79a4e68e1216c188192b +DIST genpatches-4.14-46.extras.tar.xz 17496 BLAKE2B c7fca4b94f96e36704f4f7aea0daac855515544d54a286dc90791e8318ef172771665ce132872351da9e26a0231f0b3e356cf9380c59ea52358ece117a23157e SHA512 eba699a9b0615b096358e967c1ee68989f1374ba9a4f281f232aca8ea459b30446551346a081b4a61067a4e94fedfbe2e470708801a4e9bc3049b69f6558fa14 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.41.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.41.ebuild new file mode 100644 index 000000000000..4c16f5a4afa7 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.14.41.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="46" +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)" +} |