summaryrefslogtreecommitdiff
path: root/sys-kernel/rt-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/rt-sources')
-rw-r--r--sys-kernel/rt-sources/Manifest18
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.14.184_p84.ebuild54
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.19.127_p54.ebuild54
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.4.225_p198.ebuild54
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild54
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.4.44_p27.ebuild54
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.6.17_p10.ebuild54
7 files changed, 342 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index d9794dda1263..cc3b2ab783af 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -19,20 +19,38 @@ DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6
DIST linux-5.6.tar.xz 111785252 BLAKE2B 8dbe02a8ca7fd3dcf512a15c5d8098c1e7f94257e65173fed43fcc45480e4ab790df8cd39bbbb4e2a21dc9a00385bc9bbe98215a31e7f7e1d9c8f21cd8ace69e SHA512 80846fe2b4e4a7ff471d2dde28a8216ae807a3209f959e93d39ea4fc9a189ea28ec3db9d303b3fe15a28c2cb90e7446876678e93e23353c2d6f262e364a06bc9
DIST patch-4.14.170-rt75.patch.xz 238888 BLAKE2B 27e54322cfe60eb767f44e474ac5c086b83b0e46c18ce3ccca1c9e36b244f445e7fa84f529d6003c7b9759cb5620cc5b1648b981f595fc03db8b71a9406beed2 SHA512 ca848706b40437e6621efe29c2fc7791be2739165943da9590db174fe43762d7c554f152c43462bdfc20d013930e90b4fd4771e532f29f74c11ba3fff8762f28
DIST patch-4.14.170.xz 3425092 BLAKE2B b92970169dda467dc8b491fdc8a2c07f11d94a69f7bf016cec5f25cc1d5ddfc2032e9cb9f6ad76a685fe98e2a75a599e0fb3d931cbb27014f5239fe4ac341a7f SHA512 344d0cf4868ce48bf3fa5076c3ca82b090fd191ae657a490f20022b69be3bef0ca7065f12a9322cb785a5ab8bda60a3b00edd350e517516fcdc83ae1b311fc15
+DIST patch-4.14.184-rt84.patch.xz 239252 BLAKE2B c16ba6d65256df11db60a4fca7f4d1e0dd06de991af43baee60e92dfd06ea7f475e9af3e4f5dffe4023ee7dc788a676f44d541d45f59aeccc65dd85292e823e5 SHA512 528d0cb614d8c9a304b695e1e82483fae0b1d50c98f139e3be9b3a120ccb15b1c2c09bdf87abbd94f5bbc0be67200293b7a2a33e5d30c0624c2d7fc1d9476e27
+DIST patch-4.14.184.xz 3677908 BLAKE2B 4565b2bcb190b94535e2fa2edfd09f1565e0805d145ea21359a10dc4cfc0f1d205f1bf46fde4c591ea3122112e228ec53f41363e5c15b2432207b31be2ae6dec SHA512 7798c72c22d72fdf6819452fd2d0cff098f34870235efdf88cd9b6e64227f34120bbe98212e068ec2f639b6c33c0a07a68d389a09915eadd48f2e02d969861e0
DIST patch-4.19.124-rt53.patch.xz 167116 BLAKE2B cae0de6ce1f5737c4cd732974718aa6e1cc3693a41a5422887f30d33e65e0d4d4420550200b07f447e11de86bfb8f9b515864ef6b03ab7f60f49037921b58dd5 SHA512 35a69ca535a33cd8846a90943a27596efcc5a343527ff1b62cb74a6bffaba6886eb0fa30170a0163eeebe2934d78d9b65d2692433d0c9c5938777f40545771e5
DIST patch-4.19.124.xz 3067304 BLAKE2B 55767a7c8c2e98e24245c28f759f2cf91e40a845826599f185c83c7cbfa3b58f62deaa7b34b3fdc2ddaadf6314db4c36e7e4af4ee39e720aa1b00cc974016254 SHA512 b28b5bdad2073cf2923d6b54dc2acbae8fe4740677fd758963c8005068711edd0dce37d3e88eb6402111949d97cc0d778c4f5389ae5a9c21462a48c2626039ba
+DIST patch-4.19.127-rt54.patch.xz 167084 BLAKE2B 96aa3f49bef2c45e0dd215ace34fac396da6d96bb82f7cf7cfd6253950a46a60657f119fd85fcc00887cacf9bfb36b4aa8db1b2c709dd4a7bde65f680a857c20 SHA512 3d4073417a2d9c67be27b45804c25451239015da5ead86f746f527b990efc3e06f3a653e92c4971cd353292d83623d47989b58d2c18fff76e03c18f8d057fb7f
+DIST patch-4.19.127.xz 3099692 BLAKE2B 3e619371c980ca8a053260921b4b9cd27b78e920ee83fc0842af4f84b73ef4870c2c9d3375dc79d1ee3fef12ab018754f197c21c7bd9db1959984c10253d6db3 SHA512 4219b0d9660f1c0d158974f4d5551ee535525e1247fd6e2777f4ae9d0c5115672dbb5a38a4be395ea551574f9c2c096673210229b31e81446b762ff46f8bdb1e
DIST patch-4.4.220-rt197.patch.xz 195660 BLAKE2B 8389f2f9a44dc0958b3c539e43206c0516bec15054f3454680ca2bbb74f87318874f8b62386f5d8f5a4c772bbda00e007918fc42132588790297c1a289475bf4 SHA512 2cf124142290330cb2d533fe23ce5d19c164ce01d8ccd2d62900f58229096aa059c66223163930f1522b5ed2bf6aa197b27f2877dd4dffc152369b9755906891
DIST patch-4.4.220.xz 3087092 BLAKE2B b54eb20b694f044be27a3b6f49597c24d85c917709124c0407118342802c209e4a72ac9181df4f9bb0ff558a465deaf1ec5f4d646a9c6fb6545c2201488f7638 SHA512 63ae7556b3d4c1eebfd1f8f316493ffb4d0dd600208877336830e0b88d513306c34d5047cd302810183b10742a311e340c24cd80af9f60deedba505afc4d62ea
+DIST patch-4.4.225-rt198.patch.xz 195516 BLAKE2B 758edb3537be07f105dd1327ff859706aa4b9a9eaa472f369696c37248b123ba75132bbdbdd36eedcf43215d33ebf7004da7cffe5d5ce636a8147ac99f6b9efc SHA512 b94aacd9dceb2cc836d25ce60de9ce149a5066c3f3d50b1c3b6c1584f0d3e7ca935116d665a064adeaec11ceda6bd1b15e4a9c20db40a4b0334e3d9325f66f0f
+DIST patch-4.4.225.xz 3180784 BLAKE2B 10a5d1e65b267f9dfa10c97ee873b128647150f3092de3442f363b500f120d87e3318e4db7c74358ab2da5dcec4f1cf8ca084aa7b239b3c064b09c2515931bd5 SHA512 f94665e755f0a79b97a4d77fa712be97d0af040cf90805e372664f9393138b0f6cd3f5cd7180e4c095fb6cc498fbc7a9358e4f9d1490f99575ad82a6cbe043f1
DIST patch-4.9.224-rt144.patch.xz 175820 BLAKE2B 66e601ebfa393644671c181c8131bdb09f48ce20c50b9ca8026661cfce263e325cefff6d3cc3bc9aa35bfeb0ba0a354f2e7fe2acc6e3dced3434f387981ca1d7 SHA512 104397378ede87f1c3cee0a08a4d9e75e3571c0b7d5872f602d10e9c47d9ff943e914e411980abcef585bf762b842ee4872e7d0629c2a5e473b6dcce453dbafe
DIST patch-4.9.224.xz 3465868 BLAKE2B a13ab60afeba8ec9a4f797d67e505cf453b7590f617b695b416896e8eca85d083b2e718941fda882246acf7489c2f0f4f765139baedc7efd8382a5b311d52798 SHA512 df45c6c77e0d688cc5d101f98e8dc0a52383dc482d9f5d8a8970b6c7de355216cfdb62a796071ec47cef6559f1f00f839ea627c3dca36058254f3a5b335104e7
+DIST patch-4.9.227-rt146.patch.xz 175816 BLAKE2B cd66e317e38d7f789863c21d080fed56bfd20a493900b0010e2b4b6db80f72348ca6ea999769da6dcae2d0feb3d81ef03c20f724584795692cad4a27700449fd SHA512 2a8431dde8eabd7f2be691abc6587e7f7e2dd37d0a98edfee5fc0efb2c33ec7979f282e341fb911ff4efe7bb3a98a831a1d37562e4b699043386639083686cf4
+DIST patch-4.9.227.xz 3492828 BLAKE2B e0fa15b45539458a503aa27d6a24d372d975712561691c3f42f30e525565ba479cc09c2cb52247f3f075e807197e3bdc1422245eaf699a793eeb5050c1b59d03 SHA512 f98c178cd6b8e17c1fc4725934978482bd528dd2ae867696d0e48aa7191a3b53a6d9da7c24b32aa130e84bfab5d600140c503186e9bdab77621ae48fb53490d2
DIST patch-5.4.40-rt24.patch.xz 182360 BLAKE2B a122674247ad8ea4ebacb97dc870bfce04f637ce9b96d656f45508d6b3397b6dbdd2dc7116ba7cd57cae08c824b7d2576e502bb8b66fa2f42facef62cd46f11e SHA512 852e6df5862b09c3c4f3e34e6bac01577c813dc646fdbbddbf2712af74b102c42e7455411b2a63927eb98bda5bf5ad2c478f2240a329b25b326d397c54d3ccd0
DIST patch-5.4.40.xz 1309032 BLAKE2B cb06b3177762c5401801e71cd089f6f40f2582dff9b00618f3647152d70813bff0c5a7c6cd9bfdccd5ca5ecc7be3f57aafbd7d5bfc7e0fdde27dade1e189bb36 SHA512 20c19808a7e2af62ea93a4ae187db5e80078da8c4b268424c8d6f945a98eeb0ce7b1f09086813fbd9a9220ff5f062c1fcb8292abedfdc7f9d23a2d804898cd16
+DIST patch-5.4.44-rt27.patch.xz 182448 BLAKE2B 8fa6baba31b76bda72d8f00e6cbff24a1258eb8c6d4681343745b2ae67e367c02cb629e3070f7896a32d6ae702888b0109e08c92389fe47582d722a07004ee92 SHA512 f03cddd9d3db5a3ef506c46251bf4eea4a074909bbe8fd6da7125724ddccada4731ed2d25535598e22f296eeef21cdb77a9e135887bd025ec9b20085dedbb557
+DIST patch-5.4.44.xz 1412464 BLAKE2B c7c0c189030402303992b130596f716c0afa7305a45996112971000d0de4d7945c9e988e0e7503d69cd4aff2ac3c003d330839ab1f3ed0a53fc7fa68c2e3da44 SHA512 1179f0c61d99ab136cc81bfed153e18a88cf4438f6be524b54d5f4ea76030e059c65e52d532cafe4eb7b1671c04583f6bf8f9114a3da969cd102a78a3530fd3f
DIST patch-5.6.14-rt7.patch.xz 158640 BLAKE2B 81e0a0c4b4feea3abd60efe89c7ae4be7dd8ba45999f514f63a9a6179c2c31acaf15911b0815c6f87aa7e3c36836fbb3cc065405c8be31134f3b2b144be48d72 SHA512 4d3604fa482bf6ae4d06ae97e85d10fd9248d174927713a2f010698137638a2d070ecf3e71cdea6529c67aad3fbfee8532adc2f3d810a4a7d6819e9ea19ae7af
DIST patch-5.6.14.xz 376464 BLAKE2B 01b64288759faa67aedfded7dfca5d8d1e894a863bf7bcaf91dd8f23c8b8c9df51d2e54ac5e414a33fc3469b32c10f1d630cf2636206b8e159d602df40ad3048 SHA512 8019bf12993f43d5508845a48b250d30220a8db6db262c8b97cd3f7c73abf0d054fcdfacb671644de529ceb495b95982d693a889051fb60fafc3180bd5b4f29e
+DIST patch-5.6.17-rt10.patch.xz 169292 BLAKE2B 3d4f591247d924d2cf89adc04846dc7cf8d9f58938fe7716560f97bfcc3e9c4c82f06cf1eacb8c95ef65d6f5ef624f969f849f9f3367beb9b95fb13eea3fd50b SHA512 5d5c7ff8da7a06aba70de38a03cfd25a4f3913c79d6723fd44a88fd7a5e9478a925587fda278b8552d14868c1c9c460105eb96fd2d80c3ce2043309e9cdedbad
+DIST patch-5.6.17.xz 466208 BLAKE2B 53d4753419b6500625da870212a164f535f5b41135005f87fb0c335430dbd6512a24fff3ff6071167893bed7a46c74a101031c26612821f4b9bf317eccec2fb9 SHA512 be922570e079a5bab8d23b504050afccca9e94b149e1460c49b78054735afe2469b5b49d056120eee5d774fff90059772ac105f7fa476d052d9cb18f81688846
EBUILD rt-sources-4.14.170_p75.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
+EBUILD rt-sources-4.14.184_p84.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
EBUILD rt-sources-4.19.124_p53.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
+EBUILD rt-sources-4.19.127_p54.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
EBUILD rt-sources-4.4.220_p197.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
+EBUILD rt-sources-4.4.225_p198.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
EBUILD rt-sources-4.9.224_p144.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
+EBUILD rt-sources-4.9.227_p146.ebuild 1469 BLAKE2B 7ddbf85e96ce82b215b9ad42f157a87cebbb773d829e5871fc473548d56d8abec35a819f1b3a0ca24ec05152d490ae60b8e7c5996ee6e2bd3805f87a418871f2 SHA512 b728ce92752479f646a52fd4e090e78c8b0fe3a40a6908d7f57077be945684c2a27d34728e17372132fb836ae3151674a4b6c9970ff54e801863ec328cc4c7c3
EBUILD rt-sources-5.4.40_p24.ebuild 1464 BLAKE2B 066cd79f0f379f0ac140e15f8d59275dde5600dfd70901d6f355a2fcf872736f643d423355f218106c8807b99526306cc71cac0b5d7a1d109619c1365fde45a5 SHA512 e85ecfeb4a4639f76f940c9da43f88ac6c83ad02f85e55aa062c325926a29cd8e57b398372e18160d3b2205547c1a14eec2fc6b2073523e45e2798555e0b3ee0
+EBUILD rt-sources-5.4.44_p27.ebuild 1464 BLAKE2B 066cd79f0f379f0ac140e15f8d59275dde5600dfd70901d6f355a2fcf872736f643d423355f218106c8807b99526306cc71cac0b5d7a1d109619c1365fde45a5 SHA512 e85ecfeb4a4639f76f940c9da43f88ac6c83ad02f85e55aa062c325926a29cd8e57b398372e18160d3b2205547c1a14eec2fc6b2073523e45e2798555e0b3ee0
EBUILD rt-sources-5.6.14_p7.ebuild 1464 BLAKE2B 066cd79f0f379f0ac140e15f8d59275dde5600dfd70901d6f355a2fcf872736f643d423355f218106c8807b99526306cc71cac0b5d7a1d109619c1365fde45a5 SHA512 e85ecfeb4a4639f76f940c9da43f88ac6c83ad02f85e55aa062c325926a29cd8e57b398372e18160d3b2205547c1a14eec2fc6b2073523e45e2798555e0b3ee0
+EBUILD rt-sources-5.6.17_p10.ebuild 1464 BLAKE2B 066cd79f0f379f0ac140e15f8d59275dde5600dfd70901d6f355a2fcf872736f643d423355f218106c8807b99526306cc71cac0b5d7a1d109619c1365fde45a5 SHA512 e85ecfeb4a4639f76f940c9da43f88ac6c83ad02f85e55aa062c325926a29cd8e57b398372e18160d3b2205547c1a14eec2fc6b2073523e45e2798555e0b3ee0
MISC metadata.xml 425 BLAKE2B 4550a69c8caa253029b71eeb5d7c408e986250ffa876b84bb427bf1f14b800ff7f090f03be3b064af231b94bdde92591bb9fcea64ff2f3f92e3d68462bb0ec6a SHA512 697c4045761fb0e516cb64e97a817f6b8b36a86d0cf982eb0df746011837163bf8810b85241580cbe7bf98202a4dd2e69142422904488961512edb2343fe2536
diff --git a/sys-kernel/rt-sources/rt-sources-4.14.184_p84.ebuild b/sys-kernel/rt-sources/rt-sources-4.14.184_p84.ebuild
new file mode 100644
index 000000000000..8cec2aef7c8f
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.14.184_p84.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-4.19.127_p54.ebuild b/sys-kernel/rt-sources/rt-sources-4.19.127_p54.ebuild
new file mode 100644
index 000000000000..8cec2aef7c8f
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.19.127_p54.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-4.4.225_p198.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.225_p198.ebuild
new file mode 100644
index 000000000000..8cec2aef7c8f
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.4.225_p198.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild
new file mode 100644
index 000000000000..8cec2aef7c8f
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.44_p27.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.44_p27.ebuild
new file mode 100644
index 000000000000..12c5881dd444
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.44_p27.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-5.6.17_p10.ebuild b/sys-kernel/rt-sources/rt-sources-5.6.17_p10.ebuild
new file mode 100644
index 000000000000..12c5881dd444
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.6.17_p10.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."