summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-12 13:40:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-12 13:40:16 +0100
commitb4ef58ede68341d0e00d761505857e965e2b4231 (patch)
tree94723f8dfd3de9243bf2ae39d9deb2ee78c9719f /sys-kernel/gentoo-kernel-bin
parent9f3ff9d79a788d420003387392ec40fd0548efae (diff)
gentoo auto-resync : 12:10:2022 - 13:40:16
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest21
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild132
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.70.ebuild127
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.71.ebuild127
4 files changed, 407 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 0007a0db0cf7..03403eed25bd 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,5 +1,11 @@
DIST genpatches-5.10-156.base.tar.xz 4197792 BLAKE2B 0cf51ea19b117888e12a2c9fb474bcc3d3afb89c3d4fce23cc176231d8210f9f9527c8ca460477d616c249497908bf1c5325a28212e5fe5d92a3b4423d5fa1b1 SHA512 5ee474409975a9d715c2d483275cb6d90269ad3a4d9ab0873e686d7bbdec020288dd4c42ce863c6b184931ceb6a5d2e75e46d77bd8e5bc03607f8979e7a68ba3
DIST genpatches-5.10-156.extras.tar.xz 3868 BLAKE2B 0247f7dff2a4710426d541d61f5ac1319af5430222f8eaa8f752ac34fa0ef05ddbb7284cacf44d8db06fd42ee659dfb9bc5fb277e932e37d33327ecb8753e27e SHA512 7b827f4a62a11d65e9bab508f3b44e940078158fb41166acb7da814ba97e97f40558536d38026c0e63f93c23ab4505faebad4578e871e6133de9276a106ad872
+DIST genpatches-5.15-73.base.tar.xz 2997804 BLAKE2B 8915a7983e7766c43e7e4fb91f38ba690e60df58fb8c7d6b5f833b21df459bf5949c35e510275c793f6987e70923cdfebde739f498ca16f772920e262f391172 SHA512 3859fc75041d4c7593104e158ecf833fb0ff07aedec5143623132114308d9c877a9f2a405d83cf442f0048c046c3fa3700f51ab836de448ecf2c7b4064630c61
+DIST genpatches-5.15-73.extras.tar.xz 3928 BLAKE2B df7fca514f8db011bc263a94cba0406c7b95d2befcdc2f50600b1e71fce6a4e7314624a4eda38ae2037f4eddfb6ca4873b407fd075ed4b5ce23bd326cd03c48f SHA512 d4d5562d77ee0419bd17e0f447c84977a3adcb598655ea42eef83ab5452555dca4e2dee2355cf834c215cb22b12c9ef809da80108375d3a3aed09fff852681f2
+DIST genpatches-5.15-74.base.tar.xz 3006272 BLAKE2B aa1fb6c630e8ec452a067f56682ba7ba99185de818c6c6d8db467818dad51336a45b73485a76d788ee4ec0966fc7fabfc88074856cbd0340c8d26b9b448c4980 SHA512 b339fd9bb8916a37c2c78b4fbcda69a836e85fa88e4d96ecde37c64a7bf481aa847c5c5e76db8408eb8bb066b875b5b290fefa7b86d11084e138539ebbb423f2
+DIST genpatches-5.15-74.extras.tar.xz 3932 BLAKE2B 56ab108ca50876eede0c3aa9abdb7c1b4aba485b9ebd5f72b065d95e5f75c776b5454f457886cb9f3d3107438312f66af94543b3b95cad9b4dda20b512aaaa2c SHA512 dbea0a898270dbfed6f9622de259a54dfc2f858f32f7b456b71c5de7e614f390e87e200e08fedeb930622808c1d70d611931f4e4b36f227ab9b0b35307e35623
+DIST genpatches-5.15-75.base.tar.xz 3037892 BLAKE2B 33132be38bf46fc9a17a51708139f49f99bc66b839c5ce4f24147df859a5a781374b617c4b65bde9fba539aee681b5db89f0a326737e7c08b68c187c45752480 SHA512 b4837b6a8ddef64d717b2d92ad932523821b50c3d1c649c87a7a7cd9c8a345f09894f82ac41a5974ec24ae6407b754558b39e06cb1eb83e0a128c450ec2cc755
+DIST genpatches-5.15-75.extras.tar.xz 3932 BLAKE2B 7338afccdbd2831cd862ffb7a1aa4b694c62a292b4e72a9ad379899cbb010c3091944c0684bfbb81376ab833dca7e46745a02ebdaa6d33817de36b6506e6bb2e SHA512 ccbf4f6a5c5f3c527c19b5819597e1057018745176c16c159f497aa4ef158af9dd7d0e2c353dd83ec3e05e87a7db213030c9c23dd41a668c2a69351ededcfd41
DIST genpatches-5.15-76.base.tar.xz 3052120 BLAKE2B 679e6bf674b8ee6d550984af7c3603c6327ecd94b6dc2d6dc3dc44129353efb15ffc2993dc6d7d84f00457a7e81ed3038471f8286503d8954abd859ff24f8ab9 SHA512 d357e1991c65a2dee3346d247c3bdb71e1af1eaaf250e3dc09bf1aed11b1bc4ec8650ff902d281a5c9ff3d97184008061d0b9c60e7f416a5fbe43337aecb70b3
DIST genpatches-5.15-76.extras.tar.xz 3932 BLAKE2B 32f0645af1e0c0e4f2312a4310e955c3c12d9b802e3ebce2639f3e0f331a10cc2be237e43819921b5478c5ac6e430ea77671b5f08a0e6398744f018103875c24 SHA512 7cccdf49806cc6ede16dd3f0e16be89fdf8022f01005db3026467ceb680a36c131e3342b4ace26d77e25dad628de98dbdfed0658ab9ad7e41acbe6573dd1cabc
DIST genpatches-5.19-16.base.tar.xz 886340 BLAKE2B 1b0a22eef6f1cd4fb253301b31ded1113753b1747ae72ac7c3a2fef198d5e28365d3178ffe5bdb7b17e5d4b07066d9c8b4dfb5123e78211f3cc04a3d474daf5d SHA512 c98d8388ea0a494271f0b5601328893f46ed5ea36ee1ea1b020b8e3aa6541ed6141c9ebe20e38d02212a076d8a77d845f878cec8a3813d1c455f70c9be561304
@@ -10,6 +16,18 @@ DIST gentoo-kernel-5.10.147-1.amd64.gpkg.tar 66488320 BLAKE2B 60ebcbf7fa07771b3f
DIST gentoo-kernel-5.10.147-1.arm64.gpkg.tar 59627520 BLAKE2B fb27774551d5e094dcb62c5e2ccc5ac4dbd4f0ec535610dcef11ab79b419c109737116bf937a687cdb80335202ab27442f64708b46e28a463060ad9b9d90575a SHA512 8d7d5636cf384e4432ca8a42d39e6ae6f70f1668acb34cc09683165c4a56ddbd19e30e353d820d852ef60c0e8f8c1b098fa6e079de44b810c061c580a547fe88
DIST gentoo-kernel-5.10.147-1.ppc64le.gpkg.tar 55009280 BLAKE2B 1a5efacd536bb08e13a5980afeacdb100fbaeb52eda6b90499076f4aa39f37a80943e7e296749e9ce9b0abbc3b19a97eb359aa1077941d4ca426cb5a665cc019 SHA512 a85f3e3bdabfef03b1b55db03c7a11a847fd90c88b796c15810c070e90041104a4ac0ea04e3d367d23e077de49da945d5c8c19fe63e812c8ddde3f8eeba68423
DIST gentoo-kernel-5.10.147-1.x86.gpkg.tar 56381440 BLAKE2B a8675037077b4e6f7c07dfbb25a5d5a377d5ac430ed2c623f52dd0fc787666d27dfa2d8e7f31fb11e848f5373424e78436609f755257b662850349e2a8363a7d SHA512 74cf21f842475ce00cbc15538fb6a09db102d0f77f7af80a69a1bda7cdc46a59c3a787124356d32d7d49681ee20807fcb315d1e51b65c78dd4e446616c11c905
+DIST gentoo-kernel-5.15.69-1.amd64.gpkg.tar 69795840 BLAKE2B a26e76f5d6da088432a11d312399bc190031508187eee831663d8b26559dda44a1416996e7a52393ab14246d0846eaf9ba503cccbf4e27f78e5b45f0240f2bf1 SHA512 7845cf46bccd3eb343be0eeb71ebcc13f9c94596cd307116c17c70fdc88979c6370d10aba33ffe6b7b66e830db98ad712a718e175cebf225b3e0358019a10aff
+DIST gentoo-kernel-5.15.69-1.arm64.gpkg.tar 62842880 BLAKE2B 36372df70a50e4e6f0bb663ccbc710144920befd3080cf2dbb1dec977b75cd643042baa23bddb632a38034875e6b591f776daa576daf112b784c513cbc393a82 SHA512 d0488bfa64b00a5bf1d5095ce8b6d63ca666e1e085ca8c6d24248b2da6cf929d81b8246997882c6f9e79227f6559f860a4534fe4109742d915b1e892bfc33f86
+DIST gentoo-kernel-5.15.69-1.ppc64le.gpkg.tar 57200640 BLAKE2B 50b87f1ba58cbf6ea4bc1f7e86b98bb9b49ff3381ec5ba9c91bba58a52d9a47423c9e324f9f6e653c4b002e20231b4675afbe5fbf52faab6296727877da75e85 SHA512 6b211e1d0a6df66f822ae09d6e502c8751077229110d683703cf76fef3bddb3fd3d6b4a553220ee765a38ae4aa2782edd9c8499c1d9efeabe9e4a43cbf14769b
+DIST gentoo-kernel-5.15.69-1.x86.gpkg.tar 59115520 BLAKE2B 97b2e54e0d022606d0362bc5cada56979944017debb4338fe4f25abc5e6a981bf69976f3a5c12e896e7df1b8a0737e123164dc85588d3adb7db1a515ef49fb13 SHA512 2d04116eef1b3211adef5e00519816517029ecf6a76a5074d9cda255c4bf1ffdac765c682c879c902b69c4bf897723908d697e484ce8412cf070f117a9f9e145
+DIST gentoo-kernel-5.15.70-1.amd64.gpkg.tar 69775360 BLAKE2B 18883498d39c6df5624122e632474014d89ecb5b7591a5cfb8bd3ce4dbd02a48c2ab18d0e7d18c9853fde3ca41b74bd1232d67d66c655aa8d643c4d309a3a2f8 SHA512 5c0ccaa907d4558d2e346af234cbd37c7631eb061a660752e50a884d83a932cd091f4821bad1fa611e93854abc7e42d0fb799332452fbe486f910455921b94be
+DIST gentoo-kernel-5.15.70-1.arm64.gpkg.tar 62832640 BLAKE2B 4b5efde888ba0ab1e96c2c889db9b4b007cc59781ac9e9a7ffbef449ff2ed46d4cee2ab94e2864041153aeca38a5c014d7e6b0be689c51062ad0e1ddb203d175 SHA512 849ef84800977616d24a149f293702221b1d3720f02a19e0591d7099759a9e3939dc3df3da271dcc51b0ff18a417e9708a75a9ee0a34223db53305f351c563bf
+DIST gentoo-kernel-5.15.70-1.ppc64le.gpkg.tar 57200640 BLAKE2B ffa74c8ef985e21bdcc20553cbd171d0e9abbc6a19a21425388749f27881d2bf8ce4bd69930d0c42df911c92a410f8425e6430f49c911fe5993222012fe96637 SHA512 f7cc0da78fdd4e92a4fb0055b3c91bc6de246574ada9af2a06f97ee9cf788a71d706da8c352a37c687e75b96f4448257ef03ea43269264ba6c1321302a42216b
+DIST gentoo-kernel-5.15.70-1.x86.gpkg.tar 59105280 BLAKE2B ef0423d1726faea0aa6a3daf88c56ac170250f86790b51690e8996663f09173159c6a1ac75cefb4341416b45a08263805a46259912a050eb48bd5739599ced27 SHA512 123ad1377b25d41465abaf0ca413b39ae78de1f19b45b6df1769e6c3f0eff6fa021efc667b6dfdc64cf273c7c8619c88cf76f10a7f456f5f2c61498b1499ad7e
+DIST gentoo-kernel-5.15.71-1.amd64.gpkg.tar 69775360 BLAKE2B df73c81ec231b309f1fb44cd5bf3f470e98b8e5a807894a16d80df638e6e1da9f823f210c2ea8ae79c5f082b235231549502fac26051940ea85c331714e2eca3 SHA512 70498d19cc00ddc77ec5c9cfd530780c49fec1b00f715c952ec5c335c226b11fd3b0d5c87d3ef53ccd824d6ff762f84b1aa57e315d5576d22a7725478d7d8db5
+DIST gentoo-kernel-5.15.71-1.arm64.gpkg.tar 62853120 BLAKE2B 120dd43f0084d71603fe249fb4d96d9c5f2a9777022cada511c5694e597c687e9584e5f64b604f4d97c7e825c36d93de328ecb663ad6a7adea954ecd1f213f6a SHA512 a9fd970a6923a37b3cf31524fd85c3ffdb60354f3e02b10cb52df10dc8ae6547b2da0a20cf87b47d3b2cbf262ac16c481e16b74b0bbf7d400b83ed5a6e34839c
+DIST gentoo-kernel-5.15.71-1.ppc64le.gpkg.tar 57200640 BLAKE2B 293bb67d4ec38db63440cc217f21901376479df29e28efa2a6187dcda09f1de0bd75c4cf870bcb0916372a9b9ba2954ef1eaaf93e42c55b129595e15cf030b13 SHA512 e2e8c62c1a14fcaef0c41d1ea7bc3229c4437c39e29bc03882b25b3195ab9a8075ef42b20e9126f33a37eb170ab5ec7ec45b09f83c8799d6bf3a24f7e2c412f5
+DIST gentoo-kernel-5.15.71-1.x86.gpkg.tar 59115520 BLAKE2B 6a4736b49b8fb2394efd5011eab1327a99170dd672f30d1be2af064bfa9648a0641c9d0ecb1cc450fd661efd5f8bd8efcb3806f0aed8b0063c7d6339009b2d1b SHA512 e4f4c47cdea52a5c4c32fe646897775eca5e798fabdd885b57c634fb9c31a7d8fce64f2a391be7ab486a97718ac52e181dcd7e95f2b91695a1efb7ceb417fc23
DIST gentoo-kernel-5.15.72-1.amd64.gpkg.tar 69785600 BLAKE2B f8a046fab5b3fce34612cf2a257d85d178a7384ddc91f0a58bf1bbbb6387151295747cdbaaa610ea74ae10cc74703fe9a966e4d7577e30b0e9d4406ce0495130 SHA512 4c4a2e3094af3835808b375625faf251ffce5a9548f99bcb9db1af8601af84d571ae8dda7f9391be315f9e465de4f28448d758c0a4d9ee98bf49dc35312d90ff
DIST gentoo-kernel-5.15.72-1.arm64.gpkg.tar 62853120 BLAKE2B 2d39a044dff9faea295ab33214b89f30bda38d329182779d440a5e2f138aafc798bc4f199961586e040152bf45868eee9e9f3ba35b99b048b7ffb2b75b849dd1 SHA512 3c63e8b8f8776668c9fe677d710c8e0f4cdbdafa2718f721d1cc9f2c9eb8070dcb61ac1c967adccdac0a6ee143dd5fb93d3aea4edba75f6d570cd92042142650
DIST gentoo-kernel-5.15.72-1.ppc64le.gpkg.tar 57200640 BLAKE2B 81023fb379ed75a613ec08f0dcebc16db028fe8dfcadc6f70b73a7ea04b2d17be3a45920996a9209ab5e45feac13347e0d0912ad425527e7d53442d532cd3c5a SHA512 fc54d901d2e7bf49be3c5d841a1314dfad7ca774729f6b8610aeb196ee91f287cfb81564d4eb255500f13ec6435ca4320dcb9649f00321effeb47c712ff0fca1
@@ -27,6 +45,9 @@ DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7
DIST linux-5.19.tar.xz 131581464 BLAKE2B 4db03a6830a3b3bbf0837e1912182a443d9a4aa8af20a12e6ec814ed708038452d3c0ccee1258cca671c464d76461536363a8adc56e9d098c9a44ae3484a297a SHA512 00313b2f9b82d2dc3fb8294007cf7d7599d254b717ed2de23c81fa7a1bbcbc2798ad286cb94e2f7f5bd54132d1d764facd90d30f79dbcc6616cc7f926adc2623
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
EBUILD gentoo-kernel-bin-5.10.147.ebuild 2999 BLAKE2B 93c1a0cf84370f61fe9ec23bcccad5e2421ac6206411610653a1d8484c835de9def37872c3838f875767032d4331a245beff6cd619ccf53a43312c8331d86d3e SHA512 e4ced34e4d178d478f71d3199615f6b4b6d28127783ece7b7a04bbf376427c533539d75b07baa1692edb43a53a71c0a738982f34d68f6de1e0ef9a3c4260f4d9
+EBUILD gentoo-kernel-bin-5.15.69.ebuild 2996 BLAKE2B 4b949e46ab6e6a391c71fb5a05d9668974c7fe0fa9c1ba605f28b2f19541ca0173c4283804939223e6877623477ed748a06541d37492dfda5f0bf90e7e2efc4e SHA512 11f6e640da9ab19d35480fdb5eaaf5d94f98857cbf696a386b433f240d71a7517457c75c5d9dc16964dd5f44b4c8dce631ccc2c8c27d3e9a9bdf073c44260375
+EBUILD gentoo-kernel-bin-5.15.70.ebuild 3003 BLAKE2B fe1fbf1260aaff760932d83c23aebec1313e9198d8332dece2d5f060bcdea5db46fbbabd1e0f5f125439247b64adaff285cebf06a566a9b4094f43e72089d690 SHA512 b90451d89a4c700892b682862015ac63e5153e30711a2f8acabb2157d84ab8705995460d8a58beba26873830ec85cab81bc734a94c68aa79173e35daf5b0ac23
+EBUILD gentoo-kernel-bin-5.15.71.ebuild 3003 BLAKE2B fe1fbf1260aaff760932d83c23aebec1313e9198d8332dece2d5f060bcdea5db46fbbabd1e0f5f125439247b64adaff285cebf06a566a9b4094f43e72089d690 SHA512 b90451d89a4c700892b682862015ac63e5153e30711a2f8acabb2157d84ab8705995460d8a58beba26873830ec85cab81bc734a94c68aa79173e35daf5b0ac23
EBUILD gentoo-kernel-bin-5.15.72.ebuild 2999 BLAKE2B bf50105e6cc148a793b36139a419ac66f4f14b4a73394b21af62803ab61347d87f800f066ccf7c9e33951c2efbb6d6dd77e7b7f296293cee6b0b7f17f3d1e7e2 SHA512 85bce161a2af46e8b9a2a005200e29e30e1bffc8c2263b7db2a756a73d411168dfc0e7720df907e58ccafe059f72558a47d8c93d9240222c093990de08d7500b
EBUILD gentoo-kernel-bin-5.19.14.ebuild 3003 BLAKE2B 4ab34ea587fa8ccd865b3e236c492fb68a9d0f39c17503fe507107af52934cc14ec4dcf1afe08b92a78f6e4515da77cee078872b631e0711126b8c5b5661ef74 SHA512 6face53807c8ee8f1c1f9129d692514344491fed96102dd6579fd1ab3b0bcd02a730487a50b6a64da5f64050879231696c4d35b0d9862dbf98f4166ec1d55c4d
EBUILD gentoo-kernel-bin-5.4.217.ebuild 2999 BLAKE2B be5c5e139ee4da605dd15cf02c6251a762426d0da46ac2b75d46b79226e7c41c57429ed847e2e646735545fee33cb7ac45d62039158c0004380197255477be12 SHA512 b0ee61606614ca61b655b50a578efefd7fb49437014df935c4ea312ab1257dc415425684a05c6dac1e5dbeac5b1eac81071bf7cae4fec7bd68f8cae985b1c969
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild
new file mode 100644
index 000000000000..8bad69a698ad
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild
@@ -0,0 +1,132 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+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
+ unpack "${BINPKG}"/image.tar.xz
+}
+
+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 "image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv image/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.70.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.70.ebuild
new file mode 100644
index 000000000000..9c843f83530a
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.70.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+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}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+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_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 "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv "${BINPKG}"/image/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.71.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.71.ebuild
new file mode 100644
index 000000000000..9c843f83530a
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.71.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+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}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+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_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 "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv "${BINPKG}"/image/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
+}