diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-08-31 21:01:43 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-08-31 21:01:43 +0000 |
commit | 1d24ba8c3da00ccd495ccda956f2b5d9018f7d5b (patch) | |
tree | 913e74c5dfcff4b5da051dd64982adfeaac11a3f | |
parent | 2022-08-31 20:47:02 UTC (diff) | |
parent | dev-libs/intel-vc-intrinsics: switch to LLVM13 (diff) | |
download | gentoo-1d24ba8c3da00ccd495ccda956f2b5d9018f7d5b.tar.gz gentoo-1d24ba8c3da00ccd495ccda956f2b5d9018f7d5b.tar.bz2 gentoo-1d24ba8c3da00ccd495ccda956f2b5d9018f7d5b.zip |
Merge updates from master
18 files changed, 1299 insertions, 7 deletions
diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r3.ebuild index ee21972955d5..e3f9c9c18b3c 100644 --- a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild +++ b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r3.ebuild @@ -1,14 +1,15 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit elisp-common DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)" -HOMEPAGE="http://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html +HOMEPAGE="https://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html https://www.gnu.org/software/emacs/casting-spels-emacs/" SRC_URI="https://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip" +S="${WORKDIR}/${PN}" LICENSE="GPL-2+ FDL-1.2" SLOT="0" @@ -17,8 +18,6 @@ KEYWORDS="amd64 ~riscv x86" RDEPEND=">=app-editors/emacs-23.1:*" DEPEND="app-arch/unzip" -S="${WORKDIR}/${PN}" - src_prepare() { sed -i 's/\r$//' *.txt html/*.html {lisp,test}/*.el || die # needs cl extensions diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r2.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r3.ebuild index 4309f35c38df..120d3968bcd9 100644 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r2.ebuild +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r3.ebuild @@ -4,7 +4,7 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="14" +LLVM_MAX_SLOT="13" MY_PN="${PN/intel-/}" MY_P="${MY_PN}-${PV}" PYTHON_COMPAT=( python3_{8..11} ) diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r1.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r2.ebuild index 4309f35c38df..120d3968bcd9 100644 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r1.ebuild +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="14" +LLVM_MAX_SLOT="13" MY_PN="${PN/intel-/}" MY_P="${MY_PN}-${PV}" PYTHON_COMPAT=( python3_{8..11} ) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index ce7b4373731a..14e156700611 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,21 +1,35 @@ DIST genpatches-5.10-147.base.tar.xz 4073808 BLAKE2B 0e1214facddef3b26bab742ca4164773162e6954996bb8e5137707c6728e0deacd4bd2679f276edc0cd03669a0d03a5c7744918efa1189877e38608dc393d065 SHA512 84f5bc607c10a08a03c8afe8617719827588b49ff9ca6401fd128806ec91fd6d07cfff6ca313f5a49e9a1b37b9aba2aff9bd0f597d65bb7c36236e148a04b397 DIST genpatches-5.10-147.extras.tar.xz 3868 BLAKE2B 1f12eea29cda808c434364d0f60ae931819a53d20bf632a12f140c47a001387987688eef1a90a31227a6ccfc217c5db3839d06527a7bcc1877d30c98dc47e21d SHA512 492274da82c010f4d7f33dcf623789a9be51ee711d19076657b091b1e91ed70ff6010aba5e7778c9769eaef28216baa01d3f373fb76c595db38b4763ff182740 +DIST genpatches-5.10-149.base.tar.xz 4094572 BLAKE2B 45a25b910fc88f030d97ef5870925df3bfb05d50bf95cb3cfdc4d98ed24c006ae026b88b29ec5db4087671c0a440a4c47132272e6ae965b1c336fa1c567dddbd SHA512 4898ea729def7fbbb14f04a578405a4e96e03e425de696db4d2bc86cfa6942c063f8c8cc79801f85ac38edbb5f0f5851073418bf5df32784ec7efd242318dd97 +DIST genpatches-5.10-149.extras.tar.xz 3868 BLAKE2B 2667cf3c9d447c855b6b6cea4b9100a300077fe74eae84b69fa0a6ee861c787e44e96518bceb93f1c2be83fd8f04251ebfca673dcd9da4ebf2ab98041a3dee4f SHA512 73bda9933661f78482eaa048c1467d1f3acbef606676547d1ef3c64c5ff95475d6d40153a47f247868a2cbf697e5a4d21d58b57b3be6763ef3de869c31b5ede6 DIST genpatches-5.15-67.base.tar.xz 2856328 BLAKE2B a92c3afb5e0a6605587744c68b3bec4c63848e0c09469d99080258d97d3e96a0adae175600d7dbb00e566f4383ab00c6981585acf343111218aa21e503901f7d SHA512 3d100c04ce9e440177ff2156b8ce0c0443414963a47fc1c51a86a08cce998ad0b6289e70455ecd2965009226036486c1b6ee3768b1782aaad976cd144f9b48cb DIST genpatches-5.15-67.extras.tar.xz 3936 BLAKE2B 168a92a9db40e6014864a96aff71fb87b351d7127c5eedc8e062e753ae65d7ebc628e9b0eded328f17e88562592d80522ccdd31a549c8104aee51e2833f81134 SHA512 0f2bdfa87ec2a610870089c903b301dc86dac52f4969386074a439be90674c4835800cf9250d8844b1ec3df88cc8dc0b31e4582ea309b7c817066a1341c692b2 +DIST genpatches-5.15-68.base.tar.xz 2897744 BLAKE2B e1aebd74737e787df999aabb0153b7aab4b5df05d049e9a6260a3bacf8e827b4f767fe6fe8d07bea71a0e5ee7655d864da67736c17756ec1119a66fc58a4b82a SHA512 79996709882f76cae25639f273f2829d5ae671714f699008d7fbed68595e7cdd93e9d79c801e9f1eaf6ea89fbfe9df3302773e6f728f8cb5de4bd69b36fea65d +DIST genpatches-5.15-68.extras.tar.xz 3932 BLAKE2B 34fd77b8464322ad369de5b86dd8dc83ce7510bca139d4e6036b0b2ab34d1c80698b5f965e44a09dd25ee3b4d80abbccc5920e7984803be2451281c74ff735ea SHA512 970a1e5a03f786d05bb1ae9217a467442f16344fffcf2c77a2572c6db656b0fcd5b3329eae193999c47bbb45c8b02f0fd9010760ef74a6aacc474729f0ee9369 DIST genpatches-5.18-23.base.tar.xz 1206204 BLAKE2B 12a7b9aa7d72f27e64c4cb8f5607529dcc7d535a9375768e065d97d0b70b0726271b70dfa4ea019bb42606ddfd513b70357b2bd5ad95548c9eba9f91041f27b0 SHA512 9a459e3e8cb4a3285f782516fbc176a4a73c151281bea2258f049ec0662b806eefc54cb6e9151cc968e3a9c39789062c207d514920559954db9a10b53a1c2f0e DIST genpatches-5.18-23.extras.tar.xz 3924 BLAKE2B fad401fd783c72bd695425a106813ce8396c6d15154fc627fb456b16f6ddff1f6326f54e1399c1369b6da5e3f57da89bc9e769bcbb5d4b612465fe187145ea17 SHA512 c25a09e1e2ad091e5f8480419e921e8eede512dcc6aeb46792a92844948eea5890c5ae8d164ae9834356e00216d3978cefe5f07b046cbaa30dfd4af73a1ddaa3 DIST genpatches-5.19-6.base.tar.xz 595780 BLAKE2B 87db7f493d421ed3f0991278f16aeb984485ef5f5ef390d18cc37b27e2dec27704c1575e5ef0a475da6a5e87d68a119899d4a827c81a368c255d45887ea8a681 SHA512 2af94e970216f5297ad791496d6245fab8a0c037d5dd57161f2428dcc9c742414f0073c35be515bf6714a4962f7cc13a023e590e15902c6d68921e93a8bfeec3 DIST genpatches-5.19-6.extras.tar.xz 3772 BLAKE2B 48f01ce8b863f73dd12e06d51e9716e6b5ca6694ed0612aabfd51e6a05a4289cdccddc6061c84a5c0c32878f6b030343e31bc29dc77161226b70d1b09448337b SHA512 550123defebfd2a2d0651840cdf6ce5b47f7b79c874fd97c766e758c72f7412053f682f1d3187788ed15a59b73e09356937329d1ca49b90fa0565cf25dec44d2 +DIST genpatches-5.19-8.base.tar.xz 643396 BLAKE2B c383c7efc908fa3e8ebdfb750d92df6adfa1e0d00f253eae40fb5db5b84f8848a5c1a4fdcda693da998b1ba9d1afb1019cbc2574ceff2b099d2125ead515efc3 SHA512 ebd5eaaefbd362d85fa8cb95b0ca4192bf7a0835ec58ea25def13e502f87f74bcc29219083f39b85462b262f526f771270b5a8d93ff49126e1653d948a9ccb9d +DIST genpatches-5.19-8.extras.tar.xz 3808 BLAKE2B 8cad0dd5deaca8f8b379c96cfad02add0cfe7498f17e84d11e6b809e366ae0476734bd003b287456459febe2ff4c1fa7b3e54c47243cd571a34ffb1cd927a1ea SHA512 a183d09ba7b1fc3f89b7754709df8d093ba70b09f71e237844214d65bc5821b6328c436c7ef697c30bfd38fc833bd178497190a2e73914a03ec0dfa4cbcdf7f2 DIST genpatches-5.4-216.base.tar.xz 5015752 BLAKE2B fd736588b9cbf9ba0a48ad838a17eda669e56d9d0ec4dd903f5bcd31ffa2c428d14ebc7bc35a709b3da7bf7f22403c5b01a9314dda60ef955d7674af836e2481 SHA512 62cd9deb29f863babbc9dc5116e5c5bcb34c0f29325276da80fc9b040004ba9fcfcde380779bf8ea8039f3098da88c59e7fdcd2d0f6d6aa5034df59ac9b55914 DIST genpatches-5.4-216.extras.tar.xz 1812 BLAKE2B 7dfc1025fc395883debc819c3fd5840c423d8b3f1973104906545086d35a966551fec967da9ec976257e231c4270c7b091e7641353f89c254c974b848607e5fa SHA512 aaa70a72cfe0989f5ebf2e3f57cf55c6faec4e2c605fef7ecfd425c47574765fc0a2ad5a7b9fcfe33dd70060b52d4dcd44d2849fa0fe203612c0ebacd2b171a6 DIST gentoo-kernel-5.10.138-1.amd64.xpak 67522997 BLAKE2B 16679700f076e28ace346487f411c653cab4e11b391a32982b8165239121430335acfeb089f40a16261999ab36147fe259025edd063935ae9c036d38130e705a SHA512 3f967bbb188cb178301d22573e73a9791d569caf5f5452a518ab639d83dca5e8992eabf2756513aa92075b70992c7de92b0de773dc674f26387b57160d386b38 DIST gentoo-kernel-5.10.138-1.arm64.xpak 60960935 BLAKE2B f194c6e204b9efb8bf882681aed20519d3cef06dd91fc24d805fffa00e8508d0f39f244b10b896bf153a00b885e518fe766654f8d450ccd4f6d6715fcc12b210 SHA512 49dc2766fd8dbf7d77d93321e1ecffdae6217f95b7ba780de961fbb11030c16060e3a611cf85f7266e92b6bef7a55c96d22bc4460f2c441afa29809615311a35 DIST gentoo-kernel-5.10.138-1.ppc64le.xpak 56016873 BLAKE2B ccb39d42bbb9aab883ee9ed5c318d4ea1770ff969028a2e18b99bab07521309beff55c30b36eb189dcdc4259a5d8b9e083b37018481f501bef781ca0b080a818 SHA512 e148844d86e8a9bf9158c39067620226dfc5727acf7c8f21d7cd85b7c3b2123ec4d6ff727ce2c2890ef400b0b2fce0aedcb2dbe0b6fa5b140d6e2959a10a29ba DIST gentoo-kernel-5.10.138-1.x86.xpak 57436076 BLAKE2B 0ad4e906020ee3086e0a4668bd623436bac3429f12be21fd148fbe4db4d47a34df04f802375ad5ae6776245b137c4e37eb4665985b55001957a2e07fb7370a97 SHA512 449ed2352f1cd7eaffcb90287a9c71a7789c714169ba4583ee6443b2bd848ef3ec4fa49f56c52c50cc137c2104e1bcb1ab4bc0ffaeccc285215fb36f29d0ae19 +DIST gentoo-kernel-5.10.140-1.amd64.xpak 67497255 BLAKE2B 3534d155dc7c6ca0d48027a223b786f17a681f0e3b190fe58585608fe80b00fdfe950a6e4f46c366cfb5e327b413a77adae0ac673d9b6529abd406916916e5d9 SHA512 a5dcc7ec109b92f5f6a1fc9e3ad7ac95056c6c4352fc97e227525ddcc6ca32c740069af14f13044b902e3fbca64bd4d7f2929c568419a6696b35cabb88cfe5fa +DIST gentoo-kernel-5.10.140-1.arm64.xpak 60983920 BLAKE2B 7633539bdd48edbcd64e9c1b502809c218ef275b78c8872d9fce4e54ba55d136e1f180b2d72abe9a5eadfee1cbf84ddc582750d1265e5701d7affea9e4626bf8 SHA512 933992df82f049e175782826b9261d7f1b6b601d352d168b4adc0d7d4d02d5e49f99c24194c3927f3b7632e940049dbe432c2ae46df8a71256a5b5d8b9e76b87 +DIST gentoo-kernel-5.10.140-1.ppc64le.xpak 56010867 BLAKE2B 815b753f4f7640c1461763e8d0ca57797a73902b9c6ca1983ac4700b5c6f8f2154c5e3211f579e55d0cbdaaf371d3457fe061547d4bcdb3aa3dfdb07feca2c7c SHA512 f6978c38b27fdbc0592021edd664b9acd47c09d3dc0e1e150140cf8c94963b716b8460062a9d82a07537bbc9df07e46230f1a68a130afd1164c3dc64d6cbe88c +DIST gentoo-kernel-5.10.140-1.x86.xpak 57434476 BLAKE2B c0f81fb4cf98c715373bdde36431515600e8bd52e7ab2499d268c88022091a16662ed8deb8513c2ae4346f843043f7f5750a720f599591c6e57da569add1f1f5 SHA512 a97aed96e990e07a5f357b17b6bddabea7b0382685216a88ff04f94314c91b93a9f12b81e9ab1863abef1e6cf361a4b65005ddc7907a8f3b6b7fb49b8aa43e9e DIST gentoo-kernel-5.15.63-1.amd64.xpak 70784280 BLAKE2B 6f1c431dd478c0613b4a41ef477f7fdbef24bbc37ded6f515d29e599539088d043179261aedf9faabdaafffbb0b774fa77b7b9f0cb880d0d5e5c8ac3f40fcfda SHA512 04646181e0cc75fbbba8c5c90525cc955331834c371615b023312ca178a15eeaf47b4b4f5319b43f75946c3582db47002a0730fb5179ae4939d61103d3d3d588 DIST gentoo-kernel-5.15.63-1.arm64.xpak 64186381 BLAKE2B 09f288e2d2dcce3650b6f55ac185e7b0f5e8f61ef9ae8b103c26b3f34047ad4995c8a43fb937e0d4c5f85bdc08923774248f7a2deb0ae7173e57288f0e6db219 SHA512 b9d473bb67ff9546cfd4b86bbf558f96ad0fc72d810bce1c8e157ea5a6f83227f3aa6f4016d17576fb03b4aaaa38cfa63b37588d49554ba4edbf1d77127f2025 DIST gentoo-kernel-5.15.63-1.ppc64le.xpak 58094860 BLAKE2B 1b7e0f7435d8b99439d9a0da608d3721e60796d21ac8cddf7a2dda4970774c9a36148ca98bf06a027fc0ad027ecb1679db232bb343aba8556e77cc565c799d55 SHA512 368c6f13db28341fea141038587d528ae1e0e5cd0864bbda55ae82070082988e9c861ba7e36c947df81c0475616b8a896207953c536b687d9228b30011b74feb DIST gentoo-kernel-5.15.63-1.x86.xpak 60131207 BLAKE2B bb3f0fcdb48e20214ddeda84fd57a1f753249e79b2581e8f44914c05736eea3638eb573e43090a99303882d8c5d034bfd17d0f287fbee836a290859a8036508b SHA512 17ed092f7f1706ed69a10a850c6f964ffb1c49a36d45c21dc36eea529ef6d6c619d334c1a55e5906c48e951b5b592d9e4f5b205456bf881fdc51fd448fecb745 +DIST gentoo-kernel-5.15.64-1.amd64.xpak 70812783 BLAKE2B 8e48507ad47fe72a7a452865427124f355eeba187ecfcf2437248d31cae913f058fb366e2485898acb56f0a7ca501060c47ab7b8813b0b522bbe88413f3a6261 SHA512 00e942505dd58ad1407c8b1765c8e81f09ca9bbb6b86458f5c47ce0d63f19c132c723283e608a0e8f5e3c561b56235cb49200e6fd96624664e5d79df83437fb8 +DIST gentoo-kernel-5.15.64-1.arm64.xpak 64210219 BLAKE2B dd3fac15e4753ddb900750c83747d1216c487f9dd0c69e3a4f0af98f1aa81dec8502ca8be33b2d015abf4633b160ef87523904f549882006b12f0deb4314e0ab SHA512 167aa3868086fc411d3d6bfe493f46d5f8f675a04b3ae8f1940c8ac439f1ec127657f2f7f6c3530ea6319b016491edb2a2fe0d50de2a4569ac7427b1db5a8b98 +DIST gentoo-kernel-5.15.64-1.ppc64le.xpak 58139911 BLAKE2B b882b0f9f391d15d1e11305d853bb20ff5cd014b45671811fcd2346429e15cf4e14a207433eebd1bd148d1c2a2fd696e3c7e8d44b654ae9333fa2b46e422bd0f SHA512 ba9e5c0141f44661dfd5c680116f53c01e36349c38f58db7c5599f080e8a26d53a6513ef4ccfab82b5d61d7f941ca71f77e4e244b76a337df43aa3d81a63b6b0 +DIST gentoo-kernel-5.15.64-1.x86.xpak 60122805 BLAKE2B f8917689903f846e0a7f4a5d9810910c2d7701cbcbf048c01f6f95e0932e4191e590df4207bdae22f1c01c785ddddcefa4411a3afe52a3a3feb04774117cd64f SHA512 5f1c6fc2f55a0616a6a5452da6782870512b0dc3adc7419cb34debabf46ca1928763694156a1427e49fc4aeb5c67c53ef5a525f89133141f5ffec2e9aa99db15 DIST gentoo-kernel-5.18.19-1.amd64.xpak 72942561 BLAKE2B 0717daf1b59d2104cab1f879df588ce3900d34c5819d952bf322bcce3910688b7dfb590dcee73e493e6c9e32b5b59f8067456ac5dabf63f08685e9425c00c5ee SHA512 e0eeb797c0c9123847d291b9cdbaddf125a747d3aa84bf755a6e6b09fde936c211ab6ce632a294b0b88f977f962b3fa974dd5685bf658ddd14a11f7d0b881b35 DIST gentoo-kernel-5.18.19-1.arm64.xpak 65272358 BLAKE2B dcd3464d63d93e74ade936979ed4cae9e44edd2607ae252ede6f60980902d9ea222d346ef9007a391ff5f2a856062be8261c8e7480605238925228c467931028 SHA512 eff2578748b3da40320adf59db967778e3e5a31d568436ee119bea390a756c050968f7f60c7cc33c5ae270d98d31cdcc9c39fb5ce0cc1b38eda8671325669b09 DIST gentoo-kernel-5.18.19-1.ppc64le.xpak 59519114 BLAKE2B 9fbe2f5d5f7737901f23ceed8c6124d17ba6fefad96e49b2868030c089822159d857a7dd3c3aaeb4dd15a3f96a8c84afd869bf1da4f06942c7dfdf2dd70337ca SHA512 9c055379dba361cc4433a7972cf49b16f61fa3b35272449e4481e5bba0db6a098a8361b6c4df2c667618c4592da12c39eeebfed81487a4a8fe223a2c4d5ee52a @@ -24,6 +38,10 @@ DIST gentoo-kernel-5.19.4-1.amd64.xpak 73516311 BLAKE2B 017eceba7a60d16384360b2d DIST gentoo-kernel-5.19.4-1.arm64.xpak 66395062 BLAKE2B 581297d47a4af5c43cd78b073fbf98959033acd61092e958f59524d710f0d2ed151e847770bbad304ab7d3014604816676a4bf9235eeb690c102c4f8fd38b120 SHA512 37c407d0a98469d59809788dc0bdaa27748b8b836b8c3c3c77d94de360e7f77fdd5a41635e16e70d78c3a70844bcac5c322e64b6639813b5ffbda1dbb5089d47 DIST gentoo-kernel-5.19.4-1.ppc64le.xpak 59977405 BLAKE2B 20fbb9645168fdb888ba68e760c01e45e1d9cc0d2f563c22135fc9d7715107ccc9cb82649593d4242a399ab330c40894f58b7f79509b8af28ea67801038e5b8c SHA512 14a9f69f5c0ef1ed6d658e4a28ce937e5941c0268cde4c92a67ec1d7e36ee6789e33794a5190ef6ac27148da5efad88253ef93045d5524defa43255095a0c698 DIST gentoo-kernel-5.19.4-1.x86.xpak 63382575 BLAKE2B e3d24f2576b1015e574ecdacc8f921ad811dd090cf8fe19c7b2b8c6ad217d2fea3c43e052d76316cf713d6b84c6dbc7e6b45f5c72f4da521809ec58a5b0691c9 SHA512 cd8f1731b4dd2d7ac19bc4b5df5ef813ca384b20c6d49719f8423bb3a45f621df779ea25206084d4b8c528b467b4f7ae0afa9c0d42a7e77a616a363eb4b2daba +DIST gentoo-kernel-5.19.6-1.amd64.xpak 73549646 BLAKE2B b41eb12cbf86bb8f015411ae4a00a7a077e77ceb257671db891e3abb409dca86e2481840581435fc5c4df05f336b2e2a6b237de985ff295ce903ffba3d30f001 SHA512 55dd49b39c4c37536cd4d084b6eaaffb4f2138e7837a2f08b68eb2179043154099ea7e1b29f2d98719c2202304e04f8b8ad3440d31c0083f31763164feca6b82 +DIST gentoo-kernel-5.19.6-1.arm64.xpak 66387997 BLAKE2B b46d2cb7e17f50919f1b27d938ce6dd841217bb1aafd6af59a289bd89f70ea1c2145dfa07aefc71a4ac18ab3e0ff863d48b457d388ecb292cf8d8b97aedbd7a1 SHA512 731c953d6ee1112392c2cfb4ebf968f4cc71e7beb5bc986f9934d2a37a8011fbfda327a4dfc29c3f075ca60f1142ecdeb0f780b144d525ac434340b469d5c142 +DIST gentoo-kernel-5.19.6-1.ppc64le.xpak 60014130 BLAKE2B 1fa35be11714caae645b0d0de4d708cf82ac5fc0372adb8331b7f8c036f220662dcb892e69a346f24ce86ab40ef703d691c59511d303319f448a357a9b9d91e7 SHA512 8c28ee3dea8343821241627d405342c2ff24a4b74eb2a24ceca2498b138cc25404e96a1efa1a4eb5d41d4c701aa2a2f64dfc53d9a0011887735cb2098164303e +DIST gentoo-kernel-5.19.6-1.x86.xpak 63409571 BLAKE2B 57a7a458311a6753beaf2d6ab8fefbc6d2ffd5b411fff96f09deb5620b2767a037d24c152d452b5242011278e5c45c102e3f4443baa70f77f30c37d46247c3bd SHA512 eb6f036e1286729d7ac61b4034fd0639e560894e3e10b8937272270cae07a25d4e7d1b6c19917408a47097ff3e4a493a34f7b51a64c72356c284fdb2a6396715 DIST gentoo-kernel-5.4.211-1.amd64.xpak 61552101 BLAKE2B 155a613cd985a819a8c62ed82a882b6da8a2ea4a4e728533d2eb499bcd0abf4202a8f2d2b0337c3bc0e7e082ed6e6a4ea7f8b394b50fd7b37e493bf53171664d SHA512 40d913186bcb8829f55bf9899641a4064932144cc16595adeaa2262b35014996c1dd0d95a54d8e6968d83bf24558eeeed87f09b2b7b99c55a157d5f37e098d49 DIST gentoo-kernel-5.4.211-1.arm64.xpak 57941206 BLAKE2B 2ab52e0a114fa683d9ae6c0cac7d196e409cf00b61ccab1e7abf8ed0ff274d4514c03d0162bef4a79b1f9ceee5b51e647ded4be3d006f55111ba56020ade0f9c SHA512 d4c1439f8ed418aa4b073e9c9ae0d8b0972fd652244e489d6fa9b222b8736bd4ce110f0f7fa1182c3b658a07fcc1cfb5523b27dd13f3f7e7a33a164c5765118a DIST gentoo-kernel-5.4.211-1.ppc64le.xpak 55270077 BLAKE2B b322db72bcb47b2a3095290e4be922b11723256150eb6882beb19a64b1b47a5fa8dd033da887964411f8e5481e573f7d00842a0bf959f455a6b36ef3f56610f9 SHA512 900ebac4442e3c92e09d33818d00e9869ebe821185a757f62a030eb3822190b91c2f1f672e66192635ae2bab18505ec5860f400db08c5f14c3d916f929a2de71 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.140.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.140.ebuild new file mode 100644 index 000000000000..da84e07f808e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.140.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.64.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.64.ebuild new file mode 100644 index 000000000000..0787e9b25ee5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.64.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.6.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.6.ebuild new file mode 100644 index 000000000000..0432fc354ea2 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.6.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 23b123fcc6b6..ee0fcdfc638d 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -1,11 +1,17 @@ DIST genpatches-5.10-147.base.tar.xz 4073808 BLAKE2B 0e1214facddef3b26bab742ca4164773162e6954996bb8e5137707c6728e0deacd4bd2679f276edc0cd03669a0d03a5c7744918efa1189877e38608dc393d065 SHA512 84f5bc607c10a08a03c8afe8617719827588b49ff9ca6401fd128806ec91fd6d07cfff6ca313f5a49e9a1b37b9aba2aff9bd0f597d65bb7c36236e148a04b397 DIST genpatches-5.10-147.extras.tar.xz 3868 BLAKE2B 1f12eea29cda808c434364d0f60ae931819a53d20bf632a12f140c47a001387987688eef1a90a31227a6ccfc217c5db3839d06527a7bcc1877d30c98dc47e21d SHA512 492274da82c010f4d7f33dcf623789a9be51ee711d19076657b091b1e91ed70ff6010aba5e7778c9769eaef28216baa01d3f373fb76c595db38b4763ff182740 +DIST genpatches-5.10-149.base.tar.xz 4094572 BLAKE2B 45a25b910fc88f030d97ef5870925df3bfb05d50bf95cb3cfdc4d98ed24c006ae026b88b29ec5db4087671c0a440a4c47132272e6ae965b1c336fa1c567dddbd SHA512 4898ea729def7fbbb14f04a578405a4e96e03e425de696db4d2bc86cfa6942c063f8c8cc79801f85ac38edbb5f0f5851073418bf5df32784ec7efd242318dd97 +DIST genpatches-5.10-149.extras.tar.xz 3868 BLAKE2B 2667cf3c9d447c855b6b6cea4b9100a300077fe74eae84b69fa0a6ee861c787e44e96518bceb93f1c2be83fd8f04251ebfca673dcd9da4ebf2ab98041a3dee4f SHA512 73bda9933661f78482eaa048c1467d1f3acbef606676547d1ef3c64c5ff95475d6d40153a47f247868a2cbf697e5a4d21d58b57b3be6763ef3de869c31b5ede6 DIST genpatches-5.15-67.base.tar.xz 2856328 BLAKE2B a92c3afb5e0a6605587744c68b3bec4c63848e0c09469d99080258d97d3e96a0adae175600d7dbb00e566f4383ab00c6981585acf343111218aa21e503901f7d SHA512 3d100c04ce9e440177ff2156b8ce0c0443414963a47fc1c51a86a08cce998ad0b6289e70455ecd2965009226036486c1b6ee3768b1782aaad976cd144f9b48cb DIST genpatches-5.15-67.extras.tar.xz 3936 BLAKE2B 168a92a9db40e6014864a96aff71fb87b351d7127c5eedc8e062e753ae65d7ebc628e9b0eded328f17e88562592d80522ccdd31a549c8104aee51e2833f81134 SHA512 0f2bdfa87ec2a610870089c903b301dc86dac52f4969386074a439be90674c4835800cf9250d8844b1ec3df88cc8dc0b31e4582ea309b7c817066a1341c692b2 +DIST genpatches-5.15-68.base.tar.xz 2897744 BLAKE2B e1aebd74737e787df999aabb0153b7aab4b5df05d049e9a6260a3bacf8e827b4f767fe6fe8d07bea71a0e5ee7655d864da67736c17756ec1119a66fc58a4b82a SHA512 79996709882f76cae25639f273f2829d5ae671714f699008d7fbed68595e7cdd93e9d79c801e9f1eaf6ea89fbfe9df3302773e6f728f8cb5de4bd69b36fea65d +DIST genpatches-5.15-68.extras.tar.xz 3932 BLAKE2B 34fd77b8464322ad369de5b86dd8dc83ce7510bca139d4e6036b0b2ab34d1c80698b5f965e44a09dd25ee3b4d80abbccc5920e7984803be2451281c74ff735ea SHA512 970a1e5a03f786d05bb1ae9217a467442f16344fffcf2c77a2572c6db656b0fcd5b3329eae193999c47bbb45c8b02f0fd9010760ef74a6aacc474729f0ee9369 DIST genpatches-5.18-23.base.tar.xz 1206204 BLAKE2B 12a7b9aa7d72f27e64c4cb8f5607529dcc7d535a9375768e065d97d0b70b0726271b70dfa4ea019bb42606ddfd513b70357b2bd5ad95548c9eba9f91041f27b0 SHA512 9a459e3e8cb4a3285f782516fbc176a4a73c151281bea2258f049ec0662b806eefc54cb6e9151cc968e3a9c39789062c207d514920559954db9a10b53a1c2f0e DIST genpatches-5.18-23.extras.tar.xz 3924 BLAKE2B fad401fd783c72bd695425a106813ce8396c6d15154fc627fb456b16f6ddff1f6326f54e1399c1369b6da5e3f57da89bc9e769bcbb5d4b612465fe187145ea17 SHA512 c25a09e1e2ad091e5f8480419e921e8eede512dcc6aeb46792a92844948eea5890c5ae8d164ae9834356e00216d3978cefe5f07b046cbaa30dfd4af73a1ddaa3 DIST genpatches-5.19-6.base.tar.xz 595780 BLAKE2B 87db7f493d421ed3f0991278f16aeb984485ef5f5ef390d18cc37b27e2dec27704c1575e5ef0a475da6a5e87d68a119899d4a827c81a368c255d45887ea8a681 SHA512 2af94e970216f5297ad791496d6245fab8a0c037d5dd57161f2428dcc9c742414f0073c35be515bf6714a4962f7cc13a023e590e15902c6d68921e93a8bfeec3 DIST genpatches-5.19-6.extras.tar.xz 3772 BLAKE2B 48f01ce8b863f73dd12e06d51e9716e6b5ca6694ed0612aabfd51e6a05a4289cdccddc6061c84a5c0c32878f6b030343e31bc29dc77161226b70d1b09448337b SHA512 550123defebfd2a2d0651840cdf6ce5b47f7b79c874fd97c766e758c72f7412053f682f1d3187788ed15a59b73e09356937329d1ca49b90fa0565cf25dec44d2 +DIST genpatches-5.19-8.base.tar.xz 643396 BLAKE2B c383c7efc908fa3e8ebdfb750d92df6adfa1e0d00f253eae40fb5db5b84f8848a5c1a4fdcda693da998b1ba9d1afb1019cbc2574ceff2b099d2125ead515efc3 SHA512 ebd5eaaefbd362d85fa8cb95b0ca4192bf7a0835ec58ea25def13e502f87f74bcc29219083f39b85462b262f526f771270b5a8d93ff49126e1653d948a9ccb9d +DIST genpatches-5.19-8.extras.tar.xz 3808 BLAKE2B 8cad0dd5deaca8f8b379c96cfad02add0cfe7498f17e84d11e6b809e366ae0476734bd003b287456459febe2ff4c1fa7b3e54c47243cd571a34ffb1cd927a1ea SHA512 a183d09ba7b1fc3f89b7754709df8d093ba70b09f71e237844214d65bc5821b6328c436c7ef697c30bfd38fc833bd178497190a2e73914a03ec0dfa4cbcdf7f2 DIST genpatches-5.4-216.base.tar.xz 5015752 BLAKE2B fd736588b9cbf9ba0a48ad838a17eda669e56d9d0ec4dd903f5bcd31ffa2c428d14ebc7bc35a709b3da7bf7f22403c5b01a9314dda60ef955d7674af836e2481 SHA512 62cd9deb29f863babbc9dc5116e5c5bcb34c0f29325276da80fc9b040004ba9fcfcde380779bf8ea8039f3098da88c59e7fdcd2d0f6d6aa5034df59ac9b55914 DIST genpatches-5.4-216.extras.tar.xz 1812 BLAKE2B 7dfc1025fc395883debc819c3fd5840c423d8b3f1973104906545086d35a966551fec967da9ec976257e231c4270c7b091e7641353f89c254c974b848607e5fa SHA512 aaa70a72cfe0989f5ebf2e3f57cf55c6faec4e2c605fef7ecfd425c47574765fc0a2ad5a7b9fcfe33dd70060b52d4dcd44d2849fa0fe203612c0ebacd2b171a6 DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.140.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.140.ebuild new file mode 100644 index 000000000000..8cc3f5803876 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.140.ebuild @@ -0,0 +1,131 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.64.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.64.ebuild new file mode 100644 index 000000000000..64c99e19532c --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.64.ebuild @@ -0,0 +1,131 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.19.6.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.19.6.ebuild new file mode 100644 index 000000000000..9fbf09b94435 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.19.6.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=5.19.3-gentoo +GENTOO_CONFIG_VER=g2 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 9bb38abed6b2..0138d8bb24f9 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -22,11 +22,17 @@ DIST kernel-x86_64-fedora.config.5.19.3-gentoo 224173 BLAKE2B 4f2afeff3d1a3f71fe DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f DIST linux-5.10.138.tar.sign 993 BLAKE2B 611ade38fa49fccb98deda25a5148b93151ab1a82508b0e64f14a4954bc464784be60c3a957ae7005aafa53639dbd087ae8c8b2882ab11aaeac95101cdba8fab SHA512 0f4bf52d9db557e6c57e73a782f53fb67cf54abbd1ad6b790559aaad50e73d0be37df9f487fee3a9211dfba5effee2bfba166b594dfbbfd691b00790403a13ec DIST linux-5.10.138.tar.xz 120492696 BLAKE2B c98d0fb69c29524485efa6d5ee1b45996002da0ec28c1de031a32354e1e93f9ce274e80e595451b0057b8273c8067580b82427a199d25e879e9368e123a91825 SHA512 a308319046b914b5c3e3864d04c8d618269cc87826c77703f435419f467488c1602819e1ce80fb3a8780360456615292ea161053c326b0acdb22138d9a1f5805 +DIST linux-5.10.140.tar.sign 993 BLAKE2B bf0428036aebe23af73b783d29c87ab99a068f0947d2fb57c436873368a5c93fb98afd3a8813dc1aa28fa8c257a7189c399803b3e54d070760a5f054f76deee1 SHA512 47d05a180528cbcf92b527593bbb7caca72113224e8340be8aba77846cb08128402df2173034eb540639aa75588fac7815a0905833486bf36cc37a84770cb3eb +DIST linux-5.10.140.tar.xz 120465880 BLAKE2B 3d0b610a3869fa46d3a3e28d839d84600924b3e4ae7560ca7d0fc6506572bab18550b16e0dfb357368bb9679b29f69efe627f12d79c8110b280cfe1d1db140a5 SHA512 90adb9ab6d3cce058840cd2b286c7336c436a409210e651cd065c5089fa36b6d22e03c48e7eb681aa79b7899e77176fbcd39927089ef5bddc1bebfbbb69d694e DIST linux-5.15.63.tar.sign 991 BLAKE2B 855d118b3164e1ea14789647f173000eaaee7dfc27f27da497c1b6fb787b35d47269d2c233f0a79aa3560be7a1c9571b2c52a8a78fce1d73f400d9d21a17b7c3 SHA512 99f256fc013ee63c918eb521e741347c958a8ba018d5136e960686952fbb510416a80413d3dacc5a994220e6d8866a427ed8476ec172f48c03f34be4b93f33ac DIST linux-5.15.63.tar.xz 126441480 BLAKE2B 95264d45411bb0ba30b0eadc2847075d0763bdc22aa86b250861ea18066a1b16b88627c61d0829d7b0a21e9e478df064a54b343ecb2065b37a011bc0cad986c6 SHA512 a1b33476484b9ca7a105d07b70835ad7e7e670750e6beb428ce23fe1bd853d66cd8a1ffca9ee736a98a42b98191d290127e628d33118be971c661e2fc6faf8ca +DIST linux-5.15.64.tar.sign 991 BLAKE2B 0f6101a3f7d34da6f5bccc3178741089442625a7bc240468b4469510d5a769292928bb6f4d5c9141c81defaf097bedb67e8c110b0a966832b71f20a318e46eac SHA512 84c37bcb8a53f8d1f0e8fc3061efb7ab8e2ef476374bc2fc92985c51876bf5895a18fc67d9e35c32065ef35eca3d4bd120705c647e4f4c41e666a24c602dba30 +DIST linux-5.15.64.tar.xz 126437284 BLAKE2B 05ffdbc86b13f9a892ac8d4969dad06f6da27981627a9591b6e0bc44b9460cc00aacbc573407ceff438448e02e2d14edd3eb920a0ded958bb6864bc4b7c988ed SHA512 3445baa4f53ab8108af576ca06596071cb12be7d67d93899c0819fa2feae4fff551e702a91357f798f920a0f7fd6cd38f2c1cb66cf60b6cc10142e503fe21b85 DIST linux-5.18.19.tar.sign 991 BLAKE2B e4bff93a2fb9c06613f0aefb27e159e9ae0526c22112dc46aa614f831af9d3ffa1db72131d721133393893285934a2e6b2cddbeeec585e8d6571ff1975172cd0 SHA512 bc2e414ee13d75ba80136730ce49125ceee9bf6ac82a81586dd39d3805adc03e24dd433da7cca60380ad0dc594d60729ffc0b754aa542659845e74a7aa67e0bc DIST linux-5.18.19.tar.xz 129890668 BLAKE2B c02d07137bb30b429ea3c822efa1a995271cc7c07d7ea8df460e9024f66ba372d1e1fc30d80fe7f7dbab77f0c9a3821aeb2b777d2b0de161c94b46a18fb25184 SHA512 a80445c6195a9cb7922b47e0874ad1f495ecb76a28edb4b7026cb2790154d60042521a182785a2ccb83200c9ee37f38c97bd4566dcf74aa9f961c75dcc1dfa65 DIST linux-5.19.4.tar.sign 989 BLAKE2B ba3eaa69dc251491815722f35100e17ac5920d02e15bac9a5cc7151a36b3f0d6a0fd42c17854940496e3479c2c0a8d66f799b51ec81b6a517bf5a639fa9913bf SHA512 35b17075b3d620666f199ec72b3b4389e5d5f31380b80aa58036840ab9e9ecc403ccd5169f2a75642563900c97bc253b483f74ab4891236131fa78169f33c47d DIST linux-5.19.4.tar.xz 131611920 BLAKE2B c6c13b1b6abc8e19fc8d668b751fff395b745b3a82aecb0b95f4fcfe98bd68d8958e438d57741b18a777008ac5296b08df3418d081e807c4e8d87185b0a8a90f SHA512 1d03f5b1ecb61adb52fcb2222b4d21548ca65e9fc0dc768d7b63c984644c9998bebab78cff4ec37af0fa15e4add84bb3fbd6c1e69d4aeac39dd0c59afa9f5e62 +DIST linux-5.19.6.tar.sign 989 BLAKE2B af1848224de41fea363df3d6ef1a3d923d242c232e384f960cd813df1f733f4f59bebf61d932455f3742c8278170ba2ed7eb2fd3600cb9636082bb50f8408020 SHA512 29f22d3d55718a8aecac6bf7caf889f20e01cbcddb5d3c2047ae701d90505db045d6414857d61caef8e6a31cd8ce9bd5016e18405c6eefacbeefeeecc7ca22dd +DIST linux-5.19.6.tar.xz 131649076 BLAKE2B dd6fba4d56d26923310426589b28c83f699a62b676a76257e0ac49bc85d30ffb24f7a66a20108dfc5bdaa1454fb0ece3f28c483b246d3778cff220de527ec4aa SHA512 b39707864c7cdc4290fc6f4ea545da1b6029eeea54d2bec88affdac9b0187e28ebbf99badbb974d5cf4ad854fbbecb98d7385d5bb6efc74e52a7d8dca146e82b DIST linux-5.4.211.tar.sign 991 BLAKE2B b8a72fc09b476ff8539eb9208b7164864822b501ca4b0478a7c32d3b6add1a37641905ff15e4043c897f734033eb8b3dfe1ee981c7f7e7664ca3b9f083083081 SHA512 50e50b7d028877b07fed0d39045d20da36017e5fb57fadd1b0554896e416446c20d5a30d0fcea25fe57f13869c8647029b0ae5b12bd1917eb6150c130069b55f DIST linux-5.4.211.tar.xz 112946912 BLAKE2B fd34cf8643768dad40e96ff12058bbfa6240d456b0f0d58a67d0e40c527b91c3571783ef0abdb2e36d6c6314cd1782e032b64cb1a5c8b7aa1d586e191df024ea SHA512 7da542bc6ae6f46c5ff235c09f2656c29465a71edf2a83f0a7ebc57c6eb14a0f7ef4bd0c25614f0b4e191f80e617517341e8b1f14bb6bdccb003beaaf888cb2d diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.140.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.140.ebuild new file mode 100644 index 000000000000..718e3ea82627 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.140.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.64.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.64.ebuild new file mode 100644 index 000000000000..13b58c5c9839 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.64.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.6.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.6.ebuild new file mode 100644 index 000000000000..7d4d9d893827 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.6.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=5.19.3-gentoo +GENTOO_CONFIG_VER=g2 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/virtual/dist-kernel/dist-kernel-5.10.140.ebuild b/virtual/dist-kernel/dist-kernel-5.10.140.ebuild new file mode 100644 index 000000000000..5594b4186dc8 --- /dev/null +++ b/virtual/dist-kernel/dist-kernel-5.10.140.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual to depend on any Distribution Kernel" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +RDEPEND=" + || ( + ~sys-kernel/gentoo-kernel-${PV} + ~sys-kernel/gentoo-kernel-bin-${PV} + ~sys-kernel/vanilla-kernel-${PV} + )" diff --git a/virtual/dist-kernel/dist-kernel-5.15.64.ebuild b/virtual/dist-kernel/dist-kernel-5.15.64.ebuild new file mode 100644 index 000000000000..5594b4186dc8 --- /dev/null +++ b/virtual/dist-kernel/dist-kernel-5.15.64.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual to depend on any Distribution Kernel" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +RDEPEND=" + || ( + ~sys-kernel/gentoo-kernel-${PV} + ~sys-kernel/gentoo-kernel-bin-${PV} + ~sys-kernel/vanilla-kernel-${PV} + )" diff --git a/virtual/dist-kernel/dist-kernel-5.19.6.ebuild b/virtual/dist-kernel/dist-kernel-5.19.6.ebuild new file mode 100644 index 000000000000..c2caefd6cfca --- /dev/null +++ b/virtual/dist-kernel/dist-kernel-5.19.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual to depend on any Distribution Kernel" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + || ( + ~sys-kernel/gentoo-kernel-${PV} + ~sys-kernel/gentoo-kernel-bin-${PV} + ~sys-kernel/vanilla-kernel-${PV} + )" |