summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/Manifest6
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.10.12.ebuild60
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.24.ebuild96
3 files changed, 162 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index e035352c5741..72ff080b9f03 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -9,6 +9,9 @@ DIST genpatches-4.10-10.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb
DIST genpatches-4.10-11.base.tar.xz 251756 SHA256 0fcbd3d296587bb6091bf4c421c141a1b243bb89ef1475a22ce849906232d3bf SHA512 4351e1e97790945725234f97ccddc2c615ba691541d6e30e6990f9ba870d45603bf1eb575be984ad8a82c0f4d96dbea6ca2113b1b28df311382c0b0f3de961bd WHIRLPOOL 4366a215aaa64c529118b38741a43574f04492e660ebe0a8cd742f102d240cd0acef8647f06420da8d354b3ed067aa7c652ea3b514b595c20c81ba9f9c4f1b8c
DIST genpatches-4.10-11.experimental.tar.xz 105416 SHA256 a4c51c0c781eab40091b26435a41407eb46296996e715db898d43c2035c691a2 SHA512 5b8d27d01ff84f98e34bb587962699d77eced9c45b527edf1d74818e8a3d63ce58ed5486fc42eecbf4960483077dc0599daa1edc25c947d82fd1502db35e0db8 WHIRLPOOL 24088d76b0e31345efc547101131cef29e5615bcd6241ebc4f13b62ceebb2f9b07f31bcf3466848feee1c0c14d3daceb078177f3ce3dc17acd3b7d93b6c33200
DIST genpatches-4.10-11.extras.tar.xz 17344 SHA256 0d604227fd07cb97afe7ace9623d1f919f36ec2ea9d97fe8188fa29a54799e2e SHA512 fbf10241585ca9c176e87320eea175d37ce07d7a5c60830c538f81eb11f8e25e015037d8372809c14bb815da106e441bd6e1cc1347231d4b7da8745c679cecc5 WHIRLPOOL c6660b8cfe23532592a9999fb164f266d4cec12fdbeaa24b1a7b208d1643da11d6f59ec999e0e544b30551668634196b6429ccb640c94991b036f0de798a5502
+DIST genpatches-4.10-13.base.tar.xz 273848 SHA256 65d39739b2ad77131fb187c1130df97432a17c6ccc63218d78a0cd6d39825308 SHA512 37a5db0a656f96d17f8629c12eedea879da21a46aeace5a28f43cffb05dcf906840509697b3aed9c3590dc1600be086a3090cef3e246642837f264c14dde75e2 WHIRLPOOL e133f925d17417129851c6f0812aa6bd73d3ddbf936f87a94674b0696dc7dea13669f24ac89dff22fdd02ca3b0e5cf6ab9860c5eb7bc1e9c79abe10e68bd5f87
+DIST genpatches-4.10-13.experimental.tar.xz 105404 SHA256 807ef08cc371cdefb048102e31d0e22bd3826835fe737ac5f04e9a20cbaf00c0 SHA512 91cf40bf8d70c1b4008f829a1459af180ca0531c7bb2950e3da6cfe5e9a0ff61bd7401ab2dae57b952bb18b6319447a0ee34f91bb7de7b0f23fbde9db36dcd91 WHIRLPOOL a3e5020c48a3c32eaa38b57bf38473df337066ef105ae3b87ab9f180339acfa56c85f74a063ec1fc7a80d93ae7c85fd1e5f23aa981b49abe373353960e080f48
+DIST genpatches-4.10-13.extras.tar.xz 17340 SHA256 89ecdd76d177c1d667b803d33f502ae7c211d45f8e7a3e1e444c21c117786902 SHA512 0b48c694fc296d8dd5bd0b7ff59ab5db0c5ff7639f3bb3ac9c06fa6c5fc162af690715696846ac459b91192191034f00220f06563880715b2aa6c02fd454bb10 WHIRLPOOL aa27674ee9989412fe608261a9bcea80745746afd9e5617bbba6bc5aa512cb9b8995b0e781a42a4951c45ad32a51f320396f66edd5d79dff295185de2d46cc1c
DIST genpatches-4.10-4.base.tar.xz 98432 SHA256 52901b9dbba814de20962cd90efcc0036730d349bc3c9d8acccf22338a0913ab SHA512 4e75f8ce8f3a143c50d7d08ca1a7aa3a76a2b6bd38d015b691286d885c514d8f118a66deca61cb85e07bcbe38efed51b1b4bcba3530429aee8c0205398352c32 WHIRLPOOL d425dcec43d29d0041fb1e6e7d1a8391c53806e50ff9cd8f971b4b5e741679bd1b6ef843be0de894987e4a1d909a2c19ffac7839769932eaa7359675765a7b85
DIST genpatches-4.10-4.experimental.tar.xz 104588 SHA256 9d5c178123d311802793bd696fd521eb852a1cb660d14aaf3703b7ea814e433c SHA512 f15e876d306ac7d574071f07971aabe02ffeec91e7349cc3d403180212fcab6e42c207ece65c4929c5768d1bbb1c90002347aee27e85b214f7f631b7fc164cfe WHIRLPOOL d6fb36d95eb17c1d2a07dd41bb65fb9cd13e0c8c793787d4735fd49a756de6b929fc627c4419e34c627bb3d38a5d1931a960c3210915394c222763e70943ff41
DIST genpatches-4.10-4.extras.tar.xz 17348 SHA256 64167f17f122f969476bf68a3e0493a77d7ae9e78087c2748cdfdc6e6186af2a SHA512 dcbdea379a0e28e9b8ed08b32ee71a36ce9ccc817e5b79f38759031e3324441f3e91e6b7e2802d1a694574bb4ce9e8f441d88ccbbd9280b3a4456eadab7d5fec WHIRLPOOL 1d3ba61d03d17a707a65423e85f7f3a235a9d39fb26e4602b5cf663e097dc9e8618380d7a54db60705e6b38e9c0674330df57a6e243c7215411275a489ab8b42
@@ -51,6 +54,9 @@ DIST genpatches-4.9-23.extras.tar.xz 17348 SHA256 b142e0749fc85818dbd9a2b786adb4
DIST genpatches-4.9-24.base.tar.xz 535872 SHA256 b5982f25edcab736a3448d396bce03f5f52c19fcd6f253f9125dee890ccdf4cf SHA512 ea033acf6c63b3da5e15c7889166b1995e494a588fc406c72b70e46172fd9c2cecd1404a00d1f33c776dca2fc70226e4d9dd017fe1c35bce9f44d71433887f1f WHIRLPOOL 98ff1a195d106504fe1319e52dde7a5b3d715afdd2b74a19b509624f3461895b5e09092a644b96b4fc653e0b2b12ec1f2b38c93901bad1c871c026b8ab3dbf5c
DIST genpatches-4.9-24.experimental.tar.xz 106380 SHA256 dd736139a5889ac682f71a4bae021306822757da089baff0e3f8925a4c89694f SHA512 d6578dc11bdbf2a67c2590b748491fe09337f40e4a32be3f5c5e1db8153fa680f1afd156b2ea6d70a4ff99321165bd4886749b9f992a43555a03a49d94f6090c WHIRLPOOL e961cb81f6bbdc88192a23ce397f53bbfa7210e7d132849071d7ce5f2f38829401ddf99ea128f8a7f04853f878912008c164027b5f3e6fac46d69f1d4b47cc79
DIST genpatches-4.9-24.extras.tar.xz 17360 SHA256 7427dd7e31491ffaa51be08bb5517c507018b4e73a9bfbf6a3558f27c670c885 SHA512 2e60a0b5f8a202502fd42f4a2a0b506d0fbe971e934aac979021077df812554725cb16496ae6d45fcf4223019bc6d35bb0d3bf45fd2462384fd5f769ac88c3ed WHIRLPOOL b6af4c3ee7e12f2d1ce37e19a694175ca68f54e79f672ae4a5d563e2a32231f08f224808afcd6223f4f88eb5d71054104ce968c1946a3d941d95a0897e20f504
+DIST genpatches-4.9-25.base.tar.xz 556996 SHA256 4a238c650ade8b832110f046da192a5800010de1df671d2b6d55c1a465eb6329 SHA512 9c04a29cfb293fb34c9f1c9b2d727c62664603af9514cb0e91ca0589a0c7699046f7eebb6ddb58c3e3777f92422ae9bdf4f20386a26139f320faab4dcaa99a82 WHIRLPOOL 2aadfd3a792f82dbd0679ffe8a617a961476a7d275259d30bd2ad2ff99ff629a0ae2539d184718ce0808b603a014394a1ccb7f9ea9be2a9d1f0a36b9fce6566c
+DIST genpatches-4.9-25.experimental.tar.xz 106408 SHA256 f2c2b9077c6ebcf8eef14bf7eea7a8d692709a001c62cc26916849b2304b81bd SHA512 b2be508731e892b831bd72a1a727474d73a74898e9a1acdc316c940fef823ccdba1bbe2c894d826162c47b15bc05756e8b867716014d2b8fbde39a560133aef9 WHIRLPOOL e53db28c191e9419fd80c2b43dc63ee0878f7e5fbeca3ee73ce3eaaffc609d2da2fce2e646a7a3148d996c121336c75874e5e31f95d7224ccb324e2a195afb3b
+DIST genpatches-4.9-25.extras.tar.xz 17340 SHA256 89ecdd76d177c1d667b803d33f502ae7c211d45f8e7a3e1e444c21c117786902 SHA512 0b48c694fc296d8dd5bd0b7ff59ab5db0c5ff7639f3bb3ac9c06fa6c5fc162af690715696846ac459b91192191034f00220f06563880715b2aa6c02fd454bb10 WHIRLPOOL aa27674ee9989412fe608261a9bcea80745746afd9e5617bbba6bc5aa512cb9b8995b0e781a42a4951c45ad32a51f320396f66edd5d79dff295185de2d46cc1c
DIST linux-4.10.tar.xz 94231404 SHA256 3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b SHA512 c3690125a8402df638095bd98a613fcf1a257b81de7611c84711d315cd11e2634ab4636302b3742aedf1e3ba9ce0fea53fe8c7d48e37865d8ee5db3565220d90 WHIRLPOOL 86d021bae2dbfc4ef80c22d9e886bed4fbd9476473a2851d7beaf8ed0c7f7fbc1fa0da230eb9e763eb231b7c164c17b2a73fd336ab233543f57be280d6173738
DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
DIST patch-4.10-ck1.xz 154200 SHA256 1913eeb921bbef3733b53f4004a3013289fa85a26409610bb14fcff3bbd7ef72 SHA512 b998cfe44b5bd89b362fe299ae799cd5caceef5114b954fbf10be0553c21234a949417459f848e75b029a4089760aafe212efadddd8c2d65d054c0d367fc7816 WHIRLPOOL 2056718b1b1e1b8bccfbe5fcafd01d24179fae05653fac3e7553b4dab38789f694a050990e8e99ea38c4f9074ab339640980d433bdd411c0deb84f7bd698ab10
diff --git a/sys-kernel/ck-sources/ck-sources-4.10.12.ebuild b/sys-kernel/ck-sources/ck-sources-4.10.12.ebuild
new file mode 100644
index 000000000000..872946c0e55e
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.10.12.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 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://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="13"
+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}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+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
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.24.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.24.ebuild
new file mode 100644
index 000000000000..0295cbde7aab
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.24.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="25"
+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}"
+
+#-- If Gentoo-Sources don't follow then extra incremental patches are needed -
+
+XTRA_INCP_MIN=""
+XTRA_INCP_MAX=""
+
+#--
+
+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}"
+
+# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x)
+FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc"
+FRZR_FILE="${PN}-4.9-freezer-fix.patch"
+FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}"
+
+#-- Build extra incremental patches list --------------------------------------
+
+LX_INCP_URI=""
+LX_INCP_LIST=""
+if [ -n "${XTRA_INCP_MIN}" ]; then
+ LX_INCP_URL="${KERNEL_BASE_URI}/incr"
+ for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do
+ LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2"
+ LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}"
+ LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}"
+ done
+fi
+
+#-- CK needs sometimes to patch itself... ---------------------------
+
+CK_INCP_URI=""
+CK_INCP_LIST=""
+
+#-- Local patches needed for the ck-patches to apply smoothly -------
+
+PRE_CK_FIX=""
+POST_CK_FIX=""
+
+#--
+
+SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} ${CK_URI} ${FRZR_URI}"
+
+UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}/${CK_FILE} ${CK_INCP_LIST} ${POST_CK_FIX} ${DISTDIR}/${FRZR_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+#-- Starting with 4.8, CK patches include BFQ, so exclude genpatches experimental BFQ patches -
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+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
+}