summaryrefslogtreecommitdiff
path: root/sys-kernel/ck-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.15.15.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 838663883cd..fd022d09933 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -33,6 +33,9 @@ DIST genpatches-4.15-15.extras.tar.xz 17492 BLAKE2B ebff9e91c92b4fb48ae355401faf
DIST genpatches-4.15-17.base.tar.xz 386736 BLAKE2B e8aefe3adb6e8c592f73dcf89adb99a0bfd019007f85097d4e92f08685c2d2b423b0940a794ecf15b5c167331b72e5ab6684532ce239874fd00e68d33d4a531e SHA512 1d1915f8eca7c74298d0d5d77a608f0c5ca69eb6d8ea09f9a6ad90155b3d9c4b76bf5a47a9c9b4b3b869adb812fb5d6f97191f0d1efd65455f8ef8f5ac9c11d7
DIST genpatches-4.15-17.experimental.tar.xz 5184 BLAKE2B 6b20cf92325c64327d650e485ab28bad8c3503a014d90ebe76b91044db64f08bd40e92296e72ea7f6377a63a64844d660eed2e289042448689055cc5c34cbe48 SHA512 c6936623609b32b114af11c0cf8bc50280aff42377493783a0f97189b0257e6ed5c5dd71bbbaac298b8da8a97eb7de0fe06891341343471a245f0bf2cc8cdc3b
DIST genpatches-4.15-17.extras.tar.xz 17496 BLAKE2B 2f13f77a9dcd5fa1a1816d71677064fe530a38fc4717f0227fe1cc990ff3e9ab21716d7343b9d61ed842e99921cc286b4649bab5955ac337d4c67acd582d9203 SHA512 0c88b8dd4c3c22a54ea3e3a18a1e9586309e7b3d070234ebc293d13a63ce97b557cfe89d35c04aea7b7e2ec74040064a27818e5cf8253d8dcf453f818934c044
+DIST genpatches-4.15-18.base.tar.xz 398516 BLAKE2B 749dec282d5c797d9b4ccd407f4a2a1c22443f5fc001b92d37aed4bea0cdf54675ecb3f10c6c4cd6d6d07aabcfabc1a39168bad171854466971226a4a52e2340 SHA512 72e06f953342c492b99674a87fe7c5af1dd12e2341b405abc02343e122273c082258b156e40b629aced22d29e9549da702fbb641cdbee708b3675b995b81ebca
+DIST genpatches-4.15-18.experimental.tar.xz 5188 BLAKE2B 6a0dd796f4d6c3d4c33c0a3ba8978cf868df757739955930e2370a666de29caba76e9a5915944a8fcc05f05b4a385ad76720aa9bf2bb3dbe871cf31d92b1fa52 SHA512 e728868a0aefddb91cb81ab41ef1f5e601acf8f7e9a7abb55cabec8b363b44cac4b3a09cae33b2a82de3263da57670be05f9b567b45ad33049f16832461ca69b
+DIST genpatches-4.15-18.extras.tar.xz 17480 BLAKE2B 67f3486eb2540c351421b24d7ea2d257f7c0b8e4c63d1377561c1491fbffc3bdd4cfa131362758fa1666642e0897315bd30bbc5cce86fd51e738062d3297483c SHA512 0d78634c48183a0eff09f1741e6197f06c73cd892fc01bacaef72bc4273a102225da2a33fb584068ddb0a9e8a62fff826a945e7a12f68f186ee17c9ee29cf36f
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.15.ebuild b/sys-kernel/ck-sources/ck-sources-4.15.15.ebuild
new file mode 100644
index 00000000000..d16a67711be
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.15.15.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="18"
+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)"
+}