diff options
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r-- | sys-kernel/linux-headers/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-6.6.ebuild | 50 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest index 2045ff855332..9dfdf460a335 100644 --- a/sys-kernel/linux-headers/Manifest +++ b/sys-kernel/linux-headers/Manifest @@ -13,6 +13,7 @@ DIST gentoo-headers-6.3-1.tar.xz 1172 BLAKE2B 1203030d430d98fec697da541707927fe8 DIST gentoo-headers-6.4-1.tar.xz 1164 BLAKE2B a96e98e6b095566070ba6d40f51aeb14e61beb7884b7db962246e93bc54303f0ba0f3cf4900a440f0aeda220e756f0d59df77213e50512a649ed9812860fe681 SHA512 4ca45a6cc59ed21edb950bd1c67e47b9153943a71ec5a5319f9f9160456a184fbb97bfc7071038e5e011abe6f3fd375a46a4d6e60106d1fb8f95bff83ca9cdf6 DIST gentoo-headers-6.5-1.tar.xz 1168 BLAKE2B 56c40f909565c8314b4821df457b9cc097c0325e60e3fe1476697eecc024fa66003dfa88fd7bc112a054e41e17e62d853c42ecd2b5bf2994030701d9f378ccb1 SHA512 4266f0b3cee7805bb877b5578a8c1d2edb0723ac0f6f08d8daba5b8f8d28d874a555fdf6dc5f89a876c0ece102a8cafa4cd5eb2da111b6365258457db649109f DIST gentoo-headers-6.5-2.tar.xz 3300 BLAKE2B 5f62bc4fdf2e149eac9f5540bc8e07b27698a3d699fe51a704083086fd52ebb61c0d8f7b4d3f67c4a25c4bfabda57e20703bc3c6c34a724c57c97457decad5c6 SHA512 31833ce19d0e808e61341a2297902eabffe0112a62e4ae0295b432240069f83998ebd3a6f87a8bd17cd20fc8f4715b20ced3bcebffe57d68d049e36f757340b2 +DIST gentoo-headers-6.6-1.tar.xz 1172 BLAKE2B 626bb33b42f48bceca2ba6a0a9c0b043a8607bb391d3b541e98d2af42eacfabeda3a5a3d48b7bee1fd0a2a8ad0b6173bde49d3827ea087e501eb0e91d18c4ab7 SHA512 09bcda97d9d17ee3f66ee46d9c00b8ac4fba5b9662fa24e4e2754bd9e4e7b3f097e5f2d52281eeb7a671dfe303aabe15c8fd66f117fddf29fb094e28d8c603b3 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a DIST gentoo-headers-base-4.19.tar.xz 7956220 BLAKE2B 5b6868188b6cb505556b8f307972be6b27c0201e8287f6a2c4d0ac8bf16cfe048cb05afacf879731ba81de5e2a8c5afc4adad007e00b12efb8b2a158a666f4dd SHA512 ef0f159cb31651bf8e00c31d8ac807e64413c7bf88807e1ab4779524db10eec4726b65af0fad034a0cb2e000cd61a6008bcc174828061ffaf633c170dd09645c @@ -25,6 +26,7 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65 DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928 DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257 +DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD linux-headers-3.18-r1.ebuild 1363 BLAKE2B 4a0c5ff3c52a22cb7f4c23945887de8acc3e5ed6176e6a899d86cf795a09403152241df75834cf7a3085782052e7f0f785b6831751bbef51aaf3105ca82bbb5c SHA512 5ad47c9ad8776ccabefab9011176a7b6a2d12264a44159d653baa57b57d19f1a02cceb6e537ba055519d1578965229e5a680176b69530003e2cac18fa417581e EBUILD linux-headers-4.14-r2.ebuild 1283 BLAKE2B 2f0282f1078199c2e451ec8f2b4fb08e4e00e4b19cabd72d8abc6d8cbeb905cab9d84cac2436fda97f7a5bf476038ea1c85204bf4cc88634e98c18669611288b SHA512 c3b91a9c96f6af0ecb53e31da5224f61a5350dc8887679f632d9eb28788ab1f0221391950b92142734b0234a5a9d7070ff3cad78cf12fbeb5b08583144bda07e EBUILD linux-headers-4.19-r1.ebuild 1440 BLAKE2B 2fd246a850a1d1ccad8d1599bb10f6fb40492332eee2f8dacf172d834c94f7ff992d7b29d3f2510d19856249346bda102b9ae01ca3e0786d177943129ef5ca62 SHA512 7b4b276f4653d6c60b6aa1d55efc07fa7d9625b29dc4449cbaa7bcd7a583b0b26a8f84906977c870a76d4b00765a5870572f4e0be2804dbcec62d8949f026a72 @@ -38,4 +40,5 @@ EBUILD linux-headers-6.3.ebuild 1282 BLAKE2B bf9259941d7871592b797a50ebf5b95d56e EBUILD linux-headers-6.4.ebuild 1288 BLAKE2B d317a66c51c95a61f0602ddc0a1ff94e8e2965bf49720dedac3c9971a66f7c7f2d63af7bb2cf53f4cb6144826dfbaf96129b63e030417c13b6fe5cc8328926d2 SHA512 df013c144ef0c282f76d5bb426f0a81f786781f03c0c6063156ede777bd8cceee4cfc3d500744e14c4761f966cba75d83a4a6bb183375f1b9bbd169f3b7f69bc EBUILD linux-headers-6.5-r1.ebuild 1288 BLAKE2B 110db6c71b2b790445a32f9ec9b96724b8afe60dc85b438c09deb76722a01574c6637a290f75c1c197f0a125b2a4ba1d23dfaa4ce43b3a8fa29fa193d59a9bc5 SHA512 bfe3b8e0767a6d4500285c4b9e78b877f3ffee7fe8ec186362e2b8669b1a775caedeb1bab33b90396b996c146e2887a869b003055a9ff6d250d4ccd958cf99f1 EBUILD linux-headers-6.5.ebuild 1288 BLAKE2B d317a66c51c95a61f0602ddc0a1ff94e8e2965bf49720dedac3c9971a66f7c7f2d63af7bb2cf53f4cb6144826dfbaf96129b63e030417c13b6fe5cc8328926d2 SHA512 df013c144ef0c282f76d5bb426f0a81f786781f03c0c6063156ede777bd8cceee4cfc3d500744e14c4761f966cba75d83a4a6bb183375f1b9bbd169f3b7f69bc +EBUILD linux-headers-6.6.ebuild 1288 BLAKE2B d317a66c51c95a61f0602ddc0a1ff94e8e2965bf49720dedac3c9971a66f7c7f2d63af7bb2cf53f4cb6144826dfbaf96129b63e030417c13b6fe5cc8328926d2 SHA512 df013c144ef0c282f76d5bb426f0a81f786781f03c0c6063156ede777bd8cceee4cfc3d500744e14c4761f966cba75d83a4a6bb183375f1b9bbd169f3b7f69bc MISC metadata.xml 345 BLAKE2B a7d97a94b8b2b72cbd9c7cc730bd66c6e174a2c0bb8bfcff7c279a87000a4435afbb048ca2d9424b391a0b0f992d0afd5efb20c0504062de3dfd49968fec0e74 SHA512 e7a62638f5ba1072ae773781c890f708d90001c4d517e2ecce8fbb791914f2e6769e5a0db63ade82f7d644c1ec3e9b19aae773c496d9059879a4192b7f26ccae diff --git a/sys-kernel/linux-headers/linux-headers-6.6.ebuild b/sys-kernel/linux-headers/linux-headers-6.6.ebuild new file mode 100644 index 000000000000..cc9b5489c81e --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-6.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 csky hexagon hppa ia64 loong m68k microblaze mips nios2 openrisc ppc ppc64 riscv s390 sh sparc x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_PV=${PV} # to ease testing new versions against not existing patches +PATCH_VER="1" +PATCH_DEV="sam" +SRC_URI=" + ${KERNEL_URI} + ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz} +" +S="${WORKDIR}/linux-${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + app-arch/xz-utils + dev-lang/perl +" + +[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} ) + +src_unpack() { + # Avoid kernel-2_src_unpack + default +} + +src_prepare() { + # TODO: May need forward porting to newer versions + use elibc_musl && PATCHES+=( + "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch + ) + + # Avoid kernel-2_src_prepare + default +} + +src_install() { + kernel-2_src_install + + find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die + # Delete empty directories + find "${ED}" -empty -type d -delete || die +} |