diff options
author | kuzetsa <kuzetsa@gmail.com> | 2018-06-22 00:14:02 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-06-22 17:11:36 -0400 |
commit | b5aaa3a1a37778edbd59afc3aee1115df2dc3303 (patch) | |
tree | 601f802bd60e718f3b53889d4024d6c17adec8d6 /sys-kernel | |
parent | net-mail/mailutils: keyworded 3.4-r2 for sparc (diff) | |
download | gentoo-b5aaa3a1a37778edbd59afc3aee1115df2dc3303.tar.gz gentoo-b5aaa3a1a37778edbd59afc3aee1115df2dc3303.tar.bz2 gentoo-b5aaa3a1a37778edbd59afc3aee1115df2dc3303.zip |
sys-kernel/ck-sources: genpatches-4.14-56
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.51.ebuild | 67 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 9a1549f89050..b08b8baeb8f9 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -12,6 +12,9 @@ DIST genpatches-4.14-52.extras.tar.xz 17496 BLAKE2B 402ab3be4571457aa71ad0e4785a DIST genpatches-4.14-54.base.tar.xz 1416012 BLAKE2B 43b4a3d2f739aa28f78c370f750a2cae4685eefd305119bec12fbe701ff456c3691f7af07a5168cb70aa81d235eee478485a27833d2c279038545c0d3c8a6b9f SHA512 385c548cdb99b80d126c3e48b2444f8aa99818cc2408adad76c95095344e403c8eb9dcecf8dfd830a745c66423fbe3549cab5f9fddf2a259606c42c0b470e373 DIST genpatches-4.14-54.experimental.tar.xz 5224 BLAKE2B b8e988b07ffe7c2fcf93cc5e3d27945b575d6734c3d31df369c5106ae1ca581db760bfa262639cdef7640146811eb395b79d70c21319a0564592c14faa547e5b SHA512 c698bed59b03094e80a59f64a362b0e956237c0004e2e9c5a608889aa14e92d701160ddf149d45e39643cbdb5107d51becca427ed4b0d38219d4b392c27fc31e DIST genpatches-4.14-54.extras.tar.xz 17492 BLAKE2B f993363b6205021049a653828ee314cf2da0e5e18612cf0d0361ddd83832a4297fa56fbe7be64ec3dfc164836da41fea1058b930f38bf569dddae0f94a3adbd7 SHA512 886279967efbc449797424e4f5d68ec9982049ae38fe0d7a3b81aaf058ac58971d32d196c6b70c7a382e09307d56cc599c504d5cb63fafb307a5141c7a4e08f3 +DIST genpatches-4.14-56.base.tar.xz 1459612 BLAKE2B cb36e0e5f7c998fb660e320e3a9cf1ad0412bd26fd92af6889c09ce70fbd4a8d7e2f78b8c178828fcfa95859d3cdfc1ed3370b2e8eacb32e8198d91e2bd37480 SHA512 35b1c2c915e7c493e53663c4140fbb0708cb2ae5a95dfdf420009ebe7d7df0890f3c1f66b694f46e033af5f24057e779c406cb510ab24d83e00731c6ad696726 +DIST genpatches-4.14-56.experimental.tar.xz 5224 BLAKE2B b8e988b07ffe7c2fcf93cc5e3d27945b575d6734c3d31df369c5106ae1ca581db760bfa262639cdef7640146811eb395b79d70c21319a0564592c14faa547e5b SHA512 c698bed59b03094e80a59f64a362b0e956237c0004e2e9c5a608889aa14e92d701160ddf149d45e39643cbdb5107d51becca427ed4b0d38219d4b392c27fc31e +DIST genpatches-4.14-56.extras.tar.xz 17492 BLAKE2B f993363b6205021049a653828ee314cf2da0e5e18612cf0d0361ddd83832a4297fa56fbe7be64ec3dfc164836da41fea1058b930f38bf569dddae0f94a3adbd7 SHA512 886279967efbc449797424e4f5d68ec9982049ae38fe0d7a3b81aaf058ac58971d32d196c6b70c7a382e09307d56cc599c504d5cb63fafb307a5141c7a4e08f3 DIST genpatches-4.16-15.base.tar.xz 402268 BLAKE2B 1ce1a4da6e6ed219554adbf9acd0816747298c375a17794831ca9ecacd5bcf8c23c6eb49ab83d04d15b732f5ce6611be98f1d5acf151f3af172cfc6e48dab23d SHA512 2a5d0a8f83597bed7ee6000786d336729d53a2d76b674c14f4f92230cfb4cae6aca688ad70f0aa922e4826eddb0eb5d6d3b8d63ac207c54c52781759dd90c4ce DIST genpatches-4.16-15.experimental.tar.xz 5164 BLAKE2B c059c922b3f371ba3fbea51e714ee056d59a7326ddcc122f0c1e94055793d654e8a57faee263fd7b70a088a092e3b1d828befcf406d3d647291ce17782dadcde SHA512 ef3f4590aa9e4801c648b520a49eace811051422c4d849d80dd3d0ada07b71fd955cf520c8f1ce3d1c41d1bcc9f11f0fe05f329ca67f9098e924da3deb65d51b DIST genpatches-4.16-15.extras.tar.xz 17500 BLAKE2B f4c4d6408999934c03b2d0543b12fc6b227ac994201f9b31872342c63d930d4280bd1f93625c148eefb126f9269fc1fea1872ac4920ba679938c6aec7d916449 SHA512 a32823c41c47b26110da59d63bd6104d8b38ae9ecac43e87ec03ecef726349475e40fe88354a1680bf816a12f6edd0dbfb1a2b2865be0a0716047b12d2cfbded diff --git a/sys-kernel/ck-sources/ck-sources-4.14.51.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.51.ebuild new file mode 100644 index 000000000000..e7424c378e74 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.14.51.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="56" +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)" +} |