diff options
author | kuzetsa <kuzetsa@gmail.com> | 2018-04-20 16:21:18 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-04-20 22:31:22 -0400 |
commit | 6f3aa1170511294766082ba12e10426101740773 (patch) | |
tree | 30e661c84fe51bbf022614a00c198dc9ee74a6db /sys-kernel/ck-sources | |
parent | sys-kernel/ck-sources: genpatches-4.14-40 (diff) | |
download | gentoo-6f3aa1170511294766082ba12e10426101740773.tar.gz gentoo-6f3aa1170511294766082ba12e10426101740773.tar.bz2 gentoo-6f3aa1170511294766082ba12e10426101740773.zip |
sys-kernel/ck-sources: genpatches-4.15-21
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r-- | sys-kernel/ck-sources/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-4.15.18.ebuild | 62 |
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index aba45a06096b..44278be1eecb 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -45,6 +45,9 @@ DIST genpatches-4.15-18.extras.tar.xz 17480 BLAKE2B 67f3486eb2540c351421b24d7ea2 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 +DIST genpatches-4.15-21.base.tar.xz 479732 BLAKE2B 3d2b40d4ed60e68712a498b184ff58cb72a7902b75ecd35efc98f2a6455dc902b1c02d459837e7ca17465ceeae380e20ed12cfe50f1bcc4a884eef0d80e05360 SHA512 e92ad5ee6cfc8d7a57eba044ae6bd86344a0e8eca11c89d0de9fbe3410b0d7582c38d48281ae8d0c17992b151cb35a9916835a6963402732449e150ff5e471d6 +DIST genpatches-4.15-21.experimental.tar.xz 5184 BLAKE2B 4c1bdbd651ea3c20d44194e0bcc5ab3dce499182ce31a8436ec46875cde2d4b14a0cc5f0eb90cef0aaea167b49a25775be24b38a2b2bfa606a415627f87d96fc SHA512 05a8084dff8f08f9ba84b90230b4bf50a521ba1e0dfe792f30a3f775772f2097e43927c6c5878ba19bd97fed66036c5b29309a0b1a5e914ec895281440be8c8d +DIST genpatches-4.15-21.extras.tar.xz 17496 BLAKE2B 2240a8879139d6ad765a9e38d0ef78c78ac9e92f54c5317912b512ab1a64fd42fd512696f1820718a1fbfa658c8775bbae358db483ded60e65d504f4a81aa4e0 SHA512 e6070bd5631bb41e1e0e73c9381993779cc6095525a6eab5d8387641e1fce534617d368bd6a02c5f5d8d2669db6f480d284a64c8f76fc218e29df5a34937e1dc 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.15.18.ebuild b/sys-kernel/ck-sources/ck-sources-4.15.18.ebuild new file mode 100644 index 000000000000..d0e979383cf6 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.15.18.ebuild @@ -0,0 +1,62 @@ +# 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="21" +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}" + +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)" +} |