summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4566 -> 4574 bytes
-rw-r--r--sys-kernel/gentoo-sources/Manifest8
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.6.26-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.8.5-r1.ebuild28
-rw-r--r--sys-kernel/linux-firmware/Manifest2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20240410.ebuild405
6 files changed, 471 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 4f6eb966114c..01b02f68f7e1 100644
--- a/sys-kernel/Manifest.gz
+++ b/sys-kernel/Manifest.gz
Binary files differ
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
index 559e90799cbe..101aa0568b91 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -60,6 +60,9 @@ DIST genpatches-6.6-31.extras.tar.xz 3704 BLAKE2B 25bfb920528a71136639dcd536f1b8
DIST genpatches-6.6-32.base.tar.xz 1799112 BLAKE2B a9c9af39b7da19c0d3f3a1893de26641b1d5d7ad242de4ceb1659d33573e8df8d173d363f005843149ee21598a2d4f8a6e5fbbdd02926c23cccc01a5c0b8abcc SHA512 2204a3ff6187c349a41f101bddffd39145aa530e6a37792b391db0b3c4150e290ce8909430e87c8deb18400d753a621b90c26d581c08abf104a8bc48197a1fe6
DIST genpatches-6.6-32.experimental.tar.xz 5756 BLAKE2B 101781a9303f91cdc195c557b083d092a3353dadcc4c3ff50779af12143953a4c0b236fb5d37015d70c4734fff9ee2f1939cc95ba68fcb5d86ea9df21f9bb1f3 SHA512 98ce81edb582028434500a6ceaf278d235705473f580c92b84ea6d958ebf60f255ef1b87fcb1f8b7a20f040000be1783474ea1af0d19d18ac3bd8247d414718e
DIST genpatches-6.6-32.extras.tar.xz 3704 BLAKE2B 42d3c81bbd7bb8f062a5f437f8c1c9db1809cea8c0628f8604f7c2c8968fca4c6629bd3dafa2eae1e7b7692ff33a9836e1be96a0e3b45db95752b96b9f76f58b SHA512 35fe52d2ad4b4621d7bb615e0c5888eae83a88d8554abae069d68e801598c2fad360c9cdefdbf3e7c3c083e50eb2317f775f2ce23c26ee7a07446184b7dbbdca
+DIST genpatches-6.6-33.base.tar.xz 1799480 BLAKE2B c724ac510c4ffa2494a95268c2c97898f78c54a5ffb48f2fd6b74dc27dcf51d9403e60ff4e10d1f1c673a2d09ec6dd9a00683297631fcebe28d4f3497ff31e4b SHA512 dc253ace1b4d1da549e5039682f4e6987ad48da88c63a94968d3fc817b2a64faffbf3e7024417036df3f645346f02f913e81857b7b261a6b174fa4f9d18b1db1
+DIST genpatches-6.6-33.experimental.tar.xz 5752 BLAKE2B 591ce17e5358e32fa84d021360297fbbfe452d2ab212f80f2b179fc62a327d49416b48beca406d61f8042dfb3867f856d1af159908ce0184641f5b9af6f9a8bf SHA512 6a473108c72fd73742fc761f1f25dab96154faed3c7784a3707c9dd9706d498f76f2fe95ad572be91533c9997e3f356bdcd8a6b0c8a28ca690257e717e3e1e38
+DIST genpatches-6.6-33.extras.tar.xz 3704 BLAKE2B c337062a967a4261f48d3a571d4267ac9e0a259013eb9f5f40ed306712d83ac87108c7e60e7479e6e3fec9490c85e6d34bfc0a5c67fd30fe56970b858ef9ccd0 SHA512 fc857243332ef3b7c5e1698c0a4fea7860ddfc2a4f240e6f538b33bf4332d324d180745270fd0787e9d26fca575a72ec5bd0c0983d63304775278a4d51a168c1
DIST genpatches-6.7-13.base.tar.xz 742864 BLAKE2B 63b5326788da244f61d76327c346ec64e7916eb4e6163a4ec7a94f4c51a5ce4fe0a75a58a781f4536811897226213c5ec85dc93b7b63d8d7ca81a0edb8724a98 SHA512 2d283438c2c9c7fec82107455949f6e525d34cd0542cf28594773f1dabc7061034579d71dda4e386f63cf8cd7d7921070a9cdd59c6478077ef87cb4b8064b431
DIST genpatches-6.7-13.experimental.tar.xz 79092 BLAKE2B 643f69166d9f0208354abc62468ac2056ace23d53fb508520b0b23b36dcef55935dcf40f09b045402070c09d3dddd9cb2145ceb505271cfea8885073c9930413 SHA512 171c6390d76cadd374d95ba89a940aaaecb61ab9039a0cdf7c2df43d63c375f65b88ff7f3a07b930c65936623edd1896bb77ef9f58bdb1c385854355957ab5b5
DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67
@@ -89,6 +92,9 @@ DIST genpatches-6.8-6.extras.tar.xz 3704 BLAKE2B cf93bc6cb2aa440538d76a4a39869be
DIST genpatches-6.8-7.base.tar.xz 490916 BLAKE2B 1e3c77cd80110af720dfe8b20600aab6c2998b05f289f906385c3407c264c77fc84778a3036101941b03e0d59d7c889bac33e351a83895b6d635e87b5dafb5d9 SHA512 2a3dcf50a1a78f58aaf2b0f9966004a3a1d982b0967d2311d21d9d205d7e9e889f78b0cff841ba4934c0253388db315542b510ee9c5acc52292d1a9ad1b4a916
DIST genpatches-6.8-7.experimental.tar.xz 79608 BLAKE2B cb8a278ed29f00595d20fbf51974787b154e67579039c3597a33185603de64e5c94b0246b8127c1f0431f3392fe3f343177df95ba7a7465c832325d7a5574e4c SHA512 476659729ae64f16a51d21046bef3f89b574daa54e8b73e309e92d10770758cb4875f216ee564e835db14b726cc3eff173c368c3b9137438c00169e0bfd0a206
DIST genpatches-6.8-7.extras.tar.xz 3700 BLAKE2B 95726ead3e318c0fcb3f15db7acadb4e4114157372bef7439ce310d3723faf312c7a79ea49490c59ce91c8c4f26a21e264bc6a4f6796ede0eafb45361d8d9ec6 SHA512 81418065cbeebe1af3ae23a29deb2994bcf250e646db045d7e01ca937bb19e8c11939a3d4649a697737aa0503c31d69d75045af5f540b98773ae59ac09528b70
+DIST genpatches-6.8-8.base.tar.xz 491508 BLAKE2B 856cbc5f02af4b2c7073e2342a9d8131145fc0e9098557fbafc62cb5f24ce3009bb1ca9332fd1d43368bfca8963fd3f734de646faae1c3f95cf670e7768a6f37 SHA512 0af92f11d273bd5a13e0bc3effa2e6700b1404ae82a8bdcdf8be8279bacc5a45deb504c8df4281bf143698137fbf474337f91eeedfc681c019f4cc3313dd0da8
+DIST genpatches-6.8-8.experimental.tar.xz 79612 BLAKE2B 5a9bc8d4f65b924cd29fb01a1a25371c21d7555486ccbf4affff35da49415d396cc4c2eb867322e8b089af63e21c090b8bb7cb18851e85ad1c526f9bfa9e54f1 SHA512 a6b523d3a7531a3d611dfe64e47782b0fde4b35193e46fbc1fbb095bbb457cf249414fcde4c26fa427842f6a947ba1b8bf17b6183fdf3a9b284781580fc9b62a
+DIST genpatches-6.8-8.extras.tar.xz 3704 BLAKE2B 777b8ef344a84e3be85e65f8d0753ca7f2609e80ff80f9d460f9ba3c19f3fa19f975a199c2ea9b36901dcfd7cdeb8432653ff01db5da076336a8885fc4da982d SHA512 3fb1ed8a6b243a8c2f09aed66b5967df441e0ed4fc89dc9cb81b33561f8517f699787caf429bc173a1ee659912926a79d01603515c34fce43238525ef9cd8679
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
@@ -116,6 +122,7 @@ EBUILD gentoo-sources-6.6.22.ebuild 755 BLAKE2B 91b155d19c3f15f5f8c02647cf7ef6ab
EBUILD gentoo-sources-6.6.23.ebuild 755 BLAKE2B b75475bc0a4b46e4b1b4a75a836c76497685014046e01c51d6df6d8245eede16bc936ef6390094672c7d381b53fcd0aa58d9bf2d0d71fdc56a70a14e46c65df5 SHA512 9180a62ecddfae3249ffd58bdc8147fa98b7c933ae09466be8399c6a8ff59ff330212d588694b8322c97c95cdf2b8ed01f42aa4fa17d55c5934048f2be8ac513
EBUILD gentoo-sources-6.6.24.ebuild 755 BLAKE2B 287a1c17db36dcb5cd5eb97094487757cb3f4fc01ff1dd28faae1decb9d35b8a8afc9be5d345f5482830ed51c876072572db26dfe11b5920667a076176859571 SHA512 9bda85374cc8f9360f0e86b5aceb2904fab6fedbd4c88899e4b4f55f8b7edbf802a722365d2f785539b48b90400dedd526b69332759292b57ebb342a1c1adf21
EBUILD gentoo-sources-6.6.25.ebuild 755 BLAKE2B 75d266aa070570345231656727eba86a594035b7cc5155f0ef16394faf0c75a65cf3ae84aefe5ddb7f1d9a8fd510c0bc28f2e9beff2a2d904ca449784dbd29f6 SHA512 6ecd820689523ca4c76c10b6170e7e8727e858ab1f6bd220a5ed6c74baa6ac7bb56e17536eb59815c2396af620670a29dede3c36c0651670db1a898c9dd88ea9
+EBUILD gentoo-sources-6.6.26-r1.ebuild 755 BLAKE2B 2cbb251d4ac21a5800c9b9fc92f3c84507e4cd93f2eb375767f86f25a4261e30f860872168e069d059e52da4375323298f240d4888fbae4b7cbc0da4e87a4fbd SHA512 dbe66a5b8f11ce0f650b62e7a2d8ca32b726dada52bf3dc52b52a7c6424a864c04e8f3bb90a8ab0aa8efe70b99ab1c27dadc53cbd8633c99786d2fd138cd9dc7
EBUILD gentoo-sources-6.6.26.ebuild 755 BLAKE2B 95652c54d4a700ec7428233ebca61dbc7c5ba207f4199f96d56a3d4f4399c8b3a065a70f88f3fd18f16d84cfb1267c5a7d4bdef3c93afb3a829f31c2e1d46e74 SHA512 fa144f82e16e66f6c4adc12f1c180aa3da1f0f2662a6a25157831d080919724cc585230c144836777515c3608d6a0610bfee962a40157fe257aee75e41b2a312
EBUILD gentoo-sources-6.7.10.ebuild 755 BLAKE2B 329549a3a216644c4940d7c63e2a220518e4e18f9ddf3015bf0d4682e5d5bb9b5c883b842e034cdd0dd1b2e454808bd5fb101e396f0724903820b86a3401d6a7 SHA512 d53c73a5d4264e8a88e0a9600af4aca1876bd66ac317dcdc8b330878270938598637a34b0da4f76e8d8771f524af098a3cb37678e71e52fb260d2db0118a858b
EBUILD gentoo-sources-6.7.11.ebuild 755 BLAKE2B f2d745142cff67f2597e645cc4e1921f3b24fb8c1caa41a639412091ffde4a169eb38a8a70da070fdf5d474670bd5653eb479a2df2cfa6726ca5a95cf28aa070 SHA512 f06aeb2395c4e6fd68bfe264ab5c79de7dcd044321d692356a4ada1cc0504f4523b0a83e8036faddc590a2ea8713d807d9495b75f39393bf5d0058179f2d459c
@@ -126,5 +133,6 @@ EBUILD gentoo-sources-6.8.1.ebuild 754 BLAKE2B a19c54899b1022a99e4b843b0da415252
EBUILD gentoo-sources-6.8.2.ebuild 754 BLAKE2B 85719aa5dff43fbbe5631e1d767335b78e50d676a895fa3a82c0114e7bafc2b8494dea0f435ce71e941859989136ea8820a78c85d4b06ea59e4bfb9851167711 SHA512 7c9054ec8986c60e4dc2ed263b7ee078552063eb0ee53fbdd100f66f712135bc45b8e4fc3d8c26597667818ebcd41b52ed519d4808f222faa98dd636362b6906
EBUILD gentoo-sources-6.8.3.ebuild 754 BLAKE2B 4f78a4acc83c56462efff7437166ac119277acb40a8321dda7ca962d766081742d79d37e0c788f8724577251abb62b0a501e9eeb460df82c16c89a5cc47f903e SHA512 604ec4fd3481d88f68c30db4fbe03fee930e2fad1248d7937e86b4974e62c7278b71875141552fd5a14f58760c1b885a0998daee80ce62b75850720a0f4b542d
EBUILD gentoo-sources-6.8.4.ebuild 754 BLAKE2B 6bec8bcc38b2369222b9961f9939cf6c7fc8f5bd215ec1920e5528082e35f4cfc70a00387dfe62484fcd0004f1b416b9b5c699696f9ab2a2fca640bb9349c85b SHA512 bd471976db6ab099784d1b3cb70ab421ff0a663c821b2653cfe17ad877c04273f93e289140643032669fe51ee57f0816296bd5c412764842bb0687fe2fb6da1c
+EBUILD gentoo-sources-6.8.5-r1.ebuild 754 BLAKE2B 724c6c65a508a632832fd181906222ddd21e83de0bed2f4108fa9d3661ebb5726ebb4a44a90a9ba2e9e2fcf41c777a7e95d0f63d83aa7f02a41756b47aab85b4 SHA512 98f05c40e412a21bc52ca9a58252d6fdd46da8c8c9480027690f4c23259aa25b0c0f49a1ec8a00ccd9176a69fdc5d905395c2590747e50a129ba8080f8be9913
EBUILD gentoo-sources-6.8.5.ebuild 754 BLAKE2B 164a2cbaadd38acb3267d8d37b2d57aed3a78326a3c363cbe33745684b5ec28b87535cb138edcda891a6cac8113cee9c29b57b3be1e1a6e685f408013746e9a0 SHA512 be2243c610e1301d7fefc4650f28ad4ad535f7a95e52108880bfdc329806d25e68f9af5f131f7a4116ce4eb9fb37099471aff41064f3d6128b06a5f4a682b89e
MISC metadata.xml 501 BLAKE2B f5363c8a19540d5bb924b38bdebeb8dbc60c84e58d1d87a9148a3e7abb09b0a1b733c98b130b778b8ab3a88375598444aa9d537d8c5338864a3d4497600d7836 SHA512 bc1ba0d75dbf5b95b3f93e666389c6408f20aebeec99bc8ec00653758b67588e07214285ed106fd9e5aed2c8d57c625d666c797212fda51e1ab98ce1df816467
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.6.26-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.26-r1.ebuild
new file mode 100644
index 000000000000..32080ed6592b
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-6.6.26-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="33"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.8.5-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.8.5-r1.ebuild
new file mode 100644
index 000000000000..9c624a24d49e
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-6.8.5-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="8"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa -ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
index 042b8dafc5f0..2732a914903c 100644
--- a/sys-kernel/linux-firmware/Manifest
+++ b/sys-kernel/linux-firmware/Manifest
@@ -2,8 +2,10 @@ AUX linux-firmware-copy-firmware-r3.patch 2210 BLAKE2B 06aa2fa8b9dce583aba07f0b6
AUX linux-firmware-copy-firmware-r4.patch 1538 BLAKE2B 65712bb1b6ba0d4c2a04f2e202a4a9ee272aca364813825f568a6544b7b63537fc44a4304269fd323c9299f8dce4744414f8fe859958d5f9b52d57c9822615b4 SHA512 56694eb4ae6ec13093f1e3f86df9f5494109693f6456ed6d3ad2b2041deae0ce36e2919d256025f7442fcf0e966c0954ce4634c717e4e7cb68fc6d34ae5554f3
DIST linux-firmware-20240220.tar.xz 368128968 BLAKE2B 6eefe70f8b55619d58b2ed538cd3eb85e013e231d1cb474fefc48f8af6a2f61a763ef73793eed30e17c67fd83a80b9c91f0af6c7b049861fa57c088dc9604d71 SHA512 faa4fbe3556b67e2adc9afebb8a3909ac853eeb0b9b43eafe1aa9144e633a6356e11af7c3ee008e654ae928dd2ffcd4261bee3e63a3bee4cae7cd3b442916299
DIST linux-firmware-20240312.tar.xz 370815780 BLAKE2B 576b1e9fe6a181e2ae6776272e8dae0fd5d2cf87c9333f27c1388641fe94c39ae2b546ec49930b105994103f86d9f6754929fecb713902c7e18fc887f955d56e SHA512 8c71b035b276350274084a1a893e44839a9c6496626a09c07c5cbf26df80c695c611d97d2d310f3f3cbb8052d4ce79a1b7a85fbeb295d8bcba53d4ae78b17fa1
+DIST linux-firmware-20240410.tar.xz 371871028 BLAKE2B 0201c38421bbbbeaa77590aeb71806111c20236d42c414b58a2f567889b3fe5136cc9fbfb20275d735ba5cb55fa6d01242014d6c94f75bd6e1bcf263e6661803 SHA512 fe6681e57ac3dfc29cdc0d6aec44a5aca5be6fc747e2ecd9334caaa55f1a713906d695cf56819f55dd6273f0bffef07de3d086020ad435b74119fe629ba31b32
EBUILD linux-firmware-20240220-r1.ebuild 11295 BLAKE2B 8ba2fa814fcafff9092a68f5c12e9c82b657a1b3d1ea8423f0da67aaf809cd8e9ba33993d56d6d23e83813a7194219e2bb564c6b0d26dcd307cfc40554511445 SHA512 aea3c8e11e41a973d73c2986e432b8b44b4c6476a9af94e26af7824cdbb37a9e90126a151fd1e5886b224fb60525a82e80111ea87ed68b397c0f6a66af6624cb
EBUILD linux-firmware-20240220-r2.ebuild 11117 BLAKE2B 84195c29c1ddd9c9c5298bc8d189ef1620351d3f9e1d9a87c948ea080f07f134aa19535376c29b38278ecafa2e5c0d27c400f33c9edcf7f4e4fecf785a400d11 SHA512 c9096a0ff731c879b3bfcaf1320c7b2b2cfb9cca10a4fddb8dd351f8983f50140086937bba0e05b46e4fe56f8b48453a95d912226e07ba6480f303a49b6e7530
EBUILD linux-firmware-20240312.ebuild 11109 BLAKE2B 4406b57becaaedb68da08509f2247d936abeeb2464f587b09474e0783a5713d4100de9f3756c51e129623ce66f9e6705622213c6effe65150c1c349fd550bcb6 SHA512 aee282b6916d95df300fc1a03a58a2707fe4fb5423e4511c8969d2a6d9dcc9c03f70051e082ac9d31c8c0761723ce9459ed8473cd634cd30c597664f1c65215b
+EBUILD linux-firmware-20240410.ebuild 11117 BLAKE2B 84195c29c1ddd9c9c5298bc8d189ef1620351d3f9e1d9a87c948ea080f07f134aa19535376c29b38278ecafa2e5c0d27c400f33c9edcf7f4e4fecf785a400d11 SHA512 c9096a0ff731c879b3bfcaf1320c7b2b2cfb9cca10a4fddb8dd351f8983f50140086937bba0e05b46e4fe56f8b48453a95d912226e07ba6480f303a49b6e7530
EBUILD linux-firmware-99999999.ebuild 11247 BLAKE2B 5beb777e773325535aa9b0ca75d20bb2c9dd2ae6aec098947b0eda7b5a9d140c898530ed0e8623168052bbf0a84b795a05718e07c241be946f8904d36dafdfdf SHA512 f5ff962e300cd5f4c2a74e6dd89ec2f9acdfccc836c2d2562246ee8599a8be44760626b7dfa1e193f1c1b8e6f630184cee39a25313f4b5410397e678b7c788a4
MISC metadata.xml 1289 BLAKE2B 109336d30e5ec5fb5e679cff9b31e6f69c0b4f629e2aaf4d0d7b6c0db78c1ddcbbb0b283f724f2758207324b622c2af9dfe15874ab34b34876e3e4f58cb5ced6 SHA512 9b925b26bb58a39360ab5ff3cdd7d88bd489645e73f101209f0813a0b926b15dae34f28db05ff6419a0a62fab2ac84ae0546b5007ce17ad3611188bf7aeda3e5
diff --git a/sys-kernel/linux-firmware/linux-firmware-20240410.ebuild b/sys-kernel/linux-firmware/linux-firmware-20240410.ebuild
new file mode 100644
index 000000000000..8ea7565f00ce
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20240410.ebuild
@@ -0,0 +1,405 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit linux-info mount-boot savedconfig multiprocessing
+
+# In case this is a real snapshot, fill in commit below.
+# For normal, tagged releases, leave blank
+MY_COMMIT=""
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+else
+ if [[ -n "${MY_COMMIT}" ]]; then
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_COMMIT}"
+ else
+ SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
+ fi
+
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
+ redistributable? ( linux-fw-redistributable BSD-2 BSD BSD-4 ISC MIT )
+ unknown-license? ( all-rights-reserved )"
+SLOT="0"
+IUSE="bindist compress-xz compress-zstd deduplicate initramfs +redistributable savedconfig unknown-license"
+REQUIRED_USE="initramfs? ( redistributable )
+ ?? ( compress-xz compress-zstd )
+ savedconfig? ( !deduplicate )"
+
+RESTRICT="binchecks strip test
+ !bindist? ( bindist )
+ unknown-license? ( bindist )"
+
+BDEPEND="initramfs? ( app-alternatives/cpio )
+ compress-xz? ( app-arch/xz-utils )
+ compress-zstd? ( app-arch/zstd )
+ deduplicate? ( app-misc/rdfind )"
+
+#add anything else that collides to this
+RDEPEND="!savedconfig? (
+ redistributable? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-block/qla-fc-firmware
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/raspberrypi-wifi-ucode
+ )
+ unknown-license? (
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ )
+ )"
+
+QA_PREBUILT="*"
+PATCHES=( "${FILESDIR}"/${PN}-copy-firmware-r4.patch )
+
+pkg_pretend() {
+ use initramfs && mount-boot_pkg_pretend
+}
+
+pkg_setup() {
+ if use compress-xz || use compress-zstd ; then
+ local CONFIG_CHECK
+
+ if kernel_is -ge 5 19; then
+ use compress-xz && CONFIG_CHECK="~FW_LOADER_COMPRESS_XZ"
+ use compress-zstd && CONFIG_CHECK="~FW_LOADER_COMPRESS_ZSTD"
+ else
+ use compress-xz && CONFIG_CHECK="~FW_LOADER_COMPRESS"
+ if use compress-zstd; then
+ eerror "Kernels <5.19 do not support ZSTD-compressed firmware files"
+ fi
+ fi
+ linux-info_pkg_setup
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ if [[ ${#GIT_COMMIT} -gt 8 ]]; then
+ mv ${PN}-*/ ${P} || die
+ fi
+ fi
+}
+
+src_prepare() {
+
+ default
+
+ find . -type f -not -perm 0644 -print0 \
+ | xargs --null --no-run-if-empty chmod 0644 \
+ || die
+
+ chmod +x copy-firmware.sh || die
+
+ if use initramfs; then
+ if [[ -d "${S}/amd-ucode" ]]; then
+ local UCODETMP="${T}/ucode_tmp"
+ local UCODEDIR="${UCODETMP}/kernel/x86/microcode"
+ mkdir -p "${UCODEDIR}" || die
+ echo 1 > "${UCODETMP}/early_cpio"
+
+ local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin"
+ cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode"
+
+ if [[ ! -s "${amd_ucode_file}" ]]; then
+ die "Sanity check failed: '${amd_ucode_file}' is empty!"
+ fi
+
+ pushd "${UCODETMP}" &>/dev/null || die
+ find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img
+ popd &>/dev/null || die
+ if [[ ! -s "${S}/amd-uc.img" ]]; then
+ die "Failed to create '${S}/amd-uc.img'!"
+ fi
+ else
+ # If this will ever happen something has changed which
+ # must be reviewed
+ die "'${S}/amd-ucode' not found!"
+ fi
+ fi
+
+ # whitelist of misc files
+ local misc_files=(
+ copy-firmware.sh
+ README.md
+ WHENCE
+ LICEN[CS]E.*
+ )
+
+ # whitelist of images with a free software license
+ local free_software=(
+ # keyspan_pda (GPL-2+)
+ keyspan_pda/keyspan_pda.fw
+ keyspan_pda/xircom_pgs.fw
+ # dsp56k (GPL-2+)
+ dsp56k/bootstrap.bin
+ # ath9k_htc (BSD GPL-2+ MIT)
+ ath9k_htc/htc_7010-1.4.0.fw
+ ath9k_htc/htc_9271-1.4.0.fw
+ # pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1)
+ cis/LA-PCM.cis
+ cis/PCMLM28.cis
+ cis/DP83903.cis
+ cis/NE2K.cis
+ cis/tamarack.cis
+ cis/PE-200.cis
+ cis/PE520.cis
+ cis/3CXEM556.cis
+ cis/3CCFEM556.cis
+ cis/MT5634ZLX.cis
+ cis/RS-COM-2P.cis
+ cis/COMpad2.cis
+ cis/COMpad4.cis
+ # serial_cs (GPL-3)
+ cis/SW_555_SER.cis
+ cis/SW_7xx_SER.cis
+ cis/SW_8xx_SER.cis
+ # dvb-ttpci (GPL-2+)
+ av7110/bootcode.bin
+ # usbdux, usbduxfast, usbduxsigma (GPL-2+)
+ usbdux_firmware.bin
+ usbduxfast_firmware.bin
+ usbduxsigma_firmware.bin
+ # brcmfmac (GPL-2+)
+ brcm/brcmfmac4330-sdio.Prowise-PT301.txt
+ brcm/brcmfmac43340-sdio.meegopad-t08.txt
+ brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt
+ brcm/brcmfmac43362-sdio.lemaker,bananapro.txt
+ brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
+ "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
+ brcm/brcmfmac43430-sdio.AP6212.txt
+ brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
+ brcm/brcmfmac43430-sdio.MUR1DX.txt
+ brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
+ brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
+ brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
+ # isci (GPL-2)
+ isci/isci_firmware.bin
+ # carl9170 (GPL-2+)
+ carl9170-1.fw
+ # atusb (GPL-2+)
+ atusb/atusb-0.2.dfu
+ atusb/atusb-0.3.dfu
+ atusb/rzusb-0.3.bin
+ # mlxsw_spectrum (dual BSD/GPL-2)
+ mellanox/mlxsw_spectrum-13.1420.122.mfa2
+ mellanox/mlxsw_spectrum-13.1530.152.mfa2
+ mellanox/mlxsw_spectrum-13.1620.192.mfa2
+ mellanox/mlxsw_spectrum-13.1702.6.mfa2
+ mellanox/mlxsw_spectrum-13.1703.4.mfa2
+ mellanox/mlxsw_spectrum-13.1910.622.mfa2
+ mellanox/mlxsw_spectrum-13.2000.1122.mfa2
+ )
+
+ # blacklist of images with unknown license
+ local unknown_license=(
+ korg/k1212.dsp
+ ess/maestro3_assp_kernel.fw
+ ess/maestro3_assp_minisrc.fw
+ yamaha/ds1_ctrl.fw
+ yamaha/ds1_dsp.fw
+ yamaha/ds1e_ctrl.fw
+ ttusb-budget/dspbootcode.bin
+ emi62/bitstream.fw
+ emi62/loader.fw
+ emi62/midi.fw
+ emi62/spdif.fw
+ ti_3410.fw
+ ti_5052.fw
+ mts_mt9234mu.fw
+ mts_mt9234zba.fw
+ whiteheat.fw
+ whiteheat_loader.fw
+ cpia2/stv0672_vp4.bin
+ vicam/firmware.fw
+ edgeport/boot.fw
+ edgeport/boot2.fw
+ edgeport/down.fw
+ edgeport/down2.fw
+ edgeport/down3.bin
+ sb16/mulaw_main.csp
+ sb16/alaw_main.csp
+ sb16/ima_adpcm_init.csp
+ sb16/ima_adpcm_playback.csp
+ sb16/ima_adpcm_capture.csp
+ sun/cassini.bin
+ acenic/tg1.bin
+ acenic/tg2.bin
+ adaptec/starfire_rx.bin
+ adaptec/starfire_tx.bin
+ yam/1200.bin
+ yam/9600.bin
+ ositech/Xilinx7OD.bin
+ qlogic/isp1000.bin
+ myricom/lanai.bin
+ yamaha/yss225_registers.bin
+ lgs8g75.fw
+ )
+
+ if use !unknown-license; then
+ einfo "Removing files with unknown license ..."
+ rm -v "${unknown_license[@]}" || die
+ fi
+
+ if use !redistributable; then
+ # remove files _not_ in the free_software or unknown_license lists
+ # everything else is confirmed (or assumed) to be redistributable
+ # based on upstream acceptance policy
+ einfo "Removing non-redistributable files ..."
+ local OLDIFS="${IFS}"
+ local IFS=$'\n'
+ set -o pipefail
+ find ! -type d -printf "%P\n" \
+ | grep -Fvx -e "${misc_files[*]}" -e "${free_software[*]}" -e "${unknown_license[*]}" \
+ | xargs -d '\n' --no-run-if-empty rm -v
+
+ [[ ${?} -ne 0 ]] && die "Failed to remove non-redistributable files"
+
+ IFS="${OLDIFS}"
+ fi
+
+ restore_config ${PN}.conf
+}
+
+src_install() {
+
+ local FW_OPTIONS=( "-v" )
+ local files_to_keep=
+
+ if use savedconfig; then
+ if [[ -s "${S}/${PN}.conf" ]]; then
+ files_to_keep="${T}/files_to_keep.lst"
+ grep -v '^#' "${S}/${PN}.conf" 2>/dev/null > "${files_to_keep}" || die
+ [[ -s "${files_to_keep}" ]] || die "grep failed, empty config file?"
+ FW_OPTIONS+=( "--firmware-list" "${files_to_keep}" )
+ fi
+ fi
+
+ ! use deduplicate && FW_OPTIONS+=( "--ignore-duplicates" )
+ FW_OPTIONS+=( "${ED}/lib/firmware" )
+ ./copy-firmware.sh "${FW_OPTIONS[@]}"
+
+ pushd "${ED}/lib/firmware" &>/dev/null || die
+
+ # especially use !redistributable will cause some broken symlinks
+ einfo "Removing broken symlinks ..."
+ find * -xtype l -print -delete || die
+
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+
+ # sanity check
+ if ! ( shopt -s failglob; : * ) 2>/dev/null; then
+ eerror "No files to install. Check your USE flag settings"
+ eerror "and the list of files in your saved configuration."
+ die "Refusing to install an empty package"
+ fi
+
+ # create config file
+ echo "# Remove files that shall not be installed from this list." > "${S}"/${PN}.conf || die
+ find * ! -type d >> "${S}"/${PN}.conf || die
+ save_config "${S}"/${PN}.conf
+
+ if use compress-xz || use compress-zstd; then
+ einfo "Compressing firmware ..."
+ local target
+ local ext
+ local compressor
+
+ if use compress-xz; then
+ ext=xz
+ compressor="xz -T1 -C crc32"
+ elif use compress-zstd; then
+ ext=zst
+ compressor="zstd -15 -T1 -C -q --rm"
+ fi
+
+ # rename symlinks
+ while IFS= read -r -d '' f; do
+ # skip symlinks pointing to directories
+ [[ -d ${f} ]] && continue
+
+ target=$(readlink "${f}")
+ [[ $? -eq 0 ]] || die
+ ln -sf "${target}".${ext} "${f}" || die
+ mv -T "${f}" "${f}".${ext} || die
+ done < <(find . -type l -print0) || die
+
+ find . -type f ! -path "./amd-ucode/*" -print0 | \
+ xargs -0 -P $(makeopts_jobs) -I'{}' ${compressor} '{}' || die
+
+ fi
+
+ popd &>/dev/null || die
+
+ if use initramfs ; then
+ insinto /boot
+ doins "${S}"/amd-uc.img
+ fi
+
+ dodoc README.md
+ # some licenses require copyright and permission notice to be included
+ use bindist && dodoc WHENCE LICEN[CS]E.*
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+
+ # Fix 'symlink is blocked by a directory' Bug #871315
+ if has_version "<${CATEGORY}/${PN}-20220913-r2" ; then
+ rm -rf "${EROOT}"/lib/firmware/qcom/LENOVO/21BX
+ fi
+
+ # Make sure /boot is available if needed.
+ use initramfs && mount-boot_pkg_preinst
+}
+
+pkg_postinst() {
+ elog "If you are only interested in particular firmware files, edit the saved"
+ elog "configfile and remove those that you do not want."
+
+ local ver
+ for ver in ${REPLACING_VERSIONS}; do
+ if ver_test ${ver} -lt 20190514; then
+ elog
+ elog 'Starting with version 20190514, installation of many firmware'
+ elog 'files is controlled by USE flags. Please review your USE flag'
+ elog 'and package.license settings if you are missing some files.'
+ break
+ fi
+ done
+
+ # Don't forget to umount /boot if it was previously mounted by us.
+ use initramfs && mount-boot_pkg_postinst
+}
+
+pkg_prerm() {
+ # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
+ use initramfs && mount-boot_pkg_prerm
+}
+
+pkg_postrm() {
+ # Don't forget to umount /boot if it was previously mounted by us.
+ use initramfs && mount-boot_pkg_postrm
+}