commit: bc8e23435903d3c93558f98937650cd0a2663e05 Author: kuzetsa <kuzetsa <AT> gmail <DOT> com> AuthorDate: Wed Mar 14 06:08:53 2018 +0000 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> CommitDate: Wed Mar 14 06:23:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8e2343
sys-kernel/ck-sources: genpatches-4.14-31 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-kernel/ck-sources/Manifest | 3 ++ sys-kernel/ck-sources/ck-sources-4.14.26.ebuild | 67 +++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 84bc370c5c4..0cf91907280 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -12,6 +12,9 @@ DIST genpatches-4.14-27.extras.tar.xz 17492 BLAKE2B 4a1d976f56d48c8da2c43cd30650 DIST genpatches-4.14-28.base.tar.xz 763484 BLAKE2B f1ecc9bdd37f7e65287d5f3e2027bbcacf08f946a42cbdfb7f115c5641b450b22c29f8d43e0a8827d02195a8aa867640855dc8752e9cd3209db95428198e5736 SHA512 5ce9a2d51267dc06dd0da96e8dc7ce010a7ba1b19d6be8e4c352f674f86bdc3f32c18664bbf816293ab5f2030088f4fe4a8367f51f1b57adc945332799f07074 DIST genpatches-4.14-28.experimental.tar.xz 5180 BLAKE2B d99fa03d0f4003a0c55361dae11a519311ecd367d06f0034166726334399757d4846a7edf885f67a37c72561f614d2190421f56a73818be23abb713f401d7342 SHA512 6f45a8e1cf2ebfd4d0295dec64b7c4b5345281e2b7abbe3a5f522fc7cb939d7f05f09713177cf9023fe29936fcc4013bd2cbb388f7b342ea7778e764349c8f48 DIST genpatches-4.14-28.extras.tar.xz 17488 BLAKE2B 29d1c5a21219938645204649ebc62daa54f4a879412e4d0adc456b182f54d882be0882d025e641e7c49230a0c7ff2e11af549d20a8d0977842cbcbe7b05813d9 SHA512 c31199fbb9431e4f4b853a19332b21e7f357df79b4ef84db765b9a13d7f9f009a81db9473b0d60d76cf513439ed9eda9769efcc244d4ede7827cf2ab4045461a +DIST genpatches-4.14-31.base.tar.xz 823544 BLAKE2B 903479b10319b73fa2bfde8c7b8ec1ff5c90fbfdc2e9e3f28581499fa57c7d370c05462e7aa1402f0a35ec60687897e39c25e703a33a9ca376879ebebf239633 SHA512 660b2d7328ae2f7555d2f4869e8068cf94a56f84cd019ace3d6c6149925f867e440c4fddb37aa362e8639b9d12d09164b7046486b347e2499afe0b9adfeb88f5 +DIST genpatches-4.14-31.experimental.tar.xz 5184 BLAKE2B f67c68b74d74ba81499e36cae871656b07fc6c40ca890d2b5edb9137b5672652bc3c5bfdd46f322b64b7863776e76485370b23c8a5b03b8de16730bb9b265a53 SHA512 83b60e68991ee73488f5919d26308615361b95a4dca153d9f1d58e360a7e4370b18c34aaaf572f853fad08aab7636fde67a45c371e37f56abcd5b44c32f62b6a +DIST genpatches-4.14-31.extras.tar.xz 17492 BLAKE2B 4a1d976f56d48c8da2c43cd306506075f226a50caa1730bc77cbbb11f11e9c7446ac471355f236535bf4878ecb9b9f4dbc9f07cb54ba9fb4089faee9d6b87ee2 SHA512 8d209e3ac993fce94ebeca0ec30f81710da0a8a9b657ca936f5d0db05061aaeb95cde4f552fe414edf51be8e28e6bb9af3cb668210a7c335b3f58cee84110470 DIST genpatches-4.15-7.base.tar.xz 193592 BLAKE2B 7568231819af388699ba317d97659cd433815aec1b1b39aa53d7cf740560149934edf214bbedf5b9d48a2e56ff6f3c58a78c301ef01de1ba08deb46a569ace32 SHA512 63c85b3f434c7a201a1488211962ea7c3cad2b22abd5455ae52fab17ecf7485a3d346a762fd0078ea786694b6481818da0f271f1ca9068242bf7b23a9977fcc9 DIST genpatches-4.15-7.experimental.tar.xz 5184 BLAKE2B f67c68b74d74ba81499e36cae871656b07fc6c40ca890d2b5edb9137b5672652bc3c5bfdd46f322b64b7863776e76485370b23c8a5b03b8de16730bb9b265a53 SHA512 83b60e68991ee73488f5919d26308615361b95a4dca153d9f1d58e360a7e4370b18c34aaaf572f853fad08aab7636fde67a45c371e37f56abcd5b44c32f62b6a DIST genpatches-4.15-7.extras.tar.xz 17492 BLAKE2B 4a1d976f56d48c8da2c43cd306506075f226a50caa1730bc77cbbb11f11e9c7446ac471355f236535bf4878ecb9b9f4dbc9f07cb54ba9fb4089faee9d6b87ee2 SHA512 8d209e3ac993fce94ebeca0ec30f81710da0a8a9b657ca936f5d0db05061aaeb95cde4f552fe414edf51be8e28e6bb9af3cb668210a7c335b3f58cee84110470 diff --git a/sys-kernel/ck-sources/ck-sources-4.14.26.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.26.ebuild new file mode 100644 index 00000000000..62f9426536a --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.14.26.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="31" +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)" +}