commit: 1f4d6fb8ab0a7625d49c926a2b6dd36ec85f3539 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 21 10:04:23 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 21 10:34:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4d6fb8
sys-kernel/gentoo-kernel: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel/Manifest | 18 --- .../gentoo-kernel/gentoo-kernel-6.12.11.ebuild | 144 --------------------- .../gentoo-kernel/gentoo-kernel-6.12.12.ebuild | 144 --------------------- .../gentoo-kernel/gentoo-kernel-6.12.14.ebuild | 144 --------------------- .../gentoo-kernel/gentoo-kernel-6.13.1.ebuild | 144 --------------------- .../gentoo-kernel/gentoo-kernel-6.13.2.ebuild | 144 --------------------- .../gentoo-kernel/gentoo-kernel-6.6.75.ebuild | 144 --------------------- 7 files changed, 882 deletions(-) diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index e50b5418c7d4..7c643686d790 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -10,36 +10,18 @@ DIST genpatches-6.1-137.base.tar.xz 6788380 BLAKE2B 365778dab67485d413506657e7dc DIST genpatches-6.1-137.extras.tar.xz 4056 BLAKE2B 8a39c1f0b11bc776f301f6a750af6d7416a20231c7170f50080a61b40071a55f6d2906193d76d8fe4837b4b494fcf0a683a7325ebf18eaed6543c0362c78a6ea SHA512 9739342cd761efc0fb4b2d09f147d721b8099ec0594a0190a0f39fbb23b131068c6127be3b0083a1e60c4d4120b3437bab8b4608fe1805724e513890a0a46bed DIST genpatches-6.1-138.base.tar.xz 6804336 BLAKE2B 31d8912c815d4560b35bdaa4fc46597d641c63b693123ee34678c6f9e89a808e3d0ff90c762d601d2caaebd6194083cbf55ea34bf8df68157fb51cf9d603b766 SHA512 f72c533a8afdd81a17fdc27d3b5d7323447c81d70a1295ca1aa949cb1c5a469a1dd84fdf97f81cb2ab762fe6ae09716f3430da13378e4dc08d4511c6dfa81116 DIST genpatches-6.1-138.extras.tar.xz 4056 BLAKE2B a9205e4748d7892920c7428cd80bc8b4e8a8b86467dc8771b427b941c882af4de55b2d3c6450410a26ddbc0dd2e4df9a912025389379b0f02a20e7b0f2c99020 SHA512 50c042432612985dbdd7802004471f58bb7a5308b362df0ef903262214c116342817abdba2cef6b1f4f3ed281c62b50c19d4d0c0b43eae148a0ae870ff812460 -DIST genpatches-6.12-14.base.tar.xz 846696 BLAKE2B 63f6f0326eedcbc5d44f2320dc0c9352c009e219764d6eb9e1da460a6b10538e5c81c27a0a633264d3d1011af266b310e49a9b928dd59dc76b226cc3ce8b06de SHA512 909307a85a15e27c517e352690c4e8579d4889e36cd7254164230e4589b3544ab1126008373ea2289628361cf82414da9de4809c45c1f1dc02ab3666547d0a90 -DIST genpatches-6.12-14.experimental.tar.xz 78456 BLAKE2B af1a353da652145b2980e9fc2b176253c36a8bd8affc4073985cb709667473682517172542bbce412b26e7dbaed2f71194ae6b27a430d5c140012b883499bb45 SHA512 de8a09f9c9f3e4e27476c0260ad182b78cba31a79d571be0d4de0cc648002dbf542c5abb82fec6c5fae9698aac448f6941cc80b110c9ce50979f86223705c17b -DIST genpatches-6.12-14.extras.tar.xz 4056 BLAKE2B db12618351b80d499fbf9b3f8d0a4ab00639fe1b0c73776e0b038f6f996db29f0890d796effd120c3428a9515771016cd0a23da559c028996b312e75525d78aa SHA512 79a23575135205c33eb07d7026ccd0c38e5223b4b29d7c90002b72074a089fc994c38dd17868e53198fc11d2fc28e229a79ea50d5449261aad9689cd73139003 -DIST genpatches-6.12-15.base.tar.xz 856536 BLAKE2B dba6809d63e9ff073b40a08afdeadc173e3ab5d739cb251e4415887815a420ba295fcdb80f53f2601f5274ba206d9f562d3841977391f254ef5783dc5f329010 SHA512 ca9958e76b1c156e7ebad1c14a1f957733a8cd99f9c8e23b82bd06bc4fc982c70685668f5d5dbc251abc4e7ea32a9508b0215babf18511514aa2c159767760f4 -DIST genpatches-6.12-15.experimental.tar.xz 78472 BLAKE2B 4f03e5134b855fab5f001a688ccc200243f8e51a258e65064bd664d1f6a4a97bba5735f67ce9972640ee52db2244049a8ba2dc192283047287b10ececb528fed SHA512 320f7277284ea3f4ab8fb47b23aedfcaf6bb1f9b882a45d389b7e4ecb017d058f6f6fd9dea961d9c465da79877f287656e4791779fd911c4f7b43c05745321c1 -DIST genpatches-6.12-15.extras.tar.xz 4056 BLAKE2B f3b21174d15e3ee9f367ddd10745e1812b2a7573dc618f1c42db7afc9794208fdb67f62e2f400a144ad2f6d050b0419d67152c10af83ca263ba210bd8d939972 SHA512 7a5460091350c279519bacbfdcc83ee69d14364c0a8b5c192b244695196f72ec24e27d85d1f87608b1af6e9adcb5089ffb079c3e5190b7580833a438a2672c32 DIST genpatches-6.12-16.base.tar.xz 1027208 BLAKE2B 2b1afff6deacca3df2b83a04a104271d167d37b4200b8396adc8a3751bb9f972a9442ad1a6aa7d9e8867a9112be1dfce236b0aa2d16f706520d586a736289a7b SHA512 5660c464c27586c9ab7b95ad5cd61cbf6c982e5c4a281cbb65e55cd562a885c4a9c5a79cf08373ea1b1f9757aeae1da00cdbb6c3bf559fcfcba0d9d380b45fbc DIST genpatches-6.12-16.experimental.tar.xz 78508 BLAKE2B a27156f113875d779ee4d5a382bb41e88093a25bb4d853690bde6b0817e5684bd14a65a1a19bb35813bfb00f5766ea699fd3415b53c2dde96b9dff6bcc9aeee7 SHA512 64b48effff1a0b4ec7e0d2dd8e585af862b059a2e0c83099962b54af548eb9778ef186bd93a7a2d7c4b5b91f2f375939b50bec79039e4fcead11b584cd48804a DIST genpatches-6.12-16.extras.tar.xz 4056 BLAKE2B 268700eac9cc0e309e30140397211d9fe614edb3c9a1208d8e05d5eff07f959ceee6ec7c68b8331df601f5ab1d81ab04bb7054513fed02a027e02b7c31e02207 SHA512 7fb9d6b03236370370528d28f4b4dea0cc132ba839ccbae80e31fc4c532f85acc2cd56e8a0a9f27ac7ed3497721f69d3ccba0c338be7e1d38588229202b3e456 -DIST genpatches-6.12-18.base.tar.xz 1138088 BLAKE2B 6490753d4f8036fc29e7040695e0c85f556c2a928b8afe275fe11707a75a3a167a52ca63c6193600332fff2fae4afbeb01e0dbfe5be81466a0883f0301ed025c SHA512 7151ba70619b2950ed6f2b46ceacedfa884200c8600d97718da0e1a8ba53b428633e6675235e36d1a6508e32287b69b195d1b5cacb1bafb0a08741db58b2b9cb -DIST genpatches-6.12-18.experimental.tar.xz 78492 BLAKE2B 0b4f0bb707e1cd9150ba02bac4f4b94af8946eb1cc4559ccb409373a3759787bb08a8bb06f9a381331568a499cf94bd26ed1956cd07e615da2f8ae9bb11f2c1a SHA512 939735275a61f3a1077adcf518ac09e6bd5a7c26d9cd2f561bd4011cd9f0a3053f3093e53bfeac8f133a0507d6a6d98a2738a7d7686c1694db83530d33eb26d9 -DIST genpatches-6.12-18.extras.tar.xz 4056 BLAKE2B da0da8cc6a7691e748bc0068e1e65e9becc7357dc2046c520202acdfdf95d7032095fc7b5be642599b6b960026ef747edf96131128af3a21a7a5fcba6f5aaec9 SHA512 3221e842185265a129eb49413661ff74866377292b0a8345bbf55cfe162bf5afc1ee79644a8b81cac1bf370f432e54718bf760a13497d3505472d786bd8d3591 DIST genpatches-6.12-19.base.tar.xz 1138892 BLAKE2B d2869a9b38ce1ea0dea73a229f929c7e63f2cf1da904d070bf9623eab293e40d4af3d9ebd5c3b2fc5a2cf5f4756dfc889ccb62e49ef84c9fe31c6d2b4b48fc1b SHA512 243d81b3e8ba636ef57229dbbde5d976c1ac44475349cd93f1892e696a6e22eb4e7143c278618c0e5ce865af37a8c21e8a6b8d38f3f6839153645d3f88856ca6 DIST genpatches-6.12-19.experimental.tar.xz 78480 BLAKE2B 819fe6aac4dd970e66a104b3f8453e133b447452e788eaedd4bdc79a6c26d6cd7ea7562edb0de5b16996b8881aeba8ea310199253e28fee6105d04b34ffc655c SHA512 29a5c170340a36a9b9b1e252b192623c9341f26e4a179b7c9c4bdfc52644625be4ce6f426abcc1de5ec9f556e9ff0e0b80b56ac94abaa4465badd9732c7b9228 DIST genpatches-6.12-19.extras.tar.xz 4056 BLAKE2B 444749865813cd1929f307e8c865dc0a08b47d4a47ab2a326425343ecf3c448ff2732099013c2e80ed7120d1b0ca9542f4924dca38e084b9b2e0e6fb4f5622b9 SHA512 4d7e0ce29fa72dcd7f7ecbad844c94e5d711249f4437d3911eaca901d422c129c987166fa4d63cf52787ebba77b777f552bbdca283b8431bf0e692af3448a5bd -DIST genpatches-6.13-2.base.tar.xz 15268 BLAKE2B cf7b141b036ce1f324e59a2a159cf031e05242dc82f56f65f280e93650c879c35fad3906b680394741a8582310b7924cd09e0b48887130e39ef713fcf4c513f5 SHA512 058545ff09be7f54889b691abbface6579a3f030830115a06c15182d1a92ff5e566b4989de65ec21c57a233f792b973408f8405fb33d020939b06ab31f3b1449 -DIST genpatches-6.13-2.experimental.tar.xz 6052 BLAKE2B f53af366977e853537659e1eb80f40fa2dfcdbb8ffbbf57c1de98466e3c61c0839c529b582587fde2cff0701793d86f35e2d6cf4aa5ccea84818acb0a83f8420 SHA512 8176bd1707abff801885c968cc45515ba14bfe4c1f846ba85a2fe3c0c097eebe753df0c828ed7c003590128b6c2f49950fc24030b2e2802da291a84455e36012 -DIST genpatches-6.13-2.extras.tar.xz 4056 BLAKE2B 87dabe3972da098d4491f83189fa2cef15d7212800f4daad3bb248a0895112def3ceebe5c6101eea3832eef329827ca53e2c0fbc82febac0158a461ee59a5b51 SHA512 526d45b794e14a6097e25f1a614680a76db07fd6c423362fd38378986f29fc139557573ad61fcd2a2f865cbe2e575528fbf57a04f2b5804f84fe89f284ca8c07 -DIST genpatches-6.13-3.base.tar.xz 206716 BLAKE2B 8e5b254c09e81896cf6228cda82228d055ed3b6c2ff27db2af4c0c1abca6dbbfffad64a52e864ee5aed5244979dfe4ec5c27916c62021816cc25cd966f1c843b SHA512 913f79df9a918146d447a7862d52ce14102a66b9c3112780e182de61ae45b867fca25c4e286dbe1d9e8b6922fda07e724d8784b47d378015998dcb42ae55c88f -DIST genpatches-6.13-3.experimental.tar.xz 6052 BLAKE2B 782113ff4f82cfbbd1b28e388db42c671188283816eb0da3ed64c343566df8c657b519acc3e170c817c0dfb6016aa32c33b26c7ace85411fbc16b36cb9caaf68 SHA512 f6c9288f0c5683a550b2300d94fd069e210af5334c55b2ea8e54576c25789e4999c3121750f4c7b0a4ecad6b188da018b6f25b6ec149b676658a6df4fd2c4f4c -DIST genpatches-6.13-3.extras.tar.xz 4056 BLAKE2B cd43af52aff7f3b5bfb46f3b2f2df0b421bcd33aa478993115e9fe58205f4b347e722bc5f14e9c8b1a2a563db987d335a993dc5293fcd972b78a5a258c819b24 SHA512 1f2968091cba801465a74c58f0d265ae7c53d4f4e03c0369ddb4d9c855783255a404d4677c9a3fd06a8a820717562e2f2ec3ff31d126b0243909c29a3175995f DIST genpatches-6.13-5.base.tar.xz 335748 BLAKE2B 167f3f37113e64882ac841e16344ff25a96e614d3a29ebb96b5a21ddf7496386ea4f2397d5a5df0e6ce1e98348934befad7cecae6e947ba94ce1551ff837043e SHA512 1b6d3777fc25d24d31ccf33edbca65b09a5b0f3f48d8af5058b4c8de7b32830bf6fcff330e64ef2b9220cd4a117cc571bc3f900b52e68d4a9277c2a7d1f1ef32 DIST genpatches-6.13-5.experimental.tar.xz 6056 BLAKE2B b243d376019facce55c1df9826f89449f372f2f952c0aaf7c8fdd806d3b1659b0af338938075653ec809b3d673396f09d968f8c4ea1d9d795c6b2168b835f154 SHA512 b481e69eb1a317a2aca633160668aeb147323c4d0befa7d94cd0718f7e426713d2f4e1bf761f2e171b5970121fd0e90da56542b850ad64764571aa22ee6d0988 DIST genpatches-6.13-5.extras.tar.xz 4056 BLAKE2B 452b32878514cf29e43de6103b298c41150b888bd78509e26211c7d39e6b8f23acff0f4a5c906e1b0a8cbbb939f0fc6a106085542d4f92bc1e6f2f85580df7f2 SHA512 688fbea8a74987de17fa4afa84a6f3904b39518db971d7ccea13d4fb4f6e7df8031c940e31c2297cf7b15c7d3ec49941232b8d9d352c69e8ca6233bf7b846779 DIST genpatches-6.6-83.base.tar.xz 4270596 BLAKE2B f94c4d0387957b4384a893f37bd232eba24dac57fa73297f4c25822c2aaaf6e9616c402624e43daab655c31677a59129dc853914fe9817125281ed40139b0bc9 SHA512 7479e6ffc5e736cd36df2a3f66079514b016059a273ef92d2e120f8da050c0383f8249dbd9f45daa1ee192117942d339b0bbe1a6afb1eae6e118b483fddbb8a2 DIST genpatches-6.6-83.experimental.tar.xz 5760 BLAKE2B c386820f271246e427fa89b5ab810a0c78da4290af42c6eace86f5fb2f8806180cf69e9b50b50ea192ffc4149236a5306b79a0a17f5524127c0736eb42d20d56 SHA512 63651e164d45c08c93b9f30c9fd3f7631c0b667f11d36bc72541f84e81e4fdec4228ca5f4c0dc13f371358538c20bc3fe03d07870b0669801c9508821e27a48f DIST genpatches-6.6-83.extras.tar.xz 4056 BLAKE2B 5b28f9a1750f3aa6dd30c976f1ae8431a93d44967c52dab2bce6b3cc17c75c063ef675765da94a212eab94dc64d144283049570d413b5d7acffa7be207249557 SHA512 27a91748aa74628c3fdb78709e39166858280a4cd80f4d3241e96158d1267b79c0a6a3cbc9b70fb7ec9069e6c8c7f7210efa174ffca4aaf3234ec34083fdd61d -DIST genpatches-6.6-84.base.tar.xz 4282452 BLAKE2B 86b6018d06d2d16087af80a717b1b4240fc422dcbe9e96bc76c8ce98de21f1520e652051d4821abb7985df9ad5b760bf9ee2d2b00fb91736912e85d8d457b4a7 SHA512 8f2b431877399295b43af5b0c8b314dd9b00dcc3e62585da4c05a048118393e65933063c49e6d346a550e7aeaff49a841a4ee8378266b03b0c880f41319c9b5d -DIST genpatches-6.6-84.experimental.tar.xz 6048 BLAKE2B 7b93aaf94bc3c7fb3d09f3f26672a9cc70642d5bc6aabfb48a29d051d1c4bc1cd6017b347ff4cb44eb9767478bc402c2fc2893330b11bfcdf57112fa62127a1f SHA512 fe7ced2014b4f0c806c52cfb40c856379552a08e0071ddb8108870b416491fb2d07b6d11b84e1f343f77c34b3f30e7292aa003bd29a9b770f3b72216273b9de4 -DIST genpatches-6.6-84.extras.tar.xz 4052 BLAKE2B df83469e572dd8c8df747a546649ef6daf570c064d5a8b8c75823a9eb86564e93742d468d76c1a1d50fe1269c1f77be0d52e6a3e0259fc96d5b0d4e340d4b157 SHA512 06ca529e5ce3fca530e0708c198fee3764bf0b79d361b0aa6f0bb4153f3dfb018fca2d63c749093347ae625f26204e28f50d3b74d91d4d6158ef055dc18c47f0 DIST genpatches-6.6-85.base.tar.xz 4392112 BLAKE2B f373bf5719fe6b1148a1cdb8e38cc5a0efd60d78353c2a79b562f26c4156cd94eaf60e2534c2b9b6bac655ed6a58d294d1afc7961607aa1f505925d3cd49840b SHA512 95bd5611ee602478b46711653d022b0252027b101ac4fa6a6b6332308f6c6ed3f211b4abc858052d00eda6e3ca14a772ff45b0d4009f9b975abf2219049c201b DIST genpatches-6.6-85.experimental.tar.xz 6052 BLAKE2B e6941428784bf32ca75580c25bfe79a624bc119727313044f50736042d51ef6c2bfec88e85e6e8f4ea5ec2825524ff248cd1bda78e52f46b586645676ea11546 SHA512 7aa4f507cfb76a2760e855c5c7e70e3b39982efda2d06cb970e2914a7a66020e8200f209981db7823290638e7de2e6c4f0cf7203265a0e07333d77783fdc4394 DIST genpatches-6.6-85.extras.tar.xz 4056 BLAKE2B fde9e8fb71fa1017338e793487ff7c5b02125b77ec9c8ba9417d23256201c794bff30f681f685ea398fc762711d2e7104f35a0a5a4cbfeb7b13dc894126e78f4 SHA512 7b96d2c7c805a14db1d500e94bb9077eb6826c3f115fa378620b6ad82da98ad3bac377f2a12b17ae6ec2d456abe1faca3088763f03784838d02ec5d33b629dc2 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.11.ebuild deleted file mode 100644 index dab371bb9c4e..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.11.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.8-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.12.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.12.ebuild deleted file mode 100644 index dab371bb9c4e..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.12.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.8-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.14.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.14.ebuild deleted file mode 100644 index 5b65f76f5b2f..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.14.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.8-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.1.ebuild deleted file mode 100644 index 9eb9be39ce19..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.1.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.8-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.2.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.2.ebuild deleted file mode 100644 index 5eca64d9a42d..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.13.2.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.13.1-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.75.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.75.ebuild deleted file mode 100644 index 3cd7741b4cb3..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.75.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -inherit kernel-build toolchain-funcs - -MY_P=linux-${PV%.*} -GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.6.12-gentoo -GENTOO_CONFIG_VER=g15 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -}