summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuzetsa <kuzetsa@gmail.com>2018-04-12 23:05:37 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2018-04-13 02:05:56 -0400
commit361bce8232f4b0547ba2a24bb5d243244c0a2ed2 (patch)
tree86bef9a1f9b3f52db4d06eb2fc74255eb677203c /sys-kernel
parentsys-kernel/ck-sources: genpatches-4.9-96 (diff)
downloadgentoo-361bce8232f4b0547ba2a24bb5d243244c0a2ed2.tar.gz
gentoo-361bce8232f4b0547ba2a24bb5d243244c0a2ed2.tar.bz2
gentoo-361bce8232f4b0547ba2a24bb5d243244c0a2ed2.zip
sys-kernel/ck-sources: genpatches-4.14-39
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/Manifest3
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.14.34.ebuild67
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index aaeb9570feff..d9080b3b283d 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -24,6 +24,9 @@ DIST genpatches-4.14-36.extras.tar.xz 17492 BLAKE2B 585593b652ce04707ded634190d5
DIST genpatches-4.14-37.base.tar.xz 946124 BLAKE2B 92d0dbc05b70d4b1fdf0418b02626bb8ed756dff8945a173c9471e3390c06c0a1130306589ceb847895d801a146f38a6d45a6adac08f04c4e8d5f083829e93a6 SHA512 d8cc75aea82c4901fee990cb1d174b32b1b424b9a3dfafeb9ab06cd5f2acf0a74b4d5ac69751cf701874f0418f4b1a7de8a4f1595189746953e35aa2df9d2fb9
DIST genpatches-4.14-37.experimental.tar.xz 5184 BLAKE2B ac2a110cce98d65bcfb074b3f89ef697d0bea06da5541d9c469f8d3ccb23c1923747da170fd1b4ca3658f0182bddef1e1a7c69b664522d043f38a0bbce348146 SHA512 802ca0594a46f0f5719a847eb89cd843e8ffccb076fef730d4c95afb7bb8795317f1a0da907ef82f575659b9742d920aa3e24a0953006e3a12770e53fcb34140
DIST genpatches-4.14-37.extras.tar.xz 17508 BLAKE2B 8b594c88abd0c67b5904a121ecf047ce5682467b5d9ef1af52f896ca0d772243839193409670fbf2bbae4addf78bc2a7b6918306be23ad10a7396f91dceccd4b SHA512 bf246961a70b2209403a8b2e4ae931c970ac5725e173cf146de5a9f0fda5927d808cdaebdab0ded058719a517cbffb6f8d2963a2f88c5bb2abde410f0a01c71f
+DIST genpatches-4.14-39.base.tar.xz 998224 BLAKE2B 5f67053742e09ccf3b962d252054d0f1f0540630c4105203ef06b2f5c01320ae5c888196aa95156be09f89809b9e2767b9c281ada7891ff5427bc19a25c3020c SHA512 138a564d677b0562bb92bab1590fd0fc8de8a8dcee3ae5f3faf8c389d46084956b3831af85592ecc65d352f3055f8e7655882ea2f10b72d8ddc9b01d3e5d9ec7
+DIST genpatches-4.14-39.experimental.tar.xz 5184 BLAKE2B 96ab38624869b7ca2caddceea1be6701c6a9df489dda0be4736765a6546909d522f5b32a44506875270485606797357bf44e044ed61ee40f6171670a5956bdbb SHA512 673083672ca1758f0b3dcc4507bd18c3ea1c024c86f1f8e0bcafe6117f33e226ad981fa123f1b3317858b93f5a17b5f56924e5e5eefb6c0980fc8572626010da
+DIST genpatches-4.14-39.extras.tar.xz 17492 BLAKE2B a610729f55d64e3ef6dee6129879f5ae27f31bb2738b0d8d3270f3502eaa19024323a741f0ac3325ba72342ae9e3c7fc9b4dbd56f8763a4be29e825d98a17b18 SHA512 304fa9e1f83f5b8e2fe10905799badc8bd8e9ac981fd59b3568f9d9d208dc671ec4dc1b88163351322d047596db4d2c8f9a261dbefa3351cf25f321b84beca9e
DIST genpatches-4.15-12.base.tar.xz 251412 BLAKE2B c6534458a28c9df29b7cb9e3392000f49d529b2d223c8aee353b8e5e961886c97acb80993e30671ae2359a7f1ae6fb37ca1320571cad55b7cae562a03ae49f61 SHA512 f98e32b0b84b3499227a3ddca06398a1bad277e68b721b70a3cfdbbe9449c259a9e8ebc63e5463e65b5e5accbc6b3935bcc78840e26567a4c12e29a19dc8e422
DIST genpatches-4.15-12.experimental.tar.xz 5184 BLAKE2B 4a44f3d3fef089140e6420c26d1c4102d518ce615abc30afb8127ede4328c276e3380502c2b28d5f452d8c7881130f0d2d7b04f0f81ce44f02db7b280493a12c SHA512 ddf304f14c9c714c32423b349c8740bd0785c5893ea7cfcf89895f0b76214693dff142c7fa5c40df09f55696b845210e3be8bda4fbf7deacff1718a83f83047a
DIST genpatches-4.15-12.extras.tar.xz 17484 BLAKE2B 919091a255d5ec058e52c151caad2afe470b401a9ab5269946a2309ddee3a2b5068df8483807ee310832c690bb561700363a2b1c0294a4e15ca03dff36061890 SHA512 3a426bf63ffe786984cc8b9c296b0393fcaa9881c65d4220cadb331fe445fc05418a629cd5494f0a1419215d4512679d9619c8a92f4a10b2ad8087fa44292ffb
diff --git a/sys-kernel/ck-sources/ck-sources-4.14.34.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.34.ebuild
new file mode 100644
index 000000000000..f760978c8da1
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.14.34.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="39"
+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)"
+}