summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-03-02 15:32:22 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2018-03-02 23:54:40 -0500
commitbc5a4ecc3201667d80c060771e7968cf5f749e3c (patch)
tree1bc23a7eeabe77ed81b8d9ad80de208433897100
parentsys-kernel/ck-sources: genpatches-4.9-88 (diff)
downloadgentoo-bc5a4ecc3201667d80c060771e7968cf5f749e3c.tar.gz
gentoo-bc5a4ecc3201667d80c060771e7968cf5f749e3c.tar.bz2
gentoo-bc5a4ecc3201667d80c060771e7968cf5f749e3c.zip
sys-kernel/ck-sources: genpatches-4.14-28
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.14.23.ebuild67
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 1eb62426ba6b..3fdca40c1d29 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -30,6 +30,9 @@ DIST genpatches-4.14-25.extras.tar.xz 17480 BLAKE2B efcbfd671a8d34546dec1077c6e4
DIST genpatches-4.14-27.base.tar.xz 750844 BLAKE2B d19f2b74590728622f2cb9745bab2fae616cdedac4ac4507335ffe684ea438bf50f2b00ae1e326b818032fc72ebab6e6326d5fa0ed23baaa750ce6b404db8921 SHA512 7fda6679d976afd94e82c8a9cbd7389da976c21821d8ac6c1b98a24697df9e8a26d7f861ebc55a3b56ea996f8022adab9679fda9f81564c122538c34f5e50b4e
DIST genpatches-4.14-27.experimental.tar.xz 5184 BLAKE2B f67c68b74d74ba81499e36cae871656b07fc6c40ca890d2b5edb9137b5672652bc3c5bfdd46f322b64b7863776e76485370b23c8a5b03b8de16730bb9b265a53 SHA512 83b60e68991ee73488f5919d26308615361b95a4dca153d9f1d58e360a7e4370b18c34aaaf572f853fad08aab7636fde67a45c371e37f56abcd5b44c32f62b6a
DIST genpatches-4.14-27.extras.tar.xz 17492 BLAKE2B 4a1d976f56d48c8da2c43cd306506075f226a50caa1730bc77cbbb11f11e9c7446ac471355f236535bf4878ecb9b9f4dbc9f07cb54ba9fb4089faee9d6b87ee2 SHA512 8d209e3ac993fce94ebeca0ec30f81710da0a8a9b657ca936f5d0db05061aaeb95cde4f552fe414edf51be8e28e6bb9af3cb668210a7c335b3f58cee84110470
+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-4.base.tar.xz 87480 BLAKE2B 753bc9a5145ae32f1d4562862449f798ac9c78111819c7c279327039f74142fd0ae6955d559801736b6d2a0b074cae56d53226e5745cb8c85e76b0bd42ea0673 SHA512 8c0d8d864dea85f6730cc8c5bb1bcefefc8ef3ee5254ba62f0d4e90c5787ea6423988f4c303e0e32aa41fc9e5d4fc01103136556daa826a57403522066c3c949
DIST genpatches-4.14-4.experimental.tar.xz 5184 BLAKE2B f1d9938a476a958a5fb42b60589234df5c85211b2ebfe59316dd32036ce2a93fdd405f02976ed8eb9312841a4853bac0baec4df52cfc09278b7cdd1fe76e0718 SHA512 85f3055ce8ee187fc7105bf338dc18fbbf02e9cec27aedec10a6fde4db89dec70e666e63dd24497decfefb4b1f59c74789079614025304df67484d80f81d7ede
DIST genpatches-4.14-4.extras.tar.xz 17488 BLAKE2B ddab5ff81dc6cfe85ce3805846d8d74ce1eb8a2c79b2156e4363fa9592d1a0edec9f9812b9f41bd9ed955ac7030188776a7da5ff4a59408a0d5cf74bf0e629d6 SHA512 7ab148e3db28367ac7d8e56f75e65cafc3b80fd0932018d5ebd1ba1ba1b97521c94e30055fd653803806825bbc8be65e4fff2924907f9144b5ccdb48a53b00c8
diff --git a/sys-kernel/ck-sources/ck-sources-4.14.23.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.23.ebuild
new file mode 100644
index 000000000000..479516074432
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.14.23.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="28"
+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)"
+}