diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-23 19:46:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-23 19:46:42 +0000 |
commit | 60360664173979c416f4acb44f2fb2368922742d (patch) | |
tree | 8776499f297aaa074d48bbb33c8c0c977aeb3b62 /sys-kernel | |
parent | ed8299fef4175104e66b734cfc0482770614f398 (diff) |
gentoo auto-resync : 23:12:2023 - 19:46:41
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4565 -> 4578 bytes | |||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild | 127 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild | 141 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild | 137 |
7 files changed, 418 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex b9b071af487c..871dc58309fa 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 2b184c80ddb2..c7188f0238cb 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-152.base.tar.xz 5859680 BLAKE2B f07d522838bae14efdba3399a9e DIST genpatches-5.15-152.extras.tar.xz 3940 BLAKE2B 91f8fa828c4fb434088a8cffc845c09484b613fb5990fd5faa925852e9d6009bc927135310372a3e7b78b59a9e6a1f52667ccf3dec0a2ec7f7ac4f66c5b63760 SHA512 615669b03df808733065081f58ef0c928fb45be1b5a15092dd6e8cc6ec13ed6c4df3ed69eb1e06fde52f35f19f4896e4ab8e557a02e061e8c1371c12cda7e04f DIST genpatches-5.15-153.base.tar.xz 5880496 BLAKE2B 8de9f7e0a443bf5a196ae242283def0006da5252d5bbd732ff4d16eea018cb8649ab084c398eb6761a01d9ec8d4e5da9f6d6ad88c77fe5ac70385a9c5dbe679f SHA512 d3651cfcb047242eea4ad18986ce2667ff368f91a4496e30590f515d20898e7694afa409c02cfa1cc2747a6f80e1a7642aec62d67e0c7ea3c9d75e55a763b2fd DIST genpatches-5.15-153.extras.tar.xz 3940 BLAKE2B a1f5239cf08d52f7d1bdc2815809513d7b56e1f38978f681c4266e6e536ac02343dcf7bbb2045cbdaeeb73b20731ef2e3c84c1ebaa883d7ab0c18a99c00de5ed SHA512 da1d9cc1e79ff14c54c94dbde26c6565b1192781b567e7fe969bbeef3d8bc21cb5618c3eee3a643ccae829a74e6874436a049d0f9f16cdc7cf3f0f7f399a50bd +DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3 +DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5 DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3 DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece650736f7204066222f88b84cffdbedcbda78d8fbf30ce8dce4c7fa450f24410fba1af1929ee3b3ea0472fde3473db95a0f5c SHA512 106db04baa9ef92e324929d025bb68f9eab4d0144d12a3d11cbfffb018cc46abeaadc76240c1acfd3877ef8efc1992374ad15cca061258e5f20452e3cb71b90f @@ -50,6 +52,10 @@ DIST gentoo-kernel-5.15.144-1.amd64.gpkg.tar 66314240 BLAKE2B 70b775542dc019eaa0 DIST gentoo-kernel-5.15.144-1.arm64.gpkg.tar 59729920 BLAKE2B 90b3aa793bc691bf2599870484ca1ee16e5497fd4352ecf6c3eb2a9c68b70324d70ed72ddd31638135565795dca335f45814282c03a608812329c4c1354d8e97 SHA512 a7634003748f6a3e28572bcb1b35fd80f675297897e5643a0c318edbeee9783b48191e5c5686aa6e9f8cd9b36bb87112fced195e14b1bf47f4b7a2c51a737dea DIST gentoo-kernel-5.15.144-1.ppc64le.gpkg.tar 54968320 BLAKE2B 1d6aa3faabcf2e88e226b89f06769c05ec61b544e2e33756689361aa3769bd4b9338604e945be2ee2f4025115417704e1b88569a4010547434abde611378934c SHA512 86f6c85220687d38043f1f829937fe74457ed45598c8d0088bba4307eec3c9ab9069b66dc18c4b6741c15ba3118ce56423282a1df1577db19b42e395428bde8d DIST gentoo-kernel-5.15.144-1.x86.gpkg.tar 56053760 BLAKE2B 82a2dcf31899ee34bfe0d2c8dd34ce5c39c2f527c3b642f4b10c730cee45596721746f8217edc8ffa8eb9e8b86aa9ea17b79fd6c4cdd0df29a9233075658b009 SHA512 ff93af21697f61132459ba96ffb6fc0b51b39f736881518e8fb996d3376649c0967734424779b9e99170640ae613458330a90e798f7a7b2bd3975bf5b24697e3 +DIST gentoo-kernel-5.15.145-1.amd64.gpkg.tar 66304000 BLAKE2B 6230b78343f7da4f6560dad475fd96489cba2b9e4f53993b96dedcb1a866ac27f69a829318b6f4e00740b19d4e2f62d62964773de984a9bab0bde93e301b7c05 SHA512 aff6039f9e9592bb5503ed7b43e596e3e04ab879a006c8510e97b31b39067124019bdeb3604763f4825a5334512894cd60dd5b4a533ba344c8a6e165c4e312a1 +DIST gentoo-kernel-5.15.145-1.arm64.gpkg.tar 59729920 BLAKE2B 9af60d2b94c9f020c8117c0d68a87a8ac37675b9790f5f8a96acd3ffb458db6557353e824a6576708b9447359e69fcd1fe30e7a1eb92f4cc7753bbfd38c1a194 SHA512 6d73c1605589b6182bc77efa29d6418a3671770f70fd7ca32a17ac102e15b2895cba9c5ee6886ddf6c496ccca1aa919830899b9a53570db12c0fedc54f0f58fb +DIST gentoo-kernel-5.15.145-1.ppc64le.gpkg.tar 54958080 BLAKE2B d98524109be3596a6376cef37117e8114c354a736a340221cf72f30f2d7109a1edbae012e7e17e210bad4cf69f445a7034e0dbe83171a3b6779b79deace85ce4 SHA512 ac20b9e23142e10f918282e5146e66828b5bf21c75dce4b00e1b89124ef5c99c456b4ef35de1355d37c434c1a706dd2355f87b7da21fe06096ae17e7d8e5fe57 +DIST gentoo-kernel-5.15.145-1.x86.gpkg.tar 56064000 BLAKE2B 002ef06b9623cba82854fd8d53faebade3f8a9445cb8650f9aa020bb13da3409444639e58c3dc38bb831de7de9c9f9d8269bcb293dc8f7e853b5f5b87f94c9ae SHA512 a0a02ca558efe5bab4d8588b25b38890319e0354bfafa01c0ddb945b2bd49ae5c611faaef91bdd5732c0f683d9d49366f3e5fdc86db9fb479747844ebfe1d32b DIST gentoo-kernel-6.1.66-1.amd64.gpkg.tar 72601600 BLAKE2B 9c0b0b33ebd396ffc23a9f3346db128444d327bd150ab42812ba497bb65d2f2c67816d6c611f86679e6a264340177e3fe958411cc3ded1566c77f84cc23765d9 SHA512 dd9853b3c494990c1ba840489e8cf248a17f709dfed556b5444f59569d36f27ad6469eeaedbac3d6afd83f103a5599cee16bceca98c2c66fc3710741b832b0b8 DIST gentoo-kernel-6.1.66-1.arm64.gpkg.tar 65597440 BLAKE2B 189d7818f5d18c26a5b6d7518a39f1155c0c1e2fe29220f486383d2c7ddca6dc8743439ba86033395a42937f40eb1f8a15503ede58638c39016daa1a39faf1cb SHA512 22585a92a9793b3ed655f9488226cd757e227b1250f6e66b6190f1202e400c8215df4f62a7f2475f4e03924a91c4028a2afa46a746c2bcb0d3f8aefc54154143 DIST gentoo-kernel-6.1.66-1.ppc64le.gpkg.tar 59852800 BLAKE2B 1eeba1ccfa7c1b3a2843e01d01fbf0bd870fd61f09c1437b98f03e8e8bd89a761063837b1922d6de0f638293ec9f9614f05342094ca3a01e5fe69cf99f7d1a67 SHA512 330e430f22184ec193598d37977d440fa04b269d43786e137d1564ac11a98aa9898f6446b129d8df7bafce041c1db7e86688a4f0e39c66826eab7dc09065f1a9 @@ -92,6 +98,7 @@ EBUILD gentoo-kernel-bin-5.10.205.ebuild 3029 BLAKE2B ba1ab92597bb3c6d0e3e55d88c EBUILD gentoo-kernel-bin-5.15.142.ebuild 3025 BLAKE2B ad91d76e8a913963e4e630f8155f78dc51bf546ca3aafbf8ff83730b9cc2b4203cf31ce94b3296c5911d54036417a06833c26e37d626784ce700d9ae7d8ef9c7 SHA512 756f82a11a2dd65be78036df8469905811e3341f123be2f8e1444708e56ff0c7b262c4fc785281178b36d71a12a408d09f249a06e4cd1aab04b251a6b89cb7dd EBUILD gentoo-kernel-bin-5.15.143.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 EBUILD gentoo-kernel-bin-5.15.144.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 +EBUILD gentoo-kernel-bin-5.15.145.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 EBUILD gentoo-kernel-bin-6.1.66.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.67.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.68.ebuild 3029 BLAKE2B a3cb1a02eb9fa0eee8f67236b0852f250395ae753a711f62a180fd3c4cbb6c62d1dee4d464b3d5e6e89583e945635dbf5f179a3b664034983ca3a3c8a2fa831e SHA512 be57128fbffba5fcda1874103e061769441be3082e0e7bb1e3cc1bd62ce36d53d832972669ecb97e75065434d898a75ac2c5ef18914c4142be57f60ffcbe8bbb diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild new file mode 100644 index 000000000000..0c08429b1f95 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 9 )) +BINPKG=${PF/-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 + app-alternatives/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 ${BINPKG}/image/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/Manifest b/sys-kernel/gentoo-kernel/Manifest index 1402b6a507b5..4f6252c77c30 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-152.base.tar.xz 5859680 BLAKE2B f07d522838bae14efdba3399a9e DIST genpatches-5.15-152.extras.tar.xz 3940 BLAKE2B 91f8fa828c4fb434088a8cffc845c09484b613fb5990fd5faa925852e9d6009bc927135310372a3e7b78b59a9e6a1f52667ccf3dec0a2ec7f7ac4f66c5b63760 SHA512 615669b03df808733065081f58ef0c928fb45be1b5a15092dd6e8cc6ec13ed6c4df3ed69eb1e06fde52f35f19f4896e4ab8e557a02e061e8c1371c12cda7e04f DIST genpatches-5.15-153.base.tar.xz 5880496 BLAKE2B 8de9f7e0a443bf5a196ae242283def0006da5252d5bbd732ff4d16eea018cb8649ab084c398eb6761a01d9ec8d4e5da9f6d6ad88c77fe5ac70385a9c5dbe679f SHA512 d3651cfcb047242eea4ad18986ce2667ff368f91a4496e30590f515d20898e7694afa409c02cfa1cc2747a6f80e1a7642aec62d67e0c7ea3c9d75e55a763b2fd DIST genpatches-5.15-153.extras.tar.xz 3940 BLAKE2B a1f5239cf08d52f7d1bdc2815809513d7b56e1f38978f681c4266e6e536ac02343dcf7bbb2045cbdaeeb73b20731ef2e3c84c1ebaa883d7ab0c18a99c00de5ed SHA512 da1d9cc1e79ff14c54c94dbde26c6565b1192781b567e7fe969bbeef3d8bc21cb5618c3eee3a643ccae829a74e6874436a049d0f9f16cdc7cf3f0f7f399a50bd +DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3 +DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5 DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3 DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece650736f7204066222f88b84cffdbedcbda78d8fbf30ce8dce4c7fa450f24410fba1af1929ee3b3ea0472fde3473db95a0f5c SHA512 106db04baa9ef92e324929d025bb68f9eab4d0144d12a3d11cbfffb018cc46abeaadc76240c1acfd3877ef8efc1992374ad15cca061258e5f20452e3cb71b90f @@ -53,6 +55,7 @@ EBUILD gentoo-kernel-5.10.205.ebuild 3665 BLAKE2B bff1252c81fdd456b4b0a7447f4208 EBUILD gentoo-kernel-5.15.142.ebuild 3739 BLAKE2B 98724de150e8a2f15cbee2400d6e832f58034bce8bc3661587a0ba36ec27110aa818970f2193447fa1b07552e86a6c923b41cc85df572740ffd0edfb35bde990 SHA512 8a32ccf6335bb0508a13bb0f309613d5bfe45c33ef994a715c462738d21493473a2f06029015457362c42222e7b8cb5e5568fd9474c10973446ee084e7a3b827 EBUILD gentoo-kernel-5.15.143.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca EBUILD gentoo-kernel-5.15.144.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca +EBUILD gentoo-kernel-5.15.145.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca EBUILD gentoo-kernel-6.1.66.ebuild 3975 BLAKE2B 45cc89f6f37d74c474b046e548e246357360609f4c1fbed59cb141ee85ac9ece54119a86b0140c9b259548a7fe4e32c59c09f4782ae7d5a0cb9552bf817d0e8f SHA512 420f9cecce8ba190d2301852532dbf162cbefae3f83bd75a3f9235880e07dc1a9b6a40f4f6316b23132d9dadac65d28803166d772f47547b4129d80b94c2ad0c EBUILD gentoo-kernel-6.1.67.ebuild 3975 BLAKE2B 45cc89f6f37d74c474b046e548e246357360609f4c1fbed59cb141ee85ac9ece54119a86b0140c9b259548a7fe4e32c59c09f4782ae7d5a0cb9552bf817d0e8f SHA512 420f9cecce8ba190d2301852532dbf162cbefae3f83bd75a3f9235880e07dc1a9b6a40f4f6316b23132d9dadac65d28803166d772f47547b4129d80b94c2ad0c EBUILD gentoo-kernel-6.1.68.ebuild 3979 BLAKE2B 0ae0758effdaff19a997f7135509eb724e3af68ce81872b1187ab3630db7c31323611ce3881dbbb89d44919926315ca357b92402174b88bd40ed001d1e4ad15e SHA512 66d1f135791fd0d3733e509acffaeb182b17e42b5d241b9e67a7fe92e5bbc36b8a8bf27d6822746be9a7b86b8660dea94d4618ff88bb892f880d98245f59c2b9 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild new file mode 100644 index 000000000000..c2484efb4288 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild @@ -0,0 +1,141 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + sparc? ( 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 + ;; + sparc) + 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 68569b19c72a..e98222911cb4 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -28,6 +28,8 @@ DIST linux-5.15.143.tar.sign 993 BLAKE2B 33f613919ec91fd0160598704c8a712e9629e31 DIST linux-5.15.143.tar.xz 126558624 BLAKE2B 764845f9838f286d5f2b5c4e008f0db8ad648fd53e428068074aa6c222e374871cf585bf89829c1811c666808a9a891a975ae9fc1e6945d86949afcb8ac3f465 SHA512 cc8ccddd14e658c9bedad467f3ba05253eb8bc059501a20f7d11d9a10c285c58b831a100e92c2666906b5ac7948249fb888809ab8ced2743ebb7eeb697068479 DIST linux-5.15.144.tar.sign 993 BLAKE2B 7bd86550a3e49af0c38d7fcee8fb8caa1fac73c61c71055a0307c37622adc133d702bbaf9357fe4186fb01e2f6e297f15c364d12b9610c83c251d5b038aacfb0 SHA512 5a7f638c2a587eda1edcc51c3009c6f29df090d5c9ab9524b35a2ccd5bcff974ee1c99ffd4642d185da96a0d21404da6c3a128bc9f36bb2db65fd33f87b39c91 DIST linux-5.15.144.tar.xz 126576264 BLAKE2B 9e7ee13d6e2523a798487448b2ff1b90579bb03ae8d5b1f825c0be41ca9b3211a7a3e13efc5ad4ee756b18309aebfc7474cd52316c9994cf05b9de371220849c SHA512 6a188315c67368666c43223344c723fad67d9d5e4afc74bdd5314dcff2939ba4c0663ceb22e01ccdf87094682620ffd04857d6814a1ed9a56314481cd76c7340 +DIST linux-5.15.145.tar.sign 993 BLAKE2B 34a28ff96ea10ff95320f528def79964f03076556188cf37aa61fdfbf3ac88097ebcfc69a6459ad51cc5eac65e23b9a57e6effbe5610b64cf357980ffeeb843e SHA512 d9d7134ca047a9d96cfecfaa3c3eb6d52e26a1949736e334576dda665c3b6a6c759d9572b8898b94442cbb3b130f1308f9bc71474a2c5b888498528126710d82 +DIST linux-5.15.145.tar.xz 126579464 BLAKE2B f8481b1fec05a75a10d32c512f0600f3a359008b30dce3bac35b00928750650faae013e26bb23d6634618e86f2a700d0342c68869c960c76ead4d415e2c1bd05 SHA512 f5b7acf9ed52b70bcc564e0b13b95e9a352196074b093513c7c74ad7f8bdd3c8938a2860c993590b5289690ac344af94c7a99c496218ce597525671c395d5a72 DIST linux-6.1.66.tar.sign 989 BLAKE2B 0ccb0dd6fb51c91e4bf60539dbf03bd3ef4ae563ab2c952bbb7092fd0a5184736fee493f7bfb49f3e42db642aa1b32660afcc8841d0cf242bffa53d0e515d3f0 SHA512 7e4c10f644016ea7f97768622ec7746193054868da50906a45e1778c2033bdee05fbe5b772585d03342bd61edf24679bc5277e2d62fa3e7c2c82f974a097cf21 DIST linux-6.1.66.tar.xz 135048000 BLAKE2B 012cbd2ce29a2cc37db2b83380acf5e1b99343e07fa712c8243b5680fe043134d90f3c2abaaeece34f063bf5839977e8b5d88a7835091bd6a9740cd459b003a4 SHA512 60470e5068782ff05c8017e72e2670ee864d6b8cf1d9f83a351664e5baf75e74498b2dd0a186c136bc8940ae937f8044d68322d0626437f821d87efe0001709c DIST linux-6.1.67.tar.sign 989 BLAKE2B 49ccb2381c3612e2ea982b029fe52d9decb068f9c3ff80fd323d90c829adb49d1b37fde338fa423a4c214b9769f30c9a4924c314244b8917502eebeb6cac8218 SHA512 1bc91b3edda634219272175992561472496e7cd2df55bfa4335bf485e4d86d57b8f89fd0cc0b2b02f664b95bd79f76208ba465a9a54ceb49a0c8335b94b3e949 @@ -51,6 +53,7 @@ EBUILD vanilla-kernel-5.10.9999.ebuild 3283 BLAKE2B 09f42ae4ca54e775fbf38c7b6c16 EBUILD vanilla-kernel-5.15.142.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 EBUILD vanilla-kernel-5.15.143.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 EBUILD vanilla-kernel-5.15.144.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 +EBUILD vanilla-kernel-5.15.145.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 EBUILD vanilla-kernel-5.15.9999.ebuild 3283 BLAKE2B 9603317fa6f38182408ea6841e0e798677397eaf60d21ce9ada273dbf77852a04695023b0bffde785c30b61989f764f28be832810e859544264987dbc0a9dc68 SHA512 171111fdda2af60a13c2b28988f14ad8be846fa23d911ce80a99cd1a06a2bc548de182150df2e1869e3d1eae51aa6f5fbab6f7bb95f14e622f33f4e0d4e53479 EBUILD vanilla-kernel-6.1.66.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 EBUILD vanilla-kernel-6.1.67.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild new file mode 100644 index 000000000000..0a6c317982c6 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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=g11 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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=/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[@]}" +} |