summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-kernel
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/asahi-sources/Manifest8
-rw-r--r--sys-kernel/asahi-sources/asahi-sources-6.19.14_p2.ebuild57
-rw-r--r--sys-kernel/asahi-sources/asahi-sources-7.0.9_p2.ebuild57
-rw-r--r--sys-kernel/asahi-sources/files/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch40
-rw-r--r--sys-kernel/asahi-sources/metadata.xml21
-rw-r--r--sys-kernel/bliss-initramfs/Manifest1
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild62
-rw-r--r--sys-kernel/bliss-initramfs/metadata.xml8
-rw-r--r--sys-kernel/cryptodev/Manifest1
-rw-r--r--sys-kernel/cryptodev/cryptodev-1.14.ebuild62
-rw-r--r--sys-kernel/cryptodev/cryptodev-9999.ebuild58
-rw-r--r--sys-kernel/cryptodev/files/cryptodev-1.14-linux-6.18.patch51
-rw-r--r--sys-kernel/cryptodev/metadata.xml8
-rw-r--r--sys-kernel/debian-sources/Manifest7
-rw-r--r--sys-kernel/debian-sources/debian-sources-4.19.282_p1-r1.ebuild734
-rw-r--r--sys-kernel/debian-sources/debian-sources-5.10.179_p1-r1.ebuild729
-rw-r--r--sys-kernel/debian-sources/debian-sources-6.1.27_p1-r1.ebuild741
-rwxr-xr-xsys-kernel/debian-sources/files/config-extract219
-rwxr-xr-xsys-kernel/debian-sources/files/config-extract-6.1224
-rw-r--r--sys-kernel/debian-sources/metadata.xml38
-rw-r--r--sys-kernel/dkms/Manifest4
-rw-r--r--sys-kernel/dkms/dkms-3.2.2.ebuild55
-rw-r--r--sys-kernel/dkms/dkms-3.3.0.ebuild55
-rw-r--r--sys-kernel/dkms/dkms-3.4.0.ebuild55
-rw-r--r--sys-kernel/dkms/dkms-3.4.1.ebuild55
-rw-r--r--sys-kernel/dkms/dkms-9999.ebuild55
-rw-r--r--sys-kernel/dkms/metadata.xml19
-rw-r--r--sys-kernel/dracut-crypt-ssh/Manifest1
-rw-r--r--sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r2.ebuild38
-rw-r--r--sys-kernel/dracut-crypt-ssh/metadata.xml14
-rw-r--r--sys-kernel/dracut/Manifest3
-rw-r--r--sys-kernel/dracut/dracut-108-r6.ebuild255
-rw-r--r--sys-kernel/dracut/dracut-110-r5.ebuild250
-rw-r--r--sys-kernel/dracut/dracut-111.ebuild246
-rw-r--r--sys-kernel/dracut/dracut-9999.ebuild246
-rw-r--r--sys-kernel/dracut/files/dracut-108-acct-user-group-gentoo.patch13
-rw-r--r--sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch13
-rw-r--r--sys-kernel/dracut/files/dracut-108-elf-parsing-fixes.patch332
-rw-r--r--sys-kernel/dracut/files/dracut-108-hostonly_cmdline-default-yes.patch23
-rw-r--r--sys-kernel/dracut/files/dracut-108-respect-objcopy-and-objdump.patch89
-rw-r--r--sys-kernel/dracut/files/dracut-110-acct-user-group-gentoo.patch13
-rw-r--r--sys-kernel/dracut/files/dracut-110-dash-printf.patch32
-rw-r--r--sys-kernel/dracut/files/dracut-110-set-defaults.patch29
-rw-r--r--sys-kernel/dracut/files/gentoo-ldconfig-paths-r1.patch39
-rw-r--r--sys-kernel/dracut/metadata.xml22
-rw-r--r--sys-kernel/dummy-sources/dummy-sources-9999.ebuild16
-rw-r--r--sys-kernel/dummy-sources/metadata.xml10
-rw-r--r--sys-kernel/genkernel/Manifest39
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.12-mdadm-musl-fix.patch14
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.15-fix-srcdir-for-new-bcache-tools.patch26
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.15-mdadm-musl-fix.patch22
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.16-add-eudev-3.2.14-static.patch33
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.16-globbing-workaround.patch19
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.16-musl.patch297
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.16-posix-shell.patch38
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.17-libxcrypt-build-fix.patch26
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.bash74
-rw-r--r--sys-kernel/genkernel/files/initramfs.mounts23
-rw-r--r--sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch11
-rw-r--r--sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch11
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.17-r4.ebuild290
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.18.ebuild290
-rw-r--r--sys-kernel/genkernel/genkernel-9999.ebuild290
-rw-r--r--sys-kernel/genkernel/metadata.xml14
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest98
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.257_p1.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.258.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.208_p1.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.209.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.174_p1.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.175.ebuild171
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.91_p1.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.92.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.33_p1.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.34.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.141_p1.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.142.ebuild225
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.10_p1.ebuild226
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.11.ebuild226
-rw-r--r--sys-kernel/gentoo-kernel-bin/metadata.xml13
-rw-r--r--sys-kernel/gentoo-kernel-modprep/Manifest15
-rw-r--r--sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.10_p1.ebuild185
-rw-r--r--sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.11.ebuild185
-rw-r--r--sys-kernel/gentoo-kernel-modprep/metadata.xml8
-rw-r--r--sys-kernel/gentoo-kernel/Manifest49
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.10.257_p1.ebuild146
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.10.258.ebuild146
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.15.208_p1.ebuild146
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.15.209.ebuild146
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.1.174_p1.ebuild147
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.1.175.ebuild147
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.12.91_p1.ebuild155
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.12.92.ebuild155
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.18.33_p1.ebuild158
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.18.34.ebuild158
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.6.141_p1.ebuild152
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.6.142.ebuild152
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-7.0.10_p1.ebuild158
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-7.0.11.ebuild158
-rw-r--r--sys-kernel/gentoo-kernel/metadata.xml17
-rw-r--r--sys-kernel/gentoo-sources/Manifest50
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-5.10.257-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-5.10.258.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-5.15.208-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-5.15.209.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.1.174-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.1.175.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.12.91-r1.ebuild37
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.12.92.ebuild37
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.18.33-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.18.34.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.6.141-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.6.142.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-7.0.10-r1.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-7.0.10.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-7.0.11.ebuild27
-rw-r--r--sys-kernel/gentoo-sources/metadata.xml14
-rw-r--r--sys-kernel/git-sources/Manifest7
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc1.ebuild39
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc2.ebuild39
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc3.ebuild39
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc4.ebuild39
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc5.ebuild39
-rw-r--r--sys-kernel/git-sources/git-sources-7.1_rc6.ebuild39
-rw-r--r--sys-kernel/git-sources/metadata.xml15
-rw-r--r--sys-kernel/gnumach/Manifest2
-rw-r--r--sys-kernel/gnumach/gnumach-1.8_p20260224.ebuild106
-rw-r--r--sys-kernel/gnumach/gnumach-1.8_p20260330.ebuild117
-rw-r--r--sys-kernel/gnumach/gnumach-9999.ebuild117
-rw-r--r--sys-kernel/gnumach/metadata.xml16
-rw-r--r--sys-kernel/hurd/Manifest2
-rw-r--r--sys-kernel/hurd/files/hurd-0.9_p20251029-glibc-2.43.patch82
-rw-r--r--sys-kernel/hurd/files/hurd-0.9_p20251029-libports-iterate-refcount.patch21
-rw-r--r--sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch10
-rw-r--r--sys-kernel/hurd/files/hurd-0.9_p20251029-rump-link.patch20
-rw-r--r--sys-kernel/hurd/hurd-0.9_p20251029.ebuild202
-rw-r--r--sys-kernel/hurd/hurd-0.9_p20260331.ebuild211
-rw-r--r--sys-kernel/hurd/hurd-9999.ebuild211
-rw-r--r--sys-kernel/hurd/metadata.xml28
-rw-r--r--sys-kernel/installkernel/Manifest5
-rw-r--r--sys-kernel/installkernel/installkernel-63.ebuild238
-rw-r--r--sys-kernel/installkernel/installkernel-65.ebuild245
-rw-r--r--sys-kernel/installkernel/installkernel-66.ebuild245
-rw-r--r--sys-kernel/installkernel/installkernel-67.ebuild245
-rw-r--r--sys-kernel/installkernel/installkernel-68.ebuild245
-rw-r--r--sys-kernel/installkernel/installkernel-9999.ebuild245
-rw-r--r--sys-kernel/installkernel/metadata.xml23
-rw-r--r--sys-kernel/kci-dev/Manifest2
-rw-r--r--sys-kernel/kci-dev/kci-dev-0.1.10.ebuild30
-rw-r--r--sys-kernel/kci-dev/kci-dev-0.1.6.ebuild27
-rw-r--r--sys-kernel/kci-dev/metadata.xml12
-rw-r--r--sys-kernel/kergen/Manifest1
-rw-r--r--sys-kernel/kergen/kergen-0.1.5-r1.ebuild17
-rw-r--r--sys-kernel/kergen/metadata.xml8
-rw-r--r--sys-kernel/kpatch/Manifest1
-rw-r--r--sys-kernel/kpatch/files/kpatch-0.9.10-no-werror.patch14
-rw-r--r--sys-kernel/kpatch/kpatch-0.9.10.ebuild101
-rw-r--r--sys-kernel/kpatch/kpatch-9999.ebuild96
-rw-r--r--sys-kernel/kpatch/metadata.xml16
-rw-r--r--sys-kernel/linux-docs/Manifest1
-rw-r--r--sys-kernel/linux-docs/linux-docs-6.18.33.ebuild46
-rw-r--r--sys-kernel/linux-docs/metadata.xml7
-rw-r--r--sys-kernel/linux-firmware/Manifest4
-rw-r--r--sys-kernel/linux-firmware/files/35-amd-microcode-systemd.install40
-rw-r--r--sys-kernel/linux-firmware/files/35-amd-microcode.install43
-rw-r--r--sys-kernel/linux-firmware/files/linux-firmware-copy-firmware-r9.patch57
-rw-r--r--sys-kernel/linux-firmware/files/linux-firmware-make-amd-ucode-img.bash79
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20260221.ebuild412
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20260309.ebuild412
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20260410.ebuild412
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20260519.ebuild412
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-99999999.ebuild412
-rw-r--r--sys-kernel/linux-firmware/metadata.xml25
-rw-r--r--sys-kernel/linux-headers/Manifest45
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch51
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch25
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-sparc-move-struct-termio-to-asm-termios.h.patch64
-rw-r--r--sys-kernel/linux-headers/linux-headers-3.18-r1.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.14-r2.ebuild50
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.19-r1.ebuild52
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.4-r1.ebuild50
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.9-r1.ebuild50
-rw-r--r--sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild54
-rw-r--r--sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild57
-rw-r--r--sys-kernel/linux-headers/linux-headers-5.4-r2.ebuild49
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.1.ebuild49
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.10.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.11.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.12.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.13.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.14.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.15.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.16-r2.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.16.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.17-r1.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.18.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.19.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.6-r1.ebuild54
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.8-r1.ebuild54
-rw-r--r--sys-kernel/linux-headers/linux-headers-6.9.ebuild54
-rw-r--r--sys-kernel/linux-headers/metadata.xml11
-rw-r--r--sys-kernel/linux-next/linux-next-9999.ebuild33
-rw-r--r--sys-kernel/linux-next/metadata.xml11
-rw-r--r--sys-kernel/liquorix-sources/Manifest2
-rw-r--r--sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig-r1.patch339
-rw-r--r--sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig.patch339
-rw-r--r--sys-kernel/liquorix-sources/liquorix-sources-7.0.10_p1.ebuild69
-rw-r--r--sys-kernel/liquorix-sources/metadata.xml10
-rw-r--r--sys-kernel/metadata.xml38
-rw-r--r--sys-kernel/mips-sources/Manifest6
-rw-r--r--sys-kernel/mips-sources/metadata.xml25
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.19.325.ebuild346
-rw-r--r--sys-kernel/mips-sources/mips-sources-5.4.294.ebuild343
-rw-r--r--sys-kernel/modprobed-db/Manifest2
-rw-r--r--sys-kernel/modprobed-db/metadata.xml12
-rw-r--r--sys-kernel/modprobed-db/modprobed-db-2.47.ebuild18
-rw-r--r--sys-kernel/modprobed-db/modprobed-db-2.48.ebuild18
-rw-r--r--sys-kernel/opensuse-sources/Manifest1
-rw-r--r--sys-kernel/opensuse-sources/files/config.tar.bz2bin250286 -> 0 bytes
-rw-r--r--sys-kernel/opensuse-sources/files/shiftfs.patch2244
-rw-r--r--sys-kernel/opensuse-sources/metadata.xml14
-rw-r--r--sys-kernel/opensuse-sources/opensuse-sources-5.19.8-r1.ebuild339
-rw-r--r--sys-kernel/pf-sources/Manifest15
-rw-r--r--sys-kernel/pf-sources/files/pf-sources-6.19_p4-ima_validate_range.patch89
-rw-r--r--sys-kernel/pf-sources/metadata.xml20
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.17_p4.ebuild94
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.18_p6.ebuild94
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.19_p5.ebuild95
-rw-r--r--sys-kernel/pf-sources/pf-sources-7.0_p1.ebuild94
-rw-r--r--sys-kernel/pf-sources/pf-sources-7.0_p4.ebuild101
-rw-r--r--sys-kernel/raspberrypi-image/Manifest8
-rw-r--r--sys-kernel/raspberrypi-image/metadata.xml11
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.1.21_p20230405.ebuild66
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.12.47_p20250915.ebuild72
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.12.75_p20260408.ebuild63
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.18.29_p20260513.ebuild63
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.18.32_p20260521.ebuild63
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.6.28_p20240424.ebuild66
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.6.31_p20240529.ebuild66
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-6.6.47_p20240902.ebuild66
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild63
-rw-r--r--sys-kernel/raspberrypi-sources/Manifest21
-rw-r--r--sys-kernel/raspberrypi-sources/files/raspberrypi-sources-6.1.21-gentoo-kconfig.patch13
-rw-r--r--sys-kernel/raspberrypi-sources/metadata.xml13
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.1.21_p20230405.ebuild76
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.47_p20250916.ebuild84
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.75_p20260408.ebuild84
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.29_p20260513.ebuild84
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.32_p20260521.ebuild87
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.31_p20240529.ebuild79
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.47_p20240902.ebuild82
-rw-r--r--sys-kernel/rt-sources/Manifest46
-rw-r--r--sys-kernel/rt-sources/metadata.xml13
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.14.336_p159.ebuild50
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.19.325_p140.ebuild50
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.10.239_p133.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.15.185_p86.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.4.293_p98.ebuild50
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.0.5_p14.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.1.134_p51.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.1.141_p52.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.12.28_p10.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.5.2_p8.ebuild51
-rw-r--r--sys-kernel/rt-sources/rt-sources-6.6.94_p56.ebuild51
-rw-r--r--sys-kernel/rumpkernel/Manifest1
-rw-r--r--sys-kernel/rumpkernel/files/rumpkernel-0_p20250111_p6-bsd-own-mk-no-sysroot.patch35
-rw-r--r--sys-kernel/rumpkernel/metadata.xml8
-rw-r--r--sys-kernel/rumpkernel/rumpkernel-0_pre20250111_p6.ebuild199
-rw-r--r--sys-kernel/rumpkernel/rumpkernel-9999.ebuild199
-rw-r--r--sys-kernel/scx-loader/Manifest338
-rw-r--r--sys-kernel/scx-loader/files/scx_loader.initd10
-rw-r--r--sys-kernel/scx-loader/metadata.xml25
-rw-r--r--sys-kernel/scx-loader/scx-loader-1.0.19.ebuild220
-rw-r--r--sys-kernel/scx-loader/scx-loader-1.0.20.ebuild210
-rw-r--r--sys-kernel/scx-loader/scx-loader-1.1.0.ebuild228
-rw-r--r--sys-kernel/scx-loader/scx-loader-1.1.1.ebuild231
-rw-r--r--sys-kernel/scx/Manifest10
-rw-r--r--sys-kernel/scx/files/scx-1.1.0-scx_cake-musl-fix.patch104
-rw-r--r--sys-kernel/scx/files/scx_loader.initd10
-rw-r--r--sys-kernel/scx/metadata.xml25
-rw-r--r--sys-kernel/scx/scx-1.0.16.ebuild154
-rw-r--r--sys-kernel/scx/scx-1.0.19.ebuild102
-rw-r--r--sys-kernel/scx/scx-1.0.20.ebuild101
-rw-r--r--sys-kernel/scx/scx-1.1.0.ebuild113
-rw-r--r--sys-kernel/scx/scx-1.1.1.ebuild98
-rw-r--r--sys-kernel/udev-hid-bpf/Manifest119
-rw-r--r--sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-cargo-no-bundled-libbpf.patch23
-rw-r--r--sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-click.patch13
-rw-r--r--sys-kernel/udev-hid-bpf/metadata.xml17
-rw-r--r--sys-kernel/udev-hid-bpf/udev-hid-bpf-2.2.0_p20251121.ebuild260
-rw-r--r--sys-kernel/uek-sources/Manifest6
-rw-r--r--sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch77
-rw-r--r--sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch10
-rw-r--r--sys-kernel/uek-sources/metadata.xml15
-rw-r--r--sys-kernel/uek-sources/uek-sources-5.15.0.300.159.7-r1.ebuild65
-rw-r--r--sys-kernel/uek-sources/uek-sources-5.15.0.300.161.13.ebuild65
-rw-r--r--sys-kernel/ugrd/Manifest6
-rw-r--r--sys-kernel/ugrd/metadata.xml17
-rw-r--r--sys-kernel/ugrd/ugrd-1.27.2.ebuild73
-rw-r--r--sys-kernel/ugrd/ugrd-1.28.2.ebuild73
-rw-r--r--sys-kernel/ugrd/ugrd-1.29.0-r1.ebuild73
-rw-r--r--sys-kernel/ugrd/ugrd-1.31.2.ebuild73
-rw-r--r--sys-kernel/ugrd/ugrd-2.0.2.ebuild81
-rw-r--r--sys-kernel/ugrd/ugrd-2.2.0.ebuild84
-rw-r--r--sys-kernel/ugrd/ugrd-9999.ebuild84
-rw-r--r--sys-kernel/vanilla-kernel/Manifest37
-rw-r--r--sys-kernel/vanilla-kernel/metadata.xml11
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.10.257.ebuild133
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.10.258.ebuild133
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.10.9999.ebuild113
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.208.ebuild133
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.209.ebuild133
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.9999.ebuild118
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.1.174.ebuild134
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.1.175.ebuild134
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.1.9999.ebuild119
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.12.91.ebuild142
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.12.92.ebuild142
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.12.9999.ebuild127
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.18.33.ebuild145
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.18.34.ebuild145
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.18.9999.ebuild130
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.141.ebuild139
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.142.ebuild139
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9999.ebuild119
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-7.0.10.ebuild145
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-7.0.11.ebuild145
-rw-r--r--sys-kernel/vanilla-sources/Manifest14
-rw-r--r--sys-kernel/vanilla-sources/metadata.xml11
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-5.10.258.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-5.15.209.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-6.1.175.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-6.12.92.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-6.18.34.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-6.6.142.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-7.0.11.ebuild16
-rw-r--r--sys-kernel/virtme-ng/Manifest7
-rw-r--r--sys-kernel/virtme-ng/metadata.xml13
-rw-r--r--sys-kernel/virtme-ng/virtme-ng-1.41.ebuild87
-rw-r--r--sys-kernel/xow/Manifest2
-rw-r--r--sys-kernel/xow/metadata.xml11
-rw-r--r--sys-kernel/xow/xow-0.5.ebuild35
-rw-r--r--sys-kernel/zen-sources/Manifest4
-rw-r--r--sys-kernel/zen-sources/metadata.xml16
-rw-r--r--sys-kernel/zen-sources/zen-sources-7.0.9.ebuild61
-rw-r--r--sys-kernel/zenpower3/Manifest1
-rw-r--r--sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch28
-rw-r--r--sys-kernel/zenpower3/files/zenpower3-9999-use-symlink-to-detect-kernel-version.patch37
-rw-r--r--sys-kernel/zenpower3/files/zenpower3-amd_pci_dev_to_node_id-kernel-6.14.patch49
-rw-r--r--sys-kernel/zenpower3/metadata.xml11
-rw-r--r--sys-kernel/zenpower3/zenpower3-0.2.0-r4.ebuild47
-rw-r--r--sys-kernel/zenpower3/zenpower3-9999.ebuild47
352 files changed, 0 insertions, 33242 deletions
diff --git a/sys-kernel/asahi-sources/Manifest b/sys-kernel/asahi-sources/Manifest
deleted file mode 100644
index 89844aee96d6..000000000000
--- a/sys-kernel/asahi-sources/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-DIST genpatches-6.19-13.base.tar.xz 1066164 BLAKE2B 4f3669d903bc8b87ddef0a5498d4a867acb9af46009b493f844a3f3618450035d3b66adeb8ef421b105651dbbe2a73f0623b30e84caa332515325cb542ab9f92 SHA512 7d8a74467ea8da697c9a874fe8e312e0d2f94d2fef0996eacc7c2ea359054fae129f75766fef75a2b49beb6bdde198d4a89688a5478d2ffda62da333d1bdd4c5
-DIST genpatches-6.19-13.extras.tar.xz 4324 BLAKE2B 08ac264a96648540f388117f4c308c57bed697321c389e502dc50f70c328757a928e95de701c53af94cf5b86a35fffc3ef27c242e1aa89f09a924354a3089686 SHA512 9fb0ec99235f7af4c37974894321b6232b46faea319707ac04a858f617445976c2c1ecb48c7757c57d22f656107a0ee977363831775bd0567bf9a5e23ff1249d
-DIST genpatches-7.0-14.base.tar.xz 296368 BLAKE2B ab4538f841fae36f1d5da84c07fed70a4098de6c76342379a8838cb2123d83a00f00ea5b50658055149654dad07798dd737fded755732e92a6a1fe289ae2baa7 SHA512 549fcbfde871f618cb77f2cc957f375230c605a5988f10770da2086bb086365d70d38e2b8a109d64b59ac37c1a35057dad2ed57ba9c43afde0612ccc5dbd4e7d
-DIST genpatches-7.0-14.extras.tar.xz 3976 BLAKE2B f0a7f28cd3d93c8214bdafd7ec9edb0e5d8e5609a7bde26f3a946df7f2197fbd024f2ef00f048447a968c12b467e6486dbd2b1db6782f57c16bb3d5f6fb1e51e SHA512 164883ccc0905535bb8ffbeb9932a350e62f73bb8ef10a4519b607c6fdb70f39c619e84b94534dff783f620bcc7dc0733299832d49d0062d8d47e521175b7c28
-DIST linux-6.19.tar.xz 156067644 BLAKE2B d1551c058e9a1201a0fa769b427255f13bb0d73fdd384e2c0302956cc9a1eeba255b013fa87a15fdad508bc00fdae2085590572c76cfe20fe2af31ba87b7d289 SHA512 01b29c7f4e5bc0c9802794c2cd027fece825f90417be229a71e60eefce530010d5d301749c54ae744e9d4a483518e769e2bb7e6e9209687681ad7fff11c3ed86
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-asahi-6.19.14-2.diff 2954541 BLAKE2B cd87365e43ad65b5b5538645cf32a8e3fdb69ce35447ce1cf5f1bac574a6d641a3a620ad6cb20b16ca8470ae888e773de03fb080cf317029e8c6f3284a65a2d2 SHA512 a25967b17305c68dd4580815215913e01e957016007cc55af0ebeb495248819351d75b4d3c540a975e703d7cc287099495be258ccd82e11e543e0bf7e62b0bbd
-DIST linux-asahi-7.0.9-2.diff 2940821 BLAKE2B ea2e6d7293e7bb0c1e18b61032b88cd2d74b22fdc7c297ce24d0b54104028d66ede8b4b47aa109834d2865e29092327746bbe66c7030c2340f232edba3ec6a56 SHA512 8541f2bd89c3c6a43af6c79f0d90491e4d6c6f98ba086f3039d7050de1fc3d3124512d7c4ebe45ca5ca155a25593a059d6750891b491b5e96d568ffa6c2db870
diff --git a/sys-kernel/asahi-sources/asahi-sources-6.19.14_p2.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.19.14_p2.ebuild
deleted file mode 100644
index 141ae4f987ee..000000000000
--- a/sys-kernel/asahi-sources/asahi-sources-6.19.14_p2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="13"
-K_NODRYRUN="1"
-
-RUST_MIN_VER="1.85.0"
-RUST_REQ_USE='rust-src,rustfmt'
-
-inherit kernel-2 rust
-detect_version
-detect_arch
-
-# $PV is expected to be of following form: 5.19.0_p1
-MY_TAG="$(ver_cut 5)"
-if [[ "$(ver_cut 3)" == "0" ]] ; then
- MY_BASE="$(ver_cut 1-2)"
-else
- MY_BASE="$(ver_cut 1-3)"
-fi
-
-EXTRAVERSION="-asahi-${MY_TAG}"
-
-ASAHI_TAG="asahi-${MY_BASE}-${MY_TAG}"
-
-DESCRIPTION="Asahi Linux kernel sources"
-HOMEPAGE="https://asahilinux.org"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
- https://github.com/AsahiLinux/linux/compare/v${MY_BASE}...${ASAHI_TAG}.diff
- -> linux-${ASAHI_TAG}.diff
-"
-KV_FULL="${PVR/_p/-asahi-}"
-S="${WORKDIR}/linux-${KV_FULL}"
-
-KEYWORDS="arm64"
-
-DEPEND="
- ${DEPEND}
- dev-util/bindgen
-"
-
-UNIPATCH_LIST="
- ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch
- ${DISTDIR}/linux-${ASAHI_TAG}.diff
-"
-
-pkg_postinst() {
- einfo "For more information about Asahi Linux please visit ${HOMEPAGE},"
- einfo "or consult the Wiki at https://github.com/AsahiLinux/docs/wiki."
- kernel-2_pkg_postinst
-}
diff --git a/sys-kernel/asahi-sources/asahi-sources-7.0.9_p2.ebuild b/sys-kernel/asahi-sources/asahi-sources-7.0.9_p2.ebuild
deleted file mode 100644
index 579d11093056..000000000000
--- a/sys-kernel/asahi-sources/asahi-sources-7.0.9_p2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="14"
-K_NODRYRUN="1"
-
-RUST_MIN_VER="1.85.0"
-RUST_REQ_USE='rust-src,rustfmt'
-
-inherit kernel-2 rust
-detect_version
-detect_arch
-
-# $PV is expected to be of following form: 5.19.0_p1
-MY_TAG="$(ver_cut 5)"
-if [[ "$(ver_cut 3)" == "0" ]] ; then
- MY_BASE="$(ver_cut 1-2)"
-else
- MY_BASE="$(ver_cut 1-3)"
-fi
-
-EXTRAVERSION="-asahi-${MY_TAG}"
-
-ASAHI_TAG="asahi-${MY_BASE}-${MY_TAG}"
-
-DESCRIPTION="Asahi Linux kernel sources"
-HOMEPAGE="https://asahilinux.org"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
- https://github.com/AsahiLinux/linux/compare/v${MY_BASE}...${ASAHI_TAG}.diff
- -> linux-${ASAHI_TAG}.diff
-"
-KV_FULL="${PVR/_p/-asahi-}"
-S="${WORKDIR}/linux-${KV_FULL}"
-
-KEYWORDS="~arm64"
-
-DEPEND="
- ${DEPEND}
- dev-util/bindgen
-"
-
-UNIPATCH_LIST="
- ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch
- ${DISTDIR}/linux-${ASAHI_TAG}.diff
-"
-
-pkg_postinst() {
- einfo "For more information about Asahi Linux please visit ${HOMEPAGE},"
- einfo "or consult the Wiki at https://github.com/AsahiLinux/docs/wiki."
- kernel-2_pkg_postinst
-}
diff --git a/sys-kernel/asahi-sources/files/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch b/sys-kernel/asahi-sources/files/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch
deleted file mode 100644
index 0e99029145e5..000000000000
--- a/sys-kernel/asahi-sources/files/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 7bc5223ed71bdee422c01c67b0456c4238b4a36e Mon Sep 17 00:00:00 2001
-From: Janne Grunau <j@jannau.net>
-Date: Sat, 18 May 2024 11:47:46 +0200
-Subject: [PATCH 1/1] config: gentoo: Drop RANDSTRUCT from
- GENTOO_KERNEL_SELF_PROTECTION_COMMON
-
-It is incompatible with RUST and the current method of selected it
-results in Kconfig breakage due to circular dependencies. Drop it for
-asahi-kernel.
-
-Signed-off-by: Janne Grunau <j@jannau.net>
----
- distro/Kconfig | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/distro/Kconfig b/distro/Kconfig
-index 9166e4a9abe6..ad4b417e0da7 100644
---- a/distro/Kconfig
-+++ b/distro/Kconfig
-@@ -174,7 +174,7 @@ if GENTOO_KERNEL_SELF_PROTECTION
- config GENTOO_KERNEL_SELF_PROTECTION_COMMON
- bool "Enable Kernel Self Protection Project Recommendations"
-
-- depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32_ABI && !MODIFY_LDT_SYSCALL && GCC_PLUGINS && !IOMMU_DEFAULT_DMA_LAZY && !IOMMU_DEFAULT_PASSTHROUGH && IOMMU_DEFAULT_DMA_STRICT && SECURITY && !ARCH_EPHEMERAL_INODES && RANDSTRUCT_PERFORMANCE
-+ depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32_ABI && !MODIFY_LDT_SYSCALL && GCC_PLUGINS && !IOMMU_DEFAULT_DMA_LAZY && !IOMMU_DEFAULT_PASSTHROUGH && IOMMU_DEFAULT_DMA_STRICT && SECURITY && !ARCH_EPHEMERAL_INODES
-
- select BUG
- select STRICT_KERNEL_RWX
-@@ -221,8 +221,6 @@ config GENTOO_KERNEL_SELF_PROTECTION_COMMON
- select GCC_PLUGIN_LATENT_ENTROPY
- select GCC_PLUGIN_STRUCTLEAK
- select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
-- select GCC_PLUGIN_RANDSTRUCT
-- select GCC_PLUGIN_RANDSTRUCT_PERFORMANCE
- select ZERO_CALL_USED_REGS if CC_HAS_ZERO_CALL_USED_REGS
-
- help
---
-2.45.0
-
diff --git a/sys-kernel/asahi-sources/metadata.xml b/sys-kernel/asahi-sources/metadata.xml
deleted file mode 100644
index b8b01d04fd36..000000000000
--- a/sys-kernel/asahi-sources/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>jcalligeros99@gmail.com</email>
- <name>James Calligeros</name>
- </maintainer>
- <maintainer type="project">
- <email>asahi@gentoo.org</email>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="symlink">Automatically symlink the kernel sources to /usr/src/linux</flag>
- </use>
- <upstream>
- <remote-id type="github">AsahiLinux/linux</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
deleted file mode 100644
index 56b79f9474bb..000000000000
--- a/sys-kernel/bliss-initramfs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bliss-initramfs-9.3.0.tar.gz 28318 BLAKE2B c96a23030fc5e3ae168dbc6a4bd127eb9d6f19c0121a02351422062911274e16fe5911946942d7ef60b5eb692e679616901ac842f2af133631be894c9be36c1c SHA512 051652da42356ef601453088cc2af2c08dea5101dc922dbab966aec939717441ab31a3f6cc65599eabcd2628d156c5e22675703e48f862ed168f093f115c8dd0
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild
deleted file mode 100644
index d5f985c4dd7b..000000000000
--- a/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-inherit python-single-r1
-
-DESCRIPTION="Boot your system's rootfs from Encrypted/OpenZFS"
-HOMEPAGE="https://github.com/fearedbliss/bliss-initramfs"
-SRC_URI="https://github.com/fearedbliss/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="strip"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="-* amd64"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-alternatives/cpio
- virtual/udev"
-
-DOCS=( README.md README-MORE.md USAGE.md )
-
-CONFIG_FILE="/etc/bliss-initramfs/settings.json"
-
-src_install() {
- # Copy the main executable
- local executable="mkinitrd.py"
- exeinto "/opt/${PN}"
- doexe "${executable}"
-
- # Copy the libraries required by this executable
- cp -r "${S}/files" "${D}/opt/${PN}" || die
- cp -r "${S}/pkg" "${D}/opt/${PN}" || die
-
- # Copy the configuration file for the user
- dodir "/etc/${PN}"
- cp "${S}/files/default-settings.json" "${D}${CONFIG_FILE}"
-
- python_fix_shebang "${D}/opt/${PN}/${executable}"
-
- # Make a relative symbolic link: /sbin/bliss-initramfs
- dosym "../opt/${PN}/${executable}" "/sbin/${PN}"
-}
-
-pkg_postinst() {
- elog "Version >=9.0.0 is a BREAKING CHANGE! bliss-initramfs now has native"
- elog "zfs encryption support, and LUKS has been completely removed. If you"
- elog "are using LUKS, please stay on version 8.1.0 since that is the last"
- elog "version to support LUKS!\n"
- elog "For a full list of changes, please read the release info located here:"
- elog "https://github.com/fearedbliss/bliss-initramfs/releases/tag/9.0.0"
- elog ""
- elog "As of version 8.1.0, ${PN} has a new centralized configuration architecture."
- elog "Any customizations you want to provide to ${PN} should be done by modifying"
- elog "${CONFIG_FILE}. You can use the \"-c/--config\" option to provide"
- elog "an alternate configuration path.\n"
- elog "For a full list of changes, please read the release info located here:"
- elog "https://github.com/fearedbliss/bliss-initramfs/releases/tag/8.1.0"
-}
diff --git a/sys-kernel/bliss-initramfs/metadata.xml b/sys-kernel/bliss-initramfs/metadata.xml
deleted file mode 100644
index 16b76bd4ecd6..000000000000
--- a/sys-kernel/bliss-initramfs/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!--maintainer-needed-->
- <upstream>
- <remote-id type="codeberg">fearedbliss/bliss-initramfs</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest
deleted file mode 100644
index 5bbc58aa6a56..000000000000
--- a/sys-kernel/cryptodev/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cryptodev-linux-1.14.tar.gz 57797 BLAKE2B 842c78a1d77d978a7a07b7fa07729e49ec3949230a2e49820eb0a51531660e3af6edb52064241f5e768d75d946276c9d9f6a75dfa058d7dd9c7e0acd9ebc69ee SHA512 569093a8fc3424d37f5d094a7dbce68850571aac08007b3bf3a4754e381de8e0ed1d6901d44083e6cdf384fc882a0203b5362eabbaca4cc15e669e48904154dc
diff --git a/sys-kernel/cryptodev/cryptodev-1.14.ebuild b/sys-kernel/cryptodev/cryptodev-1.14.ebuild
deleted file mode 100644
index 3f9b2cebdfaa..000000000000
--- a/sys-kernel/cryptodev/cryptodev-1.14.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info linux-mod-r1
-
-DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
-HOMEPAGE="http://cryptodev-linux.org/"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/cryptodev-linux/cryptodev-linux.git"
-else
- SRC_URI="https://github.com/cryptodev-linux/cryptodev-linux/archive/${PN}-linux-${PV}.tar.gz"
- KEYWORDS="amd64 ~arm x86"
- S=${WORKDIR}/${PN}-linux-${PN}-linux-${PV}
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="examples"
-
-DEPEND="virtual/linux-sources"
-
-#test requires that the module is already loaded
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/${P}-linux-6.18.patch
-)
-
-pkg_pretend() {
- use kernel_linux || die "cryptodev ebuild only support linux"
-
- CONFIG_CHECK="~CRYPTO ~CRYPTO_AEAD"
- if kernel_is -lt 4 8 0; then
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_BLKCIPHER"
- else
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SKCIPHER"
- fi
- check_extra_config
-}
-
-src_compile() {
- local modlist=( cryptodev="extra:${S}" )
- local modargs=( KERNEL_DIR="${KV_OUT_DIR}" )
-
- linux-mod-r1_src_compile
-}
-
-src_install() {
- linux-mod-r1_src_install
-
- insinto /usr/include/crypto
- doins crypto/cryptodev.h
-
- if use examples ; then
- docinto examples
- dodoc example/*
- fi
-}
diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild
deleted file mode 100644
index 1ec7c3e4ec93..000000000000
--- a/sys-kernel/cryptodev/cryptodev-9999.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info linux-mod-r1
-
-DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
-HOMEPAGE="http://cryptodev-linux.org/"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/cryptodev-linux/cryptodev-linux.git"
-else
- SRC_URI="https://github.com/cryptodev-linux/cryptodev-linux/archive/${PN}-linux-${PV}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
- S=${WORKDIR}/${PN}-linux-${PN}-linux-${PV}
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="examples"
-
-DEPEND="virtual/linux-sources"
-
-#test requires that the module is already loaded
-RESTRICT="test"
-
-pkg_pretend() {
- use kernel_linux || die "cryptodev ebuild only support linux"
-
- CONFIG_CHECK="~CRYPTO ~CRYPTO_AEAD"
- if kernel_is -lt 4 8 0; then
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_BLKCIPHER"
- else
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SKCIPHER"
- fi
- check_extra_config
-}
-
-src_compile() {
- local modlist=( cryptodev="extra:${S}" )
- local modargs=( KERNEL_DIR="${KV_OUT_DIR}" )
-
- linux-mod-r1_src_compile
-}
-
-src_install() {
- linux-mod-r1_src_install
-
- insinto /usr/include/crypto
- doins crypto/cryptodev.h
-
- if use examples ; then
- docinto examples
- dodoc example/*
- fi
-}
diff --git a/sys-kernel/cryptodev/files/cryptodev-1.14-linux-6.18.patch b/sys-kernel/cryptodev/files/cryptodev-1.14-linux-6.18.patch
deleted file mode 100644
index 6627350d75e0..000000000000
--- a/sys-kernel/cryptodev/files/cryptodev-1.14-linux-6.18.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 08644db02d43478f802755903212f5ee506af73b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com>
-Date: Sat, 6 Sep 2025 20:36:38 +0000
-Subject: [PATCH] Fix build for Linux 6.18-rc1
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's no longer required to use nth_page() when iterating pages within a
-single scatterlist entry.
-
-Note I believe this code path in `sg_advance` is currently unreachable:
-It is only called from `get_userbuf_srtp`, passing in a scatterlist
-copied from one created by `__get_userbuf`, which only generates
-entries such that `sg->offset + sg->length <= PAGE_SIZE`.
-On the other hand, this code path in `sg_advance` requires that
-`sg->offset + sg->length > sg->offset + consumed >= PAGE_SIZE`.
-
-See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8f03eb5f0f91fddc9bb8563c7e82bd7d3ba1dd0
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce00897b94bc5c62fab962625efcf1ab824d3688
-
-Signed-off-by: Joan Bruguera Micó <joanbrugueram@gmail.com>
----
- util.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/util.c b/util.c
-index 9eba483..d426781 100644
---- a/util.c
-+++ b/util.c
-@@ -21,6 +21,7 @@
-
- #include <crypto/scatterwalk.h>
- #include <linux/scatterlist.h>
-+#include <linux/version.h>
- #include "util.h"
-
- /* These were taken from Maxim Levitsky's patch to lkml.
-@@ -44,8 +45,12 @@ struct scatterlist *sg_advance(struct scatterlist *sg, int consumed)
- sg->length -= consumed;
-
- if (sg->offset >= PAGE_SIZE) {
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 18, 0))
-+ struct page *page = sg_page(sg) + (sg->offset / PAGE_SIZE);
-+#else
- struct page *page =
- nth_page(sg_page(sg), sg->offset / PAGE_SIZE);
-+#endif
- sg_set_page(sg, page, sg->length, sg->offset % PAGE_SIZE);
- }
-
diff --git a/sys-kernel/cryptodev/metadata.xml b/sys-kernel/cryptodev/metadata.xml
deleted file mode 100644
index 6c0df026c69a..000000000000
--- a/sys-kernel/cryptodev/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>swegener@gentoo.org</email>
- <name>Sven Wegener</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-kernel/debian-sources/Manifest b/sys-kernel/debian-sources/Manifest
deleted file mode 100644
index 2099c85a7eba..000000000000
--- a/sys-kernel/debian-sources/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST linux_4.19.282-1.debian.tar.xz 1596888 BLAKE2B 74006f301f29caf0fbd3c4dd8f0ba745fa504282c38a25abc256d188bcc97003a6cb1724c91d4867dc651a62efe5954f5c20e882819cbc12d28c4ca371846396 SHA512 c5d7a16b845f664560a5d8535b1123527a76f2cc02cc203d21fb0113caf50c69bfd1dc45d287f199bb5730e108d2840c838d86d100ee9a98c5a3b5e3f8355f96
-DIST linux_4.19.282.orig.tar.xz 106788440 BLAKE2B 34e82ddbd26a5f950fdfa1e7d329890858df8cb465c24aaed42d7ce7491bd07e4fdf3210a660a5203a5a7bd5c5292f87bdc82b1b2c4f98491ee64517bb8bff62 SHA512 d8322c6432b9b33a5656938a019718cd264a67b22395074970fa61562382ad09b2590060a77779aaf95a230f724d306acb2b4287129550ef26ee311d574b2fcf
-DIST linux_5.10.179-1.debian.tar.xz 1594496 BLAKE2B 5106db7f74405aacbd94b6096c36f90cf003f5b42995d8b8ebefe27faa0980251bde9d7191a18f0e4fbc6e2e2d9c65a9b137c426b6190da433523b016988adf0 SHA512 0cc5e306ca48b01dd36f85578217a2354f61cb1340f97878557cb21f8c634f4936bb9011738fdc34e884f11360b6b19234aee18c94e4b51611ecbe9ddda83bc9
-DIST linux_5.10.179.orig.tar.xz 121881852 BLAKE2B 1f5cea2d0e8bc9390e761890c407eaec7434cb432121d4b7e5160b2096d952a1efc5a5034728658aabbc2766e203a8ea996a747d721fdf4b395151c76e4846aa SHA512 7f41fed871bb9e3f53fd10c9b97191d47ca75e37dcc81bb733e416c1bae709b7042ff595150ac3048d0fb01c50262478dc242fb91f6b2b2c3a9dfdb9d94b9393
-DIST linux_6.1.27-1.debian.tar.xz 1458556 BLAKE2B dce09dc9625e51ee8e6bb7731d20676aef44270e5964af0d7e15179c8e4f08be053ef29363a10a6ddda15db46bf3a45f99fb9943a211bbb4c99a1bca8d38fce0 SHA512 50fb9ec0b594dff9b1761b216d216225f4d2fe1d15437e2f5b1c1a460a2d762fe3e9533c9ddfae3a1534542e7de72fc74f9e714a51def1947aa1bc1cd425e882
-DIST linux_6.1.27.orig.tar.xz 137313692 BLAKE2B 55df84887623ac8849ab01f6081097d4a90e5d6299d48a02b84e2e9bba1873be53720b60d3f9d612180f029e1a6e7a8fc09be40478d2525591988ef83bbc78db SHA512 c0d42d94046f0afd12c2be8111cea317ec740141eceab765064019db6f8dd8c5a6ed23455d56ed4b34e1856b25b7e7e0d8ef101e93997f77453c4721f629bbda
-DIST linux_patches.tar.xz 237308 BLAKE2B f19262705be0f3829b7aad1d529d9712bb7a7ba0d2c75793fc721db587e2665ee076e8d8db82ec088132fd6dcbd129315b1f7f71dcea5992d277346687be7d12 SHA512 12e9ab9ce797d2766dec1c086b50dcdcef25d73ac7435882d61180df3e7d654b4be5de18be88bc02f103a1cae923ca65fe1366f4c1a6970357ee132150511447
diff --git a/sys-kernel/debian-sources/debian-sources-4.19.282_p1-r1.ebuild b/sys-kernel/debian-sources/debian-sources-4.19.282_p1-r1.ebuild
deleted file mode 100644
index 5e0859a25403..000000000000
--- a/sys-kernel/debian-sources/debian-sources-4.19.282_p1-r1.ebuild
+++ /dev/null
@@ -1,734 +0,0 @@
-# Copyright 2020-2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit check-reqs mount-boot toolchain-funcs
-
-DESCRIPTION="Linux kernel sources with Debian patches."
-HOMEPAGE="https://packages.debian.org/unstable/kernel/"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64 arm arm64"
-
-SLOT=$(ver_cut 1-2)
-
-RESTRICT="binchecks strip mirror"
-
-IUSE="binary btrfs clang custom-cflags debug dmraid dtrace ec2 firmware hardened iscsi luks lvm mcelog mdadm microcode multipath nbd nfs plymouth selinux sign-modules symlink systemd wireguard zfs"
-
-BDEPEND="
- sys-devel/bc
- debug? ( dev-util/dwarves )
- virtual/libelf
-"
-
-DEPEND="
- net-misc/dhcp[client]
- binary? ( sys-kernel/dracut )
- btrfs? ( sys-fs/btrfs-progs )
- dtrace? (
- dev-util/dtrace-utils
- dev-libs/libdtrace-ctf
- )
- firmware? (
- sys-kernel/linux-firmware
- )
- luks? ( sys-fs/cryptsetup )
- lvm? ( sys-fs/lvm2 )
- mdadm? ( sys-fs/mdadm )
- mcelog? ( app-admin/mcelog )
- plymouth? (
- x11-libs/libdrm
- sys-boot/plymouth[udev]
- )
- sign-modules? (
- || ( dev-libs/openssl
- )
- sys-apps/kmod
- )
- systemd? ( sys-apps/systemd )
- !systemd? ( sys-fs/eudev )
- wireguard? ( virtual/wireguard )
- zfs? ( sys-fs/zfs )
-"
-
-DEB_PV_BASE=${PV/_*/} #5.8.7
-DEB_EXTRAVERSION=${PV/*_p/-} #-1
-EXTRAVERSION=${PV/*_/_} #_p1
-
-TEMP_EXTRA_VERSION="debian"
-
-# at a minimum we will append EXTRAVERSION (debian patch set revision) and TEMP_EXTRA_VERSION (debian name) to MODULE_EXT
-# if we have a local revision, we append that between EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian-r5
-# if we do not have a local revision, then we have only EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian
-if [ "${PR}" != "r0" ]; then
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}-${PR}
-else
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}
-fi
-
-DEB_PV="${DEB_PV_BASE}${DEB_EXTRAVERSION}"
-KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz"
-DEB_PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz"
-LIG_PATCH_ARCHIVE="linux_patches.tar.xz"
-LIG_UPSTREAM="https://gitlab.com/liguros/distfiles/-/raw/main"
-
-SRC_URI="
- $LIG_UPSTREAM/${KERNEL_ARCHIVE}
- $LIG_UPSTREAM/${DEB_PATCH_ARCHIVE}
- $LIG_UPSTREAM/${LIG_PATCH_ARCHIVE}
-"
-
-S="$WORKDIR/linux-${DEB_PV_BASE}"
-
-# TODO: manage HARDENED_PATCHES and GENTOO_PATCHES can be managed in a git repository and packed into tar balls per version.
-
-HARDENED_PATCHES_DIR="${WORKDIR}/${SLOT}/hardened-patches"
-
-# 'linux-hardened' minimal patch set to compliment existing Kernel-Self-Protection-Project
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
-# All of the above already provided by Debian patches.
-HARDENED_PATCHES=(
- 0001-make-DEFAULT_MMAP_MIN_ADDR-match-LSM_MMAP_MIN_ADDR.patch
- 0002-enable-HARDENED_USERCOPY-by-default.patch
- 0003-disable-HARDENED_USERCOPY_FALLBACK-by-default.patch
- 0004-enable-SECURITY_DMESG_RESTRICT-by-default.patch
- 0005-set-kptr_restrict-2-by-default.patch
- 0006-enable-DEBUG_LIST-by-default.patch
- 0007-enable-BUG_ON_DATA_CORRUPTION-by-default.patch
- 0008-enable-ARM64_SW_TTBR0_PAN-by-default.patch
- 0009-arm64-enable-RANDOMIZE_BASE-by-default.patch
- 0010-enable-SLAB_FREELIST_RANDOM-by-default.patch
- 0011-enable-SLAB_FREELIST_HARDENED-by-default.patch
- 0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
- 0013-enable-FORTIFY_SOURCE-by-default.patch
- 0014-enable-PANIC_ON_OOPS-by-default.patch
- 0015-stop-hiding-SLUB_DEBUG-behind-EXPERT.patch
- 0016-stop-hiding-X86_16BIT-behind-EXPERT.patch
- 0017-disable-X86_16BIT-by-default.patch
- 0018-stop-hiding-MODIFY_LDT_SYSCALL-behind-EXPERT.patch
- 0019-disable-MODIFY_LDT_SYSCALL-by-default.patch
- 0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
- 0021-stop-hiding-AIO-behind-EXPERT.patch
- 0022-disable-AIO-by-default.patch
- 0023-remove-SYSVIPC-from-arm64-x86_64-defconfigs.patch
- 0024-disable-DEVPORT-by-default.patch
- 0025-disable-PROC_VMCORE-by-default.patch
- 0026-disable-NFS_DEBUG-by-default.patch
- 0027-enable-DEBUG_WX-by-default.patch
- 0028-disable-LEGACY_PTYS-by-default.patch
- 0029-disable-DEVMEM-by-default.patch
- 0030-enable-IO_STRICT_DEVMEM-by-default.patch
- 0031-disable-COMPAT_BRK-by-default.patch
- 0032-use-maximum-supported-mmap-rnd-entropy-by-default.patch
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
- 0034-enable-SECURITY-by-default.patch
- 0035-enable-SECURITY_YAMA-by-default.patch
- 0036-enable-SECURITY_NETWORK-by-default.patch
- 0037-enable-AUDIT-by-default.patch
- 0038-enable-SECURITY_SELINUX-by-default.patch
- 0039-enable-SYN_COOKIES-by-default.patch
- 0040-add-__read_only-for-non-init-related-usage.patch
- 0041-make-sysctl-constants-read-only.patch
- 0042-mark-kernel_set_to_readonly-as-__ro_after_init.patch
- 0043-mark-slub-runtime-configuration-as-__ro_after_init.patch
- 0044-add-__ro_after_init-to-slab_nomerge-and-slab_state.patch
- 0045-mark-kmem_cache-as-__ro_after_init.patch
- 0046-mark-__supported_pte_mask-as-__ro_after_init.patch
- 0047-mark-kobj_ns_type_register-as-only-used-for-init.patch
- 0048-mark-open_softirq-as-only-used-for-init.patch
- 0049-remove-unused-softirq_action-callback-parameter.patch
- 0050-mark-softirq_vec-as-__ro_after_init.patch
- 0051-mm-slab-trigger-BUG-if-requested-object-is-not-a-sla.patch
- 0052-bug-on-kmem_cache_free-with-the-wrong-cache.patch
- 0053-bug-on-PageSlab-PageCompound-in-ksize.patch
- 0054-mm-add-support-for-verifying-page-sanitization.patch
- 0055-slub-Extend-init_on_free-to-slab-caches-with-constru.patch
- 0056-slub-Add-support-for-verifying-slab-sanitization.patch
- 0057-slub-add-multi-purpose-random-canaries.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
- 0059-enable-SECURITY_PERF_EVENTS_RESTRICT-by-default.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- 0061-add-kmalloc-krealloc-alloc_size-attributes.patch
- 0062-add-vmalloc-alloc_size-attributes.patch
- 0063-add-kvmalloc-alloc_size-attribute.patch
- 0064-add-percpu-alloc_size-attributes.patch
- 0065-add-alloc_pages_exact-alloc_size-attributes.patch
- 0066-Add-the-extra_latent_entropy-kernel-parameter.patch
- 0067-ata-avoid-null-pointer-dereference-on-bug.patch
- 0068-sanity-check-for-negative-length-in-nla_memcpy.patch
- 0069-add-page-destructor-sanity-check.patch
- 0070-PaX-shadow-cr4-sanity-check-essentially-a-revert.patch
- 0071-add-writable-function-pointer-detection.patch
- 0072-support-overriding-early-audit-kernel-cmdline.patch
- 0073-FORTIFY_SOURCE-intra-object-overflow-checking.patch
- 0074-Revert-mm-revert-x86_64-and-arm64-ELF_ET_DYN_BASE-ba.patch
- 0075-x86_64-move-vdso-to-mmap-region-from-stack-region.patch
- 0076-x86-determine-stack-entropy-based-on-mmap-entropy.patch
- 0077-arm64-determine-stack-entropy-based-on-mmap-entropy.patch
- 0078-randomize-lower-bits-of-the-argument-block.patch
- 0079-x86_64-match-arm64-brk-randomization-entropy.patch
- 0080-support-randomizing-the-lower-bits-of-brk.patch
- 0081-mm-randomize-lower-bits-of-brk.patch
- 0082-x86-randomize-lower-bits-of-brk.patch
- 0083-mm-guarantee-brk-gap-is-at-least-one-page.patch
- 0084-x86-guarantee-brk-gap-is-at-least-one-page.patch
- 0085-x86_64-bound-mmap-between-legacy-modern-bases.patch
- 0086-restrict-device-timing-side-channels.patch
- 0087-add-toggle-for-disabling-newly-added-USB-devices.patch
- 0088-hard-wire-legacy-checkreqprot-option-to-0.patch
- 0089-security-tty-Add-owner-user-namespace-to-tty_struct.patch
- 0090-security-tty-make-TIOCSTI-ioctl-require-CAP_SYS_ADMI.patch
- 0091-enable-SECURITY_TIOCSTI_RESTRICT-by-default.patch
- 0092-disable-unprivileged-eBPF-access-by-default.patch
- 0093-enable-BPF-JIT-hardening-by-default-if-available.patch
- 0094-enable-protected_-fifos-regular-by-default.patch
- 0095-Revert-mark-kernel_set_to_readonly-as-__ro_after_ini.patch
- 0096-modpost-Add-CONFIG_DEBUG_WRITABLE_FUNCTION_POINTERS_.patch
- 0097-mm-Fix-extra_latent_entropy.patch
- 0098-add-CONFIG-for-unprivileged_userns_clone.patch
- 0099-enable-INIT_ON_ALLOC_DEFAULT_ON-by-default.patch
- 0100-enable-INIT_ON_FREE_DEFAULT_ON-by-default.patch
- 0101-add-CONFIG-for-unprivileged_userfaultfd.patch
- 0102-slub-Extend-init_on_alloc-to-slab-caches-with-constr.patch
- 0103-net-tcp-add-option-to-disable-TCP-simultaneous-conne.patch
-# 0104-backport-net-packet-fix-overflow-in-tpacket_rcv.patch
-)
-
-GENTOO_PATCHES_DIR="${WORKDIR}/${SLOT}/gentoo-patches"
-
-# Gentoo Linux 'genpatches' patch set
-# 1510_fs-enable-link-security-restrctions-by-default.patch is already provided in debian patches
-# 4567_distro-Gentoo-Kconfiig TODO?
-GENTOO_PATCHES=(
- 1500_XATTR_USER_PREFIX.patch
- #1510_fs-enable-link-security-restrictions-by-default.patch
- 1900_fs-increase-BINPRM-BUF-SIZE-to-256.patch
- 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
- 2600_enable-key-swapping-for-apple-mac.patch
- 3000_Support-printing-firmware-info.patch
- 4400_alpha-sysctl-uac.patch
- 4567_distro-Gentoo-Kconfig.patch
- 5010_enable-cpu-optimizations-universal.patch
-)
-
-DTRACE_PATCHES_DIR="${WORKDIR}/${SLOT}/dtrace-patches"
-
-DTRACE_PATCHES=(
- 0001-kallsyms-new-proc-kallmodsyms-with-builtin-modules-a.patch
- 0002-ctf-generate-CTF-information-for-the-kernel.patch
- 0003-waitfd-new-syscall-implementing-waitpid-over-fds.patch
- 0004-ctf-kernel-build-with-gt-for-CTF-generation-using-GC.patch
- 0005-ctf-toolchain-based-CTF-support.patch
- 0006-kbuild-arm64-Set-objects.builtin-dependency-to-Image.patch
- 0007-ctf-adapt-to-the-new-CTF-linker-API.patch
- 0008-ctf-discard-CTF-sections-for-arches-not-using-DISCAR.patch
- 0009-ctf-discard-CTF-from-the-vDSO.patch
- 0010-ctf-fix-memory-leak-in-ctfarchive.patch
- 0011-ctf-adjust-to-upcoming-binutils-ctf_link_add_ctf-API.patch
- 0012-ctf-support-ld-ctf-variables-if-available.patch
- 0013-ctf-add-.ctf-to-.gitignore.patch
- 0014-waitfd-enable-by-default.patch
-)
-
-eapply_hardened() {
- eapply "${HARDENED_PATCHES_DIR}/${1}"
-}
-
-eapply_gentoo() {
- eapply "${GENTOO_PATCHES_DIR}/${1}"
-}
-
-eapply_dtrace() {
- eapply "${DTRACE_PATCHES_DIR}/${1}"
-}
-
-get_patch_list() {
- [[ -z "${1}" ]] && die "No patch series file specified"
- local patch_series="${1}"
- while read line ; do
- if [[ "${line:0:1}" != "#" ]] ; then
- echo "${line}"
- fi
- done < "${patch_series}"
-}
-
-get_certs_dir() {
- # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules.
- for subdir in $PF $P linux; do
- certdir=/etc/kernel/certs/$subdir
- if [ -d $certdir ]; then
- if [ ! -e $certdir/signing_key.pem ]; then
- eerror "$certdir exists but missing signing key; exiting."
- exit 1
- fi
- echo $certdir
- return
- fi
- done
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use binary ; then
- CHECKREQS_DISK_BUILD="5G"
- check-reqs_pkg_setup
- fi
-}
-
-pkg_setup() {
- export REAL_ARCH="$ARCH"
- unset ARCH; unset LDFLAGS #will interfere with Makefile if set
-}
-
-src_unpack() {
- # unpack the kernel sources to ${WORKDIR}
- unpack ${KERNEL_ARCHIVE} || die "failed to unpack kernel sources"
-
- # unpack the kernel patches
- unpack ${DEB_PATCH_ARCHIVE} || die "failed to unpack debian patches"
- unpack ${LIG_PATCH_ARCHIVE} || die "failed to unpack liguros patches"
-}
-
-src_prepare() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # punt the debian devs certificates
- rm -rf "${S}"/debian/certs
-
- ### PATCHES ###
-
- # apply debian patches
- for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do
- eapply -p1 "${WORKDIR}/debian/patches/${debpatch}"
- done
-
- # only apply these if USE=hardened as the patches will break proprietary userspace and some others.
- if use hardened; then
- # apply hardening patches
- einfo "Applying hardening patches ..."
- for my_patch in ${HARDENED_PATCHES[*]} ; do
- eapply_hardened "${my_patch}"
- done
- fi
-
- # apply gentoo patches
- einfo "Applying Gentoo Linux patches ..."
- for my_patch in ${GENTOO_PATCHES[*]} ; do
- eapply_gentoo "${my_patch}"
- done
-
- # optionally apply dtrace patches
- if use dtrace; then
- for my_patch in ${DTRACE_PATCHES[*]} ; do
- eapply_dtrace "${my_patch}"
- done
- fi
-
- ## increase bluetooth polling patch
- eapply "${WORKDIR}"/fix-bluetooth-polling.patch
-
- # Restore export_kernel_fpu_functions for zfs
- eapply "${WORKDIR}"/export_kernel_fpu_functions_5_3.patch
-
- # append EXTRAVERSION to the kernel sources Makefile
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die "failed to append EXTRAVERSION to kernel Makefile"
-
- # todo: look at this, haven't seen it used in many cases.
- sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die "failed to fix-up INSTALL_PATH in kernel Makefile"
-
- # copy the debian patches into the kernel sources work directory (config-extract requires this).
- cp -a "${WORKDIR}"/debian "${S}"/debian
-
- ### GENERATE CONFIG ###
-
- local arch featureset subarch
- featureset="standard"
- if [[ ${REAL_ARCH} == x86 ]]; then
- arch="i386"
- subarch="686-pae"
- elif [[ ${REAL_ARCH} == amd64 ]]; then
- arch="amd64"
- subarch="amd64"
- elif [[ ${REAL_ARCH} == arm64 ]]; then
- arch="arm64"
- subarch="arm64"
- else
- die "Architecture not handled in ebuild"
- fi
-
- # Copy 'config-extract' tool to the work directory
- cp "${FILESDIR}"/config-extract . || die
-
- # ... and make it executable
- chmod +x config-extract || die
-
- # ... and now extract the kernel config file!
- ./config-extract ${arch} ${featureset} ${subarch} || die
-
- ### TWEAK CONFIG ###
- # Do not configure Debian devs certificates
- echo 'CONFIG_SYSTEM_TRUSTED_KEYS=""' >> .config
-
- # enable IKCONFIG so that /proc/config.gz can be used for various checks
- # TODO: Maybe not a good idea for USE=hardened, look into this...
- echo "CONFIG_IKCONFIG=y" >> .config
- echo "CONFIG_IKCONFIG_PROC=y" >> .config
-
- if use custom-cflags; then
- MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")"
- if [ -n "$MARCH" ]; then
- sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!"
- fi
- fi
-
- # only enable debugging symbols etc if USE=debug...
- if use debug; then
- echo "CONFIG_DEBUG_INFO=y" >> .config
- else
- echo "CONFIG_DEBUG_INFO=n" >> .config
- fi
-
- if use dtrace; then
- echo "CONFIG_WAITFD=y" >> .config
- fi
-
- # these options should already be set, but are a hard dependency for ec2, so we ensure they are set if USE=ec2
- if use ec2; then
- echo "CONFIG_BLK_DEV_NVME=y" >> .config
- echo "CONFIG_XEN_BLKDEV_FRONTEND=m" >> .config
- echo "CONFIG_XEN_BLKDEV_BACKEND=m" >> .config
- echo "CONFIG_IXGBEVF=m" >> .config
- fi
-
- # hardening opts
- # TODO: document these
- if use hardened; then
- echo "CONFIG_AUDIT=y" >> .config
- echo "CONFIG_EXPERT=y" >> .config
- echo "CONFIG_SLUB_DEBUG=y" >> .config
- echo "CONFIG_SLAB_MERGE_DEFAULT=n" >> .config
- echo "CONFIG_SLAB_FREELIST_RANDOM=y" >> .config
- echo "CONFIG_SLAB_FREELIST_HARDENED=y" >> .config
- echo "CONFIG_SLAB_CANARY=y" >> .config
- echo "CONFIG_SHUFFLE_PAGE_ALLOCATOR=y" >> .config
- echo "CONFIG_RANDOMIZE_BASE=y" >> .config
- echo "CONFIG_RANDOMIZE_MEMORY=y" >> .config
- echo "CONFIG_HIBERNATION=n" >> .config
- echo "CONFIG_HARDENED_USERCOPY=y" >> .config
- echo "CONFIG_HARDENED_USERCOPY_FALLBACK=n" >> .config
- echo "CONFIG_FORTIFY_SOURCE=y" >> .config
- echo "CONFIG_STACKPROTECTOR=y" >> .config
- echo "CONFIG_STACKPROTECTOR_STRONG=y" >> .config
- echo "CONFIG_ARCH_MMAP_RND_BITS=32" >> .config
- echo "CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16" >> .config
- echo "CONFIG_INIT_ON_FREE_DEFAULT_ON=y" >> .config
- echo "CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y" >> .config
- echo "CONFIG_SLAB_SANITIZE_VERIFY=y" >> .config
- echo "CONFIG_PAGE_SANITIZE_VERIFY=y" >> .config
-
- # gcc plugins
- if ! use clang; then
- echo "CONFIG_GCC_PLUGINS=y" >> .config
- echo "CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STACKLEAK=y" >> .config
- echo "CONFIG_STACKLEAK_TRACK_MIN_SIZE=100" >> .config
- echo "CONFIG_STACKLEAK_METRICS=n" >> .config
- echo "CONFIG_STACKLEAK_RUNTIME_DISABLE=n" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT=y" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=n" >> .config
- fi
-
- # main hardening options complete... anything after this point is a focus on disabling potential attack vectors
- # i.e legacy drivers, new complex code that isn't yet proven, or code that we really don't want in a hardened kernel.
- echo 'CONFIG_KEXEC=n' >> .config
- echo "CONFIG_KEXEC_FILE=n" >> .config
- echo 'CONFIG_KEXEC_SIG=n' >> .config
- fi
-
- # mcelog is deprecated, but there are still some valid use cases and requirements for it... so stick it behind a USE flag for optional kernel support.
- if use mcelog; then
- echo "CONFIG_X86_MCELOG_LEGACY=y" >> .config
- fi
-
- # sign kernel modules via
- if use sign-modules; then
- certs_dir=$(get_certs_dir)
- echo
- if [ -z "$certs_dir" ]; then
- eerror "No certs dir found in /etc/kernel/certs; aborting."
- die
- else
- einfo "Using certificate directory of $certs_dir for kernel module signing."
- fi
- echo
- # turn on options for signing modules.
- # first, remove existing configs and comments:
- echo 'CONFIG_MODULE_SIG=""' >> .config
- # now add our settings:
- echo 'CONFIG_MODULE_SIG=y' >> .config
- echo 'CONFIG_MODULE_SIG_FORCE=n' >> .config
- echo 'CONFIG_MODULE_SIG_ALL=n' >> .config
- # LibreSSL currently (2.9.0) does not have CMS support, so is limited to SHA1.
- # https://bugs.gentoo.org/706086
- # https://bugzilla.kernel.org/show_bug.cgi?id=202159
- echo 'CONFIG_MODULE_SIG_HASH="sha512"' >> .config
- echo 'CONFIG_MODULE_SIG_KEY="${certs_dir}/signing_key.pem"' >> .config
- echo 'CONFIG_SYSTEM_TRUSTED_KEYRING=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE="4096"' >> .config
-
- # See above comment re: LibreSSL
- echo "CONFIG_MODULE_SIG_SHA512=y" >> .config
- ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING."
- ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot"
- ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)"
- echo
- fi
-
- # enable wireguard support within kernel
- if use wireguard; then
- echo 'CONFIG_WIREGUARD=m' >> .config
- # there are some other options, but I need to verify them first, so I'll start with this
- fi
-
- # get config into good state:
- yes "" | make oldconfig >/dev/null 2>&1 || die
- cp .config "${T}"/.config || die
- make -s mrproper || die "make mrproper failed"
-
- # Apply any user patches
- eapply_user
-}
-
-src_configure() {
- if use binary; then
-
- debug-print-function ${FUNCNAME} "${@}"
-
- tc-export_build_env
- 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="$(tc-getLD)"
- 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)
- )
-
- mkdir -p "${WORKDIR}"/modprep || die
- cp "${T}"/.config "${WORKDIR}"/modprep/ || die
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" olddefconfig || die "kernel configure failed"
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" modules_prepare || die "modules_prepare failed"
- cp -pR "${WORKDIR}"/modprep "${WORKDIR}"/build || die
- fi
-}
-
-src_compile() {
- if use binary; then
- debug-print-function ${FUNCNAME} "${@}"
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" all || "kernel build failed"
- fi
-}
-
-src_install() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # TODO: Change to SANDBOX_WRITE=".." for installkernel writes
- # Disable sandbox
- export SANDBOX_ON=0
-
- # copy sources into place:
- dodir /usr/src
- cp -a "${S}" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} || die "failed to install kernel sources"
- cd "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}
-
- # prepare for real-world use and 3rd-party module building:
- make mrproper || die
- cp "${T}"/.config .config || die
- cp -a "${WORKDIR}"/debian debian || die
-
- # if we didn't use genkernel, we're done. The kernel source tree is left in
- # an unconfigured state - you can't compile 3rd-party modules against it yet.
- if use binary; then
- make prepare || die
- make scripts || die
-
- local targets=( modules_install )
-
- # ARM / ARM64 requires dtb
- if (use arm || use arm64); then
- targets+=( dtbs_install )
- fi
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" INSTALL_MOD_PATH="${ED}" INSTALL_PATH="${ED}/boot" "${targets[@]}"
- installkernel "${DEB_PV_BASE}${MODULE_EXT}" "${WORKDIR}/build/arch/x86_64/boot/bzImage" "${WORKDIR}/build/System.map" "${EROOT}/boot"
-
- # module symlink fix-up:
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to remove old kernel source symlink"
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to remove old kernel build symlink"
-
- # Set-up module symlinks:
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to create kernel source symlink"
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to create kernel build symlink"
-
- # Fixes FL-14
- cp "${WORKDIR}/build/System.map" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install System.map"
- cp "${WORKDIR}/build/Module.symvers" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install Module.symvers"
-
- if use sign-modules; then
- for x in $(find "${D}"/lib/modules -iname *.ko); do
- # $certs_dir defined previously in this function.
- ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die
- done
- # install the sign-file executable for future use.
- exeinto /usr/src/linux-${PV}-${P}/scripts
- doexe ${WORKDIR}/build/scripts/sign-file
- fi
- fi
-}
-
-pkg_postinst() {
-
- # TODO: Change to SANDBOX_WRITE=".." for Dracut writes
- export SANDBOX_ON=0
-
- # if USE=symlink...
- if use symlink; then
- # delete the existing symlink if one exists
- if [[ -h "${EROOT}"/usr/src/linux ]]; then
- rm "${EROOT}"/usr/src/linux
- fi
- # and now symlink the newly installed sources
- ewarn ""
- ewarn "WARNING... WARNING... WARNING"
- ewarn ""
- ewarn "/usr/src/linux symlink automatically set to linux-${DEB_PV_BASE}${MODULE_EXT}"
- ewarn ""
- ln -sf "${EROOT}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} "${EROOT}"/usr/src/linux
- fi
-
- # if there's a modules folder for these sources, generate modules.dep and map files
- if [[ -d ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} ]]; then
- depmod -a ${DEB_PV_BASE}${MODULE_EXT}
- fi
-
- # NOTE: WIP and not well tested yet.
- #
- # Dracut will build an initramfs when USE=binary.
- #
- # The initramfs will be configurable via USE, i.e.
- # USE=zfs will pass '--zfs' to Dracut
- # USE=-systemd will pass '--omit dracut-systemd systemd systemd-networkd systemd-initrd' to exclude these (Dracut) modules from the initramfs.
- #
- # NOTE 2: this will create a fairly.... minimal, and modular initramfs. It has been tested with things with ZFS and LUKS, and 'works'.
- # Things like network support have not been tested (I am currently unsure how well this works with Gentoo Linux based systems),
- # and may end up requiring network-manager for decent support (this really needs further research).
- if use binary; then
- einfo ""
- einfo ">>> Dracut: building initramfs"
- dracut \
- --stdlog=5 \
- --force \
- --no-hostonly \
- --add "base fs-lib i18n kernel-modules network qemu qemu-net rootfs-block shutdown terminfo udev-rules usrmount" \
- --omit "biosdevname bootchart busybox caps convertfs dash debug dmsquash-live dmsquash-live-ntfs fcoe fcoe-uefi fstab-sys gensplash ifcfg img-lib livenet mksh network-manager rpmversion securityfs ssh-client stratis syslog url-lib" \
- $(usex btrfs "-a btrfs" "-o btrfs") \
- $(usex dmraid "-a dmraid -a dm" "-o dmraid") \
- $(usex hardened "-o resume" "-a resume") \
- $(usex iscsi "-a iscsi" "-o iscsi") \
- $(usex lvm "-a lvm -a dm" "-o lvm") \
- $(usex lvm "--lvmconf" "--nolvmconf") \
- $(usex luks "-a crypt" "-o crypt") \
- $(usex mdadm "--mdadmconf" "--nomdadmconf") \
- $(usex mdadm "-a mdraid" "-o mdraid") \
- $(usex microcode "--early-microcode" "--no-early-microcode") \
- $(usex multipath "-a multipath -a dm" "-o multipath") \
- $(usex nbd "-a nbd" "-o nbd") \
- $(usex nfs "-a nfs" "-o nfs") \
- $(usex plymouth "-a plymouth" "-o plymouth") \
- $(usex selinux "-a selinux" "-o selinux") \
- $(usex systemd "-a systemd -a systemd-initrd -a systemd-networkd" "-o systemd -o systemd-initrd -o systemd-networkd") \
- $(usex zfs "-a zfs" "-o zfs") \
- --kmoddir ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} \
- --fwdir ${EROOT}/lib/firmware \
- "${EROOT}"/boot/initrd-${DEB_PV_BASE}${MODULE_EXT} ${DEB_PV_BASE}${MODULE_EXT} || die ">>>Dracut: Building initramfs failed"
- einfo ""
- einfo ">>> Dracut: Finished building initramfs"
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Dracut initramfs has been generated!"
- ewarn ""
- ewarn "Required kernel arguments:"
- ewarn ""
- ewarn " root=/dev/ROOT"
- ewarn ""
- ewarn " Where ROOT is the device node for your root partition as the"
- ewarn " one specified in /etc/fstab"
- ewarn ""
- ewarn "Additional kernel cmdline arguments that *may* be required to boot properly..."
- ewarn ""
- ewarn "If you use hibernation:"
- ewarn ""
- ewarn " resume=/dev/SWAP"
- ewarn ""
- ewarn " Where $SWAP is the swap device used by hibernate software of your choice."
- ewarn""
- ewarn " Please consult "man 7 dracut.kernel" for additional kernel arguments."
- fi
-
- # warn about the issues with running a hardened kernel
- if use hardened; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Hardened patches have been applied to the kernel and KCONFIG options have been set."
- ewarn "These KCONFIG options and patches change kernel behavior."
- ewarn "Changes include:"
- ewarn "Increased entropy for Address Space Layout Randomization"
- ewarn "GCC plugins (if using GCC)"
- ewarn "Memory allocation"
- ewarn "... and more"
- ewarn ""
- ewarn "These changes will stop certain programs from functioning"
- ewarn "e.g. VirtualBox, Skype"
- ewarn "Full information available in $DOCUMENTATION"
- ewarn ""
- fi
-
- # if there are out-of-tree kernel modules detected, warn warn warn
- # TODO: tidy up below
- if use binary && [[ -e "${EROOT}"/var/lib/module-rebuild/moduledb ]]; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "External kernel modules are not yet automatically built"
- ewarn "by USE=binary - emerge @modules-rebuild to do this"
- ewarn "and regenerate your initramfs if you are using ZFS root filesystem"
- ewarn ""
- fi
-
- if use binary; then
- if [[ -e /etc/boot.conf ]]; then
- ego boot update
- fi
- fi
-}
diff --git a/sys-kernel/debian-sources/debian-sources-5.10.179_p1-r1.ebuild b/sys-kernel/debian-sources/debian-sources-5.10.179_p1-r1.ebuild
deleted file mode 100644
index 25931ffc928a..000000000000
--- a/sys-kernel/debian-sources/debian-sources-5.10.179_p1-r1.ebuild
+++ /dev/null
@@ -1,729 +0,0 @@
-# Copyright 2020-2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit check-reqs mount-boot toolchain-funcs
-
-DESCRIPTION="Linux kernel sources with Debian patches."
-HOMEPAGE="https://packages.debian.org/unstable/kernel/"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64 arm arm64"
-
-SLOT=$(ver_cut 1-2)
-
-RESTRICT="binchecks strip mirror"
-
-IUSE="binary btrfs clang custom-cflags debug dmraid dtrace ec2 firmware hardened iscsi luks lvm mcelog mdadm microcode multipath nbd nfs plymouth selinux sign-modules symlink systemd wireguard zfs"
-
-BDEPEND="
- sys-devel/bc
- debug? ( dev-util/dwarves )
- virtual/libelf
-"
-
-DEPEND="
- net-misc/dhcp[client]
- binary? ( sys-kernel/dracut )
- btrfs? ( sys-fs/btrfs-progs )
- dtrace? (
- dev-util/dtrace-utils
- dev-libs/libdtrace-ctf
- )
- firmware? (
- sys-kernel/linux-firmware
- )
- luks? ( sys-fs/cryptsetup )
- lvm? ( sys-fs/lvm2 )
- mdadm? ( sys-fs/mdadm )
- mcelog? ( app-admin/mcelog )
- plymouth? (
- x11-libs/libdrm
- sys-boot/plymouth[udev]
- )
- sign-modules? (
- || ( dev-libs/openssl
- )
- sys-apps/kmod
- )
- systemd? ( sys-apps/systemd )
- !systemd? ( sys-fs/eudev )
- wireguard? ( virtual/wireguard )
- zfs? ( sys-fs/zfs )
-"
-
-DEB_PV_BASE=${PV/_*/} #5.8.7
-DEB_EXTRAVERSION=${PV/*_p/-} #-1
-EXTRAVERSION=${PV/*_/_} #_p1
-
-TEMP_EXTRA_VERSION="debian"
-
-# at a minimum we will append EXTRAVERSION (debian patch set revision) and TEMP_EXTRA_VERSION (debian name) to MODULE_EXT
-# if we have a local revision, we append that between EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian-r5
-# if we do not have a local revision, then we have only EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian
-if [ "${PR}" != "r0" ]; then
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}-${PR}
-else
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}
-fi
-
-DEB_PV="${DEB_PV_BASE}${DEB_EXTRAVERSION}"
-KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz"
-DEB_PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz"
-LIG_PATCH_ARCHIVE="linux_patches.tar.xz"
-LIG_UPSTREAM="https://gitlab.com/liguros/distfiles/-/raw/main"
-
-SRC_URI="
- $LIG_UPSTREAM/${KERNEL_ARCHIVE}
- $LIG_UPSTREAM/${DEB_PATCH_ARCHIVE}
- $LIG_UPSTREAM/${LIG_PATCH_ARCHIVE}
-"
-
-S="$WORKDIR/linux-${DEB_PV_BASE}"
-
-# TODO: manage HARDENED_PATCHES and GENTOO_PATCHES can be managed in a git repository and packed into tar balls per version.
-
-HARDENED_PATCHES_DIR="${WORKDIR}/${SLOT}/hardened-patches"
-
-# 'linux-hardened' minimal patch set to compliment existing Kernel-Self-Protection-Project
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
-# All of the above already provided by Debian patches.
-HARDENED_PATCHES=(
- 0001-make-DEFAULT_MMAP_MIN_ADDR-match-LSM_MMAP_MIN_ADDR.patch
- 0002-enable-HARDENED_USERCOPY-by-default.patch
- 0003-disable-HARDENED_USERCOPY_FALLBACK-by-default.patch
- 0004-enable-SECURITY_DMESG_RESTRICT-by-default.patch
- 0005-set-kptr_restrict-2-by-default.patch
- 0006-enable-DEBUG_LIST-by-default.patch
- 0007-enable-BUG_ON_DATA_CORRUPTION-by-default.patch
- 0008-enable-ARM64_SW_TTBR0_PAN-by-default.patch
- 0009-arm64-enable-RANDOMIZE_BASE-by-default.patch
- 0010-enable-SLAB_FREELIST_RANDOM-by-default.patch
- 0011-enable-SLAB_FREELIST_HARDENED-by-default.patch
- 0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
- 0013-enable-FORTIFY_SOURCE-by-default.patch
- 0014-enable-PANIC_ON_OOPS-by-default.patch
- 0015-stop-hiding-SLUB_DEBUG-behind-EXPERT.patch
- 0016-stop-hiding-X86_16BIT-behind-EXPERT.patch
- 0017-disable-X86_16BIT-by-default.patch
- 0018-stop-hiding-MODIFY_LDT_SYSCALL-behind-EXPERT.patch
- 0019-disable-MODIFY_LDT_SYSCALL-by-default.patch
- 0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
- 0021-stop-hiding-AIO-behind-EXPERT.patch
- 0022-disable-AIO-by-default.patch
- 0023-remove-SYSVIPC-from-arm64-x86_64-defconfigs.patch
- 0024-disable-DEVPORT-by-default.patch
- 0025-disable-PROC_VMCORE-by-default.patch
- 0026-disable-NFS_DEBUG-by-default.patch
- 0027-enable-DEBUG_WX-by-default.patch
- 0028-disable-LEGACY_PTYS-by-default.patch
- 0029-disable-DEVMEM-by-default.patch
- 0030-enable-IO_STRICT_DEVMEM-by-default.patch
- 0031-disable-COMPAT_BRK-by-default.patch
- 0032-use-maximum-supported-mmap-rnd-entropy-by-default.patch
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
- 0034-enable-SECURITY-by-default.patch
- 0035-enable-SECURITY_YAMA-by-default.patch
- 0036-enable-SECURITY_NETWORK-by-default.patch
- 0037-enable-AUDIT-by-default.patch
- 0038-enable-SECURITY_SELINUX-by-default.patch
- 0039-enable-SYN_COOKIES-by-default.patch
- 0040-add-__read_only-for-non-init-related-usage.patch
- 0041-make-sysctl-constants-read-only.patch
- 0042-mark-kernel_set_to_readonly-as-__ro_after_init.patch
- 0043-mark-slub-runtime-configuration-as-__ro_after_init.patch
- 0044-add-__ro_after_init-to-slab_nomerge-and-slab_state.patch
- 0045-mark-kmem_cache-as-__ro_after_init.patch
- 0046-mark-__supported_pte_mask-as-__ro_after_init.patch
- 0047-mark-kobj_ns_type_register-as-only-used-for-init.patch
- 0048-mark-open_softirq-as-only-used-for-init.patch
- 0049-remove-unused-softirq_action-callback-parameter.patch
- 0050-mark-softirq_vec-as-__ro_after_init.patch
- 0051-mm-slab-trigger-BUG-if-requested-object-is-not-a-sla.patch
- 0052-bug-on-kmem_cache_free-with-the-wrong-cache.patch
- 0053-bug-on-PageSlab-PageCompound-in-ksize.patch
- 0054-mm-add-support-for-verifying-page-sanitization.patch
- 0055-slub-Extend-init_on_free-to-slab-caches-with-constru.patch
- 0056-slub-Add-support-for-verifying-slab-sanitization.patch
- 0057-slub-add-multi-purpose-random-canaries.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
- 0059-enable-SECURITY_PERF_EVENTS_RESTRICT-by-default.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- 0061-add-kmalloc-krealloc-alloc_size-attributes.patch
- 0062-add-vmalloc-alloc_size-attributes.patch
- 0063-add-kvmalloc-alloc_size-attribute.patch
- 0064-add-percpu-alloc_size-attributes.patch
- 0065-add-alloc_pages_exact-alloc_size-attributes.patch
- 0066-Add-the-extra_latent_entropy-kernel-parameter.patch
- 0067-ata-avoid-null-pointer-dereference-on-bug.patch
- 0068-sanity-check-for-negative-length-in-nla_memcpy.patch
- 0069-add-page-destructor-sanity-check.patch
- 0070-PaX-shadow-cr4-sanity-check-essentially-a-revert.patch
- 0071-add-writable-function-pointer-detection.patch
- 0072-support-overriding-early-audit-kernel-cmdline.patch
- 0073-FORTIFY_SOURCE-intra-object-overflow-checking.patch
- 0074-Revert-mm-revert-x86_64-and-arm64-ELF_ET_DYN_BASE-ba.patch
- 0075-x86_64-move-vdso-to-mmap-region-from-stack-region.patch
- 0076-x86-determine-stack-entropy-based-on-mmap-entropy.patch
- 0077-arm64-determine-stack-entropy-based-on-mmap-entropy.patch
- 0078-randomize-lower-bits-of-the-argument-block.patch
- 0079-x86_64-match-arm64-brk-randomization-entropy.patch
- 0080-support-randomizing-the-lower-bits-of-brk.patch
- 0081-mm-randomize-lower-bits-of-brk.patch
- 0082-x86-randomize-lower-bits-of-brk.patch
- 0083-mm-guarantee-brk-gap-is-at-least-one-page.patch
- 0084-x86-guarantee-brk-gap-is-at-least-one-page.patch
- 0085-x86_64-bound-mmap-between-legacy-modern-bases.patch
- 0086-restrict-device-timing-side-channels.patch
- 0087-add-toggle-for-disabling-newly-added-USB-devices.patch
- 0088-hard-wire-legacy-checkreqprot-option-to-0.patch
- 0089-security-tty-Add-owner-user-namespace-to-tty_struct.patch
- 0090-security-tty-make-TIOCSTI-ioctl-require-CAP_SYS_ADMI.patch
- 0091-enable-SECURITY_TIOCSTI_RESTRICT-by-default.patch
- 0092-disable-unprivileged-eBPF-access-by-default.patch
- 0093-enable-BPF-JIT-hardening-by-default-if-available.patch
- 0094-enable-protected_-fifos-regular-by-default.patch
- 0095-Revert-mark-kernel_set_to_readonly-as-__ro_after_ini.patch
- 0096-modpost-Add-CONFIG_DEBUG_WRITABLE_FUNCTION_POINTERS_.patch
- 0097-mm-Fix-extra_latent_entropy.patch
- 0098-add-CONFIG-for-unprivileged_userns_clone.patch
- 0099-enable-INIT_ON_ALLOC_DEFAULT_ON-by-default.patch
- 0100-enable-INIT_ON_FREE_DEFAULT_ON-by-default.patch
- 0101-add-CONFIG-for-unprivileged_userfaultfd.patch
- 0102-slub-Extend-init_on_alloc-to-slab-caches-with-constr.patch
- 0103-net-tcp-add-option-to-disable-TCP-simultaneous-conne.patch
-# 0104-backport-net-packet-fix-overflow-in-tpacket_rcv.patch
-)
-
-GENTOO_PATCHES_DIR="${WORKDIR}/${SLOT}/gentoo-patches"
-
-# Gentoo Linux 'genpatches' patch set
-# 1510_fs-enable-link-security-restrctions-by-default.patch is already provided in debian patches
-# 4567_distro-Gentoo-Kconfiig TODO?
-GENTOO_PATCHES=(
- 1500_XATTR_USER_PREFIX.patch
- #1510_fs-enable-link-security-restrictions-by-default.patch
- 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
- 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch
- 2920_sign-file-patch-for-libressl.patch
- 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch
- 3000_Support-printing-firmware-info.patch
- 4567_distro-Gentoo-Kconfig.patch
- 5000_shiftfs-ubuntu-20.04.patch
- 5010_enable-cpu-optimizations-universal.patch
-)
-
-DTRACE_PATCHES_DIR="${WORKDIR}/${SLOT}/dtrace-patches"
-
-DTRACE_PATCHES=(
- 0001-kallsyms-new-proc-kallmodsyms-with-builtin-modules-a.patch
- 0002-ctf-generate-CTF-information-for-the-kernel.patch
- 0003-waitfd-new-syscall-implementing-waitpid-over-fds.patch
- 0004-ctf-kernel-build-with-gt-for-CTF-generation-using-GC.patch
- 0005-ctf-toolchain-based-CTF-support.patch
- 0006-kbuild-arm64-Set-objects.builtin-dependency-to-Image.patch
- 0007-ctf-adapt-to-the-new-CTF-linker-API.patch
- 0008-ctf-discard-CTF-sections-for-arches-not-using-DISCAR.patch
- 0009-ctf-discard-CTF-from-the-vDSO.patch
- 0010-ctf-fix-memory-leak-in-ctfarchive.patch
- 0011-ctf-adjust-to-upcoming-binutils-ctf_link_add_ctf-API.patch
- 0012-ctf-support-ld-ctf-variables-if-available.patch
- 0013-ctf-add-.ctf-to-.gitignore.patch
- 0014-waitfd-enable-by-default.patch
-)
-
-eapply_hardened() {
- eapply "${HARDENED_PATCHES_DIR}/${1}"
-}
-
-eapply_gentoo() {
- eapply "${GENTOO_PATCHES_DIR}/${1}"
-}
-
-eapply_dtrace() {
- eapply "${DTRACE_PATCHES_DIR}/${1}"
-}
-
-get_patch_list() {
- [[ -z "${1}" ]] && die "No patch series file specified"
- local patch_series="${1}"
- while read line ; do
- if [[ "${line:0:1}" != "#" ]] ; then
- echo "${line}"
- fi
- done < "${patch_series}"
-}
-
-get_certs_dir() {
- # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules.
- for subdir in $PF $P linux; do
- certdir=/etc/kernel/certs/$subdir
- if [ -d $certdir ]; then
- if [ ! -e $certdir/signing_key.pem ]; then
- eerror "$certdir exists but missing signing key; exiting."
- exit 1
- fi
- echo $certdir
- return
- fi
- done
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use binary ; then
- CHECKREQS_DISK_BUILD="5G"
- check-reqs_pkg_setup
- fi
-}
-
-pkg_setup() {
- export REAL_ARCH="$ARCH"
- unset ARCH; unset LDFLAGS #will interfere with Makefile if set
-}
-
-src_unpack() {
- # unpack the kernel sources to ${WORKDIR}
- unpack ${KERNEL_ARCHIVE} || die "failed to unpack kernel sources"
-
- # unpack the kernel patches
- unpack ${DEB_PATCH_ARCHIVE} || die "failed to unpack debian patches"
- unpack ${LIG_PATCH_ARCHIVE} || die "failed to unpack liguros patches"
-}
-
-src_prepare() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # punt the debian devs certificates
- rm -rf "${S}"/debian/certs
-
- ### PATCHES ###
-
- # apply debian patches
- for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do
- eapply -p1 "${WORKDIR}/debian/patches/${debpatch}"
- done
-
- # only apply these if USE=hardened as the patches will break proprietary userspace and some others.
- if use hardened; then
- # apply hardening patches
- einfo "Applying hardening patches ..."
- for my_patch in ${HARDENED_PATCHES[*]} ; do
- eapply_hardened "${my_patch}"
- done
- fi
-
- # apply gentoo patches
- einfo "Applying Gentoo Linux patches ..."
- for my_patch in ${GENTOO_PATCHES[*]} ; do
- eapply_gentoo "${my_patch}"
- done
-
- # optionally apply dtrace patches
- if use dtrace; then
- for my_patch in ${DTRACE_PATCHES[*]} ; do
- eapply_dtrace "${my_patch}"
- done
- fi
-
- # append EXTRAVERSION to the kernel sources Makefile
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die "failed to append EXTRAVERSION to kernel Makefile"
-
- # todo: look at this, haven't seen it used in many cases.
- sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die "failed to fix-up INSTALL_PATH in kernel Makefile"
-
- # copy the debian patches into the kernel sources work directory (config-extract requires this).
- cp -a "${WORKDIR}"/debian "${S}"/debian
-
- ### GENERATE CONFIG ###
-
- local arch featureset subarch
- featureset="standard"
- if [[ ${REAL_ARCH} == x86 ]]; then
- arch="i386"
- subarch="686-pae"
- elif [[ ${REAL_ARCH} == amd64 ]]; then
- arch="amd64"
- subarch="amd64"
- elif [[ ${REAL_ARCH} == arm64 ]]; then
- arch="arm64"
- subarch="arm64"
- else
- die "Architecture not handled in ebuild"
- fi
-
- # Copy 'config-extract' tool to the work directory
- cp "${FILESDIR}"/config-extract . || die
-
- # ... and make it executable
- chmod +x config-extract || die
-
- # ... and now extract the kernel config file!
- ./config-extract ${arch} ${featureset} ${subarch} || die
-
- ### TWEAK CONFIG ###
- # Do not configure Debian devs certificates
- echo 'CONFIG_SYSTEM_TRUSTED_KEYS=""' >> .config
-
- # enable IKCONFIG so that /proc/config.gz can be used for various checks
- # TODO: Maybe not a good idea for USE=hardened, look into this...
- echo "CONFIG_IKCONFIG=y" >> .config
- echo "CONFIG_IKCONFIG_PROC=y" >> .config
-
- if use custom-cflags; then
- MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")"
- if [ -n "$MARCH" ]; then
- sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!"
- fi
- fi
-
- # only enable debugging symbols etc if USE=debug...
- if use debug; then
- echo "CONFIG_DEBUG_INFO=y" >> .config
- else
- echo "CONFIG_DEBUG_INFO=n" >> .config
- fi
-
- if use dtrace; then
- echo "CONFIG_WAITFD=y" >> .config
- fi
-
- # these options should already be set, but are a hard dependency for ec2, so we ensure they are set if USE=ec2
- if use ec2; then
- echo "CONFIG_BLK_DEV_NVME=y" >> .config
- echo "CONFIG_XEN_BLKDEV_FRONTEND=m" >> .config
- echo "CONFIG_XEN_BLKDEV_BACKEND=m" >> .config
- echo "CONFIG_IXGBEVF=m" >> .config
- fi
-
- # hardening opts
- # TODO: document these
- if use hardened; then
- echo "CONFIG_AUDIT=y" >> .config
- echo "CONFIG_EXPERT=y" >> .config
- echo "CONFIG_SLUB_DEBUG=y" >> .config
- echo "CONFIG_SLAB_MERGE_DEFAULT=n" >> .config
- echo "CONFIG_SLAB_FREELIST_RANDOM=y" >> .config
- echo "CONFIG_SLAB_FREELIST_HARDENED=y" >> .config
- echo "CONFIG_SLAB_CANARY=y" >> .config
- echo "CONFIG_SHUFFLE_PAGE_ALLOCATOR=y" >> .config
- echo "CONFIG_RANDOMIZE_BASE=y" >> .config
- echo "CONFIG_RANDOMIZE_MEMORY=y" >> .config
- echo "CONFIG_HIBERNATION=n" >> .config
- echo "CONFIG_HARDENED_USERCOPY=y" >> .config
- echo "CONFIG_HARDENED_USERCOPY_FALLBACK=n" >> .config
- echo "CONFIG_FORTIFY_SOURCE=y" >> .config
- echo "CONFIG_STACKPROTECTOR=y" >> .config
- echo "CONFIG_STACKPROTECTOR_STRONG=y" >> .config
- echo "CONFIG_ARCH_MMAP_RND_BITS=32" >> .config
- echo "CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16" >> .config
- echo "CONFIG_INIT_ON_FREE_DEFAULT_ON=y" >> .config
- echo "CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y" >> .config
- echo "CONFIG_SLAB_SANITIZE_VERIFY=y" >> .config
- echo "CONFIG_PAGE_SANITIZE_VERIFY=y" >> .config
-
- # gcc plugins
- if ! use clang; then
- echo "CONFIG_GCC_PLUGINS=y" >> .config
- echo "CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STACKLEAK=y" >> .config
- echo "CONFIG_STACKLEAK_TRACK_MIN_SIZE=100" >> .config
- echo "CONFIG_STACKLEAK_METRICS=n" >> .config
- echo "CONFIG_STACKLEAK_RUNTIME_DISABLE=n" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT=y" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=n" >> .config
- fi
-
- # main hardening options complete... anything after this point is a focus on disabling potential attack vectors
- # i.e legacy drivers, new complex code that isn't yet proven, or code that we really don't want in a hardened kernel.
- echo 'CONFIG_KEXEC=n' >> .config
- echo "CONFIG_KEXEC_FILE=n" >> .config
- echo 'CONFIG_KEXEC_SIG=n' >> .config
- fi
-
- # mcelog is deprecated, but there are still some valid use cases and requirements for it... so stick it behind a USE flag for optional kernel support.
- if use mcelog; then
- echo "CONFIG_X86_MCELOG_LEGACY=y" >> .config
- fi
-
- # sign kernel modules via
- if use sign-modules; then
- certs_dir=$(get_certs_dir)
- echo
- if [ -z "$certs_dir" ]; then
- eerror "No certs dir found in /etc/kernel/certs; aborting."
- die
- else
- einfo "Using certificate directory of $certs_dir for kernel module signing."
- fi
- echo
- # turn on options for signing modules.
- # first, remove existing configs and comments:
- echo 'CONFIG_MODULE_SIG=""' >> .config
- # now add our settings:
- echo 'CONFIG_MODULE_SIG=y' >> .config
- echo 'CONFIG_MODULE_SIG_FORCE=n' >> .config
- echo 'CONFIG_MODULE_SIG_ALL=n' >> .config
- # LibreSSL currently (2.9.0) does not have CMS support, so is limited to SHA1.
- # https://bugs.gentoo.org/706086
- # https://bugzilla.kernel.org/show_bug.cgi?id=202159
- echo 'CONFIG_MODULE_SIG_HASH="sha512"' >> .config
- echo 'CONFIG_MODULE_SIG_KEY="${certs_dir}/signing_key.pem"' >> .config
- echo 'CONFIG_SYSTEM_TRUSTED_KEYRING=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE="4096"' >> .config
-
- # See above comment re: LibreSSL
- echo "CONFIG_MODULE_SIG_SHA512=y" >> .config
- ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING."
- ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot"
- ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)"
- echo
- fi
-
- # enable wireguard support within kernel
- if use wireguard; then
- echo 'CONFIG_WIREGUARD=m' >> .config
- # there are some other options, but I need to verify them first, so I'll start with this
- fi
-
- # get config into good state:
- yes "" | make oldconfig >/dev/null 2>&1 || die
- cp .config "${T}"/.config || die
- make -s mrproper || die "make mrproper failed"
-
- # Apply any user patches
- eapply_user
-}
-
-src_configure() {
- if use binary; then
-
- debug-print-function ${FUNCNAME} "${@}"
-
- tc-export_build_env
- 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="$(tc-getLD)"
- 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)
- )
-
- mkdir -p "${WORKDIR}"/modprep || die
- cp "${T}"/.config "${WORKDIR}"/modprep/ || die
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" olddefconfig || die "kernel configure failed"
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" modules_prepare || die "modules_prepare failed"
- cp -pR "${WORKDIR}"/modprep "${WORKDIR}"/build || die
- fi
-}
-
-src_compile() {
- if use binary; then
- debug-print-function ${FUNCNAME} "${@}"
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" all || "kernel build failed"
- fi
-}
-
-src_install() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # TODO: Change to SANDBOX_WRITE=".." for installkernel writes
- # Disable sandbox
- export SANDBOX_ON=0
-
- # copy sources into place:
- dodir /usr/src
- cp -a "${S}" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} || die "failed to install kernel sources"
- cd "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}
-
- # prepare for real-world use and 3rd-party module building:
- make mrproper || die
- cp "${T}"/.config .config || die
- cp -a "${WORKDIR}"/debian debian || die
-
- # if we didn't use genkernel, we're done. The kernel source tree is left in
- # an unconfigured state - you can't compile 3rd-party modules against it yet.
- if use binary; then
- make prepare || die
- make scripts || die
-
- local targets=( modules_install )
-
- # ARM / ARM64 requires dtb
- if (use arm || use arm64); then
- targets+=( dtbs_install )
- fi
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" INSTALL_MOD_PATH="${ED}" INSTALL_PATH="${ED}/boot" "${targets[@]}"
- installkernel "${DEB_PV_BASE}${MODULE_EXT}" "${WORKDIR}/build/arch/x86_64/boot/bzImage" "${WORKDIR}/build/System.map" "${EROOT}/boot"
-
- # module symlink fix-up:
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to remove old kernel source symlink"
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to remove old kernel build symlink"
-
- # Set-up module symlinks:
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to create kernel source symlink"
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to create kernel build symlink"
-
- # Fixes FL-14
- cp "${WORKDIR}/build/System.map" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install System.map"
- cp "${WORKDIR}/build/Module.symvers" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install Module.symvers"
-
- if use sign-modules; then
- for x in $(find "${D}"/lib/modules -iname *.ko); do
- # $certs_dir defined previously in this function.
- ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die
- done
- # install the sign-file executable for future use.
- exeinto /usr/src/linux-${PV}-${P}/scripts
- doexe ${WORKDIR}/build/scripts/sign-file
- fi
- fi
-}
-
-pkg_postinst() {
-
- # TODO: Change to SANDBOX_WRITE=".." for Dracut writes
- export SANDBOX_ON=0
-
- # if USE=symlink...
- if use symlink; then
- # delete the existing symlink if one exists
- if [[ -h "${EROOT}"/usr/src/linux ]]; then
- rm "${EROOT}"/usr/src/linux
- fi
- # and now symlink the newly installed sources
- ewarn ""
- ewarn "WARNING... WARNING... WARNING"
- ewarn ""
- ewarn "/usr/src/linux symlink automatically set to linux-${DEB_PV_BASE}${MODULE_EXT}"
- ewarn ""
- ln -sf "${EROOT}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} "${EROOT}"/usr/src/linux
- fi
-
- # if there's a modules folder for these sources, generate modules.dep and map files
- if [[ -d ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} ]]; then
- depmod -a ${DEB_PV_BASE}${MODULE_EXT}
- fi
-
- # NOTE: WIP and not well tested yet.
- #
- # Dracut will build an initramfs when USE=binary.
- #
- # The initramfs will be configurable via USE, i.e.
- # USE=zfs will pass '--zfs' to Dracut
- # USE=-systemd will pass '--omit dracut-systemd systemd systemd-networkd systemd-initrd' to exclude these (Dracut) modules from the initramfs.
- #
- # NOTE 2: this will create a fairly.... minimal, and modular initramfs. It has been tested with things with ZFS and LUKS, and 'works'.
- # Things like network support have not been tested (I am currently unsure how well this works with Gentoo Linux based systems),
- # and may end up requiring network-manager for decent support (this really needs further research).
- if use binary; then
- einfo ""
- einfo ">>> Dracut: building initramfs"
- dracut \
- --stdlog=5 \
- --force \
- --no-hostonly \
- --add "base fs-lib i18n kernel-modules network qemu qemu-net rootfs-block shutdown terminfo udev-rules usrmount" \
- --omit "biosdevname bootchart busybox caps convertfs dash debug dmsquash-live dmsquash-live-ntfs fcoe fcoe-uefi fstab-sys gensplash ifcfg img-lib livenet mksh network-manager rpmversion securityfs ssh-client stratis syslog url-lib" \
- $(usex btrfs "-a btrfs" "-o btrfs") \
- $(usex dmraid "-a dmraid -a dm" "-o dmraid") \
- $(usex hardened "-o resume" "-a resume") \
- $(usex iscsi "-a iscsi" "-o iscsi") \
- $(usex lvm "-a lvm -a dm" "-o lvm") \
- $(usex lvm "--lvmconf" "--nolvmconf") \
- $(usex luks "-a crypt" "-o crypt") \
- $(usex mdadm "--mdadmconf" "--nomdadmconf") \
- $(usex mdadm "-a mdraid" "-o mdraid") \
- $(usex microcode "--early-microcode" "--no-early-microcode") \
- $(usex multipath "-a multipath -a dm" "-o multipath") \
- $(usex nbd "-a nbd" "-o nbd") \
- $(usex nfs "-a nfs" "-o nfs") \
- $(usex plymouth "-a plymouth" "-o plymouth") \
- $(usex selinux "-a selinux" "-o selinux") \
- $(usex systemd "-a systemd -a systemd-initrd -a systemd-networkd" "-o systemd -o systemd-initrd -o systemd-networkd") \
- $(usex zfs "-a zfs" "-o zfs") \
- --kmoddir ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} \
- --fwdir ${EROOT}/lib/firmware \
- "${EROOT}"/boot/initrd-${DEB_PV_BASE}${MODULE_EXT} ${DEB_PV_BASE}${MODULE_EXT} || die ">>>Dracut: Building initramfs failed"
- einfo ""
- einfo ">>> Dracut: Finished building initramfs"
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Dracut initramfs has been generated!"
- ewarn ""
- ewarn "Required kernel arguments:"
- ewarn ""
- ewarn " root=/dev/ROOT"
- ewarn ""
- ewarn " Where ROOT is the device node for your root partition as the"
- ewarn " one specified in /etc/fstab"
- ewarn ""
- ewarn "Additional kernel cmdline arguments that *may* be required to boot properly..."
- ewarn ""
- ewarn "If you use hibernation:"
- ewarn ""
- ewarn " resume=/dev/SWAP"
- ewarn ""
- ewarn " Where $SWAP is the swap device used by hibernate software of your choice."
- ewarn""
- ewarn " Please consult "man 7 dracut.kernel" for additional kernel arguments."
- fi
-
- # warn about the issues with running a hardened kernel
- if use hardened; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Hardened patches have been applied to the kernel and KCONFIG options have been set."
- ewarn "These KCONFIG options and patches change kernel behavior."
- ewarn "Changes include:"
- ewarn "Increased entropy for Address Space Layout Randomization"
- ewarn "GCC plugins (if using GCC)"
- ewarn "Memory allocation"
- ewarn "... and more"
- ewarn ""
- ewarn "These changes will stop certain programs from functioning"
- ewarn "e.g. VirtualBox, Skype"
- ewarn "Full information available in $DOCUMENTATION"
- ewarn ""
- fi
-
- # if there are out-of-tree kernel modules detected, warn warn warn
- # TODO: tidy up below
- if use binary && [[ -e "${EROOT}"/var/lib/module-rebuild/moduledb ]]; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "External kernel modules are not yet automatically built"
- ewarn "by USE=binary - emerge @modules-rebuild to do this"
- ewarn "and regenerate your initramfs if you are using ZFS root filesystem"
- ewarn ""
- fi
-
- if use binary; then
- if [[ -e /etc/boot.conf ]]; then
- ego boot update
- fi
- fi
-}
diff --git a/sys-kernel/debian-sources/debian-sources-6.1.27_p1-r1.ebuild b/sys-kernel/debian-sources/debian-sources-6.1.27_p1-r1.ebuild
deleted file mode 100644
index b7494be65e46..000000000000
--- a/sys-kernel/debian-sources/debian-sources-6.1.27_p1-r1.ebuild
+++ /dev/null
@@ -1,741 +0,0 @@
-# Copyright 2020-2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit check-reqs mount-boot toolchain-funcs
-
-DESCRIPTION="Linux kernel sources with Debian patches."
-HOMEPAGE="https://packages.debian.org/unstable/kernel/"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64 arm arm64"
-
-SLOT=$(ver_cut 1-2)
-
-RESTRICT="binchecks strip mirror"
-
-IUSE="binary btrfs clang custom-cflags debug dmraid dtrace ec2 firmware hardened iscsi luks lvm mcelog mdadm microcode multipath nbd nfs plymouth selinux sign-modules symlink systemd wireguard zfs"
-
-BDEPEND="
- sys-devel/bc
- debug? ( dev-util/dwarves )
- virtual/libelf
-"
-
-DEPEND="
- net-misc/dhcp[client]
- binary? (
- sys-kernel/dracut
- dev-util/pahole
- )
- btrfs? ( sys-fs/btrfs-progs )
- dtrace? (
- dev-util/dtrace-utils
- dev-libs/libdtrace-ctf
- )
- firmware? (
- sys-kernel/linux-firmware
- )
- luks? ( sys-fs/cryptsetup )
- lvm? ( sys-fs/lvm2 )
- mdadm? ( sys-fs/mdadm )
- mcelog? ( app-admin/mcelog )
- plymouth? (
- x11-libs/libdrm
- sys-boot/plymouth[udev]
- )
- sign-modules? (
- || ( dev-libs/openssl
- )
- sys-apps/kmod
- )
- systemd? ( sys-apps/systemd )
- !systemd? ( sys-fs/eudev )
- wireguard? ( virtual/wireguard )
- zfs? ( sys-fs/zfs )
-"
-
-DEB_PV_BASE=${PV/_*/} #5.8.7
-DEB_EXTRAVERSION=${PV/*_p/-} #-1
-EXTRAVERSION=${PV/*_/_} #_p1
-
-TEMP_EXTRA_VERSION="debian"
-
-# at a minimum we will append EXTRAVERSION (debian patch set revision) and TEMP_EXTRA_VERSION (debian name) to MODULE_EXT
-# if we have a local revision, we append that between EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian-r5
-# if we do not have a local revision, then we have only EXTRAVERSION and TEMP_EXTRA_VERSION, e.g. _p1-debian
-if [ "${PR}" != "r0" ]; then
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}-${PR}
-else
- MODULE_EXT=${EXTRAVERSION}-${TEMP_EXTRA_VERSION}
-fi
-
-DEB_PV="${DEB_PV_BASE}${DEB_EXTRAVERSION}"
-KERNEL_ARCHIVE="linux_${DEB_PV_BASE}.orig.tar.xz"
-DEB_PATCH_ARCHIVE="linux_${DEB_PV}.debian.tar.xz"
-LIG_PATCH_ARCHIVE="linux_patches.tar.xz"
-LIG_UPSTREAM="https://gitlab.com/liguros/distfiles/-/raw/main"
-
-SRC_URI="
- $LIG_UPSTREAM/${KERNEL_ARCHIVE}
- $LIG_UPSTREAM/${DEB_PATCH_ARCHIVE}
- $LIG_UPSTREAM/${LIG_PATCH_ARCHIVE}
-"
-
-S="$WORKDIR/linux-${DEB_PV_BASE}"
-
-# TODO: manage HARDENED_PATCHES and GENTOO_PATCHES can be managed in a git repository and packed into tar balls per version.
-
-HARDENED_PATCHES_DIR="${WORKDIR}/${SLOT}/hardened-patches/"
-
-# 'linux-hardened' minimal patch set to compliment existing Kernel-Self-Protection-Project
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
-# All of the above already provided by Debian patches.
-HARDENED_PATCHES=(
- 0001-make-DEFAULT_MMAP_MIN_ADDR-match-LSM_MMAP_MIN_ADDR.patch
- 0002-enable-HARDENED_USERCOPY-by-default.patch
- 0003-disable-HARDENED_USERCOPY_FALLBACK-by-default.patch
- 0004-enable-SECURITY_DMESG_RESTRICT-by-default.patch
- 0005-set-kptr_restrict-2-by-default.patch
- 0006-enable-DEBUG_LIST-by-default.patch
- 0007-enable-BUG_ON_DATA_CORRUPTION-by-default.patch
- 0008-enable-ARM64_SW_TTBR0_PAN-by-default.patch
- 0009-arm64-enable-RANDOMIZE_BASE-by-default.patch
- 0010-enable-SLAB_FREELIST_RANDOM-by-default.patch
- 0011-enable-SLAB_FREELIST_HARDENED-by-default.patch
- 0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
- 0013-enable-FORTIFY_SOURCE-by-default.patch
- 0014-enable-PANIC_ON_OOPS-by-default.patch
- 0015-stop-hiding-SLUB_DEBUG-behind-EXPERT.patch
- 0016-stop-hiding-X86_16BIT-behind-EXPERT.patch
- 0017-disable-X86_16BIT-by-default.patch
- 0018-stop-hiding-MODIFY_LDT_SYSCALL-behind-EXPERT.patch
- 0019-disable-MODIFY_LDT_SYSCALL-by-default.patch
- 0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
- 0021-stop-hiding-AIO-behind-EXPERT.patch
- 0022-disable-AIO-by-default.patch
- 0023-remove-SYSVIPC-from-arm64-x86_64-defconfigs.patch
- 0024-disable-DEVPORT-by-default.patch
- 0025-disable-PROC_VMCORE-by-default.patch
- 0026-disable-NFS_DEBUG-by-default.patch
- 0027-enable-DEBUG_WX-by-default.patch
- 0028-disable-LEGACY_PTYS-by-default.patch
- 0029-disable-DEVMEM-by-default.patch
- 0030-enable-IO_STRICT_DEVMEM-by-default.patch
- 0031-disable-COMPAT_BRK-by-default.patch
- 0032-use-maximum-supported-mmap-rnd-entropy-by-default.patch
-# 0033-enable-protected_-symlinks-hardlinks-by-default.patch
- 0034-enable-SECURITY-by-default.patch
- 0035-enable-SECURITY_YAMA-by-default.patch
- 0036-enable-SECURITY_NETWORK-by-default.patch
- 0037-enable-AUDIT-by-default.patch
- 0038-enable-SECURITY_SELINUX-by-default.patch
- 0039-enable-SYN_COOKIES-by-default.patch
- 0040-add-__read_only-for-non-init-related-usage.patch
- 0041-make-sysctl-constants-read-only.patch
- 0042-mark-kernel_set_to_readonly-as-__ro_after_init.patch
- 0043-mark-slub-runtime-configuration-as-__ro_after_init.patch
- 0044-add-__ro_after_init-to-slab_nomerge-and-slab_state.patch
- 0045-mark-kmem_cache-as-__ro_after_init.patch
- 0046-mark-__supported_pte_mask-as-__ro_after_init.patch
- 0047-mark-kobj_ns_type_register-as-only-used-for-init.patch
- 0048-mark-open_softirq-as-only-used-for-init.patch
- 0049-remove-unused-softirq_action-callback-parameter.patch
- 0050-mark-softirq_vec-as-__ro_after_init.patch
- 0051-mm-slab-trigger-BUG-if-requested-object-is-not-a-sla.patch
- 0052-bug-on-kmem_cache_free-with-the-wrong-cache.patch
- 0053-bug-on-PageSlab-PageCompound-in-ksize.patch
- 0054-mm-add-support-for-verifying-page-sanitization.patch
- 0055-slub-Extend-init_on_free-to-slab-caches-with-constru.patch
- 0056-slub-Add-support-for-verifying-slab-sanitization.patch
- 0057-slub-add-multi-purpose-random-canaries.patch
-# 0058-security-perf-Allow-further-restriction-of-perf_even.patch
- 0059-enable-SECURITY_PERF_EVENTS_RESTRICT-by-default.patch
-# 0060-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- 0061-add-kmalloc-krealloc-alloc_size-attributes.patch
- 0062-add-vmalloc-alloc_size-attributes.patch
- 0063-add-kvmalloc-alloc_size-attribute.patch
- 0064-add-percpu-alloc_size-attributes.patch
- 0065-add-alloc_pages_exact-alloc_size-attributes.patch
- 0066-Add-the-extra_latent_entropy-kernel-parameter.patch
- 0067-ata-avoid-null-pointer-dereference-on-bug.patch
- 0068-sanity-check-for-negative-length-in-nla_memcpy.patch
- 0069-add-page-destructor-sanity-check.patch
- 0070-PaX-shadow-cr4-sanity-check-essentially-a-revert.patch
- 0071-add-writable-function-pointer-detection.patch
- 0072-support-overriding-early-audit-kernel-cmdline.patch
- 0073-FORTIFY_SOURCE-intra-object-overflow-checking.patch
- 0074-Revert-mm-revert-x86_64-and-arm64-ELF_ET_DYN_BASE-ba.patch
- 0075-x86_64-move-vdso-to-mmap-region-from-stack-region.patch
- 0076-x86-determine-stack-entropy-based-on-mmap-entropy.patch
- 0077-arm64-determine-stack-entropy-based-on-mmap-entropy.patch
- 0078-randomize-lower-bits-of-the-argument-block.patch
- 0079-x86_64-match-arm64-brk-randomization-entropy.patch
- 0080-support-randomizing-the-lower-bits-of-brk.patch
- 0081-mm-randomize-lower-bits-of-brk.patch
- 0082-x86-randomize-lower-bits-of-brk.patch
- 0083-mm-guarantee-brk-gap-is-at-least-one-page.patch
- 0084-x86-guarantee-brk-gap-is-at-least-one-page.patch
- 0085-x86_64-bound-mmap-between-legacy-modern-bases.patch
- 0086-restrict-device-timing-side-channels.patch
- 0087-add-toggle-for-disabling-newly-added-USB-devices.patch
- 0088-hard-wire-legacy-checkreqprot-option-to-0.patch
- 0089-security-tty-Add-owner-user-namespace-to-tty_struct.patch
- 0090-security-tty-make-TIOCSTI-ioctl-require-CAP_SYS_ADMI.patch
- 0091-enable-SECURITY_TIOCSTI_RESTRICT-by-default.patch
- 0092-disable-unprivileged-eBPF-access-by-default.patch
- 0093-enable-BPF-JIT-hardening-by-default-if-available.patch
- 0094-enable-protected_-fifos-regular-by-default.patch
- 0095-Revert-mark-kernel_set_to_readonly-as-__ro_after_ini.patch
- 0096-modpost-Add-CONFIG_DEBUG_WRITABLE_FUNCTION_POINTERS_.patch
- 0097-mm-Fix-extra_latent_entropy.patch
- 0098-add-CONFIG-for-unprivileged_userns_clone.patch
- 0099-enable-INIT_ON_ALLOC_DEFAULT_ON-by-default.patch
- 0100-enable-INIT_ON_FREE_DEFAULT_ON-by-default.patch
- 0101-add-CONFIG-for-unprivileged_userfaultfd.patch
- 0102-slub-Extend-init_on_alloc-to-slab-caches-with-constr.patch
- 0103-net-tcp-add-option-to-disable-TCP-simultaneous-conne.patch
-# 0104-backport-net-packet-fix-overflow-in-tpacket_rcv.patch
-)
-
-GENTOO_PATCHES_DIR="${WORKDIR}/${SLOT}/gentoo-patches/"
-
-# Gentoo Linux 'genpatches' patch set
-# 1510_fs-enable-link-security-restrctions-by-default.patch is already provided in debian patches
-# 4567_distro-Gentoo-Kconfig TODO?
-GENTOO_PATCHES=(
- 1500_XATTR_USER_PREFIX.patch
- #1510_fs-enable-link-security-restrictions-by-default.patch
- 1700_sparc-address-warray-bound-warnings.patch
- 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
- 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch
- 2910_bfp-mark-get-entry-ip-as--maybe-unused.patch
- 2920_sign-file-patch-for-libressl.patch
- 2930_gcc-plugins-Reorg-gimple-incs-for-gcc-13.patch
- 3000_Support-printing-firmware-info.patch
- 4567_distro-Gentoo-Kconfig.patch
- 5000_shiftfs-6.1.patch
- 5010_enable-cpu-optimizations-universal.patch
- 5020_BMQ-and-PDS-io-scheduler-v6.1-r4-linux-tkg.patch
- 5021_BMQ-and-PDS-gentoo-defaults.patch
- 5022_BMQ-and-PDS-remove-psi-support.patch
-)
-
-DTRACE_PATCHES_DIR="${WORKDIR}/${SLOT}/dtrace-patches"
-
-DTRACE_PATCHES=(
- 0001-kallsyms-new-proc-kallmodsyms-with-builtin-modules-a.patch
- 0002-ctf-generate-CTF-information-for-the-kernel.patch
- 0003-waitfd-new-syscall-implementing-waitpid-over-fds.patch
- 0004-ctf-kernel-build-with-gt-for-CTF-generation-using-GC.patch
- 0005-ctf-toolchain-based-CTF-support.patch
- 0006-kbuild-arm64-Set-objects.builtin-dependency-to-Image.patch
- 0007-ctf-adapt-to-the-new-CTF-linker-API.patch
- 0008-ctf-discard-CTF-sections-for-arches-not-using-DISCAR.patch
- 0009-ctf-discard-CTF-from-the-vDSO.patch
- 0010-ctf-fix-memory-leak-in-ctfarchive.patch
- 0011-ctf-adjust-to-upcoming-binutils-ctf_link_add_ctf-API.patch
- 0012-ctf-support-ld-ctf-variables-if-available.patch
- 0013-ctf-add-.ctf-to-.gitignore.patch
- 0014-waitfd-enable-by-default.patch
-)
-
-eapply_hardened() {
- eapply "${HARDENED_PATCHES_DIR}/${1}"
-}
-
-eapply_gentoo() {
- eapply "${GENTOO_PATCHES_DIR}/${1}"
-}
-
-eapply_dtrace() {
- eapply "${DTRACE_PATCHES_DIR}/${1}"
-}
-
-get_patch_list() {
- [[ -z "${1}" ]] && die "No patch series file specified"
- local patch_series="${1}"
- while read line ; do
- if [[ "${line:0:1}" != "#" ]] ; then
- echo "${line}"
- fi
- done < "${patch_series}"
-}
-
-get_certs_dir() {
- # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules.
- for subdir in $PF $P linux; do
- certdir=/etc/kernel/certs/$subdir
- if [ -d $certdir ]; then
- if [ ! -e $certdir/signing_key.pem ]; then
- eerror "$certdir exists but missing signing key; exiting."
- exit 1
- fi
- echo $certdir
- return
- fi
- done
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use binary ; then
- CHECKREQS_DISK_BUILD="5G"
- check-reqs_pkg_setup
- fi
-}
-
-pkg_setup() {
- export REAL_ARCH="$ARCH"
- unset ARCH; unset LDFLAGS #will interfere with Makefile if set
-}
-
-src_unpack() {
- # unpack the kernel sources to ${WORKDIR}
- unpack ${KERNEL_ARCHIVE} || die "failed to unpack kernel sources"
-
- # unpack the kernel patches
- unpack ${DEB_PATCH_ARCHIVE} || die "failed to unpack debian patches"
- unpack ${LIG_PATCH_ARCHIVE} || die "failed to unpack liguros patches"
-}
-
-src_prepare() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # punt the debian devs certificates
- rm -rf "${S}"/debian/certs
-
- ### PATCHES ###
-
- # apply debian patches
- for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do
- eapply -p1 "${WORKDIR}/debian/patches/${debpatch}"
- done
-
- # only apply these if USE=hardened as the patches will break proprietary userspace and some others.
- if use hardened; then
- # apply hardening patches
- einfo "Applying hardening patches ..."
- for my_patch in ${HARDENED_PATCHES[*]} ; do
- eapply_hardened "${my_patch}"
- done
- fi
-
- # apply gentoo patches
- einfo "Applying Gentoo Linux patches ..."
- for my_patch in ${GENTOO_PATCHES[*]} ; do
- eapply_gentoo "${my_patch}"
- done
-
- # optionally apply dtrace patches
- if use dtrace; then
- for my_patch in ${DTRACE_PATCHES[*]} ; do
- eapply_dtrace "${my_patch}"
- done
- fi
-
- # append EXTRAVERSION to the kernel sources Makefile
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die "failed to append EXTRAVERSION to kernel Makefile"
-
- # todo: look at this, haven't seen it used in many cases.
- sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die "failed to fix-up INSTALL_PATH in kernel Makefile"
-
- # copy the debian patches into the kernel sources work directory (config-extract requires this).
- cp -a "${WORKDIR}"/debian "${S}"/debian
-
- ### GENERATE CONFIG ###
-
- local arch featureset subarch
- featureset="standard"
- if [[ ${REAL_ARCH} == x86 ]]; then
- arch="i386"
- subarch="686-pae"
- elif [[ ${REAL_ARCH} == amd64 ]]; then
- arch="amd64"
- subarch="amd64"
- elif [[ ${REAL_ARCH} == arm ]]; then
- arch="armhf"
- subarch="armmp"
- elif [[ ${REAL_ARCH} == arm64 ]]; then
- arch="arm64"
- subarch="arm64"
- else
- die "Architecture not handled in ebuild"
- fi
-
- # Copy 'config-extract' tool to the work directory
- cp "${FILESDIR}"/config-extract-6.1 ./config-extract || die
-
- # ... and make it executable
- chmod +x config-extract || die
-
- # ... and now extract the kernel config file!
- ./config-extract ${arch} ${featureset} ${subarch} || die
-
- ### TWEAK CONFIG ###
- # Do not configure Debian devs certificates
- echo 'CONFIG_SYSTEM_TRUSTED_KEYS=""' >> .config
-
- # enable IKCONFIG so that /proc/config.gz can be used for various checks
- # TODO: Maybe not a good idea for USE=hardened, look into this...
- echo "CONFIG_IKCONFIG=y" >> .config
- echo "CONFIG_IKCONFIG_PROC=y" >> .config
-
- if use custom-cflags; then
- MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")"
- if [ -n "$MARCH" ]; then
- sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!"
- fi
- fi
-
- # only enable debugging symbols etc if USE=debug...
- if use debug; then
- echo "CONFIG_DEBUG_INFO=y" >> .config
- else
- echo "CONFIG_DEBUG_INFO=n" >> .config
- sed -i -e "s/^CONFIG_DEBUG\(.*\)=.*/CONFIG_DEBUG\1=n/g" .config
- fi
-
- if use dtrace; then
- echo "CONFIG_WAITFD=y" >> .config
- fi
-
- # these options should already be set, but are a hard dependency for ec2, so we ensure they are set if USE=ec2
- if use ec2; then
- echo "CONFIG_BLK_DEV_NVME=y" >> .config
- echo "CONFIG_XEN_BLKDEV_FRONTEND=m" >> .config
- echo "CONFIG_XEN_BLKDEV_BACKEND=m" >> .config
- echo "CONFIG_IXGBEVF=m" >> .config
- fi
-
- # hardening opts
- # TODO: document these
- if use hardened; then
- echo "CONFIG_AUDIT=y" >> .config
- echo "CONFIG_EXPERT=y" >> .config
- echo "CONFIG_SLUB_DEBUG=y" >> .config
- echo "CONFIG_SLAB_MERGE_DEFAULT=n" >> .config
- echo "CONFIG_SLAB_FREELIST_RANDOM=y" >> .config
- echo "CONFIG_SLAB_FREELIST_HARDENED=y" >> .config
- echo "CONFIG_SLAB_CANARY=y" >> .config
- echo "CONFIG_SHUFFLE_PAGE_ALLOCATOR=y" >> .config
- echo "CONFIG_RANDOMIZE_BASE=y" >> .config
- echo "CONFIG_RANDOMIZE_MEMORY=y" >> .config
- echo "CONFIG_HIBERNATION=n" >> .config
- echo "CONFIG_HARDENED_USERCOPY=y" >> .config
- echo "CONFIG_HARDENED_USERCOPY_FALLBACK=n" >> .config
- echo "CONFIG_FORTIFY_SOURCE=y" >> .config
- echo "CONFIG_STACKPROTECTOR=y" >> .config
- echo "CONFIG_STACKPROTECTOR_STRONG=y" >> .config
- echo "CONFIG_ARCH_MMAP_RND_BITS=32" >> .config
- echo "CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16" >> .config
- echo "CONFIG_INIT_ON_FREE_DEFAULT_ON=y" >> .config
- echo "CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y" >> .config
- echo "CONFIG_SLAB_SANITIZE_VERIFY=y" >> .config
- echo "CONFIG_PAGE_SANITIZE_VERIFY=y" >> .config
-
- # gcc plugins
- if ! use clang; then
- echo "CONFIG_GCC_PLUGINS=y" >> .config
- echo "CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y" >> .config
- echo "CONFIG_GCC_PLUGIN_STACKLEAK=y" >> .config
- echo "CONFIG_STACKLEAK_TRACK_MIN_SIZE=100" >> .config
- echo "CONFIG_STACKLEAK_METRICS=n" >> .config
- echo "CONFIG_STACKLEAK_RUNTIME_DISABLE=n" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT=y" >> .config
- echo "CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=n" >> .config
- fi
-
- # main hardening options complete... anything after this point is a focus on disabling potential attack vectors
- # i.e legacy drivers, new complex code that isn't yet proven, or code that we really don't want in a hardened kernel.
- echo 'CONFIG_KEXEC=n' >> .config
- echo "CONFIG_KEXEC_FILE=n" >> .config
- echo 'CONFIG_KEXEC_SIG=n' >> .config
- fi
-
- # mcelog is deprecated, but there are still some valid use cases and requirements for it... so stick it behind a USE flag for optional kernel support.
- if use mcelog; then
- echo "CONFIG_X86_MCELOG_LEGACY=y" >> .config
- fi
-
- # sign kernel modules via
- if use sign-modules; then
- certs_dir=$(get_certs_dir)
- echo
- if [ -z "$certs_dir" ]; then
- eerror "No certs dir found in /etc/kernel/certs; aborting."
- die
- else
- einfo "Using certificate directory of $certs_dir for kernel module signing."
- fi
- echo
- # turn on options for signing modules.
- # first, remove existing configs and comments:
- echo 'CONFIG_MODULE_SIG=""' >> .config
- # now add our settings:
- echo 'CONFIG_MODULE_SIG=y' >> .config
- echo 'CONFIG_MODULE_SIG_FORCE=n' >> .config
- echo 'CONFIG_MODULE_SIG_ALL=n' >> .config
- # LibreSSL currently (2.9.0) does not have CMS support, so is limited to SHA1.
- # https://bugs.gentoo.org/706086
- # https://bugzilla.kernel.org/show_bug.cgi?id=202159
- echo 'CONFIG_MODULE_SIG_HASH="sha512"' >> .config
- echo 'CONFIG_MODULE_SIG_KEY="${certs_dir}/signing_key.pem"' >> .config
- echo 'CONFIG_SYSTEM_TRUSTED_KEYRING=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE=y' >> .config
- echo 'CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE="4096"' >> .config
-
- # See above comment re: LibreSSL
- echo "CONFIG_MODULE_SIG_SHA512=y" >> .config
- ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING."
- ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot"
- ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)"
- echo
- fi
-
- # enable wireguard support within kernel
- if use wireguard; then
- echo 'CONFIG_WIREGUARD=m' >> .config
- # there are some other options, but I need to verify them first, so I'll start with this
- fi
-
- # get config into good state:
- yes "" | make oldconfig >/dev/null 2>&1 || die
- cp .config "${T}"/.config || die
- make -s mrproper || die "make mrproper failed"
-
- # Apply any user patches
- eapply_user
-}
-
-src_configure() {
- if use binary; then
-
- debug-print-function ${FUNCNAME} "${@}"
-
- tc-export_build_env
- 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="$(tc-getLD)"
- 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)
- )
-
- mkdir -p "${WORKDIR}"/modprep || die
- cp "${T}"/.config "${WORKDIR}"/modprep/ || die
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" olddefconfig || die "kernel configure failed"
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" modules_prepare || die "modules_prepare failed"
- cp -pR "${WORKDIR}"/modprep "${WORKDIR}"/build || die
- fi
-}
-
-src_compile() {
- if use binary; then
- debug-print-function ${FUNCNAME} "${@}"
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" all || "kernel build failed"
- fi
-}
-
-src_install() {
- debug-print-function ${FUNCNAME} "${@}"
-
- # TODO: Change to SANDBOX_WRITE=".." for installkernel writes
- # Disable sandbox
- export SANDBOX_ON=0
-
- # copy sources into place:
- dodir /usr/src
- cp -a "${S}" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} || die "failed to install kernel sources"
- cd "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}
-
- # prepare for real-world use and 3rd-party module building:
- make mrproper || die
- cp "${T}"/.config .config || die
- cp -a "${WORKDIR}"/debian debian || die
-
- # if we didn't use genkernel, we're done. The kernel source tree is left in
- # an unconfigured state - you can't compile 3rd-party modules against it yet.
- if use binary; then
- make prepare || die
- make scripts || die
-
- local targets=( modules_install )
-
- # ARM / ARM64 requires dtb
- if (use arm || use arm64); then
- targets+=( dtbs_install )
- fi
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" INSTALL_MOD_PATH="${ED}" INSTALL_PATH="${ED}/boot" "${targets[@]}"
- installkernel "${DEB_PV_BASE}${MODULE_EXT}" "${WORKDIR}/build/arch/x86_64/boot/bzImage" "${WORKDIR}/build/System.map" "${EROOT}/boot"
-
- # module symlink fix-up:
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to remove old kernel source symlink"
- rm -rf "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to remove old kernel build symlink"
-
- # Set-up module symlinks:
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/source || die "failed to create kernel source symlink"
- ln -s /usr/src/linux-${PV}-${TEMP_EXTRA_VERSION} "${D}"/lib/modules/${DEB_PV_BASE}${MODULE_EXT}/build || die "failed to create kernel build symlink"
-
- # Fixes FL-14
- cp "${WORKDIR}/build/System.map" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install System.map"
- cp "${WORKDIR}/build/Module.symvers" "${D}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT}/ || die "failed to install Module.symvers"
-
- if use sign-modules; then
- for x in $(find "${D}"/lib/modules -iname *.ko); do
- # $certs_dir defined previously in this function.
- ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die
- done
- # install the sign-file executable for future use.
- exeinto /usr/src/linux-${PV}-${P}/scripts
- doexe ${WORKDIR}/build/scripts/sign-file
- fi
- fi
-}
-
-pkg_postinst() {
-
- # TODO: Change to SANDBOX_WRITE=".." for Dracut writes
- export SANDBOX_ON=0
-
- # if USE=symlink...
- if use symlink; then
- # delete the existing symlink if one exists
- if [[ -h "${EROOT}"/usr/src/linux ]]; then
- rm "${EROOT}"/usr/src/linux
- fi
- # and now symlink the newly installed sources
- ewarn ""
- ewarn "WARNING... WARNING... WARNING"
- ewarn ""
- ewarn "/usr/src/linux symlink automatically set to linux-${DEB_PV_BASE}${MODULE_EXT}"
- ewarn ""
- ln -sf "${EROOT}"/usr/src/linux-${DEB_PV_BASE}${MODULE_EXT} "${EROOT}"/usr/src/linux
- fi
-
- # if there's a modules folder for these sources, generate modules.dep and map files
- if [[ -d ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} ]]; then
- depmod -a ${DEB_PV_BASE}${MODULE_EXT}
- fi
-
- # NOTE: WIP and not well tested yet.
- #
- # Dracut will build an initramfs when USE=binary.
- #
- # The initramfs will be configurable via USE, i.e.
- # USE=zfs will pass '--zfs' to Dracut
- # USE=-systemd will pass '--omit dracut-systemd systemd systemd-networkd systemd-initrd' to exclude these (Dracut) modules from the initramfs.
- #
- # NOTE 2: this will create a fairly.... minimal, and modular initramfs. It has been tested with things with ZFS and LUKS, and 'works'.
- # Things like network support have not been tested (I am currently unsure how well this works with Gentoo Linux based systems),
- # and may end up requiring network-manager for decent support (this really needs further research).
- if use binary; then
- einfo ""
- einfo ">>> Dracut: building initramfs"
- dracut \
- --stdlog=5 \
- --force \
- --no-hostonly \
- --add "base fs-lib i18n kernel-modules network qemu qemu-net rootfs-block shutdown terminfo udev-rules usrmount" \
- --omit "biosdevname bootchart busybox caps convertfs dash debug dmsquash-live dmsquash-live-ntfs fcoe fcoe-uefi fstab-sys gensplash ifcfg img-lib livenet mksh network-manager rpmversion securityfs ssh-client stratis syslog url-lib" \
- $(usex btrfs "-a btrfs" "-o btrfs") \
- $(usex dmraid "-a dmraid -a dm" "-o dmraid") \
- $(usex hardened "-o resume" "-a resume") \
- $(usex iscsi "-a iscsi" "-o iscsi") \
- $(usex lvm "-a lvm -a dm" "-o lvm") \
- $(usex lvm "--lvmconf" "--nolvmconf") \
- $(usex luks "-a crypt" "-o crypt") \
- $(usex mdadm "--mdadmconf" "--nomdadmconf") \
- $(usex mdadm "-a mdraid" "-o mdraid") \
- $(usex microcode "--early-microcode" "--no-early-microcode") \
- $(usex multipath "-a multipath -a dm" "-o multipath") \
- $(usex nbd "-a nbd" "-o nbd") \
- $(usex nfs "-a nfs" "-o nfs") \
- $(usex plymouth "-a plymouth" "-o plymouth") \
- $(usex selinux "-a selinux" "-o selinux") \
- $(usex systemd "-a systemd -a systemd-initrd -a systemd-networkd" "-o systemd -o systemd-initrd -o systemd-networkd") \
- $(usex zfs "-a zfs" "-o zfs") \
- --kmoddir ${EROOT}/lib/modules/${DEB_PV_BASE}${MODULE_EXT} \
- --fwdir ${EROOT}/lib/firmware \
- "${EROOT}"/boot/initrd-${DEB_PV_BASE}${MODULE_EXT} ${DEB_PV_BASE}${MODULE_EXT} || die ">>>Dracut: Building initramfs failed"
- einfo ""
- einfo ">>> Dracut: Finished building initramfs"
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Dracut initramfs has been generated!"
- ewarn ""
- ewarn "Required kernel arguments:"
- ewarn ""
- ewarn " root=/dev/ROOT"
- ewarn ""
- ewarn " Where ROOT is the device node for your root partition as the"
- ewarn " one specified in /etc/fstab"
- ewarn ""
- ewarn "Additional kernel cmdline arguments that *may* be required to boot properly..."
- ewarn ""
- ewarn "If you use hibernation:"
- ewarn ""
- ewarn " resume=/dev/SWAP"
- ewarn ""
- ewarn " Where $SWAP is the swap device used by hibernate software of your choice."
- ewarn""
- ewarn " Please consult "man 7 dracut.kernel" for additional kernel arguments."
- fi
-
- # warn about the issues with running a hardened kernel
- if use hardened; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "Hardened patches have been applied to the kernel and KCONFIG options have been set."
- ewarn "These KCONFIG options and patches change kernel behavior."
- ewarn "Changes include:"
- ewarn "Increased entropy for Address Space Layout Randomization"
- ewarn "GCC plugins (if using GCC)"
- ewarn "Memory allocation"
- ewarn "... and more"
- ewarn ""
- ewarn "These changes will stop certain programs from functioning"
- ewarn "e.g. VirtualBox, Skype"
- ewarn "Full information available in $DOCUMENTATION"
- ewarn ""
- fi
-
- # if there are out-of-tree kernel modules detected, warn warn warn
- # TODO: tidy up below
- if use binary && [[ -e "${EROOT}"/var/lib/module-rebuild/moduledb ]]; then
- ewarn ""
- ewarn "WARNING... WARNING... WARNING..."
- ewarn ""
- ewarn "External kernel modules are not yet automatically built"
- ewarn "by USE=binary - emerge @modules-rebuild to do this"
- ewarn "and regenerate your initramfs if you are using ZFS root filesystem"
- ewarn ""
- fi
-
- if use binary; then
- if [[ -e /etc/boot.conf ]]; then
- ego boot update
- fi
- fi
-}
diff --git a/sys-kernel/debian-sources/files/config-extract b/sys-kernel/debian-sources/files/config-extract
deleted file mode 100755
index ddbafee3ecce..000000000000
--- a/sys-kernel/debian-sources/files/config-extract
+++ /dev/null
@@ -1,219 +0,0 @@
-#!/usr/bin/python
-
-import os,sys,re
-import getopt
-
-re_head = re.compile('^binary-arch_(.*)_real::')
-re_flav = re.compile('binary-arch-flavour')
-re_item = re.compile("[A-Z_]*='[^']*'")
-
-try:
- f=open("debian/rules.gen","r")
-except:
- print("Unable to open debian/rules.gen; can't continue.")
- sys.exit(1)
-lines=f.readlines()
-f.close()
-
-line=0
-
-configlist = []
-configdict = {}
-
-# scan Debian rules.gen file and gather all variable data into a more useable format:
-
-while line < len(lines):
- head_match = re_head.match(lines[line])
- if not head_match:
- line += 1
- continue
- config_name = head_match.group(1)
- line += 1
- if not re_flav.findall(lines[line]):
- continue
- lsplit = re_item.findall(lines[line])
- groovydict = {}
- for item in lsplit:
- kv = item.split("=",1)
- if len(kv) < 2:
- continue
- groovydict[kv[0]] = kv[1][1:-1]
- configlist.append(config_name)
- configdict[config_name] = groovydict
- line += 1
-
-# We will organize the arch, featureset and flavors into cascading lists so
-# that we can present a nice clean chart of what's available to the user:
-
-archdict = {}
-
-for config in configlist:
- cs = config.split("_")
- if not cs[0] in archdict:
- archdict[cs[0]] = { }
- if cs[1] == "none":
- cs[1] = None
- if cs[1] not in archdict[cs[0]]:
- archdict[cs[0]][cs[1]] = []
- archdict[cs[0]][cs[1]].append(cs[2])
-
-arches = list(archdict.keys())
-arches.sort()
-
-features = [ None ]
-for arch in arches:
- for flav in archdict[arch]:
- if flav not in features:
- features.append(flav)
-
-PROG="config-extract"
-def usage():
- print("""This work is free software.
-
-Copyright 2011 Funtoo Technologies. You can redistribute and/or modify it under
-the terms of the GNU General Public License version 3 as published by the Free
-Software Foundation. Alternatively you may (at your option) use any other
-license that has been publicly approved for use with this program by Funtoo
-Technologies (or its successors, if any.)
-
-usage: %s [options] arch [featureset] [subarch]
-
- -h --help print this usage and exit
- -l --list list all available kernel configurations
- -o --outfile specify kernel config outfile --
- defaults to .config in current directory
- [featureset] defaults to "standard" if not specified
- [subarch] defaults to the only one available; otherwise required
-
-This program was written by Daniel Robbins for Funtoo Linux, for the purpose of
-easily and conveniently extracting Debian kernel configurations. To see a nice
-list of all available kernel configurations, use the --list option.
-
-Debian's kernel configs are specified internally in arch_featureset_flavor
-format, such as: "amd64_openvz_amd64". The featureset typically describes an
-optional kernel configuration such as "xen" or "openvz", while the flavor in
-Debian terminology typically refers to the sub-architecture of the CPU.
-
-When using this command, you must specify an arch. A featureset of "standard" is
-assumed unless you specify one, and by default this program will pick the only
-available subarch if there is only one to choose from. If not, you will need to
-pick one (and the program will remind you to do this.)
-
-The kernel configuration will be written to ".config" in the current directory,
-or the location you specified using the -o/--outfile option.
-""" % PROG)
- sys.exit(2)
-
-try:
- opts, args = getopt.getopt(sys.argv[1:], "o:hl", ["help", "list","outfile="])
-except getopt.GetoptError as err:
- print(str(err))
- usage()
-
-mode="run"
-outfile=None
-for o,a in opts:
- if o in ("-h", "--help"):
- usage()
- elif o in ("-l", "--list"):
- mode="list"
- elif o in ("-o", "--outfile"):
- outfile = a
- else:
- assert False, "Unhandled option"
-if mode == "run":
- if len(args) < 1 or len(args) > 3:
- if len(args) == 0:
- print("Please specify an arch - one of: "+", ".join(arches))
- sys.exit(2)
- else:
- print("Too many arguments.")
- usage()
- arch = args[0]
- if outfile == None:
- outfile = os.path.join(os.getcwd(),".config")
- featureset = None
- subarch = None
- if len(args) == 3:
- featureset = args[1]
- subarch = args[2]
- elif len(args) == 2:
- featureset = args[1]
- if featureset == "standard":
- featureset = None
-
-# print out optimized list of available kernel configurations:
-
-if mode=="list":
- print()
- for flav in features:
- label = flav
- if label == None:
- label = "standard"
- print("====== %s featureset ======" % label)
- print()
- for arch in arches:
- if flav in archdict[arch]:
- if len(archdict[arch][flav]) == 1:
- print(arch.rjust(12))
- else:
- flavlist = archdict[arch][flav]
- flavlist.sort()
- variants = ", ".join(flavlist)
- print(arch.rjust(12) + ":", variants)
- print()
- sys.exit(0)
-
-# featureset defaults to None.
-
-if featureset not in archdict[arch]:
- print("Error: There is no '%s' featureset kernel config for arch '%s'. Exiting." % ( featureset, arch ))
- print(archdict[arch])
- sys.exit(2)
-
-# If a subarch is not specified (None), then we will auto-pick the subarch if only one is available.
-# Debian often has an "amd64" subarch for the "amd64" arch, rather than "none" as I might expect:
-
-if subarch == None:
- if len(archdict[arch][featureset]) == 1:
- subarch = archdict[arch][featureset][0]
- else:
- print("Error: there is more than one 'sub-architecture' for this arch.")
- print("Please specify [arch] [featureset] [subarch], with one of these subarches:")
- print(", ".join(archdict[arch][featureset]))
- sys.exit(2)
-else:
- if subarch not in archdict[arch][featureset]:
- print("Error: specified sub-architecture '%s' is not available for this arch. Exiting." % subarch)
- sys.exit(2)
-
-# We've done all our arg processing, now let's construct the master_key that we will use to look up the
-# proper settings to pass to Debian's debian/bin/kconfig.py command:
-
-master_key=arch
-if featureset == None:
- master_key += "_none"
-else:
- master_key += "_%s" % featureset
-if subarch == None:
- master_key += "_none"
-else:
- master_key += "_%s" % subarch
-if master_key not in configdict:
- print("Master key lookup failed; can't continue. Please report this bug.")
- sys.exit(1)
-if "KCONFIG" not in configdict[master_key]:
- print("Unable to find KCONFIG option; can't continue. Please report this bug.")
- sys.exit(1)
-cmd = "python debian/bin/kconfig.py '%s' %s" % ( outfile, configdict[master_key]["KCONFIG"] )
-if "KCONFIG_OPTIONS" in configdict[master_key]:
- cmd += " %s" % configdict[master_key]["KCONFIG_OPTIONS"]
-os.environ["PYTHONPATH"] = "debian/lib/python"
-retval = os.system(cmd)
-if retval == 0:
- print("Wrote %s kernel configuration to %s." % ( master_key, outfile ))
- sys.exit(0)
-else:
- print("There was an error extracting the Debian kernel config.")
- sys.exit(1)
-
diff --git a/sys-kernel/debian-sources/files/config-extract-6.1 b/sys-kernel/debian-sources/files/config-extract-6.1
deleted file mode 100755
index bad09015b2d3..000000000000
--- a/sys-kernel/debian-sources/files/config-extract-6.1
+++ /dev/null
@@ -1,224 +0,0 @@
-#!/usr/bin/python3
-
-import os, sys, re
-import getopt
-
-re_head = re.compile("^binary-arch_(.*)_real_headers")
-re_flav = re.compile("binary_headers")
-re_item = re.compile("[A-Z_]*='[^']*'")
-
-try:
- f = open("debian/rules.gen", "r")
-except:
- print("Unable to open debian/rules.gen; can't continue.")
- sys.exit(1)
-lines = f.readlines()
-f.close()
-
-line = 0
-
-configlist = []
-configdict = {}
-
-# scan Debian rules.gen file and gather all variable data into a more useable format:
-
-while line < len(lines):
- head_match = re_head.match(lines[line])
- if not head_match:
- line += 1
- continue
- config_name = head_match.group(1)
- line += 1
- if not re_flav.findall(lines[line]):
- continue
- lsplit = re_item.findall(lines[line])
- groovydict = {}
- for item in lsplit:
- kv = item.split("=", 1)
- if len(kv) < 2:
- continue
- groovydict[kv[0]] = kv[1][1:-1]
- configlist.append(config_name)
- configdict[config_name] = groovydict
- line += 1
-
-# We will organize the arch, featureset and flavors into cascading lists so
-# that we can present a nice clean chart of what's available to the user:
-
-archdict = {}
-
-for config in configlist:
- cs = config.split("_")
- if not cs[0] in archdict:
- archdict[cs[0]] = {}
- if cs[1] == "none":
- cs[1] = None
- if cs[1] not in archdict[cs[0]]:
- archdict[cs[0]][cs[1]] = []
- archdict[cs[0]][cs[1]].append(cs[2])
-
-arches = list(archdict.keys())
-arches.sort()
-
-features = [None]
-for arch in arches:
- for flav in archdict[arch]:
- if flav not in features:
- features.append(flav)
-
-PROG = "config-extract"
-
-
-def usage():
- print(
- """This work is free software.
-
-Copyright 2011-2020 Funtoo Solutions. You can redistribute and/or modify it under
-the terms of the GNU General Public License version 3 as published by the Free
-Software Foundation. Alternatively you may (at your option) use any other
-license that has been publicly approved for use with this program by Funtoo
-Technologies (or its successors, if any.)
-
-usage: %s [options] arch [featureset] [subarch]
-
- -h --help print this usage and exit
- -l --list list all available kernel configurations
- -o --outfile specify kernel config outfile --
- defaults to .config in current directory
- [featureset] defaults to "standard" if not specified
- [subarch] defaults to the only one available; otherwise required
-
-This program was written by Daniel Robbins for Funtoo Linux, for the purpose of
-easily and conveniently extracting Debian kernel configurations. To see a nice
-list of all available kernel configurations, use the --list option.
-
-Debian's kernel configs are specified internally in arch_featureset_flavor
-format, such as: "amd64_openvz_amd64". The featureset typically describes an
-optional kernel configuration such as "xen" or "openvz", while the flavor in
-Debian terminology typically refers to the sub-architecture of the CPU.
-
-When using this command, you must specify an arch. A featureset of "standard" is
-assumed unless you specify one, and by default this program will pick the only
-available subarch if there is only one to choose from. If not, you will need to
-pick one (and the program will remind you to do this.)
-
-The kernel configuration will be written to ".config" in the current directory,
-or the location you specified using the -o/--outfile option.
-"""
- % PROG
- )
- sys.exit(2)
-
-
-try:
- opts, args = getopt.getopt(sys.argv[1:], "o:hl", ["help", "list", "outfile="])
-except getopt.GetoptError as err:
- print(str(err))
- usage()
-
-mode = "run"
-outfile = None
-for o, a in opts:
- if o in ("-h", "--help"):
- usage()
- elif o in ("-l", "--list"):
- mode = "list"
- elif o in ("-o", "--outfile"):
- outfile = a
- else:
- assert False, "Unhandled option"
-if mode == "run":
- if len(args) < 1 or len(args) > 3:
- if len(args) == 0:
- print("Please specify an arch - one of: " + ", ".join(arches))
- sys.exit(2)
- else:
- print("Too many arguments.")
- usage()
- arch = args[0]
- if outfile == None:
- outfile = os.path.join(os.getcwd(), ".config")
- featureset = None
- subarch = None
- if len(args) == 3:
- featureset = args[1]
- subarch = args[2]
- elif len(args) == 2:
- featureset = args[1]
- if featureset == "standard":
- featureset = None
-
-# print out optimized list of available kernel configurations:
-
-if mode == "list":
- print()
- for flav in features:
- label = flav
- if label == None:
- label = "standard"
- print("====== %s featureset ======" % label)
- print()
- for arch in arches:
- if flav in archdict[arch]:
- if len(archdict[arch][flav]) == 1:
- print(arch.rjust(12))
- else:
- flavlist = archdict[arch][flav]
- flavlist.sort()
- variants = ", ".join(flavlist)
- print(arch.rjust(12) + ":", variants)
- print()
- sys.exit(0)
-
-# featureset defaults to None.
-
-if featureset not in archdict[arch]:
- print("Error: There is no '%s' featureset kernel config for arch '%s'. Exiting." % (featureset, arch))
- print(archdict[arch])
- sys.exit(2)
-
-# If a subarch is not specified (None), then we will auto-pick the subarch if only one is available.
-# Debian often has an "amd64" subarch for the "amd64" arch, rather than "none" as I might expect:
-
-if subarch == None:
- if len(archdict[arch][featureset]) == 1:
- subarch = archdict[arch][featureset][0]
- else:
- print("Error: there is more than one 'sub-architecture' for this arch.")
- print("Please specify [arch] [featureset] [subarch], with one of these subarches:")
- print(", ".join(archdict[arch][featureset]))
- sys.exit(2)
-else:
- if subarch not in archdict[arch][featureset]:
- print("Error: specified sub-architecture '%s' is not available for this arch. Exiting." % subarch)
- sys.exit(2)
-
-# We've done all our arg processing, now let's construct the master_key that we will use to look up the
-# proper settings to pass to Debian's debian/bin/kconfig.py command:
-
-master_key = arch
-if featureset == None:
- master_key += "_none"
-else:
- master_key += "_%s" % featureset
-if subarch == None:
- master_key += "_none"
-else:
- master_key += "_%s" % subarch
-if master_key not in configdict:
- print("Master key lookup failed; can't continue. Please report this bug.")
- sys.exit(1)
-if "KCONFIG" not in configdict[master_key]:
- print("Unable to find KCONFIG option; can't continue. Please report this bug.")
- sys.exit(1)
-cmd = "python3 debian/bin/kconfig.py '%s' %s" % (outfile, configdict[master_key]["KCONFIG"])
-if "KCONFIG_OPTIONS" in configdict[master_key]:
- cmd += " %s" % configdict[master_key]["KCONFIG_OPTIONS"]
-os.environ["PYTHONPATH"] = "debian/lib/python"
-retval = os.system(cmd)
-if retval == 0:
- print("Wrote %s kernel configuration to %s." % (master_key, outfile))
- sys.exit(0)
-else:
- print("There was an error extracting the Debian kernel config.")
- sys.exit(1)
diff --git a/sys-kernel/debian-sources/metadata.xml b/sys-kernel/debian-sources/metadata.xml
deleted file mode 100644
index e3353017025c..000000000000
--- a/sys-kernel/debian-sources/metadata.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
-
- <use>
- <flag name="binary">Builds and installs kernel including initrd into /boot</flag>
- <flag name="btrfs">Add support for btrfs filesystem in initrd</flag>
- <flag name="clang">Support building with clang</flag>
- <flag name="custom-flags">Support custom CFLAGS</flag>
- <flag name="debug">Enable debugging symbols</flag>
- <flag name="dmraid">Add support for dmraid detectionin initrd</flag>
- <flag name="dtrace">Enable support for dtrace</flag>
- <flag name="ec2">Options needed for kernel on EC2 instance</flag>
- <flag name="firmware">Add firmware into initram disk</flag>
- <flag name="hardenend">Include hardened patches for the kernel</flag>
- <flag name="iscsi">Add support for iSCSI inside initram disk</flag>
- <flag name="luks">Include support for LUKS rootfs in initrd</flag>
- <flag name="lvm">Include support for LVM in initrd</flag>
- <flag name="mcelog">Add support for legacy Machine Check Exceptions - mcelog tool</flag>
- <flag name="mdadm">Support for mdadm in initrd</flag>
- <flag name="microcode">Combine early microcode with ramdisk</flag>
- <flag name="multipath">Support for multipath target autoconfig in initrd</flag>
- <flag name="nbd">Support for kernel network block device in initrd</flag>
- <flag name="nfs">Add support for nfs in initrd</flag>
- <flag name="plymouth">Add graphical boot animation support for initrd</flag>
- <flag name="selinux">Add selinux support in initrd</flag>
- <flag name="sign-modules">Sign kernel modules</flag>
- <flag name="symlink">Set symlink to /usr/src/linux to current sources</flag>
- <flag name="systemd">Add support for systemd in initrd</flag>
- <flag name="wireguard">Add wireguard as module</flag>
- <flag name="zfs">Add support for zfs in initrd</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-kernel/dkms/Manifest b/sys-kernel/dkms/Manifest
deleted file mode 100644
index 5d749d3594bf..000000000000
--- a/sys-kernel/dkms/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST dkms-3.2.2.tar.gz 110268 BLAKE2B 1df0acdc809f48da55892e43014ed797cc4d14b8532844634983bc72c965ddc20aabe33690b941f0c347898ba08ba524384ea769135e1faf819b223569b6a0e9 SHA512 600566129d6fb781795e1017d8f829b5c1e5ff32d1f0549ecca3dd13abc391b57ae4d778f76e3659d8861032fdb564470c0a99825724e0d1af34bdeb619769ee
-DIST dkms-3.3.0.tar.gz 113379 BLAKE2B a874d2457c03726a52f6e212033b8ba86e6db6042b1ba5242eb61a98ecd9ce118a1023d4e291061f65e97fc1485f14a054b8d26a933cd8d4813c0e258726059f SHA512 08f4520f3c2618e40206d2dcf26a342d34d355162b2a6eafd566c6bb82f6ee0273f4be3af094dd0455af413cd6f67a96ad7e371f20ec801851ac58ecc37d02b0
-DIST dkms-3.4.0.tar.gz 150121 BLAKE2B 7d9a3c6d63e25c61351b677ddd3c966c7e640188ba0cb84eedf706231bde756d03166287e97af3699419ef66d93768501a35f80ac625ce93b95c87658d1aade0 SHA512 b5d0cb2205aaf7caa4231ce191c85618a43e165db964aa58365f195fe510581211765a0fbb223e21367fa69234bc9a540cbe53a78e3224ba28092af1bf038ba2
-DIST dkms-3.4.1.tar.gz 151583 BLAKE2B 1a77a679f2b40423cd10cf095aee9a92b63ea2aa0933525bd9aa1195b933f29f5e5a8b3f8143821663f2265246a25dabb66fb8b5a50bd4fea2dcfbcd03cae019 SHA512 85f0a7b7d81fd95fd98af974983061f39cb76d74684c2a1cf0c291987351703aaf8f9d715a3acdd84fa63507f198d5d3b306dc9708bf546dfe5619ca5638966f
diff --git a/sys-kernel/dkms/dkms-3.2.2.ebuild b/sys-kernel/dkms/dkms-3.2.2.ebuild
deleted file mode 100644
index a908c346bc79..000000000000
--- a/sys-kernel/dkms/dkms-3.2.2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info optfeature
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dell/dkms"
-else
- SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 arm64 ~riscv x86"
-fi
-
-DESCRIPTION="Dynamic Kernel Module Support"
-HOMEPAGE="https://github.com/dell/dkms"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="systemd"
-RESTRICT="test" # Should be run in a container
-
-RDEPEND="
- sys-apps/kmod
- virtual/linux-sources
- systemd? ( sys-apps/systemd )
-"
-
-CONFIG_CHECK="~MODULES"
-
-src_compile() {
- emake KCONF="/usr/lib/kernel"
-}
-
-src_test() {
- chmod +x dkms run_test.sh || die
- PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
-}
-
-src_install() {
- if use systemd; then
- emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- else
- emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- fi
-
- einstalldocs
- keepdir /var/lib/dkms
-}
-
-pkg_postinst() {
- optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
- sys-kernel/installkernel
-}
diff --git a/sys-kernel/dkms/dkms-3.3.0.ebuild b/sys-kernel/dkms/dkms-3.3.0.ebuild
deleted file mode 100644
index 8bd3e56cbae3..000000000000
--- a/sys-kernel/dkms/dkms-3.3.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info optfeature
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dell/dkms"
-else
- SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Dynamic Kernel Module Support"
-HOMEPAGE="https://github.com/dell/dkms"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="systemd"
-RESTRICT="test" # Should be run in a container
-
-RDEPEND="
- sys-apps/kmod
- virtual/linux-sources
- systemd? ( sys-apps/systemd )
-"
-
-CONFIG_CHECK="~MODULES"
-
-src_compile() {
- emake KCONF="/usr/lib/kernel"
-}
-
-src_test() {
- chmod +x dkms run_test.sh || die
- PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
-}
-
-src_install() {
- if use systemd; then
- emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- else
- emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- fi
-
- einstalldocs
- keepdir /var/lib/dkms
-}
-
-pkg_postinst() {
- optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
- sys-kernel/installkernel
-}
diff --git a/sys-kernel/dkms/dkms-3.4.0.ebuild b/sys-kernel/dkms/dkms-3.4.0.ebuild
deleted file mode 100644
index e5436878657b..000000000000
--- a/sys-kernel/dkms/dkms-3.4.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info optfeature
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dkms-project/dkms"
-else
- SRC_URI="https://github.com/dkms-project/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Dynamic Kernel Module Support"
-HOMEPAGE="https://github.com/dkms-project/dkms"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="systemd"
-RESTRICT="test" # Should be run in a container
-
-RDEPEND="
- sys-apps/kmod
- virtual/linux-sources
- systemd? ( sys-apps/systemd )
-"
-
-CONFIG_CHECK="~MODULES"
-
-src_compile() {
- emake KCONF="/usr/lib/kernel"
-}
-
-src_test() {
- chmod +x dkms run_test.sh || die
- PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
-}
-
-src_install() {
- if use systemd; then
- emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- else
- emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- fi
-
- einstalldocs
- keepdir /var/lib/dkms
-}
-
-pkg_postinst() {
- optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
- sys-kernel/installkernel
-}
diff --git a/sys-kernel/dkms/dkms-3.4.1.ebuild b/sys-kernel/dkms/dkms-3.4.1.ebuild
deleted file mode 100644
index e5436878657b..000000000000
--- a/sys-kernel/dkms/dkms-3.4.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info optfeature
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dkms-project/dkms"
-else
- SRC_URI="https://github.com/dkms-project/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Dynamic Kernel Module Support"
-HOMEPAGE="https://github.com/dkms-project/dkms"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="systemd"
-RESTRICT="test" # Should be run in a container
-
-RDEPEND="
- sys-apps/kmod
- virtual/linux-sources
- systemd? ( sys-apps/systemd )
-"
-
-CONFIG_CHECK="~MODULES"
-
-src_compile() {
- emake KCONF="/usr/lib/kernel"
-}
-
-src_test() {
- chmod +x dkms run_test.sh || die
- PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
-}
-
-src_install() {
- if use systemd; then
- emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- else
- emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- fi
-
- einstalldocs
- keepdir /var/lib/dkms
-}
-
-pkg_postinst() {
- optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
- sys-kernel/installkernel
-}
diff --git a/sys-kernel/dkms/dkms-9999.ebuild b/sys-kernel/dkms/dkms-9999.ebuild
deleted file mode 100644
index 3f2d28c841d9..000000000000
--- a/sys-kernel/dkms/dkms-9999.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info optfeature
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dkms-project/dkms"
-else
- SRC_URI="https://github.com/dell/dkms-project/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Dynamic Kernel Module Support"
-HOMEPAGE="https://github.com/dkms-project/dkms"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="systemd"
-RESTRICT="test" # Should be run in a container
-
-RDEPEND="
- sys-apps/kmod
- virtual/linux-sources
- systemd? ( sys-apps/systemd )
-"
-
-CONFIG_CHECK="~MODULES"
-
-src_compile() {
- emake KCONF="/usr/lib/kernel"
-}
-
-src_test() {
- chmod +x dkms run_test.sh || die
- PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
-}
-
-src_install() {
- if use systemd; then
- emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- else
- emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
- fi
-
- einstalldocs
- keepdir /var/lib/dkms
-}
-
-pkg_postinst() {
- optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
- sys-kernel/installkernel
-}
diff --git a/sys-kernel/dkms/metadata.xml b/sys-kernel/dkms/metadata.xml
deleted file mode 100644
index f1dc24a71bc6..000000000000
--- a/sys-kernel/dkms/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <longdescription lang="en">
- Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
- An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.
- Another benefit of DKMS is that it allows the installation of a new driver on an existing system, running an arbitrary kernel version, without any need for manual compilation or precompiled packages provided by the vendor.
- DKMS was written by the Linux Engineering Team at Dell in 2003. It is included in many distributions, such as Ubuntu, Debian, Fedora, SUSE, and Arch. DKMS is free software released under the terms of the GNU General Public License (GPL) v2 or later.
- DKMS supports both the rpm and deb package formats out-of-the-box.
- </longdescription>
- <upstream>
- <remote-id type="github">dkms-project/dkms</remote-id>
- </upstream>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/sys-kernel/dracut-crypt-ssh/Manifest b/sys-kernel/dracut-crypt-ssh/Manifest
deleted file mode 100644
index 10ec61e3e732..000000000000
--- a/sys-kernel/dracut-crypt-ssh/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dracut-crypt-ssh-1.0.8.tar.gz 20931 BLAKE2B 2700bd7781c617b3bd44665971e9fd16727c31b0be76dfa7c121a2e77c250d830907a27e6ea43f6fc9684df0ee54a75093c62d449e5c04a16eb78d2fc572f238 SHA512 37f1f1a0029587ce19f56f5c108a6353230ccbc299b82d260c64dd73984db05ac1bf00ab59125905de95c69dfbf5e8923393f150594c1bdaeb0f70d1bff5c072
diff --git a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r2.ebuild b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r2.ebuild
deleted file mode 100644
index d152d3f9ae3b..000000000000
--- a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Early unlocking of encrypted systems via ssh for dracut"
-HOMEPAGE="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh"
-SRC_URI="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-DEPEND="sys-kernel/dracut"
-RDEPEND="${DEPEND}
- || (
- net-misc/connman
- net-misc/dhcp[client]
- net-misc/networkmanager
- sys-apps/systemd
- )
- net-misc/dropbear"
-
-src_prepare() {
- default
-
- # Fix libdir (hard-coded to "lib64")
- sed "s@/lib64/@/$(get_libdir)/@" \
- -i modules/60crypt-ssh/module-setup.sh \
- || die
-}
-
-src_configure() {
- tc-export CC
- default
-}
diff --git a/sys-kernel/dracut-crypt-ssh/metadata.xml b/sys-kernel/dracut-crypt-ssh/metadata.xml
deleted file mode 100644
index f8b2ddc657ea..000000000000
--- a/sys-kernel/dracut-crypt-ssh/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>jsmolic@gentoo.org</email>
- <name>Jakov Smolić</name>
- </maintainer>
- <longdescription lang="en">
- crypt-ssh is a dracut module which allows remote unlocking of block devices encrypted with LUKS via ssh, during the initramfs stage of the boot.
- </longdescription>
- <upstream>
- <remote-id type="github">dracut-crypt-ssh/dracut-crypt-ssh</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest
deleted file mode 100644
index 92b9ff9b5230..000000000000
--- a/sys-kernel/dracut/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST dracut-108-r1.tar.gz 552754 BLAKE2B 1bfa7beaba0f631c279442c8ab670556ce3df20213d81d6060d608e44285f9f5d07541f9855ff82b4e057b55b65396b61778049af8b27d1036db00c7cc8b658b SHA512 2fa6edf8d018b3205c19e34e560de74b2319d59522f1c3891c44a895a8da43344ac5c020078abb821147e607ff4b45d5add417592055f9d166934f2d4de267ea
-DIST dracut-110-r1.tar.gz 573549 BLAKE2B d7b92773d732b8cee60e2625caac2f69b47438a7f8b30b889165253cfcf94b2364be3b10bb2b9b477e957a6d284cf195581905df0ad4365ebe03483ff2a61d1f SHA512 8e2ed2d3b35e3e82d1ffa809e1cf87cb8108402a66dad25000b0fd21f24dcda2eb5fd944b55edf108a4e37793d0d98814413382e554e808cd2e1a2a5bb8a420e
-DIST dracut-111.tar.gz 586307 BLAKE2B 1def3957013c1508cf70018b4b5aeae333b459e50a7fc2945cd0c7a99f1c6942c8280888239273b62cdcfa3471a980d74b3769b5e3d0536be4f1729d102074f0 SHA512 4c8a3e1e82bfc1dbe155241564bc93bedc2b321566002ccc643697b50173b8e564d03b1bbff4f49602e0cb7abbee21dfb14aadc453ac9703a846c160d070b4bc
diff --git a/sys-kernel/dracut/dracut-108-r6.ebuild b/sys-kernel/dracut/dracut-108-r6.ebuild
deleted file mode 100644
index e8af6875fed3..000000000000
--- a/sys-kernel/dracut/dracut-108-r6.ebuild
+++ /dev/null
@@ -1,255 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-CARGO_OPTIONAL=1
-
-inherit cargo flag-o-matic bash-completion-r1 edo optfeature systemd toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dracut-ng/dracut"
-else
- if [[ "${PV}" != *_rc* ]]; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86"
- fi
- SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}-r1.tar.gz"
-fi
-
-DESCRIPTION="Generic initramfs generation tool"
-HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="dracut-cpio selinux systemd test"
-RESTRICT="test"
-PROPERTIES="test? ( test_privileged test_network )"
-
-COMMON_DEPEND="
- >=sys-apps/kmod-23
- systemd? ( >=sys-apps/systemd-257:= )
-"
-RDEPEND="${COMMON_DEPEND}
- app-alternatives/cpio
- >=app-shells/bash-4.0:0
- sys-apps/coreutils[xattr(-)]
- >=sys-apps/kmod-23[tools]
- || (
- >=sys-apps/sysvinit-2.87-r3
- sys-apps/openrc[sysv-utils(-),selinux?]
- sys-apps/systemd[sysv-utils(+)]
- sys-apps/s6-linux-init[sysv-utils(-)]
- )
- >=sys-apps/util-linux-2.21
- virtual/pkgconfig[native-symlinks(+)]
- virtual/udev
-
- elibc_musl? ( sys-libs/fts-standalone )
- selinux? (
- sec-policy/selinux-dracut
- sys-libs/libselinux
- sys-libs/libsepol
- )
-"
-DEPEND="${COMMON_DEPEND}
- elibc_musl? ( sys-libs/fts-standalone )
-"
-
-BDEPEND="
- || (
- dev-ruby/asciidoctor
- app-text/asciidoc
- )
- app-text/docbook-xml-dtd:4.5
- >=app-text/docbook-xsl-stylesheets-1.75.2
- >=dev-libs/libxslt-1.1.26
- virtual/pkgconfig
- dracut-cpio? ( ${RUST_DEPEND} )
- test? (
- net-nds/rpcbind
- net-fs/nfs-utils
- sys-block/open-iscsi
- sys-fs/btrfs-progs
- sys-fs/dmraid
- sys-fs/lvm2[lvm,thin]
- sys-fs/mdadm
- sys-fs/multipath-tools
- alpha? ( app-emulation/qemu[qemu_softmmu_targets_alpha] )
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm? ( app-emulation/qemu[qemu_softmmu_targets_arm] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- hppa? ( app-emulation/qemu[qemu_softmmu_targets_hppa] )
- loong? ( app-emulation/qemu[qemu_softmmu_targets_loongarch64] )
- mips? ( || (
- app-emulation/qemu[qemu_softmmu_targets_mips]
- app-emulation/qemu[qemu_softmmu_targets_mips64]
- app-emulation/qemu[qemu_softmmu_targets_mips64el]
- ) )
- ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] )
- ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] )
- riscv? ( || (
- app-emulation/qemu[qemu_softmmu_targets_riscv32]
- app-emulation/qemu[qemu_softmmu_targets_riscv64]
- ) )
- sparc? ( || (
- app-emulation/qemu[qemu_softmmu_targets_sparc]
- app-emulation/qemu[qemu_softmmu_targets_sparc64]
- ) )
- x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] )
- )
-"
-
-QA_MULTILIB_PATHS="usr/lib/dracut/.*"
-
-PATCHES=(
- "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
- # Gentoo specific acct-user and acct-group conf adjustments
- "${FILESDIR}"/${PN}-108-acct-user-group-gentoo.patch
- # https://github.com/dracut-ng/dracut-ng/pull/1447
- "${FILESDIR}"/${PN}-108-respect-objcopy-and-objdump.patch
- # https://github.com/dracut-ng/dracut-ng/pull/1538
- "${FILESDIR}"/${PN}-108-elf-parsing-fixes.patch
- # https://github.com/dracut-ng/dracut-ng/pull/1122#issuecomment-3192110686
- "${FILESDIR}"/${PN}-108-disable-ukify-magic.patch
- # https://github.com/dracut-ng/dracut-ng/pull/1562
- "${FILESDIR}"/${PN}-108-hostonly_cmdline-default-yes.patch
-)
-
-pkg_setup() {
- use dracut-cpio && rust_pkg_setup
-}
-
-src_configure() {
- local myconf=(
- --prefix="${EPREFIX}/usr"
- --sysconfdir="${EPREFIX}/etc"
- --bashcompletiondir="$(get_bashcompdir)"
- --systemdsystemunitdir="$(systemd_get_systemunitdir)"
- --disable-dracut-cpio
- )
-
- if ! has_version -b dev-ruby/asciidoctor; then
- myconf+=( --disable-asciidoctor )
- fi
-
- # this emulates what the build system would be doing without us
- append-cflags -D_FILE_OFFSET_BITS=64
-
- tc-export CC PKG_CONFIG
-
- # https://bugs.gentoo.org/968765
- use systemd || export SYSTEMD_CFLAGS= SYSTEMD_LIBS=
-
- edo ./configure "${myconf[@]}"
- if use dracut-cpio; then
- cargo_gen_config
- cargo_src_configure
- fi
-}
-
-src_compile() {
- default
- if use dracut-cpio; then
- pushd src/dracut-cpio >/dev/null || die
- cargo_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- addwrite /dev/kvm
- # Translate ARCH so run-qemu can find the correct qemu-system-ARCH
- local qemu_arch
- if use amd64; then
- qemu_arch=x86_64
- elif use arm64; then
- qemu_arch=aarch64
- elif use loong; then
- qemu_arch=loongarch64
- elif use x86; then
- qemu_arch=i386
- else
- qemu_arch=$(tc-arch)
- fi
- ARCH=${qemu_arch} emake -C test check
-}
-
-src_install() {
- local DOCS=(
- AUTHORS
- NEWS.md
- README.md
- )
- default
- if use dracut-cpio; then
- exeinto /usr/lib/dracut
- doexe "src/dracut-cpio/$(cargo_target_dir)/dracut-cpio"
- fi
-
- # Use our own from sys-kernel/installkernel[dracut]
- rm -r "${ED}/usr/lib/kernel" || die
-}
-
-pkg_preinst() {
- # Remove directory/symlink conflicts
- # https://bugs.gentoo.org/943007
- local save_nullglob=$(shopt -p nullglob)
- shopt -s nullglob
- local module
- for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do
- if [[ ! -L ${module} && -d ${module} ]]; then
- rm -rv "${module}" || die
- fi
- local backups=( "${module}".backup.* )
- if [[ ${#backups[@]} -gt 0 ]]; then
- rm -v "${backups[@]}" || die
- fi
- done
- eval "${save_nullglob}"
-}
-
-pkg_postinst() {
- optfeature "Networking support" net-misc/networkmanager
- optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
- sys-apps/iproute2 "net-misc/iputils[arping]"
- optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs
- optfeature "Load kernel modules and drop this privilege for real init" \
- sys-libs/libcap
- optfeature "Support CIFS" net-fs/cifs-utils
- optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \
- "sys-fs/cryptsetup[-static-libs]"
- optfeature "Support for GPG-encrypted keys for crypt module" \
- "app-alternatives/gpg[reference]" "app-alternatives/gpg[freepg(-)]"
- optfeature \
- "Allows use of dash instead of default bash (on your own risk)" \
- app-shells/dash
- optfeature \
- "Allows use of busybox instead of default bash (on your own risk)" \
- sys-apps/busybox
- optfeature "Support iSCSI" sys-block/open-iscsi
- optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
- optfeature "Support MD devices, also known as software RAID devices" \
- sys-fs/mdadm sys-fs/dmraid
- optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
- optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5'
- optfeature "Support network block devices" sys-block/nbd
- optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind
- optfeature \
- "Install ssh and scp along with config files and specified keys" \
- virtual/openssh
- optfeature "Enable logging with rsyslog" app-admin/rsyslog
- optfeature "Support Squashfs" sys-fs/squashfs-tools
- optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
- optfeature "Support Bluetooth (experimental)" net-wireless/bluez
- optfeature "Support BIOS-given device names" sys-apps/biosdevname
- optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq
- optfeature \
- "Enable rngd service to help generating entropy early during boot" \
- sys-apps/rng-tools
- optfeature "building Unified Kernel Images with dracut (--uefi)" \
- "sys-apps/systemd[boot]" "sys-apps/systemd-utils[boot]"
- optfeature "automatically generating an initramfs on each kernel installation" \
- "sys-kernel/installkernel[dracut]"
- optfeature "automatically generating an UKI on each kernel installation" \
- "sys-kernel/installkernel[dracut,uki]"
-}
diff --git a/sys-kernel/dracut/dracut-110-r5.ebuild b/sys-kernel/dracut/dracut-110-r5.ebuild
deleted file mode 100644
index f4a711724fea..000000000000
--- a/sys-kernel/dracut/dracut-110-r5.ebuild
+++ /dev/null
@@ -1,250 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-CARGO_OPTIONAL=1
-
-inherit cargo flag-o-matic bash-completion-r1 edo optfeature systemd toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dracut/dracut-ng"
-else
- if [[ "${PV}" != *_rc* ]]; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
- fi
- SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}-r1.tar.gz"
-fi
-
-DESCRIPTION="Generic initramfs generation tool"
-HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="dracut-cpio selinux systemd test"
-RESTRICT="test"
-PROPERTIES="test? ( test_privileged test_network )"
-
-COMMON_DEPEND="
- >=sys-apps/kmod-23
- systemd? ( >=sys-apps/systemd-257:= )
-"
-RDEPEND="${COMMON_DEPEND}
- app-alternatives/cpio
- >=app-shells/bash-4.0:0
- sys-apps/coreutils[xattr(-)]
- >=sys-apps/kmod-23[tools]
- || (
- >=sys-apps/sysvinit-2.87-r3
- sys-apps/openrc[sysv-utils(-),selinux?]
- sys-apps/systemd[sysv-utils(+)]
- sys-apps/s6-linux-init[sysv-utils(-)]
- )
- >=sys-apps/util-linux-2.21
- virtual/pkgconfig[native-symlinks(+)]
- virtual/udev
-
- elibc_musl? ( sys-libs/fts-standalone )
- selinux? (
- sec-policy/selinux-dracut
- sys-libs/libselinux
- sys-libs/libsepol
- )
-"
-DEPEND="${COMMON_DEPEND}
- elibc_musl? ( sys-libs/fts-standalone )
-"
-
-BDEPEND="
- || (
- app-text/asciidoc
- dev-ruby/asciidoctor
- )
- app-text/docbook-xml-dtd:4.5
- >=app-text/docbook-xsl-stylesheets-1.75.2
- >=dev-libs/libxslt-1.1.26
- virtual/pkgconfig
- dracut-cpio? ( ${RUST_DEPEND} )
- test? (
- net-nds/rpcbind
- net-fs/nfs-utils
- sys-block/open-iscsi
- sys-fs/btrfs-progs
- sys-fs/dmraid
- sys-fs/lvm2[lvm,thin]
- sys-fs/mdadm
- sys-fs/multipath-tools
- alpha? ( app-emulation/qemu[qemu_softmmu_targets_alpha] )
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm? ( app-emulation/qemu[qemu_softmmu_targets_arm] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- hppa? ( app-emulation/qemu[qemu_softmmu_targets_hppa] )
- loong? ( app-emulation/qemu[qemu_softmmu_targets_loongarch64] )
- mips? ( || (
- app-emulation/qemu[qemu_softmmu_targets_mips]
- app-emulation/qemu[qemu_softmmu_targets_mips64]
- app-emulation/qemu[qemu_softmmu_targets_mips64el]
- ) )
- ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] )
- ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] )
- riscv? ( || (
- app-emulation/qemu[qemu_softmmu_targets_riscv32]
- app-emulation/qemu[qemu_softmmu_targets_riscv64]
- ) )
- sparc? ( || (
- app-emulation/qemu[qemu_softmmu_targets_sparc]
- app-emulation/qemu[qemu_softmmu_targets_sparc64]
- ) )
- x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] )
- )
-"
-
-QA_MULTILIB_PATHS="usr/lib/dracut/.*"
-
-PATCHES=(
- "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
- # Gentoo specific acct-user and acct-group conf adjustments
- "${FILESDIR}"/${PN}-110-acct-user-group-gentoo.patch
- "${FILESDIR}"/${PN}-110-set-defaults.patch
- "${FILESDIR}"/${P}-dash-printf.patch
-)
-
-pkg_setup() {
- use dracut-cpio && rust_pkg_setup
-}
-
-src_configure() {
- local myconf=(
- --bashcompletiondir="$(get_bashcompdir)"
- --disable-dracut-cpio
- --enable-network-legacy
- --prefix="${EPREFIX}/usr"
- --sysconfdir="${EPREFIX}/etc"
- --systemdsystemunitdir="$(systemd_get_systemunitdir)"
- )
-
- if ! has_version -b dev-ruby/asciidoctor; then
- myconf+=( --disable-asciidoctor )
- fi
-
- # this emulates what the build system would be doing without us
- append-cflags -D_FILE_OFFSET_BITS=64
-
- tc-export CC PKG_CONFIG
-
- # https://bugs.gentoo.org/968765
- use systemd || export SYSTEMD_CFLAGS= SYSTEMD_LIBS=
-
- edo ./configure "${myconf[@]}"
- if use dracut-cpio; then
- cargo_gen_config
- cargo_src_configure
- fi
-}
-
-src_compile() {
- default
- if use dracut-cpio; then
- pushd src/dracut-cpio >/dev/null || die
- cargo_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- addwrite /dev/kvm
- # Translate ARCH so run-qemu can find the correct qemu-system-ARCH
- local qemu_arch
- if use amd64; then
- qemu_arch=x86_64
- elif use arm64; then
- qemu_arch=aarch64
- elif use loong; then
- qemu_arch=loongarch64
- elif use x86; then
- qemu_arch=i386
- else
- qemu_arch=$(tc-arch)
- fi
- ARCH=${qemu_arch} emake -C test check
-}
-
-src_install() {
- local DOCS=(
- AUTHORS
- NEWS.md
- README.md
- )
- default
- if use dracut-cpio; then
- exeinto /usr/lib/dracut
- doexe "src/dracut-cpio/$(cargo_target_dir)/dracut-cpio"
- fi
-
- # Use our own from sys-kernel/installkernel[dracut]
- rm -r "${ED}/usr/lib/kernel" || die
-}
-
-pkg_preinst() {
- # Remove directory/symlink conflicts
- # https://bugs.gentoo.org/943007
- local save_nullglob=$(shopt -p nullglob)
- shopt -s nullglob
- local module
- for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do
- if [[ ! -L ${module} && -d ${module} ]]; then
- rm -rv "${module}" || die
- fi
- local backups=( "${module}".backup.* )
- if [[ ${#backups[@]} -gt 0 ]]; then
- rm -v "${backups[@]}" || die
- fi
- done
- eval "${save_nullglob}"
-}
-
-pkg_postinst() {
- optfeature "Networking support" net-misc/networkmanager
- optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
- sys-apps/iproute2 "net-misc/iputils[arping]"
- optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs
- optfeature "Load kernel modules and drop this privilege for real init" \
- sys-libs/libcap
- optfeature "Support CIFS" net-fs/cifs-utils
- optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \
- "sys-fs/cryptsetup[-static-libs]"
- optfeature "Support for GPG-encrypted keys for crypt module" \
- "app-alternatives/gpg[reference]" "app-alternatives/gpg[freepg(-)]"
- optfeature \
- "Allows use of dash instead of default bash (on your own risk)" \
- app-shells/dash
- optfeature \
- "Allows use of busybox instead of default bash (on your own risk)" \
- sys-apps/busybox
- optfeature "Support iSCSI" sys-block/open-iscsi
- optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
- optfeature "Support MD devices, also known as software RAID devices" \
- sys-fs/mdadm sys-fs/dmraid
- optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
- optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5'
- optfeature "Support network block devices" sys-block/nbd
- optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind
- optfeature \
- "Install ssh and scp along with config files and specified keys" \
- virtual/openssh
- optfeature "Enable logging with rsyslog" app-admin/rsyslog
- optfeature "Support Squashfs" sys-fs/squashfs-tools
- optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
- optfeature "Support Bluetooth (experimental)" net-wireless/bluez
- optfeature "Support BIOS-given device names" sys-apps/biosdevname
- optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq
- optfeature \
- "Enable rngd service to help generating entropy early during boot" \
- sys-apps/rng-tools
- optfeature "building Unified Kernel Images with dracut (--uefi)" \
- "sys-apps/systemd[boot]" "sys-apps/systemd-utils[boot]"
- optfeature "automatically generating an initramfs on each kernel installation" \
- "sys-kernel/installkernel[dracut]"
- optfeature "automatically generating an UKI on each kernel installation" \
- "sys-kernel/installkernel[dracut,uki]"
-}
diff --git a/sys-kernel/dracut/dracut-111.ebuild b/sys-kernel/dracut/dracut-111.ebuild
deleted file mode 100644
index a5c18279a981..000000000000
--- a/sys-kernel/dracut/dracut-111.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-CARGO_OPTIONAL=1
-
-inherit cargo flag-o-matic bash-completion-r1 edo optfeature systemd toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dracut-ng/dracut"
-else
- if [[ "${PV}" != *_rc* ]]; then
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
- SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-DESCRIPTION="Generic initramfs generation tool"
-HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="dracut-cpio selinux systemd test"
-RESTRICT="test"
-PROPERTIES="test? ( test_privileged test_network )"
-
-COMMON_DEPEND="
- >=sys-apps/kmod-23
- systemd? ( >=sys-apps/systemd-257:= )
-"
-RDEPEND="${COMMON_DEPEND}
- app-alternatives/cpio
- >=app-shells/bash-4.0:0
- sys-apps/coreutils[xattr(-)]
- >=sys-apps/kmod-23[tools]
- || (
- >=sys-apps/sysvinit-2.87-r3
- sys-apps/openrc[sysv-utils(-),selinux?]
- sys-apps/systemd[sysv-utils(+)]
- sys-apps/s6-linux-init[sysv-utils(-)]
- )
- >=sys-apps/util-linux-2.21
- virtual/pkgconfig[native-symlinks(+)]
- virtual/udev
-
- elibc_musl? ( sys-libs/fts-standalone )
- selinux? (
- sec-policy/selinux-dracut
- sys-libs/libselinux
- sys-libs/libsepol
- )
-"
-DEPEND="${COMMON_DEPEND}
- elibc_musl? ( sys-libs/fts-standalone )
-"
-
-BDEPEND="
- || (
- app-text/asciidoc
- dev-ruby/asciidoctor
- )
- app-text/docbook-xml-dtd:4.5
- >=app-text/docbook-xsl-stylesheets-1.75.2
- >=dev-libs/libxslt-1.1.26
- virtual/pkgconfig
- dracut-cpio? ( ${RUST_DEPEND} )
- test? (
- net-nds/rpcbind
- net-fs/nfs-utils
- sys-block/open-iscsi
- sys-fs/btrfs-progs
- sys-fs/dmraid
- sys-fs/lvm2[lvm,thin]
- sys-fs/mdadm
- sys-fs/multipath-tools
- alpha? ( app-emulation/qemu[qemu_softmmu_targets_alpha] )
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm? ( app-emulation/qemu[qemu_softmmu_targets_arm] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- hppa? ( app-emulation/qemu[qemu_softmmu_targets_hppa] )
- loong? ( app-emulation/qemu[qemu_softmmu_targets_loongarch64] )
- mips? ( || (
- app-emulation/qemu[qemu_softmmu_targets_mips]
- app-emulation/qemu[qemu_softmmu_targets_mips64]
- app-emulation/qemu[qemu_softmmu_targets_mips64el]
- ) )
- ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] )
- ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] )
- riscv? ( || (
- app-emulation/qemu[qemu_softmmu_targets_riscv32]
- app-emulation/qemu[qemu_softmmu_targets_riscv64]
- ) )
- sparc? ( || (
- app-emulation/qemu[qemu_softmmu_targets_sparc]
- app-emulation/qemu[qemu_softmmu_targets_sparc64]
- ) )
- x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] )
- )
-"
-
-QA_MULTILIB_PATHS="usr/lib/dracut/.*"
-
-PATCHES=(
- "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
-)
-
-pkg_setup() {
- use dracut-cpio && rust_pkg_setup
-}
-
-src_configure() {
- local myconf=(
- --bashcompletiondir="$(get_bashcompdir)"
- --disable-dracut-cpio
- --enable-network-legacy
- --prefix="${EPREFIX}/usr"
- --sysconfdir="${EPREFIX}/etc"
- --systemdsystemunitdir="$(systemd_get_systemunitdir)"
- )
-
- if ! has_version -b dev-ruby/asciidoctor; then
- myconf+=( --disable-asciidoctor )
- fi
-
- # this emulates what the build system would be doing without us
- append-cflags -D_FILE_OFFSET_BITS=64
-
- tc-export CC PKG_CONFIG
-
- # https://bugs.gentoo.org/968765
- use systemd || export SYSTEMD_CFLAGS= SYSTEMD_LIBS=
-
- edo ./configure "${myconf[@]}"
- if use dracut-cpio; then
- cargo_gen_config
- cargo_src_configure
- fi
-}
-
-src_compile() {
- default
- if use dracut-cpio; then
- pushd src/dracut-cpio >/dev/null || die
- cargo_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- addwrite /dev/kvm
- # Translate ARCH so run-qemu can find the correct qemu-system-ARCH
- local qemu_arch
- if use amd64; then
- qemu_arch=x86_64
- elif use arm64; then
- qemu_arch=aarch64
- elif use loong; then
- qemu_arch=loongarch64
- elif use x86; then
- qemu_arch=i386
- else
- qemu_arch=$(tc-arch)
- fi
- ARCH=${qemu_arch} emake -C test check
-}
-
-src_install() {
- local DOCS=(
- AUTHORS
- NEWS.md
- README.md
- )
- default
- if use dracut-cpio; then
- exeinto /usr/lib/dracut
- doexe "src/dracut-cpio/$(cargo_target_dir)/dracut-cpio"
- fi
-
- # Use our own from sys-kernel/installkernel[dracut]
- rm -r "${ED}/usr/lib/kernel" || die
-}
-
-pkg_preinst() {
- # Remove directory/symlink conflicts
- # https://bugs.gentoo.org/943007
- local save_nullglob=$(shopt -p nullglob)
- shopt -s nullglob
- local module
- for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do
- if [[ ! -L ${module} && -d ${module} ]]; then
- rm -rv "${module}" || die
- fi
- local backups=( "${module}".backup.* )
- if [[ ${#backups[@]} -gt 0 ]]; then
- rm -v "${backups[@]}" || die
- fi
- done
- eval "${save_nullglob}"
-}
-
-pkg_postinst() {
- optfeature "Networking support" net-misc/networkmanager
- optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
- sys-apps/iproute2 "net-misc/iputils[arping]"
- optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs
- optfeature "Load kernel modules and drop this privilege for real init" \
- sys-libs/libcap
- optfeature "Support CIFS" net-fs/cifs-utils
- optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \
- "sys-fs/cryptsetup[-static-libs]"
- optfeature "Support for GPG-encrypted keys for crypt module" \
- "app-alternatives/gpg[reference]" "app-alternatives/gpg[freepg(-)]"
- optfeature \
- "Allows use of dash instead of default bash (on your own risk)" \
- app-shells/dash
- optfeature \
- "Allows use of busybox instead of default bash (on your own risk)" \
- sys-apps/busybox
- optfeature "Support iSCSI" sys-block/open-iscsi
- optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
- optfeature "Support MD devices, also known as software RAID devices" \
- sys-fs/mdadm sys-fs/dmraid
- optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
- optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5'
- optfeature "Support network block devices" sys-block/nbd
- optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind
- optfeature \
- "Install ssh and scp along with config files and specified keys" \
- virtual/openssh
- optfeature "Enable logging with rsyslog" app-admin/rsyslog
- optfeature "Support Squashfs" sys-fs/squashfs-tools
- optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
- optfeature "Support Bluetooth (experimental)" net-wireless/bluez
- optfeature "Support BIOS-given device names" sys-apps/biosdevname
- optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq
- optfeature \
- "Enable rngd service to help generating entropy early during boot" \
- sys-apps/rng-tools
- optfeature "building Unified Kernel Images with dracut (--uefi)" \
- "sys-apps/systemd[boot]" "sys-apps/systemd-utils[boot]"
- optfeature "automatically generating an initramfs on each kernel installation" \
- "sys-kernel/installkernel[dracut]"
- optfeature "automatically generating an UKI on each kernel installation" \
- "sys-kernel/installkernel[dracut,uki]"
-}
diff --git a/sys-kernel/dracut/dracut-9999.ebuild b/sys-kernel/dracut/dracut-9999.ebuild
deleted file mode 100644
index a5c18279a981..000000000000
--- a/sys-kernel/dracut/dracut-9999.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-CARGO_OPTIONAL=1
-
-inherit cargo flag-o-matic bash-completion-r1 edo optfeature systemd toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dracut-ng/dracut"
-else
- if [[ "${PV}" != *_rc* ]]; then
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
- SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-DESCRIPTION="Generic initramfs generation tool"
-HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="dracut-cpio selinux systemd test"
-RESTRICT="test"
-PROPERTIES="test? ( test_privileged test_network )"
-
-COMMON_DEPEND="
- >=sys-apps/kmod-23
- systemd? ( >=sys-apps/systemd-257:= )
-"
-RDEPEND="${COMMON_DEPEND}
- app-alternatives/cpio
- >=app-shells/bash-4.0:0
- sys-apps/coreutils[xattr(-)]
- >=sys-apps/kmod-23[tools]
- || (
- >=sys-apps/sysvinit-2.87-r3
- sys-apps/openrc[sysv-utils(-),selinux?]
- sys-apps/systemd[sysv-utils(+)]
- sys-apps/s6-linux-init[sysv-utils(-)]
- )
- >=sys-apps/util-linux-2.21
- virtual/pkgconfig[native-symlinks(+)]
- virtual/udev
-
- elibc_musl? ( sys-libs/fts-standalone )
- selinux? (
- sec-policy/selinux-dracut
- sys-libs/libselinux
- sys-libs/libsepol
- )
-"
-DEPEND="${COMMON_DEPEND}
- elibc_musl? ( sys-libs/fts-standalone )
-"
-
-BDEPEND="
- || (
- app-text/asciidoc
- dev-ruby/asciidoctor
- )
- app-text/docbook-xml-dtd:4.5
- >=app-text/docbook-xsl-stylesheets-1.75.2
- >=dev-libs/libxslt-1.1.26
- virtual/pkgconfig
- dracut-cpio? ( ${RUST_DEPEND} )
- test? (
- net-nds/rpcbind
- net-fs/nfs-utils
- sys-block/open-iscsi
- sys-fs/btrfs-progs
- sys-fs/dmraid
- sys-fs/lvm2[lvm,thin]
- sys-fs/mdadm
- sys-fs/multipath-tools
- alpha? ( app-emulation/qemu[qemu_softmmu_targets_alpha] )
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm? ( app-emulation/qemu[qemu_softmmu_targets_arm] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- hppa? ( app-emulation/qemu[qemu_softmmu_targets_hppa] )
- loong? ( app-emulation/qemu[qemu_softmmu_targets_loongarch64] )
- mips? ( || (
- app-emulation/qemu[qemu_softmmu_targets_mips]
- app-emulation/qemu[qemu_softmmu_targets_mips64]
- app-emulation/qemu[qemu_softmmu_targets_mips64el]
- ) )
- ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] )
- ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] )
- riscv? ( || (
- app-emulation/qemu[qemu_softmmu_targets_riscv32]
- app-emulation/qemu[qemu_softmmu_targets_riscv64]
- ) )
- sparc? ( || (
- app-emulation/qemu[qemu_softmmu_targets_sparc]
- app-emulation/qemu[qemu_softmmu_targets_sparc64]
- ) )
- x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] )
- )
-"
-
-QA_MULTILIB_PATHS="usr/lib/dracut/.*"
-
-PATCHES=(
- "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
-)
-
-pkg_setup() {
- use dracut-cpio && rust_pkg_setup
-}
-
-src_configure() {
- local myconf=(
- --bashcompletiondir="$(get_bashcompdir)"
- --disable-dracut-cpio
- --enable-network-legacy
- --prefix="${EPREFIX}/usr"
- --sysconfdir="${EPREFIX}/etc"
- --systemdsystemunitdir="$(systemd_get_systemunitdir)"
- )
-
- if ! has_version -b dev-ruby/asciidoctor; then
- myconf+=( --disable-asciidoctor )
- fi
-
- # this emulates what the build system would be doing without us
- append-cflags -D_FILE_OFFSET_BITS=64
-
- tc-export CC PKG_CONFIG
-
- # https://bugs.gentoo.org/968765
- use systemd || export SYSTEMD_CFLAGS= SYSTEMD_LIBS=
-
- edo ./configure "${myconf[@]}"
- if use dracut-cpio; then
- cargo_gen_config
- cargo_src_configure
- fi
-}
-
-src_compile() {
- default
- if use dracut-cpio; then
- pushd src/dracut-cpio >/dev/null || die
- cargo_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- addwrite /dev/kvm
- # Translate ARCH so run-qemu can find the correct qemu-system-ARCH
- local qemu_arch
- if use amd64; then
- qemu_arch=x86_64
- elif use arm64; then
- qemu_arch=aarch64
- elif use loong; then
- qemu_arch=loongarch64
- elif use x86; then
- qemu_arch=i386
- else
- qemu_arch=$(tc-arch)
- fi
- ARCH=${qemu_arch} emake -C test check
-}
-
-src_install() {
- local DOCS=(
- AUTHORS
- NEWS.md
- README.md
- )
- default
- if use dracut-cpio; then
- exeinto /usr/lib/dracut
- doexe "src/dracut-cpio/$(cargo_target_dir)/dracut-cpio"
- fi
-
- # Use our own from sys-kernel/installkernel[dracut]
- rm -r "${ED}/usr/lib/kernel" || die
-}
-
-pkg_preinst() {
- # Remove directory/symlink conflicts
- # https://bugs.gentoo.org/943007
- local save_nullglob=$(shopt -p nullglob)
- shopt -s nullglob
- local module
- for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do
- if [[ ! -L ${module} && -d ${module} ]]; then
- rm -rv "${module}" || die
- fi
- local backups=( "${module}".backup.* )
- if [[ ${#backups[@]} -gt 0 ]]; then
- rm -v "${backups[@]}" || die
- fi
- done
- eval "${save_nullglob}"
-}
-
-pkg_postinst() {
- optfeature "Networking support" net-misc/networkmanager
- optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
- sys-apps/iproute2 "net-misc/iputils[arping]"
- optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs
- optfeature "Load kernel modules and drop this privilege for real init" \
- sys-libs/libcap
- optfeature "Support CIFS" net-fs/cifs-utils
- optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \
- "sys-fs/cryptsetup[-static-libs]"
- optfeature "Support for GPG-encrypted keys for crypt module" \
- "app-alternatives/gpg[reference]" "app-alternatives/gpg[freepg(-)]"
- optfeature \
- "Allows use of dash instead of default bash (on your own risk)" \
- app-shells/dash
- optfeature \
- "Allows use of busybox instead of default bash (on your own risk)" \
- sys-apps/busybox
- optfeature "Support iSCSI" sys-block/open-iscsi
- optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
- optfeature "Support MD devices, also known as software RAID devices" \
- sys-fs/mdadm sys-fs/dmraid
- optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
- optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5'
- optfeature "Support network block devices" sys-block/nbd
- optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind
- optfeature \
- "Install ssh and scp along with config files and specified keys" \
- virtual/openssh
- optfeature "Enable logging with rsyslog" app-admin/rsyslog
- optfeature "Support Squashfs" sys-fs/squashfs-tools
- optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
- optfeature "Support Bluetooth (experimental)" net-wireless/bluez
- optfeature "Support BIOS-given device names" sys-apps/biosdevname
- optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq
- optfeature \
- "Enable rngd service to help generating entropy early during boot" \
- sys-apps/rng-tools
- optfeature "building Unified Kernel Images with dracut (--uefi)" \
- "sys-apps/systemd[boot]" "sys-apps/systemd-utils[boot]"
- optfeature "automatically generating an initramfs on each kernel installation" \
- "sys-kernel/installkernel[dracut]"
- optfeature "automatically generating an UKI on each kernel installation" \
- "sys-kernel/installkernel[dracut,uki]"
-}
diff --git a/sys-kernel/dracut/files/dracut-108-acct-user-group-gentoo.patch b/sys-kernel/dracut/files/dracut-108-acct-user-group-gentoo.patch
deleted file mode 100644
index 52c15205c630..000000000000
--- a/sys-kernel/dracut/files/dracut-108-acct-user-group-gentoo.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/modules.d/73tpm2-tss/module-setup.sh b/modules.d/73tpm2-tss/module-setup.sh
-index 4441f5528..4b5654d56 100755
---- a/modules.d/73tpm2-tss/module-setup.sh
-+++ b/modules.d/73tpm2-tss/module-setup.sh
-@@ -30,7 +30,7 @@ installkernel() {
-
- # Install the required file(s) and directories for the module in the initramfs.
- install() {
-- inst_sysusers tpm2-tss.conf
-+ inst_sysusers tss.conf
-
- inst_multiple -o \
- "$tmpfilesdir"/tpm2-tss-fapi.conf \
diff --git a/sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch b/sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch
deleted file mode 100644
index 05268206de0e..000000000000
--- a/sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/dracut.sh b/dracut.sh
-index e6d2d9f25..792ab3d34 100755
---- a/dracut.sh
-+++ b/dracut.sh
-@@ -2732,7 +2732,7 @@ if [[ $uefi == yes ]]; then
- cp "$uefi_stub" "$tmp_uefi_stub"
- "${OBJCOPY:-objcopy}" --remove-section .sbat "$tmp_uefi_stub" &> /dev/null
-
-- if command -v ukify &> /dev/null; then
-+ if false; then
- dinfo "*** Using ukify to create UKI ***"
- if ukify build \
- --linux "$kernel_image" \
diff --git a/sys-kernel/dracut/files/dracut-108-elf-parsing-fixes.patch b/sys-kernel/dracut/files/dracut-108-elf-parsing-fixes.patch
deleted file mode 100644
index 1beb9c13c0af..000000000000
--- a/sys-kernel/dracut/files/dracut-108-elf-parsing-fixes.patch
+++ /dev/null
@@ -1,332 +0,0 @@
-From 88e375f89c11c989737f6d00b0cfe6309f7447d7 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Fri, 8 Aug 2025 12:50:12 +0100
-Subject: [PATCH 1/3] fix(dracut-install): the -n short option for --dry-run
-
-I forgot to update the getopt call.
-
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -1638,7 +1638,7 @@ static int parse_argv(int argc, char *argv[])
- {NULL, 0, NULL, 0}
- };
-
-- while ((c = getopt_long(argc, argv, "madfhlL:oD:Hr:Rp:P:s:S:N:v", options, NULL)) != -1) {
-+ while ((c = getopt_long(argc, argv, "madfhlL:oD:Hr:Rp:P:s:S:N:vn", options, NULL)) != -1) {
- switch (c) {
- case ARG_VERSION:
- puts(PROGRAM_VERSION_STRING);
---
-2.50.1
-
-
-From 06e95cc602d0c6df99f4a54b2ade7deb59343a40 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Fri, 8 Aug 2025 12:52:23 +0100
-Subject: [PATCH 2/3] fix(dracut-install): the RUNPATH expansion returning
- empty strings
-
-The input was not initially copied into the result, so the result would
-start with a null pointer and be treated as an empty string. Expansion
-will not occur in most cases, leading to a straight copy of input being
-returned, so just do that in the first place.
-
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -770,7 +770,7 @@ static char *search_via_ldconf(const char *conf_pattern, const char *soname, con
- expands to the directory of the given src path. $LIB expands to lib if
- match64 is NULL or lib64 otherwise. Returns a newly allocated string even if
- no expansion was necessary. */
--static char *expand_runpath(char *input, const char *src, const Elf64_Ehdr *match64)
-+static char *expand_runpath(const char *input, const char *src, const Elf64_Ehdr *match64)
- {
- regex_t regex;
- regmatch_t rmatch[3]; /* 0: full match, 1: without brackets, 2: with brackets */
-@@ -780,11 +780,15 @@ static char *expand_runpath(char *input, const char *src, const Elf64_Ehdr *matc
- return NULL;
- }
-
-- char *result = NULL, *current = input;
-+ char *result = strdup(input);
-+ if (!result)
-+ goto oom;
-+
-+ const char *current = input;
- int offset = 0;
-
- while (regexec(&regex, current + offset, 3, rmatch, 0) == 0) {
-- char *varname = NULL;
-+ const char *varname = NULL;
- _cleanup_free_ char *varval = NULL;
- size_t varname_len, varval_len;
-
-@@ -823,7 +827,7 @@ static char *expand_runpath(char *input, const char *src, const Elf64_Ehdr *matc
- }
-
- regfree(&regex);
-- return result ?: strdup(current);
-+ return result;
-
- oom:
- log_error("Out of memory");
---
-2.50.1
-
-
-From 9f2f306fa971ee00cee0ae307479bc8a8dbc5263 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Fri, 8 Aug 2025 13:18:07 +0100
-Subject: [PATCH 3/3] fix(dracut-install): the handling of absolute paths in
- sonames
-
-If the soname is an absolute path, expand it like the RUNPATH, and
-return it (with the sysroot) without further checks like glibc and musl
-do.
-
-They also support relative paths, but we cannot feasibly support them.
-Such paths are relative to the current directory of the calling process
-at runtime, which we cannot know in this context.
-
-This was observed with Neovim.
-
-Bug: https://bugs.gentoo.org/961101
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -894,6 +894,21 @@ oom:
- static char *find_library(const char *soname, const char *src, size_t src_len, const Elf64_Ehdr *match64,
- const Elf32_Ehdr *match32)
- {
-+ /* If the soname is an absolute path, expand it like the RUNPATH, and
-+ return it (with the sysroot) without further checks like glibc and
-+ musl do. They also support relative paths, but we cannot feasibly
-+ support them. Such paths are relative to the current directory of the
-+ calling process at runtime, which we cannot know in this context. */
-+ if (soname[0] == '/') {
-+ _cleanup_free_ char *expanded = expand_runpath(soname, src, match64);
-+ if (!expanded)
-+ return NULL;
-+
-+ char *sysroot_expanded = NULL;
-+ _asprintf(&sysroot_expanded, "%s%s", sysrootdir ?: "", expanded);
-+ return sysroot_expanded;
-+ }
-+
- if (match64)
- FIND_LIBRARY_RUNPATH_FOR_BITS(64, match64);
- else if (match32)
---
-2.50.1
-
-
-From 7186fa47fee7060a70fa6698748c4f4793edadf8 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Mon, 11 Aug 2025 10:12:59 +0100
-Subject: [PATCH 4/6] fix(dracut-install): handling of multiple sonames in
- dlopen JSON
-
-We should not try to install every library referenced in the soname
-array, only the first one present. The array is intended to be an
-ordered preference list.
-
-Closes: https://github.com/dracut-ng/dracut-ng/issues/1552
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -951,9 +951,10 @@ static void resolve_deps_dlopen_parse_json(Hashmap *pdeps, Hashmap *deps, const
- for (size_t entry_idx = 0; entry_idx < sd_json_variant_elements(dlopen_json); entry_idx++) {
- sd_json_variant *entry = sd_json_variant_by_index(dlopen_json, entry_idx);
- sd_json_variant *feature_json = sd_json_variant_by_key(entry, "feature");
-+ const char *feature = NULL;
-
- if (feature_json && sd_json_variant_is_string(feature_json)) {
-- const char *feature = sd_json_variant_string(feature_json);
-+ feature = sd_json_variant_string(feature_json);
- const char *name = src_soname ?: basename(fullsrcpath);
-
- Iterator i;
-@@ -988,12 +989,15 @@ static void resolve_deps_dlopen_parse_json(Hashmap *pdeps, Hashmap *deps, const
-
- const char *soname = sd_json_variant_string(soname_json);
- if (hashmap_get(pdeps, soname))
-- continue;
-+ goto skip;
-
- char *library = find_library(soname, fullsrcpath, src_len, match64, match32);
-- if (!library || hashmap_put_strdup_key(deps, soname, library) < 0)
-- log_warning("WARNING: could not locate dlopen dependency %s requested by '%s'", soname, fullsrcpath);
-+ if (library && hashmap_put_strdup_key(deps, soname, library) == 0)
-+ goto skip;
- }
-+
-+ log_warning("WARNING: could not locate dlopen dependency for %s feature requested by '%s'", feature ?: "unnamed",
-+ fullsrcpath);
- skip:
- }
- }
---
-2.50.1
-
-
-From 5c69be7d20af599cc6dd94d451a16d8639139bce Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Mon, 11 Aug 2025 10:51:51 +0100
-Subject: [PATCH 5/6] fix(dracut-install): cache resolve_deps calls for speed
- and less noise
-
-The dlopen dependency failure warning was particularly noisy and likely
-to trigger. We were already caching the processed items in resolve_lazy,
-but resolve_deps recurses many times, so it was necessary to move the
-cache down a level. I didn't reuse "items" here because it would have
-clashed with its usage elsewhere.
-
-I had to think about whether the cache would function correctly with
-changing values of pdeps. If a dependency is not found on the first
-attempt, it does not prevent its consumer from being installed, so it
-does not matter that it might be found via a RUNPATH on a subsequent
-attempt.
-
-Closes: https://github.com/dracut-ng/dracut-ng/issues/1552
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -93,6 +93,7 @@ static Hashmap *items_failed = NULL;
- static Hashmap *modules_loaded = NULL;
- static Hashmap *modules_suppliers = NULL;
- static Hashmap *processed_suppliers = NULL;
-+static Hashmap *processed_deps = NULL;
- static Hashmap *modalias_to_kmod = NULL;
- static Hashmap *add_dlopen_features = NULL;
- static Hashmap *omit_dlopen_features = NULL;
-@@ -1132,13 +1133,21 @@ skip:
- Both ELF binaries and scripts with shebangs are handled. */
- static int resolve_deps(const char *src, Hashmap *pdeps)
- {
-- _cleanup_free_ char *fullsrcpath = NULL;
--
-- fullsrcpath = get_real_file(src, true);
-+ char *fullsrcpath = get_real_file(src, true);
- log_debug("resolve_deps('%s') -> get_real_file('%s', true) = '%s'", src, src, fullsrcpath);
- if (!fullsrcpath)
- return 0;
-
-+ switch (hashmap_put(processed_deps, fullsrcpath, fullsrcpath)) {
-+ case -EEXIST:
-+ free(fullsrcpath);
-+ return 0;
-+ case -ENOMEM:
-+ log_error("Out of memory");
-+ free(fullsrcpath);
-+ return -ENOMEM;
-+ }
-+
- _cleanup_close_ int fd = open(fullsrcpath, O_RDONLY | O_CLOEXEC);
- if (fd < 0) {
- log_error("ERROR: cannot open '%s': %m", fullsrcpath);
-@@ -1838,27 +1847,10 @@ static int parse_argv(int argc, char *argv[])
- static int resolve_lazy(int argc, char **argv)
- {
- int i;
-- size_t destrootdirlen = strlen(destrootdir);
- int ret = 0;
-- char *item;
- for (i = 0; i < argc; i++) {
-- const char *src = argv[i];
-- char *p = argv[i];
--
-- log_debug("resolve_deps('%s')", src);
--
-- if (strstr(src, destrootdir)) {
-- p = &argv[i][destrootdirlen];
-- }
--
-- if (check_hashmap(items, p)) {
-- continue;
-- }
--
-- item = strdup(p);
-- hashmap_put(items, item, item);
--
-- ret += resolve_deps(src, NULL);
-+ log_debug("resolve_deps('%s')", argv[i]);
-+ ret += resolve_deps(argv[i], NULL);
- }
- return ret;
- }
-@@ -3008,13 +3000,14 @@ int main(int argc, char **argv)
- items = hashmap_new(string_hash_func, string_compare_func);
- items_failed = hashmap_new(string_hash_func, string_compare_func);
- processed_suppliers = hashmap_new(string_hash_func, string_compare_func);
-+ processed_deps = hashmap_new(string_hash_func, string_compare_func);
- modalias_to_kmod = hashmap_new(string_hash_func, string_compare_func);
-
- dlopen_features[0] = add_dlopen_features = hashmap_new(string_hash_func, string_compare_func);
- dlopen_features[1] = omit_dlopen_features = hashmap_new(string_hash_func, string_compare_func);
-
- if (!items || !items_failed || !processed_suppliers || !modules_loaded ||
-- !add_dlopen_features || !omit_dlopen_features) {
-+ !processed_deps || !add_dlopen_features || !omit_dlopen_features) {
- log_error("Out of memory");
- r = EXIT_FAILURE;
- goto finish1;
-@@ -3093,6 +3086,9 @@ finish2:
- while ((i = hashmap_steal_first(processed_suppliers)))
- item_free(i);
-
-+ while ((i = hashmap_steal_first(processed_deps)))
-+ item_free(i);
-+
- for (size_t j = 0; j < 2; j++) {
- char ***array;
- Iterator it;
-@@ -3118,6 +3114,7 @@ finish2:
- hashmap_free(modules_loaded);
- hashmap_free(modules_suppliers);
- hashmap_free(processed_suppliers);
-+ hashmap_free(processed_deps);
- hashmap_free(modalias_to_kmod);
-
- if (arg_mod_filter_path)
---
-2.50.1
-
-
-From edb94a1b2c7d11a29eb055a28fa598e8fd317fe4 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Tue, 12 Aug 2025 10:15:58 +0100
-Subject: [PATCH 6/6] fix(dracut-install): broken calls to mmap with 0 length
-
-This results in an invalid argument error, so check for 0 length first.
-
-Fixes: https://bugs.gentoo.org/961340
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/install/dracut-install.c
-+++ b/src/install/dracut-install.c
-@@ -632,7 +632,11 @@ static char *check_lib_match(const char *dirname, const char *basename, const ch
- if (fstat(fd, &sb) < 0)
- goto finish2;
-
-- void *map = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
-+ size_t lib_len = sb.st_size;
-+ if (lib_len == 0)
-+ goto finish2;
-+
-+ void *map = mmap(NULL, lib_len, PROT_READ, MAP_PRIVATE, fd, 0);
- if (map == MAP_FAILED)
- goto finish2;
-
-@@ -1161,6 +1165,9 @@ static int resolve_deps(const char *src, Hashmap *pdeps)
- }
-
- size_t src_len = sb.st_size;
-+ if (src_len == 0)
-+ return 0;
-+
- void *map = mmap(NULL, src_len, PROT_READ, MAP_PRIVATE, fd, 0);
- if (map == MAP_FAILED) {
- log_error("ERROR: cannot mmap '%s': %m", fullsrcpath);
---
-2.50.1
-
diff --git a/sys-kernel/dracut/files/dracut-108-hostonly_cmdline-default-yes.patch b/sys-kernel/dracut/files/dracut-108-hostonly_cmdline-default-yes.patch
deleted file mode 100644
index 2af85e918c97..000000000000
--- a/sys-kernel/dracut/files/dracut-108-hostonly_cmdline-default-yes.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From f0086c2f629365bdca8df76364747f7eb9799b59 Mon Sep 17 00:00:00 2001
-From: Jo Zzsi <jozzsicsataban@gmail.com>
-Date: Tue, 12 Aug 2025 07:17:52 -0400
-Subject: [PATCH] revert(efaee44): hostonly_cmdline should continue to default
- to yes
-
-Despite the Fedora setting, let's keep the default to yes
-for distributions that do not whish to overwrite the default.
----
- dracut.conf.d/hostonly/10-hostonly.conf | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/dracut.conf.d/hostonly/10-hostonly.conf b/dracut.conf.d/hostonly/10-hostonly.conf
-index c5bd9b22..72fc9299 100644
---- a/dracut.conf.d/hostonly/10-hostonly.conf
-+++ b/dracut.conf.d/hostonly/10-hostonly.conf
-@@ -1,3 +1,2 @@
- # optimize initrd to be as small as possible for faster boot performance, tailored to the current host
- hostonly="yes"
--hostonly_cmdline=no
---
-2.49.1
-
diff --git a/sys-kernel/dracut/files/dracut-108-respect-objcopy-and-objdump.patch b/sys-kernel/dracut/files/dracut-108-respect-objcopy-and-objdump.patch
deleted file mode 100644
index 5ab73d1a8e88..000000000000
--- a/sys-kernel/dracut/files/dracut-108-respect-objcopy-and-objdump.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff --git a/dracut-functions.sh b/dracut-functions.sh
-index 84a34fafd..617ccf91c 100755
---- a/dracut-functions.sh
-+++ b/dracut-functions.sh
-@@ -1042,7 +1042,7 @@ get_dev_module() {
- pe_file_format() {
- if [[ $# -eq 1 ]]; then
- local magic
-- magic=$(objdump -p "$1" \
-+ magic=$("${OBJDUMP:-objdump}" -p "$1" \
- | awk '{if ($1 == "Magic"){print $2}}')
- # 010b (PE32), 020b (PE32+)
- [[ $magic == "020b" || $magic == "010b" ]] && return 0
-@@ -1055,7 +1055,7 @@ pe_get_header_data() {
- local data_header
- [[ $# -ne "2" ]] && return 1
- [[ $(pe_file_format "$1") -eq 1 ]] && return 1
-- data_header=$(objdump -p "$1" \
-+ data_header=$("${OBJDUMP:-objdump}" -p "$1" \
- | awk -v data="$2" '{if ($1 == data){print $2}}')
- echo "$data_header"
- }
-diff --git a/dracut.sh b/dracut.sh
-index 45373efb7..b53d72924 100755
---- a/dracut.sh
-+++ b/dracut.sh
-@@ -1649,7 +1649,7 @@ if [[ ! $print_cmdline ]]; then
- fi
-
- if [[ $uefi == yes ]]; then
-- if ! command -v objcopy &> /dev/null; then
-+ if ! command -v "${OBJCOPY:-objcopy}" &> /dev/null; then
- dfatal "Need 'objcopy' to create a UEFI executable"
- exit 1
- fi
-@@ -2638,7 +2638,7 @@ clean_sbat_string() {
- get_sbat_string() {
- local inp=$1
- local out=$uefi_outdir/$2
-- objcopy -O binary --only-section=.sbat "$inp" "$out"
-+ "${OBJCOPY:-objcopy}" -O binary --only-section=.sbat "$inp" "$out"
- clean_sbat_string "$out"
- }
-
-@@ -2656,7 +2656,7 @@ if [[ $uefi == yes ]]; then
- fi
- fi
-
-- offs=$(($(objdump -h "$uefi_stub" 2> /dev/null | awk 'NF==7 {size=$3;
-+ offs=$(($("${OBJDUMP:-objdump}" -h "$uefi_stub" 2> /dev/null | awk 'NF==7 {size=$3;
- offset=$4} END {print "16#"size" + 16#"offset}')))
- if [[ $offs -eq 0 ]]; then
- dfatal "Failed to get the size of $uefi_stub to create UEFI image file"
-@@ -2719,7 +2719,7 @@ if [[ $uefi == yes ]]; then
-
- tmp_uefi_stub=$uefi_outdir/elf.stub
- cp "$uefi_stub" "$tmp_uefi_stub"
-- objcopy --remove-section .sbat "$tmp_uefi_stub" &> /dev/null
-+ "${OBJCOPY:-objcopy}" --remove-section .sbat "$tmp_uefi_stub" &> /dev/null
-
- if command -v ukify &> /dev/null; then
- dinfo "*** Using ukify to create UKI ***"
-@@ -2749,7 +2749,7 @@ if [[ $uefi == yes ]]; then
- exit 1
- fi
- else
-- if objcopy \
-+ if "${OBJCOPY:-objcopy}" \
- ${SOURCE_DATE_EPOCH:+--enable-deterministic-archives --preserve-dates} \
- ${uefi_osrelease:+--add-section .osrel="$uefi_osrelease" --change-section-vma .osrel=$(printf 0x%x "$uefi_osrelease_offs")} \
- ${uefi_cmdline:+--add-section .cmdline="$uefi_cmdline" --change-section-vma .cmdline=$(printf 0x%x "$uefi_cmdline_offs")} \
-diff --git a/lsinitrd.sh b/lsinitrd.sh
-index 86b2c5a67..fd0633dfa 100755
---- a/lsinitrd.sh
-+++ b/lsinitrd.sh
-@@ -358,11 +358,11 @@ unpack_files() {
-
- read -r -N 2 bin < "$image"
- if [ "$bin" = "MZ" ]; then
-- command -v objcopy > /dev/null || {
-+ command -v "${OBJCOPY:-objcopy}" > /dev/null || {
- echo "Need 'objcopy' to unpack an UEFI executable."
- exit 1
- }
-- objcopy \
-+ "${OBJCOPY:-objcopy}" \
- --dump-section .linux="$TMPDIR/vmlinuz" \
- --dump-section .initrd="$TMPDIR/initrd.img" \
- --dump-section .cmdline="$TMPDIR/cmdline.txt" \
diff --git a/sys-kernel/dracut/files/dracut-110-acct-user-group-gentoo.patch b/sys-kernel/dracut/files/dracut-110-acct-user-group-gentoo.patch
deleted file mode 100644
index 4bfa98efbe7b..000000000000
--- a/sys-kernel/dracut/files/dracut-110-acct-user-group-gentoo.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/modules.d/73tpm2-tss/module-setup.sh b/modules.d/73tpm2-tss/module-setup.sh
-index 4441f5528..4b5654d56 100755
---- a/modules.d/73tpm2-tss/module-setup.sh
-+++ b/modules.d/73tpm2-tss/module-setup.sh
-@@ -30,7 +30,7 @@ installkernel() {
-
- # Install the required file(s) and directories for the module in the initramfs.
- install() {
-- inst_sysusers tpm2-tss.conf
-+ inst_sysusers tss.conf
- inst_sysusers system-user-tss.conf
- grep -s '^tss:' "${dracutsysrootdir-}"/etc/passwd >> "$initdir/etc/passwd"
- grep -s '^tss:' "${dracutsysrootdir-}"/etc/group >> "$initdir/etc/group"
diff --git a/sys-kernel/dracut/files/dracut-110-dash-printf.patch b/sys-kernel/dracut/files/dracut-110-dash-printf.patch
deleted file mode 100644
index 15aec4151829..000000000000
--- a/sys-kernel/dracut/files/dracut-110-dash-printf.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/971601
-https://github.com/dracut-ng/dracut-ng/pull/2303
-
-From eca6d9f1d35879d411f5f860cf5e0a57cd155ad4 Mon Sep 17 00:00:00 2001
-From: Benjamin Drung <benjamin.drung@canonical.com>
-Date: Mon, 16 Mar 2026 11:22:33 +0100
-Subject: [PATCH] fix(dracut.sh): use printf instead of echo in mark_hostonly
-
-POSIX requires to interpreted escape sequences. The filenames passed to
-`mark_hostonly` might contain backslashes and therefore might be
-interpreted (dash 0.5.13.1 will do that).
-
-So use `printf` instead to avoid escaping the filenames.
-
-Fixes: https://github.com/dracut-ng/dracut-ng/issues/2280
----
- dracut.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dracut.sh b/dracut.sh
-index 28c8ecc92..cc5ad0b8c 100755
---- a/dracut.sh
-+++ b/dracut.sh
-@@ -1559,7 +1559,7 @@ inst_fsck_help() {
- # shellcheck disable=SC2317,SC2329
- mark_hostonly() {
- for i in "$@"; do
-- echo "$i" >> "$initdir/lib/dracut/hostonly-files"
-+ printf "%s\n" "$i" >> "$initdir/lib/dracut/hostonly-files"
- done
- }
-
diff --git a/sys-kernel/dracut/files/dracut-110-set-defaults.patch b/sys-kernel/dracut/files/dracut-110-set-defaults.patch
deleted file mode 100644
index 891733fc0a9d..000000000000
--- a/sys-kernel/dracut/files/dracut-110-set-defaults.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://github.com/dracut-ng/dracut/commit/86dae8081027e3461a49999d63938561eb2ed662
-diff --git a/dracut.conf.d/gentoo/01-gentoo.conf b/dracut.conf.d/gentoo/01-gentoo.conf
-index 5c12d1c50b..218e70b99b 100644
---- a/dracut.conf.d/gentoo/01-gentoo.conf
-+++ b/dracut.conf.d/gentoo/01-gentoo.conf
-@@ -1,2 +1,22 @@
--# Gentoo specific Dracut configuration
-+# Build an initramfs specific to this machine by default. This ensures
-+# local configuration files (/etc/...) are included.
-+hostonly="yes"
-+hostonly_mode="sloppy"
-+
-+# Usage of ukify is controlled via sys-kernel/installkernel[+/-ukify].
-+# Automatic delegation in sys-kernel/dracut is disabled here.
- ukify="no"
-+# Building an UKI is toggled by sys-kernel/installkernel[+/-uki].
-+# If the ukify USE flag is also enabled then ukify is used to build
-+# the UKI. If not, then Dracut uses objcopy/objdump to build an UKI.
-+# Automatic delegation to ukify is disabled, see also above.
-+# By default we do not build an UKI (initramfs only).
-+uefi="no"
-+
-+# Inclusion of CPU microcode is controlled via:
-+# sys-kernel/linux-firmware[+/-initramfs], and/or
-+# sys-firmware/intel-microcode[+/-initramfs]
-+# The later takes precedence if both are installed. Disable the
-+# inclusion by default here, the aforementioned packages override it.
-+# If neither package is installed then no microcode can be included.
-+early_microcode="no"
diff --git a/sys-kernel/dracut/files/gentoo-ldconfig-paths-r1.patch b/sys-kernel/dracut/files/gentoo-ldconfig-paths-r1.patch
deleted file mode 100644
index 53349a1f31f3..000000000000
--- a/sys-kernel/dracut/files/gentoo-ldconfig-paths-r1.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From e6a5f02038954ede223cc75901386acf43ec4264 Mon Sep 17 00:00:00 2001
-From: Alexander Tsoy <alexander@tsoy.me>
-Date: Mon, 9 Mar 2020 02:47:07 +0300
-Subject: [PATCH] Remove redundant gcc paths in ldconfig_paths()
-
-Bug: https://bugs.gentoo.org/705728
----
- dracut-functions.sh | 15 ++++++++++++++-
- 1 file changed, 14 insertions(+), 1 deletion(-)
-
-diff --git a/dracut-functions.sh b/dracut-functions.sh
-index 5206bd21..a119fb15 100755
---- a/dracut-functions.sh
-+++ b/dracut-functions.sh
-@@ -81,7 +81,20 @@ find_binary() {
- }
-
- ldconfig_paths() {
-- $DRACUT_LDCONFIG ${dracutsysrootdir:+-r ${dracutsysrootdir} -f /etc/ld.so.conf} -pN 2> /dev/null | grep -E -v '/(lib|lib64|usr/lib|usr/lib64)/[^/]*$' | sed -n 's,.* => \(.*\)/.*,\1,p' | sort | uniq
-+ local gccpath
-+
-+ if type -P gcc-config &>/dev/null; then
-+ gccpath=$(gcc-config -c)
-+ gccpath=/usr/lib/gcc/${gccpath%-*}/${gccpath##*-}
-+ fi
-+
-+ while read -r line; do
-+ if [[ ${line} != /usr/lib/gcc/* || -z ${gccpath} ]]; then
-+ echo ${line}
-+ elif [[ ${line} == ${gccpath} ]]; then
-+ echo ${line}
-+ fi
-+ done < <($DRACUT_LDCONFIG ${dracutsysrootdir:+-r ${dracutsysrootdir} -f /etc/ld.so.conf} -pN 2>/dev/null | grep -E -v '/(lib|lib64|usr/lib|usr/lib64)/[^/]*$' | sed -n 's,.* => \(.*\)/.*,\1,p' | sort | uniq)
- }
-
- # Version comparision function. Assumes Linux style version scheme.
---
-2.32.0
-
diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml
deleted file mode 100644
index f1071d29e6e2..000000000000
--- a/sys-kernel/dracut/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>alexander@tsoy.me</email>
- <name>Alexander Tsoy</name>
- </maintainer>
- <maintainer type="person">
- <email>floppym@gentoo.org</email>
- <name>Mike Gilbert</name>
- </maintainer>
- <maintainer type="person">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <use>
- <flag name="dracut-cpio">Build the enhanced 'dracut-cpio' program</flag>
- </use>
- <upstream>
- <remote-id type="github">dracut-ng/dracut-ng</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/dummy-sources/dummy-sources-9999.ebuild b/sys-kernel/dummy-sources/dummy-sources-9999.ebuild
deleted file mode 100644
index eacda78fe97e..000000000000
--- a/sys-kernel/dummy-sources/dummy-sources-9999.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2022 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DESCRIPTION="A dummy package for kernel sources."
-HOMEPAGE="https://kernel.org"
-SRC_URI=""
-
-KEYWORDS="*"
-LICENSE="GPL-2"
-
-SLOT="0"
-
-IUSE=""
-
-PDEPEND="virtual/linux-sources"
diff --git a/sys-kernel/dummy-sources/metadata.xml b/sys-kernel/dummy-sources/metadata.xml
deleted file mode 100644
index 36acccda7221..000000000000
--- a/sys-kernel/dummy-sources/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
deleted file mode 100644
index 751bc21f06c1..000000000000
--- a/sys-kernel/genkernel/Manifest
+++ /dev/null
@@ -1,39 +0,0 @@
-DIST LVM2.2.03.22.tgz 2755031 BLAKE2B 79bbea84bd82f111c1bb5de336e6a9f1368b2c9e43f075dccaa90c7746a364259ad278adf650379eca75f2803ed74e74dd372be2cca8518462182657f96a0033 SHA512 17cd24ceee8026481566824b688dafd03ec816201d5cb3549cb7fc8a36f4cdaa982faaef4dcd26debfe775dea5ffa2744798164314ea6dc99a84f8ccccfc33ff
-DIST b2-5.4.2.tar.gz 1201271 BLAKE2B 573a94ce0300fee53a161e1ba7838890e0a8ea074b568eb2df479f70639d05e28b6d2b4a301d82dddc58f26a83f8d2c41cac41272fe689d456007acb49d1ca6f SHA512 fd68cedc9936a463525df47b87b10c8fb72d9eec8355fd1b460ddf4a9c25369beb282a6a8229d54a01d56a82fcc5224af837fc8bc58042af02e688e9c0d4f4c6
-DIST bcache-tools-1.1_p20230217.tar.gz 44025 BLAKE2B c6e1c3e64d1f53f581cd6ea80b919bd7db93e0ec048de70e65cfa1b28ae59e921c7cdcf4c3d0f25823ab323f76ef29671bc2e3db616bad34e8c193aaa3a38c89 SHA512 aac047cb773ebc9e9c139f0a3da5721511a24265a497ce26fd607a26195d402ef78fa5f3c76d609195ee48267395527bd7083abe996e9fa3009b43ac85f94652
-DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a SHA512 70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312
-DIST boost_1_90_0.tar.bz2 170662122 BLAKE2B daaf524dd26c0e24bec6e461749305277b9b86059f3eb3435ae4928a6537eb198234c597324faa40eb372343233daaf5f5aae886160d9833b04992ac57e385c9 SHA512 1c81b60f63367d7249f277f0a569c181926dcf5a725e30433dd336205f1782880489dd00df6a1a74fd107765d3ca2cd49f806788cabb7d5700a8a55927a9a199
-DIST btrfs-progs-v6.7.1.tar.xz 2565576 BLAKE2B 4e05e9dd80e5531425490970318389aef280f61cc636a80aa2bbc630399afd4f1f3ce649d194822ff93ff4b1774d65a504e3bed6f1426ff60830e4c0d0ac87b0 SHA512 8a2e735f036a0778a2482d42c813012269903174232bc2924af41b72bbcfb49783d5f3b7d0af085285a68754748bd76b6534a498a47cdcea94020f4262281ffc
-DIST busybox-1.36.1.tar.bz2 2525473 BLAKE2B e515825cb3ab1c520e16b9c2512e9fc72947366a72a0466bff59b507fdffbc78fc9d16b44a26116175fc7a429d849ad944b1bc379d36c6d3a0eb20969997336e SHA512 8c0c754c9ae04b5e6b23596283a7d3a4ef96225fe179f92d6f6a99c69c0caa95b1aa56c267f52d7c807f6cc69e1f0b7dd29a8ac624098f601738f8c0c57980d4
-DIST coreutils-9.4.tar.xz 5979200 BLAKE2B 83d41c48804c1d470c0e5eed38e692bb6875436dda3f6e2c29784ad6ef563d86e8e066a050e222621b400f78ea4630b1e127d20fc9b76f12096528c42677e35d SHA512 7c55ee23b685a0462bbbd118b04d25278c902604a0dcf3bf4f8bf81faa0500dee5a7813cba6f586d676c98e520cafd420f16479619305e94ea6798d8437561f5
-DIST cryptsetup-2.6.1.tar.xz 11402380 BLAKE2B efd7a64d89d863876de68ff3e89d8c94ad5eca6a8d2236c52c234fbe51e9d9ee303a0c7fe7dac7df10e0062003b9c0aeddc8dc342582106c157ab2d1e742155e SHA512 0cbddbf33cbac2b834ed7e2dd47a9fc787131031a1c729f373f5c974600a838097e9cc0555f13719fc79c384a2a34b404f94ba4cc2f35f0bb1d70aef2233fd18
-DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 BLAKE2B 290c5bb7f1b12ac48627d8afcc346327b2fcce31b1015d5974c956d94f607b297e383158cd8741f03a770cdeb3f42c3e6341ebfcbc2220e122d89c2603eee512 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e
-DIST dropbear-2022.83.tar.bz2 2322904 BLAKE2B 4e26667458fb068a8c997b44dfd3c4f15146f051713a3ea90980db04c6345174d34214269665d74c863c1c1947d6837034aa4c264101b11971c8a3e97f491393 SHA512 c63afa615d64b0c8c5e739c758eb8ae277ecc36a4223b766bf562702de69910904cbc3ea98d22989df478ae419e1f81057fe1ee09616c80cb859f58f44175422
-DIST e2fsprogs-1.47.3.tar.xz 7321540 BLAKE2B 5d83a47d24f28fb4e0a6e8a145b146e6ff0de4463a16720790041f6fe750e595d749e730016bc3a9255c9ed3172b15e37f0fa8af4e8463f724f6bd221a9fa161 SHA512 1139b793cfa2f1af4e8ef06439522ff5aa3bab701201f2a4ef74910eb0c4d8c86dbd40d5a8bdc798dc52f121a0ca9e454eda0c6058e2dc5d4a25e82f669e96ae
-DIST eudev-3.2.14.tar.gz 2188254 BLAKE2B 7d68e77012288ecfac43be31f724224d371cb1084238fe045df248927eff854dbb391ad501e2a36d9b5ea4eb0a8cba3f9f21ea668908584a24c2a65df93ffdf8 SHA512 1e7593b53c5508a99fe7ff5d24d1d09b3753d9cfba086e7d8cc6ab80cc88013ec687dc4f1eac7b7889051f4e5fd5c40d2b87f5f2d948479d679c8836014d08e0
-DIST expat-2.5.0.tar.xz 460560 BLAKE2B 670298d076ff3b512a0212170d40cb04c601a11d6b152f215a5302ad3238c69c2386393d7a6c70bc284be35ce97bf27d87115c3391f4bc17406e509d739d3e31 SHA512 2da73b991b7c0c54440485c787e5edeb3567230204e31b3cac1c3a6713ec6f9f1554d3afffc0f8336168dfd5df02db4a69bcf21b4d959723d14162d13ab87516
-DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2
-DIST genkernel-4.3.17.tar.xz 472852 BLAKE2B 82b134eb4c122d1a332dd5908aa6698dde55d15c97f5e3831e4d06868180ab6a673c6d046831f223473cfd4780ac3f03b09483c6b6532676ac907f111442a107 SHA512 96a1e43662d77b7bfe795dd52381514f40ade93edca167c3d0e9bd72c2dc305bc5de22de823bf09a42ec7dd89344b624a34603da4fd8594a4e718047ee0fdb96
-DIST genkernel-4.3.18.tar.xz 472316 BLAKE2B 57afaa259ff3ebc7a8c34bee4f27c00a34c6c6fbb0a2767d56ce6ed62626e73af0fdce7fe0cd4f06d69f34d959607dc05a0983062f1d90ae95d3518a5dee7d54 SHA512 6007805b95dd1d0eae444751c210aca2d82cae058e535bdedfcbe48e52b041309a237782b8639e719884e8333ec110540d2c3dd5bc158ca821f67cdcbb16924b
-DIST gnupg-1.4.23.tar.bz2 3749353 BLAKE2B ec5e6bef0c7bb2a65813d7852cebeaa24c4855f9d9d9e802070da50b89fff56b747682933aa766dd130f849efcfe28f7aa74f3153405429bcf3845ef29c6dd6e SHA512 78dc52a2010202a4afc8814b29fda657a6c9fe230d5e7db11ae040edd2b0ca819e1baa4dbd6c0d04d36cd353df484e83f52d17759d2891c2cf7025c0b5d36612
-DIST hwids-20210613.tar.gz 3867741 BLAKE2B 64c4b0a83058a2052f7b132241008a3cc75452e93a9a57a9159c357c23fd09ee256abc2b94e700b5d8e8bd4e231ae12932d2c2f32fb03853207739cb3387047d SHA512 4568f6b8c0ca80ec772bd2785d4dc169d1d13a721472a15399158d9a7f31abbe414c5c8cfdf1a3b81cce4e33742a4b6e005e97e3e907643d0afdc8e953624fea
-DIST json-c-0.18.tar.gz 401788 BLAKE2B d39bab289976cb2f76bcf3ad8254f7f5b4d11e2aa4dedebd60dc7d131a3f6ec57beacdc575aeeb191cf449d16c549d424172e78464731eeb66305f47f72371c2 SHA512 4763f2352414dac3599bc2183b4fa57dbfaac0ca24de890097bd7d0bdda93c91efa280f6566e949e6d94212ef39a63fc76c5f9d0c54ff3d04b13c859717dba5a
-DIST keyutils-1.6.3.tar.gz 137022 BLAKE2B b5620b1b6109415fec1268963c2c65d774f3ef7a69eb1ce8d5d8e78b4b807e4fdfda861662a1b5556975ef867add8f985362a31b6608ac2dc198c8d0395d516b SHA512 f65965b8566037078b8eeffa66c6fdbe121c8c2bea7fa5bce04cf7ba5ccc50d5b48e51f4a67ca91e4d5d9a12469e7e3eb3036c920ab25e3feba6e93b4c149cf9
-DIST kmod-31.tar.xz 570936 BLAKE2B 0dc8572da570315cf0aadd87fa7e83d0f88dea91c8566749e6f3004f9a6df916dce337ca99ea5929d41f45b408c1e3effa50f9d24615d7fa28688150a5ce91cf SHA512 05ca70381808bec5f262b94db625662c385408988178a35e4aaf4960ee0716dc0cbfc327160ea4b61098d0c2130ab1b5142ea8156bea8e06ded7f4d288b6d085
-DIST libaio-0.3.113.tar.gz 49980 BLAKE2B 2379c88670310b36942563d10f29dfcba0f49391952ffe7fe18b0c917f33ef610405fe13297d1dbb34b7ad1d3066d4a32587a7fb20babba2f264cfc2ab289e57 SHA512 65c30a102433bf8386581b03fc706d84bd341be249fbdee11a032b237a7b239e8c27413504fef15e2797b1acd67f752526637005889590ecb380e2e120ab0b71
-DIST libgcrypt-1.10.3.tar.bz2 3783827 BLAKE2B 1a228e02820e886016eb55dee75936c4422a15fb4f95a2f9bcd1e4faac4015d4321c7c8d23f164eb08ece5d62935ab3b3d3104eabfdd22db997ab3e5689dfa6f SHA512 8a8d4c61a6622d8481ceb9edc88ec43f58da32e316f79f8d4775325a48f8936aaa9eb355923b39e2c267b784e9c390600daeb62e0c94f00e30bbadb0d8c0865d
-DIST libgpg-error-1.51.tar.bz2 1085510 BLAKE2B 8727a993fb5e589beceafce9d06d843b28ceff80398c33a5655608bdcd3d92ee363389bc209a1dff675b9f78d56f13b78d77e55696c0736612b09275ae0da7f3 SHA512 4489f615c6a0389577a7d1fd7d3917517bb2fe032abd9a6d87dfdbd165dabcf53f8780645934020bf27517b67a064297475888d5b368176cf06bc22f1e735e2b
-DIST libxcrypt-4.4.38.tar.xz 625756 BLAKE2B 42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff SHA512 66c6f7e69d64ec6d9cca5c240bcd056c4f2802aab84325bef5c3aff189a0f81bc0944f473cbde8fdcb12cad8a9d35599afb045a5bc4be577e1c67066555bc116
-DIST lzo-2.10.tar.gz 600622 BLAKE2B 124b6645a2cb7f01f153c9fa6e1976378bdfb224841a7b45ab19c584c6ef704c20719ae87640b8d83f3f9269a57d9cc2e870a914124dac03a2ef1336e9feb9c9 SHA512 a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4
-DIST mdadm-4.2.tar.xz 453624 BLAKE2B de7c4318dc5479de41378233869ab84ca2cd0e8a42310157b1acb969e7152af61556fbbe6f17bf6af4dfaf5543e49b1c982d2baeedf1c39b000032f4db7f5502 SHA512 57897a2b7fb8b0b88bece50501099872bb45ddb076cfc323d563588096d2b66b1ecba3724534943f651ace2bfe591482570700616500dc3398552e4f9ff0c37d
-DIST open-iscsi-2.1.8.tar.gz 638346 BLAKE2B 1e85b6bd75ac31e5aaa65ea8869c2e6e13190786e28e473ab8bd1ea3edb0ef835624194e2ba53718fb2a49c25af53bff9035f5109e1a569155244f03a7dccdc0 SHA512 168ce68dc495cc8b2f217ad0373851d681f9274036b8ec562ece513de493adfdbba55f2038518f246f5244f6405102b2e096a9cce15e73fce9654f06790002c1
-DIST popt-1.19.tar.gz 596676 BLAKE2B 8f8965e2d339f0413e8d1da421ea7556526f39f089a822063d6fdc35b781a7c7ea84a91d6af3e25902c1f045f564ef956fc69cd4625e6cc008c9e3ca34923a9d SHA512 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466
-DIST strace-6.15.tar.xz 2662388 BLAKE2B 73bac2016b3a92e88c1bfcdf4b0ce7a273c07554e61c1ba59d5b7c27f219ea0fc0f976413a26cf34e512739d0275e702dab280dd73d6124a4eabe67c6d8d0109 SHA512 5bb21b55d52aab6883821d4aea9449138d5efafac99f72b3831de710ed1ece11bb4a21b16fab97d772397213f43d06072e1d467ae03c38198ead0e65ddcd6ab5
-DIST thin-provisioning-tools-0.9.0.tar.gz 500998 BLAKE2B ac269fb6dfd1baf1572da27582ac2cd763b07aaac130a9467d05581e7a0ba1309d7dbf4c6095407111667e57af2e8183318d558ed23853f9c84b9c151c0878d9 SHA512 e1796fb3948847d72ca8247cae58017507c0a847a00201b93668eeb8fbfea4107c4c2affa5c211c149798a89b10474e83d2bd61a5545a668299be97aed591e0f
-DIST unionfs-fuse-2.0.tar.gz 46537 BLAKE2B 2f5a0da5adb15c408e7b9d0c3658e389a1aea4a9a5f2f3809fc724af43cf2a4b309e4220e46647e3f3fc9b19d48c8d62692e190cf8536182abfe551bfacfcc24 SHA512 5b60204632f498931fff7671cc9f40b1800d34cb8c0d0de0773626e2653eb0a36647566c92c1d0cf79543e01b934602ef5603a06508407f352e48ef27a7ee758
-DIST userspace-rcu-0.14.0.tar.bz2 661322 BLAKE2B ba9fa4c6dec693d2616234187db531f00fc0ade65f7e2a57182d9441728ddfa6f3e9d4544b824ca5edf7c027a43c9231d998a309c01f4bbab1eeefe856344f77 SHA512 7297e51012f4c44ee27c0e18ed9d87bf24be34db68a5398394c1e683a045bb561cf74aa913398404c0ed5cb8011af728ea12947717fa5f27627e5ca78e63a40f
-DIST util-linux-2.39.3.tar.xz 8526168 BLAKE2B cd7b2b3c820e920d4a6ecd46fd807e018fc8e54439292f5e62c5f6863dd0f2505df3ec02c470d9be255a437c6ee8e4077908ac78d19a0d1273854d99eb571df0 SHA512 a2de1672f06ca5d2d431db1265a8499808770c3781019ec4a3a40170df4685826d8e3ca120841dcc5df4681ca8c935a993317bd0dc70465b21bf8e0efef65afa
-DIST xfsprogs-6.4.0.tar.xz 1344720 BLAKE2B 566a80a1fa90520c6cc2b20c8e8cde41eb83a48f0b6d4a978f9e5d43960e99b54cab3e0c2cd4147a3d8f4944e50876063fc571441c8239d6deaaa01604843a6b SHA512 831e7747640bc2964b182226d8bb6f637610b123aeec9b3cb97a5de5d5b65bde30c6b40ad2e78de6a5214e823dd75de3a2bdfddd8ab1638f5c7340a760c91b3f
-DIST xz-5.4.2.tar.gz 2799022 BLAKE2B 3c622b0823f0cbb5fbc5eaa0372fc2f0fefe0950d131417f831bce47b6d9747d145429f0649de106819331f9ae6a289c497182c7b6d1e211513308dd083a9b72 SHA512 149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737
-DIST zlib-1.3.1.tar.gz 1512791 BLAKE2B 872ef9cc41ba57e9809ab5714ffa15cc9d3ef6c4a948c57107f800fc373bcfe2475136407203cb9aa33b189994336f36f2757b7a582e065ad477bfd49260184b SHA512 580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f
-DIST zstd-1.5.5.tar.gz 2368543 BLAKE2B 7680e27a0adacfb809d9fc81e06d3f99bf74df30374d3b5cb2d58f667dd1b7d5c41697e608592709e17c0e32277f20a6d615edee409b5d7cdcb15da2799a2350 SHA512 99109ec0e07fa65c2101c9cb36be56b672bbd0ee69d265f924718e61f9192ae8385c8d9e4d0c318be9edfa6d849fd3d60e5f164fa120961449429ea3c5dab6b6
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.12-mdadm-musl-fix.patch b/sys-kernel/genkernel/files/genkernel-4.3.12-mdadm-musl-fix.patch
deleted file mode 100644
index 7c5cb3f9ce94..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.12-mdadm-musl-fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/gkbuilds/mdadm.gkbuild b/gkbuilds/mdadm.gkbuild
-index b43f753..e8060e5 100644
---- a/gkbuilds/mdadm.gkbuild
-+++ b/gkbuilds/mdadm.gkbuild
-@@ -16,6 +16,9 @@ src_prepare() {
- }
-
- src_compile() {
-+ # bug 907082
-+ append-cppflags -D_LARGEFILE64_SOURCE
-+
- gkmake V=1 mdadm mdmon
- }
-
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.15-fix-srcdir-for-new-bcache-tools.patch b/sys-kernel/genkernel/files/genkernel-4.3.15-fix-srcdir-for-new-bcache-tools.patch
deleted file mode 100644
index ba6eee2387dd..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.15-fix-srcdir-for-new-bcache-tools.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From f973903cea8d161893b29b4fb4114561a6aa5674 Mon Sep 17 00:00:00 2001
-From: Ben Kohler <bkohler@gentoo.org>
-Date: Wed, 22 May 2024 10:14:32 -0500
-Subject: [PATCH] defaults/software.sh: fix srcdir for new bcache-tools
-
-Signed-off-by: Ben Kohler <bkohler@gentoo.org>
----
- defaults/software.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/defaults/software.sh b/defaults/software.sh
-index 01c504b..42004f3 100644
---- a/defaults/software.sh
-+++ b/defaults/software.sh
-@@ -13,7 +13,7 @@ GKPKG_BCACHE_TOOLS_PN="bcache-tools"
- GKPKG_BCACHE_TOOLS_PV="${GKPKG_BCACHE_TOOLS_PV:-${VERSION_BCACHE_TOOLS}}"
- GKPKG_BCACHE_TOOLS_DEPS="util-linux eudev"
- GKPKG_BCACHE_TOOLS_SRCTAR="${GKPKG_BCACHE_TOOLS_SRCTAR:-${DISTDIR}/bcache-tools-${GKPKG_BCACHE_TOOLS_PV}.tar.gz}"
--GKPKG_BCACHE_TOOLS_SRCDIR="${GKPKG_BCACHE_TOOLS_SRCDIR:-bcache-tools-399021549984ad27bf4a13ae85e458833fe003d7}"
-+GKPKG_BCACHE_TOOLS_SRCDIR="${GKPKG_BCACHE_TOOLS_SRCDIR:-a5e3753516bd39c431def86c8dfec8a9cea1ddd4}"
- GKPKG_BCACHE_TOOLS_BINPKG="${GKPKG_BCACHE_TOOLS_BINPKG:-%%CACHE%%/bcache-tools-${GKPKG_BCACHE_TOOLS_PV}-%%ARCH%%.tar.xz}"
-
- GKPKG_BOOST_PN="boost"
---
-2.45.1
-
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.15-mdadm-musl-fix.patch b/sys-kernel/genkernel/files/genkernel-4.3.15-mdadm-musl-fix.patch
deleted file mode 100644
index 74c1db168a5c..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.15-mdadm-musl-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit fb29d87cc5dcfd6e3222f3bee63fc9e6a764fa3c
-Author: Ben Kohler <bkohler@gentoo.org>
-Date: Wed May 22 09:47:29 2024 -0500
-
- gkbuilds/mdadm-4.2: add missing musl fix
-
- Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-
-diff --git a/gkbuilds/mdadm-4.2.gkbuild b/gkbuilds/mdadm-4.2.gkbuild
-index d996346..99bfb84 100644
---- a/gkbuilds/mdadm-4.2.gkbuild
-+++ b/gkbuilds/mdadm-4.2.gkbuild
-@@ -16,6 +16,9 @@ src_prepare() {
- }
-
- src_compile() {
-+ # bug 907082
-+ append-cppflags -D_LARGEFILE64_SOURCE
-+
- CXFLAGS="-DNO_LIBUDEV" gkmake V=1 mdadm mdmon
- }
-
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.16-add-eudev-3.2.14-static.patch b/sys-kernel/genkernel/files/genkernel-4.3.16-add-eudev-3.2.14-static.patch
deleted file mode 100644
index 40fbd91652aa..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.16-add-eudev-3.2.14-static.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/patches/eudev/3.2.14/eudev-3.2.14-static.patch b/patches/eudev/3.2.14/eudev-3.2.14-static.patch
-index 88bc1e1..37c6890 100644
---- a/patches/eudev/3.2.14/eudev-3.2.14-static.patch
-+++ b/patches/eudev/3.2.14/eudev-3.2.14-static.patch
-@@ -42,6 +42,28 @@
- collect_LDADD = \
- $(top_builddir)/src/libudev/libudev-private.la \
- $(top_builddir)/src/udev/libudev-core.la
-+--- a/src/dmi_memory_id/Makefile.am
-++++ b/src/dmi_memory_id/Makefile.am
-+@@ -11,6 +11,8 @@ udevlibexec_PROGRAMS = \
-+ dmi_memory_id_SOURCES = \
-+ dmi_memory_id.c
-+
-++dmi_memory_id_LDFLAGS = -all-static
-++
-+ dmi_memory_id_LDADD = \
-+ $(top_builddir)/src/libudev/libudev-private.la \
-+ $(top_builddir)/src/udev/libudev-core.la
-+--- a/src/fido_id/Makefile.am
-++++ b/src/fido_id/Makefile.am
-+@@ -13,6 +13,8 @@ fido_id_SOURCES =\
-+ fido_id_desc.c \
-+ fido_id_desc.h
-+
-++fido_id_LDFLAGS = -all-static
-++
-+ fido_id_LDADD = \
-+ $(top_builddir)/src/libudev/libudev-private.la \
-+ $(top_builddir)/src/udev/libudev-core.la
- --- a/src/mtd_probe/Makefile.am
- +++ b/src/mtd_probe/Makefile.am
- @@ -6,6 +6,8 @@ AM_CPPFLAGS = \
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.16-globbing-workaround.patch b/sys-kernel/genkernel/files/genkernel-4.3.16-globbing-workaround.patch
deleted file mode 100644
index 50dc73265462..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.16-globbing-workaround.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff '--color=auto' -urN genkernel-4.3.16.orig/gen_initramfs.sh genkernel-4.3.16/gen_initramfs.sh
---- genkernel-4.3.16.orig/gen_initramfs.sh 2024-06-11 20:35:25.000000000 +0200
-+++ genkernel-4.3.16/gen_initramfs.sh 2024-11-23 19:44:41.674658947 +0100
-@@ -1783,10 +1783,11 @@
-
- myfw_f=( $(compgen -G "${FIRMWARE_DIR}/${myfw}*") )
-
-- if [ ${#myfw_f[@]} -gt 1 ]
-- then
-- gen_die "excessive number of firmwares!"
-- fi
-+## see https://bugs.gentoo.org/932907
-+# if [ ${#myfw_f[@]} -gt 1 ]
-+# then
-+# gen_die "excessive number of firmwares!"
-+# fi
-
- if [ ${#myfw_f[@]} -lt 1 ]
- then
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.16-musl.patch b/sys-kernel/genkernel/files/genkernel-4.3.16-musl.patch
deleted file mode 100644
index bdc45e941898..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.16-musl.patch
+++ /dev/null
@@ -1,297 +0,0 @@
-https://bugs.gentoo.org/934773
-https://github.com/gentoo/genkernel/pull/62
-
-From 553ea48d2983f6febd142b97c5b7230d87cda661 Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 24 Nov 2024 07:33:09 -0800
-Subject: [PATCH 1/3] patches/lvm: add missing musl patches
-
-Gentoo-Issue: https://bugs.gentoo.org/934773
-Signed-off-by: orbea <orbea@riseup.net>
----
- .../lvm/2.03.22/lvm2-019-musl-basename.patch | 34 ++++++++++++
- .../lvm/2.03.22/lvm2-020-freopen-musl.patch | 54 +++++++++++++++++++
- 2 files changed, 88 insertions(+)
- create mode 100644 patches/lvm/2.03.22/lvm2-019-musl-basename.patch
- create mode 100644 patches/lvm/2.03.22/lvm2-020-freopen-musl.patch
-
-diff --git a/patches/lvm/2.03.22/lvm2-019-musl-basename.patch b/patches/lvm/2.03.22/lvm2-019-musl-basename.patch
-new file mode 100644
-index 00000000..2dd9f8ff
---- /dev/null
-+++ b/patches/lvm/2.03.22/lvm2-019-musl-basename.patch
-@@ -0,0 +1,34 @@
-+https://bugs.gentoo.org/937239
-+https://github.com/lvmteam/lvm2/commit/f98d2ffe8753895c84160a7abce4223bd127cd9e
-+
-+From f98d2ffe8753895c84160a7abce4223bd127cd9e Mon Sep 17 00:00:00 2001
-+From: Zdenek Kabelac <zkabelac@redhat.com>
-+Date: Wed, 27 Mar 2024 00:28:14 +0100
-+Subject: [PATCH] device_id: use dm_basename
-+
-+Avoid problems for other libc like muslc and use dm_basename.
-+
-+Prototype for basename has been removed from string.h from latest musl [1]
-+compilers e.g. clang-18 flags the absense of prototype as error. therefore
-+include libgen.h for providing it.
-+
-+[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
-+
-+Reported-by: Khem Raj <raj.khem@gmail.com>
-+---
-+ lib/device/device_id.c | 2 +-
-+ 1 file changed, 1 insertion(+), 1 deletion(-)
-+
-+diff --git a/lib/device/device_id.c b/lib/device/device_id.c
-+index 7d67a1cb7..200d39432 100644
-+--- a/lib/device/device_id.c
-++++ b/lib/device/device_id.c
-+@@ -740,7 +740,7 @@ static int _dev_read_sys_serial(struct cmd_context *cmd, struct device *dev,
-+ int ret;
-+
-+ /* /dev/vda to vda */
-+- base = basename(devname);
-++ base = dm_basename(devname);
-+
-+ /* vda1 to vda */
-+ for (i = 0; i < strlen(base); i++) {
-diff --git a/patches/lvm/2.03.22/lvm2-020-freopen-musl.patch b/patches/lvm/2.03.22/lvm2-020-freopen-musl.patch
-new file mode 100644
-index 00000000..2b3f0a91
---- /dev/null
-+++ b/patches/lvm/2.03.22/lvm2-020-freopen-musl.patch
-@@ -0,0 +1,54 @@
-+From 4cf08811e112100a2b10c60047f3c537ad21d674 Mon Sep 17 00:00:00 2001
-+From: David Seifert <soap@gentoo.org>
-+Date: Sat, 28 Jan 2023 14:22:42 +0100
-+Subject: [PATCH] Use `freopen()` on {stdin,stdout,stderr}
-+
-+* ISO C does not guarantee that the standard streams are modifiable
-+ lvalues. Glibc even calls out this behaviour as non-portable:
-+ https://www.gnu.org/software/libc/manual/html_node/Standard-Streams.html
-+--- a/lib/log/log.c
-++++ b/lib/log/log.c
-+@@ -208,7 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
-+
-+ _check_and_replace_standard_log_streams(old_stream, new_stream);
-+
-++#ifdef __GLIBC__
-+ *stream = new_stream;
-++#else
-++ freopen(NULL, mode, *stream);
-++#endif
-+ return 1;
-+ }
-+
-+--- a/tools/lvmcmdline.c
-++++ b/tools/lvmcmdline.c
-+@@ -3422,7 +3422,7 @@ static int _check_standard_fds(void)
-+ int err = is_valid_fd(STDERR_FILENO);
-+
-+ if (!is_valid_fd(STDIN_FILENO) &&
-+- !(stdin = fopen(_PATH_DEVNULL, "r"))) {
-++ !freopen(_PATH_DEVNULL, "r", stdin)) {
-+ if (err)
-+ perror("stdin stream open");
-+ else
-+@@ -3432,7 +3432,7 @@ static int _check_standard_fds(void)
-+ }
-+
-+ if (!is_valid_fd(STDOUT_FILENO) &&
-+- !(stdout = fopen(_PATH_DEVNULL, "w"))) {
-++ !freopen(_PATH_DEVNULL, "w", stdout)) {
-+ if (err)
-+ perror("stdout stream open");
-+ /* else no stdout */
-+@@ -3440,7 +3440,7 @@ static int _check_standard_fds(void)
-+ }
-+
-+ if (!is_valid_fd(STDERR_FILENO) &&
-+- !(stderr = fopen(_PATH_DEVNULL, "w"))) {
-++ !freopen(_PATH_DEVNULL, "w", stderr)) {
-+ printf("stderr stream open: %s\n",
-+ strerror(errno));
-+ return 0;
-+--
-+2.39.2
-+
-
-From a9f818ab719c294a3bdd6b25730bb1b6ac6c2173 Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 24 Nov 2024 07:33:50 -0800
-Subject: [PATCH 2/3] patches/kmod: add missing musl patch
-
-Signed-off-by: orbea <orbea@riseup.net>
----
- patches/kmod/31/kmod-31-musl-basename.patch | 113 ++++++++++++++++++++
- 1 file changed, 113 insertions(+)
- create mode 100644 patches/kmod/31/kmod-31-musl-basename.patch
-
-diff --git a/patches/kmod/31/kmod-31-musl-basename.patch b/patches/kmod/31/kmod-31-musl-basename.patch
-new file mode 100644
-index 00000000..f4839dad
---- /dev/null
-+++ b/patches/kmod/31/kmod-31-musl-basename.patch
-@@ -0,0 +1,113 @@
-+https://github.com/kmod-project/kmod/pull/32
-+
-+From 721ed6040c7aa47070faf6378c433089e178bd43 Mon Sep 17 00:00:00 2001
-+From: Khem Raj <raj.khem@gmail.com>
-+Date: Sat, 9 Dec 2023 17:35:59 -0800
-+Subject: [PATCH] Use portable implementation for basename API
-+
-+musl has removed the non-prototype declaration of basename from
-+string.h [1] which now results in build errors with clang-17+ compiler
-+
-+Implement GNU basename behavior using strchr which is portable across libcs
-+
-+Fixes
-+../git/tools/kmod.c:71:19: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
-+71 | "Commands:\n", basename(argv[0]));
-+| ^
-+
-+[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
-+
-+Suggested-by: Rich Felker
-+
-+Signed-off-by: Khem Raj <raj.khem@gmail.com>
-+--- a/libkmod/libkmod-config.c
-++++ b/libkmod/libkmod-config.c
-+@@ -794,7 +794,7 @@ static int conf_files_insert_sorted(struct kmod_ctx *ctx,
-+ bool is_single = false;
-+
-+ if (name == NULL) {
-+- name = basename(path);
-++ name = gnu_basename(path);
-+ is_single = true;
-+ }
-+
-+--- a/shared/util.c
-++++ b/shared/util.c
-+@@ -172,9 +172,9 @@ char *modname_normalize(const char *modname, char buf[static PATH_MAX], size_t *
-+
-+ char *path_to_modname(const char *path, char buf[static PATH_MAX], size_t *len)
-+ {
-+- char *modname;
-++ const char *modname;
-+
-+- modname = basename(path);
-++ modname = gnu_basename(path);
-+ if (modname == NULL || modname[0] == '\0')
-+ return NULL;
-+
-+--- a/shared/util.h
-++++ b/shared/util.h
-+@@ -5,6 +5,7 @@
-+ #include <stdbool.h>
-+ #include <stdlib.h>
-+ #include <stdio.h>
-++#include <string.h>
-+ #include <sys/types.h>
-+ #include <sys/stat.h>
-+ #include <time.h>
-+@@ -76,6 +77,12 @@ do { \
-+ __p->__v = (val); \
-+ } while(0)
-+
-++static _always_inline_ const char *gnu_basename(const char *s)
-++{
-++ const char *p = strrchr(s, '/');
-++ return p ? p+1 : s;
-++}
-++
-+ static _always_inline_ unsigned int ALIGN_POWER2(unsigned int u)
-+ {
-+ return 1 << ((sizeof(u) * 8) - __builtin_clz(u - 1));
-+--- a/testsuite/testsuite.c
-++++ b/testsuite/testsuite.c
-+@@ -70,7 +70,7 @@ static void help(void)
-+
-+ printf("Usage:\n"
-+ "\t%s [options] <test>\n"
-+- "Options:\n", basename(progname));
-++ "Options:\n", gnu_basename(progname));
-+
-+ for (itr = options, itr_short = options_short;
-+ itr->name != NULL; itr++, itr_short++)
-+--- a/tools/depmod.c
-++++ b/tools/depmod.c
-+@@ -762,7 +762,7 @@ static int cfg_files_insert_sorted(struct cfg_file ***p_files, size_t *p_n_files
-+ if (name != NULL)
-+ namelen = strlen(name);
-+ else {
-+- name = basename(dir);
-++ name = gnu_basename(dir);
-+ namelen = strlen(name);
-+ dirlen -= namelen + 1;
-+ }
-+--- a/tools/kmod.c
-++++ b/tools/kmod.c
-+@@ -68,7 +68,7 @@ static int kmod_help(int argc, char *argv[])
-+ "Options:\n"
-+ "\t-V, --version show version\n"
-+ "\t-h, --help show this help\n\n"
-+- "Commands:\n", basename(argv[0]));
-++ "Commands:\n", gnu_basename(argv[0]));
-+
-+ for (i = 0; i < ARRAY_SIZE(kmod_cmds); i++) {
-+ if (kmod_cmds[i]->help != NULL) {
-+@@ -156,7 +156,7 @@ static int handle_kmod_compat_commands(int argc, char *argv[])
-+ const char *cmd;
-+ size_t i;
-+
-+- cmd = basename(argv[0]);
-++ cmd = gnu_basename(argv[0]);
-+
-+ for (i = 0; i < ARRAY_SIZE(kmod_compat_cmds); i++) {
-+ if (streq(kmod_compat_cmds[i]->name, cmd))
-+
-
-From 1c7bf8a58143807134f6427ab3d7e063df3038e6 Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 24 Nov 2024 07:34:47 -0800
-Subject: [PATCH 3/3] Bump eudev to v3.2.14
-
-Update to a version that builds with musl.
-
-Signed-off-by: orbea <orbea@riseup.net>
----
- .../eudev-3.2.14-static.patch} | 17 ++++++++---------
- 1 file changed, 8 insertions(+), 9 deletions(-)
- rename patches/eudev/{3.2.10/eudev-3.2.10-static.patch => 3.2.14/eudev-3.2.14-static.patch} (81%)
-
-diff --git a/patches/eudev/3.2.10/eudev-3.2.10-static.patch b/patches/eudev/3.2.14/eudev-3.2.14-static.patch
-similarity index 81%
-rename from patches/eudev/3.2.10/eudev-3.2.10-static.patch
-rename to patches/eudev/3.2.14/eudev-3.2.14-static.patch
-index fc36b547..88bc1e15 100644
---- a/patches/eudev/3.2.10/eudev-3.2.10-static.patch
-+++ b/patches/eudev/3.2.14/eudev-3.2.14-static.patch
-@@ -1,14 +1,14 @@
- --- a/configure.ac
- +++ b/configure.ac
--@@ -261,7 +261,7 @@ AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules s
-+@@ -252,7 +252,7 @@ AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules s
- if test "x$enable_kmod" != "xno"; then
-- PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no)
-- if test "x$have_kmod" = "xyes"; then
--- PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ],
--+ PKG_CHECK_MODULES_STATIC(KMOD, [ libkmod >= 15 ],
-- [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])],
-- AC_MSG_ERROR([*** kmod version >= 15 not found]))
-- fi
-+ PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no)
-+ if test "x$have_kmod" = "xyes"; then
-+- PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ],
-++ PKG_CHECK_MODULES_STATIC(KMOD, [ libkmod >= 15 ],
-+ [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])],
-+ AC_MSG_ERROR([*** kmod version >= 15 not found]))
-+ fi
- --- a/src/ata_id/Makefile.am
- +++ b/src/ata_id/Makefile.am
- @@ -11,6 +11,8 @@ udevlibexec_PROGRAMS = \
-@@ -94,4 +94,3 @@
- v4l_id_LDADD = \
- $(top_builddir)/src/libudev/libudev-private.la \
- $(top_builddir)/src/udev/libudev-core.la
--
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.16-posix-shell.patch b/sys-kernel/genkernel/files/genkernel-4.3.16-posix-shell.patch
deleted file mode 100644
index da1341e97e4f..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.16-posix-shell.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://github.com/gentoo/genkernel/pull/60
-
-From c270c3667e04bc60fcdd9ffcc76d4d2c5a8b9d6d Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 12 May 2024 08:05:09 -0700
-Subject: [PATCH] build: fix for POSIX shells
-
-When building genkernel where /bin/sh is a POSIX shell such as lksh
-(mksh) it will install a malformed software.sh. This is because 'echo
--e' is not portable shell. This can be fixed by using 'printf' instead.
-
-Signed-off-by: orbea <orbea@riseup.net>
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 1e20ef5d..637ef1e3 100644
---- a/Makefile
-+++ b/Makefile
-@@ -69,7 +69,7 @@ SOFTWARE = BCACHE_TOOLS \
- ZLIB \
- ZSTD
-
--SOFTWARE_VERSION = $(foreach entry, $(SOFTWARE), "VERSION_$(entry)=${VERSION_$(entry)}\n")
-+SOFTWARE_VERSION = $(foreach entry, $(SOFTWARE), "VERSION_$(entry)=${VERSION_$(entry)}")
-
- PREFIX = /usr/local
- BINDIR = $(PREFIX)/bin
-@@ -183,7 +183,7 @@ $(BUILD_DIR)/build-config:
-
- $(BUILD_DIR)/software.sh:
- install -d $(BUILD_DIR)/temp/
-- echo -e $(SOFTWARE_VERSION) > $(BUILD_DIR)/temp/versions
-+ printf '%s\n' $(SOFTWARE_VERSION) > $(BUILD_DIR)/temp/versions
- cat $(BUILD_DIR)/temp/versions defaults/software.sh > $(BUILD_DIR)/software.sh
-
- $(BUILD_DIR)/doc/genkernel.8.txt:
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.17-libxcrypt-build-fix.patch b/sys-kernel/genkernel/files/genkernel-4.3.17-libxcrypt-build-fix.patch
deleted file mode 100644
index 92a489bab169..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.17-libxcrypt-build-fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 55175db4fa62748524da5bf17eb1b806e8540988 Mon Sep 17 00:00:00 2001
-From: Ben Kohler <bkohler@gentoo.org>
-Date: Thu, 12 Feb 2026 11:40:23 -0600
-Subject: [PATCH] gkbuilds: fix libxcrypt build on newer gcc
-
-Bug: https://bugs.gentoo.org/969848
-Signed-off-by: Ben Kohler <bkohler@gentoo.org>
----
- gkbuilds/libxcrypt.gkbuild | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gkbuilds/libxcrypt.gkbuild b/gkbuilds/libxcrypt.gkbuild
-index 1834e25..c4c84ee 100644
---- a/gkbuilds/libxcrypt.gkbuild
-+++ b/gkbuilds/libxcrypt.gkbuild
-@@ -11,6 +11,7 @@ src_configure() {
- local myopts=(
- --enable-shared
- --enable-static
-+ --disable-werror
- )
-
- gkconf "${myopts[@]}"
---
-2.53.0
-
diff --git a/sys-kernel/genkernel/files/genkernel-4.bash b/sys-kernel/genkernel/files/genkernel-4.bash
deleted file mode 100644
index f72aa7a22409..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.bash
+++ /dev/null
@@ -1,74 +0,0 @@
-# genkernel (8) completion
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# Written by Aron Griffis <agriffis@gentoo.org>
-
-_genkernel()
-{
- declare cur prev genkernel_help actions params
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- prev=${COMP_WORDS[COMP_CWORD-1]}
-
- # extract initial list of params/actions from genkernel --help
- genkernel_help=$(command genkernel --help 2>/dev/null)
- actions=( $(<<<"$genkernel_help" sed -n \
- '/^Available Actions:/,/^$/s/^[[:space:]]\+\([^[:space:]]\+\).*/\1/p') )
- params=( $(<<<"$genkernel_help" egrep -oe '--[^[:space:]]{2,}') )
-
- # attempt to complete the current parameter based on the list
- COMPREPLY=($(compgen -W "${params[*]/=*/=} ${actions[*]}" -- "$cur"))
-
- # if we don't have a rhs to complete
- if [[ ${#COMPREPLY[@]} -gt 1 ]]; then
- return
- elif [[ ${#COMPREPLY[@]} -eq 0 && $cur != --*=* ]]; then
- return
- elif [[ ${#COMPREPLY[@]} -eq 1 && $COMPREPLY != --*= ]]; then
- # using nospace completion, add an explicit space
- COMPREPLY="${COMPREPLY} "
- return
- fi
-
- # we have a unique lhs and need to complete the rhs
- declare args lhs rhs
- if [[ ${#COMPREPLY[@]} -eq 1 ]]; then
- lhs=$COMPREPLY
- else
- lhs=${cur%%=*}=
- rhs=${cur#*=}
- fi
-
- # genkernel's help gives clues as to what belongs on the rhs.
- # extract the clue for the current parameter
- args=" ${params[*]} "
- args="${args##* $lhs}"
- args="${args%% *}"
-
- # generate a list of completions for the argument; this replaces args with
- # an array of results
- args=( $(case $args in
- ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;;
- ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;;
- ('<archive>') compgen -G '*.tar.xz' -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;;
- ('<dir>'|'<path>') compgen -A directory -S / -- "$rhs" ;;
-
- (*) compgen -o bashdefault -- "$rhs" ;; # punt
- esac) )
-
- # we're using nospace completion to prevent spaces after paths that aren't
- # "done" yet. So do some hacking to the args to add spaces after
- # non-directories.
- declare slash=/
- args=( "${args[@]/%/ }" ) # add space to all
- args=( "${args[@]/%$slash /$slash}" ) # remove space from dirs
-
- # recreate COMPREPLY
- if [[ $cur == "$lhs"* ]]; then
- COMPREPLY=( "${args[@]}" )
- elif [[ ${#args[@]} -gt 0 ]]; then
- COMPREPLY=( "${args[@]/#/$lhs}" )
- fi
-}
-
-complete -o nospace -F _genkernel genkernel
diff --git a/sys-kernel/genkernel/files/initramfs.mounts b/sys-kernel/genkernel/files/initramfs.mounts
deleted file mode 100644
index b34c67502307..000000000000
--- a/sys-kernel/genkernel/files/initramfs.mounts
+++ /dev/null
@@ -1,23 +0,0 @@
-# This specifies which mounts from your fstab should be mounted before
-# switching to the real root. If this file is missing, genkernel's code will
-# default to just "/usr", which will suffice on most systems with a seperate
-# /usr mount.
-#
-# If you have a complex configuration with a bindmount or symlink at /usr, or
-# need some other mountpoints at boot, you should update this file such that
-# /usr and anything else needed will be available after the switch into the
-# real root.
-#
-# The lines without comments in this file are used as exact matches against the
-# second column of your /etc/fstab and the device, fstype and mount options are
-# taken from that line in fstab. If no line matches, the line from this file
-# will be ignored.
-#
-
-/usr
-
-# If you had some need of these:
-#/usr/local
-#/opt
-#/var
-#/home
diff --git a/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch b/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch
deleted file mode 100644
index e39d7959b331..000000000000
--- a/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/udev/69-dm-lvm.rules.in
-+++ b/udev/69-dm-lvm.rules.in
-@@ -76,7 +76,7 @@
- # it's better suited to appearing in the journal.
-
- IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
--ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
-+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
- GOTO="lvm_end"
-
- LABEL="lvm_end"
diff --git a/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch b/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch
deleted file mode 100644
index 29c050bbd6ff..000000000000
--- a/sys-kernel/genkernel/files/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/udev/69-dm-lvm.rules.in
-+++ b/udev/69-dm-lvm.rules.in
-@@ -76,7 +76,7 @@
- # it's better suited to appearing in the journal.
-
- IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
--ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
-+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints --noudevsync --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
- GOTO="lvm_end"
-
- LABEL="lvm_end"
diff --git a/sys-kernel/genkernel/genkernel-4.3.17-r4.ebuild b/sys-kernel/genkernel/genkernel-4.3.17-r4.ebuild
deleted file mode 100644
index 89d3629340dc..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.17-r4.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.1_p20230217"
-# boost-1.84.0 needs dev-build/b2 packaged
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="6.7.1"
-VERSION_BUSYBOX="1.36.1"
-VERSION_COREUTILS="9.4"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.14"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.47.3"
-VERSION_FUSE="2.9.9"
-# gnupg-2.x needs several new deps packaged
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-# open-iscsi-2.1.9 static build not working yet
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.18"
-VERSION_KMOD="31"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.10.3"
-VERSION_LIBGPGERROR="1.51"
-VERSION_LIBXCRYPT="4.4.38"
-VERSION_LVM="2.03.22"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.2"
-VERSION_POPT="1.19"
-VERSION_STRACE="6.15"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-# unionfs-fuse-3.4 needs fuse:3
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.39.3"
-VERSION_XFSPROGS="6.4.0"
-VERSION_XZ="5.4.2"
-VERSION_ZLIB="1.3.1"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/snapshot/a5e3753516bd39c431def86c8dfec8a9cea1ddd4.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://github.com/eudev-project/eudev/releases/download/v${VERSION_EUDEV}/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~bkohler/dist/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware systemd"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-DEPEND="
- app-text/asciidoc
-"
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- dev-build/cmake
- dev-build/libtool
- dev-util/gperf
- sys-apps/sandbox
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )
-"
-
-PATCHES=(
- "${FILESDIR}"/genkernel-4.3.16-globbing-workaround.patch
- "${FILESDIR}"/genkernel-4.3.17-libxcrypt-build-fix.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Export all the versions that may be used by genkernel build.
- for v in $(set |awk -F= '/^VERSION_/{print $1}') ; do
- export ${v}
- done
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
-}
-
-src_compile() {
- emake PREFIX=/usr
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install
- dodoc AUTHORS ChangeLog README TODO
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-
- # Workaround for bug 944499, for now this patch will live in FILESDIR and is
- # conditionally installed but we could add it to genkernel.git and conditionally
- # remove it here instead.
- if ! use systemd; then
- insinto /usr/share/genkernel/patches/lvm/${VERSION_LVM}/
- doins "${FILESDIR}"/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch
- fi
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.18.ebuild b/sys-kernel/genkernel/genkernel-4.3.18.ebuild
deleted file mode 100644
index f1b908e60a03..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.18.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.1_p20230217"
-VERSION_BOOST="1.90.0"
-VERSION_BTRFS_PROGS="6.7.1"
-VERSION_BUSYBOX="1.36.1"
-VERSION_B2=5.4.2
-VERSION_COREUTILS="9.4"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.14"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.47.3"
-VERSION_FUSE="2.9.9"
-# gnupg-2.x needs several new deps packaged
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-# open-iscsi-2.1.9 static build not working yet
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.18"
-VERSION_KMOD="31"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.10.3"
-VERSION_LIBGPGERROR="1.51"
-VERSION_LIBXCRYPT="4.4.38"
-VERSION_LVM="2.03.22"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.2"
-VERSION_POPT="1.19"
-VERSION_STRACE="6.15"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-# unionfs-fuse-3.4 needs fuse:3
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.39.3"
-VERSION_XFSPROGS="6.4.0"
-VERSION_XZ="5.4.2"
-VERSION_ZLIB="1.3.1"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/snapshot/a5e3753516bd39c431def86c8dfec8a9cea1ddd4.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- https://github.com/bfgroup/b2/archive/refs/tags/${VERSION_B2}.tar.gz -> b2-${VERSION_B2}.tar.gz
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://github.com/eudev-project/eudev/releases/download/v${VERSION_EUDEV}/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~bkohler/dist/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware systemd"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-DEPEND="
- app-text/asciidoc
-"
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- dev-build/cmake
- dev-build/libtool
- dev-util/gperf
- sys-apps/sandbox
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )
-"
-
-PATCHES=(
- "${FILESDIR}"/genkernel-4.3.16-globbing-workaround.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Export all the versions that may be used by genkernel build.
- for v in $(set |awk -F= '/^VERSION_/{print $1}') ; do
- export ${v}
- done
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
-}
-
-src_compile() {
- emake PREFIX=/usr
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install
- dodoc AUTHORS ChangeLog README TODO
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-
- # Workaround for bug 944499, for now this patch will live in FILESDIR and is
- # conditionally installed but we could add it to genkernel.git and conditionally
- # remove it here instead.
- if ! use systemd; then
- insinto /usr/share/genkernel/patches/lvm/${VERSION_LVM}/
- doins "${FILESDIR}"/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch
- fi
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild
deleted file mode 100644
index f1b908e60a03..000000000000
--- a/sys-kernel/genkernel/genkernel-9999.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.1_p20230217"
-VERSION_BOOST="1.90.0"
-VERSION_BTRFS_PROGS="6.7.1"
-VERSION_BUSYBOX="1.36.1"
-VERSION_B2=5.4.2
-VERSION_COREUTILS="9.4"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.14"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.47.3"
-VERSION_FUSE="2.9.9"
-# gnupg-2.x needs several new deps packaged
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-# open-iscsi-2.1.9 static build not working yet
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.18"
-VERSION_KMOD="31"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.10.3"
-VERSION_LIBGPGERROR="1.51"
-VERSION_LIBXCRYPT="4.4.38"
-VERSION_LVM="2.03.22"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.2"
-VERSION_POPT="1.19"
-VERSION_STRACE="6.15"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-# unionfs-fuse-3.4 needs fuse:3
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.39.3"
-VERSION_XFSPROGS="6.4.0"
-VERSION_XZ="5.4.2"
-VERSION_ZLIB="1.3.1"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/snapshot/a5e3753516bd39c431def86c8dfec8a9cea1ddd4.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- https://github.com/bfgroup/b2/archive/refs/tags/${VERSION_B2}.tar.gz -> b2-${VERSION_B2}.tar.gz
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://github.com/eudev-project/eudev/releases/download/v${VERSION_EUDEV}/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~bkohler/dist/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware systemd"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-DEPEND="
- app-text/asciidoc
-"
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- dev-build/cmake
- dev-build/libtool
- dev-util/gperf
- sys-apps/sandbox
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )
-"
-
-PATCHES=(
- "${FILESDIR}"/genkernel-4.3.16-globbing-workaround.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Export all the versions that may be used by genkernel build.
- for v in $(set |awk -F= '/^VERSION_/{print $1}') ; do
- export ${v}
- done
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
-}
-
-src_compile() {
- emake PREFIX=/usr
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install
- dodoc AUTHORS ChangeLog README TODO
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-
- # Workaround for bug 944499, for now this patch will live in FILESDIR and is
- # conditionally installed but we could add it to genkernel.git and conditionally
- # remove it here instead.
- if ! use systemd; then
- insinto /usr/share/genkernel/patches/lvm/${VERSION_LVM}/
- doins "${FILESDIR}"/lvm2-2.03.20-dm_lvm_rules_no_systemd_v2.patch
- fi
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/metadata.xml b/sys-kernel/genkernel/metadata.xml
deleted file mode 100644
index 7d3f4ace3350..000000000000
--- a/sys-kernel/genkernel/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>genkernel@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="firmware">Prefer system firmware <pkg>sys-kernel/linux-firmware</pkg> over local copy.</flag>
- </use>
- <upstream>
- <remote-id type="gentoo">proj/genkernel</remote-id>
- <remote-id type="github">gentoo/genkernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
deleted file mode 100644
index 64905cc27e66..000000000000
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ /dev/null
@@ -1,98 +0,0 @@
-DIST gentoo-kernel-5.10.257_p1-1.amd64.gpkg.tar 65945600 BLAKE2B 167642c3ad78bec505f3d41fa2417ea73aa4c242c01e067f3f8b362c0f3a4831da51394a78710fadba3fbfa69db599f9479b5778617238251e467e04969017a2 SHA512 b39fad9225f38fde1e240eac8288083f34d39ad5782b27424b468ece9abc987b85fe1e456daaf5db6c9843da3ac2770229753799274004e1406bf11354617456
-DIST gentoo-kernel-5.10.257_p1-1.arm64.gpkg.tar 59944960 BLAKE2B da238845c5336d37f209b833395c5f0e89261860d40bb5adef5a7479edb0bbd12d55fd158d9b2dbdbb085db9f9f61a00b7078b84b730556c2c3b7b0528af4073 SHA512 e322422e72e01adc4beb0d3f458cce98434f5ab77aca4b37278a0bbe384d7349b23eb45f516d8372c25146baeeb5255e8a736adef42f27b7c213e164fe1068ff
-DIST gentoo-kernel-5.10.257_p1-1.ppc64le.gpkg.tar 55388160 BLAKE2B 73482cef029ff621a267aecd7e2c59c93c590377e5ccbc142a1bd2fb08119030a595567ec2b3764b2503fd866cc683ca1e8db5fc9f579e20ae3c37ce920ba12c SHA512 1e7be6e6d51f8f6d32a3af3dd78da8e693da556158054e55e99fee298f2552b87d1d8a1eb8d3baaf39819ed804974f6b5d7d2558e80a2f91d67d0366e39086c6
-DIST gentoo-kernel-5.10.257_p1-1.x86.gpkg.tar 55961600 BLAKE2B c6497c188b170c3c461759de46936046cff7ec43443c2049cbba78deb234a744b5823904662634c4c674fe3c713aa2afb761998a0d52f143c2a11b9feb4e6ff5 SHA512 c3c0399117d9c10411d3cac011e448ace2bc1415faaacecaedc488b0abe23abe533b5d5f3bbf0d80c42b19cebae5e99d7dcb9cc3c1a3447993b374dc12aed173
-DIST gentoo-kernel-5.10.258-1.amd64.gpkg.tar 65945600 BLAKE2B 83a28eded32e9dff39d2ecab1655426a36ddeba73e93262184b9eff47043049e59a9a97aa9762128271d30f3aae92c4dd4f1f6e3f3413c894bdd88a21f576725 SHA512 e1bd6a9ba892344bb99aa157ec440739da8c6f8fc5b985d194caf4e1054e577073c607a7464086d70bbf9c14f1bfe7e79225bd88e367ad2f0d0f221b0bb51e7b
-DIST gentoo-kernel-5.10.258-1.arm64.gpkg.tar 59934720 BLAKE2B 4c9262eda62dcbe4acea8be2892132298d6c22027de693f1d9ee4e7dd0a8ceeed6fdb6d8ff22b8e6dec726beeded1c66919cb966b7c83e631b696a4862ec535f SHA512 449ef9db991c652b2d8beeda40c0771048c03080bd9b2a26c0a5ecc7b6cff59d2939ac8ee99fb5cb7e0f5f69dcadaa94273ffba5f77bc16400402fff8ad96d42
-DIST gentoo-kernel-5.10.258-1.ppc64le.gpkg.tar 55388160 BLAKE2B f2dfd5731b2b13cf3d6525b0e32680ebd183ad0db26bbae9878ca61b28792012dd346c4389c17e45b47d937ccb4ec3a986fda889f4e992c4da3d87cac7a5e28d SHA512 c5f8a5e0e3bd198c1737a8b51c418815c26c53e6d8982c5f2935c58ea3eef4f5eb072bae729d87eb615ba4dc3fe803779b666e115d572d075e5760778a0a6676
-DIST gentoo-kernel-5.10.258-1.x86.gpkg.tar 55971840 BLAKE2B 6b5f4248d1cd64617fd23075b0613f71264bdce8c8d4bdb9b65c737631b2b75eae5be2f7e293efeb4efbaae20200f8f5c491fe3d5a15e9f93ca8156d973f8e13 SHA512 279c6ed119ba6c37e0097704c9e9cd3fa0ae9fdcffd27a42df088a4f9e253d705333389871290903b671e5efc352a562914337f59760e76f404403fe374d86e7
-DIST gentoo-kernel-5.15.208_p1-1.amd64.gpkg.tar 71157760 BLAKE2B 5ed297077c02e46034c064949b55852d73248c8685c847f43523dba4304ac476cd4bb46ab8feefb074544b823505ec4d73c7dea465ca5c379cdda82ecd6943d1 SHA512 fd956ba04d062787cba94cf4d942b9c5953c83d27f48098ed38a7521ed0dc36b8b4c007f4a324c373fa43d3f4769af1cdaa68c365544dca7b39ddd195da4686b
-DIST gentoo-kernel-5.15.208_p1-1.arm64.gpkg.tar 65771520 BLAKE2B 6c5c219b5a9b36abe9bc42cf00cb7da4a19560c694f75de462b7958a63d30494902ceded95a8de74c97287c093fb9504db40d501c7400c16a7390222de658c7f SHA512 c91c3a5d420705206b8aaccac923f3a1a21e213f7dae2af1d725f65737eb6a5cd864aba1b4a543b13f13b1bb275b2a998067a9034f25beafc997a4fcdb47b6aa
-DIST gentoo-kernel-5.15.208_p1-1.ppc64le.gpkg.tar 59351040 BLAKE2B 4940d606ae173c2dfe55e5239919c96f02a38df522163cf40848168f787f1984ffe6d2a887855c0ad5f73cc7a2aa435719ef5baeaf1f5fcf13e0e50188583ecc SHA512 b492b4d3ea3abe9744940481d7c2dcddeca0b0a4c98129bb6eaec5a977dbdf6c42a919b91dcacc9814715f74b3e22c5d8ae1147796931ec5ea5702064626a631
-DIST gentoo-kernel-5.15.208_p1-1.x86.gpkg.tar 61030400 BLAKE2B 1db8892e7c723b13670a90b50c44d77b58e3d400585dcd86a08fa8e786e473a2ae51fb9ef6d60a0c2b058280e2faae2ef18575fe75e3210f5dbe5c97ac234a4f SHA512 00e35e481364f930c4700e4ff7acddbd66453a81ebff24ccf800c45473b14d4cb88c801201a1ae85fcad6eb95b25ddbcdc7df34e39f0e11d6e46a85e8fca1cf2
-DIST gentoo-kernel-5.15.209-1.amd64.gpkg.tar 71168000 BLAKE2B 4562192ddac73afc0dc7ed2d4a26ffe2cd8ea06d5183b4549f0b3b0307d2ea0469ba388ac25f3404bcc5b1c92f65239395060410e0806ab5a7ac371c78764e94 SHA512 07912ee9005b2e1b93a6547c58492660ae59f8387afa6de870ff8b2d1bf04e04e012cbde8aacd7dca13cbabeae1acf4a1e30ef7dcccb95201d0747bf251d5ad5
-DIST gentoo-kernel-5.15.209-1.arm64.gpkg.tar 65781760 BLAKE2B 6fe456dacf9b57bb4e09bc5b5b5e83c62c1f93ce9664b92c35b7da66d55efdaf2e0377524d020a1d3e1d60c9f9e8ab17963ac3116f4c9bab48ffd170384f9678 SHA512 904bae19155ae9efe5a0b3061322cc8ea6537a6e8544fee0cec4ec0bdef3933ada84925049379bc834bf398546d7aebabf9861270207835bbe64b234d9ab4123
-DIST gentoo-kernel-5.15.209-1.ppc64le.gpkg.tar 59351040 BLAKE2B 3bde862aa20809a7ebd46a252d61bc1c47f4e9255a70ac43ccc53bc4d9e23436278c760ac36e84fe4bdfc6c6a0854776c006022e86335dba1aa743279f90cc4e SHA512 c79cc1f0627cb28d03ae552f372d2935feaaf313275c488095b38eae51fa32d4a0f74992eea5e6b29f7354a6c81a39cc9a190165a7e7c675d10e051f0eac6fbf
-DIST gentoo-kernel-5.15.209-1.x86.gpkg.tar 61030400 BLAKE2B 89325408d285f29fce9b44dcd249fc69afc7d4857e2e31a78aaa3168c44b6050ac2e92a7b4c9291baf22ef5449252e1e941a8cc2037b67ed31b8b612e2bef26e SHA512 d7c186f55fc0bf6396e4d215eee6810d263f3cc8f2f4e845d5a7a2fc41f4124d8204f009a08ffe631ae53a7a1741a5e4abd91a6f66e8055fc2b84d3d91ae08ba
-DIST gentoo-kernel-6.1.174_p1-1.amd64.gpkg.tar 75560960 BLAKE2B 909401e0437bbce80dadc97f9d95a158a1bda3f10d898e95d9ebf4a3a3c0c2a79c3b41be9f908e56a6c182e37b542bf7b368ba0a007b40b3f3ebd3270b9e3716 SHA512 949cd85dd6b64d80f4f234f46a7905495549ea71fa9677635117b6ccea78ff70dcd23a07b91499d063b5d86565ebfaf914cc0cabf7d1fcafc47a8818c674046c
-DIST gentoo-kernel-6.1.174_p1-1.arm64.gpkg.tar 69140480 BLAKE2B 098e9003e2a00e87b58a99136734f3ad358174672e3f4479c674078611260e259d1199bd64885714c9361462613beb511eca3e1074d3b152821f8bde8ed3b9c7 SHA512 f147306157f94c05035f15c4e6873f3a8194216db9a45010cebd6caac15589f8a2754466eafd538e73cf58677b3073a9f3a16b2e50833d5b4cfe48544c183383
-DIST gentoo-kernel-6.1.174_p1-1.ppc64le.gpkg.tar 62586880 BLAKE2B 777411ed6cd2b7a1b4a5d7c17b527ee5af6bd33133c846638f9968fc27e68b5f7f5bffdbad23d352d885c105b96b9c3addd16a43d5b01041cc5d787e3fac99c8 SHA512 adb7232c0b95f57a9cbc695b01f45c3a709da10a84617b2536a0b7855248e3408194880cc9574cc745abe3a6b6c30af570a2964283357d1df08181077bae0fd5
-DIST gentoo-kernel-6.1.174_p1-1.x86.gpkg.tar 64798720 BLAKE2B c3cace23195ed892d630a229526fef50c89cbb30a595ae83cab6f569a2a9f45c9f2726cd96056f19741a5e557feeb002ea300a8d9ac57c05a4a42f7607184e52 SHA512 b8c90db9d6560156e9c3a5238a07e7ca8d196cbfe21008b013e98eec3e97c8d4d8371f3c42cfab0c1cbb9fbd39b2771fe3b69c7bdf428e8c9b0967e0070fb9bd
-DIST gentoo-kernel-6.1.175-1.amd64.gpkg.tar 75540480 BLAKE2B 035470e7c4c5409926bc0403311336a9fb18c7e3e5d28638a54672f0266f0e5f6c9859ebe20fca3ad83c434d8d8edb9de5b4eda8ee7cdcf5c65f8b56319f3333 SHA512 2e15fb15b03a63101534d3b21dfb4e69ea2e54bf09d402d037ae41cb91b9d879c8fff575680aba49c5c54e90c4f74a9b63c2d4dfa9fc77418916e58cd31259c8
-DIST gentoo-kernel-6.1.175-1.arm64.gpkg.tar 69140480 BLAKE2B c5415e8b72241bdb4b0a0a9778e5aae31db84d47d704a529f1e8763aaa0efb14288ad9b6a6ccc5dbe4c83095465d1f2b54649f654f3a67faa66c2a7e007c63d6 SHA512 4dbf2f136dc5e7ea891af029015a11659bf178c7c01c6da005fc4bb4bebe82b784487fbfa844ee2ce499ac29e9f98667c993e3e7111c8e5a6f2b936917f9a910
-DIST gentoo-kernel-6.1.175-1.ppc64le.gpkg.tar 62627840 BLAKE2B 81dd3cd1f8fb2b05b9097d705843fb3dd534036901e3bfd33ca07ff8f87bd8c42e65125db82f5d5bea7d0c06e4a9868659d000342efaa5dc3e7465d4e304d386 SHA512 2d215a541f0e92564001a182e6610ab82518c0bc2086047217c6e511051f17c8451463dfcb720784942512289eacedb634e033a6db0ee3aa78fbcdcd8c5ad36d
-DIST gentoo-kernel-6.1.175-1.x86.gpkg.tar 64819200 BLAKE2B d98189242a9cae5ad4e480798d097b5e4301608791445bf8b95f05484e69ce0a96517f14fb928e9e0d1d4a1f5ccd18cc35d310ec8b86727c4157f5d84b88d79d SHA512 122348b149f6712eab9972b9debb1fa2925c6709de5fdd2c9fe3db6704cc67f8c1869348d5df0d36cc566d15834c80f2b4301d665534e7d8ee96041081ec64ef
-DIST gentoo-kernel-6.12.91_p1-1.amd64.gpkg.tar 326184960 BLAKE2B 71f65d47fb3606ece6b4c69d0a71be11ce74c46c4712545c67172b0154d1de3299292bbc8ab3504e8a715cd5d3baea48733ca50b61e795d6e77829a03d303145 SHA512 4971693ba32f9c7dc5a953cec20daa6d6ddac07221d4250259d9060df9cb37827d5dadd457b5a2e28a6a9fd10b762396daf845e86f3045b7ba3e895bac4e22b7
-DIST gentoo-kernel-6.12.91_p1-1.arm64.gpkg.tar 295854080 BLAKE2B 3162945e34f194fcf90bb55c2c4d50ed13e2c615f493c021a6677960a42d26f4b9c662297284a430b49c468791f249014c7c7ca48b27b13f9da8955cd87a62e2 SHA512 8080e1b0ecceefa8ea613e2c5f2d9f6ce391926a34acb65d717893a59ff6c4bc4862272c457119e0ec54e5baaa0ab1dfbe59b0b72ee81bbf2b65250a7d35395c
-DIST gentoo-kernel-6.12.91_p1-1.ppc64le.gpkg.tar 73953280 BLAKE2B 40e844d12822444025376e3d5249899177b719fbf6f8d480caf949f1ce71cf629f2d8f5a346b2ec844c6470592d047de67fb801ac6408b3d65b18825e470fe48 SHA512 90f0223dae199e105a883e021b7a6186327005230d7248f763579ac00cbc3f21827a63a1ea49f249652777aaaf2b5a575091c02b4a457492004a1cb0a23f8a01
-DIST gentoo-kernel-6.12.91_p1-1.x86.gpkg.tar 77731840 BLAKE2B 38512b270e927941af41864705f7c2075c027ac0f308b6083841f2c9006038f048e172391fcbc301107df7c47c9eedc12ad95d72cfaa903ee8592517b264f9ae SHA512 f478370b4466895c7651333c70c9974ee8e6beb8320871d2479938661cca5929c35747f41df075f26cb9b1fef446cb82a26cce677c42d58dd33830e7f82286b4
-DIST gentoo-kernel-6.12.92-1.amd64.gpkg.tar 326297600 BLAKE2B 5e7d107a7abd151e42abbe7d41b59808877fe929adeaa67df0618a234856aeab14b83f6da9301e244c618455d9f64a6732a80cab80cc7c2eac768ff34f3fe8ed SHA512 05b3e2670223603dd2561772999b345dcdb325b01e6e288bc106d37e180cc89b5251a79f92c63088187dd1d9ef440f0ba32aef5f1b7047dce7a0c1a978364cdb
-DIST gentoo-kernel-6.12.92-1.arm64.gpkg.tar 295854080 BLAKE2B 424a057ead73f11cc2c162703e26174708cb29ed06990d18a6f529c60596352727f0164e28b12da19f716a2a3dabac0ff8a83bc60b7fce8d8ffec25875d6cfa3 SHA512 2e7d09438d781249815ab8d15558192f5acd58ac5c73ef925bb51a0ef90b10cb2cd1ec09e9dc5e7ef13c6aeb97637ec85130f0d4aa0daead19605a7bbdfbf1e4
-DIST gentoo-kernel-6.12.92-1.ppc64le.gpkg.tar 74004480 BLAKE2B 51cc01f47b991d1f5127d1d73045d9e431bcb3a40ced314e1b15019a58c07e8a3ad5cd256782930412d7d989a1d3e937491f5db225599a1e8b995a2b0f47a787 SHA512 effd0865c1155dac140844b3f5035ee7138faeb6d3bf660df4b5b60469bae3bf71c4c1c5f7a44070b20d70bbac69af3590bdc99f1d9d2f77f3b1b73d4ffd0a3b
-DIST gentoo-kernel-6.12.92-1.x86.gpkg.tar 77731840 BLAKE2B 30ad422b5f5dd12df433c292ce3f31dbee352a1b9654c3ff9c8a55651c9c2863d1c93a369f5b3187250b002b83417a7d2a25ba66a319f6369148a6e8a1779815 SHA512 eab4abc4db31ac317b1cc53979f41a6e8278f395cda16b5978b0cdc18cecf3c8417c1f2aa9851be7d16c67195773b61ea972302f078ded2f10e819b895f852ce
-DIST gentoo-kernel-6.18.33_p1-1.amd64.gpkg.tar 466268160 BLAKE2B e902fa59a62d2d1bdee97c21b9270effe42e4f755c49edab17ac62fdbae55a594b660aa59fc51e91d1d6688117f75f03294581a831a4cff1d65983e254b7bde9 SHA512 28de743061de439cea8b604e55133e8bcc9fd4b258ba622ace915f1a526b8dc381aed3e07d12add4637944803b1eca722f3eb022d5e497ec18a3f4ce7529911c
-DIST gentoo-kernel-6.18.33_p1-1.arm64.gpkg.tar 452433920 BLAKE2B 0e3fdc9f5ebf00b37a3cdea542ce3ca1b722787b75ccc21fea752eadd837110d933bf879b4a3714a4d5e1dec1c794ae9c30c2f1027df0413c51607c3ce673991 SHA512 a14fcf51bfa33c558310d2880a7b3824661871bfee4d24df8f2865ad9ac852192cc695305e43b3329a352141e86fcd836ebe469076deb669a286d49f6a6e0dc0
-DIST gentoo-kernel-6.18.33_p1-1.ppc64le.gpkg.tar 77219840 BLAKE2B 76310de97ea129fbe36acf25f53ab189002bcebf7d7a6cd7f27ea0fc4a0c1cd878b5ae2b559fe2601704d540501ce2883f6c1fe4d4262861959a70160efe7a13 SHA512 223a0c144edc2b6f5370787e9f8ba53e4002735c4fce86643fd06c655a8d7ad118986d1140775a08733f22f417802d8612092f2ed11abce7ddd1021df191ae54
-DIST gentoo-kernel-6.18.33_p1-1.x86.gpkg.tar 83640320 BLAKE2B b1939e5f93bb630d2696167c82d5f90210e03c0ad4d385d7da89f86b1ab26a986c1ba69b96e1bea63bf483e179af05cbcafc0f350ed7273b945aa13dc33c74f9 SHA512 065e772ffaadd01fb6e24513996331395a56119a0ea48ea2a9b53c5e23928503c1c62ef7cdccb52dbbbda679b6d87729ba066421c1c70c443477fa665fe0bce3
-DIST gentoo-kernel-6.18.34-1.amd64.gpkg.tar 466370560 BLAKE2B 6f35ba3bc376596459b346d169dc88f2a5ada1f09e76660146860876b452e3d9b5d4bc428619334a54cb2147b2a627ead161bdc1b01ea774a0828c776926bac3 SHA512 e157459424a24c7673793ccada10e224a780937e5a8a2e5123748b4ccf2599e257a51c6495924f47cecfc883d170b202aba15660f18356469e36e198ae5d0f28
-DIST gentoo-kernel-6.18.34-1.arm64.gpkg.tar 452515840 BLAKE2B fa2db5c4bb217350e77d242423131da4a657ce52baae310836c2257a6c583acaeead74f529fd765b87dd989c28ad2fb99f540c88aa21a541ab0c8e9d9775397f SHA512 96161550260eff0af241f68152e9b9d23a045666900cdd8190f4959ad2d982902a7a245e824b554d031d6275f168b8e48c2818c8e077f434706e7d763ca38ddd
-DIST gentoo-kernel-6.18.34-1.ppc64le.gpkg.tar 77219840 BLAKE2B a2e6cb118e9ef0af0eb1b36d6026b84d25dd34a5369b518f95f2c2e757fed4a402c4bdeed9228772447ccd1add6954460da7dc9034fa19c1d22bbf3b9e80d8d2 SHA512 c7eb6581e0ff056896d43424592adecf4c331e27ac3c438c215f804d4ad9036ed02130e823377bc0debaf4bffef173401239b42fe29f6c107792f6dc8ad2072a
-DIST gentoo-kernel-6.18.34-1.x86.gpkg.tar 83640320 BLAKE2B fc4b5aa511bdc57ce2e2b21812dc98119a3518d3c1017ca786a51127c7a7de51d4d66fbfb99f89fb79eacd119c56056ff09cdffad896b82b99d15c05bc913d80 SHA512 217e939f1b2ef0cd40bd1f0cf9c6c1f230af15c095777ceaece021735ed14910c287c10fd504d4aa44da9282ec737852c657f78244edaa862c50f574e9ca3f2c
-DIST gentoo-kernel-6.6.141_p1-1.amd64.gpkg.tar 290088960 BLAKE2B 28e4b7d488174fcb66b418ae452e237fba3cf205abe1e54039e35b125866cc417f996d8dcdef9bd801e875346bd92da208ee8b77ac573d5902b3743738008fe5 SHA512 113beff6bef7b477e7d5f5bccb857a5d1c75c10a55aaeb585e6fb3b27c4dfd7cef12b3980142835eb0786841aa572c4758c048fb27d015d8c554c3288860acf9
-DIST gentoo-kernel-6.6.141_p1-1.arm64.gpkg.tar 260239360 BLAKE2B 31732381a0eaf6fc22680585aec420311fd8c57db46c0aba60d5fd2e53d24bdb598361357e2026d2b5d9490c98c7cb6d41e59beb18f3e8f400ebcdec8da45329 SHA512 04d12d746dbc66f2376d4d31a009a8711038623de8157c5206c97dbd3c4753fc82a2bd3eed9cce42bae64e14bf3a6075f3b7cb8834ed329dcb379de95bebcbf6
-DIST gentoo-kernel-6.6.141_p1-1.ppc64le.gpkg.tar 65280000 BLAKE2B eb27f56071112eedc8f0b2284df8ad085cfff355603662a023c794a0501b0b84a221055c6387e694af6dc627ac8e00d6a3879c43f2d0b8e1dc9fea18550b3c1d SHA512 7372e81770f5a046181ab97182c4e96f493d8534be14f6f893c883cee0be3e8d27a2a3a7734adb3f69bf1d58ecd9c6985e370c451533518dce805c2cc18d5b25
-DIST gentoo-kernel-6.6.141_p1-1.x86.gpkg.tar 68638720 BLAKE2B fbae64c48b33ce83dd1d367c2e1431cd44016935088fb50d9b24597c40c694ba4260dcd66268aaa9295ffbecbd2e8805c207a557e951574d89193a4d32bd7dda SHA512 a0a7ba4d0021f7992b1634f0180b170db2bed62d63ac2403ae009c6dd53cc6c64d8e82032f9d6e6572c338daa34430c4c7d5fc77909673b67f00849d18ffd3ad
-DIST gentoo-kernel-6.6.142-1.amd64.gpkg.tar 290211840 BLAKE2B 14c84251b658b9912da5821b08677ad44bd31240f05a79256c9e1d6d0b5642b4bf3eac7f5e1ddafff7b5d9df645c19b4efdbf94abbdf6a5088f85c6c415b385d SHA512 2fee372b47032bd395b61378e3906ea5c4acd11b2ae680817a94fdf7e639d8e520e08e53538289ac703bf582e5742d40bf08cdfb402a925d52bfea71197b2a3c
-DIST gentoo-kernel-6.6.142-1.arm64.gpkg.tar 260311040 BLAKE2B b682d0583f0295f3e08789750782b9a9c24e5c856b53cd37aec730288bd1835fb5a4cb39e313124732c83ad6204f96156282122e764e54e4311e79bed13b4710 SHA512 d7c782ce73cfe2b76f944253f32c4eedcf2f2db13ea29841e55af3ad2681637d3a23701b33181a6d6fa9390e44521486ada68a0922b95fcf580a275db2ac2fc5
-DIST gentoo-kernel-6.6.142-1.ppc64le.gpkg.tar 65300480 BLAKE2B d2adbecd36e6878c472581b86867da7bc3a1d7816d616936a52acfb4ce5a25289b2f8f78b7bf6eeb184e7aa63fe06d05de1d0e23a09f0492d912487e4aeca467 SHA512 e7cd7289642005569fb98327a4a2b2621d9980538d8a770bcc44ac39eb4f9e7834577216d7305a00bbc1f386359f9d824a915b95e05dab33d0e8ca1b1154d1f7
-DIST gentoo-kernel-6.6.142-1.x86.gpkg.tar 68638720 BLAKE2B d628975d6f681f3481c475517906dca67d73584031e8f5fa60b3fd993425b9ec02227bbd6226efd8f5d77234a1ed32788a9a5a5d7fa8e7a566b577df62f3eba9 SHA512 27e135a0680f70b3b9ae3e8b70bf555d92a32d664dc32cf7e9d8230dc59e5a0eeebbc9551b5997d17e6172240a8249d93927b88544e8053170f5c77d4e615d6b
-DIST gentoo-kernel-7.0.10_p1-1.amd64.gpkg.tar 355665920 BLAKE2B f0372e77beff551e04a1dc61000f2c3255e61cd654ea60013c72224391cda2df5802f7c20cfbfe3626fdf88c3f7bec504ddf0a95f997a56e8fafe50da97bf1bf SHA512 80501116b4e8e758ea2e9f87be3c18e2974185f78648438b71d9203ee9392a530c10f9408ba0369d80146ee613ab1dc365d1cb048d12c952a8231a1f4ee292c1
-DIST gentoo-kernel-7.0.10_p1-1.arm64.gpkg.tar 326768640 BLAKE2B 09bf961c3d14cd01c930bbc9b0efb76b763fb9c46df796600387a735cc8c341724678d56404ac28f85400ef4f6089f2346b20809e5ec50933ae8e86477ef487e SHA512 b8008c87e2819c190976891d685d1440d90a24659d93a97568bda98742ceedf0f27ad0c7fe4579f958013854c04f0dbbc1d7eca958bd4d955500213e279be6da
-DIST gentoo-kernel-7.0.10_p1-1.ppc64le.gpkg.tar 78673920 BLAKE2B 95a9d26f3dbdc0376fd6081e3014fec3e492fdc4e84ae0446d9f3d90791a14bb464eebcf7f3bf3e3cb704e89f611f433abaa40fca2d69b8389d968f4f08aff5a SHA512 56f48ffe7bf518d9045948717f77f04c3ba21a18afb794ee815be9dc15b44c9975ab621702caf8fac00e6b4440ccd1221f1a3eccb229739b94c4a7794b115a01
-DIST gentoo-kernel-7.0.10_p1-1.x86.gpkg.tar 85565440 BLAKE2B b2b27fae618f045b72cccfcb7ba0643a80fe00a47ab0ea21718b7e0b3368c7a0d545c2a9b9817f0f809e92d60c2796eb2a39491b67770064fbf5770a08d2a4cc SHA512 675e75aecf65326e3e82e1273018671ba9458928aa13953912a8b17d6648a1dc55b0a76e05d61ac29193352fb8283b790a611e1598522634e1213ca68b9cca20
-DIST gentoo-kernel-7.0.11-1.amd64.gpkg.tar 355624960 BLAKE2B e984cf56da0440e1f10dd659c32e41a6b42a10ef6f8f29cc55658b0dd3588af9572ae26a3054ca113fd053a905d6437f00cedcbca6a3d99d7c26b6f3df57a5ab SHA512 9cb87e8c654dd2575098fd4767297382d627b71725e87454cbe39e1cf9055d74a4d424c359d6823d275b9c0a73d3982458302de8c92127e74c2fb3aa4c73d781
-DIST gentoo-kernel-7.0.11-1.arm64.gpkg.tar 326860800 BLAKE2B 2fadb3ae0cc5f02ca923dd04288b11626244dafb9387471a0ec3c12158a8fc241939ef841259a40b2c06f928fd5e0ade5d868daff39a0f5d3b9515e72cc70127 SHA512 8cebae44f721b29b3c46f2e075e245846313ab24d97ed2d931f75f41bfaecd87a1192f7507dffd62de69fc5011e46fca77e87f61de92c375ec6ea666dd9b986d
-DIST gentoo-kernel-7.0.11-1.ppc64le.gpkg.tar 78673920 BLAKE2B 68838bf6725305ad402c668aed383686cbf1e98af4246aba970c37b4c03dec3fd53c3211d4fdf35d81f888aa945af144c57f63cb33d18ad1f7da9536cdb65ce3 SHA512 cb595fc627ccb41c624594a703e600ba8d93305a9098af1237d4974a717160e78e81820e4b1e0968eb58e912e8a7185103ff5b9dd18a3e29ef03cd86ab88410b
-DIST gentoo-kernel-7.0.11-1.x86.gpkg.tar 85534720 BLAKE2B 038efa202e2544a7b3b39c27fa2d1efc68be564214ec352908112fbb3a364dd722ef6d1cb89c69ff07d34afa011fc87bcf3e79e0b4ecea5dd28e75097ace540d SHA512 12b082e4170cf7a39de58da9968100e981acac68d9d2e319ad039b8310a9d2a027ee7b5ccba1f4ccd31636fe1b7e3b9f1e1625a3c89fd169933dfa30fc852d99
-DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST linux-5.x-sha256sums-20260523.asc 379058 BLAKE2B 9b79ea374650842097eb13ea7b27d5dbce26bdbc0242a0ad4eed47cf1d739632f2d0950cb3b0c766bab11053d0b2e49defdd55a28f65988b26f21478b171d04e SHA512 c13a47abf208db2edbb379cb4bb6b3624a55c3784f4b7ab3d9f4c03b978bb616037981b3bc11776fc8bc030bf82c830c341d4b448ea178305c0c49fed071170c
-DIST linux-5.x-sha256sums-20260601.asc 379748 BLAKE2B 0d6efa83d413386727f3d899d65adbd75e5e16f4442259170127dab904ceeb79af1f25104da01638c08afbd469d93c362170e2a7348f22a2e76654f2eabd8df8 SHA512 4288d18e7464a16972399080691b18408e01ab8245d8d017e6fa8429a7e672bea7f12766e051c36df82bdd56bb60356a39351bd89dac17a650cd8950f83a9c21
-DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-6.x-sha256sums-20260523-r1.asc 227108 BLAKE2B 71874499eea95879b1c461fcd73ee51b3688cda656cd301bab033cc1f5f69019424a153b2dfe74ca4e5d32a1885d16eb4aca87c1e1a2c01bb66116738994a8f4 SHA512 edde21f9346a3976200c1e1ffa61d0e3220cd6c30eec3fed25b3e09ef1a3b2ef2114c3b6f2721ecb6d53e7882a1bb34cb154feaafda671067174cd58d8825a3b
-DIST linux-6.x-sha256sums-20260530.asc 227108 BLAKE2B 71874499eea95879b1c461fcd73ee51b3688cda656cd301bab033cc1f5f69019424a153b2dfe74ca4e5d32a1885d16eb4aca87c1e1a2c01bb66116738994a8f4 SHA512 edde21f9346a3976200c1e1ffa61d0e3220cd6c30eec3fed25b3e09ef1a3b2ef2114c3b6f2721ecb6d53e7882a1bb34cb154feaafda671067174cd58d8825a3b
-DIST linux-6.x-sha256sums-20260601.asc 228472 BLAKE2B dbb61b77596a4bc658124e3ac313f094d78b16dc7d4131e54db292a9d42298594a42b0f91172424238ab7da3d5fa727a9d909df3fe70280861008b0f73322a9d SHA512 00161536ba0b7bb31ca78614da1e8d461bf1182eb3a8147f0caf89b89bec6b1ea2273f7cd2dc77fa83aaebc7dcb03b20f37536f567af934c1b4907b0df6da2e3
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-7.x-sha256sums-20260523.asc 4541 BLAKE2B 17062ee8e93d4c81aa8adf1952650462d097229a76991873b42867a122bab9e5b33502a98a5df8c6ab52031601f3bcef6c82f50a86e0dcf1e1b680fff3ad2280 SHA512 3fd12772887ccf7b568ad641467fc9bfc29ea590e826e59f4c426cd11280fa7871e4b61f091d6bc3780d13e095c6b4b450fb5356606d32d70d4e985ee9832a64
-DIST linux-7.x-sha256sums-20260601.asc 4878 BLAKE2B 1a08d3eecaa37ab2f2aa10801025c214fa919c0842ba24d9bc9a555d10c64ac87bc8afb99c37c94ae65a1e73b408257d8483cef590ce55f80e438ef374ffe4cf SHA512 6c650dbc9d58cb42aef6b2bcd418dd20fb608a4f449f4300c78d8427d35a732227f5c6bc79a4d4c4e6975698b0cbd1c64488a89d59cdd0f8da8912dcee6a9e6e
-DIST linux-gentoo-patches-5.10.257_p1.tar.xz 16432 BLAKE2B 1d13be014433c0552e37c50b1c38c2186a9cc4366dd2020caf418059fcc7e2e08cad548625ecf471181143d2bd029dde112f40fa3db475be7490fb1d1c644d5e SHA512 5dcc6f8be29f03576d55cfea009a4f53905e98197459542f972f66a0ab3e695a250acaf10c3451368f82ce6058ec43a7459fec141b3121f4a71bae093b557d13
-DIST linux-gentoo-patches-5.10.258.tar.xz 15192 BLAKE2B 798f2f02534e66207dd8ca29f8679e0c6f21a099f0f7f3a793f9ac6a55230ed989cb5d0c01dbaf1dc763e83e6346d8d61ddc226dda7f4f2e4fe33742be650e53 SHA512 dff3489b4afe2e363048b97cf3b9d7131cf15ae808285b51f137420b34c58fe8ac5118451cfc7a6404e1d8e478a31616613000ad3b1a17e45157e51ae4084ad5
-DIST linux-gentoo-patches-5.15.208_p1.tar.xz 13824 BLAKE2B cd2e569de5ad427b249785bc01ccfe2f0d6dd00ca24af9880e42931abddd183ba18c0a09ab025a6040a51faa460e921beb471dc9f62a9354c23cb2d849075aea SHA512 840350aafc406b8afede719602445273d9bf7aace9c441513cb9c947a5a583f80e33fbab97442b80544ed07a8109fb4c1abb62163ebb98d258c483d357d734df
-DIST linux-gentoo-patches-5.15.209.tar.xz 12568 BLAKE2B a94cd6684dcc04d6138db486dcdbf5f94bdea53358e52752a4f75d5dc0c93788e93eed7aac7a302fb9f25e6fd63f26face4e83b68cbd896938a74ae5a9c4cb70 SHA512 31aab25c8d48822d4a53098d90e8cb625d763d4efdf7cc86893e483d96196c47ceed85a57770cf743098da30186f7fe4984976348d44ea257dcd1395ee235132
-DIST linux-gentoo-patches-6.1.174_p1.tar.xz 16252 BLAKE2B bfb8f91d28af75e27344110c1cff7822e7e10b02bc16ab899a89938f131c7c8863a4108dbac50983598537143a037b44e09459d7dee7f92a4143c0acec9a3980 SHA512 959a12016277a1dfb9148bfb232a98b267c256f9b4df12fa323af91ff13b3e15bdcf734b97f0b6784be71227f693a49ba371e6b0c4fa404e4c15b16e6962a18a
-DIST linux-gentoo-patches-6.1.175.tar.xz 14992 BLAKE2B 0db19d1e507cfcad237c2fe69d6ea29c692378bdfd77aa43a116192edee8b51944954d60c287921a5c7202a6f154c8896a8bec59e18ea3b6a9e518190cfc216f SHA512 9aa434167e34d041dd475f04441e459a853c7981b3381c608ac97d68cd5cb2895d90e700c9c43cd41cf6685eecf2471ec0cd0665e75be33675c41e43e8f2119e
-DIST linux-gentoo-patches-6.12.91_p1.tar.xz 18488 BLAKE2B 253e256ded6d7bf064f90107798dba7dd61abf3bab984502af6b1b6a92318cc9fec3f9ea15f9e23ef26f701f68aaa937e8f09297ce8da9496d25dc7e96d47efc SHA512 3aecb596cd6e11b53d85ba050e6e2971ccfbc7d3b456b4920d42ea4de913e0fb94ddc3b580fe6e2d6a1c6a957f6be23c027e6bf7bf24ec984565c216471e5068
-DIST linux-gentoo-patches-6.12.92.tar.xz 17116 BLAKE2B 82b0d16153cee9c2c8bd0125c6958dac6075471e7db1f5a42cd798fbbbc564b490b08190db23d4ee19133a9a953c50c1b7be71574c3293659abe0f3387223186 SHA512 a0d1bf12dc094807436e3a7f785a39e4e93b69e809a71c57756dfb2fa22b83215b6a7a53c62111a449c2806a02d495df99ecaefdf7ba33fc0c0ffb27da63b267
-DIST linux-gentoo-patches-6.18.33_p1.tar.xz 14752 BLAKE2B 495dcecc0ba7f4052e913ccd7d220830c1c9321810334ff8d05baf56b085436e251ca8888409d98f65553faca53f4a83ce3bde43887dba3e71b2a5506736cd60 SHA512 b6c1c225ee70f944203e93dde056d8a85b376387544bf0ea30cb111ba9b4832fa7a93d34c4ef68b8d584bbdd5ec7f63a9e6d77b6a385c37f975a03ec4bb504e6
-DIST linux-gentoo-patches-6.18.34.tar.xz 12688 BLAKE2B e8ea1855b2c6d397fcfa3c33bfa64825e639064994e67b045581ba1186a9641c4580426f795068aaefb438b7a2d49a9e43435742f89cd488ca92d50a1796603a SHA512 556aa8b398c4aaf2469311230b3206cfac17a349098378f5e230ff4dabeadeae173b40aae2915c59f0ee221d5df96031582b95ecb08c4ba50425e7a73c9cd3b9
-DIST linux-gentoo-patches-6.6.141_p1.tar.xz 41108 BLAKE2B f828adec1d769759b854e33ebfe16251e6aeee383d920f9b872e9f9c55428bdc35946ec5187526065a350619a51f84746095bf0a8805a6123d076375b64b9563 SHA512 4b5cc57f7672983b4905d7bc10a8f4134bfa3ea504bebd186477f07c57d89ebb166dc40fc78da83fd307b7c644d4c1d214f33dd98868f10d81011224c6726934
-DIST linux-gentoo-patches-6.6.142.tar.xz 39784 BLAKE2B 501e3026c59f86f3e4207e3ea2302c983a1cee3a723579a3ec41da53a2f9ecf17f64125157f4e3fd8be36cc51dd9d3e767862466591e8cb223a891fbb5585fea SHA512 ce8934c8b27aac9a3b0709830d9259cbc896733b1f57e7d8a3d1f06a4a017da46a78acff70c3ae19d76bd1dbac15d92062be87b3469a811d91fa182d55624e35
-DIST linux-gentoo-patches-7.0.10_p1.tar.xz 13496 BLAKE2B a7e15fce5c789f0f5c4d849c08558e307687a5b89a8ac98849be5adb2c9dc6bafe0d70a4e61d49bce1c6e138d4b28d2ff00943f3b317a3797298f3b7d6ab19f6 SHA512 bb3c7731cca8e0cb7736b93e6931b130a2049366f230fd5463ef7d7cdf6a180312e35c72a834c280263107b43629c40eaf016fee9c0215cde73a7cbe0b32fd57
-DIST linux-gentoo-patches-7.0.11.tar.xz 10608 BLAKE2B 143c3283884af0bec211e42fad24ce61a682250bc63c03582f021bce9da93d81007aaab52864a37239ad7b7ce0f96951f71294b00f8bfe9878f230ac4796ab8d SHA512 0ca27aead4bbbff37fcc84d7a7dac4db8a641485514fb74a6b257fcab1d1bdd1240fdaeec2ac8f924786f9d1ceaf868e38daf16d4bdcc0939877e239d0953750
-DIST patch-5.10.257.xz 7256300 BLAKE2B 5f9f76f69018e440b645ed7fe70cc955964181602dac632cbf6f106c9acb0c1bd051632a9e6570c0a005e8d2cbddf906a46c7b4cf29e11a6e09137f6b9071914 SHA512 154f4293daee3b5740d1816a677b0ba929d6cdb9eda746521ba668a21c0902c689940896b2e6436e65aa12596233542e4a5d5b49c10dc1d7c1cd45e1ca8bc537
-DIST patch-5.10.258.xz 7341784 BLAKE2B 2c678b0915665b599c544cfcd9c9fb98e7d1e3503f038203a19e4294b430f2ce9bfc9003f1467182ca046e1bd7408cc5c846843f96627f8ba64298645ffece98 SHA512 fb7774d5e9e3178042ae53d177a2212f23c996358fc99d040f393916f65ddd89f08733ccdd3002c733db06ae866cb52f1cb1acbadd9cdb7677b673857abdc502
-DIST patch-5.15.208.xz 7682444 BLAKE2B cdb8d906b43d6da18a24b845bef7da5d654934551eeff867be5d8c4afc73030ece1589fbb0ddb379d1e4966ea6d38e31b2d3bffe760edfdade27cc1a1e6b6b84 SHA512 434becb2a1d1ae0f45667bd595aa8766e49b575670d6b192bef07cabc61726913a8edf18044cd82d208c389558d832d95a4cfbb3a94d4f0b766078b5c1df07ad
-DIST patch-5.15.209.xz 7798764 BLAKE2B 21bb560464456b9d9f5a59da46b5ecaf49c0baf22db4d07c9e32e4f3ffe4b677e10a7a69c2ea2a9cd3f853d8d8beb5f8e985d9b8ffa44bd774d814bd34615682 SHA512 df8210ba7819605c0e2927ccf3a341049cdfe751b6e315816c7a810eb744d786422fcfd840309762a283e2f6ba388773471ea9e1af044a1bd76c79e3737e1ce0
-DIST patch-6.1.174.xz 7324984 BLAKE2B 1b127bd530d636de99ed331c4285ff7b610d3bd32db05d5497d484350aa0351b828227f4e20972670ddb954f2558a0cf806bc74f1b4c56f5f0cd974376ee40a7 SHA512 f50ca7d6a257c6e14f4c26477b3bb31963420397e7cdf069e535074e0c4c2f3c1f45c9708393ef85a1afcb28d7fa9509e8b668d26b8cdb36d9a0e5c5cae94fb5
-DIST patch-6.1.175.xz 7484964 BLAKE2B bfd1ffdb00514ef33cd0f9f8a001bb9560749375d0e3a8bcd021ab5555b2b74db8727468accf3f2e7c9ab4d71cf5299a2837b9d702040f7588526f00a3255d1f SHA512 cb59a190328e81a2827a3f8d5cc92e46c9251df49046899e369e63fbd01a424209254596a26dc0bb172d7df5bd1ac4660c256866108e54fbe301f6784fc09ed7
-DIST patch-6.12.91.xz 4651460 BLAKE2B 0e7a11c1ab28e44321833177d59eb3ed7d76b809d91d0b6061113d738ffeb90bc15e214c65fc0d10e77e472c6d76cb94efdc839c3a1de0a6a0a8e1dc6f9b1743 SHA512 3da0673a28ffb1040d565f96d28eca43f4d23ca28842a3df7b764e35c2c4f1d39d24e08e3e7adcf0e5e20e4b11f13aabfd99e8e979eb2c32d32db88352c61956
-DIST patch-6.12.92.xz 4689024 BLAKE2B 5697f552a2d70f30a4db6b54e513fb11bfc73fecd2254518110d8489253f2e458c26920e8b69ab9f4641118039aebb6af38670d91fc6cdfa8091c0d96c3046b6 SHA512 61838ffa430c40ccbee4e29d795e73ccb777a168b285d38ca72364261c3e3f3c3e4426dbcf7b19d9ff5fb830ee8b1ed0fb02120eeb2bf6472dbba3fa4515829b
-DIST patch-6.18.33.xz 1974288 BLAKE2B 4569664a77d67508743839549e3c6f2a29fcc48b4c038f31af498b75e44ba597bd36ef9be28c1933cd8bc8c45b022cf189d74db8ee5c6fbf7528eed837c6df8b SHA512 da1543907531fbf33f8450f2f6ce82e2fb6c04bda0e8f43e8e929ee36673d70e1cec3e1ff68290daec761f273544efa93eb45e2d479ce2272029874109161b90
-DIST patch-6.18.34.xz 2069872 BLAKE2B 68f7f3983cb64862991c4233cce6e36cdef0508e169ca3787849e95033804db7f0ef5ef71aa8671ab1ac3b50b746332ae274f3533b95782ab134cb5b7fff4dcf SHA512 caeb17dc4f7654ef6d415ed081396d0ed06fd46bd713a659367903092da1e9d12f4a237d1d93776c8d73561bf76fc696d69a82289bd61982f785f97bfdae530f
-DIST patch-6.6.141.xz 6129028 BLAKE2B 6168b8ea17e747a840e12b7074550997e1f82a4dffb807639627ad204af2fa266fab60430cb0dd5cb4b614ee60cd9cfd6421cfc656367103c1e2aa9ebc1544d3 SHA512 69d481d206714fb1054cb8ab76b72bc07af72f0785b11530fb7f42bcf321bb2fcb699ac1cf2d0e55415689331acd4f0a68608547efec714f5079bf4e7a4cf161
-DIST patch-6.6.142.xz 6159816 BLAKE2B e2b9f7653dc558b6b71ca2f7d1c0a1c925e75944cf9bf3e1e3464c7fdf2e11163541a7f25c84d11c54b8646418e11d38bddacf2c3220dec0c5d9b224cf8fb4a9 SHA512 1f9efe7067e25e7492b8e8e56c9c7563c9abb951813a6c969c6673e549f661bd2b03db1eca8b2d6dff0cf67a04836dba303deb771ae10a3acd7d8584693c1855
-DIST patch-7.0.10.xz 599488 BLAKE2B 8f3450b8a1c62d5e400bb9c724299ee024a3cb0d2c8006d8d0be36955b64d995d29048a4d7f31e94c6dcf4226ac3a0e007848acb0154c270be906bbb41efd645 SHA512 076c369ec654ff69b701a5f7123d4d4309c48781407a23012e629b7fe7c1dd16d7cf6cc0f069534902eef2e27d394516ed36cb103716bf0bdeca5a4345e4b805
-DIST patch-7.0.11.xz 743496 BLAKE2B 0223bdf2f67a717370226ce0143dedf106d182b834f40db931d377c61614cf4fed0ae49dd4cd54df52d82b8180efe2b12f0bdd4737441633949f2ef7c31b8b1f SHA512 6e20f47171270b47774b1f62f96b81a498544894ccc3c027785c0aec6751ad7b55dc96bc0fcdc52ea7cad57a1501fc651d024a2ac51383e3d753b0dcaeafb76d
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.257_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.257_p1.ebuild
deleted file mode 100644
index f89f9487a04c..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.257_p1.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260523
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.258.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.258.ebuild
deleted file mode 100644
index 20c599ab248e..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.258.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.208_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.208_p1.ebuild
deleted file mode 100644
index f89f9487a04c..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.208_p1.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260523
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.209.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.209.ebuild
deleted file mode 100644
index 20c599ab248e..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.209.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.174_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.174_p1.ebuild
deleted file mode 100644
index 43bd8d7f185e..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.174_p1.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260523-r1
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.175.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.175.ebuild
deleted file mode 100644
index 20c599ab248e..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.175.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- virtual/libelf
- app-alternatives/yacc
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- fi
-
- mkdir modprep || die
- cp "${BINPKG}/image/usr/src/linux-${KV_FULL}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KV_FULL}/.config"
-}
-
-src_install() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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-${KV_FULL}"/ || die
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.91_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.91_p1.ebuild
deleted file mode 100644
index 2a34cfcb4edf..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.91_p1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260530
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.92.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.92.ebuild
deleted file mode 100644
index 1d76a5841329..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.92.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.33_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.33_p1.ebuild
deleted file mode 100644
index a7ce16353a04..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.33_p1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260530
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PATCH_PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.34.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.34.ebuild
deleted file mode 100644
index 93a240e3bf2b..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.18.34.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PATCH_PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.141_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.141_p1.ebuild
deleted file mode 100644
index 2a34cfcb4edf..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.141_p1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260530
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="amd64 arm64 ppc64 x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.142.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.142.ebuild
deleted file mode 100644
index 1d76a5841329..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.142.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- dev-util/pahole
- virtual/libelf
- app-alternatives/yacc
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.10_p1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.10_p1.ebuild
deleted file mode 100644
index 30afecce405c..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.10_p1.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260523
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PATCH_PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- app-alternatives/yacc
- dev-util/pahole
- sys-libs/binutils-libs
- virtual/libelf
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.11.ebuild
deleted file mode 100644
index fb1469bc0739..000000000000
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-7.0.11.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-install toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=${P/-bin}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Pre-built Linux kernel 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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel:${SLOT}
-"
-PDEPEND="
- >=virtual/dist-kernel-${PATCH_PV}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- app-alternatives/yacc
- dev-util/pahole
- sys-libs/binutils-libs
- virtual/libelf
- amd64? ( app-crypt/sbsigntools )
- arm64? ( app-crypt/sbsigntools )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-QA_PREBUILT='*'
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- # If this is set it will have an effect on the name of the output
- # image. Set this variable to track this setting.
- if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
- KERNEL_EFI_ZBOOT=1
- elif use arm64 && use generic-uki; then
- die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
- fi
-
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Override user variable with the cert used during build
- openssl x509 \
- -inform DER -in "${kernel_dir}/certs/signing_key.x509" \
- -outform PEM -out "${T}/cert.pem" ||
- die "Failed to convert pcrpkey to PEM format"
- export SECUREBOOT_SIGN_CERT=${T}/cert.pem
-
- if [[ -s ${uki} ]]; then
- # We need to extract the plain image for the test phase
- # and USE=-generic-uki.
- kernel-install_extract_from_uki linux "${uki}" "${image}"
- fi
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_test() {
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
- kernel-install_test "${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
- "${BINPKG}/image/lib/modules/${KV_FULL}" \
- "${WORKDIR}/${kernel_dir}/.config"
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
- if [[ -s ${uki} ]]; then
- # Keep the kernel image type we don't want out of install tree
- # Replace back with placeholder
- if use generic-uki; then
- > "${image}" || die
- else
- > "${uki}" || die
- fi
- fi
-
- # Overwrite the identifier in the prebuilt package
- echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
-
- 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}${rel_kernel_dir}"/ || die
-
- # Update timestamps on all modules to ensure cleanup works correctly
- # when switching USE=modules-compress.
- find "${ED}/lib" -name '*.ko' -exec touch {} + || die
-
- # Modules were already stripped before signing
- dostrip -x /lib/modules
- kernel-install_compress_modules
-
- # Mirror the logic from kernel-build_src_install, for architectures
- # where USE=debug is used.
- if use ppc64; then
- dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
- elif use debug && { use amd64 || use arm64; }; then
- dostrip -x "${rel_kernel_dir}/vmlinux"
- dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
- fi
-}
diff --git a/sys-kernel/gentoo-kernel-bin/metadata.xml b/sys-kernel/gentoo-kernel-bin/metadata.xml
deleted file mode 100644
index 51cfdeabfbbf..000000000000
--- a/sys-kernel/gentoo-kernel-bin/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dist-kernel@gentoo.org</email>
- <name>Distribution Kernel Project</name>
- </maintainer>
- <use>
- <flag name="initramfs">
- Build initramfs along with the kernel.
- </flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/gentoo-kernel-modprep/Manifest b/sys-kernel/gentoo-kernel-modprep/Manifest
deleted file mode 100644
index db529ad02f9f..000000000000
--- a/sys-kernel/gentoo-kernel-modprep/Manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-DIST gentoo-kernel-7.0.10_p1-1.amd64.gpkg.tar 355665920 BLAKE2B f0372e77beff551e04a1dc61000f2c3255e61cd654ea60013c72224391cda2df5802f7c20cfbfe3626fdf88c3f7bec504ddf0a95f997a56e8fafe50da97bf1bf SHA512 80501116b4e8e758ea2e9f87be3c18e2974185f78648438b71d9203ee9392a530c10f9408ba0369d80146ee613ab1dc365d1cb048d12c952a8231a1f4ee292c1
-DIST gentoo-kernel-7.0.10_p1-1.arm64.gpkg.tar 326768640 BLAKE2B 09bf961c3d14cd01c930bbc9b0efb76b763fb9c46df796600387a735cc8c341724678d56404ac28f85400ef4f6089f2346b20809e5ec50933ae8e86477ef487e SHA512 b8008c87e2819c190976891d685d1440d90a24659d93a97568bda98742ceedf0f27ad0c7fe4579f958013854c04f0dbbc1d7eca958bd4d955500213e279be6da
-DIST gentoo-kernel-7.0.10_p1-1.ppc64le.gpkg.tar 78673920 BLAKE2B 95a9d26f3dbdc0376fd6081e3014fec3e492fdc4e84ae0446d9f3d90791a14bb464eebcf7f3bf3e3cb704e89f611f433abaa40fca2d69b8389d968f4f08aff5a SHA512 56f48ffe7bf518d9045948717f77f04c3ba21a18afb794ee815be9dc15b44c9975ab621702caf8fac00e6b4440ccd1221f1a3eccb229739b94c4a7794b115a01
-DIST gentoo-kernel-7.0.10_p1-1.x86.gpkg.tar 85565440 BLAKE2B b2b27fae618f045b72cccfcb7ba0643a80fe00a47ab0ea21718b7e0b3368c7a0d545c2a9b9817f0f809e92d60c2796eb2a39491b67770064fbf5770a08d2a4cc SHA512 675e75aecf65326e3e82e1273018671ba9458928aa13953912a8b17d6648a1dc55b0a76e05d61ac29193352fb8283b790a611e1598522634e1213ca68b9cca20
-DIST gentoo-kernel-7.0.11-1.amd64.gpkg.tar 355624960 BLAKE2B e984cf56da0440e1f10dd659c32e41a6b42a10ef6f8f29cc55658b0dd3588af9572ae26a3054ca113fd053a905d6437f00cedcbca6a3d99d7c26b6f3df57a5ab SHA512 9cb87e8c654dd2575098fd4767297382d627b71725e87454cbe39e1cf9055d74a4d424c359d6823d275b9c0a73d3982458302de8c92127e74c2fb3aa4c73d781
-DIST gentoo-kernel-7.0.11-1.arm64.gpkg.tar 326860800 BLAKE2B 2fadb3ae0cc5f02ca923dd04288b11626244dafb9387471a0ec3c12158a8fc241939ef841259a40b2c06f928fd5e0ade5d868daff39a0f5d3b9515e72cc70127 SHA512 8cebae44f721b29b3c46f2e075e245846313ab24d97ed2d931f75f41bfaecd87a1192f7507dffd62de69fc5011e46fca77e87f61de92c375ec6ea666dd9b986d
-DIST gentoo-kernel-7.0.11-1.ppc64le.gpkg.tar 78673920 BLAKE2B 68838bf6725305ad402c668aed383686cbf1e98af4246aba970c37b4c03dec3fd53c3211d4fdf35d81f888aa945af144c57f63cb33d18ad1f7da9536cdb65ce3 SHA512 cb595fc627ccb41c624594a703e600ba8d93305a9098af1237d4974a717160e78e81820e4b1e0968eb58e912e8a7185103ff5b9dd18a3e29ef03cd86ab88410b
-DIST gentoo-kernel-7.0.11-1.x86.gpkg.tar 85534720 BLAKE2B 038efa202e2544a7b3b39c27fa2d1efc68be564214ec352908112fbb3a364dd722ef6d1cb89c69ff07d34afa011fc87bcf3e79e0b4ecea5dd28e75097ace540d SHA512 12b082e4170cf7a39de58da9968100e981acac68d9d2e319ad039b8310a9d2a027ee7b5ccba1f4ccd31636fe1b7e3b9f1e1625a3c89fd169933dfa30fc852d99
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-7.x-sha256sums-20260523.asc 4541 BLAKE2B 17062ee8e93d4c81aa8adf1952650462d097229a76991873b42867a122bab9e5b33502a98a5df8c6ab52031601f3bcef6c82f50a86e0dcf1e1b680fff3ad2280 SHA512 3fd12772887ccf7b568ad641467fc9bfc29ea590e826e59f4c426cd11280fa7871e4b61f091d6bc3780d13e095c6b4b450fb5356606d32d70d4e985ee9832a64
-DIST linux-7.x-sha256sums-20260601.asc 4878 BLAKE2B 1a08d3eecaa37ab2f2aa10801025c214fa919c0842ba24d9bc9a555d10c64ac87bc8afb99c37c94ae65a1e73b408257d8483cef590ce55f80e438ef374ffe4cf SHA512 6c650dbc9d58cb42aef6b2bcd418dd20fb608a4f449f4300c78d8427d35a732227f5c6bc79a4d4c4e6975698b0cbd1c64488a89d59cdd0f8da8912dcee6a9e6e
-DIST linux-gentoo-patches-7.0.10_p1.tar.xz 13496 BLAKE2B a7e15fce5c789f0f5c4d849c08558e307687a5b89a8ac98849be5adb2c9dc6bafe0d70a4e61d49bce1c6e138d4b28d2ff00943f3b317a3797298f3b7d6ab19f6 SHA512 bb3c7731cca8e0cb7736b93e6931b130a2049366f230fd5463ef7d7cdf6a180312e35c72a834c280263107b43629c40eaf016fee9c0215cde73a7cbe0b32fd57
-DIST linux-gentoo-patches-7.0.11.tar.xz 10608 BLAKE2B 143c3283884af0bec211e42fad24ce61a682250bc63c03582f021bce9da93d81007aaab52864a37239ad7b7ce0f96951f71294b00f8bfe9878f230ac4796ab8d SHA512 0ca27aead4bbbff37fcc84d7a7dac4db8a641485514fb74a6b257fcab1d1bdd1240fdaeec2ac8f924786f9d1ceaf868e38daf16d4bdcc0939877e239d0953750
-DIST patch-7.0.10.xz 599488 BLAKE2B 8f3450b8a1c62d5e400bb9c724299ee024a3cb0d2c8006d8d0be36955b64d995d29048a4d7f31e94c6dcf4226ac3a0e007848acb0154c270be906bbb41efd645 SHA512 076c369ec654ff69b701a5f7123d4d4309c48781407a23012e629b7fe7c1dd16d7cf6cc0f069534902eef2e27d394516ed36cb103716bf0bdeca5a4345e4b805
-DIST patch-7.0.11.xz 743496 BLAKE2B 0223bdf2f67a717370226ce0143dedf106d182b834f40db931d377c61614cf4fed0ae49dd4cd54df52d82b8180efe2b12f0bdd4737441633949f2ef7c31b8b1f SHA512 6e20f47171270b47774b1f62f96b81a498544894ccc3c027785c0aec6751ad7b55dc96bc0fcdc52ea7cad57a1501fc651d024a2ac51383e3d753b0dcaeafb76d
diff --git a/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.10_p1.ebuild b/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.10_p1.ebuild
deleted file mode 100644
index c790665436ee..000000000000
--- a/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.10_p1.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dist-kernel-utils toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=gentoo-kernel-${PV}-1
-SHA256SUM_DATE=20260523
-
-DESCRIPTION="Minimal subset of gentoo-kernel-bin for building modules, for containers"
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT=${PV}
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
- virtual/libelf
- !sys-kernel/gentoo-kernel:${SLOT}
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- app-alternatives/yacc
- dev-util/pahole
- sys-libs/binutils-libs
- virtual/libelf
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Remove unnecessary files and move lib
- find "${BINPKG}"/image/lib -name '*.ko' -delete || die
- mv "${BINPKG}"/image/lib "${ED}"/ || die
-
- # TODO: repack these
- cd "${kernel_dir}" || die
- insinto "${rel_kernel_dir}"
- doins System.map Module.symvers
- doins -r certs include scripts
-
- local kern_arch=$(tc-arch-kernel)
- insinto "${rel_kernel_dir}/arch/${kern_arch}"
- doins -r "arch/${kern_arch}/include"
-
- # Add the identifier
- echo "${CATEGORY}/${PF}:${SLOT}" > "${ED}${rel_kernel_dir}/dist-kernel" || die
-
- # remove everything but Makefile* and Kconfig*
- cd "${WORKDIR}/${BASE_P}" || die
- find -type f '!' '(' -name 'Makefile*' -o -name 'Kconfig*' ')' \
- -delete || die
- find -type l -delete || die
- cp -p -R * "${ED}${rel_kernel_dir}/" || die
-
- # strip out-of-source build stuffs from modprep
- # and then copy built files
- cd "${WORKDIR}" || die
- 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}${rel_kernel_dir}"/ || die
-}
-
-pkg_preinst() {
- dist-kernel_update_lib_symlinks
-}
-
-pkg_postinst() {
- dist-kernel_update_src_symlink "${EROOT}/usr/src/linux" "${KV_FULL}"
-}
diff --git a/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.11.ebuild b/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.11.ebuild
deleted file mode 100644
index cc045b12cc89..000000000000
--- a/sys-kernel/gentoo-kernel-modprep/gentoo-kernel-modprep-7.0.11.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dist-kernel-utils toolchain-funcs unpacker verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-BINPKG=gentoo-kernel-${PV}-1
-SHA256SUM_DATE=20260601
-
-DESCRIPTION="Minimal subset of gentoo-kernel-bin for building modules, for containers"
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
- amd64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/amd64/$(ver_cut 1-2)/${BINPKG}.amd64.gpkg.tar
- )
- arm64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/arm64/$(ver_cut 1-2)/${BINPKG}.arm64.gpkg.tar
- )
- ppc64? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/ppc64le/$(ver_cut 1-2)/${BINPKG}.ppc64le.gpkg.tar
- )
- x86? (
- https://distfiles.gentoo.org/pub/proj/dist-kernel/binpkg/x86/$(ver_cut 1-2)/${BINPKG}.x86.gpkg.tar
- )
-"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT=${PV}
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
- virtual/libelf
- !sys-kernel/gentoo-kernel:${SLOT}
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- app-alternatives/bc
- app-alternatives/lex
- app-alternatives/yacc
- dev-util/pahole
- sys-libs/binutils-libs
- virtual/libelf
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-
-KV_LOCALVERSION='-gentoo-dist'
-KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- unpacker
-}
-
-src_prepare() {
- local patch
- cd "${BASE_P}" || die
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-}
-
-src_configure() {
- # force ld.bfd if we can find it easily
- local HOSTLD="$(tc-getBUILD_LD)"
- if type -P "${HOSTLD}.bfd" &>/dev/null; then
- HOSTLD+=.bfd
- fi
- local LD="$(tc-getLD)"
- if type -P "${LD}.bfd" &>/dev/null; then
- LD+=.bfd
- fi
- tc-export_build_env
- local makeargs=(
- V=1
- WERROR=0
-
- HOSTCC="$(tc-getBUILD_CC)"
- HOSTCXX="$(tc-getBUILD_CXX)"
- HOSTLD="${HOSTLD}"
- HOSTAR="$(tc-getBUILD_AR)"
- HOSTCFLAGS="${BUILD_CFLAGS}"
- HOSTLDFLAGS="${BUILD_LDFLAGS}"
-
- CROSS_COMPILE=${CHOST}-
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- LD="${LD}"
- AR="$(tc-getAR)"
- NM="$(tc-getNM)"
- STRIP="$(tc-getSTRIP)"
- OBJCOPY="$(tc-getOBJCOPY)"
- OBJDUMP="$(tc-getOBJDUMP)"
- READELF="$(tc-getREADELF)"
-
- # we need to pass it to override colliding Gentoo envvar
- ARCH="$(tc-arch-kernel)"
-
- O="${WORKDIR}"/modprep
- )
-
- local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
-
- mkdir modprep || die
- cp "${kernel_dir}/.config" modprep/ || die
- emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
-}
-
-src_install() {
- local rel_kernel_dir=/usr/src/linux-${KV_FULL}
- local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
- local image="${kernel_dir}/$(dist-kernel_get_image_path)"
- local uki="${image%/*}/uki.efi"
-
- # Remove unnecessary files and move lib
- find "${BINPKG}"/image/lib -name '*.ko' -delete || die
- mv "${BINPKG}"/image/lib "${ED}"/ || die
-
- # TODO: repack these
- cd "${kernel_dir}" || die
- insinto "${rel_kernel_dir}"
- doins System.map Module.symvers
- doins -r certs include scripts
-
- local kern_arch=$(tc-arch-kernel)
- insinto "${rel_kernel_dir}/arch/${kern_arch}"
- doins -r "arch/${kern_arch}/include"
-
- # Add the identifier
- echo "${CATEGORY}/${PF}:${SLOT}" > "${ED}${rel_kernel_dir}/dist-kernel" || die
-
- # remove everything but Makefile* and Kconfig*
- cd "${WORKDIR}/${BASE_P}" || die
- find -type f '!' '(' -name 'Makefile*' -o -name 'Kconfig*' ')' \
- -delete || die
- find -type l -delete || die
- cp -p -R * "${ED}${rel_kernel_dir}/" || die
-
- # strip out-of-source build stuffs from modprep
- # and then copy built files
- cd "${WORKDIR}" || die
- 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}${rel_kernel_dir}"/ || die
-}
-
-pkg_preinst() {
- dist-kernel_update_lib_symlinks
-}
-
-pkg_postinst() {
- dist-kernel_update_src_symlink "${EROOT}/usr/src/linux" "${KV_FULL}"
-}
diff --git a/sys-kernel/gentoo-kernel-modprep/metadata.xml b/sys-kernel/gentoo-kernel-modprep/metadata.xml
deleted file mode 100644
index fae0ca9e8b97..000000000000
--- a/sys-kernel/gentoo-kernel-modprep/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dist-kernel@gentoo.org</email>
- <name>Distribution Kernel Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
deleted file mode 100644
index b12f08fa7497..000000000000
--- a/sys-kernel/gentoo-kernel/Manifest
+++ /dev/null
@@ -1,49 +0,0 @@
-DIST gentoo-kernel-config-g19.tar.bz2 5610 BLAKE2B ad20063ac54c8b1485a06877e1d741b3b2c0a82967e8a84b1c475fc775178de3be39942e0ae00ca3bf2bb37f586da3de35df0d8229f14e1f7f77fa9819c907bf SHA512 7e4846265a3ab9f02c121b4eeeaf494f5f0568b309fc1245a47608a88c520b5b2c265c26bcebfb66710494951cefe718ce6acb4c6292138d46221003b74556b3
-DIST kernel-5.10.12-gentoo.tar.bz2 756570 BLAKE2B 3448fac74ca3d3f373ab6b77a76ca9e44aed3a484a0e4c22761fcaa60e9097706fb8bed9b83b024218918528bac10253e824787b6737d6272da65a49250bca69 SHA512 0cddbcdc00e5d8f54276c0295106401d66983a72b5bca30b7a8bef8be6cd0448622c885d4ac6c75271809b45a1231dc5eed8e3102e5cfff7ea54829c5c5daa96
-DIST kernel-6.1.102-gentoo.tar.bz2 599178 BLAKE2B 01763e0db371bca986de92e82e307c27c1fa48f1ea33c2d3c5db2a1d6138104b941e9d23c2ae0f8b7496c9519f3975517141a39ead99345e3a6f936c2e8d577d SHA512 15da1ce895048fcd2f7b9be0895ddfcce7f8140443762e45507e3b8edd1307a841b19f45b979125766d7bc397be735df9c93fc0483861f893dee6e548b132f87
-DIST kernel-6.12.41-gentoo.tar.bz2 1178332 BLAKE2B 2202a4e6f80e438e8aa2a7b14749fb284fda690be1af4c100cc4387b4974aa7a35ff9e10f83f0b2454256e3bc5379160a3504ba83228af824200ead36b91c040 SHA512 4498432485222a5b529ab84382e84f302759f5504976fdbcfba6bc8942ca8fd2080fefa873e2724c207686655fc605153ff6fa21c21e64bb55014e14f47d23f6
-DIST kernel-6.18.12-gentoo.tar.bz2 1348595 BLAKE2B 6f8da41d0ec42538260d8ba419eaa82f77659b02a6598ca93e39ec5ed774fb2683ee144739744646e3f71df6ace148a448877c43282fae1d124a6d0c62f9860d SHA512 d24792416f10ac38d641b6050e409c0bb2d4101584b2ea9e2359e8deb21c5ce6154e9e9f17fae600baa5c658e93c40cacb4d5abb4c9e974d19e008eafa5164cf
-DIST kernel-6.6.12-gentoo.tar.bz2 730821 BLAKE2B c9dc3d85ac3c623244cff44134c59aff2112e990184c94ce654d1c92edc65c4c79dc6d98acae369af2c2986e49551e7decd49731ff2a7f86e6f473620ecc9384 SHA512 777ada4a2b0110947826747f29a4f30c4566b89237a07257cad375548cbac74a5aecf2000f5867f810493ab27531b075a663ac9a4cc409ea2370285b8f991c99
-DIST kernel-7.0.8-gentoo.tar.bz2 1394062 BLAKE2B b638dea02e129ea8c812d26f3e6fd6e3d598265f19a30553823fc64cde6171ef8c78ef74043013431c26b5ad273910e5d1632d533f0414ac37be2c4c25bf8694 SHA512 e15705a61e6b6e2824ef365298d705fac828f9f8937e35baf16e2a021f1286c740d5dea05f724a048608355ce5240097825a9f740931667fd4dd573cdacfcac5
-DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST linux-5.x-sha256sums-20260523.asc 379058 BLAKE2B 9b79ea374650842097eb13ea7b27d5dbce26bdbc0242a0ad4eed47cf1d739632f2d0950cb3b0c766bab11053d0b2e49defdd55a28f65988b26f21478b171d04e SHA512 c13a47abf208db2edbb379cb4bb6b3624a55c3784f4b7ab3d9f4c03b978bb616037981b3bc11776fc8bc030bf82c830c341d4b448ea178305c0c49fed071170c
-DIST linux-5.x-sha256sums-20260601.asc 379748 BLAKE2B 0d6efa83d413386727f3d899d65adbd75e5e16f4442259170127dab904ceeb79af1f25104da01638c08afbd469d93c362170e2a7348f22a2e76654f2eabd8df8 SHA512 4288d18e7464a16972399080691b18408e01ab8245d8d017e6fa8429a7e672bea7f12766e051c36df82bdd56bb60356a39351bd89dac17a650cd8950f83a9c21
-DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-6.x-sha256sums-20260523-r1.asc 227108 BLAKE2B 71874499eea95879b1c461fcd73ee51b3688cda656cd301bab033cc1f5f69019424a153b2dfe74ca4e5d32a1885d16eb4aca87c1e1a2c01bb66116738994a8f4 SHA512 edde21f9346a3976200c1e1ffa61d0e3220cd6c30eec3fed25b3e09ef1a3b2ef2114c3b6f2721ecb6d53e7882a1bb34cb154feaafda671067174cd58d8825a3b
-DIST linux-6.x-sha256sums-20260530.asc 227108 BLAKE2B 71874499eea95879b1c461fcd73ee51b3688cda656cd301bab033cc1f5f69019424a153b2dfe74ca4e5d32a1885d16eb4aca87c1e1a2c01bb66116738994a8f4 SHA512 edde21f9346a3976200c1e1ffa61d0e3220cd6c30eec3fed25b3e09ef1a3b2ef2114c3b6f2721ecb6d53e7882a1bb34cb154feaafda671067174cd58d8825a3b
-DIST linux-6.x-sha256sums-20260601.asc 228472 BLAKE2B dbb61b77596a4bc658124e3ac313f094d78b16dc7d4131e54db292a9d42298594a42b0f91172424238ab7da3d5fa727a9d909df3fe70280861008b0f73322a9d SHA512 00161536ba0b7bb31ca78614da1e8d461bf1182eb3a8147f0caf89b89bec6b1ea2273f7cd2dc77fa83aaebc7dcb03b20f37536f567af934c1b4907b0df6da2e3
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-7.x-sha256sums-20260523.asc 4541 BLAKE2B 17062ee8e93d4c81aa8adf1952650462d097229a76991873b42867a122bab9e5b33502a98a5df8c6ab52031601f3bcef6c82f50a86e0dcf1e1b680fff3ad2280 SHA512 3fd12772887ccf7b568ad641467fc9bfc29ea590e826e59f4c426cd11280fa7871e4b61f091d6bc3780d13e095c6b4b450fb5356606d32d70d4e985ee9832a64
-DIST linux-7.x-sha256sums-20260601.asc 4878 BLAKE2B 1a08d3eecaa37ab2f2aa10801025c214fa919c0842ba24d9bc9a555d10c64ac87bc8afb99c37c94ae65a1e73b408257d8483cef590ce55f80e438ef374ffe4cf SHA512 6c650dbc9d58cb42aef6b2bcd418dd20fb608a4f449f4300c78d8427d35a732227f5c6bc79a4d4c4e6975698b0cbd1c64488a89d59cdd0f8da8912dcee6a9e6e
-DIST linux-gentoo-patches-5.10.257_p1.tar.xz 16432 BLAKE2B 1d13be014433c0552e37c50b1c38c2186a9cc4366dd2020caf418059fcc7e2e08cad548625ecf471181143d2bd029dde112f40fa3db475be7490fb1d1c644d5e SHA512 5dcc6f8be29f03576d55cfea009a4f53905e98197459542f972f66a0ab3e695a250acaf10c3451368f82ce6058ec43a7459fec141b3121f4a71bae093b557d13
-DIST linux-gentoo-patches-5.10.258.tar.xz 15192 BLAKE2B 798f2f02534e66207dd8ca29f8679e0c6f21a099f0f7f3a793f9ac6a55230ed989cb5d0c01dbaf1dc763e83e6346d8d61ddc226dda7f4f2e4fe33742be650e53 SHA512 dff3489b4afe2e363048b97cf3b9d7131cf15ae808285b51f137420b34c58fe8ac5118451cfc7a6404e1d8e478a31616613000ad3b1a17e45157e51ae4084ad5
-DIST linux-gentoo-patches-5.15.208_p1.tar.xz 13824 BLAKE2B cd2e569de5ad427b249785bc01ccfe2f0d6dd00ca24af9880e42931abddd183ba18c0a09ab025a6040a51faa460e921beb471dc9f62a9354c23cb2d849075aea SHA512 840350aafc406b8afede719602445273d9bf7aace9c441513cb9c947a5a583f80e33fbab97442b80544ed07a8109fb4c1abb62163ebb98d258c483d357d734df
-DIST linux-gentoo-patches-5.15.209.tar.xz 12568 BLAKE2B a94cd6684dcc04d6138db486dcdbf5f94bdea53358e52752a4f75d5dc0c93788e93eed7aac7a302fb9f25e6fd63f26face4e83b68cbd896938a74ae5a9c4cb70 SHA512 31aab25c8d48822d4a53098d90e8cb625d763d4efdf7cc86893e483d96196c47ceed85a57770cf743098da30186f7fe4984976348d44ea257dcd1395ee235132
-DIST linux-gentoo-patches-6.1.174_p1.tar.xz 16252 BLAKE2B bfb8f91d28af75e27344110c1cff7822e7e10b02bc16ab899a89938f131c7c8863a4108dbac50983598537143a037b44e09459d7dee7f92a4143c0acec9a3980 SHA512 959a12016277a1dfb9148bfb232a98b267c256f9b4df12fa323af91ff13b3e15bdcf734b97f0b6784be71227f693a49ba371e6b0c4fa404e4c15b16e6962a18a
-DIST linux-gentoo-patches-6.1.175.tar.xz 14992 BLAKE2B 0db19d1e507cfcad237c2fe69d6ea29c692378bdfd77aa43a116192edee8b51944954d60c287921a5c7202a6f154c8896a8bec59e18ea3b6a9e518190cfc216f SHA512 9aa434167e34d041dd475f04441e459a853c7981b3381c608ac97d68cd5cb2895d90e700c9c43cd41cf6685eecf2471ec0cd0665e75be33675c41e43e8f2119e
-DIST linux-gentoo-patches-6.12.91_p1.tar.xz 18488 BLAKE2B 253e256ded6d7bf064f90107798dba7dd61abf3bab984502af6b1b6a92318cc9fec3f9ea15f9e23ef26f701f68aaa937e8f09297ce8da9496d25dc7e96d47efc SHA512 3aecb596cd6e11b53d85ba050e6e2971ccfbc7d3b456b4920d42ea4de913e0fb94ddc3b580fe6e2d6a1c6a957f6be23c027e6bf7bf24ec984565c216471e5068
-DIST linux-gentoo-patches-6.12.92.tar.xz 17116 BLAKE2B 82b0d16153cee9c2c8bd0125c6958dac6075471e7db1f5a42cd798fbbbc564b490b08190db23d4ee19133a9a953c50c1b7be71574c3293659abe0f3387223186 SHA512 a0d1bf12dc094807436e3a7f785a39e4e93b69e809a71c57756dfb2fa22b83215b6a7a53c62111a449c2806a02d495df99ecaefdf7ba33fc0c0ffb27da63b267
-DIST linux-gentoo-patches-6.18.33_p1.tar.xz 14752 BLAKE2B 495dcecc0ba7f4052e913ccd7d220830c1c9321810334ff8d05baf56b085436e251ca8888409d98f65553faca53f4a83ce3bde43887dba3e71b2a5506736cd60 SHA512 b6c1c225ee70f944203e93dde056d8a85b376387544bf0ea30cb111ba9b4832fa7a93d34c4ef68b8d584bbdd5ec7f63a9e6d77b6a385c37f975a03ec4bb504e6
-DIST linux-gentoo-patches-6.18.34.tar.xz 12688 BLAKE2B e8ea1855b2c6d397fcfa3c33bfa64825e639064994e67b045581ba1186a9641c4580426f795068aaefb438b7a2d49a9e43435742f89cd488ca92d50a1796603a SHA512 556aa8b398c4aaf2469311230b3206cfac17a349098378f5e230ff4dabeadeae173b40aae2915c59f0ee221d5df96031582b95ecb08c4ba50425e7a73c9cd3b9
-DIST linux-gentoo-patches-6.6.141_p1.tar.xz 41108 BLAKE2B f828adec1d769759b854e33ebfe16251e6aeee383d920f9b872e9f9c55428bdc35946ec5187526065a350619a51f84746095bf0a8805a6123d076375b64b9563 SHA512 4b5cc57f7672983b4905d7bc10a8f4134bfa3ea504bebd186477f07c57d89ebb166dc40fc78da83fd307b7c644d4c1d214f33dd98868f10d81011224c6726934
-DIST linux-gentoo-patches-6.6.142.tar.xz 39784 BLAKE2B 501e3026c59f86f3e4207e3ea2302c983a1cee3a723579a3ec41da53a2f9ecf17f64125157f4e3fd8be36cc51dd9d3e767862466591e8cb223a891fbb5585fea SHA512 ce8934c8b27aac9a3b0709830d9259cbc896733b1f57e7d8a3d1f06a4a017da46a78acff70c3ae19d76bd1dbac15d92062be87b3469a811d91fa182d55624e35
-DIST linux-gentoo-patches-7.0.10_p1.tar.xz 13496 BLAKE2B a7e15fce5c789f0f5c4d849c08558e307687a5b89a8ac98849be5adb2c9dc6bafe0d70a4e61d49bce1c6e138d4b28d2ff00943f3b317a3797298f3b7d6ab19f6 SHA512 bb3c7731cca8e0cb7736b93e6931b130a2049366f230fd5463ef7d7cdf6a180312e35c72a834c280263107b43629c40eaf016fee9c0215cde73a7cbe0b32fd57
-DIST linux-gentoo-patches-7.0.11.tar.xz 10608 BLAKE2B 143c3283884af0bec211e42fad24ce61a682250bc63c03582f021bce9da93d81007aaab52864a37239ad7b7ce0f96951f71294b00f8bfe9878f230ac4796ab8d SHA512 0ca27aead4bbbff37fcc84d7a7dac4db8a641485514fb74a6b257fcab1d1bdd1240fdaeec2ac8f924786f9d1ceaf868e38daf16d4bdcc0939877e239d0953750
-DIST patch-5.10.257.xz 7256300 BLAKE2B 5f9f76f69018e440b645ed7fe70cc955964181602dac632cbf6f106c9acb0c1bd051632a9e6570c0a005e8d2cbddf906a46c7b4cf29e11a6e09137f6b9071914 SHA512 154f4293daee3b5740d1816a677b0ba929d6cdb9eda746521ba668a21c0902c689940896b2e6436e65aa12596233542e4a5d5b49c10dc1d7c1cd45e1ca8bc537
-DIST patch-5.10.258.xz 7341784 BLAKE2B 2c678b0915665b599c544cfcd9c9fb98e7d1e3503f038203a19e4294b430f2ce9bfc9003f1467182ca046e1bd7408cc5c846843f96627f8ba64298645ffece98 SHA512 fb7774d5e9e3178042ae53d177a2212f23c996358fc99d040f393916f65ddd89f08733ccdd3002c733db06ae866cb52f1cb1acbadd9cdb7677b673857abdc502
-DIST patch-5.15.208.xz 7682444 BLAKE2B cdb8d906b43d6da18a24b845bef7da5d654934551eeff867be5d8c4afc73030ece1589fbb0ddb379d1e4966ea6d38e31b2d3bffe760edfdade27cc1a1e6b6b84 SHA512 434becb2a1d1ae0f45667bd595aa8766e49b575670d6b192bef07cabc61726913a8edf18044cd82d208c389558d832d95a4cfbb3a94d4f0b766078b5c1df07ad
-DIST patch-5.15.209.xz 7798764 BLAKE2B 21bb560464456b9d9f5a59da46b5ecaf49c0baf22db4d07c9e32e4f3ffe4b677e10a7a69c2ea2a9cd3f853d8d8beb5f8e985d9b8ffa44bd774d814bd34615682 SHA512 df8210ba7819605c0e2927ccf3a341049cdfe751b6e315816c7a810eb744d786422fcfd840309762a283e2f6ba388773471ea9e1af044a1bd76c79e3737e1ce0
-DIST patch-6.1.174.xz 7324984 BLAKE2B 1b127bd530d636de99ed331c4285ff7b610d3bd32db05d5497d484350aa0351b828227f4e20972670ddb954f2558a0cf806bc74f1b4c56f5f0cd974376ee40a7 SHA512 f50ca7d6a257c6e14f4c26477b3bb31963420397e7cdf069e535074e0c4c2f3c1f45c9708393ef85a1afcb28d7fa9509e8b668d26b8cdb36d9a0e5c5cae94fb5
-DIST patch-6.1.175.xz 7484964 BLAKE2B bfd1ffdb00514ef33cd0f9f8a001bb9560749375d0e3a8bcd021ab5555b2b74db8727468accf3f2e7c9ab4d71cf5299a2837b9d702040f7588526f00a3255d1f SHA512 cb59a190328e81a2827a3f8d5cc92e46c9251df49046899e369e63fbd01a424209254596a26dc0bb172d7df5bd1ac4660c256866108e54fbe301f6784fc09ed7
-DIST patch-6.12.91.xz 4651460 BLAKE2B 0e7a11c1ab28e44321833177d59eb3ed7d76b809d91d0b6061113d738ffeb90bc15e214c65fc0d10e77e472c6d76cb94efdc839c3a1de0a6a0a8e1dc6f9b1743 SHA512 3da0673a28ffb1040d565f96d28eca43f4d23ca28842a3df7b764e35c2c4f1d39d24e08e3e7adcf0e5e20e4b11f13aabfd99e8e979eb2c32d32db88352c61956
-DIST patch-6.12.92.xz 4689024 BLAKE2B 5697f552a2d70f30a4db6b54e513fb11bfc73fecd2254518110d8489253f2e458c26920e8b69ab9f4641118039aebb6af38670d91fc6cdfa8091c0d96c3046b6 SHA512 61838ffa430c40ccbee4e29d795e73ccb777a168b285d38ca72364261c3e3f3c3e4426dbcf7b19d9ff5fb830ee8b1ed0fb02120eeb2bf6472dbba3fa4515829b
-DIST patch-6.18.33.xz 1974288 BLAKE2B 4569664a77d67508743839549e3c6f2a29fcc48b4c038f31af498b75e44ba597bd36ef9be28c1933cd8bc8c45b022cf189d74db8ee5c6fbf7528eed837c6df8b SHA512 da1543907531fbf33f8450f2f6ce82e2fb6c04bda0e8f43e8e929ee36673d70e1cec3e1ff68290daec761f273544efa93eb45e2d479ce2272029874109161b90
-DIST patch-6.18.34.xz 2069872 BLAKE2B 68f7f3983cb64862991c4233cce6e36cdef0508e169ca3787849e95033804db7f0ef5ef71aa8671ab1ac3b50b746332ae274f3533b95782ab134cb5b7fff4dcf SHA512 caeb17dc4f7654ef6d415ed081396d0ed06fd46bd713a659367903092da1e9d12f4a237d1d93776c8d73561bf76fc696d69a82289bd61982f785f97bfdae530f
-DIST patch-6.6.141.xz 6129028 BLAKE2B 6168b8ea17e747a840e12b7074550997e1f82a4dffb807639627ad204af2fa266fab60430cb0dd5cb4b614ee60cd9cfd6421cfc656367103c1e2aa9ebc1544d3 SHA512 69d481d206714fb1054cb8ab76b72bc07af72f0785b11530fb7f42bcf321bb2fcb699ac1cf2d0e55415689331acd4f0a68608547efec714f5079bf4e7a4cf161
-DIST patch-6.6.142.xz 6159816 BLAKE2B e2b9f7653dc558b6b71ca2f7d1c0a1c925e75944cf9bf3e1e3464c7fdf2e11163541a7f25c84d11c54b8646418e11d38bddacf2c3220dec0c5d9b224cf8fb4a9 SHA512 1f9efe7067e25e7492b8e8e56c9c7563c9abb951813a6c969c6673e549f661bd2b03db1eca8b2d6dff0cf67a04836dba303deb771ae10a3acd7d8584693c1855
-DIST patch-7.0.10.xz 599488 BLAKE2B 8f3450b8a1c62d5e400bb9c724299ee024a3cb0d2c8006d8d0be36955b64d995d29048a4d7f31e94c6dcf4226ac3a0e007848acb0154c270be906bbb41efd645 SHA512 076c369ec654ff69b701a5f7123d4d4309c48781407a23012e629b7fe7c1dd16d7cf6cc0f069534902eef2e27d394516ed36cb103716bf0bdeca5a4345e4b805
-DIST patch-7.0.11.xz 743496 BLAKE2B 0223bdf2f67a717370226ce0143dedf106d182b834f40db931d377c61614cf4fed0ae49dd4cd54df52d82b8180efe2b12f0bdd4737441633949f2ef7c31b8b1f SHA512 6e20f47171270b47774b1f62f96b81a498544894ccc3c027785c0aec6751ad7b55dc96bc0fcdc52ea7cad57a1501fc651d024a2ac51383e3d753b0dcaeafb76d
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.257_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.257_p1.ebuild
deleted file mode 100644
index 28f11b6e6e39..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.257_p1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=5.10.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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-5.10.258.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.258.ebuild
deleted file mode 100644
index 4cd1cd43c32d..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.258.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=5.10.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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-5.15.208_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.208_p1.ebuild
deleted file mode 100644
index 97d2222de57c..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.208_p1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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-5.15.209.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.209.ebuild
deleted file mode 100644
index 231e6c1be6e3..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.209.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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.1.174_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.174_p1.ebuild
deleted file mode 100644
index 9841143d50e2..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.174_p1.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523-r1
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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.1.175.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.175.ebuild
deleted file mode 100644
index f93991053f4e..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.175.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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.91_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.91_p1.ebuild
deleted file mode 100644
index 4e0bbdd1de67..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.91_p1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.12.41-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260530
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.92.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.92.ebuild
deleted file mode 100644
index ff8e762926f4..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.92.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.12.41-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.33_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.33_p1.ebuild
deleted file mode 100644
index 9a02735d1226..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.33_p1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.18.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260530
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.34.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.34.ebuild
deleted file mode 100644
index 7a3e6ed87a1d..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.18.34.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.18.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.141_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.141_p1.ebuild
deleted file mode 100644
index 8fe1fce42399..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.141_p1.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.6.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260530
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.142.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.142.ebuild
deleted file mode 100644
index ac613aef7beb..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.142.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.6.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-RDEPEND="
- !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.10_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.10_p1.ebuild
deleted file mode 100644
index 40fd693187e0..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.10_p1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=7.0.8-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.11.ebuild
deleted file mode 100644
index fd2cd4dab87f..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-7.0.11.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-PATCH_PV=${PV%_p*}
-PATCHSET=linux-gentoo-patches-${PV}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=7.0.8-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz
- https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/$(ver_cut 1-2)/${PATCHSET}.tar.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~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 )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- local patch
- eapply "${WORKDIR}/patch-${PATCH_PV}"
- eapply "${WORKDIR}/${PATCHSET}"
-
- default
-
- # add Gentoo patchset version
- local extraversion=${PV#${PATCH_PV}}
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/gentoo-kernel/metadata.xml b/sys-kernel/gentoo-kernel/metadata.xml
deleted file mode 100644
index 3e089e806ee6..000000000000
--- a/sys-kernel/gentoo-kernel/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dist-kernel@gentoo.org</email>
- <name>Distribution Kernel Project</name>
- </maintainer>
- <use>
- <flag name="hardened">
- Use selection of hardening options recommended by Kernel Self
- Protection Project
- </flag>
- <flag name="initramfs">
- Build initramfs along with the kernel.
- </flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
deleted file mode 100644
index 1b2f83ed2eee..000000000000
--- a/sys-kernel/gentoo-sources/Manifest
+++ /dev/null
@@ -1,50 +0,0 @@
-DIST genpatches-5.10-279.base.tar.xz 8926540 BLAKE2B 0b1b16500bb3cc3ae16f84a58a9cd04dac9e2f0caa2a651cc1f8d672cb2750571ae76f226268fe8c4e27dafe73312e157921e11f5958bb1c181b2786f2c99157 SHA512 304790eaf7cbb81ced06879b51b57952864b8202ee45f97c7da5e05cfb3934209dd74c5bf60037d04eb9056e07cef62cbea8483c625527c9aba12f41b114c83d
-DIST genpatches-5.10-279.experimental.tar.xz 11852 BLAKE2B 57752a252123047f52126f4a39fa416f526096f22c3c06d536ed89b6bcba307f6e14cd8f86ee84f2e99aaed549d53e36b310aaded49e47d454311ccdc3a23fac SHA512 0458997f07d84f389807ace09ab4fedf292e3ec08fc8862c1fb1d68e6e485fcab8beb2631587584bd1ae11c405e0e59b2c83e2f64d7c86c292a1a49b42c3f39e
-DIST genpatches-5.10-279.extras.tar.xz 4024 BLAKE2B 365cbdd737ebe03c4ca6f2adfaa599ded2fc873043cfca046d3084e3a2651042ece4a250c0e5d230d0926f1306a314bd47fc8cdf153edb3bf48117a242e01989 SHA512 b1a2bcf05eb71d8d68c6ab183cfdeccde79275150cb2b41d892ffbda72e7564d29995ba7408321aeefe264128a1d4629992fbbbdfaee576a1a54d1339e03840b
-DIST genpatches-5.10-280.base.tar.xz 9041760 BLAKE2B 87095b53a0eb4167f468695c40911dbc0f20e0b033309f21fbcbb047e918294d5bd320dc51f0cb63b606764fa858bbf4a721fef0a2782b8447cc6c33f25b4899 SHA512 079422069283b5f112daaa67261360889c59c28ecd6c2965e98efff9209d3a8f7071fe612dca5b316b1147f09a7a2ad465ead3d6e2b91e439f5f0d178cfa29b0
-DIST genpatches-5.10-280.experimental.tar.xz 11856 BLAKE2B eec617e6c6052e8fe230e7b5aff2598f4685469110178c616bd400a9d0bc9e0e651c78c0c018487f809e3596819cbb29e718bc23ce16b6380accfc42fb4f4c66 SHA512 9849c10295188f0e33573495d042c2551b8c5a6bde348e8e9e0e63074a44cff74cc4ab55f2f71a67232892780d6450f4860462edb9076bd840286d567c40f943
-DIST genpatches-5.10-280.extras.tar.xz 4020 BLAKE2B a37a1710f822a27f2bf9756de1fe267354f9b2c1d04328584c191be8004cd13a1a40fd7ffe145f293944253b6e63bbbcb44f692029a8e5def2fb922c969d9a2f SHA512 6b3a584dc8c123aa4960980fcd8d27a247a90cbef90e25e65ada879ba1e56bc1bf447619e59d4746614584af3e184c5a0ef6099f6a193380a7b17c8fec6ebe47
-DIST genpatches-5.15-224.base.tar.xz 9474456 BLAKE2B 7a321a442c642d5d9552a238a4ad6bd2e4043e017b724542ccfb62dadb05d76e76f0b26ce15c8a287f43f67ea53b140b410e51db88e4f229da0c03e8e7d7276b SHA512 ae023c3111c6073b8ac1ed22898d0d6248a8932effe370717828023de1aa72ce3a22440d56602cd186a2e9eb14d573d01523bf3a207dedfe88e2508e49fa68f0
-DIST genpatches-5.15-224.extras.tar.xz 4032 BLAKE2B ea05ad39843a26fe2da208e32e6914e56d6c7a52c7da70ddf8b469554f0b5b48ff9621674eab350abf8a5b67a23392b487cfa5379f7231786b30757ea4afa778 SHA512 823442969fe20b20248026ec0641e9767172bc65266ee0a9edecf486750b58f42626cac43ecb410b5d217c2a32649b7f72e281b2e914372678465f88294b92a5
-DIST genpatches-5.15-225.base.tar.xz 9646312 BLAKE2B 64fc5c47daffca6133106d8f5981e336b2c5dfda709937a93153ad86b1230d32d1f4185a3fe537bbbaefdbc0533cf2a5cf0893129fe7e4706d04eca791a83476 SHA512 44575f7331e749e69b712c1762d98aa07e44e80ac9c219b4e806961855989d1b40bfaf2d952de013eaa15ff010018ac465ccbd61cedd34527131bfd540796aaf
-DIST genpatches-5.15-225.extras.tar.xz 4032 BLAKE2B 3fb8a9ae1c83b864f9ed773fd5a4dbaeff9756f1031f06f834ceaff46bf6b1c373dc304e7bebfe46295281fd0f2f911ed34a7732ee6e9e473e685b36b8bd777a SHA512 879e0fbf59a04d0c210e7f66170ffe0e31b942de76d5310053d85c9f3dadbbaec4e8fbc25f3575265f4a74eaaa9c2139097a839923955a611fb7d972f9d7c73a
-DIST genpatches-6.1-190.base.tar.xz 9003984 BLAKE2B 50ca0a8d93fa40a159dfb5eb5db2de096115d9b7156fd70b686146f5ac520b82ce2757e8533e07138faeb5769d7dd57f22db6d61725ff2276872cb0c62e92083 SHA512 79339b1526c802db0c5b1c4a116bc927ca795fbfcde0b53d057d03056aa8353ff63f660fd41abb97e213ff6f760002b0bf6a1a30f0ba6f1740075344332cf481
-DIST genpatches-6.1-190.experimental.tar.xz 17708 BLAKE2B ad0e433b30a6ecb0f6edbe806ea3411698d9b7ef41c897f7e5976185f03ba64ebcecc8465dfb81760a8fafc9fa82844345fa2b29b49cb733397d360c415f2697 SHA512 05a5d922e2159721375111b7d40f1cf8c87f352c964a5cd4d206addcc86b6dd6da0dad20a27ef910140357653eab87556accf197df48faffdf0bc0dab4637aea
-DIST genpatches-6.1-190.extras.tar.xz 4032 BLAKE2B 61e1edd2e21454150c3a441281095f0bf48fcb3c8d746ed7aa5cd4cef129e818ec12ee083f38c1dd537edcf1c964da96fedf351390ebd7ebc1ee37007754767d SHA512 6ab57b6c23ce794b5ff752367dd4d60b31831a217a05783237601a81339f22648b8c793c49dfcd120def19e5dca1ad65dfecee2bfc8bd6b2f09e2c75522a9127
-DIST genpatches-6.1-191.base.tar.xz 9233532 BLAKE2B 00fc79ea70c854cbf0feb1d009857a25b52bc21ea77fca200d8b398213711792daf7621e32d076468b8511bda6252603cfe9de2058be080087975c94f33e9c4d SHA512 92c2941f0d0a999e539c7fd16eb9d915e5cf5badc763d73a6097327cd164dadb2507cbe1a5ee561558c32ede6037af564f759f80177251a63e04a322f6d59771
-DIST genpatches-6.1-191.experimental.tar.xz 17708 BLAKE2B 8b3c2014f83c4ca9db6d6f39c93089b8892d88f60071b22be171de2c339b051d22e6413591764c19100452003418ef76306e646fb9ec078bb4b2ce5366bb8375 SHA512 f969bc99a88328d22a5b7b6aa4b2c0f0aec0f664bffb586fa01bf4387b1254e8d50dbac41fc84f25459f6f85b45a8e02a57053e8735bf6a5c005ce902d6ef378
-DIST genpatches-6.1-191.extras.tar.xz 4032 BLAKE2B bf71b6394a24e8c9a0d9bc142a539a5f3a33e912ff2c340ff0cd02fcc9d821f6c1e022a03cd6681267bd87b1bf53298639961d91a4a2b80827f9645017ec43cd SHA512 fbf6c0589242c919e6668c3db502dd63499ad69026498a43b6fe782367c8c063a4b2f55c4fb2bf13ba576e0a0b5a79e003a13711af0426eab4790c68e14dd16d
-DIST genpatches-6.12-101.base.tar.xz 5355304 BLAKE2B 33c05530000bf5837e429a414fd40b10f56001ca1dfbf7b321beb05563d4d24daa222aa0d6c7682042fd594210d3e1bc6018a6c223361eda2150348f7df9f467 SHA512 1bc39ab8a566ed3a19217047f7f4781bf2f93ea5aba0e86855602d7ed89ac15fba4ab9ff004028b92b0482f95ecb2b78f62de2928baef1c0ef8f2ad4a15899f1
-DIST genpatches-6.12-101.experimental.tar.xz 6052 BLAKE2B 336a99a0bf3a8ae89b1ebbca9b7eb79e9e9924805c9868aea8ffb8755df65aafcd668d979b99ef5a02756a442b2559fb763907f8d9ce2fbfba80ec6324d1aaea SHA512 9e31c9eb7677a07bb05f49747b7a9dfe4b921046767cb4d1c6fcdb5a272d317cac7006b3dab56f0b6f5186386d837fa3de7f3874734754027db333aef6a0c6d2
-DIST genpatches-6.12-101.extras.tar.xz 4300 BLAKE2B 455dd18dcca52eaf750be311eb2eab394f4e17a59342a4a948dcfc26760ad25bfc626101227a4a86cb033c3c82b105013dc6d2a9f2aba73663f5de6efdf8c318 SHA512 76475a561f401c10923bea6fc6598e36fd6c90867163352694786798f62733b43723f0eca2e3bf68e6bca47332235050ee3f274cb3b02455db3583a2a0abf027
-DIST genpatches-6.12-102.base.tar.xz 5420140 BLAKE2B aa28d01986482e239723b891e028f5b54b0be97dae321668db4b626fcbc9619ebe71e7d52a0fe19c4831167f60549f827f19448740b1fc0daef7139d5c2c73c8 SHA512 4ab418f6527b3731cc3472f2bac2fef16c7c3e709fed352d94cdabd565f5d752be28f09b50e624d4c5bcc89e8f5e970caef48e5d8b73d10fb09c78f13a8b630a
-DIST genpatches-6.12-102.experimental.tar.xz 6052 BLAKE2B 1fa42b880170894e88a7e8e228913d1bc33f2dbc50f93ce02688f7924d8d2533c309c32100a6d81f1061503f7644c6d3729ec6a02dbee57b8ebc49eb283b183b SHA512 4f344d84f5b2a77eb99bd324b79c0b73c5f66bd206757797ac75b4b541e3a54ced627e32ef38c044c43dd1859b37361b7174e72e2a112d8c6f7ccdcda6428b91
-DIST genpatches-6.12-102.extras.tar.xz 4300 BLAKE2B 379e3b42442ae06a228c1e20e1eaa6e295a68da2e44222de13cf32f6773fd14d116d071423c912fcc1361f3c3ececb008797b7cadf2b9fcf325a66a3d55202e8 SHA512 1fe7f6c854aef446dc6f77d3ce70adb02541cf12e3f804620b79d18ec913e514352177155b708ba80d2bc5e4208e2962b5bbaad165937ee32cd537baf665e570
-DIST genpatches-6.18-38.base.tar.xz 2090152 BLAKE2B 8e9f565ad3426bd73592e09119ea7ea0e6bcc338b6c151e993b6cdbce838e5bba9bdf55b70854e4bc3452bcc1c788a95f672989906e6f2fe9de8322f2fe5540f SHA512 9094d7afa2d5c6bb318c291b188bef7a0e2152effee68ec7bb11932b8898b712082dea8b3ee64a0877fbc2a4b7c2b98cd28c942ebef1867a094b4e037d4601c0
-DIST genpatches-6.18-38.experimental.tar.xz 6008 BLAKE2B 891a177c9d363d68fad7db4efe8485d36fe962ede6c8032b38bad82c0974dd23cd00fcc4cf68b86b9fe9f2a4e90b8afcd5ca591ab3e4859a9f070eee486f4eed SHA512 1fbf13f43193e738bcef5e4f33d5ce19bf2cb9e6dd0b5f1d77b700533d679efa250f876dcf13802b6a5dc18a676b423fc19101049ae3e36fe2dac87214f89aee
-DIST genpatches-6.18-38.extras.tar.xz 3976 BLAKE2B ece36cdfe167a3523f6175812f7246741953d28daed6576b29a31c2b739e0652db004db1a266a3f7e0b5de90a2afbc479fb669c81b794aade5424755ee6ef9d6 SHA512 0c453032067ddce8a2aa12292c9e3a104741ceef28d91a1876974f5a5bf4719dac0baa31ce2e007cab9ffa5427a5c72c14e424d1bcaf90cc6350ce6c621ebcda
-DIST genpatches-6.18-39.base.tar.xz 2195020 BLAKE2B f7e1290c021467038c4b4cfaf6defee1f7ec0c206873e5321b4ccab4909a8e7e042d24d45988ff7fa7db51925f805769f03b79c3a33b0c148ed830f70065064d SHA512 16762dd4afd3451393e8f5455792449d40a559f21a4d44b06f484ff39bad6a9536ad2cc99802aa648b95dbd1e83643a55b7f30441a5a069715343201e8094e01
-DIST genpatches-6.18-39.experimental.tar.xz 6000 BLAKE2B cdc63a777f534282dffcc1f60d0b64f86cfbd1acaa685f2733032db5e6a0ae0cde691688af4cfbc5f0395df3008e0c7cc7afbe6b37e5982d4dbf02ce7b72b3e5 SHA512 ff7b00e48e886577e40dbd7e6cdf730e96929d6cbe1d60b16cf358a5b95a67e4618e90c96c6b21c23d24310574af290f17032b99bcc6cdca5336a8b2c033018c
-DIST genpatches-6.18-39.extras.tar.xz 3976 BLAKE2B 1b2f1f562ba128adab37cf021d735451d87b3cefebaae78797d31eb8f6c44065e8509217fbbcb1a3fe120a6ff60b6cd2f54e0537d8988a57aa5d9bd62a3d68aa SHA512 05b437178674ea7b1072df3ebad755bf798c43e959d3402ed6719c24bb6081c88352359a9d12669cc18e2a369d972d4fdb3ea487438078664e278c0959561fe0
-DIST genpatches-6.6-154.base.tar.xz 7407140 BLAKE2B d792450886c571dfee8799606a76354dd90f02b3c0869a24cb6f523d37034bd63309cffdceb81286ec81cad50b6a784be7832d40883f6190210b320af839b65c SHA512 980327beb4a1bdbaf816e800b0a3b0a4318c4ea5621e8451e3471a4db4b53b3819fb50c244a750e9e770cc0004bdbe1a4e682ee7d65e8dae73314569b9d9b8e5
-DIST genpatches-6.6-154.experimental.tar.xz 6048 BLAKE2B d5aae37446126a6c4f59d7e7638d518c2cbbdce98776376f4dc51885107bfb5596e58dc4d41df086b75625668bd83deff31818c2f5fb925a756279a615ce1ea8 SHA512 6490c709c897e867201eb65d1e7f2bd78c80d5f6230a9333ae7357bf5408b2f020d94c1243ea7c06de314bdd13bfdb82d81a8bab429d022b04dceabb48e868a4
-DIST genpatches-6.6-154.extras.tar.xz 4036 BLAKE2B 8496e148fbf8ba7689a84f7924619f138de95c9b68fc91e4cd293d58094034fd93048e4fdc9d9e89e046f88deaea78cdd16409e1d5b065e98d6a49c5608e9e0a SHA512 5a0ebf4e5642b59cf08091745aac318d4bef9368681364f8e8452ca4466c3f0968cf98b206f65fc26297ad04d6b67ea826751a30143088f4196162aac644cc9a
-DIST genpatches-6.6-155.base.tar.xz 7450188 BLAKE2B bf8b97d952aa2e315c14dd6edf1d5f25096d449d036917956b29993c9438223a57822073396638f9d5b82a58cf493be2894c07e72c7e86c567c26eb2fecfe6f5 SHA512 41ae860298d939383ab61250a0905d4239b50998732c8645108f01745afdb359d10960cfa150dedee842c2bc674dcb318104b3fd37df634e1f8cda3bc96a3570
-DIST genpatches-6.6-155.experimental.tar.xz 6052 BLAKE2B bcc75285cbd8f3dde9ae476dc8034445cf38f76c1a9499bb2508cb9c867ef8a6bf276007175938828b652a7f2fadb8090c4d17fd03bb07a12f64b1d752aa5476 SHA512 f24ad0e8daf8baa301a7768e8ff6b10f0b49155a02a022cf091670837484e587d9fd7b625642ed522bba60133d4c48496e5784153543f12e61cfc2b85f15daa6
-DIST genpatches-6.6-155.extras.tar.xz 4032 BLAKE2B 71804315c2b4c056adcd5c951bb93220ea7e6cf34d1b61d02e4e49130dcca7fd02e524fdb04f5f23c021108056af785e092c5fa4a0757065bdcbfde57b915271 SHA512 73b2639ac0a29a5ab0aa0110f5080f457ab5b95daa4bfa3e98c9ed91896034ae06c194c816adc8c3d3911323b5c79a5f5f9f9c50a0da60175b17b4b165cbc90e
-DIST genpatches-7.0-16.base.tar.xz 616012 BLAKE2B b35542e83949a0392e5ca27e6892a130aeee170fb1beb264663d2d82294b1c8a3f15aa647c7b185f8ecfb731034485b3800eba75c59ef20edbc17d5b1cd37f1d SHA512 8f0d1acf4291de235de342ece259206882368a1f4618d0c6fcb1be081af37fa2f144b63e2cc3fe22530bbc0a6bcfd1cd8dcc8663ffb258f3caca33ce8bc27d58
-DIST genpatches-7.0-16.experimental.tar.xz 76836 BLAKE2B 219373c930dc5c4bc1e6489abd16205e4c1073f203f84a414e6ac871dd2ad85aa94f3eef210571bdf2d43676b39e746cb30c706eb87cbccf4cb815a0581ecd82 SHA512 fd93341ee9f393944ef66cffdbd7f5d5f5dfb666e2baa2bf4d57bd392e77aaf7c7e16472a8c0aab46b806f913792865ad7a4b4d4d3a1a00c7c59fd2f4349b958
-DIST genpatches-7.0-16.extras.tar.xz 3976 BLAKE2B c8c2ca71395ed38744a7752785e51e74f5c337acacda540df6063c7684eda1517e9a5687481231bcb02dfb2d1d6bc4c69d0bd7417876ad320b8d0fedbcb2c228 SHA512 3d85280c6fa902577c7c3393054d1e889ba0ffd11d5274940a6bec19eaf0f44810d8468a9b430cb8a8e75889234ef330fe3e27597a12f7b2b3235da31b7a1de6
-DIST genpatches-7.0-17.base.tar.xz 616832 BLAKE2B 6c61a82965b6436e6c10689cd2315bc16f8cdd97caa07c155bc31792d2850afd35f97ce1f76093a700c15a637d474356432540fcfce815de02c9a8ccf114fb18 SHA512 1ee4a310e2772825d518d00849541866002362ea188862b4fc3b655535271c3e3d738502df6c1822f335a72e23b0b6b7032ae3880ee07ca5acc9c82f4e15bf6e
-DIST genpatches-7.0-17.experimental.tar.xz 76824 BLAKE2B bb70a0fc66e5ed934d049bcf8ab40d2d7f6483da7274d5f1577a4e23fd5ac18aba2834f2eefad21a5a370ae299d3a26c04d3dc31a060f44a06a895937012136e SHA512 2fca88179e98a288498ac45d48551b32f5c39570615a5222980e363c8e3815f0fc461b8450c552a856ddb9c1fa04a5551a3eb3ff129dd9155b4eff2b819e32a7
-DIST genpatches-7.0-17.extras.tar.xz 3976 BLAKE2B 8a5157b7a6d66575166946219b7390f57b5e3b9a5a9dac282f05deb7342c2c40b1062f87e2975fe83f30708be3d700095cc3c14d5e8c8a9b717fdf8cd5f95d4f SHA512 ac76f9367eeee1572c3e1fca31fddacf4879e2a7a5175d7d8d21053a588ccfc52284b17b402229ac5cb6d6d04e7705134a3fa8691cdf4c4e01cba7bacb8778c3
-DIST genpatches-7.0-18.base.tar.xz 765060 BLAKE2B f36e55c7ee88f7a4b35180486302f99ea4b2adfe130d8aade52a99848e96921032e0f8c47279b5627c50b304c36019744f1dd92bf279979f2c535562be591fba SHA512 aa2f27d7e3489616edf0d6c1e44765508f98e68e969312143c6744f9511b678d528809ce3befdb089fdc62b36efdae6a8b73ba896947877de77a2e0334b8ca83
-DIST genpatches-7.0-18.experimental.tar.xz 76832 BLAKE2B 111036077956a2321f8e2ee072e60fc53ec151e1fc73576e7a522c004c9e3b14f651657dc6d3d7baf71763b1adb87c0791f5f01c1a259471a47b7361c312426d SHA512 f0fd1297c7c5c2015355a0464c25ccef5a3edd4ef07b13f75d21a94d4aef69fac8e238464037995b4f67fed3bca1c4996ee2737f5bb916f20da6b7896f50962f
-DIST genpatches-7.0-18.extras.tar.xz 3980 BLAKE2B 3b892200dd89817c2aba62e5755b0cb7b8c81ca075d0306e4f0d52a1752d41f5d6b4ef0dc48c9ee9ff8295e1e56b914a76d6520043f1775a80c2dd60830169d9 SHA512 efff5b3581e3d0d245cab662f2ba41cc33355a10c1a944467afce534e15b2e449a7150620316efdb4e9f4f6de3b064cf6b294a1092ea82a0ce57bbd603ea3cd2
-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
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.10.257-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.10.257-r1.ebuild
deleted file mode 100644
index cf48f7889217..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-5.10.257-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="279"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-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-5.10.258.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.10.258.ebuild
deleted file mode 100644
index 1950eee994ee..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-5.10.258.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="280"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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-5.15.208-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.15.208-r1.ebuild
deleted file mode 100644
index f5864fd62091..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-5.15.208-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="224"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-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-5.15.209.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.15.209.ebuild
deleted file mode 100644
index 2eab0b01ea9f..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-5.15.209.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="225"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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.1.174-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.1.174-r1.ebuild
deleted file mode 100644
index b7eafd55c3b4..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.1.174-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="190"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-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.1.175.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.1.175.ebuild
deleted file mode 100644
index 8fcda29b8b36..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.1.175.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="191"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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.12.91-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.12.91-r1.ebuild
deleted file mode 100644
index 10fc0a885318..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.12.91-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2026 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="101"
-
-inherit check-reqs kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-pkg_pretend() {
- CHECKREQS_DISK_BUILD="4G"
- check-reqs_pkg_pretend
-}
-
-src_prepare() {
- kernel-2_src_prepare
- rm "${S}/tools/testing/selftests/tc-testing/action-ebpf"
-}
-
-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.12.92.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.12.92.ebuild
deleted file mode 100644
index d74d52caca4f..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.12.92.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2026 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="102"
-
-inherit check-reqs kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-pkg_pretend() {
- CHECKREQS_DISK_BUILD="4G"
- check-reqs_pkg_pretend
-}
-
-src_prepare() {
- kernel-2_src_prepare
- rm "${S}/tools/testing/selftests/tc-testing/action-ebpf"
-}
-
-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.18.33-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.18.33-r1.ebuild
deleted file mode 100644
index 19471baba99c..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.18.33-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="38"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-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.18.34.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.18.34.ebuild
deleted file mode 100644
index 3213aaea7117..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.18.34.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="39"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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.6.141-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.141-r1.ebuild
deleted file mode 100644
index 288f375deccb..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.6.141-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="154"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="experimental"
-
-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.6.142.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.142.ebuild
deleted file mode 100644
index 515d62352fc7..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-6.6.142.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="155"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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-7.0.10-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-7.0.10-r1.ebuild
deleted file mode 100644
index b742c5309ae2..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-7.0.10-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="17"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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-7.0.10.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-7.0.10.ebuild
deleted file mode 100644
index 088079e92c55..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-7.0.10.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="16"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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-7.0.11.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-7.0.11.ebuild
deleted file mode 100644
index 76e607ad8f2f..000000000000
--- a/sys-kernel/gentoo-sources/gentoo-sources-7.0.11.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 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="18"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
-HOMEPAGE="https://dev.gentoo.org/~alicef/genpatches"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="experimental"
-
-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/metadata.xml b/sys-kernel/gentoo-sources/metadata.xml
deleted file mode 100644
index 74ee2d68b6e8..000000000000
--- a/sys-kernel/gentoo-sources/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>kernel@gentoo.org</email>
- <name>Gentoo Kernel Project</name>
-</maintainer>
-<use>
- <flag name="experimental">Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag>
-</use>
-<upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/sys-kernel/git-sources/Manifest b/sys-kernel/git-sources/Manifest
deleted file mode 100644
index 93f240865423..000000000000
--- a/sys-kernel/git-sources/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST patch-7.1-rc1.patch 55465034 BLAKE2B 2e91dade52cf17bce748257272f3fe9c67c45770f8e322544b3198665362d29b72e484810c24283c75c4d0ebc7c0e90b5a43e066ad65ea34ac507ff73c5b0255 SHA512 50bb1e8bf2b47f3a908f23fc239e0648cd557d257de3cdbcb9a6cb0182d6dd7567318e0d7dc917828711940376a6716f90403dcffeb1cd6b184027f07bfb5c7f
-DIST patch-7.1-rc2.patch 56461489 BLAKE2B a59ccdafed3c3c87ccd7433f33bc35951ac6dce29b543b6dc8b30bf281e453edd5f5ee4ce9a28a7983252ee791e49ec47cd15a3e23fdb214a7780c922c14ddcf SHA512 eb69b7b5bd988a2c1c0af8d45b19c0dbd481647cc02ffb0f064d6e74f514e7bb6fbf469333040acd9917f7a27e90074d769e9933650f88601649c76798c19e63
-DIST patch-7.1-rc3.patch 57139348 BLAKE2B 8bd4b00d8a8d1478c0696c5d04d00083b64cd243933831e68066af86b6203b0db76b1820634568b5d12b388848760c156b12c970df5e08f7dd056bd46b6545a0 SHA512 ccf91308f7caa493206bf1a133807ee3f8e3bbeb50c5bb43b7050577e5f717d856780c17c7cbfabdf182045d17581831310ca9d909aa69e6f63efe300b426a30
-DIST patch-7.1-rc4.patch 57585022 BLAKE2B 79566905515ff28e4542c6b27c04fb9a60f5931376860bdaeeaf6f069f82f60464d707e273e3cd3620ab37ef0edd2cde3efead2672d8969c4c05304ef3b1f5fd SHA512 d50ec1c9408b1981f4965980ca5d89229436a25121d805dfc50278e6bd1d88d9efc49122efb2c1dfbbe21d3ed1e94aba3410368354d413b5bd51f282292e1eb5
-DIST patch-7.1-rc5.patch 58341426 BLAKE2B 1519fa2a9f1d01b45b7bcd97155b658c2771a9255a0bb4861ddf795e9dd0aeb1838198f1008f493a616d1221e92c806ded6dd9a6ed0bf27685c11942464414bc SHA512 d97e6bf1c352abe777da74b84a9da2f8009668b8a38fdc5b11d0d24941e7dfaf63ec3fac4dde52c152a76eb8f12e73e94e3e0ac67264bfce390bab9f631bb598
-DIST patch-7.1-rc6.patch 58776604 BLAKE2B 0565e6ed6856b4daa9421c2d3a9e58c620173d187a97cfe928da5367df9f882c81761a737dfcf4c7cf399b05b478977602882dd7ef3fc5cbd191f13252920f85 SHA512 6243bd82d3d8175c89fe3eb48babd8202729656f54cf551203df61eb574aacf15ba0a496e34772e395f266dba8e4504915f0ff3d792212d883d1bc409374a594
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc1.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc1.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc2.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc2.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc3.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc3.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc4.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc4.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc5.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc5.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc5.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/git-sources-7.1_rc6.ebuild b/sys-kernel/git-sources/git-sources-7.1_rc6.ebuild
deleted file mode 100644
index 52aa7380fdd1..000000000000
--- a/sys-kernel/git-sources/git-sources-7.1_rc6.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="7.0"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-K_NODRYRUN="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="The very latest -git version of the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem is not there, please contact the upstream kernel
-developers at https://bugzilla.kernel.org and on the linux-kernel mailing list to
-report the problem so it can be fixed in time for the next kernel release."
-
-DEPEND="${RDEPEND}
- sys-devel/patch"
-
-pkg_postinst() {
- postinst_sources
-}
diff --git a/sys-kernel/git-sources/metadata.xml b/sys-kernel/git-sources/metadata.xml
deleted file mode 100644
index 52628d878682..000000000000
--- a/sys-kernel/git-sources/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mpagano@gentoo.org</email>
- <name>Mike Pagano</name>
- </maintainer>
- <maintainer type="project">
- <email>kernel@gentoo.org</email>
- <name>Gentoo Kernel Project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/gnumach/Manifest b/sys-kernel/gnumach/Manifest
deleted file mode 100644
index 67b8f5a96cd3..000000000000
--- a/sys-kernel/gnumach/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gnumach-1.8_p20260330.tar.xz 2597556 BLAKE2B 1402b1ac576eb7cdcb16bf8161d368341fc1eece3898473fec923a29d811f96255a28b8a966d5c38bec6df0f946b932d02956a2322d6391054017ce331ab9c26 SHA512 cf61f20f98466ade48f9dcedfa1c485aff8894cf4aa11f2e64cbe731f0a9cb0dce235f8a4e766264d3ecd65d28fcb3218ec2aa25d59870ae4f25625731206439
-DIST gnumach_1.8+git20260224.orig.tar.xz 2951432 BLAKE2B 8f0bda1736aeebbb917fcf9f1d79b51a8a4d6315b170495ee10a81a787fe4bad15f17ebfd4bf1802b9cde0313ecbeee2b413a8954e69e7d23c6832fb4ec1f8c0 SHA512 aaea1653862a7d6fdcc741257a245e0f3d7dd177fdd78ed443f6c85ee6057e0effe27fb16f00d7ac64012664c1411907fbcf7bb330ca4f202da975a2d28afd6a
diff --git a/sys-kernel/gnumach/gnumach-1.8_p20260224.ebuild b/sys-kernel/gnumach/gnumach-1.8_p20260224.ebuild
deleted file mode 100644
index 30a324eb5eab..000000000000
--- a/sys-kernel/gnumach/gnumach-1.8_p20260224.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit crossdev flag-o-matic toolchain-funcs
-
-DESCRIPTION="GNU Mach microkernel, for the Hurd"
-HOMEPAGE="https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/gnumach.git"
- inherit autotools git-r3
-elif [[ ${PV} == *_p* ]] ; then
- MY_PV=${PV%_p*}+git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.xz"
- S="${WORKDIR}"/${MY_P/_/-}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-IUSE="headers-only"
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- DEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- dev-util/mig
- "
-fi
-
-src_prepare() {
- default
- [[ ${PV} == 9999 ]] && eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
-
- if use headers-only ; then
- # Assume we don't have working cross-compiler
- export CC=$(tc-getBUILD_CC)
- else
- export MIG="${CTARGET}-mig"
- fi
- fi
-
- strip-flags
- # LTO confuses one of the assemble steps
- filter-lto
- # -g3 confuses MIG which relies on preprocessed input
- replace-flags -ggdb[3-9] -ggdb2
- replace-flags -g3 -g
- # LD gets invoked directly. raw-ldflags would work here except
- # that it breaks configure which uses the compiler driver
- unset LDFLAGS
-
- local myeconfargs=(
- # MIG machinery relies on this!
- --enable-dependency-tracking
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Needed for QEMU with `-net nic,model=ne2k_pc` at least
- --enable-net-group
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- use headers-only && return
- default
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- emake DESTDIR="${D}" $(usex headers-only install-data install)
-
- if target_is_not_host ; then
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- # TODO: Is this needed?
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- rmdir "${ED}"/usr/share || die
- fi
-}
diff --git a/sys-kernel/gnumach/gnumach-1.8_p20260330.ebuild b/sys-kernel/gnumach/gnumach-1.8_p20260330.ebuild
deleted file mode 100644
index d779f29c39de..000000000000
--- a/sys-kernel/gnumach/gnumach-1.8_p20260330.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools crossdev flag-o-matic toolchain-funcs
-
-DESCRIPTION="GNU Mach microkernel, for the Hurd"
-HOMEPAGE="https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/gnumach.git"
- inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
- MY_PV=${PV%_p*}+git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- #SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.xz"
- #S="${WORKDIR}"/${MY_P/_/-}
-
- # Debian only make full snapshots every so often, but apply other
- # commits as backports. This is a bit awkward for us to follow, so
- # roll our own snapshots:
- # $ git archive --format=tar --prefix=gnumach/ HEAD | xz > gnumach-1.8_p20260330.tar.xz
- SRC_URI="https://distfiles.gentoo.org/pub/proj/hurd/snapshots/gnumach/${P}.tar.xz"
- S="${WORKDIR}"/${PN}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-IUSE="debug headers-only"
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- DEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- dev-util/mig
- "
-fi
-
-BDEPEND="sys-apps/texinfo"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
-
- if use headers-only ; then
- # Assume we don't have working cross-compiler
- export CC=$(tc-getBUILD_CC)
- else
- export MIG="${CTARGET}-mig"
- fi
- fi
-
- strip-flags
- # LTO confuses one of the assemble steps
- filter-lto
- # -g3 confuses MIG which relies on preprocessed input
- replace-flags -ggdb[3-9] -ggdb2
- replace-flags -g3 -g
- # LD gets invoked directly. raw-ldflags would work here except
- # that it breaks configure which uses the compiler driver
- unset LDFLAGS
-
- local myeconfargs=(
- # MIG machinery relies on this!
- --enable-dependency-tracking
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Needed for QEMU with `-net nic,model=ne2k_pc` at least
- --enable-net-group
-
- $(use_enable debug kdb)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- use headers-only && return
- default
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- emake DESTDIR="${D}" $(usex headers-only install-data install)
-
- if target_is_not_host ; then
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- # TODO: Is this needed?
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- rmdir "${ED}"/usr/share || die
- fi
-}
diff --git a/sys-kernel/gnumach/gnumach-9999.ebuild b/sys-kernel/gnumach/gnumach-9999.ebuild
deleted file mode 100644
index d779f29c39de..000000000000
--- a/sys-kernel/gnumach/gnumach-9999.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools crossdev flag-o-matic toolchain-funcs
-
-DESCRIPTION="GNU Mach microkernel, for the Hurd"
-HOMEPAGE="https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/gnumach.git"
- inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
- MY_PV=${PV%_p*}+git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- #SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.xz"
- #S="${WORKDIR}"/${MY_P/_/-}
-
- # Debian only make full snapshots every so often, but apply other
- # commits as backports. This is a bit awkward for us to follow, so
- # roll our own snapshots:
- # $ git archive --format=tar --prefix=gnumach/ HEAD | xz > gnumach-1.8_p20260330.tar.xz
- SRC_URI="https://distfiles.gentoo.org/pub/proj/hurd/snapshots/gnumach/${P}.tar.xz"
- S="${WORKDIR}"/${PN}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-IUSE="debug headers-only"
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- DEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- dev-util/mig
- "
-fi
-
-BDEPEND="sys-apps/texinfo"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
-
- if use headers-only ; then
- # Assume we don't have working cross-compiler
- export CC=$(tc-getBUILD_CC)
- else
- export MIG="${CTARGET}-mig"
- fi
- fi
-
- strip-flags
- # LTO confuses one of the assemble steps
- filter-lto
- # -g3 confuses MIG which relies on preprocessed input
- replace-flags -ggdb[3-9] -ggdb2
- replace-flags -g3 -g
- # LD gets invoked directly. raw-ldflags would work here except
- # that it breaks configure which uses the compiler driver
- unset LDFLAGS
-
- local myeconfargs=(
- # MIG machinery relies on this!
- --enable-dependency-tracking
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Needed for QEMU with `-net nic,model=ne2k_pc` at least
- --enable-net-group
-
- $(use_enable debug kdb)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- use headers-only && return
- default
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- emake DESTDIR="${D}" $(usex headers-only install-data install)
-
- if target_is_not_host ; then
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- # TODO: Is this needed?
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- rmdir "${ED}"/usr/share || die
- fi
-}
diff --git a/sys-kernel/gnumach/metadata.xml b/sys-kernel/gnumach/metadata.xml
deleted file mode 100644
index db0616852f7a..000000000000
--- a/sys-kernel/gnumach/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>hurd@gentoo.org</email>
- <name>GNU Hurd project</name>
- </maintainer>
- <use>
- <flag name="debug">
- Enable the in-kernel debugger. Can be entered manually
- with CTRL-ALT-d.
-
- See https://www.gnu.org/software/hurd/microkernel/mach/gnumach/debugging.html
- </flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/hurd/Manifest b/sys-kernel/hurd/Manifest
deleted file mode 100644
index 9f17c52367e0..000000000000
--- a/sys-kernel/hurd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST hurd-0.9_p20260331.tar.xz 1810180 BLAKE2B c5cbaba993e6e0fdafdb323874c7e8422adb66a29884a3dcb6ebb0bd61aaf251a4b2f98f715db54d7ea5c4e5aeb8e9794ce6d89714c7dad7163e453a050effdc SHA512 789cdd4d4d6a3706feff82c3416da5f30d7dd7888f1ec769ca9a7ad8a442b8305b372771094d6962bc8bb3ad16e633778dd16c2c3fd389bf64585a92984d9619
-DIST hurd_0.9.git20251029.orig.tar.bz2 2047762 BLAKE2B a349bb475e966ed824b1a31b8f76edd72bef5a3c149ec810de140462893eca9d01f45784645f996b75b6277da49f75f2db524cc548febbcb46c2621ba024db3e SHA512 7322236abdea9bea0885983580890f3ed6393e567b6c1a5c52ffe40e76694e887eb22c1da5743e215a2c74b0e22af1457cd95fc517a6371e564da412378c2736
diff --git a/sys-kernel/hurd/files/hurd-0.9_p20251029-glibc-2.43.patch b/sys-kernel/hurd/files/hurd-0.9_p20251029-glibc-2.43.patch
deleted file mode 100644
index 75a084f16f9c..000000000000
--- a/sys-kernel/hurd/files/hurd-0.9_p20251029-glibc-2.43.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-https://cgit.git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=b36f4ea2d7b52594b4a5a19439f45de8f213539d
-https://cgit.git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=d3daa6faf08ab4141e5562cd6a69f636b869a67b
-
-From b36f4ea2d7b52594b4a5a19439f45de8f213539d Mon Sep 17 00:00:00 2001
-From: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date: Sun, 15 Feb 2026 01:31:41 +0100
-Subject: Fix build against glibc 2.43
-
----
- pfinet/glue-include/linux/in.h | 2 ++
- pfinet/glue-include/linux/socket.h | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/pfinet/glue-include/linux/in.h b/pfinet/glue-include/linux/in.h
-index cb1804c6..594304ee 100644
---- a/pfinet/glue-include/linux/in.h
-+++ b/pfinet/glue-include/linux/in.h
-@@ -12,12 +12,14 @@
- #define IP_DEFAULT_MULTICAST_TTL 1
- #define IP_DEFAULT_MULTICAST_LOOP 1
-
-+#ifndef IP_PKTINFO
- struct in_pktinfo
- {
- int ipi_ifindex;
- struct in_addr ipi_spec_dst;
- struct in_addr ipi_addr;
- };
-+#endif
-
-
- /* <asm/byteorder.h> contains the htonl type stuff.. */
-diff --git a/pfinet/glue-include/linux/socket.h b/pfinet/glue-include/linux/socket.h
-index 90861fde..049e7684 100644
---- a/pfinet/glue-include/linux/socket.h
-+++ b/pfinet/glue-include/linux/socket.h
-@@ -34,7 +34,9 @@
- #define SOL_RAW IPPROTO_RAW
-
- /* IP options */
-+#ifndef IP_PKTINFO
- #define IP_PKTINFO 190
-+#endif
- #define IP_PKTOPTIONS 191
- #define IP_MTU_DISCOVER 192
- #define IP_RECVERR 193
---
-cgit v1.2.3
-
-From d3daa6faf08ab4141e5562cd6a69f636b869a67b Mon Sep 17 00:00:00 2001
-From: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date: Sun, 15 Feb 2026 08:34:39 +0100
-Subject: Fix build against glibc 2.42
-
----
- pfinet/glue-include/linux/in.h | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/pfinet/glue-include/linux/in.h b/pfinet/glue-include/linux/in.h
-index 594304ee..43ae630f 100644
---- a/pfinet/glue-include/linux/in.h
-+++ b/pfinet/glue-include/linux/in.h
-@@ -2,6 +2,7 @@
- #define _HACK_IN_H_
-
- #include <netinet/in.h>
-+#include <linux/socket.h>
-
- /* IP_MTU_DISCOVER values */
- #define IP_PMTUDISC_DONT 0 /* Never send DF frames */
-@@ -12,7 +13,8 @@
- #define IP_DEFAULT_MULTICAST_TTL 1
- #define IP_DEFAULT_MULTICAST_LOOP 1
-
--#ifndef IP_PKTINFO
-+#if IP_PKTINFO == 190
-+/* Linux-like value, define Linux struct */
- struct in_pktinfo
- {
- int ipi_ifindex;
---
-cgit v1.2.3
diff --git a/sys-kernel/hurd/files/hurd-0.9_p20251029-libports-iterate-refcount.patch b/sys-kernel/hurd/files/hurd-0.9_p20251029-libports-iterate-refcount.patch
deleted file mode 100644
index f1a66bd54813..000000000000
--- a/sys-kernel/hurd/files/hurd-0.9_p20251029-libports-iterate-refcount.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://salsa.debian.org/hurd-team/hurd/-/blob/f2c31b4596fc22c2de9dd1758abd32bd4c781c97/debian/patches/libports-iterate-refcount.patch
-https://logs.guix.gnu.org/hurd/2024-11-20.log#082237
-https://lists.gnu.org/archive/html/bug-hurd/2016-03/msg00034.html
---- a/libports/bucket-iterate.c
-+++ b/libports/bucket-iterate.c
-@@ -58,7 +58,14 @@ _ports_bucket_class_iterate (struct hurd_ihash *ht,
-
- if (class == 0 || pi->class == class)
- {
-- refcounts_ref (&pi->refcounts, NULL);
-+ struct references result;
-+ refcounts_unsafe_ref (&pi->refcounts, &result);
-+ if (result.hard == 1 && result.weak == 0)
-+ {
-+ /* This one is on its way out, skip it. */
-+ refcounts_deref (&pi->refcounts, NULL);
-+ continue;
-+ }
- p[n] = pi;
- n++;
- }
diff --git a/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch b/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch
deleted file mode 100644
index 77f75a1cbbba..000000000000
--- a/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-Don't pass -a to init. openrc-init doesn't support it and even with sysvinit,
-there's not much point.
---- a/daemons/runsystem.sh
-+++ b/daemons/runsystem.sh
-@@ -119,4 +119,4 @@ fsysopts / --update --readonly
-
- # Finally, start the actual SysV init.
- echo Starting ${init}
--exec ${init} ${single} -a
-+exec ${init} ${single}
diff --git a/sys-kernel/hurd/files/hurd-0.9_p20251029-rump-link.patch b/sys-kernel/hurd/files/hurd-0.9_p20251029-rump-link.patch
deleted file mode 100644
index 85d05b02cf41..000000000000
--- a/sys-kernel/hurd/files/hurd-0.9_p20251029-rump-link.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Without this patch, the configure test for rump fails:
-```
-configure:5487: i686-gnu-gcc -o conftest -g -O2 -U_FORTIFY_SOURCE -Wl,--no-error-rwx-segments -Wl,--no-error-execstack -Wl,-z,notext -g -O2 conftest.c -lrump >&5
-/usr/x86_64-pc-linux-gnu/i686-gnu/binutils-bin/2.46.0/ld: /usr/lib/gcc/i686-gnu/16/../../../../i686-gnu/lib/librump.so: undefined reference to `rumpuser_rw_exit'
-/usr/x86_64-pc-linux-gnu/i686-gnu/binutils-bin/2.46.0/ld: /usr/lib/gcc/i686-gnu/16/../../../../i686-gnu/lib/librump.so: undefined reference to `rumpuser_cv_has_waite
-```
-and rumpuser does exist but it didn't link with it. This patch is from cross-hurd
-but it's not clear why Debian and Guix don't seem to need this:
-https://raw.githubusercontent.com/flavioc/cross-hurd/c20747b41c0f2a97c5d5602ff80e550a104a6410/patches/hurd/link-rump.patch
---- a/configure.ac
-+++ b/configure.ac
-@@ -239,7 +239,7 @@ AS_IF([test "x$with_rump" != xno], [
- # Save
- oldLIBS="$LIBS"
-
-- LIBS="$oldLIBS -lrump"
-+ LIBS="$oldLIBS -lrump -lrumpuser -lrumpvfs -lrumpvfs_fifofs -lrumpnet -lrumpnet_net -lrumpnet_local"
- AC_LINK_IFELSE(
- [AC_LANG_PROGRAM(
- [[#include <hurd.h>
diff --git a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild b/sys-kernel/hurd/hurd-0.9_p20251029.ebuild
deleted file mode 100644
index cc8644bc5020..000000000000
--- a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit crossdev multilib flag-o-matic
-
-DESCRIPTION="GNU Hurd is the GNU project's replacement for UNIX"
-HOMEPAGE="https://www.gnu.org/software/hurd/hurd.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/hurd.git"
- inherit autotools git-r3
-elif [[ ${PV} == *_p* ]] ; then
- inherit autotools
-
- MY_PV=${PV%_p*}.git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.bz2"
- S="${WORKDIR}"/${MY_P/_/-}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-if is_crosspkg ; then
- IUSE="custom-cflags headers-only"
-else
- IUSE="custom-cflags headers-only ncurses rumpkernel xkb"
-fi
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- BDEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- app-arch/bzip2:=[static-libs]
- dev-libs/libdaemon:=
- >=dev-libs/libgcrypt-1.8.0:=
- dev-util/mig
- sys-apps/util-linux[static-libs]
- sys-block/parted[static-libs]
- sys-power/libacpica
- x11-libs/libpciaccess[static-libs]
- virtual/libcrypt:=[static-libs]
- virtual/zlib:=[static-libs]
- ncurses? ( sys-libs/ncurses:= )
- rumpkernel? ( sys-kernel/rumpkernel )
- xkb? ( x11-libs/libxkbcommon )
- "
- RDEPEND="${DEPEND}"
- BDEPEND="virtual/pkgconfig"
-fi
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9_p20251029-glibc-2.43.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-rump-link.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-openrc-init-no-a.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-libports-iterate-refcount.patch
-)
-
-src_prepare() {
- default
- [[ ${PV} == 9999 || ${PV} == *_p* ]] && eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
- export MIG="${CTARGET}-mig"
-
- # Ensure we get compatible libdir
- unset DEFAULT_ABI MULTILIB_ABIS
- multilib_env
- ABI=${DEFAULT_ABI}
- fi
-
- local myeconfargs=(
- # XXX: --enable-static-progs seems to behave differently
- # to the default.
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Builds everything twice and needs profiling libs
- --disable-profile
- )
-
- if ! use custom-cflags ; then
- strip-flags
- filter-lto
- # Hangs on boot without this
- append-flags -U_FORTIFY_SOURCE
- fi
-
- append-flags -Wl,--no-error-rwx-segments -Wl,--no-error-execstack -Wl,-z,notext
-
- # For cross-*, we always want a minimal build even with USE=-headers-only,
- # as we will need libshouldbeinlibc.
- if use headers-only || is_crosspkg ; then
- myeconfargs+=(
- ac_cv_func_file_exec_paths=no
- ac_cv_func_exec_exec_paths=no
- ac_cv_func__hurd_exec_paths=no
- ac_cv_func__hurd_libc_proc_init=no
- ac_cv_func_mach_port_set_ktype=no
- ac_cv_func_file_utimens=no
-
- --without-acpica
- --without-libcrypt
- --without-libbz2
- --without-libdaemon
- --without-libz
- --without-libtirpc
- --without-parted
- --without-rump
- --disable-ncursesw
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_LIBGCRYPT = no
- HAVE_LIBPCIACCESS = no
- HAVE_XKBCOMMON = no
- EOF
- else
- myeconfargs+=(
- # TODO (nfs)
- --without-libtirpc
-
- --with-acpica
- --with-libcrypt
- --with-libbz2
- --with-libz
- # configure really wants parted
- # it's also essential for rumpdisk:
- # https://lists.gnu.org/r/bug-hurd/2023-05/msg00405.html
- --with-parted
-
- $(use_enable ncurses ncursesw)
- $(use_with rumpkernel rump)
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_XKBCOMMON = $(usex xkb)
- EOF
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- if use headers-only ; then
- return
- elif is_crosspkg ; then
- # For the crossdev-built Hurd, we need to build enough s.t.
- # for the sysroot cross-built Hurd, its deps can be compiled
- # first (e.g. sys-block/parted, sys-kernel/rumpkernel).
- emake \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs=
- else
- default
- fi
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- if use headers-only ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- elif is_crosspkg ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- emake DESTDIR="${D}" install \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs= \
- no_deps=t
- else
- emake DESTDIR="${D}" install
- fi
-
- if target_is_not_host ; then
- # TODO: Is this needed?
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- fi
-}
diff --git a/sys-kernel/hurd/hurd-0.9_p20260331.ebuild b/sys-kernel/hurd/hurd-0.9_p20260331.ebuild
deleted file mode 100644
index a328c8044a1f..000000000000
--- a/sys-kernel/hurd/hurd-0.9_p20260331.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit crossdev multilib flag-o-matic
-
-DESCRIPTION="GNU Hurd is the GNU project's replacement for UNIX"
-HOMEPAGE="https://www.gnu.org/software/hurd/hurd.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/hurd.git"
- inherit autotools git-r3
-elif [[ ${PV} == *_p* ]] ; then
- inherit autotools
-
- MY_PV=${PV%_p*}.git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- #SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.bz2"
- #S="${WORKDIR}"/${MY_P/_/-}
-
- # Debian only make full snapshots every so often, but apply other
- # commits as backports. This is a bit awkward for us to follow, so
- # roll our own snapshots:
- # $ git archive --format=tar --prefix=hurd/ HEAD | xz > hurd-0.9_p20260331.tar.xz
- SRC_URI="https://distfiles.gentoo.org/pub/proj/hurd/snapshots/hurd/${P}.tar.xz"
- S="${WORKDIR}"/${PN}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-if is_crosspkg ; then
- IUSE="custom-cflags headers-only"
-else
- IUSE="custom-cflags headers-only lwip ncurses rumpkernel xkb"
-fi
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- BDEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- app-arch/bzip2:=[static-libs]
- dev-libs/libdaemon:=
- >=dev-libs/libgcrypt-1.8.0:=
- dev-util/mig
- sys-apps/util-linux[static-libs]
- sys-block/parted[static-libs]
- sys-power/libacpica
- x11-libs/libpciaccess[static-libs]
- virtual/libcrypt:=[static-libs]
- virtual/zlib:=[static-libs]
- lwip? ( net-libs/lwip )
- ncurses? ( sys-libs/ncurses:= )
- rumpkernel? ( sys-kernel/rumpkernel )
- xkb? ( x11-libs/libxkbcommon )
- "
- RDEPEND="${DEPEND}"
- BDEPEND="virtual/pkgconfig"
-fi
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9_p20251029-rump-link.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-openrc-init-no-a.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-libports-iterate-refcount.patch
-)
-
-src_prepare() {
- default
- [[ ${PV} == 9999 || ${PV} == *_p* ]] && eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
- export MIG="${CTARGET}-mig"
-
- # Ensure we get compatible libdir
- unset DEFAULT_ABI MULTILIB_ABIS
- multilib_env
- ABI=${DEFAULT_ABI}
- fi
-
- local myeconfargs=(
- # XXX: --enable-static-progs seems to behave differently
- # to the default.
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Builds everything twice and needs profiling libs
- --disable-profile
- )
-
- if ! use custom-cflags ; then
- strip-flags
- filter-lto
- # Hangs on boot without this
- append-flags -U_FORTIFY_SOURCE
- fi
-
- append-flags -Wl,--no-error-rwx-segments -Wl,--no-error-execstack -Wl,-z,notext
-
- # For cross-*, we always want a minimal build even with USE=-headers-only,
- # as we will need libshouldbeinlibc.
- if use headers-only || is_crosspkg ; then
- myeconfargs+=(
- ac_cv_func_file_exec_paths=no
- ac_cv_func_exec_exec_paths=no
- ac_cv_func__hurd_exec_paths=no
- ac_cv_func__hurd_libc_proc_init=no
- ac_cv_func_mach_port_set_ktype=no
- ac_cv_func_file_utimens=no
-
- --without-acpica
- --without-libcrypt
- --without-libbz2
- --without-libdaemon
- --without-libz
- --without-libtirpc
- --without-parted
- --without-rump
- --disable-ncursesw
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_LIBGCRYPT = no
- HAVE_LIBPCIACCESS = no
- HAVE_LIBLWIP = no
- HAVE_XKBCOMMON = no
- EOF
- else
- myeconfargs+=(
- # TODO (nfs)
- --without-libtirpc
-
- --with-acpica
- --with-libcrypt
- --with-libbz2
- --with-libz
- # configure really wants parted
- # it's also essential for rumpdisk:
- # https://lists.gnu.org/r/bug-hurd/2023-05/msg00405.html
- --with-parted
-
- $(use_enable ncurses ncursesw)
- $(use_with rumpkernel rump)
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_LIBLWIP = $(usex lwip)
- HAVE_XKBCOMMON = $(usex xkb)
- EOF
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- if use headers-only ; then
- return
- elif is_crosspkg ; then
- # For the crossdev-built Hurd, we need to build enough s.t.
- # for the sysroot cross-built Hurd, its deps can be compiled
- # first (e.g. sys-block/parted, sys-kernel/rumpkernel).
- emake \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs=
- else
- default
- fi
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- if use headers-only ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- elif is_crosspkg ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- emake DESTDIR="${D}" install \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs= \
- no_deps=t
- else
- emake DESTDIR="${D}" install
- fi
-
- if target_is_not_host ; then
- # TODO: Is this needed?
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- fi
-}
diff --git a/sys-kernel/hurd/hurd-9999.ebuild b/sys-kernel/hurd/hurd-9999.ebuild
deleted file mode 100644
index a328c8044a1f..000000000000
--- a/sys-kernel/hurd/hurd-9999.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit crossdev multilib flag-o-matic
-
-DESCRIPTION="GNU Hurd is the GNU project's replacement for UNIX"
-HOMEPAGE="https://www.gnu.org/software/hurd/hurd.html"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/hurd.git"
- inherit autotools git-r3
-elif [[ ${PV} == *_p* ]] ; then
- inherit autotools
-
- MY_PV=${PV%_p*}.git${PV#*_p}
- MY_P=${PN}_${MY_PV}
-
- # savannah doesn't allow snapshot downloads from cgit as of 2026-03,
- # but the Debian maintainer is also upstream, so just use theirs
- # instead.
- #SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.bz2"
- #S="${WORKDIR}"/${MY_P/_/-}
-
- # Debian only make full snapshots every so often, but apply other
- # commits as backports. This is a bit awkward for us to follow, so
- # roll our own snapshots:
- # $ git archive --format=tar --prefix=hurd/ HEAD | xz > hurd-0.9_p20260331.tar.xz
- SRC_URI="https://distfiles.gentoo.org/pub/proj/hurd/snapshots/hurd/${P}.tar.xz"
- S="${WORKDIR}"/${PN}
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-if is_crosspkg ; then
- IUSE="custom-cflags headers-only"
-else
- IUSE="custom-cflags headers-only lwip ncurses rumpkernel xkb"
-fi
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
-
-if is_crosspkg ; then
- BDEPEND="
- !headers-only? ( cross-${CTARGET}/mig )
- "
-else
- DEPEND="
- app-arch/bzip2:=[static-libs]
- dev-libs/libdaemon:=
- >=dev-libs/libgcrypt-1.8.0:=
- dev-util/mig
- sys-apps/util-linux[static-libs]
- sys-block/parted[static-libs]
- sys-power/libacpica
- x11-libs/libpciaccess[static-libs]
- virtual/libcrypt:=[static-libs]
- virtual/zlib:=[static-libs]
- lwip? ( net-libs/lwip )
- ncurses? ( sys-libs/ncurses:= )
- rumpkernel? ( sys-kernel/rumpkernel )
- xkb? ( x11-libs/libxkbcommon )
- "
- RDEPEND="${DEPEND}"
- BDEPEND="virtual/pkgconfig"
-fi
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9_p20251029-rump-link.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-openrc-init-no-a.patch
- "${FILESDIR}"/${PN}-0.9_p20251029-libports-iterate-refcount.patch
-)
-
-src_prepare() {
- default
- [[ ${PV} == 9999 || ${PV} == *_p* ]] && eautoreconf
-}
-
-src_configure() {
- if target_is_not_host ; then
- local sysroot=/usr/${CTARGET}
- export MIG="${CTARGET}-mig"
-
- # Ensure we get compatible libdir
- unset DEFAULT_ABI MULTILIB_ABIS
- multilib_env
- ABI=${DEFAULT_ABI}
- fi
-
- local myeconfargs=(
- # XXX: --enable-static-progs seems to behave differently
- # to the default.
- --prefix="${EPREFIX}${sysroot}/usr"
- --datadir="${EPREFIX}${sysroot}/usr/share"
- --host=${CTARGET}
-
- # Builds everything twice and needs profiling libs
- --disable-profile
- )
-
- if ! use custom-cflags ; then
- strip-flags
- filter-lto
- # Hangs on boot without this
- append-flags -U_FORTIFY_SOURCE
- fi
-
- append-flags -Wl,--no-error-rwx-segments -Wl,--no-error-execstack -Wl,-z,notext
-
- # For cross-*, we always want a minimal build even with USE=-headers-only,
- # as we will need libshouldbeinlibc.
- if use headers-only || is_crosspkg ; then
- myeconfargs+=(
- ac_cv_func_file_exec_paths=no
- ac_cv_func_exec_exec_paths=no
- ac_cv_func__hurd_exec_paths=no
- ac_cv_func__hurd_libc_proc_init=no
- ac_cv_func_mach_port_set_ktype=no
- ac_cv_func_file_utimens=no
-
- --without-acpica
- --without-libcrypt
- --without-libbz2
- --without-libdaemon
- --without-libz
- --without-libtirpc
- --without-parted
- --without-rump
- --disable-ncursesw
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_LIBGCRYPT = no
- HAVE_LIBPCIACCESS = no
- HAVE_LIBLWIP = no
- HAVE_XKBCOMMON = no
- EOF
- else
- myeconfargs+=(
- # TODO (nfs)
- --without-libtirpc
-
- --with-acpica
- --with-libcrypt
- --with-libbz2
- --with-libz
- # configure really wants parted
- # it's also essential for rumpdisk:
- # https://lists.gnu.org/r/bug-hurd/2023-05/msg00405.html
- --with-parted
-
- $(use_enable ncurses ncursesw)
- $(use_with rumpkernel rump)
- )
-
- cat <<-EOF >> config.make.in || die "Failed to amend config.make.in"
- HAVE_LIBLWIP = $(usex lwip)
- HAVE_XKBCOMMON = $(usex xkb)
- EOF
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- if use headers-only ; then
- return
- elif is_crosspkg ; then
- # For the crossdev-built Hurd, we need to build enough s.t.
- # for the sysroot cross-built Hurd, its deps can be compiled
- # first (e.g. sys-block/parted, sys-kernel/rumpkernel).
- emake \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs=
- else
- default
- fi
-}
-
-src_test() {
- use headers-only && return
- default
-}
-
-src_install() {
- if use headers-only ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- elif is_crosspkg ; then
- emake DESTDIR="${D}" install-headers no_deps=t
- emake DESTDIR="${D}" install \
- lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
- prog-subdirs= \
- other-subdirs= \
- no_deps=t
- else
- emake DESTDIR="${D}" install
- fi
-
- if target_is_not_host ; then
- # TODO: Is this needed?
- # On Hurd, gcc expects system headers to be in /include, not /usr/include
- dosym usr/include /usr/${CTARGET}/include
-
- # Avoid collisions for other Hurd targets
- # TODO: autoconf var?
- rm -rfv "${ED}"/usr/share/info || die
- fi
-}
diff --git a/sys-kernel/hurd/metadata.xml b/sys-kernel/hurd/metadata.xml
deleted file mode 100644
index 8621fb0bcba0..000000000000
--- a/sys-kernel/hurd/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>hurd@gentoo.org</email>
- <name>GNU Hurd project</name>
- </maintainer>
- <use>
- <flag name="lwip">
- Build alternative userland TCP/IP stack lwIP, from
- <pkg>net-libs/lwip</pkg>.
- </flag>
- <flag name="ncurses">
- Build console-curses client for non-basic capabilities,
- unlike the builtin one.
- </flag>
- <flag name="rumpkernel">
- Build <pkg>sys-kernel/rumpkernel</pkg> support which provides
- drivers from NetBSD run in userland. This is needed for 64-bit
- systems and is considered the future of driver and hardware
- support on Hurd.
- </flag>
- <flag name="xkb">
- Depend on <pkg>x11-libs/libxkbcommon</pkg> for keymap support in
- the console.
- </flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/installkernel/Manifest b/sys-kernel/installkernel/Manifest
deleted file mode 100644
index 4692a61f9a7a..000000000000
--- a/sys-kernel/installkernel/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST installkernel-63.tar.gz 30695 BLAKE2B c96f4b7b4384291b202be2e971255be5793f7273f779d67db3c0002bdf593a938167e037e5e9f4467e3189056c5a800c8bf232e36007877fc730096936b1afd0 SHA512 e93fb13236a243381a08cc4ee1e3cb10f0b7b0df47f6a65ec1aa9389a8d2b3fb7015d11fa81b3e5789337f55e79cc0e6a90be236410c1933917de85fd50816a6
-DIST installkernel-65.tar.gz 32895 BLAKE2B eff2be3ef8889359b5bde765131b3aab432fffd08a5e35ede597a5650c1bd209a71dae6ac40b34191a853b5ab6ef3aca7dfda00a29d3dcf723f81537e2924d69 SHA512 3d1f50782dba7a308ed16c144af75dcff217a956af80f697903a0a12e8bda6a78fd63e8c9c6fa4f6ee2bb306f78a90b93eb3b3062377096f43dc014fc6185aa0
-DIST installkernel-66.tar.gz 32894 BLAKE2B 21659aca2f6847cab24ac96b952fa286be964ce478b21d499f2eadf624c83ab528c094d760429739236269fb2c671b03a9ef92b40ebfa99bc643f664e61aed2d SHA512 43c3b8949d3faa5ffe63ec6c7fe3cf44927de1f8728b98fb833ab2a4ff5be3636859e1aa4be977ac1d90c3215bd9ab1ad11eaa990beedeeace8abf40964d83d0
-DIST installkernel-67.tar.gz 32930 BLAKE2B cb9776f3c6cc8df3abe0defbde81986ebffb4ee96b8d1c507dcf71342dbfe9a974c432c18a4b4285ba1a99074b87cc1d0154c3e15df9e1edf26f0cbc006d60e9 SHA512 7b3d777f3338b1e45cb4ee6cbcb23397eabd9df533fc1780b41181e2818a8496e7c4237a2baa7e4fdcc0b82c255fad7646e501b5cdd8c12ce39ce7e40b8498b4
-DIST installkernel-68.tar.gz 32995 BLAKE2B 807a06d9b35cf883939aa02e0e8622c42255279909637ab9d6e665c7a80045c87c5a28569475cf76b015be7c11d176d59c27de9f0195a88b928ece22051908a9 SHA512 ad9cd8ee2ee6261305b4c65e736aa0b963b310f724e5a044da258b75e3346ed5f830d0c93755f827641b5df7e887c5a91db0072a847c60831e33780aa751473c
diff --git a/sys-kernel/installkernel/installkernel-63.ebuild b/sys-kernel/installkernel/installkernel-63.ebuild
deleted file mode 100644
index e4215c05b4d6..000000000000
--- a/sys-kernel/installkernel/installkernel-63.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-gentoo-${PV}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-108-r3
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- sys-apps/systemd[boot(-),ukify(-)]
- sys-apps/systemd-utils[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/installkernel-65.ebuild b/sys-kernel/installkernel/installkernel-65.ebuild
deleted file mode 100644
index 237c3f8a0867..000000000000
--- a/sys-kernel/installkernel/installkernel-65.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
-else
- SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-gentoo-${PV}"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-108-r3
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- >=sys-apps/systemd-256[boot(-),ukify(-)]
- >=sys-apps/systemd-utils-256[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/05-check-chroot.install
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-chroot.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/installkernel-66.ebuild b/sys-kernel/installkernel/installkernel-66.ebuild
deleted file mode 100644
index 11cdf36f583f..000000000000
--- a/sys-kernel/installkernel/installkernel-66.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
-else
- SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-gentoo-${PV}"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-110
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- >=sys-apps/systemd-256[boot(-),ukify(-)]
- >=sys-apps/systemd-utils-256[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/05-check-chroot.install
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-chroot.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/installkernel-67.ebuild b/sys-kernel/installkernel/installkernel-67.ebuild
deleted file mode 100644
index 11cdf36f583f..000000000000
--- a/sys-kernel/installkernel/installkernel-67.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
-else
- SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-gentoo-${PV}"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-110
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- >=sys-apps/systemd-256[boot(-),ukify(-)]
- >=sys-apps/systemd-utils-256[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/05-check-chroot.install
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-chroot.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/installkernel-68.ebuild b/sys-kernel/installkernel/installkernel-68.ebuild
deleted file mode 100644
index 276bb3137d23..000000000000
--- a/sys-kernel/installkernel/installkernel-68.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
-else
- SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-gentoo-${PV}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-110
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- >=sys-apps/systemd-256[boot(-),ukify(-)]
- >=sys-apps/systemd-utils-256[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/05-check-chroot.install
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-chroot.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/installkernel-9999.ebuild b/sys-kernel/installkernel/installkernel-9999.ebuild
deleted file mode 100644
index 276bb3137d23..000000000000
--- a/sys-kernel/installkernel/installkernel-9999.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver linux-info
-
-DESCRIPTION="Gentoo fork of installkernel script from debianutils"
-HOMEPAGE="
- https://github.com/projg2/installkernel-gentoo
- https://wiki.gentoo.org/wiki/Installkernel
-"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
-else
- SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-gentoo-${PV}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
-REQUIRED_USE="
- systemd-boot? ( systemd )
- ukify? ( uki )
- ?? ( dracut ugrd )
-"
-# systemd-boot could be made to work without the systemd flag, but this
-# makes no sense since in systemd(-utils) the boot flag already
-# requires the kernel-install flag.
-#
-# Ukify hooks do nothing if the layout is not uki, so force this here.
-#
-# Only one initramfs generator flag can be selected. Note that while
-# both dracut and ukify are UKI generators we don't block those because
-# enabling both results in building an initramfs only with dracut and
-# building an UKI with ukify, which is a valid configuration.
-
-RDEPEND="
- !<=sys-kernel/installkernel-systemd-3
- dracut? (
- >=sys-kernel/dracut-110
- uki? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- )
- efistub? (
- systemd? ( >=app-emulation/virt-firmware-24.7 )
- !systemd? ( sys-boot/uefi-mkconfig )
- )
- grub? ( sys-boot/grub )
- refind? ( sys-boot/refind )
- systemd? (
- || (
- >=sys-apps/systemd-255[kernel-install(-)]
- >=sys-apps/systemd-utils-255[kernel-install(-)]
- )
- )
- systemd-boot? (
- || (
- sys-apps/systemd[boot(-)]
- sys-apps/systemd-utils[boot(-)]
- )
- )
- ukify? (
- || (
- >=sys-apps/systemd-256[boot(-),ukify(-)]
- >=sys-apps/systemd-utils-256[boot(-),ukify(-)]
- )
- )
- ugrd? ( >=sys-kernel/ugrd-1.31.2 )
- !=sys-apps/systemd-255.2-r1
- !=sys-apps/systemd-255.2-r0
- !~sys-apps/systemd-255.1
- !~sys-apps/systemd-255.0
- !=sys-apps/systemd-254.8-r0
- !=sys-apps/systemd-254.7-r0
- !~sys-apps/systemd-254.6
- !<=sys-apps/systemd-254.5-r1
-" # Block against systemd that still installs dummy install.conf
-
-pkg_setup() {
- use efistub && CONFIG_CHECK="~EFI_STUB" linux-info_pkg_setup
-}
-
-src_install() {
- keepdir /etc/kernel/install.d
- keepdir /etc/kernel/preinst.d
- keepdir /etc/kernel/postinst.d
- keepdir /usr/lib/kernel/install.d
- keepdir /usr/lib/kernel/preinst.d
- keepdir /usr/lib/kernel/postinst.d
-
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/05-check-chroot.install
- doexe hooks/99-check-diskspace.install
- use dracut && doexe hooks/52-dracut.install
- use ukify && doexe hooks/60-ukify.install
-
- exeinto /usr/lib/kernel/postinst.d
- doexe hooks/99-write-log.install
- use grub && doexe hooks/91-grub-mkconfig.install
- use efistub && doexe hooks/95-efistub-uefi-mkconfig.install
- use refind && doexe hooks/95-refind-copy-icon.install
-
- exeinto /usr/lib/kernel/install.d
- doexe hooks/systemd/00-00machineid-directory.install
- doexe hooks/systemd/05-check-chroot.install
- doexe hooks/systemd/05-check-config.install
- doexe hooks/systemd/10-copy-prebuilt.install
- doexe hooks/systemd/85-check-diskspace.install
- doexe hooks/systemd/90-compat.install
- doexe hooks/systemd/90-zz-update-static.install
- doexe hooks/systemd/99-write-log.install
- use dracut && doexe hooks/systemd/52-dracut.install
- use grub && doexe hooks/systemd/91-grub-mkconfig.install
- use efistub && doexe hooks/systemd/95-efistub-kernel-bootcfg.install
- use refind && doexe hooks/systemd/95-refind-copy-icon.install
-
- if use grub && use uki; then
- exeinto /etc/grub.d
- doexe grub/05_uki
- fi
-
- if use systemd; then
- sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel ||
- die "enabling systemd's kernel-install failed"
- fi
-
- # set some default config using the flags we have anyway
- touch "${T}/install.conf" || die
- echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die
- if use uki; then
- echo "layout=uki" >> "${T}/install.conf" || die
- elif use efistub; then
- echo "layout=efistub" >> "${T}/install.conf" || die
- elif use grub; then
- echo "layout=grub" >> "${T}/install.conf" || die
- elif use systemd-boot; then
- echo "layout=bls" >> "${T}/install.conf" || die
- else
- echo "layout=compat" >> "${T}/install.conf" || die
- fi
-
- if use dracut; then
- echo "initrd_generator=dracut" >> "${T}/install.conf" || die
- if ! use ukify; then
- if use uki; then
- echo "uki_generator=dracut" >> "${T}/install.conf" || die
- else
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
- elif use ugrd; then
- echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
- else
- echo "initrd_generator=none" >> "${T}/install.conf" || die
- fi
-
- if use ukify; then
- echo "uki_generator=ukify" >> "${T}/install.conf" || die
- else
- if ! use dracut; then
- echo "uki_generator=none" >> "${T}/install.conf" || die
- fi
- fi
-
- insinto /usr/lib/kernel
- doins "${T}/install.conf"
-
- insinto /etc/logrotate.d
- newins installkernel.logrotate installkernel
- keepdir /var/lib/misc
-
- into /
- dosbin installkernel
- doman installkernel.8
-
- einstalldocs
-}
-
-pkg_postinst() {
- # show only when upgrading to 14+
- if ver_replacing -lt 14; then
- elog "Version 14 and up of ${PN} effectively merges"
- elog "${PN}-gentoo and ${PN}-systemd."
- elog "Switching between the traditional installkernel and systemd's"
- elog "kernel-install is controlled with the systemd USE flag or the"
- elog "SYSTEMD_KERNEL_INSTALL environment variable."
- elog
- elog "See the installkernel wiki page[1] for more details."
- elog
- elog "[1]: https://wiki.gentoo.org/wiki/Installkernel"
- elog
- fi
-
- # show only on first install of version 20+
- if [[ -z "${REPLACING_VERSIONS}" ]] || ver_replacing -lt 20; then
- if has_version "sys-boot/grub" && ! use grub; then
- elog "sys-boot/grub is installed but the grub USE flag is not enabled."
- elog "Users may want to enable this flag to automatically update the"
- elog "bootloader configuration on each kernel install."
- fi
- if ( has_version "sys-apps/systemd[boot]" ||
- has_version "sys-apps/systemd-utils[boot]" ) &&
- ! use systemd-boot; then
- elog "systemd-boot is installed but the systemd-boot USE flag"
- elog "is not enabled. Users should enable this flag to install kernels"
- elog "in a layout that systemd-boot understands and to automatically"
- elog "update systemd-boot's configuration on each kernel install."
- fi
- fi
-
- if use efistub; then
- ewarn "Automated EFI Stub booting is highly experimental. UEFI implementations"
- ewarn "often differ between vendors and as a result EFI stub booting is not"
- ewarn "guaranteed to work for all UEFI systems. Ensure an alternative method"
- ewarn "of booting the system is available before rebooting."
- fi
-
- # Initialize log file if there is none
- dodir /var/log
- local log=${ROOT}/var/log/installkernel.log
- if [[ ! -s ${log} ]]; then
- echo -e \
-"DATE\t"\
-"KI_VENDOR\t"\
-"VERSION\t"\
-"CONF_ROOT\t"\
-"LAYOUT\t"\
-"INITRD_GEN\t"\
-"UKI_GEN\t"\
-"BOOT_ROOT\t"\
-"KERNEL_REL_PATH\t"\
-"INITRD_REL_PATH\t"\
-"PLUGIN_OVERRIDE\t"\
->> "${log}" || die
- fi
-}
diff --git a/sys-kernel/installkernel/metadata.xml b/sys-kernel/installkernel/metadata.xml
deleted file mode 100644
index 70634cd58829..000000000000
--- a/sys-kernel/installkernel/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dist-kernel@gentoo.org</email>
- <name>Distribution Kernel Project</name>
- </maintainer>
- <use>
- <flag name="dracut">Generate an initramfs or UKI on each kernel installation</flag>
- <flag name="efistub">EXPERIMENTAL: Update UEFI configuration on each kernel installation</flag>
- <flag name="grub">Re-generate grub.cfg on each kernel installation, used grub.cfg is overridable with GRUB_CFG env var</flag>
- <flag name="refind">Install a Gentoo icon for rEFInd alongside the (unified) kernel image, used icon is overridable with REFIND_ICON env var</flag>
- <flag name="systemd">Use systemd's kernel-install to install kernels, overridable with SYSTEMD_KERNEL_INSTALL env var</flag>
- <flag name="systemd-boot">Use systemd-boot's native layout by default</flag>
- <flag name="ugrd">Generate an initramfs using UGRD on each kernel installation</flag>
- <flag name="uki">Install UKIs to ESP/EFI/Linux for EFI stub booting and/or bootloaders with support for auto-discovering UKIs</flag>
- <flag name="ukify">Build an UKI with systemd's ukify on each kernel installation</flag>
- </use>
- <upstream>
- <remote-id type="github">projg2/installkernel-gentoo</remote-id>
- </upstream>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/sys-kernel/kci-dev/Manifest b/sys-kernel/kci-dev/Manifest
deleted file mode 100644
index 4af1d647dbe1..000000000000
--- a/sys-kernel/kci-dev/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST kci_dev-0.1.10.tar.gz 56457 BLAKE2B 75d134b74b4cffa971626150bcae9eb26ac6627eed2c1b4432d6d23b46f9de90bf41ef89e8096d55462263113c0c1d318237d64b1e6019a030f4129c80d2aec7 SHA512 ff2f16903c2ed0654d13966b21c1a90f2d22a077096c0d2744041095a68877c45c2e1f82a38eb2dd5e52a43b469373745b2db21b21bb0b97d9a720d3ae39a0a2
-DIST kci_dev-0.1.6.tar.gz 26522 BLAKE2B 8f699d0bdd7fde4619a5850c2d07577c7da10bc08d57e3e0089610de5022f7df574bc86e7528e6e5314510e13025862347fee5b5bf811893156b6434ddc8ed9a SHA512 bde214362ece26e7ba699ff7ab441ba50f967dace6384fb77343c40f0e5a40b1cce3d2404dc7cb611c934346c58ede5e5c8f5e8261ec1e75fdfdc905971b9a55
diff --git a/sys-kernel/kci-dev/kci-dev-0.1.10.ebuild b/sys-kernel/kci-dev/kci-dev-0.1.10.ebuild
deleted file mode 100644
index 3a6a5e7013e7..000000000000
--- a/sys-kernel/kci-dev/kci-dev-0.1.10.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2025-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Stand alone tool to interact with KernelCI"
-HOMEPAGE="
- https://github.com/kernelci/kci-dev
- https://pypi.org/project/kci-dev/
-"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-# we are missing mplcursors optional for graph output
-RDEPEND="
- >=dev-python/gitpython-3.1.43[${PYTHON_USEDEP}]
- >=dev-python/requests-2.32.3[${PYTHON_USEDEP}]
- >=dev-python/click-8.1.7[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}]
- >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
- >=dev-python/matplotlib-3.6[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)
-"
diff --git a/sys-kernel/kci-dev/kci-dev-0.1.6.ebuild b/sys-kernel/kci-dev/kci-dev-0.1.6.ebuild
deleted file mode 100644
index 8667a981116a..000000000000
--- a/sys-kernel/kci-dev/kci-dev-0.1.6.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Stand alone tool to interact with KernelCI"
-HOMEPAGE="
- https://github.com/kernelci/kci-dev
- https://pypi.org/project/kci-dev/
-"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
- >=dev-python/gitpython-3.1.43[${PYTHON_USEDEP}]
- >=dev-python/requests-2.32.3[${PYTHON_USEDEP}]
- >=dev-python/click-8.1.7[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)
-"
diff --git a/sys-kernel/kci-dev/metadata.xml b/sys-kernel/kci-dev/metadata.xml
deleted file mode 100644
index bc3f7268c26d..000000000000
--- a/sys-kernel/kci-dev/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>alicef@gentoo.org</email>
- <name>Arisu Tachibana</name>
- </maintainer>
- <upstream>
- <remote-id type="github">kernelci/kci-dev</remote-id>
- <remote-id type="pypi">kci-dev</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/kergen/Manifest b/sys-kernel/kergen/Manifest
deleted file mode 100644
index 90a7d032355f..000000000000
--- a/sys-kernel/kergen/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kergen-0.1.5.tar.gz 165689 BLAKE2B 4e6f2a9f1682ed89cbf6f7600f49364cd45a25467ff18954186b8ebb9009a6ff911ccf926d787f998d393327ee4ec0958a958f3d9436bf2a33a29c2a8ecc7830 SHA512 b0f46d1d6da2c7662e486582c787cb88708244089600f1fd2f264afa8d0264fccde164cd12afab07956a8ddaee9c81ed33919ad3cb58c73f52934ca2f8b4495f
diff --git a/sys-kernel/kergen/kergen-0.1.5-r1.ebuild b/sys-kernel/kergen/kergen-0.1.5-r1.ebuild
deleted file mode 100644
index 10d67a4b75c1..000000000000
--- a/sys-kernel/kergen/kergen-0.1.5-r1.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="Kernel config generator"
-HOMEPAGE="https://github.com/nichoski/kergen"
-SRC_URI="https://github.com/nichoski/kergen/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
diff --git a/sys-kernel/kergen/metadata.xml b/sys-kernel/kergen/metadata.xml
deleted file mode 100644
index be30eeb24984..000000000000
--- a/sys-kernel/kergen/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">nichoski/kergen</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/kpatch/Manifest b/sys-kernel/kpatch/Manifest
deleted file mode 100644
index daa3a96c28a2..000000000000
--- a/sys-kernel/kpatch/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kpatch-0.9.10.tar.gz 341303 BLAKE2B 90cdad8b065ad93bac07c60ba990c6ef2c5311b53e5e9ae715d84ae8207c46b467db68ec17510d1238b86a1722f1b056bd4e2082ea90bc93bfc91a0f8414dca4 SHA512 d27f0e92d93539cc6ae6137419a99d124e5e2dba8bfbf67d15b0bf89230d2e92584c974ccae6932ce7a02460d73da9d46806e9104ee019ea3c6d3cfe8658be83
diff --git a/sys-kernel/kpatch/files/kpatch-0.9.10-no-werror.patch b/sys-kernel/kpatch/files/kpatch-0.9.10-no-werror.patch
deleted file mode 100644
index 73b8b115fcbd..000000000000
--- a/sys-kernel/kpatch/files/kpatch-0.9.10-no-werror.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/776925
-diff --git a/kpatch-build/Makefile b/kpatch-build/Makefile
-index 4e964b7..fc2d796 100644
---- a/kpatch-build/Makefile
-+++ b/kpatch-build/Makefile
-@@ -1,7 +1,7 @@
- include ../Makefile.inc
-
- CFLAGS += -std=gnu11 -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare \
-- -Wconversion -Wno-sign-conversion -g -Werror
-+ -Wconversion -Wno-sign-conversion -g
- LDLIBS = -lelf
-
- TARGETS = create-diff-object create-klp-module create-kpatch-module
diff --git a/sys-kernel/kpatch/kpatch-0.9.10.ebuild b/sys-kernel/kpatch/kpatch-0.9.10.ebuild
deleted file mode 100644
index cb037fda7134..000000000000
--- a/sys-kernel/kpatch/kpatch-0.9.10.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic linux-mod-r1
-
-if [[ "${PV}" == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dynup/${PN}.git"
-else
- SRC_URI="https://github.com/dynup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Dynamic kernel patching for Linux"
-HOMEPAGE="https://github.com/dynup/kpatch"
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="contrib +kpatch +kpatch-build kmod test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-crypt/pesign
- virtual/zlib:=
- sys-apps/pciutils
-"
-
-DEPEND="
- ${RDEPEND}
- dev-libs/elfutils
- app-alternatives/yacc
- test? ( || ( dev-util/shellcheck-bin dev-util/shellcheck ) )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9.10-no-werror.patch
-)
-
-pkg_setup() {
- if use kmod; then
- if kernel_is gt 3 9 0; then
- if ! linux_config_exists; then
- eerror "Unable to check the currently running kernel for kpatch support"
- eerror "Please be sure a .config file is available in the kernel src dir"
- eerror "and ensure the kernel has been built."
- else
- # Fail to build if these kernel options are not enabled (see kpatch/kmod/core/Makefile)
- CONFIG_CHECK="FUNCTION_TRACER HAVE_FENTRY MODULES SYSFS KALLSYMS_ALL"
- ERROR_FUNCTION_TRACER="CONFIG_FUNCTION_TRACER must be enabled in the kernel's config file"
- ERROR_HAVE_FENTRY="CONFIG_HAVE_FENTRY must be enabled in the kernel's config file"
- ERROR_MODULES="CONFIG_MODULES must be enabled in the kernel's config file"
- ERROR_SYSFS="CONFIG_SYSFS must be enabled in the kernel's config file"
- ERROR_KALLSYMS_ALL="CONFIG_KALLSYMS_ALL must be enabled in the kernel's config file"
- fi
- else
- eerror
- eerror "kpatch is not available for Linux kernels below 4.0.0"
- eerror
- die "Upgrade the kernel sources before installing kpatch."
- fi
- check_extra_config
- fi
-
- linux-mod-r1_pkg_setup
-}
-
-src_prepare() {
- replace-flags '-O?' '-O1'
- default
-}
-
-src_compile() {
- use kpatch-build && emake -C kpatch-build
- use kpatch && emake -C kpatch
- use kmod && set_arch_to_kernel && emake -C kmod
- use contrib && emake -C contrib
- use test && emake check
-}
-
-src_install() {
- if use kpatch-build; then
- emake DESTDIR="${D}" PREFIX="/usr" install -C kpatch-build
- insinto /usr/share/${PN}/patch
- doins kmod/patch/kpatch{.lds.S,-macros.h,-patch.h,-patch-hook.c}
- doins kmod/patch/{livepatch-patch-hook.c,Makefile,patch-hook.c}
- doins kmod/core/kpatch.h
- doman man/kpatch-build.1
- fi
-
- if use kpatch; then
- emake DESTDIR="${D}" PREFIX="/usr" install -C kpatch
- doman man/kpatch.1
- fi
-
- use kmod && set_arch_to_kernel && emake DESTDIR="${D}" PREFIX="/usr" install -C kmod
- use contrib && emake DESTDIR="${D}" PREFIX="/usr" install -C contrib
-
- dodoc README.md doc/patch-author-guide.md
-}
diff --git a/sys-kernel/kpatch/kpatch-9999.ebuild b/sys-kernel/kpatch/kpatch-9999.ebuild
deleted file mode 100644
index 6b1f04642e41..000000000000
--- a/sys-kernel/kpatch/kpatch-9999.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic linux-mod-r1
-
-if [[ "${PV}" == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dynup/${PN}.git"
-else
- SRC_URI="https://github.com/dynup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Dynamic kernel patching for Linux"
-HOMEPAGE="https://github.com/dynup/kpatch"
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="contrib +kpatch +kpatch-build kmod test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-crypt/pesign
- virtual/zlib:=
- sys-apps/pciutils
-"
-
-DEPEND="
- ${RDEPEND}
- dev-libs/elfutils
- app-alternatives/yacc
- test? ( || ( dev-util/shellcheck-bin dev-util/shellcheck ) )
-"
-
-pkg_setup() {
- if use kmod; then
- if kernel_is gt 3 9 0; then
- if ! linux_config_exists; then
- eerror "Unable to check the currently running kernel for kpatch support"
- eerror "Please be sure a .config file is available in the kernel src dir"
- eerror "and ensure the kernel has been built."
- else
- # Fail to build if these kernel options are not enabled (see kpatch/kmod/core/Makefile)
- CONFIG_CHECK="FUNCTION_TRACER HAVE_FENTRY MODULES SYSFS KALLSYMS_ALL"
- ERROR_FUNCTION_TRACER="CONFIG_FUNCTION_TRACER must be enabled in the kernel's config file"
- ERROR_HAVE_FENTRY="CONFIG_HAVE_FENTRY must be enabled in the kernel's config file"
- ERROR_MODULES="CONFIG_MODULES must be enabled in the kernel's config file"
- ERROR_SYSFS="CONFIG_SYSFS must be enabled in the kernel's config file"
- ERROR_KALLSYMS_ALL="CONFIG_KALLSYMS_ALL must be enabled in the kernel's config file"
- fi
- else
- eerror
- eerror "kpatch is not available for Linux kernels below 4.0.0"
- eerror
- die "Upgrade the kernel sources before installing kpatch."
- fi
- check_extra_config
- fi
-
-}
-
-src_prepare() {
- replace-flags '-O?' '-O1'
- default
-}
-
-src_compile() {
- use kpatch-build && emake -C kpatch-build
- use kpatch && emake -C kpatch
- use kmod && set_arch_to_kernel && emake -C kmod
- use contrib && emake -C contrib
- use test && emake check
-}
-
-src_install() {
- if use kpatch-build; then
- emake DESTDIR="${D}" PREFIX="/usr" install -C kpatch-build
- insinto /usr/share/${PN}/patch
- doins kmod/patch/kpatch{.lds.S,-macros.h,-patch.h,-patch-hook.c}
- doins kmod/patch/{livepatch-patch-hook.c,Makefile,patch-hook.c}
- doins kmod/core/kpatch.h
- doman man/kpatch-build.1
- fi
-
- if use kpatch; then
- emake DESTDIR="${D}" PREFIX="/usr" install -C kpatch
- doman man/kpatch.1
- fi
-
- use kmod && set_arch_to_kernel && emake DESTDIR="${D}" PREFIX="/usr" install -C kmod
- use contrib && emake DESTDIR="${D}" PREFIX="/usr" install -C contrib
-
- dodoc README.md doc/patch-author-guide.md
-}
diff --git a/sys-kernel/kpatch/metadata.xml b/sys-kernel/kpatch/metadata.xml
deleted file mode 100644
index fc14d1fab7f6..000000000000
--- a/sys-kernel/kpatch/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>alicef@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="kpatch-build">Enable tools which convert a source diff patch to a patch module.</flag>
- <flag name="kpatch">Enable a command-line tool which allows a user to manage a collection of patch modules.</flag>
- <flag name="kmod">Enable a kernel module (.ko file) which provides an interface for the patch modules to register new functions for replacement.</flag>
- <flag name="contrib">Enable contrib kpatch services files.</flag>
- </use>
- <upstream>
- <remote-id type="github">dynup/kpatch</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest
deleted file mode 100644
index 725530957137..000000000000
--- a/sys-kernel/linux-docs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST linux-6.18.33.tar.xz 154477844 BLAKE2B 94a5e7b4821fa1ee0c48fb14f0bc9aff1a6ac31ea1fb860b9c806fda17341d0c5fb0650c220530463170d936fb737d16eef956323368305c77b77e5e2f587f84 SHA512 6d6f6c4f9c6ac7974f9cd15ff4569e00d5c6bda58c54f6164c4ceb3161269caa768cb6ec33b04d6ff723edf34e5d2ac70405d9c41bd6ddbbd97dda480b90a4f5
diff --git a/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild b/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild
deleted file mode 100644
index 430f2fd47015..000000000000
--- a/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-inherit linux-info python-any-r1 toolchain-funcs
-
-MY_P=linux-${PV}
-
-DESCRIPTION="Developer documentation generated from the Linux kernel"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI="https://www.kernel.org/pub/linux/kernel/v6.x/${MY_P}.tar.xz"
-
-S=${WORKDIR}/${MY_P}
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="graphviz"
-
-RDEPEND="graphviz? ( >=media-gfx/graphviz-5.0.0 )"
-
-BDEPEND="${PYTHON_DEPS}
- >=dev-python/sphinx-7.2.3
- dev-python/sphinx-rtd-theme
- media-libs/fontconfig
- dev-python/docutils
- $(python_gen_any_dep '
- >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
- ')"
-
-src_prepare() {
- default
- # Fix the Python shebangs.
- python_fix_shebang "${S}/Documentation/sphinx/"
-}
-
-src_compile() {
- local ARCH="$(tc-arch-kernel)"
- unset KBUILD_OUTPUT
- HTML_DOCS=( Documentation/output/. )
- emake htmldocs
-}
-
-src_install() {
- einstalldocs
-}
diff --git a/sys-kernel/linux-docs/metadata.xml b/sys-kernel/linux-docs/metadata.xml
deleted file mode 100644
index efe955706428..000000000000
--- a/sys-kernel/linux-docs/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mpagano@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
deleted file mode 100644
index 964dc8dbf69d..000000000000
--- a/sys-kernel/linux-firmware/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST linux-firmware-20260221.tar.xz 610993132 BLAKE2B b81f3560d30ebc3a8c1a81cd0431b97dfc1ec595841a4e4b8a2118abaf912be2abb3175b3042c84c859edf98947ef9975ed1c2a70e4e3a3e464734af7404f499 SHA512 6d627228992b090b47758355d7717bbfd356792df201c3beb4860a75fa30d7eba1bcbf833b316ddb9dcfed0d931fa25e6ef4b23533ef529f086085699ceaa83c
-DIST linux-firmware-20260309.tar.xz 610973936 BLAKE2B 62ec056ad09d3e6740b12454845ffeea250785b566f9c6239ebae19e52d3237a49eeb18bae3726cb7a1bb0bca7ad24b9bbac440132ba8fac3d0adccf654ab4c4 SHA512 2feb9f1221d72e909e36b1d56f50c8f4f20eb00dfcbbb1fa0e9661d0f4cc1a731ef9d8167e1dbe3edd637be9fcc20a3844dae44e05826bd441f77d6b44614e53
-DIST linux-firmware-20260410.tar.xz 619615856 BLAKE2B c35531a94841d733690dbfd1e08c6be6c24124a20eac1c75b290820839e962773640a33b29c29376137d55be95d8e5304a86425e2a631b1a0dcc62d45a5d1f6d SHA512 b16c603e058cb1a92cf199c95318adc6dee874920bee377b7c95ca8cc8dabd26d53a97f3aef52c01fde8d186352895e909483fa7c729c8793b9974ccc130a4a6
-DIST linux-firmware-20260519.tar.xz 622942528 BLAKE2B ff91ed099c4df0cc59dcca628270d5e533ab522d616fbf4f40fda79977f409a49c9cc57826dcc999470ce6c117526ce07cf595d01dea202184bfb55d1efadfd6 SHA512 c7177fc092e5f1a896d98690ce13f3f1ba023b003caf0cd5bfb6286d90b9b23e763d5c9bc54532e90d97b37286a872a4071915478f87706f4392253543cd40af
diff --git a/sys-kernel/linux-firmware/files/35-amd-microcode-systemd.install b/sys-kernel/linux-firmware/files/35-amd-microcode-systemd.install
deleted file mode 100644
index 7f2586f29e66..000000000000
--- a/sys-kernel/linux-firmware/files/35-amd-microcode-systemd.install
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright 2024 Gentoo Authors
-# This script is installed by sys-kernel/linux-firmware, it is executed by
-# systemd's kernel-install, NOT by the traditional installkernel. I.e. this
-# plugin is run when the systemd USE flag is enabled or
-# SYSTEMD_KERNEL_INSTALL=1 is set in the environment.
-
-COMMAND="${1}"
-
-if [[ ${COMMAND} != add ]]; then
- exit 0
-fi
-
-if [[ ${KERNEL_INSTALL_INITRD_GENERATOR} == dracut ]]; then
- # Dracut bundles microcode in its initramfs images
- [[ ${KERNEL_INSTALL_VERBOSE} == 1 ]] && echo \
- "initrd_generator=${KERNEL_INSTALL_INITRD_GENERATOR} bundles CPU microcode, nothing to do here."
- exit 0
-fi
-
-# do nothing if somehow make-amd-ucode-img is not installed
-if ! command -v make-amd-ucode-img >/dev/null; then
- [[ ${KERNEL_INSTALL_VERBOSE} == 1 ]] && echo \
- "make-amd-ucode-img command not available"
- exit 1
-fi
-
-if [[ -d /lib/firmware/amd-ucode ]]; then
- [[ ${KERNEL_INSTALL_VERBOSE} == 1 ]] && echo \
- "Generating AMD CPU Microcode early initramfs image..."
-
- make-amd-ucode-img \
- ${KERNEL_INSTALL_STAGING_AREA}/microcode-amd \
- /lib/firmware/amd-ucode ||
- { echo "make-amd-ucode-img failed" && exit 1; }
-else
- [[ ${KERNEL_INSTALL_VERBOSE} == 1 ]] && echo \
- "No AMD CPU Microcode installed, nothing to do here."
-fi
diff --git a/sys-kernel/linux-firmware/files/35-amd-microcode.install b/sys-kernel/linux-firmware/files/35-amd-microcode.install
deleted file mode 100644
index 504a06c9fbcc..000000000000
--- a/sys-kernel/linux-firmware/files/35-amd-microcode.install
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright 2024 Gentoo Authors
-# This script is installed by sys-kernel/linux-firmware, it is executed by
-# the traditional installkernel, NOT by systemd's kernel-install. I.e. this
-# plugin is run when the systemd USE flag is disabled or
-# SYSTEMD_KERNEL_INSTALL=0 is set in the environment.
-
-# familiar helpers, we intentionally don't use Gentoo functions.sh
-die() {
- echo -e " ${NOCOLOR-\e[1;31m*\e[0m }${*}" >&2
- exit 1
-}
-
-einfo() {
- echo -e " ${NOCOLOR-\e[1;32m*\e[0m }${*}" >&2
-}
-
-main() {
- # re-define for subst to work
- [[ -n ${NOCOLOR+yes} ]] && NOCOLOR=
-
- if [[ ${INSTALLKERNEL_INITRD_GENERATOR} == dracut ]]; then
- # Dracut bundles microcode in its initramfs images
- echo "initrd_generator=${INSTALLKERNEL_INITRD_GENERATOR} bundles CPU microcode, nothing to do here."
- exit 0
- fi
-
- # do nothing if somehow make-amd-ucode-img is not installed
- [[ -x $(command -v make-amd-ucode-img) ]] || die "make-amd-ucode-img command not available"
-
- [[ ${EUID} -eq 0 ]] || die "Please run this script as root"
-
- if [[ -d /lib/firmware/amd-ucode ]]; then
- einfo "Generating AMD CPU Microcode early initramfs image..."
- make-amd-ucode-img /boot/amd-uc.img /lib/firmware/amd-ucode ||
- die "make-amd-ucode-img failed"
- else
- einfo "No AMD CPU Microcode installed, nothing to do here."
- fi
-}
-
-main
diff --git a/sys-kernel/linux-firmware/files/linux-firmware-copy-firmware-r9.patch b/sys-kernel/linux-firmware/files/linux-firmware-copy-firmware-r9.patch
deleted file mode 100644
index 7862bd21f837..000000000000
--- a/sys-kernel/linux-firmware/files/linux-firmware-copy-firmware-r9.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/copy-firmware.sh 2025-03-19 12:33:44.006356623 -0400
-+++ b/copy-firmware.sh 2025-03-19 12:37:14.789934375 -0400
-@@ -84,6 +84,16 @@ while test $# -gt 0; do
- exit 1
- ;;
-
-+ --firmware-list)
-+ if [ -n "$2" ]; then
-+ FIRMWARE_LIST=$2
-+ shift 2
-+ else
-+ echo "ERROR: '--firmware-list' requires a non-empty option argument of firmware files to install"
-+ exit 1
-+ fi
-+ ;;
-+
- -*)
- # Ignore anything else that begins with - because that confuses
- # the "test" command below
-@@ -115,8 +125,18 @@ if test -e .git/config; then
- ./check_whence.py || err "check_whence.py has detected errors."
- fi
-
-+if test -n "${FIRMWARE_LIST}"; then
-+ grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read l t; do
-+ if ! cat "${FIRMWARE_LIST}" | grep -q "${l}"; then continue; fi
-+ target="$(realpath --relative-to="$(pwd)" -m -s "$(dirname "$l")/$t")"
-+ echo "${target}" >> "${FIRMWARE_LIST}"
-+ done
-+ FIRMWARE_LIST=$(cat "${FIRMWARE_LIST}")
-+fi
-+
- # shellcheck disable=SC2162 # file/folder name can include escaped symbols
- grep -E '^(RawFile|File):' WHENCE | sed -E -e 's/^(RawFile|File): */\1 /;s/"//g' | while read k f; do
-+ [ -n "${FIRMWARE_LIST}" ] && if ! echo "${FIRMWARE_LIST}" | grep -q "${f}"; then continue; fi
- install -d "$destdir/$(dirname "$f")"
- $verbose "copying/compressing file $f$compext"
- if test "$compress" != "cat" && test "$k" = "RawFile"; then
-@@ -141,6 +161,7 @@ fi
-
- # shellcheck disable=SC2162 # file/folder name can include escaped symbols
- grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read l t; do
-+ [ -n "${FIRMWARE_LIST}" ] && if ! echo "${FIRMWARE_LIST}" | grep -q "${l}"; then continue; fi
- directory="$destdir/$(dirname "$l")"
- install -d "$directory"
- target="$(cd "$directory" && realpath -m -s "$t")"
-@@ -166,7 +187,9 @@ fi
-
- # Verify no broken symlinks
- if test "$(find "$destdir" -xtype l | wc -l)" -ne 0 ; then
-- err "Broken symlinks found:\n$(find "$destdir" -xtype l)"
-+ if [ -z "${FIRMWARE_LIST}" ]; then
-+ err "Broken symlinks found:\n$(find "$destdir" -xtype l)"
-+ fi
- fi
-
- exit 0
diff --git a/sys-kernel/linux-firmware/files/linux-firmware-make-amd-ucode-img.bash b/sys-kernel/linux-firmware/files/linux-firmware-make-amd-ucode-img.bash
deleted file mode 100644
index 5fac567e063d..000000000000
--- a/sys-kernel/linux-firmware/files/linux-firmware-make-amd-ucode-img.bash
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright 2024 Gentoo Authors
-
-our_name=${0}
-out=${1}
-in=${2}
-
-# familiar helpers, we intentionally don't use Gentoo functions.sh
-die() {
- echo -e " ${NOCOLOR-\e[1;31m*\e[0m }${*}" >&2
- exit 1
-}
-
-einfo() {
- echo -e " ${NOCOLOR-\e[1;32m*\e[0m }${*}" >&2
-}
-
-main() {
- # re-define for subst to work
- [[ -n ${NOCOLOR+yes} ]] && NOCOLOR=
-
-
- # Set the output file to arg 1 if it's not a directory.
- # If it's a directory, set the out file to the directory with the default name.
- # If it's a relative filename, include it in the variable.
- local ucode_file=${out:-"/boot/amd-uc.img"}
- if [[ -d ${ucode_file} ]]; then
- ucode_file="${ucode_file}/amd-uc.img"
- einfo "Output file is a directory. Using default name: ${ucode_file}"
- elif [[ ${ucode_file} != /* ]]; then
- ucode_file="$(pwd)/${ucode_file}"
- einfo "Output file is a relative path. Using full path: ${ucode_file}"
- elif [[ -z ${ucode_file} ]]; then
- einfo "Usage: ${our_name} <output image> <microcode directory>"
- die "No output file specified"
- fi
-
- # Only AMD microcode is in the linux-firmmware package
- local ucode_dir=${in:-"/lib/firmware/amd-ucode"}
- if [[ ! -d ${ucode_dir} ]]; then
- einfo "Usage: ${our_name} <output image> <microcode directory>"
- die "AMD microcode directory does not exist: ${ucode_dir}"
- fi
-
- # Make the tmp dir for the microcode archive
- local ucode_tmp_dir="$(mktemp -d)" || die "Failed to create temporary directory"
- einfo "Created temporary directory: ${ucode_tmp_dir}"
- local ucode_bin_dir="${ucode_tmp_dir}/kernel/x86/microcode"
- local ucode_bin_file="${ucode_bin_dir}/AuthenticAMD.bin"
-
- # Write "1" to the early_cpio flag file
- echo 1 > "${ucode_tmp_dir}/early_cpio" || die
-
- # Make the directory for the microcode bin files
- mkdir -p "${ucode_bin_dir}" || die "Failed to create microcode bin directory: ${ucode_bin_dir}"
-
- # Concatenate all microcode bin files into a single file
- cat "${ucode_dir}"/*.bin > "${ucode_bin_file}" || die "Failed to concatenate microcode files into: ${ucode_bin_file}"
-
- # Check that the concatenated file is not empty
- [[ -s "${ucode_bin_file}" ]] || die "Empty microcode file: ${ucode_bin_file}"
-
- pushd "${ucode_tmp_dir}" &> /dev/null || die
- # Create the cpio archive
- find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${ucode_file}" || die "Failed to create microcode archive in: ${ucode_file}"
- popd &> /dev/null || die
-
- # Check that the cpio archive is not empty
- [[ -s "${ucode_file}" ]] || die "Empty microcode archive at: ${ucode_file}"
-
- einfo "Created microcode archive at: ${ucode_file}"
- # Clean up the tmp dir
- rm -r "${ucode_tmp_dir}" || die "Failed to remove temporary directory: ${ucode_tmp_dir}"
- einfo "Cleaned up temporary directory: ${ucode_tmp_dir}"
-}
-
-main
-
diff --git a/sys-kernel/linux-firmware/linux-firmware-20260221.ebuild b/sys-kernel/linux-firmware/linux-firmware-20260221.ebuild
deleted file mode 100644
index 0b6dac48351e..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20260221.ebuild
+++ /dev/null
@@ -1,412 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit dist-kernel-utils eapi9-ver linux-info mount-boot savedconfig
-
-# 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${MY_COMMIT}/linux-firmware-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
- else
- SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
- fi
-
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 dist-kernel +initramfs +redistributable 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 )
- ${PYTHON_DEPS}"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132,-deduplicate(-)]
- !sys-block/qla-fc-firmware
- !sys-firmware/raspberrypi-wifi-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_sb16,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci,-deduplicate(-)]
- )
- )
- dist-kernel? (
- virtual/dist-kernel
- initramfs? (
- app-alternatives/cpio
- )
- )
-"
-IDEPEND="
- dist-kernel? (
- initramfs? ( sys-kernel/installkernel )
- )
-"
-
-QA_PREBUILT="*"
-PATCHES=(
- "${FILESDIR}"/${PN}-copy-firmware-r9.patch
-)
-
-pkg_pretend() {
- if use initramfs; then
- if use dist-kernel; then
- # Check, but don't die because we can fix the problem and then
- # emerge --config ... to re-run installation.
- nonfatal mount-boot_check_status
- else
- mount-boot_pkg_pretend
- fi
- fi
-}
-
-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
- fi
- linux-info_pkg_setup
-}
-
-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
-
- # Stub out this script to avoid errors in the live ebuild
- cat >check_whence.py<<-EOF
- #!/bin/sh
- exit 0
- EOF
-
- cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" "${T}/make-amd-ucode-img" || die
- chmod +x "${T}/make-amd-ucode-img" || die
-
- if use initramfs && ! use dist-kernel; then
- if [[ -d "${S}/amd-ucode" ]]; then
- "${T}/make-amd-ucode-img" "${S}" "${S}/amd-ucode" || die
- 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=(
- build_packages.py
- carl9170fw/autogen.sh
- carl9170fw/genapi.sh
- contrib/process_linux_firmware.py
- copy-firmware.sh
- check_whence.py
- dedup-firmware.sh
- LICEN[CS]E.*
- README.md
- WHENCE
- )
-
- # 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" "-j1" )
- 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
-
- if use compress-xz; then
- FW_OPTIONS+=( "--xz" )
- elif use compress-zstd; then
- FW_OPTIONS+=( "--zstd" )
- fi
- FW_OPTIONS+=( "${ED}/lib/firmware" )
- ./copy-firmware.sh "${FW_OPTIONS[@]}" || die
- use deduplicate && { ./dedup-firmware.sh "${ED}/lib/firmware" || die; }
-
- 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 files and directories, bug #396073
- # Copy-firmware.sh may have made empty copies of files we removed
- find -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
-
- popd &>/dev/null || die
-
- # Instruct Dracut on whether or not we want the microcode in initramfs
- (
- insinto /usr/lib/dracut/dracut.conf.d
- newins - 10-${PN}.conf <<<"early_microcode=$(usex initramfs)"
- )
- if use initramfs; then
- # Install installkernel/kernel-install hooks for non-dracut initramfs
- # generators that don't bundled the microcode
- dobin "${T}/make-amd-ucode-img"
- (
- exeinto /usr/lib/kernel/preinst.d
- doexe "${FILESDIR}/35-amd-microcode.install"
- exeinto /usr/lib/kernel/install.d
- doexe "${FILESDIR}/35-amd-microcode-systemd.install"
- )
- fi
-
- if use initramfs && ! use dist-kernel; 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
-
- # Fix 'symlink is blocked by a directory' https://bugs.gentoo.org/958268#c3
- if has_version "<${CATEGORY}/${PN}-20250613" ; then
- rm -rf "${EROOT}"/lib/firmware/nvidia/{ad103,ad104,ad106,ad107}
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && ! use dist-kernel && 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."
-
- if ver_replacing -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.'
- fi
-
- if use initramfs; then
- if use dist-kernel; then
- dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" --all
- else
- # Don't forget to umount /boot if it was previously mounted by us.
- mount-boot_pkg_postinst
- fi
- fi
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && ! use dist-kernel && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && ! use dist-kernel && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20260309.ebuild b/sys-kernel/linux-firmware/linux-firmware-20260309.ebuild
deleted file mode 100644
index 0b6dac48351e..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20260309.ebuild
+++ /dev/null
@@ -1,412 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit dist-kernel-utils eapi9-ver linux-info mount-boot savedconfig
-
-# 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${MY_COMMIT}/linux-firmware-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
- else
- SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
- fi
-
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 dist-kernel +initramfs +redistributable 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 )
- ${PYTHON_DEPS}"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132,-deduplicate(-)]
- !sys-block/qla-fc-firmware
- !sys-firmware/raspberrypi-wifi-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_sb16,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci,-deduplicate(-)]
- )
- )
- dist-kernel? (
- virtual/dist-kernel
- initramfs? (
- app-alternatives/cpio
- )
- )
-"
-IDEPEND="
- dist-kernel? (
- initramfs? ( sys-kernel/installkernel )
- )
-"
-
-QA_PREBUILT="*"
-PATCHES=(
- "${FILESDIR}"/${PN}-copy-firmware-r9.patch
-)
-
-pkg_pretend() {
- if use initramfs; then
- if use dist-kernel; then
- # Check, but don't die because we can fix the problem and then
- # emerge --config ... to re-run installation.
- nonfatal mount-boot_check_status
- else
- mount-boot_pkg_pretend
- fi
- fi
-}
-
-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
- fi
- linux-info_pkg_setup
-}
-
-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
-
- # Stub out this script to avoid errors in the live ebuild
- cat >check_whence.py<<-EOF
- #!/bin/sh
- exit 0
- EOF
-
- cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" "${T}/make-amd-ucode-img" || die
- chmod +x "${T}/make-amd-ucode-img" || die
-
- if use initramfs && ! use dist-kernel; then
- if [[ -d "${S}/amd-ucode" ]]; then
- "${T}/make-amd-ucode-img" "${S}" "${S}/amd-ucode" || die
- 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=(
- build_packages.py
- carl9170fw/autogen.sh
- carl9170fw/genapi.sh
- contrib/process_linux_firmware.py
- copy-firmware.sh
- check_whence.py
- dedup-firmware.sh
- LICEN[CS]E.*
- README.md
- WHENCE
- )
-
- # 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" "-j1" )
- 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
-
- if use compress-xz; then
- FW_OPTIONS+=( "--xz" )
- elif use compress-zstd; then
- FW_OPTIONS+=( "--zstd" )
- fi
- FW_OPTIONS+=( "${ED}/lib/firmware" )
- ./copy-firmware.sh "${FW_OPTIONS[@]}" || die
- use deduplicate && { ./dedup-firmware.sh "${ED}/lib/firmware" || die; }
-
- 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 files and directories, bug #396073
- # Copy-firmware.sh may have made empty copies of files we removed
- find -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
-
- popd &>/dev/null || die
-
- # Instruct Dracut on whether or not we want the microcode in initramfs
- (
- insinto /usr/lib/dracut/dracut.conf.d
- newins - 10-${PN}.conf <<<"early_microcode=$(usex initramfs)"
- )
- if use initramfs; then
- # Install installkernel/kernel-install hooks for non-dracut initramfs
- # generators that don't bundled the microcode
- dobin "${T}/make-amd-ucode-img"
- (
- exeinto /usr/lib/kernel/preinst.d
- doexe "${FILESDIR}/35-amd-microcode.install"
- exeinto /usr/lib/kernel/install.d
- doexe "${FILESDIR}/35-amd-microcode-systemd.install"
- )
- fi
-
- if use initramfs && ! use dist-kernel; 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
-
- # Fix 'symlink is blocked by a directory' https://bugs.gentoo.org/958268#c3
- if has_version "<${CATEGORY}/${PN}-20250613" ; then
- rm -rf "${EROOT}"/lib/firmware/nvidia/{ad103,ad104,ad106,ad107}
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && ! use dist-kernel && 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."
-
- if ver_replacing -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.'
- fi
-
- if use initramfs; then
- if use dist-kernel; then
- dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" --all
- else
- # Don't forget to umount /boot if it was previously mounted by us.
- mount-boot_pkg_postinst
- fi
- fi
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && ! use dist-kernel && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && ! use dist-kernel && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20260410.ebuild b/sys-kernel/linux-firmware/linux-firmware-20260410.ebuild
deleted file mode 100644
index 0b6dac48351e..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20260410.ebuild
+++ /dev/null
@@ -1,412 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit dist-kernel-utils eapi9-ver linux-info mount-boot savedconfig
-
-# 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${MY_COMMIT}/linux-firmware-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
- else
- SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
- fi
-
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 dist-kernel +initramfs +redistributable 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 )
- ${PYTHON_DEPS}"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132,-deduplicate(-)]
- !sys-block/qla-fc-firmware
- !sys-firmware/raspberrypi-wifi-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_sb16,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci,-deduplicate(-)]
- )
- )
- dist-kernel? (
- virtual/dist-kernel
- initramfs? (
- app-alternatives/cpio
- )
- )
-"
-IDEPEND="
- dist-kernel? (
- initramfs? ( sys-kernel/installkernel )
- )
-"
-
-QA_PREBUILT="*"
-PATCHES=(
- "${FILESDIR}"/${PN}-copy-firmware-r9.patch
-)
-
-pkg_pretend() {
- if use initramfs; then
- if use dist-kernel; then
- # Check, but don't die because we can fix the problem and then
- # emerge --config ... to re-run installation.
- nonfatal mount-boot_check_status
- else
- mount-boot_pkg_pretend
- fi
- fi
-}
-
-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
- fi
- linux-info_pkg_setup
-}
-
-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
-
- # Stub out this script to avoid errors in the live ebuild
- cat >check_whence.py<<-EOF
- #!/bin/sh
- exit 0
- EOF
-
- cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" "${T}/make-amd-ucode-img" || die
- chmod +x "${T}/make-amd-ucode-img" || die
-
- if use initramfs && ! use dist-kernel; then
- if [[ -d "${S}/amd-ucode" ]]; then
- "${T}/make-amd-ucode-img" "${S}" "${S}/amd-ucode" || die
- 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=(
- build_packages.py
- carl9170fw/autogen.sh
- carl9170fw/genapi.sh
- contrib/process_linux_firmware.py
- copy-firmware.sh
- check_whence.py
- dedup-firmware.sh
- LICEN[CS]E.*
- README.md
- WHENCE
- )
-
- # 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" "-j1" )
- 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
-
- if use compress-xz; then
- FW_OPTIONS+=( "--xz" )
- elif use compress-zstd; then
- FW_OPTIONS+=( "--zstd" )
- fi
- FW_OPTIONS+=( "${ED}/lib/firmware" )
- ./copy-firmware.sh "${FW_OPTIONS[@]}" || die
- use deduplicate && { ./dedup-firmware.sh "${ED}/lib/firmware" || die; }
-
- 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 files and directories, bug #396073
- # Copy-firmware.sh may have made empty copies of files we removed
- find -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
-
- popd &>/dev/null || die
-
- # Instruct Dracut on whether or not we want the microcode in initramfs
- (
- insinto /usr/lib/dracut/dracut.conf.d
- newins - 10-${PN}.conf <<<"early_microcode=$(usex initramfs)"
- )
- if use initramfs; then
- # Install installkernel/kernel-install hooks for non-dracut initramfs
- # generators that don't bundled the microcode
- dobin "${T}/make-amd-ucode-img"
- (
- exeinto /usr/lib/kernel/preinst.d
- doexe "${FILESDIR}/35-amd-microcode.install"
- exeinto /usr/lib/kernel/install.d
- doexe "${FILESDIR}/35-amd-microcode-systemd.install"
- )
- fi
-
- if use initramfs && ! use dist-kernel; 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
-
- # Fix 'symlink is blocked by a directory' https://bugs.gentoo.org/958268#c3
- if has_version "<${CATEGORY}/${PN}-20250613" ; then
- rm -rf "${EROOT}"/lib/firmware/nvidia/{ad103,ad104,ad106,ad107}
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && ! use dist-kernel && 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."
-
- if ver_replacing -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.'
- fi
-
- if use initramfs; then
- if use dist-kernel; then
- dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" --all
- else
- # Don't forget to umount /boot if it was previously mounted by us.
- mount-boot_pkg_postinst
- fi
- fi
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && ! use dist-kernel && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && ! use dist-kernel && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20260519.ebuild b/sys-kernel/linux-firmware/linux-firmware-20260519.ebuild
deleted file mode 100644
index b677c633c4a8..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20260519.ebuild
+++ /dev/null
@@ -1,412 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit dist-kernel-utils eapi9-ver linux-info mount-boot savedconfig
-
-# 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${MY_COMMIT}/linux-firmware-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
- else
- SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
- fi
-
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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 dist-kernel +initramfs +redistributable 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 )
- ${PYTHON_DEPS}"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132,-deduplicate(-)]
- !sys-block/qla-fc-firmware
- !sys-firmware/raspberrypi-wifi-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_sb16,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci,-deduplicate(-)]
- )
- )
- dist-kernel? (
- virtual/dist-kernel
- initramfs? (
- app-alternatives/cpio
- )
- )
-"
-IDEPEND="
- dist-kernel? (
- initramfs? ( sys-kernel/installkernel )
- )
-"
-
-QA_PREBUILT="*"
-PATCHES=(
- "${FILESDIR}"/${PN}-copy-firmware-r9.patch
-)
-
-pkg_pretend() {
- if use initramfs; then
- if use dist-kernel; then
- # Check, but don't die because we can fix the problem and then
- # emerge --config ... to re-run installation.
- nonfatal mount-boot_check_status
- else
- mount-boot_pkg_pretend
- fi
- fi
-}
-
-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
- fi
- linux-info_pkg_setup
-}
-
-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
-
- # Stub out this script to avoid errors in the live ebuild
- cat >check_whence.py<<-EOF
- #!/bin/sh
- exit 0
- EOF
-
- cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" "${T}/make-amd-ucode-img" || die
- chmod +x "${T}/make-amd-ucode-img" || die
-
- if use initramfs && ! use dist-kernel; then
- if [[ -d "${S}/amd-ucode" ]]; then
- "${T}/make-amd-ucode-img" "${S}" "${S}/amd-ucode" || die
- 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=(
- build_packages.py
- carl9170fw/autogen.sh
- carl9170fw/genapi.sh
- contrib/process_linux_firmware.py
- copy-firmware.sh
- check_whence.py
- dedup-firmware.sh
- LICEN[CS]E.*
- README.md
- WHENCE
- )
-
- # 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" "-j1" )
- 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
-
- if use compress-xz; then
- FW_OPTIONS+=( "--xz" )
- elif use compress-zstd; then
- FW_OPTIONS+=( "--zstd" )
- fi
- FW_OPTIONS+=( "${ED}/lib/firmware" )
- ./copy-firmware.sh "${FW_OPTIONS[@]}" || die
- use deduplicate && { ./dedup-firmware.sh "${ED}/lib/firmware" || die; }
-
- 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 files and directories, bug #396073
- # Copy-firmware.sh may have made empty copies of files we removed
- find -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
-
- popd &>/dev/null || die
-
- # Instruct Dracut on whether or not we want the microcode in initramfs
- (
- insinto /usr/lib/dracut/dracut.conf.d
- newins - 10-${PN}.conf <<<"early_microcode=$(usex initramfs)"
- )
- if use initramfs; then
- # Install installkernel/kernel-install hooks for non-dracut initramfs
- # generators that don't bundled the microcode
- dobin "${T}/make-amd-ucode-img"
- (
- exeinto /usr/lib/kernel/preinst.d
- doexe "${FILESDIR}/35-amd-microcode.install"
- exeinto /usr/lib/kernel/install.d
- doexe "${FILESDIR}/35-amd-microcode-systemd.install"
- )
- fi
-
- if use initramfs && ! use dist-kernel; 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
-
- # Fix 'symlink is blocked by a directory' https://bugs.gentoo.org/958268#c3
- if has_version "<${CATEGORY}/${PN}-20250613" ; then
- rm -rf "${EROOT}"/lib/firmware/nvidia/{ad103,ad104,ad106,ad107}
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && ! use dist-kernel && 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."
-
- if ver_replacing -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.'
- fi
-
- if use initramfs; then
- if use dist-kernel; then
- dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" --all
- else
- # Don't forget to umount /boot if it was previously mounted by us.
- mount-boot_pkg_postinst
- fi
- fi
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && ! use dist-kernel && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && ! use dist-kernel && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
deleted file mode 100644
index c54a693fa822..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
+++ /dev/null
@@ -1,412 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit dist-kernel-utils eapi9-ver linux-info mount-boot savedconfig
-
-# 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${MY_COMMIT}/linux-firmware-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
- else
- SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz"
- fi
-
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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 dist-kernel +initramfs +redistributable 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 )
- ${PYTHON_DEPS}"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132,-deduplicate(-)]
- !sys-block/qla-fc-firmware
- !sys-firmware/raspberrypi-wifi-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_sb16,-deduplicate(-)]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci,-deduplicate(-)]
- )
- )
- dist-kernel? (
- virtual/dist-kernel
- initramfs? (
- app-alternatives/cpio
- )
- )
-"
-IDEPEND="
- dist-kernel? (
- initramfs? ( sys-kernel/installkernel )
- )
-"
-
-QA_PREBUILT="*"
-PATCHES=(
- "${FILESDIR}"/${PN}-copy-firmware-r9.patch
-)
-
-pkg_pretend() {
- if use initramfs; then
- if use dist-kernel; then
- # Check, but don't die because we can fix the problem and then
- # emerge --config ... to re-run installation.
- nonfatal mount-boot_check_status
- else
- mount-boot_pkg_pretend
- fi
- fi
-}
-
-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
- fi
- linux-info_pkg_setup
-}
-
-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
-
- # Stub out this script to avoid errors in the live ebuild
- cat >check_whence.py<<-EOF
- #!/bin/sh
- exit 0
- EOF
-
- cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" "${T}/make-amd-ucode-img" || die
- chmod +x "${T}/make-amd-ucode-img" || die
-
- if use initramfs && ! use dist-kernel; then
- if [[ -d "${S}/amd-ucode" ]]; then
- "${T}/make-amd-ucode-img" "${S}" "${S}/amd-ucode" || die
- 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=(
- build_packages.py
- carl9170fw/autogen.sh
- carl9170fw/genapi.sh
- contrib/process_linux_firmware.py
- copy-firmware.sh
- check_whence.py
- dedup-firmware.sh
- LICEN[CS]E.*
- README.md
- WHENCE
- )
-
- # 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" "-j1" )
- 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
-
- if use compress-xz; then
- FW_OPTIONS+=( "--xz" )
- elif use compress-zstd; then
- FW_OPTIONS+=( "--zstd" )
- fi
- FW_OPTIONS+=( "${ED}/lib/firmware" )
- ./copy-firmware.sh "${FW_OPTIONS[@]}" || die
- use deduplicate && { ./dedup-firmware.sh "${ED}/lib/firmware" || die; }
-
- 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 files and directories, bug #396073
- # Copy-firmware.sh may have made empty copies of files we removed
- find -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
-
- popd &>/dev/null || die
-
- # Instruct Dracut on whether or not we want the microcode in initramfs
- (
- insinto /usr/lib/dracut/dracut.conf.d
- newins - 10-${PN}.conf <<<"early_microcode=$(usex initramfs)"
- )
- if use initramfs; then
- # Install installkernel/kernel-install hooks for non-dracut initramfs
- # generators that don't bundled the microcode
- dobin "${T}/make-amd-ucode-img"
- (
- exeinto /usr/lib/kernel/preinst.d
- doexe "${FILESDIR}/35-amd-microcode.install"
- exeinto /usr/lib/kernel/install.d
- doexe "${FILESDIR}/35-amd-microcode-systemd.install"
- )
- fi
-
- if use initramfs && ! use dist-kernel; 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
-
- # Fix 'symlink is blocked by a directory' https://bugs.gentoo.org/958268#c3
- if has_version "<${CATEGORY}/${PN}-20250613" ; then
- rm -rf "${EROOT}"/lib/firmware/nvidia/{ad103,ad104,ad106,ad107}
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && ! use dist-kernel && 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."
-
- if ver_replacing -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.'
- fi
-
- if use initramfs; then
- if use dist-kernel; then
- dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" --all
- else
- # Don't forget to umount /boot if it was previously mounted by us.
- mount-boot_pkg_postinst
- fi
- fi
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && ! use dist-kernel && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && ! use dist-kernel && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/metadata.xml b/sys-kernel/linux-firmware/metadata.xml
deleted file mode 100644
index 4b94f53cfe16..000000000000
--- a/sys-kernel/linux-firmware/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>zerochaos@gentoo.org</email>
- <name>Rick Farina</name>
-</maintainer>
-<maintainer type="project">
- <email>kernel@gentoo.org</email>
- <name>Gentoo Kernel Project</name>
-</maintainer>
-<use>
- <flag name="compress-xz">Compress firmware using xz (<pkg>app-arch/xz-utils</pkg>) before installation</flag>
- <flag name="compress-zstd">Compress firmware using zstd (<pkg>app-arch/zstd</pkg>) before installation</flag>
- <flag name="deduplicate">Create symlinks for all firmware that is duplicate using rdfind</flag>
- <flag name="dist-kernel">Delegate microcode initramfs generation to <pkg>sys-kernel/installkernel</pkg></flag>
- <flag name="initramfs">Create and install initramfs for early microcode loading in /boot (only AMD for now)</flag>
- <flag name="redistributable">Install also non-free (but redistributable) firmware files</flag>
- <flag name="savedconfig">Allows individual selection of firmware files</flag>
- <flag name="unknown-license">Install firmware files whose license is unknown</flag>
-</use>
-<upstream>
- <remote-id type="gitlab">kernel-firmware/linux-firmware</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
deleted file mode 100644
index 667ad7f3d214..000000000000
--- a/sys-kernel/linux-headers/Manifest
+++ /dev/null
@@ -1,45 +0,0 @@
-DIST gentoo-headers-3.18-1.tar.xz 3628 BLAKE2B 9e677389139e8e3e42508171593797b78f24368ceaba4f76c242b5827bf657444a65a0d3b334034cc54f7f14b00b9da7446356e1a5ffd9aacb05d5a336d4437f SHA512 89fb9b336fa3455752f6fe8626500d30245c04806890d4448a2895bbef2a5eae409940618fd4e0be57aa12784a198a695c32479f12d76450e16f2af1536e7a1f
-DIST gentoo-headers-4.14-1.tar.xz 4080 BLAKE2B 5d8bb4453d3b0b739922a86e0e45120fe5ad57c3310ff6a94830a3a7561fb3b5eef7805ff171bdf0d5582fc91848fad948162e63ec4922280c8ed68ba58d50e1 SHA512 e0f806db641c99f3f71e27fde29705685745c9c03b901c943cab5af84e2e9c3af96f5d2d10d8f5328ec7e4dba28b378f534317bf1bee597d429557b981f0a865
-DIST gentoo-headers-4.19-1.tar.xz 4040 BLAKE2B 4ccaf4fb6bde84f0b1f29534cf2f6effca48cb81d63b33086a1ec667069bcb57a3c3d5697c50bff8521343954d01d9c27139d62a9cf2c9f5f12bc0461441f4af SHA512 511accdfd104d9cc84b568132f1eb822f97d35120a438768c313c2cc2651197414dae7af05db81e26b32fb4febbf1e0812030fcb98395f6f65271f6605dc7bb6
-DIST gentoo-headers-4.4-1.tar.xz 6624 BLAKE2B 9cdf0c22520e413f175942c4994dd90b0fed8f72c67332a05e7ed72b901ee04594f4e4a3c0252e0a6e057d9c08c4d653387dc36cda82ce9ef8a16e7317ba9ea0 SHA512 dd8a5c627a9cd373022d7afa1beb126f15694f80452821f31fc5c1a3439635814d205bcbc873a5869946472d86cdec872a44f4870751b96d42e89893fca1b983
-DIST gentoo-headers-4.9-1.tar.xz 5416 BLAKE2B 2538870b340d4e4b260ada37b0571ba770a4bf93b0f0cf78819b4bf68b8ddc43c314d7fc5d12a78bc71c9bb12306d986ae0ae74159ec7edc7deea371f6b5f015 SHA512 1069f50c58f25ceb8a13c8e53dce6a21e352e2a624da3b9a6d139939e7613e9a97226eb0173fa060ee69443c6a50b53b6d5c6d752dcaebffbe2a78f06cfbe2b6
-DIST gentoo-headers-5.10-1.tar.xz 4304 BLAKE2B b5006ff13c8ef8394806919d547f1b15ac32cc4d290e8c5f5a5073f54112db194a9e743177ae54941d8a504e15b662751258259183c47c574936744d7c51b405 SHA512 3154558df20e3a8821af23b2a585eaccb6c40877850b1cf752c435c170f7f322a48e77cee63bcc061b69aff8602987f4506d803c73f394929716295aface4f3d
-DIST gentoo-headers-5.15-1.tar.xz 1496 BLAKE2B 9d88ecc517e226580ba43cba1b5cc62232690ed219f9c5e2d26047de6dbc4056eaaf04c320b2758acb3cb08b44ec402c7185989e0c5ded40c44f7b4bb1d77328 SHA512 f31d5fb4b5264a8b9c060d4215462796240c2423f0872e55ba4e96904086264f55b54d00342aef625a8f710c2ebc2d731bcf79cd0362b398c84235ff949eb229
-DIST gentoo-headers-5.4-2.tar.xz 11352 BLAKE2B 0ff989dbfff9070c291efe1a8b925462770e71d0c3faeb2e53581dcce02abe45969ec293a7293b6d843f483927b15f4accc1f24ee4966483164e8f72727cfad8 SHA512 b460e4d00bdd9ec2ecf229f3b2dde7c6468f775399ba6a49fa0533c0688628c7b27d83835c21eab07407fd98c220043cd1b20e37cc4decbd08a3f2fd9cf6c2be
-DIST gentoo-headers-6.1-0.tar.xz 1172 BLAKE2B 6929760733cd4a89228554b57b1027ccf887b6c7e56b45f71db9926e9328e2f0cf28b2f386eaaaef461cb2e05e4b1c088ffafea308f25254409f56c381bea2ca SHA512 14c3629a3c3aded37655ed277d718ed8398a08e231682f88037f1feb0c0727ef298f5e17626372fe890606930c027a3a59d8266bac746960651a90443beab5c5
-DIST gentoo-headers-6.10-1.tar.xz 1164 BLAKE2B 83c11fb4d7a2ecc3ca34dd271918da3ec6d31cdd78926f1530ef44bd401a810b5013fcf0018c03bca6856427406cfcef10df77d86f77324eb5f837c19dc392b5 SHA512 b17238528653e3be95b6871a49a5d52275fd8a1126df6255090adff18d5e1b1aa84dabb942f6933245e0cc6386ea7145aee0c986507c3a9986e186d9643175a5
-DIST gentoo-headers-6.11-1.tar.xz 1164 BLAKE2B 381aef3f8f8dd3f5f2c6ffb162bc2e509df6a0b61e935c92319a7f0594551fb4c05d0b7c3dc88362f49c272b47626d5df2cffbb4c541672102f9f4e76d1abb09 SHA512 60fd8ae83bbb43f5215ffcea37ed3b9e71820d4e9cbc4a3f2e4016970791ae68adea677ef777e4ed931b88b586e2a5470f9a447cdf2b1e87a6252fd0fbc3a1be
-DIST gentoo-headers-6.12-1.tar.xz 1164 BLAKE2B 87b1f0e5bbc7e7a04dc05a12c8ac0e1a210bc88a8bcbfbe6c3cd905f803f21eaa15d847f673e1c778d807346e2cfa728df83d3f4ea2df1b61a5436971cf8d309 SHA512 2abdc467fefbbc498f9e2deeaa189f038ea9a2d28e27ee9b682dcbd48ce51103e3d3d6888127a4b5e88ea1ff16522c1fa20e39c90eff4831398782ae4d48e1ba
-DIST gentoo-headers-6.13-1.tar.xz 1164 BLAKE2B 92c2b223c597b1aa94be129932902253308ceb66a0f4b8f9d1a79582a241c5e50d75363c6ebfc8266141f5d576dacc42acb7f6c09fe2c374b98f70c2210f4a08 SHA512 6885e725f17e07e565512dfaeb248fba01822a8836e4d6a8d3f84436ffe9290df2d0450de282efb4a18af893111e4258f69a5c6581d1783aebaee999c7e6db02
-DIST gentoo-headers-6.14-1.tar.xz 1164 BLAKE2B 2c72d180953c450158690549fb2e852310bba07cb9e81646b841348eb9327d82b5a203760c7f5b50a1a82bcca21968926a085024b36ac75f077a2fc957fa0e51 SHA512 962b7670c563f886bddbd04b49652d3a6af282a162c00a27f5ec95ca2c6a55227cfbf2819b8b754a53fd54d5106a5ea72da8f34411cfc16c7fe2cf4b700d670a
-DIST gentoo-headers-6.15-1.tar.xz 1168 BLAKE2B 2a48bece7181e24ebaf4c206823406fbeca44b13757b7dd1f63c1c3d4585e3d808e71bb503fda3b8461fb4b8eaa39ea6fcff7cebc1b97734afdeb9ed87293246 SHA512 3aee6d4327ab8414d35cda0a826b1d0068807525d12041e2c49141986ab8835f135418a9736640d8836581af90fa8fdf4c15c54eee1f0b18ae86413e3eb81d34
-DIST gentoo-headers-6.16-1.tar.xz 1168 BLAKE2B 01e016fd7fbe35c03e9be3df8c0bc4f4d885ae783dcec0631957c9f8d4cc4e294afc0fee6eda7a16526f10503aaed333685b18f3266025170ed28fe51b7ef3ae SHA512 1460a2c1a8589059e2df61c8cdd4da5ddada08d0889485cd3daf688f0274780bc0be46c9691df9039c77919c364cc85f08a0db899d014bdf4b79d9f853876791
-DIST gentoo-headers-6.16-3.tar.xz 2256 BLAKE2B a023a3a72a29b486ba763f072c2c3f4f079ba2d857ebe2ee22633ee891b05e668475b79cb82e5f4714aed11f7832401f713e75a397e0d683eb4d17c76cc09f65 SHA512 fc363f073ede597764f731f84aeed73e47aa9a644612d0e7f86d3062fdb3daca7edef7b4c3a122336d5292db339bf68f6f09ce9bd1d33e5228ddd5271a40d844
-DIST gentoo-headers-6.17-2.tar.xz 2244 BLAKE2B 7a1b08bada363a22bb4e30e2a1add4245b3c9bfb2309d9aa47a2687371019fdc01da7b540e8ec055bbb294e1774c0fa2a868fb7bd598b49f81365b027b0586fa SHA512 ecb3a3be672d3c82f11dfb1d8abb8155fdce2a46fcd3f9d0b83730d7d3dfbaf638c81168ba4fb7f15cf02e6eec09affa24b3da99bcfaae627106305888c984ac
-DIST gentoo-headers-6.18-1.tar.xz 2064 BLAKE2B f6a97a95d1086885b4bb53ef0230ce1638a7cc1518f062eeeb629def79325e54385296db7beab596cd47172fa07fbfb631e5405e3ac58e0b9177b3bf623145f5 SHA512 f10d0741a6fd9cd4aab0e59efab7cc0d3044d3c6b9dddbd1b7fd6223a30ad50a4375b1c1b7e457350417e90b9e03075e05a9ed1347b5c4c034428877a61db0b3
-DIST gentoo-headers-6.19-1.tar.xz 1868 BLAKE2B 5796f9b45aae0c03a4d31e873713db4483bcf621f573f134fb30788e7197c56881cc21fbfe2ef0afda677770aa9ebc990d6abb85e70bbe10965ad2a56e664d7c SHA512 36f8dffce8bb0c4f119f3ef5f4e9da400c36f651eb07cdae0936bff3e9a3d02014702feb4a35f119a81c31603b2a044ab1ccd947e0f9de1b36864ddfac9672ec
-DIST gentoo-headers-6.6-1.tar.xz 1172 BLAKE2B 626bb33b42f48bceca2ba6a0a9c0b043a8607bb391d3b541e98d2af42eacfabeda3a5a3d48b7bee1fd0a2a8ad0b6173bde49d3827ea087e501eb0e91d18c4ab7 SHA512 09bcda97d9d17ee3f66ee46d9c00b8ac4fba5b9662fa24e4e2754bd9e4e7b3f097e5f2d52281eeb7a671dfe303aabe15c8fd66f117fddf29fb094e28d8c603b3
-DIST gentoo-headers-6.8-1.tar.xz 1164 BLAKE2B 43283b61fc35057c7f703108d6e4aead901329106e4c297cdfc261e8f9cb1f2ec9370b7367432b9eabe9fcc4358da745170b1f4ec6079d373f50de1fde148778 SHA512 c43e18ce1b39a60e163c2e0f824b1402bcbda84f20b2ae38d53681ff517713c42fd876954fab0ab8044b66e28e32f9ee93fc61ecbbc9c2bb5a9932a0616e570c
-DIST gentoo-headers-6.9-1.tar.xz 1164 BLAKE2B fd385a2c39e9528f60dee582f153485842e76a8a9ad87fd8a11179b8ad2558df23e3c7fb7476f3f1011536e26da50f625a660d2a8ae01954300085f8b3f1bb01 SHA512 3fad4602e453a9aae24cc640ee6c70b06f221c78262f5befe794ca5eb48c352aff335715b5033760ca690bdef55e6a6acb5d3d2351bae885f3023098b5c6ecb1
-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
-DIST gentoo-headers-base-4.4.tar.xz 3911752 BLAKE2B 5031ecd48b99cb0c9c35ca935fa6a62cc36c076bab193ec397fc0d543170f29c6d5a0827a2ea5517eb68fc838819cbe3e5abd125bb920992492369d5e5c1e7cb SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3
-DIST gentoo-headers-base-4.9.tar.xz 4052748 BLAKE2B e279954c56170fbfa4ebae8dade731825b3d5f0cd5d73a5b33cd93a9c8f5fa140e14edf0d5ac26a452fe8a61b16fdcc851f5329f56e4c8dcf4472a995de44c4c SHA512 a03418cfba7fa4531279d9122411af3e285e962506e8df9279fbbb27ae08a4e30725bd1cf03f48ad523f61f2889195e6c844fa4c7b4ef2f828baf47ef402abfa
-DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
-DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
-DIST linux-6.10.tar.xz 145142812 BLAKE2B bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b SHA512 baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2
-DIST linux-6.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab SHA512 329c1f94008742e3f0c2ce7e591a16316d1b2cb9ea4596d4f45604097e07b7aa2f64afa40630a07f321a858455c77aa32ba57b271932ddcf4dc27863f9081cea
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.13.tar.xz 148523052 BLAKE2B 9f617ecb3f2393b57ba03c654fea62a7213f24c835989f333a1ef29492af551bfa7d9ad786d5ef1484854adc77c7c6af38fb09a72d994d305695f512c325e77f SHA512 1137e6440132b0958f89165440e99208f82b204e7245ae69dc9c808df97d13ce8f58136db92407e0e93394fa7f6283ec7a34597c6e92a5b6d9025e0960357957
-DIST linux-6.14.tar.xz 149408504 BLAKE2B 11835719804b406fe281ea1c276a84dc0cbaa808552ddcca9233d3eaeb1c001d0455c7205379b02de8e8db758c1bae6fe7ceb6697e63e3cf9ae7187dc7a9715e SHA512 71dcaa3772d8d9797c3ae30cae9c582b11a7047a3bbcb8dfd479a4dffb40ff0da74cf3d45175f50cc9992e338bcadd46c9c570f54054ca3bde6661768d3d22eb
-DIST linux-6.15.tar.xz 151168812 BLAKE2B 465596c6dc053ff3a3966302a906d3edb4f7ee1ef82f8c20b96360196d3414f5b1deeafa67b8340fcdecd3617280ba9b756d7073ad15c707865e256397b4af53 SHA512 d03788ffa8d8ae1b84ef1286bb44a08fc01432e509dfec6cccae5c5a5a47201d378aec2bcd21e6f0bbd1e625b26f47780c06ee9c1cef3775358f98b160923f30
-DIST linux-6.16.tar.xz 152620004 BLAKE2B 87bc4da7e89cc8265aebffea7ec6c09f711be24fee87cb1c03a264c03fd5a538d66aa806640835aa5103926e612cdfbc52d7c861d7f7065f1a8bb11d893b0921 SHA512 55a00f89ad6db6db2e26ff5dc5cfc96bbf6654e5bd5d17d2a3b944a47640367e54139716d230923187bebc6cb7756edc9511a620fb8abc6f32c50a658a734784
-DIST linux-6.17.tar.xz 153382068 BLAKE2B 0edb2324be5638aa75984128aafdba3e50824187d2fcdff8794eab99d85c10c3a17d1e840053c2c83df5ee11fdf69f1c9452c57ecc9dae01c4af38180fe7821a SHA512 063999d7b819970657f6b7713fdb4173da2065ffdeed7cae197026dbb1edfd7f1d50374f073a1e19ef9686539594824ff6ecb8a930d97c4f272cb12f1c6d8355
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.19.tar.xz 156067644 BLAKE2B d1551c058e9a1201a0fa769b427255f13bb0d73fdd384e2c0302956cc9a1eeba255b013fa87a15fdad508bc00fdae2085590572c76cfe20fe2af31ba87b7d289 SHA512 01b29c7f4e5bc0c9802794c2cd027fece825f90417be229a71e60eefce530010d5d301749c54ae744e9d4a483518e769e2bb7e6e9209687681ad7fff11c3ed86
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
-DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579
diff --git a/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch
deleted file mode 100644
index f1ff9b92dd0d..000000000000
--- a/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Needed for musl.
-
-https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/uapi/linux/swab.h?id=defbab270d45e32b068e7e73c3567232d745c60f
-https://git.alpinelinux.org/aports/tree/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch
-
-From: Matt Redfearn <matt.redfearn@mips.com>
-Date: Wed, 3 Jan 2018 09:57:30 +0000
-Subject: [PATCH] include/uapi/linux/swab: Fix potentially missing
- __always_inline
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Commit bc27fb68aaad ("include/uapi/linux/byteorder, swab: force inlining
-of some byteswap operations") added __always_inline to swab functions
-and commit 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to
-userspace headers") added a definition of __always_inline for use in
-exported headers when the kernel's compiler.h is not available.
-
-However, since swab.h does not include stddef.h, if the header soup does
-not indirectly include it, the definition of __always_inline is missing,
-resulting in a compilation failure, which was observed compiling the
-perf tool using exported headers containing this commit:
-
-In file included from /usr/include/linux/byteorder/little_endian.h:12:0,
- from /usr/include/asm/byteorder.h:14,
- from tools/include/uapi/linux/perf_event.h:20,
- from perf.h:8,
- from builtin-bench.c:18:
-/usr/include/linux/swab.h:160:8: error: unknown type name ‘__always_inline’
- static __always_inline __u16 __swab16p(const __u16 *p)
-
-Fix this by replacing the inclusion of linux/compiler.h with
-linux/stddef.h to ensure that we pick up that definition if required,
-without relying on it's indirect inclusion. compiler.h is then included
-indirectly, via stddef.h.
-
-Fixes: 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to userspace headers")
-Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
-
---- a/include/uapi/linux/swab.h
-+++ b/include/uapi/linux/swab.h
-@@ -3,7 +3,7 @@
- #define _UAPI_LINUX_SWAB_H
-
- #include <linux/types.h>
--#include <linux/compiler.h>
-+#include <linux/stddef.h>
- #include <asm/bitsperlong.h>
- #include <asm/swab.h>
-
diff --git a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
deleted file mode 100644
index aa52ff9bd141..000000000000
--- a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://git.alpinelinux.org/aports/tree/main/linux-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch
-https://bugs.gentoo.org/828726
-
-[Adapted to drop the const.h change as things may rely on it like btrfs.]
-
-From: rofl0r <retnyg@gmx.net>
-Date: Mon, 20 Jan 2014 21:31:34 +0100
-Subject: [PATCH 3/3] remove inclusion of sysinfo.h in kernel.h
-
-the declaration of struct sysinfo clashes with userspace.
-it's not quite clear why that header was included from kernel.h,
-as none of its functionality is needed.
-
---- a/include/uapi/linux/kernel.h
-+++ b/include/uapi/linux/kernel.h
-@@ -2,7 +2,9 @@
- #ifndef _UAPI_LINUX_KERNEL_H
- #define _UAPI_LINUX_KERNEL_H
-
-+#ifdef __GLIBC__
- #include <linux/sysinfo.h>
-+#endif
- #include <linux/const.h>
-
- #endif /* _UAPI_LINUX_KERNEL_H */
diff --git a/sys-kernel/linux-headers/files/linux-headers-sparc-move-struct-termio-to-asm-termios.h.patch b/sys-kernel/linux-headers/files/linux-headers-sparc-move-struct-termio-to-asm-termios.h.patch
deleted file mode 100644
index 7e8a7353bc6a..000000000000
--- a/sys-kernel/linux-headers/files/linux-headers-sparc-move-struct-termio-to-asm-termios.h.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-https://bugs.gentoo.org/918992
-https://lkml.org/lkml/2024/3/6/1112
-
-From 91577201977e109b2bda95077cb5db30864ab96e Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Tue, 5 Mar 2024 23:19:37 -0500
-Subject: [PATCH] sparc: move struct termio to asm/termios.h
-
-Every other arch declares struct termio in asm/termios.h, so make sparc
-match them.
-
-Resolves a build failure in the PPP software package, which includes
-both bits/ioctl-types.h via sys/ioctl.h (glibc) and asm/termbits.h.
-
-Closes: https://bugs.gentoo.org/918992
-Signed-off-by: Mike Gilbert <floppym@gentoo.org>
----
- arch/sparc/include/uapi/asm/termbits.h | 10 ----------
- arch/sparc/include/uapi/asm/termios.h | 9 +++++++++
- 2 files changed, 9 insertions(+), 10 deletions(-)
-
-diff --git a/arch/sparc/include/uapi/asm/termbits.h b/arch/sparc/include/uapi/asm/termbits.h
-index 4321322701fc..0da2b1adc0f5 100644
---- a/arch/sparc/include/uapi/asm/termbits.h
-+++ b/arch/sparc/include/uapi/asm/termbits.h
-@@ -10,16 +10,6 @@ typedef unsigned int tcflag_t;
- typedef unsigned long tcflag_t;
- #endif
-
--#define NCC 8
--struct termio {
-- unsigned short c_iflag; /* input mode flags */
-- unsigned short c_oflag; /* output mode flags */
-- unsigned short c_cflag; /* control mode flags */
-- unsigned short c_lflag; /* local mode flags */
-- unsigned char c_line; /* line discipline */
-- unsigned char c_cc[NCC]; /* control characters */
--};
--
- #define NCCS 17
- struct termios {
- tcflag_t c_iflag; /* input mode flags */
-diff --git a/arch/sparc/include/uapi/asm/termios.h b/arch/sparc/include/uapi/asm/termios.h
-index ee86f4093d83..cceb32260881 100644
---- a/arch/sparc/include/uapi/asm/termios.h
-+++ b/arch/sparc/include/uapi/asm/termios.h
-@@ -40,5 +40,14 @@ struct winsize {
- unsigned short ws_ypixel;
- };
-
-+#define NCC 8
-+struct termio {
-+ unsigned short c_iflag; /* input mode flags */
-+ unsigned short c_oflag; /* output mode flags */
-+ unsigned short c_cflag; /* control mode flags */
-+ unsigned short c_lflag; /* local mode flags */
-+ unsigned char c_line; /* line discipline */
-+ unsigned char c_cc[NCC]; /* control characters */
-+};
-
- #endif /* _UAPI_SPARC_TERMIOS_H */
---
-2.44.0
-
diff --git a/sys-kernel/linux-headers/linux-headers-3.18-r1.ebuild b/sys-kernel/linux-headers/linux-headers-3.18-r1.ebuild
deleted file mode 100644
index 0d2cb881269c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-3.18-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_VER="1"
-SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
-S="${WORKDIR}/gentoo-headers-base-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- dev-lang/perl"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- einfo "Possible unescaped attribute/type usage"
- grep -E -r \
- -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
- -e '\<([us](8|16|32|64))\>' \
- .
-
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-
- # provided by libdrm (for now?)
- rm -rf "${ED}"/$(kernel_header_destdir)/drm || die
-}
diff --git a/sys-kernel/linux-headers/linux-headers-4.14-r2.ebuild b/sys-kernel/linux-headers/linux-headers-4.14-r2.ebuild
deleted file mode 100644
index 4064207bb759..000000000000
--- a/sys-kernel/linux-headers/linux-headers-4.14-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_VER="1"
-SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
-S="${WORKDIR}/gentoo-headers-base-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- dev-lang/perl"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- einfo "Possible unescaped attribute/type usage"
- grep -E -r \
- -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
- -e '\<([us](8|16|32|64))\>' \
- .
-
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-4.19-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.19-r1.ebuild
deleted file mode 100644
index 8b5b81b149ee..000000000000
--- a/sys-kernel/linux-headers/linux-headers-4.19-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_VER="1"
-SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
- https://dev.gentoo.org/~sam/distfiles/gentoo-headers-base-${PV}.tar.xz
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
- ${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
-S="${WORKDIR}/gentoo-headers-base-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- dev-lang/perl"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- einfo "Possible unescaped attribute/type usage"
- grep -E -r \
- -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
- -e '\<([us](8|16|32|64))\>' \
- .
-
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-4.4-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.4-r1.ebuild
deleted file mode 100644
index 4064207bb759..000000000000
--- a/sys-kernel/linux-headers/linux-headers-4.4-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_VER="1"
-SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
-S="${WORKDIR}/gentoo-headers-base-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- dev-lang/perl"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- einfo "Possible unescaped attribute/type usage"
- grep -E -r \
- -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
- -e '\<([us](8|16|32|64))\>' \
- .
-
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-4.9-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.9-r1.ebuild
deleted file mode 100644
index f67393cff269..000000000000
--- a/sys-kernel/linux-headers/linux-headers-4.9-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_VER="1"
-SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
-S="${WORKDIR}/gentoo-headers-base-${PV}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- dev-lang/perl"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- einfo "Possible unescaped attribute/type usage"
- grep -E -r \
- -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
- -e '\<([us](8|16|32|64))\>' \
- .
-
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild b/sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild
deleted file mode 100644
index e867b441a7ce..000000000000
--- a/sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
-inherit kernel-2
-detect_version
-
-PATCH_PV=${PV} # to ease testing new versions against not existing patches
-PATCH_VER="1"
-SRC_URI="${KERNEL_URI}
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
- ${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
-"
-S="${WORKDIR}/linux-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync"
-
-[[ -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.10-Use-stddefs.h-instead-of-compiler.h.patch
- )
-
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- emake headers_check "${KERNEL_MAKEOPTS[@]}"
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild b/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild
deleted file mode 100644
index dde5d1f6a447..000000000000
--- a/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score 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 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync"
-
-# bug #816762
-RESTRICT="test"
-
-[[ -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.10-Use-stddefs.h-instead-of-compiler.h.patch
- "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch
- )
-
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- emake headers_check "${KERNEL_MAKEOPTS[@]}"
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-5.4-r2.ebuild b/sys-kernel/linux-headers/linux-headers-5.4-r2.ebuild
deleted file mode 100644
index b2c453c29759..000000000000
--- a/sys-kernel/linux-headers/linux-headers-5.4-r2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ETYPE="headers"
-H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
-inherit kernel-2 toolchain-funcs
-detect_version
-
-PATCH_PV=${PV} # to ease testing new versions against not existing patches
-PATCH_VER="2"
-SRC_URI="${KERNEL_URI}
- ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
- ${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
-"
-S="${WORKDIR}/linux-${PV}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync"
-
-[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
-
-src_unpack() {
- # avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- # avoid kernel-2_src_prepare
- default
-}
-
-src_test() {
- emake ARCH="$(tc-arch-kernel)" headers_check
-}
-
-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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.1.ebuild b/sys-kernel/linux-headers/linux-headers-6.1.ebuild
deleted file mode 100644
index 3deea331fe5a..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2025 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="0"
-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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync"
-
-[[ -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.10-Use-stddefs.h-instead-of-compiler.h.patch
- "${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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.10.ebuild b/sys-kernel/linux-headers/linux-headers-6.10.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.10.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.11.ebuild b/sys-kernel/linux-headers/linux-headers-6.11.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.11.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.12.ebuild b/sys-kernel/linux-headers/linux-headers-6.12.ebuild
deleted file mode 100644
index b28e0ad35d28..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.12.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.13.ebuild b/sys-kernel/linux-headers/linux-headers-6.13.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.13.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.14.ebuild b/sys-kernel/linux-headers/linux-headers-6.14.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.14.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.15.ebuild b/sys-kernel/linux-headers/linux-headers-6.15.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.15.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.16-r2.ebuild b/sys-kernel/linux-headers/linux-headers-6.16-r2.ebuild
deleted file mode 100644
index 3617f4c4d7a2..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.16-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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="3"
-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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.16.ebuild b/sys-kernel/linux-headers/linux-headers-6.16.ebuild
deleted file mode 100644
index 8f157cab572c..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.16.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.17-r1.ebuild b/sys-kernel/linux-headers/linux-headers-6.17-r1.ebuild
deleted file mode 100644
index 160a929a6e78..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.17-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 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 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="2"
-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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.18.ebuild b/sys-kernel/linux-headers/linux-headers-6.18.ebuild
deleted file mode 100644
index 3cb7511b9de2..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.18.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2026 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 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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.19.ebuild b/sys-kernel/linux-headers/linux-headers-6.19.ebuild
deleted file mode 100644
index 9a58ff80e5b6..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.19.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2026 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.6-r1.ebuild b/sys-kernel/linux-headers/linux-headers-6.6-r1.ebuild
deleted file mode 100644
index 2b074ece4757..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.6-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2025 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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
- PATCHES+=( "${FILESDIR}"/${PN}-sparc-move-struct-termio-to-asm-termios.h.patch )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.8-r1.ebuild b/sys-kernel/linux-headers/linux-headers-6.8-r1.ebuild
deleted file mode 100644
index 6dec9c3675c8..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.8-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
- PATCHES+=( "${FILESDIR}"/${PN}-sparc-move-struct-termio-to-asm-termios.h.patch )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/linux-headers-6.9.ebuild b/sys-kernel/linux-headers/linux-headers-6.9.ebuild
deleted file mode 100644
index 6dec9c3675c8..000000000000
--- a/sys-kernel/linux-headers/linux-headers-6.9.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2025 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 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
- app-arch/xz-utils
- net-misc/rsync
- dev-lang/perl
- net-misc/rsync
-"
-
-src_unpack() {
- # Avoid kernel-2_src_unpack
- default
-}
-
-src_prepare() {
- local PATCHES=()
- [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} )
- PATCHES+=( "${FILESDIR}"/${PN}-sparc-move-struct-termio-to-asm-termios.h.patch )
-
- # 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
-}
diff --git a/sys-kernel/linux-headers/metadata.xml b/sys-kernel/linux-headers/metadata.xml
deleted file mode 100644
index a40f7ecdd322..000000000000
--- a/sys-kernel/linux-headers/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>toolchain@gentoo.org</email>
- <name>Gentoo Toolchain Project</name>
-</maintainer>
-<upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/sys-kernel/linux-next/linux-next-9999.ebuild b/sys-kernel/linux-next/linux-next-9999.ebuild
deleted file mode 100644
index 302a8eb1494e..000000000000
--- a/sys-kernel/linux-next/linux-next-9999.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit git-r3
-
-EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git -> linux-next-${P}.git"
-EGIT_CLONE_TYPE="shallow"
-
-DESCRIPTION="Linux kernel and patches aimed at the next kernel merge window"
-HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS=""
-
-src_unpack() {
- git-r3_src_unpack
-}
-
-src_prepare() {
- eapply_user
-}
-
-src_compile() {
- :;
-}
-
-src_install() {
- dodir /usr/src/
- cp -R "${S}/" "${D}/usr/src/" || die "Install failed!"
-}
diff --git a/sys-kernel/linux-next/metadata.xml b/sys-kernel/linux-next/metadata.xml
deleted file mode 100644
index 3335b243cbff..000000000000
--- a/sys-kernel/linux-next/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kernel@gentoo.org</email>
- <name>Gentoo Kernel Project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/liquorix-sources/Manifest b/sys-kernel/liquorix-sources/Manifest
deleted file mode 100644
index c0ca51bf8150..000000000000
--- a/sys-kernel/liquorix-sources/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST liquorix-sources-7.0.10_p1.tar.gz 1222633 BLAKE2B 217233c48363a8ba906dd3614ed0b5b4cfdfaa5177d226efa79ed8a2f73e167fa353e7c8ab4b072aa8d5c7a626d653e67ee5858068381e5ee811a7c958005551 SHA512 e43ed4994d75b4f23a0870189c28cf3fa2388e9b7f7aff0ec82033b39449254a8a1fdc0fb754557af720d2e0153b9b216c6260539d41f56eb63105f754e027cf
diff --git a/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig-r1.patch b/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig-r1.patch
deleted file mode 100644
index 298dc6ecd7a0..000000000000
--- a/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig-r1.patch
+++ /dev/null
@@ -1,339 +0,0 @@
---- a/Kconfig 2025-05-11 15:08:39.749096585 -0400
-+++ b/Kconfig 2025-05-11 15:09:02.490873859 -0400
-@@ -32,3 +32,5 @@ source "lib/Kconfig.debug"
- source "Documentation/Kconfig"
-
- source "io_uring/Kconfig"
-+
-+source "distro/Kconfig"
---- /dev/null 2024-05-05 10:40:37.103999988 -0400
-+++ b/distro/Kconfig 2024-05-05 13:37:37.699554927 -0400
-@@ -0,0 +1,310 @@
-+menu "Gentoo Linux"
-+
-+config GENTOO_LINUX
-+ bool "Gentoo Linux support"
-+
-+ default y
-+
-+ select CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
-+
-+ help
-+ In order to boot Gentoo Linux a minimal set of config settings needs to
-+ be enabled in the kernel; to avoid the users from having to enable them
-+ manually as part of a Gentoo Linux installation or a new clean config,
-+ we enable these config settings by default for convenience.
-+
-+ See the settings that become available for more details and fine-tuning.
-+
-+config GENTOO_LINUX_UDEV
-+ bool "Linux dynamic and persistent device naming (userspace devfs) support"
-+
-+ depends on GENTOO_LINUX
-+ default y if GENTOO_LINUX
-+
-+ select DEVTMPFS
-+ select TMPFS
-+ select UNIX
-+
-+ select MMU
-+ select SHMEM
-+
-+ help
-+ In order to boot Gentoo Linux a minimal set of config settings needs to
-+ be enabled in the kernel; to avoid the users from having to enable them
-+ manually as part of a Gentoo Linux installation or a new clean config,
-+ we enable these config settings by default for convenience.
-+
-+ Currently this only selects TMPFS, DEVTMPFS and their dependencies.
-+ TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and
-+ /sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev.
-+
-+ Some of these are critical files that need to be available early in the
-+ boot process; if not available, it causes sysfs and udev to malfunction.
-+
-+ To ensure Gentoo Linux boots, it is best to leave this setting enabled;
-+ if you run a custom setup, you could consider whether to disable this.
-+
-+config GENTOO_LINUX_PORTAGE
-+ bool "Select options required by Portage features"
-+
-+ depends on GENTOO_LINUX
-+ default y if GENTOO_LINUX
-+
-+ select CGROUPS
-+ select NAMESPACES
-+ select IPC_NS
-+ select NET_NS
-+ select PID_NS
-+ select SYSVIPC
-+ select USER_NS
-+ select UTS_NS
-+
-+ help
-+ This enables options required by various Portage FEATURES.
-+ Currently this selects:
-+
-+ CGROUPS (required for FEATURES=cgroup)
-+ IPC_NS (required for FEATURES=ipc-sandbox)
-+ NET_NS (required for FEATURES=network-sandbox)
-+ PID_NS (required for FEATURES=pid-sandbox)
-+ SYSVIPC (required by IPC_NS)
-+
-+
-+ It is highly recommended that you leave this enabled as these FEATURES
-+ are, or will soon be, enabled by default.
-+
-+menu "Support for init systems, system and service managers"
-+ visible if GENTOO_LINUX
-+
-+config GENTOO_LINUX_INIT_SCRIPT
-+ bool "OpenRC, runit and other script based systems and managers"
-+
-+ default y if GENTOO_LINUX
-+
-+ depends on GENTOO_LINUX
-+
-+ select BINFMT_SCRIPT
-+ select CGROUPS
-+ select EPOLL
-+ select FILE_LOCKING
-+ select INOTIFY_USER
-+ select SIGNALFD
-+ select TIMERFD
-+
-+ help
-+ The init system is the first thing that loads after the kernel booted.
-+
-+ These config settings allow you to select which init systems to support;
-+ instead of having to select all the individual settings all over the
-+ place, these settings allows you to select all the settings at once.
-+
-+ This particular setting enables all the known requirements for OpenRC,
-+ runit and similar script based systems and managers.
-+
-+ If you are unsure about this, it is best to leave this setting enabled.
-+
-+config GENTOO_LINUX_INIT_SYSTEMD
-+ bool "systemd"
-+
-+ default n
-+
-+ depends on GENTOO_LINUX && GENTOO_LINUX_UDEV
-+
-+ select AUTOFS_FS
-+ select BLK_DEV_BSG if SCSI
-+ select BPF_SYSCALL
-+ select CGROUP_BPF
-+ select CGROUPS
-+ select CRYPTO_HMAC
-+ select CRYPTO_SHA256
-+ select CRYPTO_USER_API_HASH
-+ select DEVPTS_MULTIPLE_INSTANCES
-+ select DMIID if X86_32 || X86_64 || X86
-+ select EPOLL
-+ select FANOTIFY
-+ select FHANDLE
-+ select FILE_LOCKING
-+ select INOTIFY_USER
-+ select IPV6
-+ select KCMP
-+ select NET
-+ select NET_NS
-+ select PROC_FS
-+ select SECCOMP if HAVE_ARCH_SECCOMP
-+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER
-+ select SIGNALFD
-+ select SYSFS
-+ select TIMERFD
-+ select TMPFS_POSIX_ACL
-+ select TMPFS_XATTR
-+
-+ select ANON_INODES
-+ select BLOCK
-+ select EVENTFD
-+ select FSNOTIFY
-+ select INET
-+ select NLATTR
-+
-+ help
-+ The init system is the first thing that loads after the kernel booted.
-+
-+ These config settings allow you to select which init systems to support;
-+ instead of having to select all the individual settings all over the
-+ place, these settings allows you to select all the settings at once.
-+
-+ This particular setting enables all the known requirements for systemd;
-+ it also enables suggested optional settings, as the package suggests to.
-+
-+endmenu
-+
-+menuconfig GENTOO_KERNEL_SELF_PROTECTION
-+ bool "Kernel Self Protection Project"
-+ depends on GENTOO_LINUX
-+ help
-+ Recommended Kernel settings based on the suggestions from the Kernel Self Protection Project
-+ See: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
-+ Note, there may be additional settings for which the CONFIG_ setting is invisible in menuconfig due
-+ to unmet dependencies. Search for GENTOO_KERNEL_SELF_PROTECTION_COMMON and search for
-+ GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency information on your
-+ specific architecture.
-+ Note 2: Please see the URL above for numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
-+ for X86_64
-+
-+if GENTOO_KERNEL_SELF_PROTECTION
-+config GENTOO_KERNEL_SELF_PROTECTION_COMMON
-+ bool "Enable Kernel Self Protection Project Recommendations"
-+
-+ depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32_ABI && !MODIFY_LDT_SYSCALL && GCC_PLUGINS && !IOMMU_DEFAULT_DMA_LAZY && !IOMMU_DEFAULT_PASSTHROUGH && IOMMU_DEFAULT_DMA_STRICT && SECURITY && !ARCH_EPHEMERAL_INODES && RANDSTRUCT_PERFORMANCE
-+
-+ select BUG
-+ select STRICT_KERNEL_RWX
-+ select DEBUG_WX
-+ select STACKPROTECTOR
-+ select STACKPROTECTOR_STRONG
-+ select STRICT_DEVMEM if DEVMEM=y
-+ select IO_STRICT_DEVMEM if DEVMEM=y
-+ select SYN_COOKIES
-+ select DEBUG_CREDENTIALS
-+ select DEBUG_NOTIFIERS
-+ select DEBUG_LIST
-+ select DEBUG_SG
-+ select HARDENED_USERCOPY if HAVE_HARDENED_USERCOPY_ALLOCATOR=y
-+ select KFENCE if HAVE_ARCH_KFENCE && (!SLAB || SLUB)
-+ select PAGE_TABLE_CHECK if ARCH_SUPPORTS_PAGE_TABLE_CHECK=y && EXCLUSIVE_SYSTEM_RAM=y
-+ select PAGE_TABLE_CHECK_ENFORCED if PAGE_TABLE_CHECK=y
-+ select RANDOMIZE_KSTACK_OFFSET_DEFAULT if HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET && (INIT_STACK_NONE || !CC_IS_CLANG || CLANG_VERSION>=140000)
-+ select SECURITY_LANDLOCK
-+ select SCHED_CORE if SCHED_SMT
-+ select BUG_ON_DATA_CORRUPTION
-+ select RANDOM_KMALLOC_CACHES if SLUB_TINY=n
-+ select SCHED_STACK_END_CHECK
-+ select SECCOMP if HAVE_ARCH_SECCOMP
-+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER
-+ select SECURITY_YAMA
-+ select SLAB_FREELIST_RANDOM
-+ select SLAB_FREELIST_HARDENED
-+ select SHUFFLE_PAGE_ALLOCATOR
-+ select SLUB_DEBUG
-+ select UBSAN
-+ select CC_HAS_UBSAN_BOUNDS_STRICT if !CC_HAS_UBSAN_ARRAY_BOUNDS
-+ select UBSAN_BOUNDS
-+ select UBSAN_SHIFT
-+ select PAGE_POISONING
-+ select PAGE_POISONING_NO_SANITY
-+ select PAGE_POISONING_ZERO
-+ select INIT_ON_ALLOC_DEFAULT_ON
-+ select INIT_ON_FREE_DEFAULT_ON
-+ select REFCOUNT_FULL
-+ select FORTIFY_SOURCE
-+ select SECURITY_DMESG_RESTRICT
-+ select PANIC_ON_OOPS
-+ select GCC_PLUGIN_LATENT_ENTROPY
-+ select GCC_PLUGIN_STRUCTLEAK
-+ select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
-+ select GCC_PLUGIN_RANDSTRUCT
-+ select GCC_PLUGIN_RANDSTRUCT_PERFORMANCE
-+ select ZERO_CALL_USED_REGS if CC_HAS_ZERO_CALL_USED_REGS
-+
-+ help
-+ Search for GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency
-+ information on your specific architecture. Note 2: Please see the URL above for
-+ numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 for X86_64
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_X86_64
-+ bool "X86_64 KSPP Settings" if GENTOO_KERNEL_SELF_PROTECTION_COMMON
-+
-+ depends on !X86_MSR && X86_64 && GENTOO_KERNEL_SELF_PROTECTION
-+ default n
-+
-+ select GCC_PLUGIN_STACKLEAK
-+ select X86_KERNEL_IBT if CC_HAS_IBT=y && HAVE_OBJTOOL=y && (!LD_IS_LLD=n || LLD_VERSION>=140000)
-+ select LEGACY_VSYSCALL_NONE
-+ select PAGE_TABLE_ISOLATION
-+ select RANDOMIZE_BASE
-+ select RANDOMIZE_MEMORY
-+ select RELOCATABLE
-+ select X86_USER_SHADOW_STACK if AS_WRUSS=y
-+ select VMAP_STACK
-+
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_ARM64
-+ bool "ARM64 KSPP Settings"
-+
-+ depends on ARM64
-+ default n
-+
-+ select ARM64_BTI
-+ select ARM64_E0PD
-+ select ARM64_EPAN if ARM64_PAN=y
-+ select ARM64_MTE if (ARM64_AS_HAS_MTE=y && ARM64_TAGGED_ADDR_ABI=y ) && ( AS_HAS_ARMV8_5=y ) && ( AS_HAS_LSE_ATOMICS=y )
-+ select ARM64_PTR_AUTH
-+ select ARM64_PTR_AUTH_KERNEL if ( ARM64_PTR_AUTH=y ) && (( CC_HAS_SIGN_RETURN_ADDRESS=y || CC_HAS_BRANCH_PROT_PAC_RET=y ) && AS_HAS_ARMV8_3=y ) && ( LD_IS_LLD=y || LD_VERSION >= 23301 || ( CC_IS_GCC=y && GCC_VERSION < 90100 )) && (CC_IS_CLANG=n || AS_HAS_CFI_NEGATE_RA_STATE=y ) && ((FUNCTION_GRAPH_TRACER=n || DYNAMIC_FTRACE_WITH_ARGS=y ))
-+ select ARM64_BTI_KERNEL if ( ARM64_BTI=y ) && ( ARM64_PTR_AUTH_KERNEL=y ) && ( CC_HAS_BRANCH_PROT_PAC_RET_BTI=y ) && (CC_IS_GCC=n || GCC_VERSION >= 100100 ) && (CC_IS_GCC=n ) && ((FUNCTION_GRAPH_TRACE=n || DYNAMIC_FTRACE_WITH_ARG=y ))
-+ select ARM64_SW_TTBR0_PAN
-+ select CONFIG_UNMAP_KERNEL_AT_EL0
-+ select GCC_PLUGIN_STACKLEAK
-+ select KASAN_HW_TAGS if HAVE_ARCH_KASAN_HW_TAGS=y
-+ select RANDOMIZE_BASE
-+ select RELOCATABLE
-+ select SHADOW_CALL_STACK if ARCH_SUPPORTS_SHADOW_CALL_STACK=y && (DYNAMIC_FTRACE_WITH_ARGS=y || DYNAMIC_FTRACE_WITH_REGS=y || FUNCTION_GRAPH_TRACER=n) && MMU=y
-+ select UNWIND_PATCH_PAC_INTO_SCS if (CC_IS_CLANG=y && CLANG_VERSION >= CONFIG_150000 ) && ( ARM64_PTR_AUTH_KERNEL=y && CC_HAS_BRANCH_PROT_PAC_RET=y ) && ( SHADOW_CALL_STACK=y )
-+ select VMAP_STACK
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_X86_32
-+ bool "X86_32 KSPP Settings"
-+
-+ depends on !X86_MSR && !MODIFY_LDT_SYSCALL && !M486 && X86_32
-+ default n
-+
-+ select HIGHMEM64G
-+ select X86_PAE
-+ select RANDOMIZE_BASE
-+ select RELOCATABLE
-+ select PAGE_TABLE_ISOLATION
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_ARM
-+ bool "ARM KSPP Settings"
-+
-+ depends on !OABI_COMPAT && ARM
-+ default n
-+
-+ select VMSPLIT_3G
-+ select STRICT_MEMORY_RWX
-+ select CPU_SW_DOMAIN_PAN
-+
-+endif
-+
-+config GENTOO_PRINT_FIRMWARE_INFO
-+ bool "Print firmware information that the kernel attempts to load"
-+
-+ depends on GENTOO_LINUX
-+ default y
-+
-+ help
-+ Enable this option to print information about firmware that the kernel
-+ is attempting to load. This information can be accessible via the
-+ dmesg command-line utility
-+
-+ See the settings that become available for more details and fine-tuning.
-+
-+endmenu
- mm/Kconfig | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/mm/Kconfig b/mm/Kconfig
-index 24c045b24..e13fc740c 100644
---- a/mm/Kconfig
-+++ b/mm/Kconfig
-@@ -321,6 +321,8 @@ config KSM
- config DEFAULT_MMAP_MIN_ADDR
- int "Low address space to protect from user allocation"
- depends on MMU
-+ default 65536 if ( X86_64 || X86_32 || PPC64 || IA64 ) && GENTOO_KERNEL_SELF_PROTECTION
-+ default 32768 if ( ARM64 || ARM ) && GENTOO_KERNEL_SELF_PROTECTION
- default 4096
- help
- This is the portion of low virtual memory which should be protected
---
-2.31.1
diff --git a/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig.patch b/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig.patch
deleted file mode 100644
index 87b8fa95fb1b..000000000000
--- a/sys-kernel/liquorix-sources/files/4567_distro-Gentoo-Kconfig.patch
+++ /dev/null
@@ -1,339 +0,0 @@
---- a/Kconfig 2022-08-25 10:11:47.220973785 -0400
-+++ b/Kconfig 2022-08-25 10:11:56.997682513 -0400
-@@ -30,3 +30,5 @@ source "lib/Kconfig"
- source "lib/Kconfig.debug"
-
- source "Documentation/Kconfig"
-+
-+source "distro/Kconfig"
---- /dev/null 2024-05-05 10:40:37.103999988 -0400
-+++ b/distro/Kconfig 2024-05-05 13:37:37.699554927 -0400
-@@ -0,0 +1,310 @@
-+menu "Gentoo Linux"
-+
-+config GENTOO_LINUX
-+ bool "Gentoo Linux support"
-+
-+ default y
-+
-+ select CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
-+
-+ help
-+ In order to boot Gentoo Linux a minimal set of config settings needs to
-+ be enabled in the kernel; to avoid the users from having to enable them
-+ manually as part of a Gentoo Linux installation or a new clean config,
-+ we enable these config settings by default for convenience.
-+
-+ See the settings that become available for more details and fine-tuning.
-+
-+config GENTOO_LINUX_UDEV
-+ bool "Linux dynamic and persistent device naming (userspace devfs) support"
-+
-+ depends on GENTOO_LINUX
-+ default y if GENTOO_LINUX
-+
-+ select DEVTMPFS
-+ select TMPFS
-+ select UNIX
-+
-+ select MMU
-+ select SHMEM
-+
-+ help
-+ In order to boot Gentoo Linux a minimal set of config settings needs to
-+ be enabled in the kernel; to avoid the users from having to enable them
-+ manually as part of a Gentoo Linux installation or a new clean config,
-+ we enable these config settings by default for convenience.
-+
-+ Currently this only selects TMPFS, DEVTMPFS and their dependencies.
-+ TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and
-+ /sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev.
-+
-+ Some of these are critical files that need to be available early in the
-+ boot process; if not available, it causes sysfs and udev to malfunction.
-+
-+ To ensure Gentoo Linux boots, it is best to leave this setting enabled;
-+ if you run a custom setup, you could consider whether to disable this.
-+
-+config GENTOO_LINUX_PORTAGE
-+ bool "Select options required by Portage features"
-+
-+ depends on GENTOO_LINUX
-+ default y if GENTOO_LINUX
-+
-+ select CGROUPS
-+ select NAMESPACES
-+ select IPC_NS
-+ select NET_NS
-+ select PID_NS
-+ select SYSVIPC
-+ select USER_NS
-+ select UTS_NS
-+
-+ help
-+ This enables options required by various Portage FEATURES.
-+ Currently this selects:
-+
-+ CGROUPS (required for FEATURES=cgroup)
-+ IPC_NS (required for FEATURES=ipc-sandbox)
-+ NET_NS (required for FEATURES=network-sandbox)
-+ PID_NS (required for FEATURES=pid-sandbox)
-+ SYSVIPC (required by IPC_NS)
-+
-+
-+ It is highly recommended that you leave this enabled as these FEATURES
-+ are, or will soon be, enabled by default.
-+
-+menu "Support for init systems, system and service managers"
-+ visible if GENTOO_LINUX
-+
-+config GENTOO_LINUX_INIT_SCRIPT
-+ bool "OpenRC, runit and other script based systems and managers"
-+
-+ default y if GENTOO_LINUX
-+
-+ depends on GENTOO_LINUX
-+
-+ select BINFMT_SCRIPT
-+ select CGROUPS
-+ select EPOLL
-+ select FILE_LOCKING
-+ select INOTIFY_USER
-+ select SIGNALFD
-+ select TIMERFD
-+
-+ help
-+ The init system is the first thing that loads after the kernel booted.
-+
-+ These config settings allow you to select which init systems to support;
-+ instead of having to select all the individual settings all over the
-+ place, these settings allows you to select all the settings at once.
-+
-+ This particular setting enables all the known requirements for OpenRC,
-+ runit and similar script based systems and managers.
-+
-+ If you are unsure about this, it is best to leave this setting enabled.
-+
-+config GENTOO_LINUX_INIT_SYSTEMD
-+ bool "systemd"
-+
-+ default n
-+
-+ depends on GENTOO_LINUX && GENTOO_LINUX_UDEV
-+
-+ select AUTOFS_FS
-+ select BLK_DEV_BSG if SCSI
-+ select BPF_SYSCALL
-+ select CGROUP_BPF
-+ select CGROUPS
-+ select CRYPTO_HMAC
-+ select CRYPTO_SHA256
-+ select CRYPTO_USER_API_HASH
-+ select DEVPTS_MULTIPLE_INSTANCES
-+ select DMIID if X86_32 || X86_64 || X86
-+ select EPOLL
-+ select FANOTIFY
-+ select FHANDLE
-+ select FILE_LOCKING
-+ select INOTIFY_USER
-+ select IPV6
-+ select KCMP
-+ select NET
-+ select NET_NS
-+ select PROC_FS
-+ select SECCOMP if HAVE_ARCH_SECCOMP
-+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER
-+ select SIGNALFD
-+ select SYSFS
-+ select TIMERFD
-+ select TMPFS_POSIX_ACL
-+ select TMPFS_XATTR
-+
-+ select ANON_INODES
-+ select BLOCK
-+ select EVENTFD
-+ select FSNOTIFY
-+ select INET
-+ select NLATTR
-+
-+ help
-+ The init system is the first thing that loads after the kernel booted.
-+
-+ These config settings allow you to select which init systems to support;
-+ instead of having to select all the individual settings all over the
-+ place, these settings allows you to select all the settings at once.
-+
-+ This particular setting enables all the known requirements for systemd;
-+ it also enables suggested optional settings, as the package suggests to.
-+
-+endmenu
-+
-+menuconfig GENTOO_KERNEL_SELF_PROTECTION
-+ bool "Kernel Self Protection Project"
-+ depends on GENTOO_LINUX
-+ help
-+ Recommended Kernel settings based on the suggestions from the Kernel Self Protection Project
-+ See: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
-+ Note, there may be additional settings for which the CONFIG_ setting is invisible in menuconfig due
-+ to unmet dependencies. Search for GENTOO_KERNEL_SELF_PROTECTION_COMMON and search for
-+ GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency information on your
-+ specific architecture.
-+ Note 2: Please see the URL above for numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
-+ for X86_64
-+
-+if GENTOO_KERNEL_SELF_PROTECTION
-+config GENTOO_KERNEL_SELF_PROTECTION_COMMON
-+ bool "Enable Kernel Self Protection Project Recommendations"
-+
-+ depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32_ABI && !MODIFY_LDT_SYSCALL && GCC_PLUGINS && !IOMMU_DEFAULT_DMA_LAZY && !IOMMU_DEFAULT_PASSTHROUGH && IOMMU_DEFAULT_DMA_STRICT && SECURITY && !ARCH_EPHEMERAL_INODES && RANDSTRUCT_PERFORMANCE
-+
-+ select BUG
-+ select STRICT_KERNEL_RWX
-+ select DEBUG_WX
-+ select STACKPROTECTOR
-+ select STACKPROTECTOR_STRONG
-+ select STRICT_DEVMEM if DEVMEM=y
-+ select IO_STRICT_DEVMEM if DEVMEM=y
-+ select SYN_COOKIES
-+ select DEBUG_CREDENTIALS
-+ select DEBUG_NOTIFIERS
-+ select DEBUG_LIST
-+ select DEBUG_SG
-+ select HARDENED_USERCOPY if HAVE_HARDENED_USERCOPY_ALLOCATOR=y
-+ select KFENCE if HAVE_ARCH_KFENCE && (!SLAB || SLUB)
-+ select PAGE_TABLE_CHECK if ARCH_SUPPORTS_PAGE_TABLE_CHECK=y && EXCLUSIVE_SYSTEM_RAM=y
-+ select PAGE_TABLE_CHECK_ENFORCED if PAGE_TABLE_CHECK=y
-+ select RANDOMIZE_KSTACK_OFFSET_DEFAULT if HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET && (INIT_STACK_NONE || !CC_IS_CLANG || CLANG_VERSION>=140000)
-+ select SECURITY_LANDLOCK
-+ select SCHED_CORE if SCHED_SMT
-+ select BUG_ON_DATA_CORRUPTION
-+ select RANDOM_KMALLOC_CACHE if SLUB_TINY=n
-+ select SCHED_STACK_END_CHECK
-+ select SECCOMP if HAVE_ARCH_SECCOMP
-+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER
-+ select SECURITY_YAMA
-+ select SLAB_FREELIST_RANDOM
-+ select SLAB_FREELIST_HARDENED
-+ select SHUFFLE_PAGE_ALLOCATOR
-+ select SLUB_DEBUG
-+ select UBSAN
-+ select CC_HAS_UBSAN_BOUNDS_STRICT if !CC_HAS_UBSAN_ARRAY_BOUNDS
-+ select UBSAN_BOUNDS
-+ select UBSAN_SHIFT
-+ select PAGE_POISONING
-+ select PAGE_POISONING_NO_SANITY
-+ select PAGE_POISONING_ZERO
-+ select INIT_ON_ALLOC_DEFAULT_ON
-+ select INIT_ON_FREE_DEFAULT_ON
-+ select REFCOUNT_FULL
-+ select FORTIFY_SOURCE
-+ select SECURITY_DMESG_RESTRICT
-+ select PANIC_ON_OOPS
-+ select GCC_PLUGIN_LATENT_ENTROPY
-+ select GCC_PLUGIN_STRUCTLEAK
-+ select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
-+ select GCC_PLUGIN_RANDSTRUCT
-+ select GCC_PLUGIN_RANDSTRUCT_PERFORMANCE
-+ select ZERO_CALL_USED_REGS if CC_HAS_ZERO_CALL_USED_REGS
-+
-+ help
-+ Search for GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency
-+ information on your specific architecture. Note 2: Please see the URL above for
-+ numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 for X86_64
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_X86_64
-+ bool "X86_64 KSPP Settings" if GENTOO_KERNEL_SELF_PROTECTION_COMMON
-+
-+ depends on !X86_MSR && X86_64 && GENTOO_KERNEL_SELF_PROTECTION
-+ default n
-+
-+ select GCC_PLUGIN_STACKLEAK
-+ select X86_KERNEL_IBT if CC_HAS_IBT=y && HAVE_OBJTOOL=y && (!LD_IS_LLD=n || LLD_VERSION>=140000)
-+ select LEGACY_VSYSCALL_NONE
-+ select PAGE_TABLE_ISOLATION
-+ select RANDOMIZE_BASE
-+ select RANDOMIZE_MEMORY
-+ select RELOCATABLE
-+ select X86_USER_SHADOW_STACK if AS_WRUSS=Y
-+ select VMAP_STACK
-+
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_ARM64
-+ bool "ARM64 KSPP Settings"
-+
-+ depends on ARM64
-+ default n
-+
-+ select ARM64_BTI
-+ select ARM64_E0PD
-+ select ARM64_EPAN if ARM64_PAN=y
-+ select ARM64_MTE if (ARM64_AS_HAS_MTE=y && ARM64_TAGGED_ADDR_ABI=y ) && ( AS_HAS_ARMV8_5=y ) && ( AS_HAS_LSE_ATOMICS=y ) && ( ARM64_PAN=y )
-+ select ARM64_PTR_AUTH
-+ select ARM64_PTR_AUTH_KERNEL if ( ARM64_PTR_AUTH=y ) && (( CC_HAS_SIGN_RETURN_ADDRESS=y || CC_HAS_BRANCH_PROT_PAC_RET=y ) && AS_HAS_ARMV8_3=y ) && ( LD_IS_LLD=y || LD_VERSION >= 23301 || ( CC_IS_GCC=y && GCC_VERSION < 90100 )) && (CC_IS_CLANG=n || AS_HAS_CFI_NEGATE_RA_STATE=y ) && ((FUNCTION_GRAPH_TRACER=n || DYNAMIC_FTRACE_WITH_ARGS=y ))
-+ select ARM64_BTI_KERNEL if ( ARM64_BTI=y ) && ( ARM64_PTR_AUTH_KERNEL=y ) && ( CC_HAS_BRANCH_PROT_PAC_RET_BTI=y ) && (CC_IS_GCC=n || GCC_VERSION >= 100100 ) && (CC_IS_GCC=n ) && ((FUNCTION_GRAPH_TRACE=n || DYNAMIC_FTRACE_WITH_ARG=y ))
-+ select ARM64_SW_TTBR0_PAN
-+ select CONFIG_UNMAP_KERNEL_AT_EL0
-+ select GCC_PLUGIN_STACKLEAK
-+ select KASAN_HW_TAGS if HAVE_ARCH_KASAN_HW_TAGS=y
-+ select RANDOMIZE_BASE
-+ select RELOCATABLE
-+ select SHADOW_CALL_STACK if ARCH_SUPPORTS_SHADOW_CALL_STACK=y && (DYNAMIC_FTRACE_WITH_ARGS=y || DYNAMIC_FTRACE_WITH_REGS=y || FUNCTION_GRAPH_TRACER=n) && MMU=y
-+ select UNWIND_PATCH_PAC_INTO_SCS if (CC_IS_CLANG=y && CLANG_VERSION >= CONFIG_150000 ) && ( ARM64_PTR_AUTH_KERNEL=y && CC_HAS_BRANCH_PROT_PAC_RET=y ) && ( SHADOW_CALL_STACK=y )
-+ select VMAP_STACK
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_X86_32
-+ bool "X86_32 KSPP Settings"
-+
-+ depends on !X86_MSR && !MODIFY_LDT_SYSCALL && !M486 && X86_32
-+ default n
-+
-+ select HIGHMEM64G
-+ select X86_PAE
-+ select RANDOMIZE_BASE
-+ select RELOCATABLE
-+ select PAGE_TABLE_ISOLATION
-+
-+config GENTOO_KERNEL_SELF_PROTECTION_ARM
-+ bool "ARM KSPP Settings"
-+
-+ depends on !OABI_COMPAT && ARM
-+ default n
-+
-+ select VMSPLIT_3G
-+ select STRICT_MEMORY_RWX
-+ select CPU_SW_DOMAIN_PAN
-+
-+endif
-+
-+config GENTOO_PRINT_FIRMWARE_INFO
-+ bool "Print firmware information that the kernel attempts to load"
-+
-+ depends on GENTOO_LINUX
-+ default y
-+
-+ help
-+ Enable this option to print information about firmware that the kernel
-+ is attempting to load. This information can be accessible via the
-+ dmesg command-line utility
-+
-+ See the settings that become available for more details and fine-tuning.
-+
-+endmenu
- mm/Kconfig | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/mm/Kconfig b/mm/Kconfig
-index 24c045b24..e13fc740c 100644
---- a/mm/Kconfig
-+++ b/mm/Kconfig
-@@ -321,6 +321,8 @@ config KSM
- config DEFAULT_MMAP_MIN_ADDR
- int "Low address space to protect from user allocation"
- depends on MMU
-+ default 65536 if ( X86_64 || X86_32 || PPC64 || IA64 ) && GENTOO_KERNEL_SELF_PROTECTION
-+ default 32768 if ( ARM64 || ARM ) && GENTOO_KERNEL_SELF_PROTECTION
- default 4096
- help
- This is the portion of low virtual memory which should be protected
---
-2.31.1
diff --git a/sys-kernel/liquorix-sources/liquorix-sources-7.0.10_p1.ebuild b/sys-kernel/liquorix-sources/liquorix-sources-7.0.10_p1.ebuild
deleted file mode 100644
index 42c395e8676e..000000000000
--- a/sys-kernel/liquorix-sources/liquorix-sources-7.0.10_p1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-ETYPE="sources"
-
-K_USEPV="yes"
-UNIPATCH_STRICTORDER="yes"
-K_SECURITY_UNSUPPORTED="1"
-GIT_COMMIT="7.0-11"
-
-CKV="$(ver_cut 1-2)"
-
-inherit kernel-2
-#detect_version
-K_NOSETEXTRAVERSION="don't_set_it"
-
-DESCRIPTION="The Liquorix Kernel Sources v6.x"
-HOMEPAGE="https://liquorix.net/"
-LIQUORIX_VERSION="${GIT_COMMIT/_p[0-9]*}"
-LIQUORIX_FILE="${P}.tar.gz"
-LIQUORIX_URI="https://github.com/damentz/liquorix-package/archive/${LIQUORIX_VERSION}.tar.gz -> ${LIQUORIX_FILE}"
-SRC_URI="${KERNEL_URI} ${LIQUORIX_URI}";
-
-KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
-
-KV_FULL="${PVR/_p/-pf}"
-S="${WORKDIR}"/linux-"${KV_FULL}"
-
-pkg_setup(){
- ewarn
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the Liquorix developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- unpack "${LIQUORIX_FILE}"
- kernel-2_src_unpack
-}
-
-src_prepare(){
- # Taken from
- # linux-lqx AUR package
- local lqx_patches="${WORKDIR}/liquorix-package-${GIT_COMMIT}/linux-liquorix/debian/patches"
- grep -P '^(zen|lqx)/' "${lqx_patches}/series" | while IFS= read -r line
- do
- einfo "Patching sources with $line"
- eapply "${lqx_patches}/${line}"
- done
-
- # Adds config options for OpenRC/Systemd
- eapply "${FILESDIR}"/4567_distro-Gentoo-Kconfig-r1.patch
-
- cp -v "${WORKDIR}/liquorix-package-${GIT_COMMIT}/linux-liquorix/debian/config/kernelarch-x86/config-arch-64" \
- "${S}/liquorix-package-default-config" || die
-
- eapply_user
-}
-
-src_install() {
- kernel-2_src_install
-}
-
-K_EXTRAEINFO="For more info on liquorix-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/liquorix-sources/metadata.xml b/sys-kernel/liquorix-sources/metadata.xml
deleted file mode 100644
index ce44d2852ab3..000000000000
--- a/sys-kernel/liquorix-sources/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>james@thegreatmcpain.xyz</email>
- </maintainer>
- <upstream>
- <remote-id type="github">damentz/liquorix-package</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/metadata.xml b/sys-kernel/metadata.xml
deleted file mode 100644
index 3a9525599c0b..000000000000
--- a/sys-kernel/metadata.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<catmetadata>
- <longdescription lang="en">
- The sys-kernel category contains kernel source ebuilds and
- kernel-related tools.
- </longdescription>
- <longdescription lang="es">
- La categoría sys-kernel contiene las fuentes del núcleo y herramientas
- relacionadas con este.
- </longdescription>
- <longdescription lang="de">
- Die Kategorie sys-kernel enthält Ebuilds für Kernelquellen
- sowie damit in Zusammenhang stehende Pakete.
- </longdescription>
- <longdescription lang="ja">
- sys-kernelカテゴリにはカーネルソースebuildとカーネル関連ツールが含まれます。
- </longdescription>
- <longdescription lang="nl">
- De sys-kernel categorie bevat ebuilds voor kernelbroncode en gerelateerde
- hulpmiddelen.
- </longdescription>
- <longdescription lang="vi">
- Nhóm sys-kernel chứa ebuild mã nguồn kernel và các công cụ
- liên quan đến kernel.
- </longdescription>
- <longdescription lang="it">
- La categoria sys-kernel contiene i sorgenti del kernel e alcuni programmi
- per la sua gestione come genkernel.
- </longdescription>
- <longdescription lang="pt">
- A categoria sys-kernel contém ebuilds de fonte de kernel e
- ferramentas relacionadas a kernel.
- </longdescription>
- <longdescription lang="pl">
- Kategoria sys-kernel zawiera źródła jądra oraz związane z nimi narzędzia.
- </longdescription>
-</catmetadata>
diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest
deleted file mode 100644
index 4b5b96d3db3e..000000000000
--- a/sys-kernel/mips-sources/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
-DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
-DIST mips-sources-4.19.0-patches-v5.tar.xz 290808 BLAKE2B 0acdb1847e9b4bf2eb68c9425d107da82f1aeb2df81d63f32c7314a4e7d68f8e7ecc09c2ffc5689dcfa5a1234d0977843d7a0e6daf1211753867035e44ef83f9 SHA512 19248c9b1c392f6e50ab1084ac1103081e4fa9f652b491924f5276bc0b1b3f5009a1e2a4d7ea3f7ca2c65d142228c0758be7eabd5504bafeaae51aa6153fb88b
-DIST mips-sources-5.4-patches-v10.tar.xz 198860 BLAKE2B 21aa39899e6429cc6ecfae2b1155186faac8f1d2ff0e277181cf31901364aa18c79d41048f5a13cdebca3114129624304b79607bdc19613064a93a8f32b1a749 SHA512 f022efd8398ab09177a933605c2d334c7e8afb1a7857216535f49734e8486789b3b17fdabfddb8aa83667f2ee81cd3db9d3d26dc919693267871053cd9eaf7ce
-DIST patch-4.19.325.xz 6263136 BLAKE2B 82c37a010f1e290b0f26e89f312db62ba666e19084de676626bda7509e7ce9ab585dc6d4e028b9428e8cbf25f94e979972aca17d40dba7e284cd8dd6949f46a3 SHA512 a55c2e649f709b728973faadce69e73db24d6ac17388d1b340853a0520d9f3c4f5f3e6a74b382695a2fd0b9107df6169b3a848e5ba9e5a64c13e4bb831edec19
-DIST patch-5.4.294.xz 6026500 BLAKE2B 553bad850419c0f9eb80e7e99bdfbe0116971e063e996ee0a576eef149e78f8bf15edce69c00c75c740317d1632cde9f03a7f64fb155914c858e3f0c77a45720 SHA512 79ba0e932c23cba04113783b1d897bce3fb4f981f1945d73e1f41df993783ad12116293367af2c1ea2d3537d648549a52559da053eb919cfe515c28c51d1381f
diff --git a/sys-kernel/mips-sources/metadata.xml b/sys-kernel/mips-sources/metadata.xml
deleted file mode 100644
index ff4ab14c0d86..000000000000
--- a/sys-kernel/mips-sources/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>mips@gentoo.org</email>
- <name>MIPS architecture team</name>
- </maintainer>
-
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- </upstream>
-
- <longdescription>
- Kernel.org LTS releases that focus on fixing any issues with
- current in-tree MIPS systems (primarily SGI), as well as adding
- missing support for any out-of-tree systems via custom patches.
- </longdescription>
-
- <use>
- <flag name="ip27">Enables additional support for SGI Origin (IP27)</flag>
- <flag name="ip28">Enables additional support for SGI Indigo2 Impact R10000 (IP28)</flag>
- <flag name="ip30">Enables support for SGI Octane (IP30, 'Speedracer')</flag>
- <flag name="experimental">Apply experimental (80xx) patches.</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/mips-sources/mips-sources-4.19.325.ebuild b/sys-kernel/mips-sources/mips-sources-4.19.325.ebuild
deleted file mode 100644
index bef54f24328f..000000000000
--- a/sys-kernel/mips-sources/mips-sources-4.19.325.ebuild
+++ /dev/null
@@ -1,346 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# EAPI Version
-EAPI="8"
-
-#//------------------------------------------------------------------------------
-
-# Version Data
-GENPATCHREV="5" # Tarball revision for patches
-
-# Directories
-MIPS_PATCHES="${WORKDIR}/mips-patches"
-
-# Kernel-2 Vars
-K_SECURITY_UNSUPPORTED="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_BASE_VER="4.18"
-K_FROM_GIT="yes"
-ETYPE="sources"
-
-# Inherit Eclasses
-inherit kernel-2
-detect_version
-
-# Version Data
-F_KV="${PVR}"
-BASE_KV="$(ver_cut 1-2).0"
-[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
-
-# Portage Vars
-DESCRIPTION="Kernel.org sources for MIPS-based machines"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:MIPS"
-SRC_URI="${KERNEL_URI}
- https://dev.gentoo.org/~kumba/distfiles/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-S="${WORKDIR}/linux-${OKV}"
-KEYWORDS="-* ~mips"
-IUSE="experimental ip27 ip28 ip30 symlink"
-
-# Specify any patches or patch familes to NOT apply here.
-# Use only the 4-digit number followed by a '*'.
-P_EXCLUDE=""
-
-# Machine Support Control Variables
-DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00)
-DO_IP27="yes" # IP27 support (SGI Origin)
-DO_IP28="test" # IP28 support (SGI Indigo2 Impact R10000)
-DO_IP30="yes" # IP30 support (SGI Octane)
-DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only)
-
-# Machine Stable Version Variables
-SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version
-SV_IP27="" # DO_IP27 == "no", IP27
-SV_IP28="" # DO_IP28 == "no", IP28
-SV_IP30="" # DO_IP30 == "no", IP30
-SV_IP32="" # DO_IP32 == "no", IP32
-
-#//------------------------------------------------------------------------------
-
-err_disabled_mach() {
- # Get args
- local m_name="${1}"
- local m_abbr="${2}"
- local m_use="${3}"
- local is_test="${4}"
-
- # Get stable version, if exists
- local stable_ver="SV_${m_abbr}"
- stable_ver="${!stable_ver}"
-
- # See if this machine needs a USE passed or skip dying
- local has_use
- [[ "${m_use}" != "skip" ]] \
- && has_use="USE=\"${m_use}\" "
-
- # Print error && (maybe) die
- echo -e ""
- if [[ "${is_test}" != "test" ]]; then
- eerror "${m_name} Support has been disabled in this ebuild"
- eerror "revision. If you wish to merge ${m_name} sources, then"
- eerror "run ${has_use}emerge =mips-sources-${stable_ver}"
- [[ "${m_use}" != "skip" ]] \
- && die "${m_name} Support disabled."
- else
- ewarn "${m_name} Support has been marked as needing testing in this"
- ewarn "ebuild revision. This usually means that any patches to support"
- ewarn "${m_name} have been forward ported and maybe even compile-tested,"
- ewarn "but not yet booted on real hardware, possibly due to a lack of access"
- ewarn "to such hardware. If you happen to boot this kernel and have no"
- ewarn "problems at all, then please inform the maintainer. Otherwise, if"
- ewarn "experience a bug, an oops/panic, or some other oddity, then please"
- ewarn "file a bug at bugs.gentoo.org, and assign it to the mips team."
- fi
-
- return 0
-}
-
-err_only_one_mach_allowed() {
- echo -e ""
- eerror "A patchset for a specific machine-type has already been selected."
- eerror "No other patches for machines-types are permitted. You will need a"
- eerror "separate copy of the kernel sources for each different machine-type"
- eerror "you want to build a kernel for."
- die "Only one machine-type patchset allowed"
-}
-
-fkv_to_machtype() {
- # For any machines that use external patches, we rename the source
- # tree to match the machine type.
- local fkv="${F_KV%-*}"
- local v="${fkv}"
- for x in {ip27,ip28,ip30}; do
- use ${x} && v="${v}.${x}" && break
- done
-
- echo "${v}"
-}
-
-pkg_postinst() {
- if ! use symlink; then
- return 0
- fi
-
- local kern_sym="/usr/src/linux"
-
- # Check that /usr/src/linux is safe to overwrite
- if [[ -e "${kern_sym}" && ! -L "${kern_sym}" ]]; then
- die "${kern_sym} already exists, but is not a symbolic link"
- fi
-
- # Symlink /usr/src/linux as appropriate
- local kern_ver=$(fkv_to_machtype)
- ln -snf "linux-${kern_ver}" "${kern_sym}"
-}
-
-pkg_setup() {
- local arch_is_selected="no"
- local m_ip m_enable m_name
-
- # Exclusive machine patchsets
- # These are not allowed to be mixed together, thus only one of them may be applied
- # to a tree per merge.
- for x in \
- "ip27 SGI Origin 200/2000" \
- "ip28 SGI Indigo2 Impact R10000" \
- "ip30 SGI Octane"
- do
- set -- ${x} # Set positional params
- m_ip="${1}" # Grab the first param (HW IP for SGI)
- shift # Shift the positions
- m_name="${*}" # Get the rest (Name)
-
- if ! use ${m_ip}; then
- continue
- fi
-
- # Fetch the value indiciating if the machine is enabled or not
- m_enable="DO_${m_ip/ip/IP}"
- m_enable="${!m_enable}"
-
- # Make sure only one of these exclusive machine patches is selected
- [[ "${arch_is_selected}" = "no" ]] \
- && arch_is_selected="yes" \
- || err_only_one_mach_allowed
-
- # Is the machine support disabled or marked as needing testing?
- case "${m_enable}" in
- "test") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test" ;;
- "no") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" ;;
- esac
-
- # Show relevant information about the machine
- show_${m_ip}_info
- done
-
- # All other systems that don't have a USE flag go here
- # These systems have base-line support included in linux-mips git, so
- # instead of failing, if disabled, we simply warn the user
- if [[ "${arch_is_selected}" = "no" ]]; then
- [[ "${DO_IP22}" = "no" ]] \
- && err_disabled_mach "SGI Indy/Indigo2 R4x00" "IP22" "skip" \
- || show_ip22_info
- [[ "${DO_IP32}" = "no" ]] \
- && err_disabled_mach "SGI O2" "IP32" "skip" \
- || show_ip32_info
-
- fi
-}
-
-show_ip22_info() {
- echo -e ""
- einfo "IP22 systems with an R5000 processor should work with this release."
- einfo "The R4x00 series of processors tend to be rather flaky, especially the"
- einfo "R4600. If you have to run an R4x00 processor, then try to use an R4400."
- einfo ""
- einfo "Some Notes:"
- einfo "\t- Supported graphics card right now is Newport (XL)."
- einfo "\t- A driver for Extreme (XZ) does not exist at present."
- echo -e ""
-}
-
-show_ip27_info() {
- echo -e ""
- ewarn "IP27 Origin 2k/Onyx2 systems may be prone to sudden hard lockups."
- ewarn "The exact trigger is unknown at this time."
- echo -e ""
-}
-
-show_ip28_info() {
- echo -e ""
- einfo "Support for the Indigo2 Impact R10000 is now in the mainline kernel. However,"
- einfo "due to the R10000 Speculative Execution issue that exists with this machine,"
- einfo "nothing is guaranteed to work correctly. Consider enabling ${HILITE}CONFIG_KALLSYMS${NORMAL}"
- einfo "in your kernel so that if the machine Oopes, you'll be able to provide valuable"
- einfo "feedback that can be used to trace down the crash."
- echo -e ""
-}
-
-show_ip30_info() {
- echo -e ""
- eerror "Things that DON'T work:"
- eerror "\t- Do not use CONFIG_SLUB, otherwise, you'll get errors when booting"
- eerror "\t\040\040regarding duplicate /sys/kernel/slab/* entries in sysfs."
- eerror "\t- Impact (MGRAS) Xorg driver no longer functions due to severe bitrot."
- eerror "\t- Octane is limited to a maximum of 2GB of memory right now due to a"
- eerror "\t\040\040hardware quirk in the BRIDGE PCI chip that limits BRIDGE DMA"
- eerror "\t\040\040addresses to 31-bits when converted into physical addresses."
- eerror "\t\040\040Patches that attempt to fix the issue are highly welcome."
- echo -e ""
- ewarn "Things that might work, but have problems, or are unknown:"
- ewarn "\t- CONFIG_TRANSPARENT_HUGEPAGE should work now, but there may still be"
- ewarn "\t\040\040intermittent issues. Additionally, CONFIG_HUGETLBFS must also be"
- ewarn "\t\040\040selected for hugepages to work. If use of this feature continues"
- ewarn "\t\040\040to trigger random Instruction Bus Errors (IBEs), then it is best to"
- ewarn "\t\040\040disable the functionality and perform a cold reset of the machine"
- ewarn "\t\040\040after powering it down for at least 30 seconds."
- ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives"
- ewarn "\t\040\040the 16550A chip on the IOC3 directly. It does not use interrupts,"
- ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-"
- ewarn "\t\040\040intensive. The baud rate is limited to no more than 38.4kbps on"
- ewarn "\t\040\040this driver. Patches for getting the Altix IOC3 serial driver to"
- ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome."
- ewarn "\t- UHCI Cards are known to have issues, but should still function."
- ewarn "\t\040\040This issue primarily manifests itself when using pl2303 USB->Serial"
- ewarn "\t\040\040adapters."
- ewarn "\t- MENET boards appear to have the four ethernet ports detected, however"
- ewarn "\t\040\040the six serial ports don't appear to get picked up by the IOC3"
- ewarn "\t\040\040UART driver. The NIC part number is also not read correctly"
- ewarn "\t\040\040from the four Number-In-a-Cans. Additional testing would be"
- ewarn "\t\040\040appreciated and patches welcome."
- ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested"
- ewarn "\t\040\040and are not guaranteed to work. This applies to various digital"
- ewarn "\t\040\040video conversion boards as well."
- echo -e ""
- einfo "Things that DO work:"
- einfo "\t- SMP works again, celebrate!"
- einfo "\t- Impact (MGRAS) console only."
- einfo "\t- VPro (Odyssey) console only (no X driver exists yet)."
- einfo "\t- PCI Card Cages should work for many devices, except certain types like"
- einfo "\t\040\040PCI-to-PCI bridges (USB hubs, USB flash card readers for example)."
- einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse. Please"
- einfo "\t\040\040report any problems with these devices."
- echo -e ""
-}
-
-show_ip32_info() {
- echo -e ""
- einfo "IP32 systems function well, however there are some notes:"
- einfo "\t- A sound driver now exists for IP32. Celebrate!"
- einfo "\t- Framebuffer console is limited to 4MB. Anything greater"
- einfo "\t\040\040specified when building the kernel will likely oops"
- einfo "\t\040\040or panic the kernel."
- einfo "\t- X support is limited to the generic fbdev driver. No X"
- einfo "\t\040\040gbefb driver exists for O2 yet. Feel free to submit"
- einfo "\t\040\040patches!"
- echo -e ""
-
- einfo "To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)"
- einfo "systems, you need to use the ${GOOD}vmlinux.32${NORMAL} make target."
- einfo "Once done, boot the ${GOOD}vmlinux.32${NORMAL} file (NOT vmlinux)."
-}
-
-src_unpack() {
- # Unpack the kernel sources, update to the latest rev (if needed),
- # and apply the latest patch from linux-mips git.
- kernel-2_src_unpack
-
- # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}.
- echo -e ""
- cd "${WORKDIR}"
- unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-
- # Create a new folder called 'patch-symlinks' and create symlinks to
- # all mips-patches in there. If we want to exclude a patch, we'll
- # just delete the symlink instead of the actual patch.
- mkdir patch-symlinks
- cd patch-symlinks
- for x in ../mips-patches-${BASE_KV}/*.patch; do
- ln -s "${x}" "${x##../mips-patches-*/}"
- done
-
- # With symlinks created, setup the variables referencing external
- # machine patches and if a machine USE flag is enabled, then unset
- # its corresponding variable.
- # See 0000_README for the patch numbers and their meanings.
- local p_generic="51*"
- local p_ip27="52*" p_ip28="53*" p_ip30="54*"
- local p_xp="80*"
- use ip27 && unset p_generic p_ip27
- use ip28 && unset p_ip28
- use ip30 && unset p_generic p_ip30
- use experimental && unset p_xp
-
- # Remove symlinks for any patches that we don't want applied. We
- # do this by looping through all the above variables, and deleting
- # matching symlinks that point to the corresponding patches.
- # The remaining symlinks will be applied to the kernel source.
- #
- # $P_EXCLUDE is a new var that can be set in an ebuild to exclude
- # specific patches by wildcarding the patch number.
- local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_xp} ${P_EXCLUDE}"
- for x in $patchlist;
- do rm -f "./${x}"
- done
-
- # Rename the source tree, if needed.
- local old="${WORKDIR}/linux-${F_KV%-*/_/-}"
- local new="${WORKDIR}/linux-$(fkv_to_machtype)"
- if [[ "${old}" != "${new}" ]]; then
- mv "${old}" "${new}" || die
- fi
- S="${new}"
-
- # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
- EXTRAVERSION="${EXTRAVERSION}-gentoo-mips"
- unpack_set_extraversion
-}
-
-src_prepare() {
- # Apply patches to the kernel tree.
- eapply "${WORKDIR}/patch-symlinks"/
-
- eapply_user
-}
diff --git a/sys-kernel/mips-sources/mips-sources-5.4.294.ebuild b/sys-kernel/mips-sources/mips-sources-5.4.294.ebuild
deleted file mode 100644
index 4a066f29d66e..000000000000
--- a/sys-kernel/mips-sources/mips-sources-5.4.294.ebuild
+++ /dev/null
@@ -1,343 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# EAPI Version
-EAPI="8"
-
-#//------------------------------------------------------------------------------
-
-# Version Data
-GENPATCHREV="10" # Tarball revision for patches
-
-# Directories
-MIPS_PATCHES="${WORKDIR}/mips-patches"
-
-# Kernel-2 Vars
-K_SECURITY_UNSUPPORTED="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_BASE_VER="5.3"
-K_FROM_GIT="yes"
-ETYPE="sources"
-
-# Inherit Eclasses
-inherit kernel-2
-detect_version
-
-# Version Data
-F_KV="${PVR}"
-BASE_KV="$(ver_cut 1-2)"
-[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
-
-# Portage Vars
-DESCRIPTION="Kernel.org sources for MIPS-based machines"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:MIPS"
-SRC_URI="${KERNEL_URI}
- https://dev.gentoo.org/~kumba/distfiles/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-S="${WORKDIR}/linux-${OKV}"
-KEYWORDS="-* ~mips"
-IUSE="experimental ip27 ip28 ip30 symlink"
-
-# Specify any patches or patch familes to NOT apply here.
-# Use only the 4-digit number followed by a '*'.
-P_EXCLUDE=""
-
-# Machine Support Control Variables
-DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00)
-DO_IP27="yes" # IP27 support (SGI Origin)
-DO_IP28="no" # IP28 support (SGI Indigo2 Impact R10000)
-DO_IP30="yes" # IP30 support (SGI Octane)
-DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only)
-
-# Machine Stable Version Variables
-SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version
-SV_IP27="" # DO_IP27 == "no", IP27
-SV_IP28="4.19.x" # DO_IP28 == "no", IP28
-SV_IP30="" # DO_IP30 == "no", IP30
-SV_IP32="" # DO_IP32 == "no", IP32
-
-#//------------------------------------------------------------------------------
-
-err_disabled_mach() {
- # Get args
- local m_name="${1}"
- local m_abbr="${2}"
- local m_use="${3}"
- local is_test="${4}"
-
- # Get stable version, if exists
- local stable_ver="SV_${m_abbr}"
- stable_ver="${!stable_ver}"
-
- # See if this machine needs a USE passed or skip dying
- local has_use
- [[ "${m_use}" != "skip" ]] \
- && has_use="USE=\"${m_use}\" "
-
- # Print error && (maybe) die
- echo -e ""
- if [[ "${is_test}" != "test" ]]; then
- eerror "${m_name} Support has been disabled in this ebuild"
- eerror "revision. If you wish to merge ${m_name} sources, then"
- eerror "run ${has_use}emerge =mips-sources-${stable_ver}"
- [[ "${m_use}" != "skip" ]] \
- && die "${m_name} Support disabled."
- else
- ewarn "${m_name} Support has been marked as needing testing in this"
- ewarn "ebuild revision. This usually means that any patches to support"
- ewarn "${m_name} have been forward ported and maybe even compile-tested,"
- ewarn "but not yet booted on real hardware, possibly due to a lack of access"
- ewarn "to such hardware. If you happen to boot this kernel and have no"
- ewarn "problems at all, then please inform the maintainer. Otherwise, if"
- ewarn "experience a bug, an oops/panic, or some other oddity, then please"
- ewarn "file a bug at bugs.gentoo.org, and assign it to the mips team."
- fi
-
- return 0
-}
-
-err_only_one_mach_allowed() {
- echo -e ""
- eerror "A patchset for a specific machine-type has already been selected."
- eerror "No other patches for machines-types are permitted. You will need a"
- eerror "separate copy of the kernel sources for each different machine-type"
- eerror "you want to build a kernel for."
- die "Only one machine-type patchset allowed"
-}
-
-fkv_to_machtype() {
- # For any machines that use external patches, we rename the source
- # tree to match the machine type.
- local fkv="${F_KV%-*}"
- local v="${fkv}"
- for x in {ip27,ip28,ip30}; do
- use ${x} && v="${v}.${x}" && break
- done
-
- echo "${v}"
-}
-
-pkg_postinst() {
- if ! use symlink; then
- return 0
- fi
-
- local kern_sym="/usr/src/linux"
-
- # Check that /usr/src/linux is safe to overwrite
- if [[ -e "${kern_sym}" && ! -L "${kern_sym}" ]]; then
- die "${kern_sym} already exists, but is not a symbolic link"
- fi
-
- # Symlink /usr/src/linux as appropriate
- local kern_ver=$(fkv_to_machtype)
- ln -snf "linux-${kern_ver}" "${kern_sym}"
-}
-
-pkg_setup() {
- local arch_is_selected="no"
- local m_ip m_enable m_name
-
- # Exclusive machine patchsets
- # These are not allowed to be mixed together, thus only one of them may be applied
- # to a tree per merge.
- for x in \
- "ip27 SGI Origin 200/2000" \
- "ip28 SGI Indigo2 Impact R10000" \
- "ip30 SGI Octane"
- do
- set -- ${x} # Set positional params
- m_ip="${1}" # Grab the first param (HW IP for SGI)
- shift # Shift the positions
- m_name="${*}" # Get the rest (Name)
-
- if ! use ${m_ip}; then
- continue
- fi
-
- # Fetch the value indiciating if the machine is enabled or not
- m_enable="DO_${m_ip/ip/IP}"
- m_enable="${!m_enable}"
-
- # Make sure only one of these exclusive machine patches is selected
- [[ "${arch_is_selected}" = "no" ]] \
- && arch_is_selected="yes" \
- || err_only_one_mach_allowed
-
- # Is the machine support disabled or marked as needing testing?
- case "${m_enable}" in
- "test") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test" ;;
- "no") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" ;;
- esac
-
- # Show relevant information about the machine
- show_${m_ip}_info
- done
-
- # All other systems that don't have a USE flag go here
- # These systems have base-line support included in linux-mips git, so
- # instead of failing, if disabled, we simply warn the user
- if [[ "${arch_is_selected}" = "no" ]]; then
- [[ "${DO_IP22}" = "no" ]] \
- && err_disabled_mach "SGI Indy/Indigo2 R4x00" "IP22" "skip" \
- || show_ip22_info
- [[ "${DO_IP32}" = "no" ]] \
- && err_disabled_mach "SGI O2" "IP32" "skip" \
- || show_ip32_info
-
- fi
-}
-
-show_ip22_info() {
- echo -e ""
- einfo "IP22 systems with an R5000 processor should work with this release."
- einfo "The R4x00 series of processors tend to be rather flaky, especially the"
- einfo "R4600. If you have to run an R4x00 processor, then try to use an R4400."
- einfo ""
- einfo "Some Notes:"
- einfo "\t- The only supported graphics card right is Newport (XL)."
- einfo "\t- There is no driver for Extreme (XZ)."
- echo -e ""
-}
-
-show_ip27_info() {
- echo -e ""
- ewarn "IP27 Origin 2k/Onyx2 systems may be prone to sudden hard lockups."
- ewarn "The exact trigger is unknown at this time."
- echo -e ""
-}
-
-show_ip28_info() {
- echo -e ""
- einfo "Support for the Indigo2 Impact R10000 is now in the mainline kernel. However,"
- einfo "due to the R10000 Speculative Execution issue that exists with this machine,"
- einfo "nothing is guaranteed to work correctly. Consider enabling ${HILITE}CONFIG_KALLSYMS${NORMAL}"
- einfo "in your kernel so that if the machine Oopes, you'll be able to provide valuable"
- einfo "feedback that can be used to trace down the crash."
- echo -e ""
-}
-
-show_ip30_info() {
- echo -e ""
- eerror "Things that DON'T work:"
- eerror "\t- Do not use CONFIG_SLUB, otherwise, you'll get errors when booting"
- eerror "\t\040\040regarding duplicate /sys/kernel/slab/* entries in sysfs."
- eerror "\t- Impact (MGRAS) Xorg driver no longer functions due to severe bitrot."
- eerror "\t- Octane is limited to a maximum of 2GB of memory right now due to a"
- eerror "\t\040\040hardware quirk in the BRIDGE PCI chip that limits BRIDGE DMA"
- eerror "\t\040\040addresses to 31-bits when converted into physical addresses."
- echo -e ""
- ewarn "Things that might work, but have problems, or are unknown:"
- ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives"
- ewarn "\t\040\040the 16550A chip on the IOC3 directly. It does not use interrupts,"
- ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-"
- ewarn "\t\040\040intensive. The baud rate is limited to no more than 38.4kbps on"
- ewarn "\t\040\040this driver. Patches for getting the Altix IOC3 serial driver to"
- ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome."
- ewarn "\t- MENET boards appear to have the four ethernet ports detected, however"
- ewarn "\t\040\040the six serial ports don't appear to get picked up by the IOC3"
- ewarn "\t\040\040UART driver. The NIC part number is also not read correctly"
- ewarn "\t\040\040from the four Number-In-a-Cans."
- ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested"
- ewarn "\t\040\040and are not guaranteed to work."
- ewarn "\t- Upon rebooting, Octane may not return to the PROM. Holding down the"
- ewarn "\t\040\040reset button for up to ten seconds, releasing, then pressing it"
- ewarn "\t\040\040again for one or two seconds may trigger the system to return"
- ewarn "\t\040\040to the PROM. Please wait at least five seconds after each attempt"
- ewarn "\t\040\040to see if the machine responds. As a last resort, unplugging the"
- ewarn "\t\040\040power cord for 30 seconds will also work, but be aware the power"
- ewarn "\t\040\040supplies on these systems will not appreciate this due to their"
- ewarn "\t\040\040relative old age."
- echo -e ""
- einfo "Things that DO work:"
- einfo "\t- SMP support."
- einfo "\t- Impact (MGRAS), console only."
- einfo "\t- VPro (Odyssey), console only."
- einfo "\t- PCI card cages (showbox) should work for many devices, except certain"
- einfo "\t\040\040types such as PCI-to-PCI bridges (USB hubs, USB flash card readers)."
- einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse. Please"
- einfo "\t\040\040report any problems with these devices."
- einfo "\t- SGI AceNIC/Tigon II gigabit cards will work in the PCI card cage/shoebox."
- echo -e ""
-}
-
-show_ip32_info() {
- echo -e ""
- einfo "IP32 systems function well, however there are some notes:"
- einfo "\t- A sound driver now exists for IP32."
- einfo "\t- Framebuffer console is limited to 4MB. Anything greater"
- einfo "\t\040\040specified when building the kernel will oops or"
- einfo "\t\040\040panic the kernel."
- echo -e ""
- eerror "IP32 Systems may be unstable and prone to lockups under a 5.4.x LTS kernel."
- eerror "The cause is unknown at this time."
- echo -e ""
-
- einfo "To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)"
- einfo "systems, you need to use the ${GOOD}vmlinux.32${NORMAL} make target."
- einfo "Once done, boot the ${GOOD}vmlinux.32${NORMAL} file (NOT vmlinux)."
-}
-
-src_unpack() {
- # Unpack the kernel sources, update to the latest rev (if needed),
- # and apply the latest patch from linux-mips git.
- kernel-2_src_unpack
-
- # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}.
- echo -e ""
- cd "${WORKDIR}"
- unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-
- # Create a new folder called 'patch-symlinks' and create symlinks to
- # all mips-patches in there. If we want to exclude a patch, we'll
- # just delete the symlink instead of the actual patch.
- mkdir patch-symlinks
- cd patch-symlinks
- for x in ../mips-patches-${BASE_KV}/*.patch; do
- ln -s "${x}" "${x##../mips-patches-*/}"
- done
-
- # With symlinks created, setup the variables referencing external
- # machine patches and if a machine USE flag is enabled, then unset
- # its corresponding variable.
- # See 0000_README for the patch numbers and their meanings.
- local p_generic="51*"
- local p_ip27="52*" p_ip28="53*" p_ip30="54*"
- local p_xp="80*"
- use ip27 && unset p_generic p_ip27
- use ip28 && unset p_ip28
- use ip30 && unset p_generic p_ip30
- use experimental && unset p_xp
-
- # Remove symlinks for any patches that we don't want applied. We
- # do this by looping through all the above variables, and deleting
- # matching symlinks that point to the corresponding patches.
- # The remaining symlinks will be applied to the kernel source.
- #
- # $P_EXCLUDE is a new var that can be set in an ebuild to exclude
- # specific patches by wildcarding the patch number.
- local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_xp} ${P_EXCLUDE}"
- for x in $patchlist;
- do rm -f "./${x}"
- done
-
- # Rename the source tree, if needed.
- local old="${WORKDIR}/linux-${F_KV%-*/_/-}"
- local new="${WORKDIR}/linux-$(fkv_to_machtype)"
- if [[ "${old}" != "${new}" ]]; then
- mv "${old}" "${new}" || die
- fi
- S="${new}"
-
- # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
- EXTRAVERSION="${EXTRAVERSION}-gentoo-mips"
- unpack_set_extraversion
-}
-
-src_prepare() {
- # Apply patches to the kernel tree.
- eapply "${WORKDIR}/patch-symlinks"/
-
- eapply_user
-}
diff --git a/sys-kernel/modprobed-db/Manifest b/sys-kernel/modprobed-db/Manifest
deleted file mode 100644
index 6d4c2fe82ed5..000000000000
--- a/sys-kernel/modprobed-db/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST modprobed-db-2.47.tar.gz 7357 BLAKE2B a837de00e4f5ab8fee0bf4639345e37c41d17b9c1dc6b930963077a6d563f1fd010095616afe1b90634ee7668f893479fe50fb5ab5536187c53232ced473763f SHA512 f25b96ed1d07d7e53a8fdc6c078cecb062028c906f5d3a0798e58b8e1182f23a89ff8621ecc702b524baffe5231687a8b5e95ee7d51257942da940bb04519eb4
-DIST modprobed-db-2.48.tar.gz 7350 BLAKE2B 348b70f4fe34f460f6efac0b423ff83174771f73edc23133f393cd4c26c8f9eae0d5473c140f1b805e9cd758e4db458d34aa564beb67696f2b38fe2b81695296 SHA512 41af981c808db8c7003030a4f0388147896c1ce21678924b001fe76ba83a104433290fc058f4f9671e86d3757275be299d055e6ac4dcf7d726ccecc4d8d7431a
diff --git a/sys-kernel/modprobed-db/metadata.xml b/sys-kernel/modprobed-db/metadata.xml
deleted file mode 100644
index 5d809f034a8a..000000000000
--- a/sys-kernel/modprobed-db/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>eschwartz@gentoo.org</email>
- <name>Eli Schwartz</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">graysky2/modprobed-db</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/modprobed-db/modprobed-db-2.47.ebuild b/sys-kernel/modprobed-db/modprobed-db-2.47.ebuild
deleted file mode 100644
index 84e7d49dc686..000000000000
--- a/sys-kernel/modprobed-db/modprobed-db-2.47.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="Keeps track of EVERY kernel module ever used - useful for make localmodconfig"
-HOMEPAGE="https://github.com/graysky2/modprobed-db"
-SRC_URI="https://github.com/graysky2/modprobed-db/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
-
-src_install() {
- emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INITDIR_SYSTEMD="$(systemd_get_userunitdir)"
-}
diff --git a/sys-kernel/modprobed-db/modprobed-db-2.48.ebuild b/sys-kernel/modprobed-db/modprobed-db-2.48.ebuild
deleted file mode 100644
index 2081d5b4c67f..000000000000
--- a/sys-kernel/modprobed-db/modprobed-db-2.48.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="Keeps track of EVERY kernel module ever used - useful for make localmodconfig"
-HOMEPAGE="https://github.com/graysky2/modprobed-db"
-SRC_URI="https://github.com/graysky2/modprobed-db/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
-
-src_install() {
- emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INITDIR_SYSTEMD="$(systemd_get_userunitdir)"
-}
diff --git a/sys-kernel/opensuse-sources/Manifest b/sys-kernel/opensuse-sources/Manifest
deleted file mode 100644
index e76400c7494a..000000000000
--- a/sys-kernel/opensuse-sources/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST linux_5.19.8.tar.gz 212125522 BLAKE2B 6e152f907617e5a2aa5d2ff6a3a9d2a86e90aa8e7a41e1704068968c850282fcb97944c70be1a56c545395baad8573db45ed9b9af11ec1787cb720fa9ee26fde SHA512 f084af5a637f70599612d1831e12ba4bc794748b16033e7268f15d8f97496d633f8127b931df4c515db9e1e17fb23d15962e3b61da56fa36e06e8f8d6e4593f6
diff --git a/sys-kernel/opensuse-sources/files/config.tar.bz2 b/sys-kernel/opensuse-sources/files/config.tar.bz2
deleted file mode 100644
index 4e30b128e974..000000000000
--- a/sys-kernel/opensuse-sources/files/config.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/sys-kernel/opensuse-sources/files/shiftfs.patch b/sys-kernel/opensuse-sources/files/shiftfs.patch
deleted file mode 100644
index e68c65bebe9d..000000000000
--- a/sys-kernel/opensuse-sources/files/shiftfs.patch
+++ /dev/null
@@ -1,2244 +0,0 @@
-diff -ruN linux-opensuse-sources-5.19.8/include/uapi/linux/magic.h kernel-5.19.8-shiftfs/include/uapi/linux/magic.h
---- linux-opensuse-sources-5.19.8/include/uapi/linux/magic.h 2022-09-08 09:24:08.000000000 +0000
-+++ kernel-5.19.8-shiftfs/include/uapi/linux/magic.h 2022-09-21 07:52:45.129856288 +0000
-@@ -105,5 +105,6 @@
- #define Z3FOLD_MAGIC 0x33
- #define PPC_CMM_MAGIC 0xc7571590
- #define SECRETMEM_MAGIC 0x5345434d /* "SECM" */
-+#define SHIFTFS_MAGIC 0x6a656a62
-
- #endif /* __LINUX_MAGIC_H__ */
-diff -ruN linux-opensuse-sources-5.19.8/fs/Kconfig kernel-5.19.8-shiftfs/fs/Kconfig
---- linux-opensuse-sources-5.19.8/fs/Kconfig 2022-09-08 09:24:08.000000000 +0000
-+++ kernel-5.19.8-shiftfs/fs/Kconfig 2022-09-19 22:03:21.833901513 +0000
-@@ -128,6 +128,24 @@
- source "fs/fuse/Kconfig"
- source "fs/overlayfs/Kconfig"
-
-+config SHIFT_FS
-+ tristate "UID/GID shifting overlay filesystem for containers"
-+ help
-+ This filesystem can overlay any mounted filesystem and shift
-+ the uid/gid the files appear at. The idea is that
-+ unprivileged containers can use this to mount root volumes
-+ using this technique.
-+
-+config SHIFT_FS_POSIX_ACL
-+ bool "shiftfs POSIX Access Control Lists"
-+ depends on SHIFT_FS
-+ select FS_POSIX_ACL
-+ help
-+ POSIX Access Control Lists (ACLs) support permissions for users and
-+ groups beyond the owner/group/world scheme.
-+
-+ If you don't know what Access Control Lists are, say N.
-+
- menu "Caches"
-
- source "fs/netfs/Kconfig"
-diff -ruN linux-opensuse-sources-5.19.8/fs/Makefile kernel-5.19.8-shiftfs/fs/Makefile
---- linux-opensuse-sources-5.19.8/fs/Makefile 2022-09-08 09:24:08.000000000 +0000
-+++ kernel-5.19.8-shiftfs/fs/Makefile 2022-09-19 22:02:05.873901541 +0000
-@@ -138,3 +138,4 @@
- obj-$(CONFIG_EROFS_FS) += erofs/
- obj-$(CONFIG_VBOXSF_FS) += vboxsf/
- obj-$(CONFIG_ZONEFS_FS) += zonefs/
-+obj-$(CONFIG_SHIFT_FS) += shiftfs.o
-diff -ruN linux-opensuse-sources-5.19.8/fs/shiftfs.c kernel-5.19.8-shiftfs/fs/shiftfs.c
---- linux-opensuse-sources-5.19.8/fs/shiftfs.c 1970-01-01 00:00:00.000000000 +0000
-+++ kernel-5.19.8-shiftfs/fs/shiftfs.c 2022-09-19 21:58:50.000000000 +0000
-@@ -0,0 +1,2194 @@
-+#include <linux/btrfs.h>
-+#include <linux/capability.h>
-+#include <linux/cred.h>
-+#include <linux/mount.h>
-+#include <linux/fdtable.h>
-+#include <linux/file.h>
-+#include <linux/fs.h>
-+#include <linux/namei.h>
-+#include <linux/module.h>
-+#include <linux/kernel.h>
-+#include <linux/magic.h>
-+#include <linux/parser.h>
-+#include <linux/security.h>
-+#include <linux/seq_file.h>
-+#include <linux/statfs.h>
-+#include <linux/slab.h>
-+#include <linux/user_namespace.h>
-+#include <linux/uidgid.h>
-+#include <linux/xattr.h>
-+#include <linux/posix_acl.h>
-+#include <linux/posix_acl_xattr.h>
-+#include <linux/uio.h>
-+#include <linux/fiemap.h>
-+#include <linux/pagemap.h>
-+
-+struct shiftfs_super_info {
-+ struct vfsmount *mnt;
-+ struct user_namespace *userns;
-+ /* creds of process who created the super block */
-+ const struct cred *creator_cred;
-+ bool mark;
-+ unsigned int passthrough;
-+ unsigned int passthrough_mark;
-+};
-+
-+static void shiftfs_fill_inode(struct inode *inode, unsigned long ino,
-+ umode_t mode, dev_t dev, struct dentry *dentry);
-+
-+#define SHIFTFS_PASSTHROUGH_NONE 0
-+#define SHIFTFS_PASSTHROUGH_STAT 1
-+#define SHIFTFS_PASSTHROUGH_IOCTL 2
-+#define SHIFTFS_PASSTHROUGH_ALL \
-+ (SHIFTFS_PASSTHROUGH_STAT | SHIFTFS_PASSTHROUGH_IOCTL)
-+
-+static inline bool shiftfs_passthrough_ioctls(struct shiftfs_super_info *info)
-+{
-+ if (!(info->passthrough & SHIFTFS_PASSTHROUGH_IOCTL))
-+ return false;
-+
-+ return true;
-+}
-+
-+static inline bool shiftfs_passthrough_statfs(struct shiftfs_super_info *info)
-+{
-+ if (!(info->passthrough & SHIFTFS_PASSTHROUGH_STAT))
-+ return false;
-+
-+ return true;
-+}
-+
-+enum {
-+ OPT_MARK,
-+ OPT_PASSTHROUGH,
-+ OPT_LAST,
-+};
-+
-+/* global filesystem options */
-+static const match_table_t tokens = {
-+ { OPT_MARK, "mark" },
-+ { OPT_PASSTHROUGH, "passthrough=%u" },
-+ { OPT_LAST, NULL }
-+};
-+
-+static const struct cred *shiftfs_override_creds(const struct super_block *sb)
-+{
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+
-+ return override_creds(sbinfo->creator_cred);
-+}
-+
-+static inline void shiftfs_revert_object_creds(const struct cred *oldcred,
-+ struct cred *newcred)
-+{
-+ revert_creds(oldcred);
-+ put_cred(newcred);
-+}
-+
-+static kuid_t shift_kuid(struct user_namespace *from, struct user_namespace *to,
-+ kuid_t kuid)
-+{
-+ uid_t uid = from_kuid(from, kuid);
-+ return make_kuid(to, uid);
-+}
-+
-+static kgid_t shift_kgid(struct user_namespace *from, struct user_namespace *to,
-+ kgid_t kgid)
-+{
-+ gid_t gid = from_kgid(from, kgid);
-+ return make_kgid(to, gid);
-+}
-+
-+static int shiftfs_override_object_creds(const struct super_block *sb,
-+ const struct cred **oldcred,
-+ struct cred **newcred,
-+ struct dentry *dentry, umode_t mode,
-+ bool hardlink)
-+{
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+ kuid_t fsuid = current_fsuid();
-+ kgid_t fsgid = current_fsgid();
-+
-+ *oldcred = shiftfs_override_creds(sb);
-+
-+ *newcred = prepare_creds();
-+ if (!*newcred) {
-+ revert_creds(*oldcred);
-+ return -ENOMEM;
-+ }
-+
-+ (*newcred)->fsuid = shift_kuid(sb->s_user_ns, sbinfo->userns, fsuid);
-+ (*newcred)->fsgid = shift_kgid(sb->s_user_ns, sbinfo->userns, fsgid);
-+
-+ if (!hardlink) {
-+ int err = security_dentry_create_files_as(dentry, mode,
-+ &dentry->d_name,
-+ *oldcred, *newcred);
-+ if (err) {
-+ shiftfs_revert_object_creds(*oldcred, *newcred);
-+ return err;
-+ }
-+ }
-+
-+ put_cred(override_creds(*newcred));
-+ return 0;
-+}
-+
-+static void shiftfs_copyattr(struct inode *from, struct inode *to)
-+{
-+ struct user_namespace *from_ns = from->i_sb->s_user_ns;
-+ struct user_namespace *to_ns = to->i_sb->s_user_ns;
-+
-+ to->i_uid = shift_kuid(from_ns, to_ns, from->i_uid);
-+ to->i_gid = shift_kgid(from_ns, to_ns, from->i_gid);
-+ to->i_mode = from->i_mode;
-+ to->i_atime = from->i_atime;
-+ to->i_mtime = from->i_mtime;
-+ to->i_ctime = from->i_ctime;
-+ i_size_write(to, i_size_read(from));
-+}
-+
-+static void shiftfs_copyflags(struct inode *from, struct inode *to)
-+{
-+ unsigned int mask = S_SYNC | S_IMMUTABLE | S_APPEND | S_NOATIME;
-+
-+ inode_set_flags(to, from->i_flags & mask, mask);
-+}
-+
-+static void shiftfs_file_accessed(struct file *file)
-+{
-+ struct inode *upperi, *loweri;
-+
-+ if (file->f_flags & O_NOATIME)
-+ return;
-+
-+ upperi = file_inode(file);
-+ loweri = upperi->i_private;
-+
-+ if (!loweri)
-+ return;
-+
-+ upperi->i_mtime = loweri->i_mtime;
-+ upperi->i_ctime = loweri->i_ctime;
-+
-+ touch_atime(&file->f_path);
-+}
-+
-+static int shiftfs_parse_mount_options(struct shiftfs_super_info *sbinfo,
-+ char *options)
-+{
-+ char *p;
-+ substring_t args[MAX_OPT_ARGS];
-+
-+ sbinfo->mark = false;
-+ sbinfo->passthrough = 0;
-+
-+ while ((p = strsep(&options, ",")) != NULL) {
-+ int err, intarg, token;
-+
-+ if (!*p)
-+ continue;
-+
-+ token = match_token(p, tokens, args);
-+ switch (token) {
-+ case OPT_MARK:
-+ sbinfo->mark = true;
-+ break;
-+ case OPT_PASSTHROUGH:
-+ err = match_int(&args[0], &intarg);
-+ if (err)
-+ return err;
-+
-+ if (intarg & ~SHIFTFS_PASSTHROUGH_ALL)
-+ return -EINVAL;
-+
-+ sbinfo->passthrough = intarg;
-+ break;
-+ default:
-+ return -EINVAL;
-+ }
-+ }
-+
-+ return 0;
-+}
-+
-+static void shiftfs_d_release(struct dentry *dentry)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+
-+ if (lowerd)
-+ dput(lowerd);
-+}
-+
-+static struct dentry *shiftfs_d_real(struct dentry *dentry,
-+ const struct inode *inode)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+
-+ if (inode && d_inode(dentry) == inode)
-+ return dentry;
-+
-+ lowerd = d_real(lowerd, inode);
-+ if (lowerd && (!inode || inode == d_inode(lowerd)))
-+ return lowerd;
-+
-+ WARN(1, "shiftfs_d_real(%pd4, %s:%lu): real dentry not found\n", dentry,
-+ inode ? inode->i_sb->s_id : "NULL", inode ? inode->i_ino : 0);
-+ return dentry;
-+}
-+
-+static int shiftfs_d_weak_revalidate(struct dentry *dentry, unsigned int flags)
-+{
-+ int err = 1;
-+ struct dentry *lowerd = dentry->d_fsdata;
-+
-+ if (d_is_negative(lowerd) != d_is_negative(dentry))
-+ return 0;
-+
-+ if ((lowerd->d_flags & DCACHE_OP_WEAK_REVALIDATE))
-+ err = lowerd->d_op->d_weak_revalidate(lowerd, flags);
-+
-+ if (d_really_is_positive(dentry)) {
-+ struct inode *inode = d_inode(dentry);
-+ struct inode *loweri = d_inode(lowerd);
-+
-+ shiftfs_copyattr(loweri, inode);
-+ }
-+
-+ return err;
-+}
-+
-+static int shiftfs_d_revalidate(struct dentry *dentry, unsigned int flags)
-+{
-+ int err = 1;
-+ struct dentry *lowerd = dentry->d_fsdata;
-+
-+ if (d_unhashed(lowerd) ||
-+ ((d_is_negative(lowerd) != d_is_negative(dentry))))
-+ return 0;
-+
-+ if (flags & LOOKUP_RCU)
-+ return -ECHILD;
-+
-+ if ((lowerd->d_flags & DCACHE_OP_REVALIDATE))
-+ err = lowerd->d_op->d_revalidate(lowerd, flags);
-+
-+ if (d_really_is_positive(dentry)) {
-+ struct inode *inode = d_inode(dentry);
-+ struct inode *loweri = d_inode(lowerd);
-+
-+ shiftfs_copyattr(loweri, inode);
-+ }
-+
-+ return err;
-+}
-+
-+static const struct dentry_operations shiftfs_dentry_ops = {
-+ .d_release = shiftfs_d_release,
-+ .d_real = shiftfs_d_real,
-+ .d_revalidate = shiftfs_d_revalidate,
-+ .d_weak_revalidate = shiftfs_d_weak_revalidate,
-+};
-+
-+static const char *shiftfs_get_link(struct dentry *dentry, struct inode *inode,
-+ struct delayed_call *done)
-+{
-+ const char *p;
-+ const struct cred *oldcred;
-+ struct dentry *lowerd;
-+
-+ /* RCU lookup not supported */
-+ if (!dentry)
-+ return ERR_PTR(-ECHILD);
-+
-+ lowerd = dentry->d_fsdata;
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ p = vfs_get_link(lowerd, done);
-+ revert_creds(oldcred);
-+
-+ return p;
-+}
-+
-+static int shiftfs_setxattr(struct dentry *dentry, struct inode *inode,
-+ const char *name, const void *value,
-+ size_t size, int flags)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ int err;
-+ const struct cred *oldcred;
-+
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ err = vfs_setxattr(&init_user_ns, lowerd, name, value, size, flags);
-+ revert_creds(oldcred);
-+
-+ shiftfs_copyattr(lowerd->d_inode, inode);
-+
-+ return err;
-+}
-+
-+static int shiftfs_xattr_get(const struct xattr_handler *handler,
-+ struct dentry *dentry, struct inode *inode,
-+ const char *name, void *value, size_t size)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ int err;
-+ const struct cred *oldcred;
-+
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ err = vfs_getxattr(&init_user_ns, lowerd, name, value, size);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+static ssize_t shiftfs_listxattr(struct dentry *dentry, char *list,
-+ size_t size)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ int err;
-+ const struct cred *oldcred;
-+
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ err = vfs_listxattr(lowerd, list, size);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+static int shiftfs_removexattr(struct user_namespace *ns,
-+ struct dentry *dentry, const char *name)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ int err;
-+ const struct cred *oldcred;
-+
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ err = vfs_removexattr(&init_user_ns, lowerd, name);
-+ revert_creds(oldcred);
-+
-+ /* update c/mtime */
-+ shiftfs_copyattr(lowerd->d_inode, d_inode(dentry));
-+
-+ return err;
-+}
-+
-+static int shiftfs_xattr_set(const struct xattr_handler *handler,
-+ struct user_namespace *ns,
-+ struct dentry *dentry, struct inode *inode,
-+ const char *name, const void *value, size_t size,
-+ int flags)
-+{
-+ if (!value)
-+ return shiftfs_removexattr(&init_user_ns, dentry, name);
-+ return shiftfs_setxattr(dentry, inode, name, value, size, flags);
-+}
-+
-+static int shiftfs_inode_test(struct inode *inode, void *data)
-+{
-+ return inode->i_private == data;
-+}
-+
-+static int shiftfs_inode_set(struct inode *inode, void *data)
-+{
-+ inode->i_private = data;
-+ return 0;
-+}
-+
-+static int shiftfs_create_object(struct inode *diri, struct dentry *dentry,
-+ umode_t mode, const char *symlink,
-+ struct dentry *hardlink, bool excl)
-+{
-+ int err;
-+ const struct cred *oldcred;
-+ struct cred *newcred;
-+ void *loweri_iop_ptr = NULL;
-+ umode_t modei = mode;
-+ struct super_block *dir_sb = diri->i_sb;
-+ struct dentry *lowerd_new = dentry->d_fsdata;
-+ struct inode *inode = NULL, *loweri_dir = diri->i_private;
-+ const struct inode_operations *loweri_dir_iop = loweri_dir->i_op;
-+ struct dentry *lowerd_link = NULL;
-+
-+ if (hardlink) {
-+ loweri_iop_ptr = loweri_dir_iop->link;
-+ } else {
-+ switch (mode & S_IFMT) {
-+ case S_IFDIR:
-+ loweri_iop_ptr = loweri_dir_iop->mkdir;
-+ break;
-+ case S_IFREG:
-+ loweri_iop_ptr = loweri_dir_iop->create;
-+ break;
-+ case S_IFLNK:
-+ loweri_iop_ptr = loweri_dir_iop->symlink;
-+ break;
-+ case S_IFSOCK:
-+ /* fall through */
-+ case S_IFIFO:
-+ loweri_iop_ptr = loweri_dir_iop->mknod;
-+ break;
-+ }
-+ }
-+ if (!loweri_iop_ptr) {
-+ err = -EINVAL;
-+ goto out_iput;
-+ }
-+
-+ inode_lock_nested(loweri_dir, I_MUTEX_PARENT);
-+
-+ if (!hardlink) {
-+ inode = new_inode(dir_sb);
-+ if (!inode) {
-+ err = -ENOMEM;
-+ goto out_iput;
-+ }
-+
-+ /*
-+ * new_inode() will have added the new inode to the super
-+ * block's list of inodes. Further below we will call
-+ * inode_insert5() Which would perform the same operation again
-+ * thereby corrupting the list. To avoid this raise I_CREATING
-+ * in i_state which will cause inode_insert5() to skip this
-+ * step. I_CREATING will be cleared by d_instantiate_new()
-+ * below.
-+ */
-+ spin_lock(&inode->i_lock);
-+ inode->i_state |= I_CREATING;
-+ spin_unlock(&inode->i_lock);
-+
-+ inode_init_owner(&init_user_ns, inode, diri, mode);
-+ modei = inode->i_mode;
-+ }
-+
-+ err = shiftfs_override_object_creds(dentry->d_sb, &oldcred, &newcred,
-+ dentry, modei, hardlink != NULL);
-+ if (err)
-+ goto out_iput;
-+
-+ if (hardlink) {
-+ lowerd_link = hardlink->d_fsdata;
-+ err = vfs_link(lowerd_link, &init_user_ns, loweri_dir, lowerd_new, NULL);
-+ } else {
-+ switch (modei & S_IFMT) {
-+ case S_IFDIR:
-+ err = vfs_mkdir(&init_user_ns, loweri_dir, lowerd_new, modei);
-+ break;
-+ case S_IFREG:
-+ err = vfs_create(&init_user_ns, loweri_dir, lowerd_new, modei, excl);
-+ break;
-+ case S_IFLNK:
-+ err = vfs_symlink(&init_user_ns, loweri_dir, lowerd_new, symlink);
-+ break;
-+ case S_IFSOCK:
-+ /* fall through */
-+ case S_IFIFO:
-+ err = vfs_mknod(&init_user_ns, loweri_dir, lowerd_new, modei, 0);
-+ break;
-+ default:
-+ err = -EINVAL;
-+ break;
-+ }
-+ }
-+
-+ shiftfs_revert_object_creds(oldcred, newcred);
-+
-+ if (!err && WARN_ON(!lowerd_new->d_inode))
-+ err = -EIO;
-+ if (err)
-+ goto out_iput;
-+
-+ if (hardlink) {
-+ inode = d_inode(hardlink);
-+ ihold(inode);
-+
-+ /* copy up times from lower inode */
-+ shiftfs_copyattr(d_inode(lowerd_link), inode);
-+ set_nlink(d_inode(hardlink), d_inode(lowerd_link)->i_nlink);
-+ d_instantiate(dentry, inode);
-+ } else {
-+ struct inode *inode_tmp;
-+ struct inode *loweri_new = d_inode(lowerd_new);
-+
-+ inode_tmp = inode_insert5(inode, (unsigned long)loweri_new,
-+ shiftfs_inode_test, shiftfs_inode_set,
-+ loweri_new);
-+ if (unlikely(inode_tmp != inode)) {
-+ pr_err_ratelimited("shiftfs: newly created inode found in cache\n");
-+ iput(inode_tmp);
-+ err = -EINVAL;
-+ goto out_iput;
-+ }
-+
-+ ihold(loweri_new);
-+ shiftfs_fill_inode(inode, loweri_new->i_ino, loweri_new->i_mode,
-+ 0, lowerd_new);
-+ d_instantiate_new(dentry, inode);
-+ }
-+
-+ shiftfs_copyattr(loweri_dir, diri);
-+ if (loweri_iop_ptr == loweri_dir_iop->mkdir)
-+ set_nlink(diri, loweri_dir->i_nlink);
-+
-+ inode = NULL;
-+
-+out_iput:
-+ iput(inode);
-+ inode_unlock(loweri_dir);
-+
-+ return err;
-+}
-+
-+static int shiftfs_create(struct user_namespace *ns,
-+ struct inode *dir, struct dentry *dentry,
-+ umode_t mode, bool excl)
-+{
-+ mode |= S_IFREG;
-+
-+ return shiftfs_create_object(dir, dentry, mode, NULL, NULL, excl);
-+}
-+
-+static int shiftfs_mkdir(struct user_namespace *ns, struct inode *dir, struct dentry *dentry,
-+ umode_t mode)
-+{
-+ mode |= S_IFDIR;
-+
-+ return shiftfs_create_object(dir, dentry, mode, NULL, NULL, false);
-+}
-+
-+static int shiftfs_link(struct dentry *hardlink, struct inode *dir,
-+ struct dentry *dentry)
-+{
-+ return shiftfs_create_object(dir, dentry, 0, NULL, hardlink, false);
-+}
-+
-+static int shiftfs_mknod(struct user_namespace *ns,
-+ struct inode *dir, struct dentry *dentry, umode_t mode,
-+ dev_t rdev)
-+{
-+ if (!S_ISFIFO(mode) && !S_ISSOCK(mode))
-+ return -EPERM;
-+
-+ return shiftfs_create_object(dir, dentry, mode, NULL, NULL, false);
-+}
-+
-+static int shiftfs_symlink(struct user_namespace *ns, struct inode *dir, struct dentry *dentry,
-+ const char *symlink)
-+{
-+ return shiftfs_create_object(dir, dentry, S_IFLNK, symlink, NULL, false);
-+}
-+
-+static int shiftfs_rm(struct inode *dir, struct dentry *dentry, bool rmdir)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ struct inode *loweri = dir->i_private;
-+ struct inode *inode = d_inode(dentry);
-+ int err;
-+ const struct cred *oldcred;
-+
-+ dget(lowerd);
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ inode_lock_nested(loweri, I_MUTEX_PARENT);
-+ if (rmdir)
-+ err = vfs_rmdir(&init_user_ns, loweri, lowerd);
-+ else
-+ err = vfs_unlink(&init_user_ns, loweri, lowerd, NULL);
-+ revert_creds(oldcred);
-+
-+ if (!err) {
-+ d_drop(dentry);
-+
-+ if (rmdir)
-+ clear_nlink(inode);
-+ else
-+ drop_nlink(inode);
-+ }
-+ inode_unlock(loweri);
-+
-+ shiftfs_copyattr(loweri, dir);
-+ dput(lowerd);
-+
-+ return err;
-+}
-+
-+static int shiftfs_unlink(struct inode *dir, struct dentry *dentry)
-+{
-+ return shiftfs_rm(dir, dentry, false);
-+}
-+
-+static int shiftfs_rmdir(struct inode *dir, struct dentry *dentry)
-+{
-+ return shiftfs_rm(dir, dentry, true);
-+}
-+
-+static int shiftfs_rename(struct user_namespace *ns,
-+ struct inode *olddir, struct dentry *old,
-+ struct inode *newdir, struct dentry *new,
-+ unsigned int flags)
-+{
-+ struct dentry *lowerd_dir_old = old->d_parent->d_fsdata,
-+ *lowerd_dir_new = new->d_parent->d_fsdata,
-+ *lowerd_old = old->d_fsdata, *lowerd_new = new->d_fsdata,
-+ *trapd;
-+ struct inode *loweri_dir_old = lowerd_dir_old->d_inode,
-+ *loweri_dir_new = lowerd_dir_new->d_inode;
-+ struct renamedata rd = {
-+ .old_mnt_userns = ns,
-+ .old_dir = loweri_dir_old,
-+ .old_dentry = lowerd_old,
-+ .new_mnt_userns = ns,
-+ .new_dir = loweri_dir_new,
-+ .new_dentry = lowerd_new,
-+ };
-+ int err = -EINVAL;
-+ const struct cred *oldcred;
-+
-+ trapd = lock_rename(lowerd_dir_new, lowerd_dir_old);
-+
-+ if (trapd == lowerd_old || trapd == lowerd_new)
-+ goto out_unlock;
-+
-+ oldcred = shiftfs_override_creds(old->d_sb);
-+ err = vfs_rename(&rd);
-+ revert_creds(oldcred);
-+
-+ shiftfs_copyattr(loweri_dir_old, olddir);
-+ shiftfs_copyattr(loweri_dir_new, newdir);
-+
-+out_unlock:
-+ unlock_rename(lowerd_dir_new, lowerd_dir_old);
-+
-+ return err;
-+}
-+
-+static struct dentry *shiftfs_lookup(struct inode *dir, struct dentry *dentry,
-+ unsigned int flags)
-+{
-+ struct dentry *new;
-+ struct inode *newi;
-+ const struct cred *oldcred;
-+ struct dentry *lowerd = dentry->d_parent->d_fsdata;
-+ struct inode *inode = NULL, *loweri = lowerd->d_inode;
-+
-+ inode_lock(loweri);
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ new = lookup_one_len(dentry->d_name.name, lowerd, dentry->d_name.len);
-+ revert_creds(oldcred);
-+ inode_unlock(loweri);
-+
-+ if (IS_ERR(new))
-+ return new;
-+
-+ dentry->d_fsdata = new;
-+
-+ newi = new->d_inode;
-+ if (!newi)
-+ goto out;
-+
-+ inode = iget5_locked(dentry->d_sb, (unsigned long)newi,
-+ shiftfs_inode_test, shiftfs_inode_set, newi);
-+ if (!inode) {
-+ dput(new);
-+ return ERR_PTR(-ENOMEM);
-+ }
-+ if (inode->i_state & I_NEW) {
-+ /*
-+ * inode->i_private set by shiftfs_inode_set(), but we still
-+ * need to take a reference
-+ */
-+ ihold(newi);
-+ shiftfs_fill_inode(inode, newi->i_ino, newi->i_mode, 0, new);
-+ unlock_new_inode(inode);
-+ }
-+
-+out:
-+ return d_splice_alias(inode, dentry);
-+}
-+
-+static int shiftfs_permission(struct user_namespace *ns, struct inode *inode, int mask)
-+{
-+ int err;
-+ const struct cred *oldcred;
-+ struct inode *loweri = inode->i_private;
-+
-+ if (!loweri) {
-+ WARN_ON(!(mask & MAY_NOT_BLOCK));
-+ return -ECHILD;
-+ }
-+
-+ err = generic_permission(&init_user_ns, inode, mask);
-+ if (err)
-+ return err;
-+
-+ oldcred = shiftfs_override_creds(inode->i_sb);
-+ err = inode_permission(&init_user_ns, loweri, mask);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+static int shiftfs_fiemap(struct inode *inode,
-+ struct fiemap_extent_info *fieinfo, u64 start,
-+ u64 len)
-+{
-+ int err;
-+ const struct cred *oldcred;
-+ struct inode *loweri = inode->i_private;
-+
-+ if (!loweri->i_op->fiemap)
-+ return -EOPNOTSUPP;
-+
-+ oldcred = shiftfs_override_creds(inode->i_sb);
-+ if (fieinfo->fi_flags & FIEMAP_FLAG_SYNC)
-+ filemap_write_and_wait(loweri->i_mapping);
-+ err = loweri->i_op->fiemap(loweri, fieinfo, start, len);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+static int shiftfs_tmpfile(struct user_namespace *ns,
-+ struct inode *dir, struct dentry *dentry,
-+ umode_t mode)
-+{
-+ int err;
-+ const struct cred *oldcred;
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ struct inode *loweri = dir->i_private;
-+
-+ if (!loweri->i_op->tmpfile)
-+ return -EOPNOTSUPP;
-+
-+ oldcred = shiftfs_override_creds(dir->i_sb);
-+ err = loweri->i_op->tmpfile(&init_user_ns, loweri, lowerd, mode);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+static int shiftfs_setattr(struct user_namespace *ns, struct dentry *dentry, struct iattr *attr)
-+{
-+ struct dentry *lowerd = dentry->d_fsdata;
-+ struct inode *loweri = lowerd->d_inode;
-+ struct iattr newattr;
-+ const struct cred *oldcred;
-+ struct super_block *sb = dentry->d_sb;
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+ int err;
-+
-+ err = setattr_prepare(&init_user_ns, dentry, attr);
-+ if (err)
-+ return err;
-+
-+ newattr = *attr;
-+ newattr.ia_uid = shift_kuid(sb->s_user_ns, sbinfo->userns, attr->ia_uid);
-+ newattr.ia_gid = shift_kgid(sb->s_user_ns, sbinfo->userns, attr->ia_gid);
-+
-+ /*
-+ * mode change is for clearing setuid/setgid bits. Allow lower fs
-+ * to interpret this in its own way.
-+ */
-+ if (newattr.ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID))
-+ newattr.ia_valid &= ~ATTR_MODE;
-+
-+ inode_lock(loweri);
-+ oldcred = shiftfs_override_creds(dentry->d_sb);
-+ err = notify_change(&init_user_ns, lowerd, &newattr, NULL);
-+ revert_creds(oldcred);
-+ inode_unlock(loweri);
-+
-+ shiftfs_copyattr(loweri, d_inode(dentry));
-+
-+ return err;
-+}
-+
-+static int shiftfs_getattr(struct user_namespace *ns,
-+ const struct path *path, struct kstat *stat,
-+ u32 request_mask, unsigned int query_flags)
-+{
-+ struct inode *inode = path->dentry->d_inode;
-+ struct dentry *lowerd = path->dentry->d_fsdata;
-+ struct inode *loweri = lowerd->d_inode;
-+ struct shiftfs_super_info *info = path->dentry->d_sb->s_fs_info;
-+ struct path newpath = { .mnt = info->mnt, .dentry = lowerd };
-+ struct user_namespace *from_ns = loweri->i_sb->s_user_ns;
-+ struct user_namespace *to_ns = inode->i_sb->s_user_ns;
-+ const struct cred *oldcred;
-+ int err;
-+
-+ oldcred = shiftfs_override_creds(inode->i_sb);
-+ err = vfs_getattr(&newpath, stat, request_mask, query_flags);
-+ revert_creds(oldcred);
-+
-+ if (err)
-+ return err;
-+
-+ /* transform the underlying id */
-+ stat->uid = shift_kuid(from_ns, to_ns, stat->uid);
-+ stat->gid = shift_kgid(from_ns, to_ns, stat->gid);
-+ return 0;
-+}
-+
-+#ifdef CONFIG_SHIFT_FS_POSIX_ACL
-+
-+static int
-+shift_acl_ids(struct user_namespace *from, struct user_namespace *to,
-+ struct posix_acl *acl)
-+{
-+ int i;
-+
-+ for (i = 0; i < acl->a_count; i++) {
-+ struct posix_acl_entry *e = &acl->a_entries[i];
-+ switch(e->e_tag) {
-+ case ACL_USER:
-+ e->e_uid = shift_kuid(from, to, e->e_uid);
-+ if (!uid_valid(e->e_uid))
-+ return -EOVERFLOW;
-+ break;
-+ case ACL_GROUP:
-+ e->e_gid = shift_kgid(from, to, e->e_gid);
-+ if (!gid_valid(e->e_gid))
-+ return -EOVERFLOW;
-+ break;
-+ }
-+ }
-+ return 0;
-+}
-+
-+static void
-+shift_acl_xattr_ids(struct user_namespace *from, struct user_namespace *to,
-+ void *value, size_t size)
-+{
-+ struct posix_acl_xattr_header *header = value;
-+ struct posix_acl_xattr_entry *entry = (void *)(header + 1), *end;
-+ int count;
-+ kuid_t kuid;
-+ kgid_t kgid;
-+
-+ if (!value)
-+ return;
-+ if (size < sizeof(struct posix_acl_xattr_header))
-+ return;
-+ if (header->a_version != cpu_to_le32(POSIX_ACL_XATTR_VERSION))
-+ return;
-+
-+ count = posix_acl_xattr_count(size);
-+ if (count < 0)
-+ return;
-+ if (count == 0)
-+ return;
-+
-+ for (end = entry + count; entry != end; entry++) {
-+ switch(le16_to_cpu(entry->e_tag)) {
-+ case ACL_USER:
-+ kuid = make_kuid(&init_user_ns, le32_to_cpu(entry->e_id));
-+ kuid = shift_kuid(from, to, kuid);
-+ entry->e_id = cpu_to_le32(from_kuid(&init_user_ns, kuid));
-+ break;
-+ case ACL_GROUP:
-+ kgid = make_kgid(from, le32_to_cpu(entry->e_id));
-+ kgid = shift_kgid(from, to, kgid);
-+ entry->e_id = cpu_to_le32(from_kgid(from, kgid));
-+ break;
-+ default:
-+ break;
-+ }
-+ }
-+}
-+
-+static struct posix_acl *
-+shiftfs_get_acl(struct inode *inode, int type, bool rcu)
-+{
-+ struct inode *loweri = inode->i_private;
-+ const struct cred *oldcred;
-+ struct posix_acl *lower_acl, *acl = NULL;
-+ struct user_namespace *from_ns = loweri->i_sb->s_user_ns;
-+ struct user_namespace *to_ns = inode->i_sb->s_user_ns;
-+ int size;
-+ int err;
-+
-+ if (rcu)
-+ return ERR_PTR(-ECHILD);
-+
-+ if (!IS_POSIXACL(loweri))
-+ return NULL;
-+
-+ oldcred = shiftfs_override_creds(inode->i_sb);
-+ lower_acl = get_acl(loweri, type);
-+ revert_creds(oldcred);
-+
-+ if (lower_acl && !IS_ERR(lower_acl)) {
-+ /* XXX: export posix_acl_clone? */
-+ size = sizeof(struct posix_acl) +
-+ lower_acl->a_count * sizeof(struct posix_acl_entry);
-+ acl = kmemdup(lower_acl, size, GFP_KERNEL);
-+ posix_acl_release(lower_acl);
-+
-+ if (!acl)
-+ return ERR_PTR(-ENOMEM);
-+
-+ refcount_set(&acl->a_refcount, 1);
-+
-+ err = shift_acl_ids(from_ns, to_ns, acl);
-+ if (err) {
-+ kfree(acl);
-+ return ERR_PTR(err);
-+ }
-+ }
-+
-+ return acl;
-+}
-+
-+static int
-+shiftfs_posix_acl_xattr_get(const struct xattr_handler *handler,
-+ struct dentry *dentry, struct inode *inode,
-+ const char *name, void *buffer, size_t size)
-+{
-+ struct inode *loweri = inode->i_private;
-+ int ret;
-+
-+ ret = shiftfs_xattr_get(NULL, dentry, inode, handler->name,
-+ buffer, size);
-+ if (ret < 0)
-+ return ret;
-+
-+ inode_lock(loweri);
-+ shift_acl_xattr_ids(loweri->i_sb->s_user_ns, inode->i_sb->s_user_ns,
-+ buffer, size);
-+ inode_unlock(loweri);
-+ return ret;
-+}
-+
-+static int
-+shiftfs_posix_acl_xattr_set(const struct xattr_handler *handler,
-+ struct user_namespace *ns,
-+ struct dentry *dentry, struct inode *inode,
-+ const char *name, const void *value,
-+ size_t size, int flags)
-+{
-+ struct inode *loweri = inode->i_private;
-+ int err;
-+
-+ if (!IS_POSIXACL(loweri) || !loweri->i_op->set_acl)
-+ return -EOPNOTSUPP;
-+ if (handler->flags == ACL_TYPE_DEFAULT && !S_ISDIR(inode->i_mode))
-+ return value ? -EACCES : 0;
-+ if (!inode_owner_or_capable(ns, inode))
-+ return -EPERM;
-+
-+ if (value) {
-+ shift_acl_xattr_ids(inode->i_sb->s_user_ns,
-+ loweri->i_sb->s_user_ns,
-+ (void *)value, size);
-+ err = shiftfs_setxattr(dentry, inode, handler->name, value,
-+ size, flags);
-+ } else {
-+ err = shiftfs_removexattr(&init_user_ns, dentry, handler->name);
-+ }
-+
-+ if (!err)
-+ shiftfs_copyattr(loweri, inode);
-+
-+ return err;
-+}
-+
-+static const struct xattr_handler
-+shiftfs_posix_acl_access_xattr_handler = {
-+ .name = XATTR_NAME_POSIX_ACL_ACCESS,
-+ .flags = ACL_TYPE_ACCESS,
-+ .get = shiftfs_posix_acl_xattr_get,
-+ .set = shiftfs_posix_acl_xattr_set,
-+};
-+
-+static const struct xattr_handler
-+shiftfs_posix_acl_default_xattr_handler = {
-+ .name = XATTR_NAME_POSIX_ACL_DEFAULT,
-+ .flags = ACL_TYPE_DEFAULT,
-+ .get = shiftfs_posix_acl_xattr_get,
-+ .set = shiftfs_posix_acl_xattr_set,
-+};
-+
-+#else /* !CONFIG_SHIFT_FS_POSIX_ACL */
-+
-+#define shiftfs_get_acl NULL
-+
-+#endif /* CONFIG_SHIFT_FS_POSIX_ACL */
-+
-+static const struct inode_operations shiftfs_dir_inode_operations = {
-+ .lookup = shiftfs_lookup,
-+ .mkdir = shiftfs_mkdir,
-+ .symlink = shiftfs_symlink,
-+ .unlink = shiftfs_unlink,
-+ .rmdir = shiftfs_rmdir,
-+ .rename = shiftfs_rename,
-+ .link = shiftfs_link,
-+ .setattr = shiftfs_setattr,
-+ .create = shiftfs_create,
-+ .mknod = shiftfs_mknod,
-+ .permission = shiftfs_permission,
-+ .getattr = shiftfs_getattr,
-+ .listxattr = shiftfs_listxattr,
-+ .get_acl = shiftfs_get_acl,
-+};
-+
-+static const struct inode_operations shiftfs_file_inode_operations = {
-+ .fiemap = shiftfs_fiemap,
-+ .getattr = shiftfs_getattr,
-+ .get_acl = shiftfs_get_acl,
-+ .listxattr = shiftfs_listxattr,
-+ .permission = shiftfs_permission,
-+ .setattr = shiftfs_setattr,
-+ .tmpfile = shiftfs_tmpfile,
-+};
-+
-+static const struct inode_operations shiftfs_special_inode_operations = {
-+ .getattr = shiftfs_getattr,
-+ .get_acl = shiftfs_get_acl,
-+ .listxattr = shiftfs_listxattr,
-+ .permission = shiftfs_permission,
-+ .setattr = shiftfs_setattr,
-+};
-+
-+static const struct inode_operations shiftfs_symlink_inode_operations = {
-+ .getattr = shiftfs_getattr,
-+ .get_link = shiftfs_get_link,
-+ .listxattr = shiftfs_listxattr,
-+ .setattr = shiftfs_setattr,
-+};
-+
-+static struct file *shiftfs_open_realfile(const struct file *file,
-+ struct inode *realinode)
-+{
-+ struct file *realfile;
-+ const struct cred *old_cred;
-+ struct inode *inode = file_inode(file);
-+ struct dentry *lowerd = file->f_path.dentry->d_fsdata;
-+ struct shiftfs_super_info *info = inode->i_sb->s_fs_info;
-+ struct path realpath = { .mnt = info->mnt, .dentry = lowerd };
-+
-+ old_cred = shiftfs_override_creds(inode->i_sb);
-+ realfile = open_with_fake_path(&realpath, file->f_flags, realinode,
-+ info->creator_cred);
-+ revert_creds(old_cred);
-+
-+ return realfile;
-+}
-+
-+#define SHIFTFS_SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT)
-+
-+static int shiftfs_change_flags(struct file *file, unsigned int flags)
-+{
-+ struct inode *inode = file_inode(file);
-+ int err;
-+
-+ /* if some flag changed that cannot be changed then something's amiss */
-+ if (WARN_ON((file->f_flags ^ flags) & ~SHIFTFS_SETFL_MASK))
-+ return -EIO;
-+
-+ flags &= SHIFTFS_SETFL_MASK;
-+
-+ if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode))
-+ return -EPERM;
-+
-+ if (flags & O_DIRECT) {
-+ if (!file->f_mapping->a_ops ||
-+ !file->f_mapping->a_ops->direct_IO)
-+ return -EINVAL;
-+ }
-+
-+ if (file->f_op->check_flags) {
-+ err = file->f_op->check_flags(flags);
-+ if (err)
-+ return err;
-+ }
-+
-+ spin_lock(&file->f_lock);
-+ file->f_flags = (file->f_flags & ~SHIFTFS_SETFL_MASK) | flags;
-+ spin_unlock(&file->f_lock);
-+
-+ return 0;
-+}
-+
-+static int shiftfs_open(struct inode *inode, struct file *file)
-+{
-+ struct file *realfile;
-+
-+ realfile = shiftfs_open_realfile(file, inode->i_private);
-+ if (IS_ERR(realfile))
-+ return PTR_ERR(realfile);
-+
-+ file->private_data = realfile;
-+ /* For O_DIRECT dentry_open() checks f_mapping->a_ops->direct_IO. */
-+ file->f_mapping = realfile->f_mapping;
-+
-+ return 0;
-+}
-+
-+static int shiftfs_dir_open(struct inode *inode, struct file *file)
-+{
-+ struct file *realfile;
-+ const struct cred *oldcred;
-+ struct dentry *lowerd = file->f_path.dentry->d_fsdata;
-+ struct shiftfs_super_info *info = inode->i_sb->s_fs_info;
-+ struct path realpath = { .mnt = info->mnt, .dentry = lowerd };
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ realfile = dentry_open(&realpath, file->f_flags | O_NOATIME,
-+ info->creator_cred);
-+ revert_creds(oldcred);
-+ if (IS_ERR(realfile))
-+ return PTR_ERR(realfile);
-+
-+ file->private_data = realfile;
-+
-+ return 0;
-+}
-+
-+static int shiftfs_release(struct inode *inode, struct file *file)
-+{
-+ struct file *realfile = file->private_data;
-+
-+ if (realfile)
-+ fput(realfile);
-+
-+ return 0;
-+}
-+
-+static int shiftfs_dir_release(struct inode *inode, struct file *file)
-+{
-+ return shiftfs_release(inode, file);
-+}
-+
-+static loff_t shiftfs_dir_llseek(struct file *file, loff_t offset, int whence)
-+{
-+ struct file *realfile = file->private_data;
-+
-+ return vfs_llseek(realfile, offset, whence);
-+}
-+
-+static loff_t shiftfs_file_llseek(struct file *file, loff_t offset, int whence)
-+{
-+ struct inode *realinode = file_inode(file)->i_private;
-+
-+ return generic_file_llseek_size(file, offset, whence,
-+ realinode->i_sb->s_maxbytes,
-+ i_size_read(realinode));
-+}
-+
-+/* XXX: Need to figure out what to to about atime updates, maybe other
-+ * timestamps too ... ref. ovl_file_accessed() */
-+
-+static rwf_t shiftfs_iocb_to_rwf(struct kiocb *iocb)
-+{
-+ int ifl = iocb->ki_flags;
-+ rwf_t flags = 0;
-+
-+ if (ifl & IOCB_NOWAIT)
-+ flags |= RWF_NOWAIT;
-+ if (ifl & IOCB_HIPRI)
-+ flags |= RWF_HIPRI;
-+ if (ifl & IOCB_DSYNC)
-+ flags |= RWF_DSYNC;
-+ if (ifl & IOCB_SYNC)
-+ flags |= RWF_SYNC;
-+
-+ return flags;
-+}
-+
-+static int shiftfs_real_fdget(const struct file *file, struct fd *lowerfd)
-+{
-+ struct file *realfile;
-+
-+ if (file->f_op->open != shiftfs_open &&
-+ file->f_op->open != shiftfs_dir_open)
-+ return -EINVAL;
-+
-+ realfile = file->private_data;
-+ lowerfd->flags = 0;
-+ lowerfd->file = realfile;
-+
-+ /* Did the flags change since open? */
-+ if (unlikely(file->f_flags & ~lowerfd->file->f_flags))
-+ return shiftfs_change_flags(lowerfd->file, file->f_flags);
-+
-+ return 0;
-+}
-+
-+static ssize_t shiftfs_read_iter(struct kiocb *iocb, struct iov_iter *iter)
-+{
-+ struct file *file = iocb->ki_filp;
-+ struct fd lowerfd;
-+ const struct cred *oldcred;
-+ ssize_t ret;
-+
-+ if (!iov_iter_count(iter))
-+ return 0;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ return ret;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ ret = vfs_iter_read(lowerfd.file, iter, &iocb->ki_pos,
-+ shiftfs_iocb_to_rwf(iocb));
-+ revert_creds(oldcred);
-+
-+ shiftfs_file_accessed(file);
-+
-+ fdput(lowerfd);
-+ return ret;
-+}
-+
-+static ssize_t shiftfs_write_iter(struct kiocb *iocb, struct iov_iter *iter)
-+{
-+ struct file *file = iocb->ki_filp;
-+ struct inode *inode = file_inode(file);
-+ struct fd lowerfd;
-+ const struct cred *oldcred;
-+ ssize_t ret;
-+
-+ if (!iov_iter_count(iter))
-+ return 0;
-+
-+ inode_lock(inode);
-+ /* Update mode */
-+ shiftfs_copyattr(inode->i_private, inode);
-+ ret = file_remove_privs(file);
-+ if (ret)
-+ goto out_unlock;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ goto out_unlock;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ file_start_write(lowerfd.file);
-+ ret = vfs_iter_write(lowerfd.file, iter, &iocb->ki_pos,
-+ shiftfs_iocb_to_rwf(iocb));
-+ file_end_write(lowerfd.file);
-+ revert_creds(oldcred);
-+
-+ /* Update size */
-+ shiftfs_copyattr(inode->i_private, inode);
-+
-+ fdput(lowerfd);
-+
-+out_unlock:
-+ inode_unlock(inode);
-+ return ret;
-+}
-+
-+static int shiftfs_fsync(struct file *file, loff_t start, loff_t end,
-+ int datasync)
-+{
-+ struct fd lowerfd;
-+ const struct cred *oldcred;
-+ int ret;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ return ret;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ ret = vfs_fsync_range(lowerfd.file, start, end, datasync);
-+ revert_creds(oldcred);
-+
-+ fdput(lowerfd);
-+ return ret;
-+}
-+
-+static int shiftfs_mmap(struct file *file, struct vm_area_struct *vma)
-+{
-+ struct file *realfile = file->private_data;
-+ const struct cred *oldcred;
-+ int ret;
-+
-+ if (!realfile->f_op->mmap)
-+ return -ENODEV;
-+
-+ if (WARN_ON(file != vma->vm_file))
-+ return -EIO;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ vma->vm_file = get_file(realfile);
-+ ret = call_mmap(vma->vm_file, vma);
-+ revert_creds(oldcred);
-+
-+ shiftfs_file_accessed(file);
-+
-+ if (ret) {
-+ /*
-+ * Drop refcount from new vm_file value and restore original
-+ * vm_file value
-+ */
-+ vma->vm_file = file;
-+ fput(realfile);
-+ } else {
-+ /* Drop refcount from previous vm_file value */
-+ fput(file);
-+ }
-+
-+ return ret;
-+}
-+
-+static long shiftfs_fallocate(struct file *file, int mode, loff_t offset,
-+ loff_t len)
-+{
-+ struct inode *inode = file_inode(file);
-+ struct inode *loweri = inode->i_private;
-+ struct fd lowerfd;
-+ const struct cred *oldcred;
-+ int ret;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ return ret;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ ret = vfs_fallocate(lowerfd.file, mode, offset, len);
-+ revert_creds(oldcred);
-+
-+ /* Update size */
-+ shiftfs_copyattr(loweri, inode);
-+
-+ fdput(lowerfd);
-+ return ret;
-+}
-+
-+static int shiftfs_fadvise(struct file *file, loff_t offset, loff_t len,
-+ int advice)
-+{
-+ struct fd lowerfd;
-+ const struct cred *oldcred;
-+ int ret;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ return ret;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ ret = vfs_fadvise(lowerfd.file, offset, len, advice);
-+ revert_creds(oldcred);
-+
-+ fdput(lowerfd);
-+ return ret;
-+}
-+
-+static int shiftfs_override_ioctl_creds(int cmd, const struct super_block *sb,
-+ const struct cred **oldcred,
-+ struct cred **newcred)
-+{
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+ kuid_t fsuid = current_fsuid();
-+ kgid_t fsgid = current_fsgid();
-+
-+ *oldcred = shiftfs_override_creds(sb);
-+
-+ *newcred = prepare_creds();
-+ if (!*newcred) {
-+ revert_creds(*oldcred);
-+ return -ENOMEM;
-+ }
-+
-+ (*newcred)->fsuid = shift_kuid(sb->s_user_ns, sbinfo->userns, fsuid);
-+ (*newcred)->fsgid = shift_kgid(sb->s_user_ns, sbinfo->userns, fsgid);
-+
-+ /* clear all caps to prevent bypassing capable() checks */
-+ cap_clear((*newcred)->cap_bset);
-+ cap_clear((*newcred)->cap_effective);
-+ cap_clear((*newcred)->cap_inheritable);
-+ cap_clear((*newcred)->cap_permitted);
-+
-+ if (cmd == BTRFS_IOC_SNAP_DESTROY) {
-+ kuid_t kuid_root = make_kuid(sb->s_user_ns, 0);
-+ /*
-+ * Allow the root user in the container to remove subvolumes
-+ * from other users.
-+ */
-+ if (uid_valid(kuid_root) && uid_eq(fsuid, kuid_root))
-+ cap_raise((*newcred)->cap_effective, CAP_DAC_OVERRIDE);
-+ }
-+
-+ put_cred(override_creds(*newcred));
-+ return 0;
-+}
-+
-+static inline void shiftfs_revert_ioctl_creds(const struct cred *oldcred,
-+ struct cred *newcred)
-+{
-+ return shiftfs_revert_object_creds(oldcred, newcred);
-+}
-+
-+static inline bool is_btrfs_snap_ioctl(int cmd)
-+{
-+ if ((cmd == BTRFS_IOC_SNAP_CREATE) || (cmd == BTRFS_IOC_SNAP_CREATE_V2))
-+ return true;
-+
-+ return false;
-+}
-+
-+static int shiftfs_btrfs_ioctl_fd_restore(int cmd, int fd, void __user *arg,
-+ struct btrfs_ioctl_vol_args *v1,
-+ struct btrfs_ioctl_vol_args_v2 *v2)
-+{
-+ int ret;
-+
-+ if (!is_btrfs_snap_ioctl(cmd))
-+ return 0;
-+
-+ if (cmd == BTRFS_IOC_SNAP_CREATE)
-+ ret = copy_to_user(arg, v1, sizeof(*v1));
-+ else
-+ ret = copy_to_user(arg, v2, sizeof(*v2));
-+
-+ close_fd(fd);
-+ kfree(v1);
-+ kfree(v2);
-+
-+ return ret ? -EFAULT: 0;
-+}
-+
-+static int shiftfs_btrfs_ioctl_fd_replace(int cmd, void __user *arg,
-+ struct btrfs_ioctl_vol_args **b1,
-+ struct btrfs_ioctl_vol_args_v2 **b2,
-+ int *newfd)
-+{
-+ int oldfd, ret;
-+ struct fd src;
-+ struct fd lfd = {};
-+ struct btrfs_ioctl_vol_args *v1 = NULL;
-+ struct btrfs_ioctl_vol_args_v2 *v2 = NULL;
-+
-+ *b1 = NULL;
-+ *b2 = NULL;
-+
-+ if (!is_btrfs_snap_ioctl(cmd))
-+ return 0;
-+
-+ if (cmd == BTRFS_IOC_SNAP_CREATE) {
-+ v1 = memdup_user(arg, sizeof(*v1));
-+ if (IS_ERR(v1))
-+ return PTR_ERR(v1);
-+ oldfd = v1->fd;
-+ } else {
-+ v2 = memdup_user(arg, sizeof(*v2));
-+ if (IS_ERR(v2))
-+ return PTR_ERR(v2);
-+ oldfd = v2->fd;
-+ }
-+
-+ src = fdget(oldfd);
-+ if (!src.file) {
-+ ret = -EINVAL;
-+ goto err_free;
-+ }
-+
-+ ret = shiftfs_real_fdget(src.file, &lfd);
-+ if (ret) {
-+ fdput(src);
-+ goto err_free;
-+ }
-+
-+ /*
-+ * shiftfs_real_fdget() does not take a reference to lfd.file, so
-+ * take a reference here to offset the one which will be put by
-+ * close_fd(), and make sure that reference is put on fdput(lfd).
-+ */
-+ get_file(lfd.file);
-+ lfd.flags |= FDPUT_FPUT;
-+ fdput(src);
-+
-+ *newfd = get_unused_fd_flags(lfd.file->f_flags);
-+ if (*newfd < 0) {
-+ fdput(lfd);
-+ ret = *newfd;
-+ goto err_free;
-+ }
-+
-+ fd_install(*newfd, lfd.file);
-+
-+ if (cmd == BTRFS_IOC_SNAP_CREATE) {
-+ v1->fd = *newfd;
-+ ret = copy_to_user(arg, v1, sizeof(*v1));
-+ v1->fd = oldfd;
-+ } else {
-+ v2->fd = *newfd;
-+ ret = copy_to_user(arg, v2, sizeof(*v2));
-+ v2->fd = oldfd;
-+ }
-+
-+ if (!ret) {
-+ *b1 = v1;
-+ *b2 = v2;
-+ } else {
-+ shiftfs_btrfs_ioctl_fd_restore(cmd, *newfd, arg, v1, v2);
-+ ret = -EFAULT;
-+ }
-+
-+ return ret;
-+
-+err_free:
-+ kfree(v1);
-+ kfree(v2);
-+
-+ return ret;
-+}
-+
-+static long shiftfs_real_ioctl(struct file *file, unsigned int cmd,
-+ unsigned long arg)
-+{
-+ struct fd lowerfd;
-+ struct cred *newcred;
-+ const struct cred *oldcred;
-+ int newfd = -EBADF;
-+ long err = 0, ret = 0;
-+ void __user *argp = (void __user *)arg;
-+ struct super_block *sb = file->f_path.dentry->d_sb;
-+ struct btrfs_ioctl_vol_args *btrfs_v1 = NULL;
-+ struct btrfs_ioctl_vol_args_v2 *btrfs_v2 = NULL;
-+
-+ ret = shiftfs_btrfs_ioctl_fd_replace(cmd, argp, &btrfs_v1, &btrfs_v2,
-+ &newfd);
-+ if (ret < 0)
-+ return ret;
-+
-+ ret = shiftfs_real_fdget(file, &lowerfd);
-+ if (ret)
-+ goto out_restore;
-+
-+ ret = shiftfs_override_ioctl_creds(cmd, sb, &oldcred, &newcred);
-+ if (ret)
-+ goto out_fdput;
-+
-+ ret = vfs_ioctl(lowerfd.file, cmd, arg);
-+
-+ shiftfs_revert_ioctl_creds(oldcred, newcred);
-+
-+ shiftfs_copyattr(file_inode(lowerfd.file), file_inode(file));
-+ shiftfs_copyflags(file_inode(lowerfd.file), file_inode(file));
-+
-+out_fdput:
-+ fdput(lowerfd);
-+
-+out_restore:
-+ err = shiftfs_btrfs_ioctl_fd_restore(cmd, newfd, argp,
-+ btrfs_v1, btrfs_v2);
-+ if (!ret)
-+ ret = err;
-+
-+ return ret;
-+}
-+
-+static bool in_ioctl_whitelist(int flag, unsigned long arg)
-+{
-+ void __user *argp = (void __user *)arg;
-+ u64 flags = 0;
-+
-+ switch (flag) {
-+ case BTRFS_IOC_FS_INFO:
-+ return true;
-+ case BTRFS_IOC_SNAP_CREATE:
-+ return true;
-+ case BTRFS_IOC_SNAP_CREATE_V2:
-+ return true;
-+ case BTRFS_IOC_SUBVOL_CREATE:
-+ return true;
-+ case BTRFS_IOC_SUBVOL_CREATE_V2:
-+ return true;
-+ case BTRFS_IOC_SUBVOL_GETFLAGS:
-+ return true;
-+ case BTRFS_IOC_SUBVOL_SETFLAGS:
-+ if (copy_from_user(&flags, argp, sizeof(flags)))
-+ return false;
-+
-+ if (flags & ~BTRFS_SUBVOL_RDONLY)
-+ return false;
-+
-+ return true;
-+ case BTRFS_IOC_SNAP_DESTROY:
-+ return true;
-+ }
-+
-+ return false;
-+}
-+
-+static long shiftfs_ioctl(struct file *file, unsigned int cmd,
-+ unsigned long arg)
-+{
-+ switch (cmd) {
-+ case FS_IOC_GETVERSION:
-+ /* fall through */
-+ case FS_IOC_GETFLAGS:
-+ /* fall through */
-+ case FS_IOC_SETFLAGS:
-+ break;
-+ default:
-+ if (!in_ioctl_whitelist(cmd, arg) ||
-+ !shiftfs_passthrough_ioctls(file->f_path.dentry->d_sb->s_fs_info))
-+ return -ENOTTY;
-+ }
-+
-+ return shiftfs_real_ioctl(file, cmd, arg);
-+}
-+
-+static long shiftfs_compat_ioctl(struct file *file, unsigned int cmd,
-+ unsigned long arg)
-+{
-+ switch (cmd) {
-+ case FS_IOC32_GETVERSION:
-+ /* fall through */
-+ case FS_IOC32_GETFLAGS:
-+ /* fall through */
-+ case FS_IOC32_SETFLAGS:
-+ break;
-+ default:
-+ if (!in_ioctl_whitelist(cmd, arg) ||
-+ !shiftfs_passthrough_ioctls(file->f_path.dentry->d_sb->s_fs_info))
-+ return -ENOIOCTLCMD;
-+ }
-+
-+ return shiftfs_real_ioctl(file, cmd, arg);
-+}
-+
-+enum shiftfs_copyop {
-+ SHIFTFS_COPY,
-+ SHIFTFS_CLONE,
-+ SHIFTFS_DEDUPE,
-+};
-+
-+static ssize_t shiftfs_copyfile(struct file *file_in, loff_t pos_in,
-+ struct file *file_out, loff_t pos_out, u64 len,
-+ unsigned int flags, enum shiftfs_copyop op)
-+{
-+ ssize_t ret;
-+ struct fd real_in, real_out;
-+ const struct cred *oldcred;
-+ struct inode *inode_out = file_inode(file_out);
-+ struct inode *loweri = inode_out->i_private;
-+
-+ ret = shiftfs_real_fdget(file_out, &real_out);
-+ if (ret)
-+ return ret;
-+
-+ ret = shiftfs_real_fdget(file_in, &real_in);
-+ if (ret) {
-+ fdput(real_out);
-+ return ret;
-+ }
-+
-+ oldcred = shiftfs_override_creds(inode_out->i_sb);
-+ switch (op) {
-+ case SHIFTFS_COPY:
-+ ret = vfs_copy_file_range(real_in.file, pos_in, real_out.file,
-+ pos_out, len, flags);
-+ break;
-+
-+ case SHIFTFS_CLONE:
-+ ret = vfs_clone_file_range(real_in.file, pos_in, real_out.file,
-+ pos_out, len, flags);
-+ break;
-+
-+ case SHIFTFS_DEDUPE:
-+ ret = vfs_dedupe_file_range_one(real_in.file, pos_in,
-+ real_out.file, pos_out, len,
-+ flags);
-+ break;
-+ }
-+ revert_creds(oldcred);
-+
-+ /* Update size */
-+ shiftfs_copyattr(loweri, inode_out);
-+
-+ fdput(real_in);
-+ fdput(real_out);
-+
-+ return ret;
-+}
-+
-+static ssize_t shiftfs_copy_file_range(struct file *file_in, loff_t pos_in,
-+ struct file *file_out, loff_t pos_out,
-+ size_t len, unsigned int flags)
-+{
-+ return shiftfs_copyfile(file_in, pos_in, file_out, pos_out, len, flags,
-+ SHIFTFS_COPY);
-+}
-+
-+static loff_t shiftfs_remap_file_range(struct file *file_in, loff_t pos_in,
-+ struct file *file_out, loff_t pos_out,
-+ loff_t len, unsigned int remap_flags)
-+{
-+ enum shiftfs_copyop op;
-+
-+ if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY))
-+ return -EINVAL;
-+
-+ if (remap_flags & REMAP_FILE_DEDUP)
-+ op = SHIFTFS_DEDUPE;
-+ else
-+ op = SHIFTFS_CLONE;
-+
-+ return shiftfs_copyfile(file_in, pos_in, file_out, pos_out, len,
-+ remap_flags, op);
-+}
-+
-+static int shiftfs_iterate_shared(struct file *file, struct dir_context *ctx)
-+{
-+ const struct cred *oldcred;
-+ int err = -ENOTDIR;
-+ struct file *realfile = file->private_data;
-+
-+ oldcred = shiftfs_override_creds(file->f_path.dentry->d_sb);
-+ err = iterate_dir(realfile, ctx);
-+ revert_creds(oldcred);
-+
-+ return err;
-+}
-+
-+const struct file_operations shiftfs_file_operations = {
-+ .open = shiftfs_open,
-+ .release = shiftfs_release,
-+ .llseek = shiftfs_file_llseek,
-+ .read_iter = shiftfs_read_iter,
-+ .write_iter = shiftfs_write_iter,
-+ .fsync = shiftfs_fsync,
-+ .mmap = shiftfs_mmap,
-+ .fallocate = shiftfs_fallocate,
-+ .fadvise = shiftfs_fadvise,
-+ .unlocked_ioctl = shiftfs_ioctl,
-+ .compat_ioctl = shiftfs_compat_ioctl,
-+ .copy_file_range = shiftfs_copy_file_range,
-+ .remap_file_range = shiftfs_remap_file_range,
-+ .splice_read = generic_file_splice_read,
-+ .splice_write = iter_file_splice_write,
-+};
-+
-+const struct file_operations shiftfs_dir_operations = {
-+ .open = shiftfs_dir_open,
-+ .release = shiftfs_dir_release,
-+ .compat_ioctl = shiftfs_compat_ioctl,
-+ .fsync = shiftfs_fsync,
-+ .iterate_shared = shiftfs_iterate_shared,
-+ .llseek = shiftfs_dir_llseek,
-+ .read = generic_read_dir,
-+ .unlocked_ioctl = shiftfs_ioctl,
-+};
-+
-+static const struct address_space_operations shiftfs_aops = {
-+ /* For O_DIRECT dentry_open() checks f_mapping->a_ops->direct_IO */
-+ .direct_IO = noop_direct_IO,
-+};
-+
-+static void shiftfs_fill_inode(struct inode *inode, unsigned long ino,
-+ umode_t mode, dev_t dev, struct dentry *dentry)
-+{
-+ struct inode *loweri;
-+
-+ inode->i_ino = ino;
-+ inode->i_flags |= S_NOCMTIME;
-+
-+ mode &= S_IFMT;
-+ inode->i_mode = mode;
-+ switch (mode & S_IFMT) {
-+ case S_IFDIR:
-+ inode->i_op = &shiftfs_dir_inode_operations;
-+ inode->i_fop = &shiftfs_dir_operations;
-+ break;
-+ case S_IFLNK:
-+ inode->i_op = &shiftfs_symlink_inode_operations;
-+ break;
-+ case S_IFREG:
-+ inode->i_op = &shiftfs_file_inode_operations;
-+ inode->i_fop = &shiftfs_file_operations;
-+ inode->i_mapping->a_ops = &shiftfs_aops;
-+ break;
-+ default:
-+ inode->i_op = &shiftfs_special_inode_operations;
-+ init_special_inode(inode, mode, dev);
-+ break;
-+ }
-+
-+ if (!dentry)
-+ return;
-+
-+ loweri = dentry->d_inode;
-+ if (!loweri->i_op->get_link)
-+ inode->i_opflags |= IOP_NOFOLLOW;
-+
-+ shiftfs_copyattr(loweri, inode);
-+ shiftfs_copyflags(loweri, inode);
-+ set_nlink(inode, loweri->i_nlink);
-+}
-+
-+static int shiftfs_show_options(struct seq_file *m, struct dentry *dentry)
-+{
-+ struct super_block *sb = dentry->d_sb;
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+
-+ if (sbinfo->mark)
-+ seq_show_option(m, "mark", NULL);
-+
-+ if (sbinfo->passthrough)
-+ seq_printf(m, ",passthrough=%u", sbinfo->passthrough);
-+
-+ return 0;
-+}
-+
-+static int shiftfs_statfs(struct dentry *dentry, struct kstatfs *buf)
-+{
-+ struct super_block *sb = dentry->d_sb;
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+ struct dentry *root = sb->s_root;
-+ struct dentry *realroot = root->d_fsdata;
-+ struct path realpath = { .mnt = sbinfo->mnt, .dentry = realroot };
-+ int err;
-+
-+ err = vfs_statfs(&realpath, buf);
-+ if (err)
-+ return err;
-+
-+ if (!shiftfs_passthrough_statfs(sbinfo))
-+ buf->f_type = sb->s_magic;
-+
-+ return 0;
-+}
-+
-+static void shiftfs_evict_inode(struct inode *inode)
-+{
-+ struct inode *loweri = inode->i_private;
-+
-+ clear_inode(inode);
-+
-+ if (loweri)
-+ iput(loweri);
-+}
-+
-+static void shiftfs_put_super(struct super_block *sb)
-+{
-+ struct shiftfs_super_info *sbinfo = sb->s_fs_info;
-+
-+ if (sbinfo) {
-+ mntput(sbinfo->mnt);
-+ put_cred(sbinfo->creator_cred);
-+ kfree(sbinfo);
-+ }
-+}
-+
-+static const struct xattr_handler shiftfs_xattr_handler = {
-+ .prefix = "",
-+ .get = shiftfs_xattr_get,
-+ .set = shiftfs_xattr_set,
-+};
-+
-+const struct xattr_handler *shiftfs_xattr_handlers[] = {
-+#ifdef CONFIG_SHIFT_FS_POSIX_ACL
-+ &shiftfs_posix_acl_access_xattr_handler,
-+ &shiftfs_posix_acl_default_xattr_handler,
-+#endif
-+ &shiftfs_xattr_handler,
-+ NULL
-+};
-+
-+static inline bool passthrough_is_subset(int old_flags, int new_flags)
-+{
-+ if ((new_flags & old_flags) != new_flags)
-+ return false;
-+
-+ return true;
-+}
-+
-+static int shiftfs_super_check_flags(unsigned long old_flags,
-+ unsigned long new_flags)
-+{
-+ if ((old_flags & SB_RDONLY) && !(new_flags & SB_RDONLY))
-+ return -EPERM;
-+
-+ if ((old_flags & SB_NOSUID) && !(new_flags & SB_NOSUID))
-+ return -EPERM;
-+
-+ if ((old_flags & SB_NODEV) && !(new_flags & SB_NODEV))
-+ return -EPERM;
-+
-+ if ((old_flags & SB_NOEXEC) && !(new_flags & SB_NOEXEC))
-+ return -EPERM;
-+
-+ if ((old_flags & SB_NOATIME) && !(new_flags & SB_NOATIME))
-+ return -EPERM;
-+
-+ if ((old_flags & SB_NODIRATIME) && !(new_flags & SB_NODIRATIME))
-+ return -EPERM;
-+
-+ if (!(old_flags & SB_POSIXACL) && (new_flags & SB_POSIXACL))
-+ return -EPERM;
-+
-+ return 0;
-+}
-+
-+static int shiftfs_remount(struct super_block *sb, int *flags, char *data)
-+{
-+ int err;
-+ struct shiftfs_super_info new = {};
-+ struct shiftfs_super_info *info = sb->s_fs_info;
-+
-+ err = shiftfs_parse_mount_options(&new, data);
-+ if (err)
-+ return err;
-+
-+ err = shiftfs_super_check_flags(sb->s_flags, *flags);
-+ if (err)
-+ return err;
-+
-+ /* Mark mount option cannot be changed. */
-+ if (info->mark || (info->mark != new.mark))
-+ return -EPERM;
-+
-+ if (info->passthrough != new.passthrough) {
-+ /* Don't allow exceeding passthrough options of mark mount. */
-+ if (!passthrough_is_subset(info->passthrough_mark,
-+ info->passthrough))
-+ return -EPERM;
-+
-+ info->passthrough = new.passthrough;
-+ }
-+
-+ return 0;
-+}
-+
-+static const struct super_operations shiftfs_super_ops = {
-+ .put_super = shiftfs_put_super,
-+ .show_options = shiftfs_show_options,
-+ .statfs = shiftfs_statfs,
-+ .remount_fs = shiftfs_remount,
-+ .evict_inode = shiftfs_evict_inode,
-+};
-+
-+struct shiftfs_data {
-+ void *data;
-+ const char *path;
-+};
-+
-+static void shiftfs_super_force_flags(struct super_block *sb,
-+ unsigned long lower_flags)
-+{
-+ sb->s_flags |= lower_flags & (SB_RDONLY | SB_NOSUID | SB_NODEV |
-+ SB_NOEXEC | SB_NOATIME | SB_NODIRATIME);
-+
-+ if (!(lower_flags & SB_POSIXACL))
-+ sb->s_flags &= ~SB_POSIXACL;
-+}
-+
-+static int shiftfs_fill_super(struct super_block *sb, void *raw_data,
-+ int silent)
-+{
-+ int err;
-+ struct path path = {};
-+ struct shiftfs_super_info *sbinfo_mp;
-+ char *name = NULL;
-+ struct inode *inode = NULL;
-+ struct dentry *dentry = NULL;
-+ struct shiftfs_data *data = raw_data;
-+ struct shiftfs_super_info *sbinfo = NULL;
-+
-+ if (!data->path)
-+ return -EINVAL;
-+
-+ sb->s_fs_info = kzalloc(sizeof(*sbinfo), GFP_KERNEL);
-+ if (!sb->s_fs_info)
-+ return -ENOMEM;
-+ sbinfo = sb->s_fs_info;
-+
-+ err = shiftfs_parse_mount_options(sbinfo, data->data);
-+ if (err)
-+ return err;
-+
-+ /* to mount a mark, must be userns admin */
-+ if (!sbinfo->mark && !ns_capable(current_user_ns(), CAP_SYS_ADMIN))
-+ return -EPERM;
-+
-+ name = kstrdup(data->path, GFP_KERNEL);
-+ if (!name)
-+ return -ENOMEM;
-+
-+ err = kern_path(name, LOOKUP_FOLLOW, &path);
-+ if (err)
-+ goto out_free_name;
-+
-+ if (!S_ISDIR(path.dentry->d_inode->i_mode)) {
-+ err = -ENOTDIR;
-+ goto out_put_path;
-+ }
-+
-+ sb->s_flags |= SB_POSIXACL;
-+
-+ if (sbinfo->mark) {
-+ struct cred *cred_tmp;
-+ struct super_block *lower_sb = path.mnt->mnt_sb;
-+
-+ /* to mark a mount point, must root wrt lower s_user_ns */
-+ if (!ns_capable(lower_sb->s_user_ns, CAP_SYS_ADMIN)) {
-+ err = -EPERM;
-+ goto out_put_path;
-+ }
-+
-+ /*
-+ * this part is visible unshifted, so make sure no
-+ * executables that could be used to give suid
-+ * privileges
-+ */
-+ sb->s_iflags = SB_I_NOEXEC;
-+
-+ shiftfs_super_force_flags(sb, lower_sb->s_flags);
-+
-+ /*
-+ * Handle nesting of shiftfs mounts by referring this mark
-+ * mount back to the original mark mount. This is more
-+ * efficient and alleviates concerns about stack depth.
-+ */
-+ if (lower_sb->s_magic == SHIFTFS_MAGIC) {
-+ sbinfo_mp = lower_sb->s_fs_info;
-+
-+ /* Doesn't make sense to mark a mark mount */
-+ if (sbinfo_mp->mark) {
-+ err = -EINVAL;
-+ goto out_put_path;
-+ }
-+
-+ if (!passthrough_is_subset(sbinfo_mp->passthrough,
-+ sbinfo->passthrough)) {
-+ err = -EPERM;
-+ goto out_put_path;
-+ }
-+
-+ sbinfo->mnt = mntget(sbinfo_mp->mnt);
-+ dentry = dget(path.dentry->d_fsdata);
-+ /*
-+ * Copy up the passthrough mount options from the
-+ * parent mark mountpoint.
-+ */
-+ sbinfo->passthrough_mark = sbinfo_mp->passthrough_mark;
-+ sbinfo->creator_cred = get_cred(sbinfo_mp->creator_cred);
-+ } else {
-+ sbinfo->mnt = mntget(path.mnt);
-+ dentry = dget(path.dentry);
-+ /*
-+ * For a new mark passthrough_mark and passthrough
-+ * are identical.
-+ */
-+ sbinfo->passthrough_mark = sbinfo->passthrough;
-+
-+ cred_tmp = prepare_creds();
-+ if (!cred_tmp) {
-+ err = -ENOMEM;
-+ goto out_put_path;
-+ }
-+ /* Don't override disk quota limits or use reserved space. */
-+ cap_lower(cred_tmp->cap_effective, CAP_SYS_RESOURCE);
-+ sbinfo->creator_cred = cred_tmp;
-+ }
-+ } else {
-+ /*
-+ * This leg executes if we're admin capable in the namespace,
-+ * so be very careful.
-+ */
-+ err = -EPERM;
-+ if (path.dentry->d_sb->s_magic != SHIFTFS_MAGIC)
-+ goto out_put_path;
-+
-+ sbinfo_mp = path.dentry->d_sb->s_fs_info;
-+ if (!sbinfo_mp->mark)
-+ goto out_put_path;
-+
-+ if (!passthrough_is_subset(sbinfo_mp->passthrough,
-+ sbinfo->passthrough))
-+ goto out_put_path;
-+
-+ sbinfo->mnt = mntget(sbinfo_mp->mnt);
-+ sbinfo->creator_cred = get_cred(sbinfo_mp->creator_cred);
-+ dentry = dget(path.dentry->d_fsdata);
-+ /*
-+ * Copy up passthrough settings from mark mountpoint so we can
-+ * verify when the overlay wants to remount with different
-+ * passthrough settings.
-+ */
-+ sbinfo->passthrough_mark = sbinfo_mp->passthrough;
-+ shiftfs_super_force_flags(sb, path.mnt->mnt_sb->s_flags);
-+ }
-+
-+ sb->s_stack_depth = dentry->d_sb->s_stack_depth + 1;
-+ if (sb->s_stack_depth > FILESYSTEM_MAX_STACK_DEPTH) {
-+ printk(KERN_ERR "shiftfs: maximum stacking depth exceeded\n");
-+ err = -EINVAL;
-+ goto out_put_path;
-+ }
-+
-+ inode = new_inode(sb);
-+ if (!inode) {
-+ err = -ENOMEM;
-+ goto out_put_path;
-+ }
-+ shiftfs_fill_inode(inode, dentry->d_inode->i_ino, S_IFDIR, 0, dentry);
-+
-+ ihold(dentry->d_inode);
-+ inode->i_private = dentry->d_inode;
-+
-+ sb->s_magic = SHIFTFS_MAGIC;
-+ sb->s_maxbytes = MAX_LFS_FILESIZE;
-+ sb->s_op = &shiftfs_super_ops;
-+ sb->s_xattr = shiftfs_xattr_handlers;
-+ sb->s_d_op = &shiftfs_dentry_ops;
-+ sb->s_root = d_make_root(inode);
-+ if (!sb->s_root) {
-+ err = -ENOMEM;
-+ goto out_put_path;
-+ }
-+
-+ sb->s_root->d_fsdata = dentry;
-+ sbinfo->userns = get_user_ns(dentry->d_sb->s_user_ns);
-+ shiftfs_copyattr(dentry->d_inode, sb->s_root->d_inode);
-+
-+ dentry = NULL;
-+ err = 0;
-+
-+out_put_path:
-+ path_put(&path);
-+
-+out_free_name:
-+ kfree(name);
-+
-+ dput(dentry);
-+
-+ return err;
-+}
-+
-+static struct dentry *shiftfs_mount(struct file_system_type *fs_type,
-+ int flags, const char *dev_name, void *data)
-+{
-+ struct shiftfs_data d = { data, dev_name };
-+
-+ return mount_nodev(fs_type, flags, &d, shiftfs_fill_super);
-+}
-+
-+static struct file_system_type shiftfs_type = {
-+ .owner = THIS_MODULE,
-+ .name = "shiftfs",
-+ .mount = shiftfs_mount,
-+ .kill_sb = kill_anon_super,
-+ .fs_flags = FS_USERNS_MOUNT,
-+};
-+
-+static int __init shiftfs_init(void)
-+{
-+ return register_filesystem(&shiftfs_type);
-+}
-+
-+static void __exit shiftfs_exit(void)
-+{
-+ unregister_filesystem(&shiftfs_type);
-+}
-+
-+MODULE_ALIAS_FS("shiftfs");
-+MODULE_AUTHOR("James Bottomley");
-+MODULE_AUTHOR("Seth Forshee <seth.forshee@canonical.com>");
-+MODULE_AUTHOR("Christian Brauner <christian.brauner@ubuntu.com>");
-+MODULE_DESCRIPTION("id shifting filesystem");
-+MODULE_LICENSE("GPL v2");
-+module_init(shiftfs_init)
-+module_exit(shiftfs_exit)
diff --git a/sys-kernel/opensuse-sources/metadata.xml b/sys-kernel/opensuse-sources/metadata.xml
deleted file mode 100644
index 35b97c0ead43..000000000000
--- a/sys-kernel/opensuse-sources/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
-
- <use>
- <flag name="binary">Builds and installs kernel automatically</flag>
- <flag name="rt">Applies the CONFIG_PREEMPT_RT patch series</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-kernel/opensuse-sources/opensuse-sources-5.19.8-r1.ebuild b/sys-kernel/opensuse-sources/opensuse-sources-5.19.8-r1.ebuild
deleted file mode 100644
index 5c254a359422..000000000000
--- a/sys-kernel/opensuse-sources/opensuse-sources-5.19.8-r1.ebuild
+++ /dev/null
@@ -1,339 +0,0 @@
-# Copyright 2020-2023 LiGurOs Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Documentation for adding new kernels -- do not remove!
-#
-# Find latest kernel release here:
-# https://github.com/openSUSE/kernel/releases
-
-EAPI=8
-
-inherit check-reqs mount-boot toolchain-funcs
-
-DESCRIPTION="OpenSUSE Sources (and optional binary kernel)"
-HOMEPAGE="https://github.com/openSUSE/kernel"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64"
-
-SLOT=$(ver_cut 1-2)
-
-RESTRICT="binchecks strip mirror"
-
-IUSE="binary btrfs dtrace custom-cflags ec2 luks lvm sign-modules zfs debug firmware mdadm mcelog plymouth systemd wireguard"
-
-BDEPEND="
- virtual/libelf
- debug? ( dev-util/dwarves )
- sys-devel/bc
-"
-
-DEPEND="
- net-misc/dhcp[client]
- binary? (
- sys-kernel/dracut
- dev-util/pahole
- )
- btrfs? ( sys-fs/btrfs-progs )
- dtrace? (
- dev-util/dtrace-utils
- dev-libs/libdtrace-ctf
- )
- firmware? (
- sys-kernel/linux-firmware
- )
- luks? ( sys-fs/cryptsetup )
- lvm? ( sys-fs/lvm2 )
- mdadm? ( sys-fs/mdadm )
- mcelog? ( app-admin/mcelog )
- plymouth? (
- x11-libs/libdrm[libkms]
- sys-boot/plymouth[udev]
- )
- sign-modules? (
- || ( dev-libs/openssl
- )
- sys-apps/kmod
- )
- systemd? ( sys-apps/systemd )
- !systemd? ( sys-fs/eudev )
- wireguard? ( virtual/wireguard )
- zfs? ( sys-fs/zfs )
-"
-
-SRC_URI="https://github.com/openSUSE/kernel/archive/v${PV}.tar.gz -> linux_${PV}.tar.gz"
-S="$WORKDIR/kernel-${PV}"
-# install sources to /usr/src/$LINUX_SRCDIR
-LINUX_SRCDIR=linux-${PF}
-
-get_patch_list() {
- [[ -z "${1}" ]] && die "No patch series file specified"
- local patch_series="${1}"
- while read line ; do
- if [[ "${line:0:1}" != "#" ]] ; then
- echo "${line}"
- fi
- done < "${patch_series}"
-}
-
-tweak_config() {
- einfo "Setting $2=$3 in kernel config."
- sed -i -e "/^$2=/d" $1
- echo "$2=$3" >> $1
-}
-
-setno_config() {
- einfo "Setting $2*=y to n in kernel config."
- sed -i -e "s/^$2\(.*\)=.*/$2\1=n/g" $1
-}
-
-setyes_config() {
- einfo "Setting $2*=* to y in kernel config."
- sed -i -e "s/^$2\(.*\)=.*/$2\1=y/g" $1
-}
-
-zap_config() {
- einfo "Removing *$2* from kernel config."
- sed -i -e "/$2/d" $1
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use binary ; then
- CHECKREQS_DISK_BUILD="5G"
- check-reqs_pkg_setup
- fi
-}
-
-get_certs_dir() {
- # find a certificate dir in /etc/kernel/certs/ that contains signing cert for modules.
- for subdir in $PF $P linux; do
- certdir=/etc/kernel/certs/$subdir
- if [ -d $certdir ]; then
- if [ ! -e $certdir/signing_key.pem ]; then
- eerror "$certdir exists but missing signing key; exiting."
- exit 1
- fi
- echo $certdir
- return
- fi
- done
-}
-
-pkg_setup() {
- export REAL_ARCH="$ARCH"
- unset ARCH; unset LDFLAGS #will interfere with Makefile if set
-}
-
-src_prepare() {
- default
-
- eapply -p1 "${FILESDIR}/shiftfs.patch"
-
- cd "${S}"
- #for debpatch in $( get_patch_list "${WORKDIR}/debian/patches/series" ); do
- # epatch -p1 "${WORKDIR}/debian/patches/${debpatch}"
- #done
- # end of debian-specific stuff...
-
- # do not include debian devs certificates
- #rm -rf "${WORKDIR}"/debian/certs
-
- sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${MODULE_EXT}:" Makefile || die
- sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile || die
- rm -f .config >/dev/null
- #cp -a "${WORKDIR}"/debian "${T}"
- #make -s mrproper || die "make mrproper failed"
- #make -s include/linux/version.h || die "make include/linux/version.h failed"
- #cd "${S}"
- #cp -aR "${WORKDIR}"/debian "${S}"/debian
-
- ## XFS LIBCRC kernel config fixes, FL-823
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-xfs-libcrc32c-fix.patch
-
- ## FL-4424: enable legacy support for MCELOG.
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-mcelog.patch
-
- ## do not configure debian devs certs.
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-nocerts.patch
-
- ## FL-3381. enable IKCONFIG
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-ikconfig.patch
-
- ## increase bluetooth polling patch
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/${PN}-${DEB_PV_BASE}-fix-bluetooth-polling.patch
- #epatch "${FILESDIR}"/${DEB_PV_BASE}/export_kernel_fpu_functions_5_3.patch
-
-
- local arch featureset subarch
- featureset="standard"
- if [[ ${REAL_ARCH} == x86 ]]; then
- arch="i386"
- subarch="686-pae"
- elif [[ ${REAL_ARCH} == amd64 ]]; then
- arch="x86_64"
- subarch="amd64"
- else
- die "Architecture not handled in ebuild"
- fi
- #cp "${FILESDIR}"/config-extract . || die
- #chmod +x config-extract || die
- #./config-extract ${arch} ${featureset} ${subarch} || die
- tar -xvaf "${FILESDIR}/config.tar.bz2" config/${arch}/default
- mv config/${arch}/default .config
- setno_config .config CONFIG_DEBUG
- if use ec2; then
- setyes_config .config CONFIG_BLK_DEV_NVME
- setyes_config .config CONFIG_XEN_BLKDEV_FRONTEND
- setyes_config .config CONFIG_XEN_BLKDEV_BACKEND
- setyes_config .config CONFIG_IXGBEVF
- fi
- if use sign-modules; then
- certs_dir=$(get_certs_dir)
- echo
- if [ -z "$certs_dir" ]; then
- eerror "No certs dir found in /etc/kernel/certs; aborting."
- die
- else
- einfo "Using certificate directory of $certs_dir for kernel module signing."
- fi
- echo
- # turn on options for signing modules.
- # first, remove existing configs and comments:
- zap_config .config CONFIG_MODULE_SIG
- # now add our settings:
- tweak_config .config CONFIG_MODULE_SIG y
- tweak_config .config CONFIG_MODULE_SIG_FORCE n
- tweak_config .config CONFIG_MODULE_SIG_ALL n
- tweak_config .config CONFIG_MODULE_SIG_HASH \"sha512\"
- tweak_config .config CONFIG_MODULE_SIG_KEY \"${certs_dir}/signing_key.pem\"
- tweak_config .config CONFIG_SYSTEM_TRUSTED_KEYRING y
- tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE y
- tweak_config .config CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 4096
- echo "CONFIG_MODULE_SIG_SHA512=y" >> .config
- ewarn "This kernel will ALLOW non-signed modules to be loaded with a WARNING."
- ewarn "To enable strict enforcement, YOU MUST add module.sig_enforce=1 as a kernel boot"
- ewarn "parameter (to params in /etc/boot.conf, and re-run boot-update.)"
- echo
- fi
- if use custom-cflags; then
- MARCH="$(python -c "import portage; print(portage.settings[\"CFLAGS\"])" | sed 's/ /\n/g' | grep "march")"
- if [ -n "$MARCH" ]; then
- sed -i -e 's/-mtune=generic/$MARCH/g' arch/x86/Makefile || die "Canna optimize this kernel anymore, captain!"
- fi
- fi
- # get config into good state:
- yes "" | make oldconfig >/dev/null 2>&1 || die
- cp .config "${T}"/config || die
- #make -s mrproper || die "make mrproper failed"
-}
-
-src_configure() {
- if use binary; then
-
- debug-print-function ${FUNCNAME} "${@}"
-
- tc-export_build_env
- 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="$(tc-getLD)"
- 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)
- )
-
- mkdir -p "${WORKDIR}"/modprep || die
- cp "${T}"/.config "${WORKDIR}"/modprep/ || die
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" olddefconfig || die "kernel configure failed"
- emake O="${WORKDIR}"/modprep "${MAKEARGS[@]}" modules_prepare || die "modules_prepare failed"
- cp -pR "${WORKDIR}"/modprep "${WORKDIR}"/build || die
- fi
-}
-
-src_compile() {
- if use binary; then
- debug-print-function ${FUNCNAME} "${@}"
-
- emake O="${WORKDIR}"/build "${MAKEARGS[@]}" all || "kernel build failed"
- fi
-}
-
-src_install() {
- # copy sources into place:
- dodir /usr/src
- cp -a "${S}" "${D}"/usr/src/${LINUX_SRCDIR} || die
- cd "${D}"/usr/src/${LINUX_SRCDIR}
- # prepare for real-world use and 3rd-party module building:
- make mrproper || die
- cp "${T}"/config .config || die
-
-
- # if we didn't use genkernel, we're done. The kernel source tree is left in
- # an unconfigured state - you can't compile 3rd-party modules against it yet.
- use binary || return
- make prepare || die
- make scripts || die
- # OK, now the source tree is configured to allow 3rd-party modules to be
- # built against it, since we want that to work since we have a binary kernel
- # built.
- cp -a "${WORKDIR}"/out/* "${D}"/ || die "couldn't copy output files into place"
- # module symlink fixup:
- rm -f "${D}"/lib/modules/*/source || die
- rm -f "${D}"/lib/modules/*/build || die
- cd "${D}"/lib/modules
- local moddir="$(ls -d [234]*)"
- ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/source || die
- ln -s /usr/src/${LINUX_SRCDIR} "${D}"/lib/modules/${moddir}/build || die
- # Fixes FL-14
- cp "${WORKDIR}/build/System.map" "${D}/usr/src/${LINUX_SRCDIR}/" || die
- cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/${LINUX_SRCDIR}/" || die
- if use sign-modules; then
- for x in $(find "${D}"/lib/modules -iname *.ko); do
- # $certs_dir defined previously in this function.
- ${WORKDIR}/build/scripts/sign-file sha512 $certs_dir/signing_key.pem $certs_dir/signing_key.x509 $x || die
- done
- # install the sign-file executable for future use.
- exeinto /usr/src/${LINUX_SRCDIR}/scripts
- doexe ${WORKDIR}/build/scripts/sign-file
- fi
-
- # The new naming scheme leaves an extra -${PN} at the name of various things in /boot. This should fix that.
- cd ${D}/boot
- for x in $(ls *); do
- xnew=${x%-${PN}}
- mv $x ${xnew} || die
- done
-
-
-}
-
-pkg_postinst() {
- if use binary && [[ -h "${ROOT}"usr/src/linux ]]; then
- rm "${ROOT}"usr/src/linux
- fi
- if use binary && [[ ! -e "${ROOT}"usr/src/linux ]]; then
- ewarn "With binary use flag enabled /usr/src/linux"
- ewarn "symlink automatically set to debian kernel"
- ln -sf ${LINUX_SRCDIR} "${ROOT}"usr/src/linux
- fi
-
- if [ -e ${ROOT}lib/modules ]; then
- depmod -a $DEP_PV
- fi
- if [ -e /etc/boot.conf ]; then
- ego boot update
- fi
-}
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
deleted file mode 100644
index 953904405d75..000000000000
--- a/sys-kernel/pf-sources/Manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-DIST genpatches-6.17-11.base.tar.xz 720796 BLAKE2B 230ae20155e4750d3afa98503b32bf68c853d2776866909f9b3ae90fde734b93857acefdee3ca155f5b7298f3ad3e7975abd5d074fb8d5e86440b8a424453d89 SHA512 6b438da081a1d017a37c017185aed8c9330ab7a67647a790573285c6caa109d0349ffc2f4f08467071fc258dcae0450303c82d1bc6b9c2c3a3dbd6604531a9b4
-DIST genpatches-6.17-11.extras.tar.xz 4324 BLAKE2B 97cb8e62bc57fe4bcbb8456d38a08000528625dc8bcbddaffb0db21ec58d66f4bd81008b2cc5b9f10378cf0797b7af1269f0e07e098c7bbd1529609c3bbc8ae3 SHA512 39ffedf67fdf97b3ac8033e1e4717df0957ee5b17b52bafaa5ed4d42dcc093d77237f61b53fc526fa0d66928e382d255a643da830f4ef71750b32db94c807b5f
-DIST genpatches-6.18-10.base.tar.xz 595340 BLAKE2B 0c83bfd6474e5e0e2a5c1144662070301a3f318d9a08990c6a12ec8776c66c2b06a4a89f19d709c9bb223edef43f1a24ce53b0ee25b58e15818c70a9164419d4 SHA512 6e223057c083b51c7e6b13deac95d5130b5cce796e5902788eb221f408528419a3990a6d37aa91ccef54c2a7874e447d1c2e59535c8fefb89501a7ff074e3f61
-DIST genpatches-6.18-10.extras.tar.xz 4324 BLAKE2B b87a2631899b124e8ffbea47b2d1b57dc8b4a2e76bd5019128e456fbef507a854d1a9bd1fbe8597ac1940dac186082f4ed608da4e9dc6c6fec5750c4a0a412c8 SHA512 fbc639ddb801c70cb7067fad412ec92ad8e84226a752b035c79903751db6ad4b816d3dcf80624ffcc39c31d44d021f52e61969c59afc0ffc622d535c1aac95aa
-DIST genpatches-6.19-10.base.tar.xz 898796 BLAKE2B 0f5e2a412042e7180d497df245d22e8d2a643d8a54e2bc6a73e8141526d3a89b1b5f7d87dd185d03294adfbeb8c380b5de00c1f047430a3e41eacb3b6c395676 SHA512 235160131d725c78b337b854d9298e64078e86996adebda85fca3b74445b60054ddf9a04e0bf6d01521debe2e9f8522d069022be6fb704644743f2454ce83013
-DIST genpatches-6.19-10.extras.tar.xz 4324 BLAKE2B 01844b9db209b1d92bbbafd87df83b664bef4b7845c9c40e6b09edcb03da1d3b50656bdc74dec7b78911126d4c63ee41963b94a1849861682c16eae9c4d71715 SHA512 bd0c5f02207b4ca0d4701b6630eb2f746bb32bc361b830871c24c2e1504206a28f5ab26f74544e88bf14e79d91ba9181cbf771f5ea4a6ef74dde13f15da7073d
-DIST genpatches-7.0-1.base.tar.xz 6992 BLAKE2B 90ef87ec861d6e645c9c7cb645985c84c3bcc4c516a30dc83d948bde284b88f3317a2e862add417dceb594f7695ba846594912168da29c9ef201554d9e8b51b1 SHA512 7900d45a9f0655db4106165107fb0b51867752278a35c324525418e7982660438bf97fef92a0168a513559157e8b9d76286da30099cccb5438c384809672c39a
-DIST genpatches-7.0-1.extras.tar.xz 4324 BLAKE2B 3aaa70843de0b5130a448f4be837bf250077059b3103b13f7b8fda36f36d7f2ba17a8f9f9f959ee7d16c1b863a10b245e5b8073cc991744004bd6c768325791f SHA512 83c04969b52c84301ae7fac9c3607bc2e6fdeb7f126217fe03c2938b8185e227b1ce2599456238f48cc9fcf958aa2c652acd12b7525c31b60f4547127541d843
-DIST genpatches-7.0-9.base.tar.xz 247760 BLAKE2B 7bbbb79704fb66fc150677b72c5460534d443aba4ebfe7a0fa0a9eed15bb2bef0a2f7aa8005986f78488801ffe86c96aae425711fe8e43c04636a5e85b9ea202 SHA512 403a5bcec73c7da8d5ad41a2e7e1fb5f07ab1a486aa67903b07344b1506ee4129dd2b284a3871fdde1f2cb5b81655012f1012210861e18bea8f814e614d48ad2
-DIST genpatches-7.0-9.extras.tar.xz 3980 BLAKE2B 8ca86c8fbaf47149082d14088f208f7d0724f898545e6aa08ac7230268e1ffc1b6fcbec0cd70bc66ac0eed842a7d1e1df728a1199204bf1f8ff2f1d9e43f7066 SHA512 7f6d6ae539f0659f1171b6de176160f417eb67b1519903fe699fe88587af7a9b037ee63d0468e367eb4e2ba71fac77706136daa27da37912c6c8121bde9f9285
-DIST linux-6.17-pf4.tar.gz 253598641 BLAKE2B 5a6774f02f1ea67e587cf1374c8e826bb2bf73ddaed3741d60f02ae2c84217ea845233b0ff01d2043b61cf360f1b5a289d329deb41cec804106a63e9296e7619 SHA512 4abf01fbedbc448b0714f175112e35c6e1d1ace89ce3a4ea93978fb3c7e138daa2710bd718255dd59ec90d9ada554179988ae2bd0ca9798798ee76ab3e24b454
-DIST linux-6.18-pf6.tar.gz 254953102 BLAKE2B 2eb7606d9a28a70dec23853bb321b78642c0202e6e891ddb5601afec1938365906171cfb53507d7b24167f62e55850d75f0e1fb570589a9ad06831b1bea159dc SHA512 80dd56acaa51577dda10f56679897ab679306d0b9693ba71c44bf66cf4ee9f81cb039492e731c5a9628f2a5fb66b1511ab8d4650d0a9afd5be28bea158fe9ac6
-DIST linux-6.19-pf5.tar.gz 257556076 BLAKE2B 0687bfee723acc5f0c370a3c6ee35a219408c90cd72bde5e621a610a2388a3d6dc1abdc6ae2a43ff9a2be740d14367dac679cb2de619a3a22d299f7e2c65e210 SHA512 04b4c5caa3cf3b00d48be999e57ac1b7a1f0040175c67b22955adcb07bac14f99b1a3faf3cb613933532b9fa317c435bd97e4161b57be3eaa4fc3fbb796f58bb
-DIST linux-7.0-pf1.tar.gz 259987054 BLAKE2B 64a94c6b68ec5de3872c44de26452e6a540097e19cc653969b746891d5fbd261ffbe8da3f548bf5c1edbc96424c52b1aa89237656c41926c82f15991f8517a78 SHA512 89a59932bb1645736791676dcd25e9969375296d5a0a167f4dd6d7ddd3b79bba5fd05c88001b0bec5711804f9b63f20590dc83dce17a8fb067744525b5426857
-DIST linux-7.0-pf4.tar.gz 259991016 BLAKE2B 6a5337a1f7bae1b44391ac6caae985d72c1fe9f030506687a4430049f0e3143891c28c40fef687323ba25496a92fce59d8208903c4f188897004939a65d2e095 SHA512 6df6cc81574ea4378f6797801a4ad50fb17f78d342a2f1a981257e519a4c067f2b80c6f8f9e1911bad982a070996cc6e50f7f8bd8aff7165c40632c3cf1c30e7
diff --git a/sys-kernel/pf-sources/files/pf-sources-6.19_p4-ima_validate_range.patch b/sys-kernel/pf-sources/files/pf-sources-6.19_p4-ima_validate_range.patch
deleted file mode 100644
index a3a532262348..000000000000
--- a/sys-kernel/pf-sources/files/pf-sources-6.19_p4-ima_validate_range.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 10d1c75ed4382a8e79874379caa2ead8952734f9 Mon Sep 17 00:00:00 2001
-From: Harshit Mogalapalli <harshit.mogalapalli@oracle.com>
-Date: Tue, 30 Dec 2025 22:16:07 -0800
-Subject: [PATCH] ima: verify the previous kernel's IMA buffer lies in
- addressable RAM
-
-When the second-stage kernel is booted with a limiting command line (e.g.
-"mem=<size>"), the IMA measurement buffer handed over from the previous
-kernel may fall outside the addressable RAM of the new kernel. Accessing
-such a buffer can fault during early restore.
-
-Introduce a small generic helper, ima_validate_range(), which verifies
-that a physical [start, end] range for the previous-kernel IMA buffer lies
-within addressable memory:
- - On x86, use pfn_range_is_mapped().
- - On OF based architectures, use page_is_ram().
-
-Signed-off-by: Harshit Mogalapalli <harshit.mogalapalli@oracle.com>
-Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
----
- include/linux/ima.h | 1 +
- security/integrity/ima/ima_kexec.c | 35 ++++++++++++++++++++++++++++++
- 2 files changed, 36 insertions(+)
-
-diff --git a/include/linux/ima.h b/include/linux/ima.h
-index 8e29cb4e6a01d..abf8923f8fc51 100644
---- a/include/linux/ima.h
-+++ b/include/linux/ima.h
-@@ -69,6 +69,7 @@ static inline int ima_measure_critical_data(const char *event_label,
- #ifdef CONFIG_HAVE_IMA_KEXEC
- int __init ima_free_kexec_buffer(void);
- int __init ima_get_kexec_buffer(void **addr, size_t *size);
-+int ima_validate_range(phys_addr_t phys, size_t size);
- #endif
-
- #ifdef CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT
-diff --git a/security/integrity/ima/ima_kexec.c b/security/integrity/ima/ima_kexec.c
-index 5beb69edd12fd..36a34c54de58b 100644
---- a/security/integrity/ima/ima_kexec.c
-+++ b/security/integrity/ima/ima_kexec.c
-@@ -12,6 +12,8 @@
- #include <linux/kexec.h>
- #include <linux/of.h>
- #include <linux/ima.h>
-+#include <linux/mm.h>
-+#include <linux/overflow.h>
- #include <linux/reboot.h>
- #include <asm/page.h>
- #include "ima.h"
-@@ -294,3 +296,36 @@ void __init ima_load_kexec_buffer(void)
- pr_debug("Error restoring the measurement list: %d\n", rc);
- }
- }
-+
-+/*
-+ * ima_validate_range - verify a physical buffer lies in addressable RAM
-+ * @phys: physical start address of the buffer from previous kernel
-+ * @size: size of the buffer
-+ *
-+ * On success return 0. On failure returns -EINVAL so callers can skip
-+ * restoring.
-+ */
-+int ima_validate_range(phys_addr_t phys, size_t size)
-+{
-+ unsigned long start_pfn, end_pfn;
-+ phys_addr_t end_phys;
-+
-+ if (check_add_overflow(phys, (phys_addr_t)size - 1, &end_phys))
-+ return -EINVAL;
-+
-+ start_pfn = PHYS_PFN(phys);
-+ end_pfn = PHYS_PFN(end_phys);
-+
-+#ifdef CONFIG_X86
-+ if (!pfn_range_is_mapped(start_pfn, end_pfn))
-+#else
-+ if (!page_is_ram(start_pfn) || !page_is_ram(end_pfn))
-+#endif
-+ {
-+ pr_warn("IMA: previous kernel measurement buffer %pa (size 0x%zx) lies outside available memory\n",
-+ &phys, size);
-+ return -EINVAL;
-+ }
-+
-+ return 0;
-+}
---
-2.51.0
diff --git a/sys-kernel/pf-sources/metadata.xml b/sys-kernel/pf-sources/metadata.xml
deleted file mode 100644
index 9c6be453cc9f..000000000000
--- a/sys-kernel/pf-sources/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>iohann.s.titov@gmail.com</email>
- <name>Ivan S. Titov</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <maintainer status="active">
- <email>oleksandr@natalenko.name</email>
- <name>Oleksandr Natalenko</name>
- </maintainer>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- <remote-id type="codeberg">pf-kernel/linux</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/pf-sources/pf-sources-6.17_p4.ebuild b/sys-kernel/pf-sources/pf-sources-6.17_p4.ebuild
deleted file mode 100644
index e9cbfe15d262..000000000000
--- a/sys-kernel/pf-sources/pf-sources-6.17_p4.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Define what default functions to run.
-ETYPE="sources"
-
-# Use genpatches but don't include the 'experimental' use flag.
-K_EXP_GENPATCHES_NOUSE="1"
-
-# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
-# is the wanted value here, but the genpatches patch set can be bumped if it includes some
-# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
-# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
-K_GENPATCHES_VER="11"
-
-# -pf patch set already sets EXTRAVERSION to kernel Makefile.
-K_NOSETEXTRAVERSION="1"
-
-# pf-sources is not officially supported/covered by the Gentoo security team.
-K_SECURITY_UNSUPPORTED="1"
-
-# Define which parts to use from genpatches - experimental is already included in the -pf patch
-# set.
-K_WANT_GENPATCHES="base extras"
-
-# Major kernel version, e.g. 5.14.
-SHPV="${PV/_p*/}"
-
-# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
-PFPV="${PV/_p/-pf}"
-
-inherit kernel-2 optfeature
-detect_version
-
-DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
-HOMEPAGE="https://pfkernel.natalenko.name/
- https://dev.gentoo.org/~alicef/genpatches/"
-SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
- ${GENPATCHES_URI}"
-
-S="${WORKDIR}/linux-${PFPV}"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
- see: ${HOMEPAGE}."
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the pf developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
- # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
- unpack ${A}
-
- mv linux linux-${PFPV} || die "Failed to move source directory"
-}
-
-src_prepare() {
- # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
- # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
- if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
- find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
- die "Failed to delete vanilla linux patches in src_prepare."
- fi
-
- # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
- eapply "${WORKDIR}"/*.patch
- default
-}
-
-pkg_postinst() {
- # Fixes "wrongly" detected directory name, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postinst
-
- optfeature "userspace KSM helper" sys-process/uksmd
-}
-
-pkg_postrm() {
- # Same here, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/pf-sources/pf-sources-6.18_p6.ebuild b/sys-kernel/pf-sources/pf-sources-6.18_p6.ebuild
deleted file mode 100644
index 812c818889dd..000000000000
--- a/sys-kernel/pf-sources/pf-sources-6.18_p6.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Define what default functions to run.
-ETYPE="sources"
-
-# Use genpatches but don't include the 'experimental' use flag.
-K_EXP_GENPATCHES_NOUSE="1"
-
-# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
-# is the wanted value here, but the genpatches patch set can be bumped if it includes some
-# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
-# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
-K_GENPATCHES_VER="10"
-
-# -pf patch set already sets EXTRAVERSION to kernel Makefile.
-K_NOSETEXTRAVERSION="1"
-
-# pf-sources is not officially supported/covered by the Gentoo security team.
-K_SECURITY_UNSUPPORTED="1"
-
-# Define which parts to use from genpatches - experimental is already included in the -pf patch
-# set.
-K_WANT_GENPATCHES="base extras"
-
-# Major kernel version, e.g. 5.14.
-SHPV="${PV/_p*/}"
-
-# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
-PFPV="${PV/_p/-pf}"
-
-inherit kernel-2 optfeature
-detect_version
-
-DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
-HOMEPAGE="https://pfkernel.natalenko.name/
- https://dev.gentoo.org/~alicef/genpatches/"
-SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
- ${GENPATCHES_URI}"
-
-S="${WORKDIR}/linux-${PFPV}"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
- see: ${HOMEPAGE}."
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the pf developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
- # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
- unpack ${A}
-
- mv linux linux-${PFPV} || die "Failed to move source directory"
-}
-
-src_prepare() {
- # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
- # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
- if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
- find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
- die "Failed to delete vanilla linux patches in src_prepare."
- fi
-
- # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
- eapply "${WORKDIR}"/*.patch
- default
-}
-
-pkg_postinst() {
- # Fixes "wrongly" detected directory name, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postinst
-
- optfeature "userspace KSM helper" sys-process/uksmd
-}
-
-pkg_postrm() {
- # Same here, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/pf-sources/pf-sources-6.19_p5.ebuild b/sys-kernel/pf-sources/pf-sources-6.19_p5.ebuild
deleted file mode 100644
index f3cbdebbf94c..000000000000
--- a/sys-kernel/pf-sources/pf-sources-6.19_p5.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Define what default functions to run.
-ETYPE="sources"
-
-# Use genpatches but don't include the 'experimental' use flag.
-K_EXP_GENPATCHES_NOUSE="1"
-
-# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
-# is the wanted value here, but the genpatches patch set can be bumped if it includes some
-# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
-# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
-K_GENPATCHES_VER="10"
-
-# -pf patch set already sets EXTRAVERSION to kernel Makefile.
-K_NOSETEXTRAVERSION="1"
-
-# pf-sources is not officially supported/covered by the Gentoo security team.
-K_SECURITY_UNSUPPORTED="1"
-
-# Define which parts to use from genpatches - experimental is already included in the -pf patch
-# set.
-K_WANT_GENPATCHES="base extras"
-
-# Major kernel version, e.g. 5.14.
-SHPV="${PV/_p*/}"
-
-# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
-PFPV="${PV/_p/-pf}"
-
-inherit kernel-2 optfeature
-detect_version
-
-DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
-HOMEPAGE="https://pfkernel.natalenko.name/
- https://dev.gentoo.org/~alicef/genpatches/"
-SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
- ${GENPATCHES_URI}"
-
-S="${WORKDIR}/linux-${PFPV}"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
- see: ${HOMEPAGE}."
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the pf developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
- # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
- unpack ${A}
-
- mv linux linux-${PFPV} || die "Failed to move source directory"
-}
-
-src_prepare() {
- # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
- # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
- if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
- find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
- die "Failed to delete vanilla linux patches in src_prepare."
- fi
-
- # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
- eapply "${WORKDIR}"/*.patch
- eapply "${FILESDIR}/pf-sources-6.19_p4-ima_validate_range.patch"
- default
-}
-
-pkg_postinst() {
- # Fixes "wrongly" detected directory name, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postinst
-
- optfeature "userspace KSM helper" sys-process/uksmd
-}
-
-pkg_postrm() {
- # Same here, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/pf-sources/pf-sources-7.0_p1.ebuild b/sys-kernel/pf-sources/pf-sources-7.0_p1.ebuild
deleted file mode 100644
index b22234253589..000000000000
--- a/sys-kernel/pf-sources/pf-sources-7.0_p1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Define what default functions to run.
-ETYPE="sources"
-
-# Use genpatches but don't include the 'experimental' use flag.
-K_EXP_GENPATCHES_NOUSE="1"
-
-# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
-# is the wanted value here, but the genpatches patch set can be bumped if it includes some
-# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
-# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
-K_GENPATCHES_VER="1"
-
-# -pf patch set already sets EXTRAVERSION to kernel Makefile.
-K_NOSETEXTRAVERSION="1"
-
-# pf-sources is not officially supported/covered by the Gentoo security team.
-K_SECURITY_UNSUPPORTED="1"
-
-# Define which parts to use from genpatches - experimental is already included in the -pf patch
-# set.
-K_WANT_GENPATCHES="base extras"
-
-# Major kernel version, e.g. 5.14.
-SHPV="${PV/_p*/}"
-
-# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
-PFPV="${PV/_p/-pf}"
-
-inherit kernel-2 optfeature
-detect_version
-
-DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
-HOMEPAGE="https://pfkernel.natalenko.name/
- https://dev.gentoo.org/~alicef/genpatches/"
-SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
- ${GENPATCHES_URI}"
-
-S="${WORKDIR}/linux-${PFPV}"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
- see: ${HOMEPAGE}."
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the pf developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
- # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
- unpack ${A}
-
- mv linux linux-${PFPV} || die "Failed to move source directory"
-}
-
-src_prepare() {
- # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
- # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
- if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
- find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
- die "Failed to delete vanilla linux patches in src_prepare."
- fi
-
- # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
- eapply "${WORKDIR}"/*.patch
- default
-}
-
-pkg_postinst() {
- # Fixes "wrongly" detected directory name, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postinst
-
- optfeature "userspace KSM helper" sys-process/uksmd
-}
-
-pkg_postrm() {
- # Same here, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/pf-sources/pf-sources-7.0_p4.ebuild b/sys-kernel/pf-sources/pf-sources-7.0_p4.ebuild
deleted file mode 100644
index 1f2c9f81f657..000000000000
--- a/sys-kernel/pf-sources/pf-sources-7.0_p4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Define what default functions to run.
-ETYPE="sources"
-
-# Use genpatches but don't include the 'experimental' use flag.
-K_EXP_GENPATCHES_NOUSE="1"
-
-# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
-# is the wanted value here, but the genpatches patch set can be bumped if it includes some
-# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
-# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
-K_GENPATCHES_VER="9"
-
-# -pf patch set already sets EXTRAVERSION to kernel Makefile.
-K_NOSETEXTRAVERSION="1"
-
-# pf-sources is not officially supported/covered by the Gentoo security team.
-K_SECURITY_UNSUPPORTED="1"
-
-# Define which parts to use from genpatches - experimental is already included in the -pf patch
-# set.
-K_WANT_GENPATCHES="base extras"
-
-# Major kernel version, e.g. 5.14.
-SHPV="${PV/_p*/}"
-
-# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
-PFPV="${PV/_p/-pf}"
-
-inherit kernel-2 optfeature
-detect_version
-
-DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
-HOMEPAGE="https://pfkernel.natalenko.name/
- https://dev.gentoo.org/~alicef/genpatches/"
-SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
- ${GENPATCHES_URI}"
-
-S="${WORKDIR}/linux-${PFPV}"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
- see: ${HOMEPAGE}."
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the pf developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-src_unpack() {
- # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
- # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
- unpack ${A}
-
- mv linux linux-${PFPV} || die "Failed to move source directory"
-}
-
-src_prepare() {
- # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
- # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
- if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
- find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
- die "Failed to delete vanilla linux patches in src_prepare."
- fi
-
- # v7.0-pf4 source includes natalenko cherry-pick f8e23c169fe5
- # ("net: skbuff: propagate shared-frag marker through frag-transfer
- # helpers"). genpatches-7.0-9 ships the same fix as 1500_net-skbuff-
- # prop-shared-frag-marker-through-pskb-copy.patch — drop the
- # duplicate to avoid a same-content collision in src_prepare.
- rm -f "${WORKDIR}"/1500_net-skbuff*.patch || die
-
- # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
- eapply "${WORKDIR}"/*.patch
- default
-}
-
-pkg_postinst() {
- # Fixes "wrongly" detected directory name, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postinst
-
- optfeature "userspace KSM helper" sys-process/uksmd
-}
-
-pkg_postrm() {
- # Same here, bgo#862534.
- local KV_FULL="${PFPV}"
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-image/Manifest b/sys-kernel/raspberrypi-image/Manifest
deleted file mode 100644
index 446378739e48..000000000000
--- a/sys-kernel/raspberrypi-image/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-DIST raspberrypi-firmware-1.20230405.tar.gz 187674867 BLAKE2B 8f35b2dd906cd2459c83c3cec2ba10e8388afa35213f80bd3fd7a5ba7061c7ad0f9db5a5c39ab476f8a2b4754cf80665c2dff54f7ae61edf3c85d91ae37f9f9f SHA512 ddc9baeba4e2e442bfe41e427c7ecdd38ee6d44ac4e7c297ae7d5a6c64b0aa1a81206929baeb9aceb74de6f96707b30040e82450ef4f01a78b958299c72e3857
-DIST raspberrypi-firmware-1.20240424.tar.gz 153632287 BLAKE2B 7718d26ee66751484edd359412bc186d7ef5e68af97abe814b340b4c21fb4d6f7abc2caa8c7d0ec62ac742a9c932a08b4393d32d4ba79480c9648d742bead0b8 SHA512 90ad6872886f3efb004b57e258ba8ec0ef0bf619e251e2f0d259c22ef9cb816f6b0f2d5fb1f3a0ece13bf69fecfe8fe70793b90ea243163b5a585930e554e3d5
-DIST raspberrypi-firmware-1.20240529.tar.gz 153776579 BLAKE2B 8348429940056600e9c1a3f63d2575fc285ef379ad1663460620d1b9fb65ef1b32d789a0b525903de90e5ec9886b173c7e3692a87c4ee3c9904c88c1bf85b071 SHA512 1b127924960efe8430250fae7a496805e4285d1b72b180a829be6d5eee6be2ecf325bdf9c81f9806ef9aae0adeb5e8832197e79c281754b87028fcdfe1b0961b
-DIST raspberrypi-firmware-1.20240902.tar.gz 154483648 BLAKE2B e3d9fabb23246d90948004dde37f2125779a86aa62737b51b03cacea13d1ca715724587b0da106efba19c80a1bafcf1537101ce13ba4374602ca9e4957c81f87 SHA512 b5b1a74e1e9f9760fd19f98a35505b2e127e212c17afbdf08e1b92198f32de73655fb24c16d662318ccf50621ae5e1a6ed5aa877d2d1cc654d26b8ff168c1e82
-DIST raspberrypi-firmware-1.20260408.tar.gz 199845922 BLAKE2B 2d75fafd594157248e1f5f3e58e7647ca950870df63c0a37be06c5190e67c71378176f70d51df796c2b3c8502c24e57649f792c4c416a9f2c42833fd004f3c96 SHA512 e353f9fe0d23874d5e7d72fca041358a9c9046e9fd071be604c0a840dbc95711ba7b7af39e78159e2e821d2af088ef28a22cb9ccaae70e0d2bd82b7ba2730402
-DIST raspberrypi-firmware-1.20260513.tar.gz 179722290 BLAKE2B e8389e546e167ea723a79eb2cf1a2290a2d9f3e58358337d16190f05f308a597dcd3fff6fa80d976f0971c0a1863e6b672dae373dc996bc052af47eb84a8030b SHA512 7c5418bb89398357731ecea31864b9e721e036b4dff1b8e8ffea4663d477f00e034bd566596fd0edbfa50cc6416fee71dd7eb1fcbdeffe12e272fe1475749984
-DIST raspberrypi-firmware-1.20260521.tar.gz 179761067 BLAKE2B d64b2a252def19d8d4d47a51e532cbec6c1a3544a9ce07e91963111ad71823ccf4a8a40b18d5556ca34ba616b50a84ea79f8d042518834e4ec73d83916730ab5 SHA512 92e9680a521cfb3b7824ed5a50026414ace49765b568b66cd919eb973a46ecf13743fe2e11145a7d28036591705b36198c3cc2765a132f32caf2fe22206c3818
-DIST raspberrypi-image-1.20250915.tar.gz 199753611 BLAKE2B 0d4297832e24b1faa8c889d5f8574a6d1b400f01ae9b598ef622d5e0772a68c2126ff9b56ab5f6f6047250985e62220b3ac70a64f3a930e75cf1e56d44c89cde SHA512 ce1d4027522e6040ca6307d9f5764e13702e13ede07c3454bd2a286d8bbb504a40a1d03b9e7dcec8d9281a89e72e357383e0f796df75c72a1b40f5478b47c81c
diff --git a/sys-kernel/raspberrypi-image/metadata.xml b/sys-kernel/raspberrypi-image/metadata.xml
deleted file mode 100644
index a5a248c9d8e9..000000000000
--- a/sys-kernel/raspberrypi-image/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>ceamac@gentoo.org</email>
- <name>Viorel Munteanu</name>
- </maintainer>
- <upstream>
- <remote-id type="github">raspberrypi/firmware</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.1.21_p20230405.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.1.21_p20230405.ebuild
deleted file mode 100644
index cb7acfc65779..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.1.21_p20230405.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-# Temporary safety measure to prevent ending up with a pair of
-# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware
-# both of which installed device tree files.
-# Restore to simply "sys-boot/raspberrypi-firmware" when the mentioned version
-# and all older ones are deleted.
-RDEPEND=">sys-boot/raspberrypi-firmware-1.20190709"
-
-src_prepare() {
- default
-
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.47_p20250915.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.47_p20250915.ebuild
deleted file mode 100644
index 9845833c076b..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.47_p20250915.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- # This release is bugged; the original archive contains kernel 6.12.25
- # but the release from 2025-09-15 should be 6.12.47
- # so use the commit hash instead.
- # The corresponding raspberrypi-sources is also 6.6.47 (timestamped next day, 20250916).
- COMMIT="e57538c91b473d23f98bf41fcffdc61b4198a632"
-
- # Rename to raspberrypi-image- instead of raspberrypi-firmware- to avoid
- # overwriting the distfile for sys-boot/raspberrypi-firmware-1.20250915
- # (normally this would use the same upstream filename)
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${COMMIT}.tar.gz -> raspberrypi-image-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${COMMIT}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-RDEPEND="sys-boot/raspberrypi-firmware"
-
-src_prepare() {
- default
-
- if [[ ${PV} != 9999 ]]; then
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.75_p20260408.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.75_p20260408.ebuild
deleted file mode 100644
index a617be809a7c..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.12.75_p20260408.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-RDEPEND="sys-boot/raspberrypi-firmware"
-
-src_prepare() {
- default
-
- if [[ ${PV} != 9999 ]]; then
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.29_p20260513.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.29_p20260513.ebuild
deleted file mode 100644
index 9eae829ad252..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.29_p20260513.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* ~arm ~arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-RDEPEND="sys-boot/raspberrypi-firmware"
-
-src_prepare() {
- default
-
- if [[ ${PV} != 9999 ]]; then
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.32_p20260521.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.32_p20260521.ebuild
deleted file mode 100644
index 9eae829ad252..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.18.32_p20260521.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* ~arm ~arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-RDEPEND="sys-boot/raspberrypi-firmware"
-
-src_prepare() {
- default
-
- if [[ ${PV} != 9999 ]]; then
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.28_p20240424.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.28_p20240424.ebuild
deleted file mode 100644
index f29a75a4879a..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.28_p20240424.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-# Temporary safety measure to prevent ending up with a pair of
-# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware
-# both of which installed device tree files.
-# Restore to simply "sys-boot/raspberrypi-firmware" when the mentioned version
-# and all older ones are deleted.
-RDEPEND=">sys-boot/raspberrypi-firmware-1.20190709"
-
-src_prepare() {
- default
-
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.31_p20240529.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.31_p20240529.ebuild
deleted file mode 100644
index f29a75a4879a..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.31_p20240529.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-# Temporary safety measure to prevent ending up with a pair of
-# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware
-# both of which installed device tree files.
-# Restore to simply "sys-boot/raspberrypi-firmware" when the mentioned version
-# and all older ones are deleted.
-RDEPEND=">sys-boot/raspberrypi-firmware-1.20190709"
-
-src_prepare() {
- default
-
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.47_p20240902.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.47_p20240902.ebuild
deleted file mode 100644
index f29a75a4879a..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-6.6.47_p20240902.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* arm arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-# Temporary safety measure to prevent ending up with a pair of
-# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware
-# both of which installed device tree files.
-# Restore to simply "sys-boot/raspberrypi-firmware" when the mentioned version
-# and all older ones are deleted.
-RDEPEND=">sys-boot/raspberrypi-firmware-1.20190709"
-
-src_prepare() {
- default
-
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild
deleted file mode 100644
index ea16409df898..000000000000
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit mount-boot
-
-# Go to e.g. https://github.com/raspberrypi/firmware/tree/1.20211029/modules
-# for the latest tag to see which kernel version it corresponds to.
-
-DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
-HOMEPAGE="https://github.com/raspberrypi/firmware"
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
- EGIT_CLONE_TYPE="shallow"
- inherit git-r3
-else
- [[ $(ver_cut 4) == p ]] || die "Unsupported version format, tweak the ebuild."
- MY_PV="1.$(ver_cut 5)"
-
- SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
- S="${WORKDIR}/firmware-${MY_PV}"
- KEYWORDS="-* ~arm ~arm64"
-fi
-
-LICENSE="GPL-2 raspberrypi-videocore-bin"
-SLOT="0"
-RESTRICT="binchecks strip"
-
-RDEPEND="sys-boot/raspberrypi-firmware"
-
-src_prepare() {
- default
-
- if [[ ${PV} != 9999 ]]; then
- local expected_kernel_version="$(ver_cut 1-3)+"
- local found_kernel_version=( "${S}"/modules/$(ver_cut 1).*.*+ )
-
- found_kernel_version=${found_kernel_version[0]}
- found_kernel_version=${found_kernel_version##*/}
-
- if [[ ${expected_kernel_version} != ${found_kernel_version} ]] ; then
- eerror "Expected kernel version: ${expected_kernel_version}"
- eerror "Found kernel version: ${found_kernel_version}"
- die "Please fix ebuild version to contain ${found_kernel_version}!"
- fi
-
- if [[ ! -d "${S}"/modules/${expected_kernel_version} ]] ; then
- eerror "Kernel module directory is missing!"
- die "${S}/modules/${expected_kernel_version} not found!"
- fi
- fi
-}
-
-src_install() {
- insinto /lib/modules
- doins -r modules/*
- insinto /boot
- doins boot/*.img
-
- doins boot/*.dtb
- doins -r boot/overlays
-}
diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest
deleted file mode 100644
index effb1e7f3e68..000000000000
--- a/sys-kernel/raspberrypi-sources/Manifest
+++ /dev/null
@@ -1,21 +0,0 @@
-DIST genpatches-6.1-25.base.tar.xz 1200876 BLAKE2B 7050f6e95a28f5886cce9b53823f6219a22a5b23cad5471bfa9e83eca208b8369395075e9aabdbe4d33b53b8c01aff3d3d0886115850e327baf12a946b851e1d SHA512 ea30e0d44ab64a2aa36ad7a83cf2df7924ba5e699c92268bc5f3d54acadefc9c836a00e7e27cc02400a6751ffe1c3cd45e6b9891a3fc0aa8d23ad8e535f18e4c
-DIST genpatches-6.1-25.extras.tar.xz 3812 BLAKE2B f73698c57031c9d7f5edd9ba2b865e32064c38b528649a8144f856bacf35ae3570d1fc936ee25a88bd52fd0765fff05bec42686b8b3fc5566df187bd57d59be5 SHA512 ac2bdccbc6bd1de82cbdfe4edac978e068445b8e064bcc6a833b04f15b86592304c19651884dc0769719ade1b220c8c0f704beca240ce24ab370621ad6849aee
-DIST genpatches-6.12-53.base.tar.xz 3158264 BLAKE2B 3918929e67fd38befe0ce004ede77239cb7e42c9e4bdc6675575655ecb8bdc6a223b78e461d2e40dd956bef3bbe96947602586308fff52cf34ed7e6de94173ee SHA512 3e0ad430b1bf03d97a1ec83dc42350bf52a0c3d328fdeafe1942528c1bc036ccba370b3b37be4184cc0284d92797865abb0c1fc8bca784ca7d1e147965bf9bf0
-DIST genpatches-6.12-53.extras.tar.xz 4056 BLAKE2B 774fe7c42fa905bddf739197b5c1bede9cb1e61f737030af42cf452d2548e3cff90286ef088d09e524e3d374478eb36ce6d837cabe3d03b85447269b19bab964 SHA512 6f142a3ff24c5695f634bfcc669a677397e14cca2c32782b7f401f1838b00cdd1e975d5bb55d39d96fee0f0b42a25ef0b415e1c49cad60aca0ce3d65ede61ae8
-DIST genpatches-6.12-80.base.tar.xz 4541552 BLAKE2B 28cdc8b73ea58c7d7e96a8e966db4cdba72e85c73afe2916d8b72e8eccfca9064a31c6b97473a814de0b6ff819c2443bacd9c6eeda25ce54b73d07a1b8212cf8 SHA512 8d5859db1135613dc1c6e09c3b6d1fb0830c48285b49aa469ccbc7ce90d7125c0cac709d7bf784e6ed22cb202c746ddb7b6bad0547cac9f4d91c322c8cde347c
-DIST genpatches-6.12-80.extras.tar.xz 4316 BLAKE2B 848f916246908060f85616a0559308837bb45218672c969e1127d44e745bdf2aec1aee43281708dc89b2411dd90602b5123e93e1c0d0bfc465e49fde45a56d6f SHA512 656e55a7707206a79d1958cf515f590219589c8cd8080b88de6bb4aa2f36c4d24c0d55317b200be54b4313dcfd61b463a27ab24c056456538f9b80501d04e52e
-DIST genpatches-6.18-30.base.tar.xz 1698816 BLAKE2B 5733b230407290c2b82c81bb6920b683b6294bfa9813bfbe562b7e12b817fbc7393213a05a9bd5897f18ea19b4252723770fabb959746acb58d032f83f5be041 SHA512 9dbeceae0f7f2843b95a3d2ece20a37d4832fbd781effd8080992b2908ac33f768c4952c3e7e016f7357dcfe834f7d72735a29263c98e18c1b6f47fdebc2dd84
-DIST genpatches-6.18-30.extras.tar.xz 3980 BLAKE2B a28307546e8f09b1d229e067395dfb8b432cf8139584a2a2175b3d3bed2ea82e1006599594b3cea4b0bf25780e7c640f7710c0c9bb19357d89ddb3305e493361 SHA512 7a11c817adf2ff49898a0624c396c896ab8f3fd92b4b3441c05eb08df0fb683272dab1caf8dfb6cb76350161144aa7f27b2246ecb37458374e71aace50681f89
-DIST genpatches-6.18-36.base.tar.xz 1822060 BLAKE2B 7a3534895e5651b883542aa854ab38876bb5981e3870375171da834b75447923ccea19dab9f6284419e26697c94c7f265a7d5c48dec02a1a416f807ed4aa3a13 SHA512 13d175a2104190b6773739352518abce2f3888fcea44d496ba0ebcc61a4f87aea8848c67049cb01685d79748e06751051ac5059040af170b9dd47ad4c5e287e9
-DIST genpatches-6.18-36.extras.tar.xz 3980 BLAKE2B 917a9996236e63619c64b965984e76f14f0258e6148a9da675336876147b632e99871e29ddf1cd088068230e895a40ee4b5165d141afb940191179c0a90dd133 SHA512 2f71969239b22bde8b0b5c09cc08601ea2cb23fca23cc4dffe86a74cb7ed131a56710719deacadc8eadf4c79834f88b494ce5d7a0bf72ffa05ce97ab02a2e612
-DIST genpatches-6.6-38.base.tar.xz 2066552 BLAKE2B 61205dc2b5d17f15af23d8eb8af0720fe5f6c560ae671c98252d7c9e28e9b93fdde067811664f095ce103beab9bcb1810e9ab9e32a82d972cbbb44ce5257f097 SHA512 ef6d0814f5bd646c49e54fadc46e73ef118466978a6fba1bd18d832e6dd089a1699ec14f40e769e061bdb84f843e94c190b31729b48a36a317d66da6a8d00622
-DIST genpatches-6.6-38.extras.tar.xz 4052 BLAKE2B 7d25eaaf329cc043fd5189114c5d100f2a3dad9a97b0c87cfc9541ff95ffeb9e3a8a723e5c4fa1f9241c4fd67aac5aa1e4aba96f5cedad5609463b96bc272da7 SHA512 d5957d7ca9718bf87621fb4200b5bbc4e1457fc7fda1500714fc88730a4dfd4dce81e386bd2a2f88e02aff16c46e35402421439e6393a5ad15848d26d9056b44
-DIST genpatches-6.6-54.base.tar.xz 2922380 BLAKE2B f65404127bb6547208aeddac1996a4a2659bd99ff7429bcaff28247a867c000e962457725eab80db2c76297f1e5c27806dc6fb23e31d5694b6df783e65995227 SHA512 102f721f87478ad18599bb5ff65cd236180dd3d9d058786a5306cb36be3f30a2d2ef684e83b6f458d4de78a196323e87d346eba704bfbce733010aed6ac3d7f9
-DIST genpatches-6.6-54.extras.tar.xz 4060 BLAKE2B 22ea7d143bfe168bc5d9d30832423bcd33b49c1b3b5ddf031000d7d9fce96f6fa0fb1d06fd33b27a5de9c9f3833a139557f0ed7408ef12b23568784ff38ca7a9 SHA512 1b1a229b5923e7f3426139b17608b5feae6061313f7aea66de23f09a54696def39bf4b384c4e884a3e5c758c08e04dcfe1ab7f2aa331db74b59f5e511c6f2c5b
-DIST linux-6.1.21_p20230405-raspberrypi.tar.gz 221783059 BLAKE2B 5e9e13b6410df1b9e4bcdef85a6b33de83621a74d89bb6760dcff86cd736262513f613e9279a8dccf5ca306a807c16652084a3e6b4cb34c3658a8e9e3196c5d1 SHA512 0c8252833bb737977c0981ed48764ff9742de7cb494fefec532c90312e0d8e0e48a230dd14a0d6f99b54b015e6c91e647b579f2ef7408b80e349a547767d9925
-DIST linux-6.12.47_p20250916-raspberrypi.tar.gz 246822724 BLAKE2B 65250b110ddc9b0510e2e64f1b15c43495a8e073dde40f43c6c0257ffe377067c4d6125aa3c5a2ae39af8586e3d98ac54efd73500774351b48ab57edf6441e42 SHA512 5818d7ac495dc31a27c9b967bf146d291ab6fd06b99e819d9c685d5413472593cd99a4d7ce10218c45d7fb631adceed8e20806b1f2f9909277ce0de7ad204565
-DIST linux-6.12.75_p20260408-raspberrypi.tar.gz 246976073 BLAKE2B 4f3ec9e161baf686868ce7eafb99c8d686c606008b5c078259bed0623ca0ba1a011c6e9298d87edd58ff0a471d54ecc51ce896eb66eeb907d664e95b1dd8b2d1 SHA512 5f960ef9a7c7569b8bef98051d9ffe1debf83d449dad99f1a8261011c58293d0bb1ad1e78d458f632ebf2f931e6798f6bf6e2e30114ec27b67bc4473a4ac62ad
-DIST linux-6.18.29_p20260513-raspberrypi.tar.gz 256913944 BLAKE2B f1c30cff226d16c00f3c208b15b40598937eeb4360d7b6eeef6192a36336ba03ecd7f2ec2652f32d32da4ccc8b4d30748760cd0f180602658f145ab1acd462d5 SHA512 a3204305d5a1689412d8b239033b20211563295b6e1e79130e31358e3836726104a6e4b8678a753e9cc5ed3a1988cca69ef0f1c0d88be40c196c1bd4e362b082
-DIST linux-6.18.32_p20260521-raspberrypi.tar.gz 256913944 BLAKE2B f1c30cff226d16c00f3c208b15b40598937eeb4360d7b6eeef6192a36336ba03ecd7f2ec2652f32d32da4ccc8b4d30748760cd0f180602658f145ab1acd462d5 SHA512 a3204305d5a1689412d8b239033b20211563295b6e1e79130e31358e3836726104a6e4b8678a753e9cc5ed3a1988cca69ef0f1c0d88be40c196c1bd4e362b082
-DIST linux-6.6.31_p20240529-raspberrypi.tar.gz 230924637 BLAKE2B bf8e5aba5597e98279b1c9d007112f57175c7cab15acbd2e9a7151f6290d3f1bee10299344b2655ade3cf2c73035b8f6e7fc9071d182a4c4ab839937fb0b59ef SHA512 3eb710dab82783a5254169e5bc2ac59fe4d3bd0fffbfd7a119a6182767b48186f4505d551fd7cc9ff002abf957e82108242d5a101266f77146d514fe3116fea5
-DIST linux-6.6.47_p20240902-raspberrypi.tar.gz 231225067 BLAKE2B a7848290848f33ab8ae39364c6b5895f45ae82e9a72f60b8471522c8f8bf04627b3abab26e7c1ed10c12b6621d0490d10a6cbc455013dfc8b1296d35b7230998 SHA512 98c033c3f3440c26d97d17855b6057f41d633f0d7d5d22af32feec49f12fcec4181497ec97ac78ce96eb4e601a1fd400c832acf6e148da3cad419cdfc2587382
diff --git a/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-6.1.21-gentoo-kconfig.patch b/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-6.1.21-gentoo-kconfig.patch
deleted file mode 100644
index 941501ef35aa..000000000000
--- a/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-6.1.21-gentoo-kconfig.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/drivers/base/firmware_loader/Kconfig
-+++ b/drivers/base/firmware_loader/Kconfig
-@@ -75,6 +75,7 @@ config EXTRA_FIRMWARE_DIR
-
- config FW_LOADER_USER_HELPER
- bool "Enable the firmware sysfs fallback mechanism"
-+ depends on !GENTOO_LINUX_INIT_SYSTEMD
- select FW_LOADER_SYSFS
- select FW_LOADER_PAGED_BUF
- help
---
-2.41.0
-
diff --git a/sys-kernel/raspberrypi-sources/metadata.xml b/sys-kernel/raspberrypi-sources/metadata.xml
deleted file mode 100644
index 083e1d0a68ea..000000000000
--- a/sys-kernel/raspberrypi-sources/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>ceamac@gentoo.org</email>
- <name>Viorel Munteanu</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/raspberrypi/linux/issues</bugs-to>
- <doc>https://www.raspberrypi.com/documentation/computers/linux_kernel.html</doc>
- <remote-id type="github">raspberrypi/linux</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.1.21_p20230405.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.1.21_p20230405.ebuild
deleted file mode 100644
index 16912b545378..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.1.21_p20230405.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=25
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-MY_P=$(ver_cut 4-)
-MY_P="1.${MY_P/p/}"
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="arm arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 2000
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.47_p20250916.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.47_p20250916.ebuild
deleted file mode 100644
index 03143a02fbc1..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.47_p20250916.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=53
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-MY_P=$(ver_cut 4-)
-MY_P="stable_${MY_P/p/}"
-#COMMIT=789af262fb268b2006099a096faf4a383592ce1b
-#MY_P=${COMMIT}
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="arm arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 1730
- 1740
- 1801
- 2000
- 201*
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.75_p20260408.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.75_p20260408.ebuild
deleted file mode 100644
index 91a680560538..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.12.75_p20260408.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=80
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-#MY_P=$(ver_cut 4-)
-#MY_P="stable_${MY_P/p/}"
-COMMIT=89050b1059997d38d55462b323b099a6436dc10d
-MY_P=${COMMIT}
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="arm arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 1730
- 1740
- 1801
- 2000
- 201*
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.29_p20260513.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.29_p20260513.ebuild
deleted file mode 100644
index caecff7a1ee6..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.29_p20260513.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=30
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-#MY_P=$(ver_cut 4-)
-#MY_P="stable_${MY_P/p/}"
-COMMIT=66318c5b5cd8145a662303af12ed39ac07eb27cc
-MY_P=${COMMIT}
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="~arm ~arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 1730
- 1740
- 1801
- 2000
- 201*
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.32_p20260521.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.32_p20260521.ebuild
deleted file mode 100644
index 9d438a40d317..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.18.32_p20260521.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=36
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-#MY_P=$(ver_cut 4-)
-#MY_P="stable_${MY_P/p/}"
-COMMIT=66318c5b5cd8145a662303af12ed39ac07eb27cc
-MY_P=${COMMIT}
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="~arm ~arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1600
- 1700
- 1730
- 1740
- 1741
- 1801
- 2000
- 201*
- 2400
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.31_p20240529.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.31_p20240529.ebuild
deleted file mode 100644
index c68123e8b2eb..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.31_p20240529.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=38
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-MY_P=$(ver_cut 4-)
-MY_P="stable_${MY_P/p/}"
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="arm arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 1730
- 2000
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.47_p20240902.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.47_p20240902.ebuild
deleted file mode 100644
index 09ac1ae8430c..000000000000
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-6.6.47_p20240902.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ETYPE=sources
-K_DEFCONFIG="bcmrpi_defconfig"
-K_SECURITY_UNSUPPORTED=1
-EXTRAVERSION="-${PN}/-*"
-
-K_EXP_GENPATCHES_NOUSE=1
-K_GENPATCHES_VER=54
-K_DEBLOB_AVAILABLE=0
-K_WANT_GENPATCHES="base extras"
-
-inherit kernel-2 linux-info
-detect_version
-detect_arch
-
-#MY_P=$(ver_cut 4-)
-#MY_P="stable_${MY_P/p/}"
-COMMIT=789af262fb268b2006099a096faf4a383592ce1b
-MY_P=${COMMIT}
-
-DESCRIPTION="Raspberry Pi kernel sources"
-HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="
- https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz
- ${GENPATCHES_URI}
-"
-
-KEYWORDS="arm arm64"
-
-PATCHES=("${FILESDIR}"/${PN}-6.1.21-gentoo-kconfig.patch)
-
-UNIPATCH_EXCLUDE="
- 10*
- 15*
- 1700
- 1730
- 2000
- 201*
- 2700
- 2800
- 29*
- 3000
- 4567"
-
-pkg_setup() {
- ewarn ""
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the raspberrypi developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn ""
-
- kernel-2_pkg_setup
-}
-
-universal_unpack() {
- unpack linux-${KV_FULL}.tar.gz
-
- # We want to rename the unpacked directory to a nice normalised string
- # bug #762766
- mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die
-
- # remove all backup files
- find . -iname "*~" -exec rm {} \; 2>/dev/null
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
deleted file mode 100644
index f89b12f86429..000000000000
--- a/sys-kernel/rt-sources/Manifest
+++ /dev/null
@@ -1,46 +0,0 @@
-DIST deblob-5.10 163706 BLAKE2B 75983edaaf8d8ed2689a3b26cf316edb9b9262bd29411168c9a8504775dd324752a4fc8ad24ec3a641a4ba474cca975c472cfa9d58d120ae7f684f19b519f180 SHA512 e3b89e751633f81da0f1e23c24133e84f5a6c89390d6b54e7af6e42c9378ecf2525bd42d7639a42aa3c3a034c838e5ca36f78d4932903298068be03de8ad48f3
-DIST deblob-5.15 170757 BLAKE2B 368539e7487c25b9808f277c36a5e30dd3a06d21dcf2aefa0066e12549c6cb2b243dfcd0a5413734607e1818d38a9ca6ef5db250517a3dbf9c5f886a8e15e9c2 SHA512 b74781bc6db536b2471149f1aef203e63b16794c3c732bb8b743a94d30fddbdcabca4113af7e364ca5ea019052aa528c398792c6faf9ad13700bba8bb61c4e3a
-DIST deblob-6.0 178810 BLAKE2B dcaf7441084baa631e0d9652deb1105a00f280323ad8de43dbc50cb0455004aba15f2f7bf68ac0601a24e561f6bf3f4084ee91a1a4909380fab2d88bed5834b5 SHA512 f39bf8c4d0a7a0047e2b1d351b7cdd13457d89f59b82c9fa4348787f04b257e9ec027f68f1de999d96a594e53d64753fd043772bdf35b148f763daefccc93fa8
-DIST deblob-6.1 179334 BLAKE2B 312939cfee46ecb769da5d715608d4fd5ed38dad38a9ee9b3806683e0c820532404d1c0dda991531f56110a3c88e11b9a1b9cb9e4d5f4ee0b5ea50a03e51c45f SHA512 76ae8d5d03ba375be2b4f562c4f6d374d8168be59a542bd0c0bdc5c0aaff48c833f51efe3f82e75356ea718558e39555295f10660a34b205dc854cf80c383944
-DIST deblob-6.12 194368 BLAKE2B 84f3b3d93c6984aaf7e6f03c4ba69a5acd556148a140e66d897e28cac1da9b02e8c88dc51639fa6da39619090f61f633ca0e4cc700e07a76dc3f4cffe05224f3 SHA512 c30e85f801f0031f392dc6c887c0f818544b089fae4110b8aceb1659cbd20bf91002c921333e1e1f318a5302ff18f18943a37e412285017ca445f2287c07def5
-DIST deblob-6.5 181793 BLAKE2B c4671d0de83d0f0b2cd6f13d0f989ff55464dff1added93e0526709ab9f41d60f6088adb63d8e8739f6bc808f2a529137cafbda095cce49aef8a4e8fe95ee582 SHA512 407b13aa539190ea3f66dac4239e01d51da68d7d2f506b1025398d7931a24e12f9f8cd11fc37c3915f40e40d911868ccda3bc9ed013c1a10a698b1e95c366129
-DIST deblob-6.6 182687 BLAKE2B df8dd33d7803e79b9162124e0991a26a413a321046cbe8d1265f98143234319f3e27f97fc12d31b7a638170b8e02417249925500397f87b4bb0efe448a53d294 SHA512 56937341810e2a605779872789136db684c94ede2d59137f38cf5ff052fc876d10390ec8381ecae5ad4fab8f80c83b3fa6b75b19f300fee6bda4c5561e310c6a
-DIST deblob-check-5.10 32768 BLAKE2B 2bf256e203d704722f7f6bddf4ae37eaa5409223a4988db0ac4fea2766aea06e7b4bff7e982b58d80895c15be9b58c138c0d7a9c1898818bff2f1ca67aa873da SHA512 b5aa4a29f477f5875c5f1d96aae2fecab1648a3210bfc14e74a40bede0c391d80b0b36ba56a3113f5523da7e9b7ef0bf20e32d2de60f1bd35c2cd2bfe4412904
-DIST deblob-check-5.15 619562 BLAKE2B 6279eb78d81f42416aa24898c747eac71b3dc0a98182354a778c20f6d51f3692e64db4e37aa4489dccae70d87ce5cafbc5d4feee6d505789761dcff1b6a9dbd3 SHA512 47fe403177a93e2271b7b5244f086d2ce2d1253dddeeb6d6bf153327380d2aa7dbaa63a741da2acadf6c65d64b2578cc5c0fad08209609f36ce2f8a88dfa7b5e
-DIST deblob-check-6.0 652755 BLAKE2B 5cd69f9b34134d5290c939e886badf37bf851ebfda1ad067598cf76ed459ceb19a745a96e6c779a17ed553382a0876bd0abc11add8933d482e9eec66903b58ef SHA512 6d0be64424494d748703ae714d54ae098b8b8468b9672c4fe918847112463a1e49cd536a60af8510a379e664811e61d2e6b741cbfd6aea51635a5732946e8e57
-DIST deblob-check-6.1 656184 BLAKE2B 6c3ae2b5b7c34936388163fbc16e0eff0aee5fccf01f543454fbf3d0881bd321e160f4aab78d478bad1008f424e0e7c20871dd74ef6eee8358c98718f5d5da8a SHA512 0aea6f699bc451a5319ca8dab8e18c79708a25caeec3f77182c98216a04526cab51c0e14035d2599c66ac44ebae39328b9d71781aaf2ea2bc22fb73f7f3c1340
-DIST deblob-check-6.12 779835 BLAKE2B 3ef4e664370124928b4ea3a461d5b6c4af4364ec30c2da5df01b7096bc6313270883c83252d26da851fbeacbf39bb4ca63716706e99079f2f39e374891842d5d SHA512 587d50f05931eb502fca742cf0c2862cd5974088abba23b47d8dd28bbdd53158c26a2be2b39170723bf425091374aa66668d38ea8432e2221c3ca2727cfab16e
-DIST deblob-check-6.5 695065 BLAKE2B 7ef2a852bb7ebc2e3a7d58cb7c8c173ceefe82df4a338d358fcb97cde88ecc14145c4e5e28190e9d8a41541e2a894e669f05f17fb7562295f05033864940975e SHA512 54623c3f9c1c4064ada7cbeb07fbc99a5cb7576b0dde16c06e7c8206ea3febf0f08aad2c9e1ff78ea2ab59c5efb91a518dc98a75c9f84be7855eeae6d0e4d3ce
-DIST deblob-check-6.6 701153 BLAKE2B 44ce42f08be4bf4cc58df6e51c69e70ff10aed8fb81c73053ed8f722331abad3b3f034b9b0c3ba2a3898904e23215a4710b6b39ea663ec4b62376bf02378512f SHA512 d3882c0bee4d4d59b6b4c2ae832b4f1db59ce28ce12420817bec1c99088962f3b1b7acfc45954aa12fe9c0b50a0eec3a048caa72edfdcfa1dcd60ab654630bf3
-DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
-DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
-DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
-DIST linux-6.0.tar.xz 133886176 BLAKE2B c09a9c877ac0fac83dc31d2d04d96f0a3331d4ed78e3ad4edfd4dc077e1c11d0c49f419fdac4008b5c93d1b09c2b724e12ef0b38371ad0962908abf85dfa95fa SHA512 bac41a7aeb6e809616cee2f13dcd1c45e829dfd1ccf60aee1dc4c46b1e28532f4485c7d819a32940de84fdfbf89db80a4e919bce8a74b2948c5a01551771b714
-DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST patch-4.14.336-rt159.patch.xz 242948 BLAKE2B a9f57239122fa63cca712e75e2cdf1980418061b6cff4096f07cdb54b01fcf42a17a704b3f5eb35169bcc1481ee319f7db7579f1cf87b85ae8bb2ee7d537b1a8 SHA512 587958d101bcf01b19c492334d161b41cc1ae7e1cea30aaff80292c23b401f9844e8c72fe22cd89790495881af348a787c50ecbc82ce4d603d2e81ed600f8dfd
-DIST patch-4.14.336.xz 5348976 BLAKE2B 8b9f3a6e00d8c36894fd12dc17592292df6b326d99171a535c6e373d7ab200e62d150f816efb86fc3cd4b630aec865e17b33160de66b17ee7567e65d3668cef1 SHA512 74f730f6b0862d9fa0ed0e807f5e34b32023726692e6057bba7d8384f105e419d5864e9459b659131aa7f29ffdac09fc0f240bc12336456505a6bf3c4f427b8c
-DIST patch-4.19.325-rt140.patch.xz 167152 BLAKE2B d0d9ea13310c1ad7d9e54665a662396fd71a08df3bff6cbaa089b7c0e8a5d5cd44b028ecd01154fe4b8580540c5d20ae27b1c526300be4e1659e978bcb20ced2 SHA512 69b695431a2a32d9c0e9398a72a5bab7e332ca09a09fab4d2c5afdc32d8e5bee24dd435e744310322fd61459f4c7f19a3a1bfb334a41ad5e75682b0e36240fc3
-DIST patch-4.19.325.xz 6263136 BLAKE2B 82c37a010f1e290b0f26e89f312db62ba666e19084de676626bda7509e7ce9ab585dc6d4e028b9428e8cbf25f94e979972aca17d40dba7e284cd8dd6949f46a3 SHA512 a55c2e649f709b728973faadce69e73db24d6ac17388d1b340853a0520d9f3c4f5f3e6a74b382695a2fd0b9107df6169b3a848e5ba9e5a64c13e4bb831edec19
-DIST patch-5.10.239-rt133.patch.xz 172464 BLAKE2B 7b7df42103970835c00d20c9be0aefc4e09b44653d1e0d59415cb61f8ea1e45343baec872a2f4e85900b418a135b42963539c84d0a0931af6e6d856446e1b1fe SHA512 87f19f9c1ca5bcaf0b0395a458687aa976e256c9eabd0a25f1feb80b91ea31b799e08e9be1eaeb48bd84d755054c0c52a037bdb35cc61a18ed6865bf04fcbbe9
-DIST patch-5.10.239.xz 6751008 BLAKE2B f3acc8f5466fedc9d4aa5307067d3b0a2c061bf8df512919e69b8ec9b7aa2212e57b22ec0f41f5ab69be9af26947def48f2f5c475f285f331f2a9c5d670fac1d SHA512 0a4d316c5e7de0827ebe071943aa67ddd8f7f04400a209969fafed39eb5cfdcd4b427034b04f340c4d889b5b87d85d5e75488892fe9bca0b13329668e33ed94b
-DIST patch-5.15.185-rt86.patch.xz 80356 BLAKE2B 77d5bca38de229cb203e7b763cfca5448e537813f731ba3630a0f5188402ae9ad0330850f4f1b0d23122614c6caf4382bb0587d7737cb20c3eac1260dc7c31f9 SHA512 b9c956475d5b47606ddd0b7f5fd97da994b25c12a0ad268cbf5068bb501aabc684f038b00218c0623f9e24fc109837d81df004dfa50401a3405f63841fc63acd
-DIST patch-5.15.185.xz 6856440 BLAKE2B 4e56b9da422294031cb65635681d10184f0840bac38a7f68d33a6cde3d04bcb463b1d63c6e50b72221db57f0659cce762f673d8eb1fc4b3c64fd27ee0cb8500c SHA512 faec04f2044c9cc796bfeffc552c34096eb08193664c58572f7b628fe5c5fbe8438117eca7bec690f335b037cc686bc8482ce054278e6d6dd1d0043470b8e70a
-DIST patch-5.4.293-rt98.patch.xz 184720 BLAKE2B aa7079546e24f3d73966bb8629c61ee3541a83c5ff1a79a1ee97d557586109398e07228ea07d6589dfb314929bc5f9508159aa573f4b923acb5b083382a3ef2c SHA512 3d404e4cd6e4155516f295ddcb0d34adff2f6331065b983e4e18c0dc42c0716098f0c0866355057f89058455b0ac4cdfe9ed331ff6ecb4d4d4d92b044d421e37
-DIST patch-5.4.293.xz 5992144 BLAKE2B 056d616b0e1175083e574f639df066c32db5850cce73c6c7af7e03dfc4eb931d8d7a2b6285f558bc5f41a45e070e2e4677cb3f6f3317c656efd3e0b2d461d615 SHA512 5108a214a0db29127e9595020d6f6c18bb93cc5e332bda77c1771600bdf1448dbbc53bcf16222079378ff59ccd48b17d9f0ab16a91d63d3bde963b562616d83a
-DIST patch-6.0.5-rt14.patch.xz 59916 BLAKE2B be06477b7733cb280bbb8ab1cc2b4c611d5b133d97e2459877a8aac0c82a6fa74cba7a7640b49ba6dd9d0abd61a9f9682affb032a8b9f0097874fff35fea9b71 SHA512 3e36e45f16499ddbd7029723363ff4cf6e7cd9503ba49f9ce0dbb960b34855c8411abccd32838f9f162412b4a1749f676432e463fce8066496f256313c99d79e
-DIST patch-6.0.5.xz 274580 BLAKE2B b1fd53745b1858f92ded90a78d8060e1c916a8b6c256f96188331e5ac80242a40a83d14377ad0befec5415135925821cb264489cee63fe4ad432ba00c64983ff SHA512 c4ac4387c490e73b8d91d13fbea9a1e065be4bacf9535177e625561adb2411908a546f9c4327748aab6bbfc021f30887f3e5df5d6019c6cfe00fe5bf64aad2eb
-DIST patch-6.1.134-rt51.patch.xz 54288 BLAKE2B 4cdbd5559a106077b8b992f90e1f072b7ba738dcb1c155398cc93f956cd4331e91a98fcc38cec891560db89979ec365277bd355e193af9d5edd0487dfcac823e SHA512 a27b11dcc10e0b1c6f25efed33da571ad9ee2fe2ec3b6fc2aa80a9961950dc6be3b1923ea9a7e1ea1848a03af7786d7a5c1b4b6cd44c70f3bae95771deb713f0
-DIST patch-6.1.134.xz 5949692 BLAKE2B f847799c5c07f975df3d32a6ff3b6a845859a80585ec1f7170ca319b76c7b035a87a4cb4b212e0a047bf6743a58aaef4d9946d7aa3baf9621f1dcc7de64f28b3 SHA512 99aea347b7a27c71207b8eaee2f1d364344373131538ae3a11665858a6b8d0e2153d2d135cef120955eee9a5bd6c324c385ed9c867ac86a6b43b2fa71b13b581
-DIST patch-6.1.141-rt52.patch.xz 52348 BLAKE2B 30be401a5457c83e40e288f77b55df0f0d1f8e446d36e055d9c691c62d158457ea884781f26fac1f2bf6c96a0069e41cde4c6e8b41d41ce43f376affcb3569c5 SHA512 83956449ddd2c1338b2505447108f14cb76ccf5043c903b7e3dfd769efdf17d801b4dc00c305bec3fb37165edd9b67ab3814a82ee82a4662437fe26c3fa4ab6a
-DIST patch-6.1.141.xz 6161784 BLAKE2B 606e8c2294dd406dfbb2a289ccdfee801ee5ea084a83d9a910d5e0d3a5784c1217f707d6f17107154423de4f11dcecbb80388b5f45943aee8a2eedf0af0ba02c SHA512 262d119a437e103b9bbb92ce1e2c90fe0b8ec21c70beefcfba5558c44e251b67143edf07cadb9a5757749eb75842d9404c8a4bf27b6c4ff84c5e4b51da1c027a
-DIST patch-6.12.28-rt10.patch.xz 19052 BLAKE2B 9825dda82edc2346b1f0ba0c3ad10605501f39adcac16b1bb6440c10e046a79dd95dc0e92554c022f74fe0ce936bb9a1cb5fec9c457d34ab53d235191d45311f SHA512 d68780eb89facbfeb18b1ef1ba0438a2e5dead6197e575c1684f25b19a6dd8a53b9aee8b179ca291b50c65c3b1d598e60980dff43438b40c850553a6d703c7b6
-DIST patch-6.12.28.xz 1833452 BLAKE2B 03b79e0fd1641989f34afaa02443265ca8baa9a463273974d170ad4c9a69188cc2af52d1166cc70c9540e8a7bb5219f4f2ac09f27f7febd70b577c19bfb31ccf SHA512 6822d2524fca341474d3979ca49962d76b594be5b808bf8528d0745666b77dc3368437121a426ddf372ce2740daee9a8961557d6f82a3df912afb190c123f268
-DIST patch-6.5.2-rt8.patch.xz 54436 BLAKE2B 296da85395314ce26900eefb32a7c9b565b4242603884ab51e6208576e5fa6ceb3bd6269d8938e24f58a0b5d937e556345b45057f90166574797289152b15ae3 SHA512 9b625e33f5097729fb2462e2a6e96a1e13a7677af875ce028f6f8fadd1ab60bc9064ca9b101334211bdaf49ba36c750bfdf8260ff03a5ac2a2277a28293b309c
-DIST patch-6.5.2.xz 14964 BLAKE2B de3a0d15141199f98873c332f0c0237a39534bffe624f9394a6ba2bb9c3d731121d1b698963c424b919f7683fcffce1a86884bf64d26938cd529a14a211f1904 SHA512 e377f1fd5802321ea8198bbf661b15ec050f5ee902666359c8e1cce8e36abbb67957e04bdc1ee8a91eb3bf2c56ef62e9f5535dc52982eb6185476ce794449402
-DIST patch-6.6.94-rt56.patch.xz 87868 BLAKE2B 3bdf4c68c57a0bcb4243335c647d40148e03d32db0016a710e1a82e4803ea6f78f24b8f5f45ed31e4dab82ddab25c3281e1efca795280fe393fc67b53d81170d SHA512 0356712f4b4d0bb8e137dfc01eecf144f5146d7b3f97d59bd3bc7beea9bad67b60aaa5dccfe6dac9eeddb9ae3614da38d3025357d41b62402106c9c6375bdab4
-DIST patch-6.6.94.xz 4499300 BLAKE2B 4b84ccf2dd338bca662f19362849450e0e57ed9970a92868cb255fce4acd15a9c4b2e9516e4d3cd45cf72645a4e2615d23ad655db5f39fb645170fffb07f9c30 SHA512 99e315e18a99d8c5fe6532acfd6ced3af7e8a033942cce9f83d3eafc055c61ebeaae3bfff392b8327ddb4de74cc2f097139d4bd75ca8a095b415e4b0b913e967
diff --git a/sys-kernel/rt-sources/metadata.xml b/sys-kernel/rt-sources/metadata.xml
deleted file mode 100644
index dcc4fe5333c4..000000000000
--- a/sys-kernel/rt-sources/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>alicef@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="deblob">Remove binary blobs from kernel sources to provide libre license compliance.</flag>
- </use>
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/rt-sources/rt-sources-4.14.336_p159.ebuild b/sys-kernel/rt-sources/rt-sources-4.14.336_p159.ebuild
deleted file mode 100644
index ced1c46432c8..000000000000
--- a/sys-kernel/rt-sources/rt-sources-4.14.336_p159.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-4.19.325_p140.ebuild b/sys-kernel/rt-sources/rt-sources-4.19.325_p140.ebuild
deleted file mode 100644
index ced1c46432c8..000000000000
--- a/sys-kernel/rt-sources/rt-sources-4.19.325_p140.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-5.10.239_p133.ebuild b/sys-kernel/rt-sources/rt-sources-5.10.239_p133.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-5.10.239_p133.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-5.15.185_p86.ebuild b/sys-kernel/rt-sources/rt-sources-5.15.185_p86.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-5.15.185_p86.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.293_p98.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.293_p98.ebuild
deleted file mode 100644
index d32c37d7dd33..000000000000
--- a/sys-kernel/rt-sources/rt-sources-5.4.293_p98.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.0.5_p14.ebuild b/sys-kernel/rt-sources/rt-sources-6.0.5_p14.ebuild
deleted file mode 100644
index 2a03c9f44c9e..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.0.5_p14.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.1.134_p51.ebuild b/sys-kernel/rt-sources/rt-sources-6.1.134_p51.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.1.134_p51.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.1.141_p52.ebuild b/sys-kernel/rt-sources/rt-sources-6.1.141_p52.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.1.141_p52.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.12.28_p10.ebuild b/sys-kernel/rt-sources/rt-sources-6.12.28_p10.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.12.28_p10.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.5.2_p8.ebuild b/sys-kernel/rt-sources/rt-sources-6.5.2_p8.ebuild
deleted file mode 100644
index 2a03c9f44c9e..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.5.2_p8.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rt-sources/rt-sources-6.6.94_p56.ebuild b/sys-kernel/rt-sources/rt-sources-6.6.94_p56.ebuild
deleted file mode 100644
index bfdbb92b20c0..000000000000
--- a/sys-kernel/rt-sources/rt-sources-6.6.94_p56.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-
-CKV="$(ver_cut 1-3)"
-K_SECURITY_UNSUPPORTED="1"
-K_DEBLOB_AVAILABLE="1"
-RT_PATCHSET="${PV/*_p}"
-
-inherit kernel-2
-detect_version
-
-K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
-DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
-HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
-
-RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
-RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
- https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
-
-SRC_URI="${KERNEL_URI} ${RT_URI}"
-KV_FULL="${PVR/_p/-rt}"
-S="${WORKDIR}/linux-${KV_FULL}"
-KEYWORDS="~amd64 ~arm64"
-
-UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
-UNIPATCH_STRICTORDER="yes"
-
-src_prepare() {
- default
-
- # 627796
- sed \
- "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
- -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
-}
-
-pkg_postinst() {
- kernel-2_pkg_postinst
- ewarn
- ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the RT project developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds."
- ewarn
-}
-
-K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
-${HOMEPAGE}."
diff --git a/sys-kernel/rumpkernel/Manifest b/sys-kernel/rumpkernel/Manifest
deleted file mode 100644
index 01131b84b058..000000000000
--- a/sys-kernel/rumpkernel/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rumpkernel-debian-0_20250111-6.tar.bz2 73276281 BLAKE2B 9c68ea59c364d38d12b6ae59ee55390252e7c7aa3347c2ef40fd5cffac3112ecc1d4da77c43726c66794623e2d73c581585dbcc0657f576cf31bb8224dc13551 SHA512 d3451b22848fddd18412890351d15bda043b050890109b1f2dfdf266497ffe60382a654289f4bb9d54a4bf95f5c16b3e9873d58d855a7212c543dc8bafea3fb5
diff --git a/sys-kernel/rumpkernel/files/rumpkernel-0_p20250111_p6-bsd-own-mk-no-sysroot.patch b/sys-kernel/rumpkernel/files/rumpkernel-0_p20250111_p6-bsd-own-mk-no-sysroot.patch
deleted file mode 100644
index 43bda5d3d779..000000000000
--- a/sys-kernel/rumpkernel/files/rumpkernel-0_p20250111_p6-bsd-own-mk-no-sysroot.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-We end up getting linker errors about us not finding /lib/... and some
-various other bits due to the value of --sysroot, which is set to
-somewhere in ${S}.
-
-This might not be the ideal patch (or solution), but for us, we want
-it to remain untouched for LDFLAGS in any case.
-
---- a/buildrump.sh/src/share/mk/bsd.own.mk
-+++ b/buildrump.sh/src/share/mk/bsd.own.mk
-@@ -434,23 +434,8 @@
- #
- DESTDIR?=
-
--# Don't append another copy of sysroot (coming from COMPATCPPFLAGS etc.)
--# because it confuses Coverity. Still we need to cov-configure specially
--# for each specific sysroot argument.
--# Also don't add a sysroot at all if a rumpkernel build.
--.if !defined(HOSTPROG) && !defined(HOSTLIB) && !defined(RUMPRUN)
--. if ${DESTDIR} != ""
--. if empty(CPPFLAGS:M*--sysroot=*)
--CPPFLAGS+= --sysroot=${DESTDIR}
--. endif
--LDFLAGS+= --sysroot=${DESTDIR}
--. else
--. if empty(CPPFLAGS:M*--sysroot=*)
--CPPFLAGS+= --sysroot=/
--. endif
--LDFLAGS+= --sysroot=/
--. endif
--.endif
-+CPPFLAGS?=
-+LDFLAGS?=
-
- DBSYM= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-dbsym
- ARM_ELF2AOUT= ${TOOLDIR}/bin/${_TOOL_PREFIX}arm-elf2aout
diff --git a/sys-kernel/rumpkernel/metadata.xml b/sys-kernel/rumpkernel/metadata.xml
deleted file mode 100644
index b267f548b5bf..000000000000
--- a/sys-kernel/rumpkernel/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>hurd@gentoo.org</email>
- <name>GNU Hurd project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-kernel/rumpkernel/rumpkernel-0_pre20250111_p6.ebuild b/sys-kernel/rumpkernel/rumpkernel-0_pre20250111_p6.ebuild
deleted file mode 100644
index c892f383e80a..000000000000
--- a/sys-kernel/rumpkernel/rumpkernel-0_pre20250111_p6.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="NetBSD's rumpkernel for the Hurd"
-HOMEPAGE="https://salsa.debian.org/hurd-team/rumpkernel https://darnassus.sceen.net/~hurd-web/hurd/rump/ https://rumpkernel.github.io/"
-
-if [[ ${PV} == *9999* ]] ; then
- # Actual upstream is NetBSD's monorepo, but Debian is the de facto
- # upstream and there's a lot of Hurd-related patches. But it may
- # still be useful on occasion to cherry-pick something from NetBSD.
- EGIT_REPO_URI="https://salsa.debian.org/hurd-team/rumpkernel.git"
- inherit git-r3
-elif [[ ${PV} == *_pre*_p* ]] ; then
- # These are proper Debian relaeses. rumpkernel isn't currently
- # part of the Debian archive, so this is the best we can do (no
- # 'orig' tarballs).
- RUMPKERNEL_PV=0_$(ver_cut 3)-$(ver_cut 5)
-
- SRC_URI="https://salsa.debian.org/hurd-team/rumpkernel/-/archive/debian/${RUMPKERNEL_PV}/rumpkernel-debian-${RUMPKERNEL_PV}.tar.bz2"
- S="${WORKDIR}"/${PN}-debian-${RUMPKERNEL_PV}
-else
- # Snapshots
- RUMPKERNEL_COMMIT="c65c4413295247f3390385fb623215d3bd8d6052"
- SRC_URI="https://salsa.debian.org/hurd-team/rumpkernel/-/archive/${RUMPKERNEL_COMMIT}/rumpkernel-${RUMPKERNEL_COMMIT}.tar.bz2"
-fi
-
-# A lot from NetBSD, see:
-# https://salsa.debian.org/hurd-team/rumpkernel/-/blob/master/debian/copyright
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 BSD-4 CDDL GPL-1 GPL-2+ GPL-3+ ISC
- LGPL-2.1+ MIT public-domain ZLIB"
-
-SLOT="0"
-if [[ ${PV} != *9999* ]] ; then
- KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND="
- x11-libs/libpciaccess
- virtual/zlib:=
-"
-DEPEND="
- ${RDEPEND}
- dev-util/mig
- sys-kernel/gnumach
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0_p20250111_p6-bsd-own-mk-no-sysroot.patch
-)
-
-src_prepare() {
- default
-
- eapply $(sed -e 's:^:debian/patches/:' debian/patches/series || die)
-}
-
-src_configure() {
- # TODO: conflict with -pg but we might not need -pg to begin with;
- # objects get built thrice (regular, -pg, -fPIC).
- filter-flags -fomit-frame-pointer
-
- export HOST_CC=$(tc-getBUILD_CC)
- export HOST_CPPFLAGS=-D_GNU_SOURCE
- export TARGET_AR=${CHOST}-ar
- export TARGET_CC=${CHOST}-gcc
- export TARGET_CXX=${CHOST}-g++
- export TARGET_LD=${CHOST}-ld
- export TARGET_MIG=${CHOST}-mig
- export TARGET_NM=${CHOST}-nm
- export MIG=${CHOST}-mig
- export _GCC_CRTENDS= _GCC_CRTEND= _GCC_CRTBEGINS= _GCC_CRTBEGIN= _GCC_CRTI= _GCC_CRTN=
- export BSDOBJDIR="${S}"/obj
-
- cd buildrump.sh/src/lib/librumpuser || die "Couldn't change to the build directory"
- econf
-
- case ${CHOST} in
- i[3-7]86*)
- NBARCH=i386
- ;;
- x86_64*)
- NBARCH=amd64
- ;;
- *)
- die "Unknown NetBSD arch for this CHOST"
- ;;
- esac
- NBMAKE="${S}"/buildrump.sh/src/obj/tooldir/bin/nbmake-${NBARCH}
-}
-
-src_compile() {
- cd buildrump.sh/src || die "Couldn't change to the build directory"
- mkdir -p obj || die "Couldn't make obj dir"
-
- local buildrump_cppflags=(
- -I"${S}"/buildrump.sh/src/obj/destdir.${NBARCH}/usr/include
-
- -D_FILE_OFFSET_BITS=64
- -DRUMP_REGISTER_T=int
- -DRUMPUSER_CONFIG=yes
- -DNO_PCI_MSI_MSIX=yes
- -DNUSB_DMA=1
- -DPAE
- -DBUFPAGES=16
-
- # Workaround broken open() call
- -U_FORTIFY_SOURCE
-
- # libipsec doesn't get CWARNFLAGS, apparently
- -Wno-error=unused-but-set-variable
- )
-
- local buildrump_warnflags=(
- -Wno-error=unused-but-set-variable
- -Wno-error=maybe-uninitialized
- -Wno-error=address-of-packed-member
- -Wno-error=unused-variable
- -Wno-error=stack-protector
- -Wno-error=array-parameter
- -Wno-error=array-bounds
- -Wno-error=stringop-overflow
- -Wno-error=int-to-pointer-cast
- -Wno-error=incompatible-pointer-types
- -Wno-error=unterminated-string-initialization
- -Wno-error=format-nonliteral
- -Wno-error=sign-compare
- )
-
- local mybuildshargs=(
- -V TOOLS_BUILDRUMP=yes
- -V MKBINUTILS=no
- -V MKGDB=no
- -V MKGROFF=no
- -V MKDTRACE=no
- -V MKZFS=no
-
- -V TOPRUMP="${S}"/buildrump.sh/src/sys/rump
- -V BUILDRUMP_CPPFLAGS="-Wno-error=stringop-overread"
- -V RUMPUSER_EXTERNAL_DPLIBS=pthread
-
- -V CPPFLAGS="${buildrump_cppflags[*]}"
- -V CWARNFLAGS="${buildrump_warnflags[*]}"
- #-V TARGET_LDADD="-Wl,-v -v"
-
- -V _GCC_CRTENDS="" -V _GCC_CRTEND=""
- -V _GCC_CRTBEGINS="" -V _GCC_CRTBEGIN=""
- -V _GCC_CRTI="" -V _GCC_CRTN=""
- -V MIG=${CHOST}-mig
-
- -m ${NBARCH}
- -U -u
- -j $(get_makeopts_jobs)
- -T ./obj/tooldir
- )
-
- # The Makefiles scattered across NetBSD use $S everywhere. So we
- # will get rid of this. Otherwise, you won't see some things build
- # in the correct directory. Thank you sam
- (
- _S="${S}"
- unset S
-
- ebegin "Building tools + rumpkernel"
- ./build.sh "${mybuildshargs[@]}" tools rump
- eend $? || die "rumpkernel's ./build.sh failed"
-
- cd "${_S}"/buildrump.sh/src/lib/librumpuser || die "couldn't cd"
- ebegin "Building librumpuser"
- RUMPRUN=true ${NBMAKE} -j$(get_makeopts_jobs) MIG=${CHOST}-mig dependall
- eend $? || die "librumpuser build failed"
-
- cd "${_S}"/pci-userspace/src-gnu || die "couldn't cd"
- ebegin "Building pci-userspace"
- ${NBMAKE} -j$(get_makeopts_jobs) MIG=${CHOST}-mig dependall
- eend $? || die "pci-userspace build failed"
- )
-}
-
-src_install() {
- dodir /usr/include /usr/$(get_libdir)
-
- # Install logic copied from Debian
- cp -a "${S}"/buildrump.sh/src/sys/rump/include/rump "${ED}"/usr/include/ || die
- # Kept "${S}"/buildrump.sh/src/obj separate here as may change to
- # another builddir.
- find "${S}"/buildrump.sh/src "${S}"/buildrump.sh/src/obj -type f,l \
- -name "librump*.so*" -exec cp -a {} "${ED}"/usr/$(get_libdir)/ \; || die
- find "${S}"/buildrump.sh/src "${S}"/buildrump.sh/src/obj -type f \
- -name "librump*.a" -exec cp -a {} "${ED}"/usr/$(get_libdir)/ \; || die
-
- # rempve non lib files
- rm -f "${ED}"/usr/$(get_libdir)/*.map || die
- #
- rm -f "${ED}"/usr/$(get_libdir)/librumpkern_z.* || die
-}
diff --git a/sys-kernel/rumpkernel/rumpkernel-9999.ebuild b/sys-kernel/rumpkernel/rumpkernel-9999.ebuild
deleted file mode 100644
index c892f383e80a..000000000000
--- a/sys-kernel/rumpkernel/rumpkernel-9999.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="NetBSD's rumpkernel for the Hurd"
-HOMEPAGE="https://salsa.debian.org/hurd-team/rumpkernel https://darnassus.sceen.net/~hurd-web/hurd/rump/ https://rumpkernel.github.io/"
-
-if [[ ${PV} == *9999* ]] ; then
- # Actual upstream is NetBSD's monorepo, but Debian is the de facto
- # upstream and there's a lot of Hurd-related patches. But it may
- # still be useful on occasion to cherry-pick something from NetBSD.
- EGIT_REPO_URI="https://salsa.debian.org/hurd-team/rumpkernel.git"
- inherit git-r3
-elif [[ ${PV} == *_pre*_p* ]] ; then
- # These are proper Debian relaeses. rumpkernel isn't currently
- # part of the Debian archive, so this is the best we can do (no
- # 'orig' tarballs).
- RUMPKERNEL_PV=0_$(ver_cut 3)-$(ver_cut 5)
-
- SRC_URI="https://salsa.debian.org/hurd-team/rumpkernel/-/archive/debian/${RUMPKERNEL_PV}/rumpkernel-debian-${RUMPKERNEL_PV}.tar.bz2"
- S="${WORKDIR}"/${PN}-debian-${RUMPKERNEL_PV}
-else
- # Snapshots
- RUMPKERNEL_COMMIT="c65c4413295247f3390385fb623215d3bd8d6052"
- SRC_URI="https://salsa.debian.org/hurd-team/rumpkernel/-/archive/${RUMPKERNEL_COMMIT}/rumpkernel-${RUMPKERNEL_COMMIT}.tar.bz2"
-fi
-
-# A lot from NetBSD, see:
-# https://salsa.debian.org/hurd-team/rumpkernel/-/blob/master/debian/copyright
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 BSD-4 CDDL GPL-1 GPL-2+ GPL-3+ ISC
- LGPL-2.1+ MIT public-domain ZLIB"
-
-SLOT="0"
-if [[ ${PV} != *9999* ]] ; then
- KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND="
- x11-libs/libpciaccess
- virtual/zlib:=
-"
-DEPEND="
- ${RDEPEND}
- dev-util/mig
- sys-kernel/gnumach
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0_p20250111_p6-bsd-own-mk-no-sysroot.patch
-)
-
-src_prepare() {
- default
-
- eapply $(sed -e 's:^:debian/patches/:' debian/patches/series || die)
-}
-
-src_configure() {
- # TODO: conflict with -pg but we might not need -pg to begin with;
- # objects get built thrice (regular, -pg, -fPIC).
- filter-flags -fomit-frame-pointer
-
- export HOST_CC=$(tc-getBUILD_CC)
- export HOST_CPPFLAGS=-D_GNU_SOURCE
- export TARGET_AR=${CHOST}-ar
- export TARGET_CC=${CHOST}-gcc
- export TARGET_CXX=${CHOST}-g++
- export TARGET_LD=${CHOST}-ld
- export TARGET_MIG=${CHOST}-mig
- export TARGET_NM=${CHOST}-nm
- export MIG=${CHOST}-mig
- export _GCC_CRTENDS= _GCC_CRTEND= _GCC_CRTBEGINS= _GCC_CRTBEGIN= _GCC_CRTI= _GCC_CRTN=
- export BSDOBJDIR="${S}"/obj
-
- cd buildrump.sh/src/lib/librumpuser || die "Couldn't change to the build directory"
- econf
-
- case ${CHOST} in
- i[3-7]86*)
- NBARCH=i386
- ;;
- x86_64*)
- NBARCH=amd64
- ;;
- *)
- die "Unknown NetBSD arch for this CHOST"
- ;;
- esac
- NBMAKE="${S}"/buildrump.sh/src/obj/tooldir/bin/nbmake-${NBARCH}
-}
-
-src_compile() {
- cd buildrump.sh/src || die "Couldn't change to the build directory"
- mkdir -p obj || die "Couldn't make obj dir"
-
- local buildrump_cppflags=(
- -I"${S}"/buildrump.sh/src/obj/destdir.${NBARCH}/usr/include
-
- -D_FILE_OFFSET_BITS=64
- -DRUMP_REGISTER_T=int
- -DRUMPUSER_CONFIG=yes
- -DNO_PCI_MSI_MSIX=yes
- -DNUSB_DMA=1
- -DPAE
- -DBUFPAGES=16
-
- # Workaround broken open() call
- -U_FORTIFY_SOURCE
-
- # libipsec doesn't get CWARNFLAGS, apparently
- -Wno-error=unused-but-set-variable
- )
-
- local buildrump_warnflags=(
- -Wno-error=unused-but-set-variable
- -Wno-error=maybe-uninitialized
- -Wno-error=address-of-packed-member
- -Wno-error=unused-variable
- -Wno-error=stack-protector
- -Wno-error=array-parameter
- -Wno-error=array-bounds
- -Wno-error=stringop-overflow
- -Wno-error=int-to-pointer-cast
- -Wno-error=incompatible-pointer-types
- -Wno-error=unterminated-string-initialization
- -Wno-error=format-nonliteral
- -Wno-error=sign-compare
- )
-
- local mybuildshargs=(
- -V TOOLS_BUILDRUMP=yes
- -V MKBINUTILS=no
- -V MKGDB=no
- -V MKGROFF=no
- -V MKDTRACE=no
- -V MKZFS=no
-
- -V TOPRUMP="${S}"/buildrump.sh/src/sys/rump
- -V BUILDRUMP_CPPFLAGS="-Wno-error=stringop-overread"
- -V RUMPUSER_EXTERNAL_DPLIBS=pthread
-
- -V CPPFLAGS="${buildrump_cppflags[*]}"
- -V CWARNFLAGS="${buildrump_warnflags[*]}"
- #-V TARGET_LDADD="-Wl,-v -v"
-
- -V _GCC_CRTENDS="" -V _GCC_CRTEND=""
- -V _GCC_CRTBEGINS="" -V _GCC_CRTBEGIN=""
- -V _GCC_CRTI="" -V _GCC_CRTN=""
- -V MIG=${CHOST}-mig
-
- -m ${NBARCH}
- -U -u
- -j $(get_makeopts_jobs)
- -T ./obj/tooldir
- )
-
- # The Makefiles scattered across NetBSD use $S everywhere. So we
- # will get rid of this. Otherwise, you won't see some things build
- # in the correct directory. Thank you sam
- (
- _S="${S}"
- unset S
-
- ebegin "Building tools + rumpkernel"
- ./build.sh "${mybuildshargs[@]}" tools rump
- eend $? || die "rumpkernel's ./build.sh failed"
-
- cd "${_S}"/buildrump.sh/src/lib/librumpuser || die "couldn't cd"
- ebegin "Building librumpuser"
- RUMPRUN=true ${NBMAKE} -j$(get_makeopts_jobs) MIG=${CHOST}-mig dependall
- eend $? || die "librumpuser build failed"
-
- cd "${_S}"/pci-userspace/src-gnu || die "couldn't cd"
- ebegin "Building pci-userspace"
- ${NBMAKE} -j$(get_makeopts_jobs) MIG=${CHOST}-mig dependall
- eend $? || die "pci-userspace build failed"
- )
-}
-
-src_install() {
- dodir /usr/include /usr/$(get_libdir)
-
- # Install logic copied from Debian
- cp -a "${S}"/buildrump.sh/src/sys/rump/include/rump "${ED}"/usr/include/ || die
- # Kept "${S}"/buildrump.sh/src/obj separate here as may change to
- # another builddir.
- find "${S}"/buildrump.sh/src "${S}"/buildrump.sh/src/obj -type f,l \
- -name "librump*.so*" -exec cp -a {} "${ED}"/usr/$(get_libdir)/ \; || die
- find "${S}"/buildrump.sh/src "${S}"/buildrump.sh/src/obj -type f \
- -name "librump*.a" -exec cp -a {} "${ED}"/usr/$(get_libdir)/ \; || die
-
- # rempve non lib files
- rm -f "${ED}"/usr/$(get_libdir)/*.map || die
- #
- rm -f "${ED}"/usr/$(get_libdir)/librumpkern_z.* || die
-}
diff --git a/sys-kernel/scx-loader/Manifest b/sys-kernel/scx-loader/Manifest
deleted file mode 100644
index bfc8336320ef..000000000000
--- a/sys-kernel/scx-loader/Manifest
+++ /dev/null
@@ -1,338 +0,0 @@
-DIST anstream-0.6.21.crate 29516 BLAKE2B ddab9728a4824b1682a84339e2c5212904fcf878867c8ed7604ce045d4ba6bae0f129e73968e20d58a9b2e297ad1b6ddd5557907d3b6ae9253e3127ea901d40b SHA512 909059510b778f606df779d5f8ee69cf721072e81f933eb5f5fddaa4d1586a0040ba7456165d5db16c812dd654c2dda6b929ccb997310b507f1b79846ca1f402
-DIST anstream-1.0.0.crate 28916 BLAKE2B a9198a66bd3821349f83d7837ba7546a12a74a6f57e179e480bd6bf4a75848a45dac9a19a27c5e2cf01520c7e917d380b21ec16e4485f69bebe112383ba273f2 SHA512 36bf11821e8bc23607a54842b47950782806ebc7a56233e3c458345d79986745f6ba878e39964ed41404eb5be58f78d0bbcdceeb86d523ba40eedd15f7e1f29d
-DIST anstyle-1.0.13.crate 17651 BLAKE2B 026d4163f4bc8d1677d0830dbe46fd335d18e50420d2d809a675609c1e020f7e3c5e69b8d0a7baf5f42fa2321b6230c619a93aaf8e02ceaef638f8006dbf479b SHA512 1a92c4bf6ff7262c0f5fe72ff66eaf11f0c84e84a06746767918903c0416ba5d33ac54ff9a2c6cde37e26bb2287675d3f0a8a7efa95eb013c9be388b8139661e
-DIST anstyle-1.0.14.crate 17787 BLAKE2B ebb3b3986c06628ebfe71665216de68f123840093013fa16c030c25e22ff0731cdcd7161737635c532d45ad0307a1b7f951859a40dbe1c812b3e905550b33b90 SHA512 2e7bbaf0794d209f0f19fb8709214c1b1109c27e14d91a8adc232a9bdfe76e653b2b86e341d71f63903e034c81f6ed63ffe7f123f6d631c0f8d41b56d70037b9
-DIST anstyle-parse-0.2.7.crate 21707 BLAKE2B 41d51d4c026e548a9428f5fd8dc85fce964e3f1cf709820dd53d216af3065a4ee069de8c5bcec5eae19b99172f60e89034a2ded6bc787f3ea4159d5d30de3984 SHA512 3e0920594dfa15f16dd308d0da81d784e6a5d6fd7a3b12cc1512fb625369ea7b4550df549e3be961906e2d3105f72ecb86b89dd6f5817c2c982929ea26d605fa
-DIST anstyle-parse-1.0.0.crate 22042 BLAKE2B 418cb53754b325354a76d75cd73652d2e41408911bcfbadf91f668e7d6942d92ae3c379194f1d38bc6aa26a9ad98c92801213ffddf544fd2ce29a1180179a8c4 SHA512 4394616b0aa7a591eb9b9bb758abd2f067a3fe673b060c02857f6d2210a2276c476f32512aa59aee6c5383e3261f2654058ff619d957bee93d62540e10d81085
-DIST anstyle-query-1.1.5.crate 10264 BLAKE2B e1c1bad89ad4c09e48f9d7c417713953f7f468f10f7f61e351137be801b5986ab3d21406411b0b23c42af4a2b5881b85aa68dfc66d23cafca7dfcb88180104b7 SHA512 3b7b888df0b678bd4560981dd94a51a6af9a535cc1a869bb4577e832492bb6de718a3ac80ecf61f8857b3d0ed7b95e444e85bd00ef65a46c6a244d0b0eadd95d
-DIST anstyle-wincon-3.0.11.crate 12638 BLAKE2B 01f1ce85205ed3e573daca145ae420e9f7d78867fc036133be74bbcc9b83231ecbc681b57eb98bec622bcbaaf4bb293d05d3021a29b49a0a71b8ab89b0ae9dfd SHA512 09c3215dc6cef75d6282078e68c5dbd51580b6c8db79a77932d2e74a51d29cb0ef23c31b8a73a71896a45eb5dc5f94aee209bd8f6e5df4c675dabe3cd304a96b
-DIST anyhow-1.0.100.crate 54059 BLAKE2B 3089cd4bac1a3ede11c5849fabf12735392ba2910f5d5c1117cbbc9fe2491855745879690522988ac343e210783f8d885f13593b4d0f3a3816b9a8c35ef2eb7d SHA512 1f0c072aab9490d68db3783f078c6f8a4d96360908fc6ee3e971b02fb72b9dd5e689dd385f0e93388a87e0dfbd8cff0e14a280b40d55f87646f3c0e558e779ca
-DIST anyhow-1.0.101.crate 52315 BLAKE2B 8c3f626aea2c05d27e5a7e401147f0ac779775f026aaced102ca1197eaed9ad971b8170294da9afb5c8be0be87ae3deddb891ff0de7d5726f16f388593f6b328 SHA512 a062eea355a23cc505d7a116dcfd135a905210065069efc6917b520b292f248f6189f58c8ac1392be57f25d8e44613c351901990adaeefeb2d0ba8a612ed8496
-DIST anyhow-1.0.102.crate 48658 BLAKE2B d9c7b7c50b7319be0e67bb236e0420a67e3fd6d6f4bd53a84cafc7a5385785275151832be472c0063405e6d458b5add3907b670ba5e300e08efaae699ab77c44 SHA512 18064a92b6d577151b6f1be3df0985fdefdc5f7089ac0aa9bc92a2034c780eac5b71b8fbb260217aea122bee7c950ff00abf4b6d8f4143dff889b7164c7d6f0b
-DIST async-broadcast-0.7.2.crate 22746 BLAKE2B 5b0bca51866d8778161fc60d33ca289fb65622ea6daa6ff9e2d97487f452c44fd996e4438b7d4151d799e19b731330f7f1bfb829e3deb183015cb8bea7733666 SHA512 dd53db4a5f7100cb969d40c709f40540703f498e64fa8486c5ed914bc8d1a451185e698b6f0b21decad890c459aeeb917d6f42b0500aebaef4bde48eccfedd5d
-DIST async-channel-2.5.0.crate 18624 BLAKE2B d835b923d9c99100e499d72d34515bbd041bfd087572ba681f0a61c9237f5d2af1d4abbeb9572ada694a3609aa19a14ba1160deb0d6411a542ee73cb6234c5fd SHA512 621e9540972a4a5d1b6cc0fb02a507cf66d704dab5411b60c44c2b65ab21c3f7f7bdf9c093e7498a71ada6573e429a4b426506c96c5fd9e3e297a76930ca2f83
-DIST async-executor-1.13.3.crate 29126 BLAKE2B dd14f504f918ed9ac9a0ba37a51cffa544382eb98e2620dd26cb1323f70c1b268c1f8538342d6cc37e6b6af8dd431f8f8648272d25600286046261dcf879ca45 SHA512 70f39018b48704796102cb7720a798454985fda1c483fee5d352a4cc8f09a26a5cfd55c36c0a57058d6dbf5a412182eebbadaf12c9244b19bda5e9b8635bbac2
-DIST async-executor-1.14.0.crate 28804 BLAKE2B 435494b5c3b8b4f716c23db4d7aaf3ee59176e695c70517a174752bb4f5fd7c788b69782de4f48a11a1f002ab95e22e442861e9ae8527a0005307a74d0f11606 SHA512 2d857818a4e883e4532a9da9c0393d38342a79f9044f9480a03dbf143c3fb53629f48e9a487461a016b85b43984161d0b5c41662a23a1cd836f7017bd6514b8c
-DIST async-io-2.6.0.crate 51062 BLAKE2B 6e4ac738bcebe13e6a44529a7152352a27c648019eafb074533ae3a8f2a2df13bff261238f48a74c4cb8c13119342f0793c76247f23386435012a76e9b9aa8f4 SHA512 b2cfd5d82e5b5678684fc0cced2b126867c142f331153811f054682c125e989977bdc9c613c866149576611641b685eefc0377cba1afaaba851bd985af3574ee
-DIST async-lock-3.4.1.crate 40981 BLAKE2B fec033dffbb6cf581da443bf6d2e4a313a6dd172941ccdf8e7869ed8a5b1845a28ba51b4e4e9221d7a11f7af3d82c0f5b54d5269cc8cfc8361f8f839fd01987c SHA512 4878feb5403e261272e3275d85f19195de612e2c67ea7c25bb55904521db24eb853a56beca9d0f06130501b363935578cd0b4a6da2325cae2622765da085168f
-DIST async-lock-3.4.2.crate 39826 BLAKE2B 563130bc7b68f3174f03b21f8426090ce792440ac213f7758be9e4f510f07df513bb1c4badf3f51cd18de98fe4627560b083349f7d3d564b96b56f14f08ad5a7 SHA512 a8078043b03d05dd00eea00ddb2b87f97eb67d438dc5ff8c861499485823db16b23e0b5e85b4d711f824cf31d99baa5f2e182f8d7abac295fbfc7b2fd88b4d44
-DIST async-process-2.5.0.crate 27552 BLAKE2B 5c553a281be2968ceecffed57a554358d216a5f66a9d91e2a01f7a87c111e7fccd933d7bc27e5b73e2bb0a84602aa2d4c8cf754260f04452645b9315e82a8878 SHA512 7706978043d5f3612675a57c7e838e31b9df94f6f4f5c21246152f066faa86359f346dc608419fe3f8f0f930d8655a8cdc3d4e29e47aee76c9b4ab04ed68f383
-DIST async-recursion-1.1.1.crate 14874 BLAKE2B 6260dffdfa9fe00cc1a63c8cb103a3f210611627bbc75c2658e7cd732c504791c6577d7033af3c5afa875f90cb370b7f216979e0bdb62dab4acd61786cb5239e SHA512 e3acd07a35be546ead68c7792963c7bf1876b3e5d6a20c2be73d2f030d26d68e2a318999937d4fe253e39d8254e12e42c66314f40a3b230c5d258f34dc0d9027
-DIST async-signal-0.2.13.crate 17015 BLAKE2B be2acc3dc6f523967930273fb3660f9f6d4cc36f7c79d463ce05d4114babdc6de16bef8b0187d68e80dd551cdfbd134bc1167047272c75f5a0449e3711855831 SHA512 7b9ef2f79cc49df0ae580ab1c853d92ff352a342507ac378a5cd2d21a40c4f64506bafe907da2be298e3475180a9249fd84394c9a35689fc1dfb3cc5c082793c
-DIST async-signal-0.2.14.crate 16447 BLAKE2B 9c0596be80978f2ed2c8c08d40c9e5c09cd75a7202ea345b79c10b5c8c7bd912872e5fa61f51f92f8e4844c5cce86f04051fcf5cb958fc7c5c76683ac80386c8 SHA512 e2d05816fd7fa785616b02a58694f547f03cac321954724cee9b875f9dc3eb9555c5534851299cbbe692c724a8d9efdefd02f9faaba2366f862ab6eafe150d18
-DIST async-task-4.7.1.crate 38077 BLAKE2B 200f3c2eff92afeffb34404bd9b02af39226024d309137c3835342ab6631c09f14f47abc5d25d77e73cbd133274e731fc88e7e94d8456f690b0f1056bae8dd95 SHA512 8495436d0739a2ce83b372ae13ff24ca1487c92e032948d5830af19c3ba411d7cd004634fa10bc2f748f8a82de27c12cbfacaac92cd0012e1fae024eca9e78ca
-DIST async-trait-0.1.89.crate 32171 BLAKE2B de1262f5c40b3469732679f82640d676e802f3257eafbf020f5f42c8cbc70d278c3c97577225293a19d22e76f0437e916066e0b1eb4c4f92ccfa504e48b54355 SHA512 deb15ae7b4250666a6ea79f682e1079f50965d6aba353f057747dc84b530140512782e040e97f2ffbd90abab1e470b18ce471aba17cd7c68eb434a0874052d27
-DIST atomic-waker-1.1.2.crate 12422 BLAKE2B fc6632f3c9d719b1d24a1c8e05947d94028909d1c629b80576e176e567636dd4cca699c7e91cae2df63541da574146b3ce766374e93f0ee429bb5bc89a4d3cae SHA512 e07e58db7955791259d0ec00fc4d53318aefb4506e062914819c4220c6dc75fa11a7af0289b4653aa1f9041eb975a025635190de68b4800a0e91e33cdb0ba11c
-DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08
-DIST bitflags-2.10.0.crate 48427 BLAKE2B 238a6da813eb2c5541ad470b97b9cf6ad8004095d2a8e865b88eb2301290b7bda22e5b062ba66a04ff0f3108a84d4799af0786b76f785fb5782bd847876549c9 SHA512 6fcdaf250ca6e74b65ecba755d62c3e78f6c02ce1a9562a3b17bb2d6068a0df480ad9c838ce427dc2d2869a9dd1f86f2fb1dc1e50a114def77fd24154b2b86b0
-DIST bitflags-2.11.0.crate 48906 BLAKE2B 35764719b3070c5f9b51d35297803306ce01823ef07d720e5ea5e112c072b45c4d497f6b63285b1a0fce2842b1468bc252b00564c2ece14211d2af2cd26c2faa SHA512 d6c0de6c06ed8d1249dd69de035dfe5b23d9f1a8fcdc7535756622cf660807c5e1c692dee1ac832c06be1ce41b225e3d60f36be4d1896bab7d986d18946f6c48
-DIST bitflags-2.11.1.crate 49082 BLAKE2B c9c875b54e0a12115ecd846ef0a66bc7070d38892285a4142f1b1f26b07d407fa440a2943f310046f5fbc9a2428fcc56f2e44d06360e551d4b27c9b8cf93eab0 SHA512 c91b5a8b420d8e875a0906ef9b518a392487fba5399355aa5e908132149ddea7cc4222dd271cd5072e50dd9abd6e56420f4205652ba32a57af46bf07636604b7
-DIST block2-0.6.2.crate 34505 BLAKE2B 15cd481767a6467f8021f9245c29c2b0fc98a74c022280881c46bbe5cf221cd9c305e884f92d90ccf31e26e5a5a4b3ebb0c88f2345361c244ef7db1d778eb8ab SHA512 865a855e84c975d9a879159e888f097ce2314972c8e01506d2a3b3b65afc9dbe042d764da903df6746925cef6281cec93478bc13df3316ca112c901db8e3fc38
-DIST blocking-1.6.2.crate 17754 BLAKE2B 5deb319ea3e25ee234abbdbcd166c99ee5cbbf00fa5587d466217c41a7d1cd40e6bb7c3b5f6e5b42823051b6436676efbf37736b5587a4f50182c3aa0f271478 SHA512 96beae4b975a4f6da2adcdf0baab407ec42e185712891f25b99313e8810f017921dd6095ec60264b912c65f88eda58734fe5f923704162b40410a4c70ee08f69
-DIST bumpalo-3.19.0.crate 96414 BLAKE2B f8c155f77cf977d72749f3cb943a6b171dfc4f67135da345a935ba603f2b52b5feafbba908b31feff391128196c7b0088f6f62d5b37bc4d2277fc0fb9c560b54 SHA512 58db27a643c55adae07061100e3604dad0056bacd42ce1142bcc34249645e9313e886c3174a755593544684fcc632f134f9c6066752ac695254fb9ecd40878cf
-DIST bumpalo-3.19.1.crate 96477 BLAKE2B 8716eecc9918c69dd07d6840f9b55114e290de053fddd11c187e11fb396d8a8825422378ec7a2e131674546d158b909a1a4c3e29d52cf3ed001658333c153807 SHA512 105a84bbf8c2b8fc130055713eab7b598c67d34ac01fe95b4c9f10fe956130870c0d12ac237c5dad3a44991a1b8611e5028e749024b6497d6b2f8a2702a4f655
-DIST bumpalo-3.20.2.crate 97696 BLAKE2B 0c744cb37279ca82e4c2a60be64c63e61c8290c9ff904c4a2ffd0e23f9ba96b1d63a30cce83fc757cbd40364bbe5e410da024c04cd9481f33831cfacc2133156 SHA512 4c725a4eb436fc9b3302430f5bec699563bed4b6a86c187defba9a83b749089eb6b00a6855afa4d42ac5eb324088eada3c0713f3e8c2d1c85bea4dcca83a4a60
-DIST bytes-1.11.0.crate 78391 BLAKE2B 9efcb5e5b93097d7405543fecb8962f5794c91b5e7186f4582e4d6886075a5bb5d3502c09ea0a3fc72c1381862f8700312a27607ff3534e7b476bac330924a4b SHA512 0f9315b9e6bc54b7339314c0ca2e01af61b4e59548f9e72ed54990e281266f614ec78917529779fb33cc2037a6ecc9595d531674a23eb3884e72759907b4a883
-DIST bytes-1.11.1.crate 78584 BLAKE2B 4985426ff626d880a0da3d592ba48d697c88a83f48177e2b7380cb55e736a43f3cdf662d99cf0908b599aa8eccfebff2910405559e490b71adcf3f078673cd72 SHA512 7933d18c1a2c1496add2c7193e92c3aa17029c530b7031604ccb7c77c68903f53cf7d41396448b32bdd4f540fef4b37564972dac7b225e6e2ca99cd61179a6ab
-DIST cfg-if-1.0.4.crate 9360 BLAKE2B beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19 SHA512 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d
-DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
-DIST clap-4.5.53.crate 62036 BLAKE2B 1d3b1e7e4ad3b8b837be18b63ed1a59b7e29bf2d0add211d96ec23ca97e48ea79a9802f7a2e08f9737d445b82adef252a5b69f8ef8c94fcaca88627eaaf0ea3c SHA512 2e700a46bdbf2afef7e56933629f3d7fae16021e02aeccf6b862a2c1a876e1f8ef52d927ba5a599ec04eb65d4ccade485d1de6ff50547df6df14bd8ad97daf2c
-DIST clap-4.5.57.crate 61999 BLAKE2B 45dabfbe35cf3d3660d253aaef8f1db1b96ccaebbc506cfa2e0f76cc5758250a6241ccdb7effeb986ac55b52582e1c13c5602f8eb2759b8c5301acd095ac1f93 SHA512 d95518404298fc2fa17a1ff9ab36590790022d82546e14d82674e3d43f83abc44aa3a9788d145014adea692c5a5d143ac9a32ac5e44d86a1ffc356889e0ee78d
-DIST clap-4.5.60.crate 62002 BLAKE2B f9efd2547c97e942fb8ece20bd357372401cba0a343b7683c8b4eee2ab0513687c39ced3faf64918ea948a66cfe88374ffee0fe3e7ffe4f58a3e9efb77607ac0 SHA512 04cdd8503ea322b41d574bc700bb8be24fd930b28a5281899ad7e8f5d3fe65c3f671a639b8ec88070523abada843c78fc7c9ec784a8eeab54a1c7efced120234
-DIST clap-4.6.1.crate 61836 BLAKE2B 0e58b564b1c7792c4380284a61e20324495906764ed7ee7e9e62eac159d5f81508a82deb26cb294c85f236f77be79ce0cbf0253ea7544790ea3a5c0941acef6e SHA512 7e1bf1cdfcf8fe1f67251073e9ebabd92b44a7013a2245dbfc3a7368132600a30662416635a329067b97a8845af3c68274ec6ada3bd72d110b0aee5a4d7c986a
-DIST clap_builder-4.5.53.crate 170811 BLAKE2B 44147b6f5c1af4ca234f81281a8ef0c44d7096e87a2b43d5099cf401d3a5cd319b250b0902a10271b25cbacab207545225549c67e7fe67f0914e4eb461db74a7 SHA512 3151926fa631c882a6a02381f428feb9e861834469229d53c222cfb2e14be8be1ec3836b57891d960d026e98ed5fab1d9fb12c475fd9cde43db7e621143a5ba8
-DIST clap_builder-4.5.57.crate 170948 BLAKE2B 68e2b018b95b931973dc5f28aab4636f9ca95113fc4465fe046cf5f17a17c00cab09e10b3b2332fbc5281ade59648c61b9c7a06370be58b6678734553b6dfa59 SHA512 a2f48375ce0e431ca495f7c65bcc5ac7388854198eed23fcdd61d9a01c3a41589798c684dfc571d9841ccd2ed6e1020511ca40813c29d35b8b1e1d4fa7ccf4c4
-DIST clap_builder-4.5.60.crate 171105 BLAKE2B 590ea4bf09e10ad71cc1936a6232903d81866144fe9c1977518c9966b3c91b0991677dcc40d5a262f903b1f39d8cd79f5dbe1d0149c4e17c5bdc6b312b14e4bd SHA512 6414a9d8a8d7c1d5923941e0d375df1a4c7ff8ebabf5bc83cee4ec1e5b502471c95701865f523de7706778b7eed844183d9e0097f84124b5147ff44d2e9b55ed
-DIST clap_builder-4.6.0.crate 171122 BLAKE2B 0a6ac216ceee45625500379640f9306015f749c377d14c6c9538fab7988da89b39e260bf8736d7ca055c6db32613fa7a9e73f325fc496d7521ba3453c8558348 SHA512 43b26377a8f15d29f8fdc9ada914888d87111084c5e205308d166789a27d91c2d8db6756b24d48ef8a293c92ca4c27dbf5433db21e336b2116d51377116fabd7
-DIST clap_derive-4.5.49.crate 33559 BLAKE2B 453aa3774705de9c8cd77a25931deecc085efc85f9e63dea413c9989e445cd79886bd05c8f871f0203ee3003fe48805151fc42e50c66a1e05e6f6f01c5fc5e48 SHA512 61d2b9597bb521cfd31a2c77af687832dd5e48f8b80dacce3079f165d6629d58f000c18a956fe948b1ad99776d75caf4e6b9004f63d861b8ab3b68b5260376dc
-DIST clap_derive-4.5.55.crate 33502 BLAKE2B 3dcd1ef61a9d874dff8e4e337d3447caa05d3155bdbb9f1cb6de0e5a4349b88ea4b7b33316e68b798631c2c3351a7caf97d9b13b37a0c06c8bd5b4b3fb1348d8 SHA512 443bf32b68076a164c00222b7d5fb5cd14ad9f1a7eb417ca9fcd7d6fd49e7cbfb97ac8e74e0e72bbf78a862c1fb6a27e1021d2ae9d9ca03c11b530682e2b0b64
-DIST clap_derive-4.6.1.crate 33512 BLAKE2B 36d4fcbdd0eb22ed872d27da80a1c22baf718533d43cb762f109f80abc8d7e13a92fd293db40ee2ca18709e7bcb8cab0f06eaf48dde336e67df90e83f6dfbd6b SHA512 ed210527cecfe3791b9d5af7279b337890b46b61fa05fa6979c88db1693ddf0ee5a4eb0904dd93e2da76f5c870963cc79b90d87cfc3cecf166a65364c16ffd06
-DIST clap_lex-0.7.6.crate 13466 BLAKE2B 723f306a9ae6c1fedd6b85fade039cc2a1dba51aa4412972025e0ff1aa8f15742e090dec61df3ac17ea9aae426e96049a673f5b944cb164b649ec1809477ab88 SHA512 d248b65234f201b2cb867562ca3d8299e79d348874547639b31883c6eac8416d3d6394e5b0047ad74f1a2c37e7721375c76bcaed1e60d13c3f1937b20ad9c54e
-DIST clap_lex-0.7.7.crate 13474 BLAKE2B 609eeecb32aef3e1b3ee773af7f554867e8a06d4c5d1d2f42b0137c65825fa27d50a4438b6186bdfe790ad19abda6f32880e679361d9647b0dc197d3d3869392 SHA512 08dd03c26213527f3900a47b011b17de36c3cb50405adc0ea8ea6d06000d8d8b7fde1ea84bf9c426e6e8dfa8cb6b4396bf4291a9058815b93f546c069ac4ff66
-DIST clap_lex-1.0.0.crate 13466 BLAKE2B 9a29422e6723fbb76131ce7ca970418200b4ce9bb84936f156e416c96aca25aba7d9982af70f7fdb696a28011463e09a4cbc00df7141e1a6bfb5236178309ca1 SHA512 2e65fdfd8a7310f43c333efb41b18818bd79dc83bf192eeb53f0ab524b500c0660280186308960a0b5b724092319f9325bb92b0b63738fcaea7b932d0d7e3887
-DIST clap_lex-1.1.0.crate 13470 BLAKE2B 3e4895620e2922bd95ab6e3aee296457adbe70c2b3b2fca24c48e5bb700ed622401c68f494a266b91f1b82a7ee109ca90d4eee7ab6eff35e28b5fe8038398e5a SHA512 d85237e0558ebc745b08a150ba8115133b1ac1ebfbf6b2abf632863761fb70cb329639bb1c30625b9e786bb27b19438af11c123c508fb39e682f13e294ea6d9a
-DIST colorchoice-1.0.4.crate 8196 BLAKE2B be97be7d875cdd09cdf3f2594f0e7ed80601de62bc907ff70053317b9d48e889b3fd2fa0da5e6a681fcf80b24be5e16089289e3dbdb68255b486c18c517c55f1 SHA512 0bc6e55c3909e7bcfdf198d5d68ed8b588b82a72f53aaa41efeecf9dae2d31e6c172a7ba922e000fd7cdf6373c13371a98e7da08e6988fdcfbf20782dda8e4e5
-DIST colorchoice-1.0.5.crate 8187 BLAKE2B d6415c5b337e2f4f5176003082e6e8c52f55a45ff959376e7a3f30e5aab1ecd3f84f9cc5e7a8a720398c1b58f99a07cf042695adb0b35178931178cc8d77d2e8 SHA512 af3a5e7e837b280cd8f0578d2ba2a04443d4c5a445577f444af9edeef6cdb47de134f77b07ceda76ea6b2c73b9c10e1d7e3e1beabfd22b85869585c35db88bd5
-DIST colored-3.0.0.crate 34497 BLAKE2B 6477cfaf974399a2823a714b766800766245c8965abc99f142c4ab72effeb665cbe408e9f34e28ca54a0b1e82859b8712027ec0cf88b98d2c536f0878e7ef6ea SHA512 2e3a0b7625cebe491a884a4bd1d8c4b4355235cf6e1e940768f92968313e09233d2f9a13a623cd44542f7f2894d4a7d64759083e005f22967d0a4991e0491396
-DIST colored-3.1.1.crate 36216 BLAKE2B ccd7bb46b6ff080e83c7d2a905cb428d07d1ac9ce511c8372618ced9078e7ee08be009d0966b168dbb12a501e75f9da2c0e87ab6a350381734a94d1a5608dbc7 SHA512 7195e68194dfd43c2bce16da8b59474018ce7c9e4e47fddf9938d7ccde622b591df996c9a63c0517f9df7628c2b4fc93b346c7dd671065e6fe325aeb87abbd8b
-DIST concurrent-queue-2.5.0.crate 22654 BLAKE2B b490e76804e45d6a7af6bb4ec074fb370d9ec7cd67c7ecfb55d5ed53b9b437c174e678add915303559e902ac81c8751dccb2c5ef0543d5961713372fd2b08d3c SHA512 235704f9161dfac60d2a6d2cf96425e39c097dcde2f005187c1f044704eec66d8303d59352cd414a81a3ed0eed60421054b0070a9b8f69065a79a2519e913e5a
-DIST crossbeam-utils-0.8.21.crate 42691 BLAKE2B cd9015c41f532eb3c90101603f32d383f01e6880718b727d6d1fe46872ae276cda685e1b548cf77dd22bb1a05f0d4c4982332c2bde90e1743dbd7f51919022a7 SHA512 6f4aa7ca10c20da291c4714b56ceb1fab1c06b03b2f4e28e474e9aeb95ab6615a25462dc7819713652c3b5f6a06fa0f24ebc92c533fcf35dfcf2655857d975f8
-DIST ctrlc-3.5.1.crate 14115 BLAKE2B 8ceb599eadec6c7ea734555b4b47d06f35c869a708ddfab1cc244e4a225cdeee91478a18b7d18c397b8f16d8b6d7f1787c2c14a33a8896376f2412077a724143 SHA512 5ba086b889d1328eaa3649a89115cfab24850a99c4c4926766d3f513241238f7e266bf0d2d5029e98ce21b3f770bf7ea3acbde3a0432b83499d2a8361ad2a4df
-DIST ctrlc-3.5.2.crate 14194 BLAKE2B cccbde5a877a224f033bb6b6eb26347b343545c6731f99c7f1fadf0308f8a514794e340f233ae9a8edcce902ef7544571af8d4032774625da210317787495d75 SHA512 702e67489d9a77878b7da4aa7d5ffaaf169a2ff9602303d1b5a7b191f51b61b62218a2f9c11ac28784dc7a819659f87885678484866336dc7fdcfe01a0e4e4fc
-DIST dispatch2-0.3.0.crate 54606 BLAKE2B db60f0e73ae0858168c617de34e22347e657b22f5328e7d86c136008d3b6b93ae36f295b1b5b3ca677c419e333451d16dfb7852627fa36639807dc7f4cdc9a04 SHA512 2f0a168885fabe8fb7443994bb666c94ce95d9b1f14eee6e19b185b27d4cb33c5e76f85244cb9e5735566d02b7c61675e42911d6d99b079590dbd124aed56f59
-DIST dispatch2-0.3.1.crate 55299 BLAKE2B a159e925c2b6ccc7357873b06114a600cd2c9137fb1f179883070aca60b3a4f4d63ec3cc27ff7e597f972ba3ea50621609f49b38c3be83b56cde6c6cc5573178 SHA512 58c2c10ce8e6d68faba8d96b2553979dece0a0733d98ccd22354231611b431ba76e6781729ebbdc52b695c11cadda53e9d26a09a7e11ef4cf47a94902bada878
-DIST endi-1.1.1.crate 5045 BLAKE2B 3f2bbc121103e592c86dd74ed864301aac984a74e9955e3d43af881248fd6d45bd172ed344ee3cac079dfb8bbba9020c6dd8f0646505e60590bda93ffc73b101 SHA512 abaf1654a5ee129652490581410dd57aa8490cb1cccc5de27959a4ed9c1d025f77be2e8c66908234871766bbff623aa932bc1c85545dba7c5b9d2e44b38fdea4
-DIST enumflags2-0.7.12.crate 17544 BLAKE2B 5b11f629d947c1cebc3cb0d7a3c37f7639ba93409c9af5b704efeadd66544e82086abec82cb3b9c0f74361b53701c27c2e1e0f16bacc9794f1df58bd4dacdd06 SHA512 b391276c9fc827efe9bd6f8d599d4e26dcc602c97f18b302b3eaec73f39193e0fb182f8a353b0ebdd4416c2c6406bcf44b7b849bebf246f20b61332d7d0d963d
-DIST enumflags2_derive-0.7.12.crate 8573 BLAKE2B 12b9baa7bb0afe90437d0a99873a790ba4fb2091ad31dfcb5c2f6e46ec891f32ea5b397d4b7a617a6509bfe5216f1de225a36458943c8c88c2b00630c7ff26a5 SHA512 9116d0559ff0b9de47898a55b53e77bbeae9ef8b790e9e081388f1458d118a97c2b02d29242080b2891bda1cc79d27f425a0347802205fac0b60cd15c7362a9c
-DIST equivalent-1.0.2.crate 7419 BLAKE2B 7ce4fb7b911961cd4ccfb48323eea4952110a069789c6bd177a63391c270df861afadd00c07db7b22768f0864f320e429e0200c433284f528336e2f81d071eff SHA512 8e0e2dc070794a85b276e93f9e4a65d3bbb8587b33fda211c34479a0b88504c913d8bef9e84d7996254aeabe1efe4ff1ef6259ff4fe3f9ccb90dd90070b3e4d4
-DIST errno-0.3.14.crate 12002 BLAKE2B 57fd842a717086ffdcfa5102a8c52bf8210672820366d78aadb6f159055917477e6771e9fbda88787278bf3a116bc7253dcb705b601e54038a93a1820c3c287a SHA512 1de95c9806323d63e7cc95111e67b3ba1ee4b9d47b70cec33485194574d6b584d22ff877dfbc244317822721291d537d9509ae5e46f1b45169cb478a78322366
-DIST event-listener-5.4.1.crate 43782 BLAKE2B b43523d0166d1e89f4957d718a54af9c31a52ca860bc5cf645e093670e5d0e4bdbc5f8f57de9eabd8b8c5b54df4090bea68adc8bfde8b9d23203b737580e4fce SHA512 99677a81a7abc04d6386db78fbda40ce5a9e4b628d0a1b171150b5be12e336fad04f2f8ac94e62d732dc90b0c65279bf28904e77f19c5cb6f0cad6298d97c394
-DIST event-listener-strategy-0.5.4.crate 16179 BLAKE2B b516f4b14bace1dcc9e7e6ad3c7b8ed1855530d0aecd1ed480b4392bc5e414a92634ca91b73e521e0344e264da2d7bb92ba6dc260cb38d532ac5b782569f7ea6 SHA512 bd5259083e87d6fe04fd0c3ff2b5a5ac3e6550ea05bf623b3c535465a2c1f2766bb66ee73444a80075efaa59a73b064def1f034e91e64c66aff4921eefc54caf
-DIST fastrand-2.3.0.crate 15076 BLAKE2B 15c9a1c4f64d94c4bfd38ae139c6fe19b6b621a495c1b57209edd6d76d978eaf018ba77f356b5086c3f462a6de044fb5e3b172fc288309569911a17ec39951bc SHA512 267fecbb7459c8840f03425733d278dd6c4e7637b85b99552877117ed5e8015e094d86aa95841f77064136b7f382276c3cb2c2bef7b2881d272f4aa57c5cf947
-DIST fastrand-2.4.1.crate 20773 BLAKE2B 79fe53f19cbd8343ba15c21adad7397ca9e351d00d77673913063f8f8c02c0753a29828ddc7d52f2f2f68e8e1822f31060fc52d046769f6e768d510cbf2086e1 SHA512 7120edccfb1aac689412f463abb816e3ec2e7c6f7da3576c060229139c11af5e69408bce42dde4d78046cd09ba8db53a6f9c4fdcd68e5fb151b72a0906a8bc7c
-DIST foldhash-0.1.5.crate 21901 BLAKE2B 22c3a266becac17995ac996f5c9caa8dea77e36786c50464e4e7750d8f3f13321a0a1abd3a9abcfd6ff441ddea257066b2dfb7fc6fcf7468f537dbd1b0db737d SHA512 3a634fdec410d87ffced8aa1bf8dacd9316a04c51424563d60b4dd611617041f09085edfd0ec96e6bb0e0db74a0e950b0616d1fb94a31667af35af1637604c22
-DIST futures-core-0.3.31.crate 14318 BLAKE2B 613d16e4f18547e45ed0dd56a7b908306393e479c379ff64f358844eacb1f8d37008ffbbfe6b1a4ed184e501ee9214db149d9cca31651b7d353ab4a99c8f5ee1 SHA512 d2f4c2476c4f480f724a880ee16566fcdd545579d3cacd2f16745812eed9ac4a7a88d59d4a38b163ef466c6f6b612b9cb06308a09d52256506a8a90e358db935
-DIST futures-core-0.3.32.crate 14684 BLAKE2B d0c3ee59327998990f4cd81b8d76b6d8a58000ffda809ecafc8b7e658abffe4fc45be4b9d5e502436af8e4adef50b1601907b8256a9f65f8467beecd37ede220 SHA512 5848937ad4135fcc488690bc681bf66d6c353f063f87dfe1ea4b79259b9b402896276c10ea80b159a9adfa551abdb5b00a2c6b332af9a898766f87f177a40137
-DIST futures-io-0.3.31.crate 9047 BLAKE2B 667e62b50be304b68b8437d93b734a0e2433d88a3b410010ed0b04eb2bbfbc9984454c3f0a591f720c9983582c6421d7f870f0733c31337c4c518112f52aea54 SHA512 16d21388f7ca083d2c618ec140cb2c0807ca621b8c338698c367d862b99133ec9edda828f051f3f666472c929e7bf7a5cb334fcf167109c7c392c5cc60b54fdf
-DIST futures-io-0.3.32.crate 9191 BLAKE2B 01938a42ddd4de31a389136376738b4e6fa6820698b470fad50db28886435857a9ef4b30d871559ab6a4fbdb3325cc05615a53e4bb37fa4eec2d019f26fcd42c SHA512 df7447fcc2046d5453d26913109bde4dfcfee2cb6914e963b090c68b32fd5256c65697235fa5ca960659791bf787ca6ac88b6b09c42abc82527f3d3c6de5ac61
-DIST futures-lite-2.6.1.crate 46095 BLAKE2B 36c134db8c8dd553f1a6fb9ccd50686bdb94d17fc939839ce286cd748d0f0143bfac84a72bc64fb27f3b982dc2064719463dc88036656019304598de818e443a SHA512 ee62feea8d0208cd64d6ce99f813b573cb9aea33773d33adeb5674f51e359896109594a6766d528ec6f3dc724d97550b9007d0ba6fe6c71b5885735a2c18b4aa
-DIST futures-sink-0.3.31.crate 7958 BLAKE2B 7d42180cfe19ae42e2ff486d83ed46f3aaa4b333256d4c30c5a2ce0e0d0b05ae93516b029e6d07105b4296bf23ba29e6fcce19f0e38ecf59b53c6ec9cfe2e188 SHA512 79a57dbee5cfe98f2c003bd463d252648743f70d13e2054af072978b758c7cb8e5fb652fd2f36c760df358ad23d2893cef24ca6ae3df44def28f1d39bcf348a9
-DIST futures-sink-0.3.32.crate 8106 BLAKE2B 881eb606c985836f361f5133b32401f4ba84289a0c8e0e075f74ee2a6fd9ee1fb9197f53086c368c2e231db5f1e61ae88f99f578c50956d124b612f1e8060222 SHA512 05438809ce417dc5dc46c14b9190cf798e0ab5b7dd5b442adba2ba344618e076807d4884f4a8cdf2f321a27557b3e3b563805fbd51a9561e9224d7502d4a6bd3
-DIST getrandom-0.3.4.crate 50932 BLAKE2B 34165a6994877aeaf3063affd48eb499512371a1fdc0d890feee598b5e22c14cb8347642a0e9374cd5d8a59a8281db839e45923769260312379321bef54c687d SHA512 43c44ec3ba0668f388519b2cefbee63f959f0e078730b3f7563742522e5f4b120472024b95fc94aeb90900a15d327c3573271bb26b2de4785e589a8bc1bc9da8
-DIST getrandom-0.4.2.crate 53905 BLAKE2B 23aca6717b8fc8bdbc26bffaa1ae3aa35666f82951ced24e1d7b7530feae7eb5e66a9c81b738bbd2b09ead6efa030d2850e0ffb314dc82972fe72af361b961b6 SHA512 191d847be8c21369067b707c2c20cd56531478aca534ce902271e2693e84f6d74306a690759b17a8b1e9c46c639fe0e7be3b2fe41469eba4d7c27bb1c11a442f
-DIST hashbrown-0.15.5.crate 140908 BLAKE2B 6a360eaa2e174ddd1e9761bc19edc4b57b80f84c36bb5d64003c7206755d4175a05f39c001acaf000ec69ced9e28c3853bd64702e2927aa7c38527a53abf2201 SHA512 654682535882733b56dad632851fed93a17ad0b2d3e13e3390d7802450781501e275b0e0b39fa32a6eae092132858ed79b305238cd5771c08987c5d26af6d692
-DIST hashbrown-0.16.1.crate 147785 BLAKE2B c506e64340b65fb462545c52e85a192b21e33025c91adf1d8255e799e8a5743814c60be971db56c0b9b1208dff8147ed4a28d8e37caf8f5646fd367d8d0bc9d7 SHA512 0739f1b2101488f88778e221d86738ce557b8ae12470e2a4444099eb90d876382030d00e789dd4ee44dcd7833a87a6e570fa11ba5823beb1cab3a56784ec2669
-DIST hashbrown-0.17.1.crate 155512 BLAKE2B 748d3658bf40d6905b47f695e64b70a0c506b9fb0207e023cd50448d5febe92bcbdf19ad8b9be7588f12dad2aba82eab4c8a7a1815adf0a00e17c39f6188f4c6 SHA512 4b6a5a76ec2f020fe34cfa5f5bf4b518ab7d278ece657804663972b6a5ebd64f775bd75d229b7e202702bed9d5b63ddef4de6e274fafe3129809791c6802526a
-DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
-DIST hermit-abi-0.5.2.crate 17435 BLAKE2B 695192149342273199ffb026de57e2d906249757b9b4bbceb6b40d3b2298a942a75390aeaa3ad4cad71e5d44687379dfc49598bacdb2cf989ab48864c4b2b517 SHA512 0392a8350288e5d500967bee8e98626024b47a7da331f833b9528bd7318cf43f41eefa46aa6aebd19febfadcbcb2d7c9f70d6ca3631c1618d63c60366dbe7c15
-DIST hex-0.4.3.crate 13299 BLAKE2B deab49bf3d97f6fd7c0a0855b50232422443b226362bc7a4a19e57c2e662fff2cb046d4c5bd7618ddd523045f3d8c78754508f862f9a8ca29ca9247da6d6ec79 SHA512 fd8ff33b68eea2d6f2c6b02a6d82a2807cbcdc209ca5a76e3e3e5d006917ee151f236b6d18e2646cc9a9674bcdda1d6ce6ee363a89cadd99bef00d0eea9989e6
-DIST id-arena-2.3.0.crate 12883 BLAKE2B 2a7f498c3ea5632af4a369d46f90106e642bccbb8e36ac7fe37be05c2125989ea2cf625db92a782408ecb5f68d3efbf3006413b5b748815ee42b9dcfb28d0ba2 SHA512 99652279014e63680d66bc8022ec3d2373d6e476646ee5551346fc9e62d1fd94b28c945bfc30df14c85d085aefc7fbb9051fe11012f63a9254bc11f03133f116
-DIST indexmap-2.12.1.crate 100184 BLAKE2B 91003f759cb250cae5ea2a72a184bbf1d4647951dfec84d760daa7e29b07f634a6577331737b3a3faa608aa0617124672ba03478ee4892b196e9c0097871f29f SHA512 218c1b0f5e117374b73492dae870b0a41a863d5f3fadd1e01adc592fc2d55229ea1f7c428893d02d1be1b768413b07497fa2600606ee6039672a1a8e45bdc5c3
-DIST indexmap-2.13.0.crate 102206 BLAKE2B 7f3d070b645741f5960647f64759840b1941c1e28f61ee04d44d7eba0d8f600949cf139bec5fddb1507e4d5a9e12fb709a16415aa014eaff8f5e87cce41a9394 SHA512 f5efe0010603a3f1da8955f5f97c9a39e4d2c5042c0829c057ad739687d990c100d1276022dec23e7cd70efecceca07ad735693bd8a1b21b507b8892110198ad
-DIST indexmap-2.14.0.crate 104085 BLAKE2B 828d8eede906c2908baecac840757ca8795587a552cc9dbcccde89a3b81444d99395670fd71404c33033aa5a1b905ed0621fc39236024c8b8b385e5d29ca6b5e SHA512 fa6bcaaf1b9bacabc72ae9d0569065325a6741b9ba5dff168ada6ece460175be47741d906d9326b48d30f6c55805d33fb64bfb497490482b4e412ac15a8ea55f
-DIST is_terminal_polyfill-1.70.2.crate 7548 BLAKE2B d84c45a94bc0ede333843ddb5206379f1a7d9df742c7f7940374d6b17b0a9c300e32fed5fe2bc58e6b3bc5d18b5fc58dd4e283c01c2f3b4f10f254b3cf7668c3 SHA512 d62f444e83950bdd441215c0ce681ff774692b35fec2af7181dfa243dd43fe42ff7e10a6e3b1d578712e4130dbfdf471ecdae73a3a584a2856a848d387b6c261
-DIST itoa-1.0.17.crate 15905 BLAKE2B 105796a6438bfccbb4676cc0beefd89abb05dedf077794dae48dcebd63cc745bfa4664c0eaf7bacaf989ea9051c98703e7ce85683f5c8c234fd1639c391aa3fb SHA512 4f1b09fd0152a8c837c40045c46779c992b8b5a4737565b8ce3a92bf2fb884bc6609bc597c2b54c33855bd108311adf46471b5ed5ff7ce32549b8c72c8119c04
-DIST itoa-1.0.18.crate 15935 BLAKE2B 8e41446056ccd94979f6f5a8fe8c48d6c47abaab99a41715cca31816f859b56e0cbacb998f300b62be8b719a6470f8a087f1439b72f2f6662d1cdd3d552ede5b SHA512 8dbad156e2863c28e2b380901a92414ef00e39f1fcdb06d91a0f3fb73108c2f7f36b699ccd93287808c24c29cca7f1783d48d5ca95f2173502963c0abcb2d09c
-DIST js-sys-0.3.83.crate 56425 BLAKE2B 9a239a030ecb12b76f17dca54b562e43aaa8019a4f9768562dc5e7647998fa5f42edbb17206da387ebaf20bd3e5c67e16987d428d071b1be9fe635f8c7362f55 SHA512 003e06308d62ce8ca694471fd9b15b3c98ba130c0a388ce88e9ad08b2e16bf1f9b3a68f8bc45d15442c16b2ecc6187cc8bda4cc78db83dc8ced9407d1e641c0e
-DIST js-sys-0.3.85.crate 56436 BLAKE2B a5c35cde1d01b7e5eac3bf59f360e9f8b418009a3b30c81af850a181f14596fca25a4cacec213844b4d59f9ac21e154531700f223fc6e3a22047a5f43833c6e9 SHA512 dc7361feebd63457e0e3aafac86653297994004bc61b3734d1b9ffd05312c2c9b2a2708ad07ad469b326811598925b7f07e49fce2e7c611c8138210bd70fecae
-DIST js-sys-0.3.91.crate 91416 BLAKE2B aff59394a2c7080c80fdac5683155a4cfc191eaf86b221dd49323540800a8c29c940b8d8f0729a9e0566652be800df63525cc09b8cdfb0192f915af92b4a8591 SHA512 526a53a373a964d04441cd918dd2af75c6dfbfd181d8847fec4442db2624ffce817e91fb5ad56d1e79dc5e8f120a8219d4deb2c625ddd93bcc767844ef978c45
-DIST js-sys-0.3.95.crate 104031 BLAKE2B 20141a55de6ad577cf1d48efe79dd3ba4a36d7e2b43feec4ef90fefe522dace2146c4746d982cd93b41c410ce6357c7b0bfafcc81366e9f74e09ec5ff61cfb1d SHA512 3e7a3376d6edf12643ad4e75c075bbb4eabfc59e02b0246b88d3f46f2163c932fb08a21d825589a7bc78e0fe92eb5b96502da2a20b6beb39f2ec483fc0725a27
-DIST leb128fmt-0.1.0.crate 14138 BLAKE2B 6353a2520bb93e0a3cfaade09ffbd8cf981d2cf75579e865941f3fea0dc745c54472b369873b1ef4f26dd7f356860e563bc7ca6e7615d600b272c698a55e54eb SHA512 82fbc7f0786185453fbf11fb3ae58e71fce9780f81eb6a56d7b559e3a0c6825751dd8b64f1266aab73fe65f7483a206e42f31ee1a1b7b1801246c6dc9c2ea817
-DIST libc-0.2.178.crate 783720 BLAKE2B 72f5fecacf0494b3962ff893d647155af88e9942b14d110e521b25e5d65d95d41dc00f83431b82632a53c6e0ae7fd537d018d7bf29df65d5e56b908a893d77d0 SHA512 968b954e2edde88d14135decd9eaadc31ca1aad80529a6696591c06c4414d615c97ce0873f77bfebe08b862faa5f3cb79a6648ab90734d462bef06e06ea43dde
-DIST libc-0.2.180.crate 812207 BLAKE2B 086681e1f488aa2ab8a477655e01bc27dc6c578fbf9eb2bb429828164825a5d450dee9bf1bc38afc8e1be5d849eddf384db75b9f4d3c64a0fde6cc37919c1b80 SHA512 5427ac2a7c03d02f14acc66c3a187fbb4e336a88e8cccf7f8281fe95f958b845c0205ec47aac2f6ba6ab8b8c4b5cd0d943205c3f78ad2830d44c3b7779c317ef
-DIST libc-0.2.182.crate 814873 BLAKE2B a5fae27ee77495d8638297523d7428eda4a608109e7e1b67db1ba621f7700761f8131710a49bbd24bedf62f8df7ecdeaedb5def47201146a05b4288ee2f92515 SHA512 7923eeb0ee1db8b5b00a6a4352cf5fd3f877a2f727af5857ca49ceeab2dc7519137eb3a982f5a763ae61fbe422ba8f0fe83d92dcabcfa18c23fae619960f96db
-DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690
-DIST linux-raw-sys-0.11.0.crate 2659624 BLAKE2B 0852bb981c64b8e70c7037a3da13a6a16b7a89190bc50a07159d28a797e6d1ef2f2010383df5a43cda19fa291ee5eb4c6365a51f5d9fd31f204544ac7e115129 SHA512 b16261142f3cbd1caa4e0a17ba06dea49f0d4514f583ca511d9c7ba6ef231f18322f37303b7ffacc73ae7f22b81dfd740584ef7bfaf67a9eaf43859d2de1f941
-DIST linux-raw-sys-0.12.1.crate 3006116 BLAKE2B e23efa27e6052034d41b2149f90d1ee7d6b905808605296ebed66f5fff210c4c18c51ee9c363bd0b93c8e17bc3b70857b594aaf51d44492051291c0e008f8cef SHA512 5cfe8f7e88a2125dda56a3f7a7213fb41cbdb51ddf4f7e44deec21f5b7aa05530e04f67d1b89b9d99d9fb204f27167d8c0e104e6ee6e62a780bcaa679155bb54
-DIST log-0.4.29.crate 51515 BLAKE2B 3f5dc889e895428f27ef107a63004c1b321793b865c29b20293adca81db4e25443e24354af37018c9a60dff1d54897c3b7b2c014a64280523f4a3586a7eeed24 SHA512 31bcf1669c27980f0a8500082c4d0cc500f6cc943518a3dacacc3ad4d8a0c238517f23c2c1969e5a22dbb5d25614adbf4e914c0557e45e1ebc8e7385b2ed14b3
-DIST memchr-2.7.6.crate 97616 BLAKE2B 3429786e97f1aa078892e417c8ed8198ec727969517309049b842e44097e58038583508aa974e6246888c18e11f9d23863c1bb012b542c5685250fe34e250d7b SHA512 38843817334da88ad74ce679b4401cf948cf8138815f3acc5eb0d005da3aabceb2216e20887e79344396569a2fa136e3aa1f7f3251a00d07dd6934cee79f4fad
-DIST memchr-2.8.0.crate 97780 BLAKE2B 228ce0b6fe8b168f5c31031690a5eb44466609b64c5c221e0b3f56fe331b4f25c0124d613c94ef030b225000978953641f5b07458d530c1d50eec3e1d54e4274 SHA512 8089238153493a0ff6adf980efd1ea2ba10eeff9f33fff200268692662d24152a8c14a4dac37fbc6a55dca741701fd256174f10a9838ca66f038f08e090de12f
-DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa
-DIST mio-1.1.0.crate 105232 BLAKE2B 22c96a2ef27327c27176651d957ba9e8f6159406e5f83aa39b1fc81efde17a60b4d5e5802382b45c51594d1f3361da99b5433518c096f6edc650bbfb7843c7e7 SHA512 7fb0d6ecc9c7d5854c0da8c2d683012a86a427f752b47592cd392c44a7a06bf84360f559198d685e47ec937ae6517c0a279c362d6b47fef6d4ab6edbd858e944
-DIST mio-1.1.1.crate 105630 BLAKE2B db279c3e46108375f5391a5ebc3ae07e8ccbcc9f6a71aa41996adb862c5d2b965af3cb0da25becdadb16d401ae69ccf5a07e21b0b6fb36e07294633cdf690141 SHA512 0b1c82773f5cc3f33ccb80a2cfbd58e48ffac82934afa7d9ec632b36484f8a13a079802dd8a658dbc94fc158e597e4d7a2c02a799f7b506a7de98fe74e80e684
-DIST mio-1.2.0.crate 106403 BLAKE2B c9b2342879cf19b95c9b9e472fd5e8caa6f6371bc7734b6d9af71c736a4aa218837ac3c8a1f84d1fd1ce4bfed9ff417d319f47e52c4d637b15e2a179f859c3ae SHA512 148daec8a99b63ad5742695ce7b5306d32dfcb484fc819b1220079c59219695d2892bbf83b65aa2dd76b68272fa195d353ecb28d9de795e176c4a38be729b04c
-DIST nix-0.30.1.crate 342015 BLAKE2B efe5faaf142fbf8d97366d11f28189167d3d22c1ed76b65e7887064f2fd146ae27282aeb230eb798d7c1b3850ea1502bcb325dc23536800690f0be3d66d37b63 SHA512 80df8102a3a387d9cd73cd8d756b9fad5c4c4b57f6e94d9acfa24ee07af51f28ba2db70b8d37ddd6c7eae883c7acf9fc366a0100659856939210ffde1b124d87
-DIST nix-0.31.1.crate 344337 BLAKE2B 47c9eb3e24c245cb005d80c188e9b2355449811f6859a49ae4fdfa93d6271782cd69107d8f305bb74f12cbff765ed9190b481133f29b948f26743cb3cc5f943a SHA512 1bf618f7e10f5c26bf9a80855e2ba36dc73185bdceb9aaac610d4d72a543ef61bf61e72bdc119cf61be5e252862d00064442753f79757820f2bdf4c4898fe310
-DIST nix-0.31.2.crate 346284 BLAKE2B 310de6bfc8b7bfdaaef0ac7b441e5fcda8b25722eeb8d91d28d24c08f52cebfbad5d005010af76ba544d0f79594eef8d9248b53346b986a9962f8cc3d3c56f6f SHA512 a7b000095cb1616b24feb12880ef9da3212cce894d70a94501a2bb200ac1d0b7e4b9dd5b993b90ea93304b192b6d28e10dbdb4509d1919ec9252b1a3433592b8
-DIST nix-0.31.3.crate 347476 BLAKE2B 36668bf2510dec6047003f9aadad9144b95718685865fb5a0907d75fbea3b4fda69879352e8c371f4ba9887266f2790a51fde504f018001de7050cee19004e39 SHA512 199e8f56355ab115c86a3e166c9cf53b4656a39b4643de69b34658ea74a6d91a94c08bd4d8a06a0e4dceb4cd014ea8df326c12d20b9bdae06030910cdd583643
-DIST ntapi-0.4.1.crate 126552 BLAKE2B ef5291a32f5edab4b29648fcc73df30f993558e45ed862a62a4d7e85f963f195f0a74c9e61eecf928c8966799da45a23694d0c6a1ad5f7d9ab3a8bce86d6d2eb SHA512 8e32d45a508d20f0d3537e056f363270120980dc23564713306e36acbc12a6d379eb3857026fecc16ca75080431e06742e3806801d3e0a848a01f64a8dd4f2d7
-DIST ntapi-0.4.2.crate 127136 BLAKE2B a0a846f39a8ffa9f68829dfe31a91dae855a3d143c8027e530d7d3328bc89dd4cab63abda80e4a54f9ca1a9f625814d3947afd627ac9b05aac1fda611d8cca99 SHA512 a055146c5bdd4e9110c83030614f70df431aec07d182b96f94254b15d18e9fc3b2a2730462514ce0fb1b17fd64a9c8249b7ae15b5e55279c8396dac32499bf6a
-DIST ntapi-0.4.3.crate 127190 BLAKE2B 4899f3a7d506b880baf12467940c74997a590462e124cdd570a17699e85b754a4496f9a11984a0fa1196d13641d3a4bdb85da8da272cc574dbf924ad18a0199c SHA512 4c959ff4345b9c95bcbeb14e4dc109e4d92b77ca3eabe80c2b8a705d42ede353eab068dd9b282df1f4c422c6491497c0b59ab15661780d7ba65729ecbe2a8814
-DIST objc2-0.6.3.crate 272490 BLAKE2B b0eb4f2dc6d9426a781920543c6f2a4f942e9cdaf4bf86f5b8ccbdf4d9a2f65954933af26743996057176e493a4c5a6e03de77bf89fcaaf5b19b694fb5e1662c SHA512 6b2605d00d00352cdd5a547bb090c186b2c3c6d557d9fa56b12a6b46d9460d45ee4643b86ad7e7f8649153acf2c05baf727093844157f27225c69d51fda7f047
-DIST objc2-0.6.4.crate 275200 BLAKE2B 4cab717b3221aedbc98eedca4bbe722bed8603149737ba01f13fc866e8236c58767a5f8b81c9bcb3b4edd17abf0e621933c2d7ece16895659dbbfb795151766c SHA512 3176d8f44a3245d08972404b8c544962c02e6bb8f198660ee3bd532b376b5a2f7a5f5585f126968c414e58347011dc6ee919f881b78854a7a3d9bb3b190abae9
-DIST objc2-core-foundation-0.3.1.crate 178121 BLAKE2B 5b400d2c3756f3039de276457029adaea5ab80102f4d30b604ba5267f54d26d3cd941cbae9ce21839ada16b1b08540c7d7af4490580790363301900201bf4692 SHA512 6948ee44c7ca7640deb9ec79f36c8b5656f8e74a01f3fe8fd6ae586a0a44127eeed825d9b44596860dcb9c3bf5a26d35bbab9d17be3cab7779f722aaf69e0b17
-DIST objc2-core-foundation-0.3.2.crate 180804 BLAKE2B aa6fc89d58cc9d465e2f439406a5f7c1e76996672306dd70a4c5faf535c75938bd4d1da96b5c99f2d99550687524824b60076130dd4d9dec974ba77980a374d1 SHA512 b1a5f5201bf0b3f6e93bbb0b71d285d6c162e644b748504f58bc05c92299848bcc785c1159072959129bb575978e4091cb937203e8e90a4ebe1519b7b8b6e402
-DIST objc2-encode-4.1.0.crate 21004 BLAKE2B 6f3b11c96ea4941bd24f2949b8fef5c3bdd91037eb0a0d9af88a0798001e4164e252817fdad0ba7e150f1b2e0c9d4cc0fb976dc01def7ac19d308c989a92f714 SHA512 47a23fca26df26e1efa1045a9778322dc0b2cd232acc2be750a98a1ddaa7f264c39848b14a5d9821573495601dded2893a4bcbc36a0e21ae442b7c9de5c12303
-DIST objc2-foundation-0.3.2.crate 345384 BLAKE2B 61f7af188ac7b3317f3c16fccb22cf0785037286b5f79fdbb10386efbde6b36c763496654e5e2364dece8b418ef6f4c5a3dbd574483141c048821dea5b04b376 SHA512 cc08bf8c418414a4358642c01a118cf8c790bd542ae72ce841a1378def095377a101a6f7d5f5645bb25125791998c5c8a55bb1500590724e3ad2649a1f5b8221
-DIST objc2-io-kit-0.3.1.crate 220419 BLAKE2B 1e42b64c853e98d6023097f8dd08aba74c6640d54e7edad6b186417e36f3294b108efd03ffa39bf4ed801a4319a149efc957cb730c1bf8307206f11344089d65 SHA512 082d4497993846888b50f782c109a53843a4bdf9a308f83789fa2c609c256309c34c5ff6a82ef8e3b3ad7c33fd88a7be54552fc245a8f53619a7ca71eab30856
-DIST objc2-io-kit-0.3.2.crate 262569 BLAKE2B 26570d033525bac468dd6c72492a37220dccc6478cf8c9d6ed7bd15e6d3722a85195803b488e1e04a70d571aea70c70fa8bfa1f39fe36e8f5a2e97c4f91adec4 SHA512 deee85a5502aa2780bf5f5ba8eb069af8013f314b01a20e169ca13f0787c9ae60c22da3b0c673da6efb5a0350dae08059c309a66af35a9a9d24c4a7a746adede
-DIST objc2-open-directory-0.3.2.crate 63652 BLAKE2B 412125fc16af1da55b07656c021105a3a430919ecbffcdd2ca218635862455ca3df0b145e0d9e49ec51c39dc02b9aaa0ea0cf4c2f3afa8f4dee8b8e68e3d50c5 SHA512 4f748cc54cc89efa53112126f3f6ea13ce6128db7d97be443e76db7d7368ad20d3e8fd0f73ab9ee263123f47bcbeedca2024a5747a8bdd020805c493ac3ca8c2
-DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990
-DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155
-DIST once_cell_polyfill-1.70.2.crate 7448 BLAKE2B 5a90f8eeff25a555987b84b9800f9e0b2aa94fb4827f76678ef45d344c4baeae5a079a288fd02a570d0f0099e9b2842d32dd206dbd609212496e77ede47a4d21 SHA512 9e0d07bcd40e4a5c271646d6fce71677acbfa4439b4e818bb4df823eb31eff976ba78239e3a7e0ad21e80ea8d0d3af3e74a7d0a0a55b308d4c777b9b5e1ef8ad
-DIST ordered-stream-0.2.0.crate 19077 BLAKE2B 581285d32136bb9c2134f405c5a2d67c952a36eb3613912be029f2826b847919188e1b479506b46f20e0b63d371f476b99d9e7e1ee8d47ddef7b4f48451b0e3e SHA512 99976f90637f0daedeae05d4270d33bc03fad1c06a85bcf2cd7140b149f76c7560d5e60becf05a633a62dc82f7f65900eb8f510c62aea4e630b78c45dc76d83e
-DIST parking-2.2.1.crate 10685 BLAKE2B 3af8020bc27ea921d6023c14f20545f70a5a5a5a216d5f97458d76d3bfc8d9de937f3c92668d31a79de85ce08ed0236d440c64ca1e4fe0a7748f412b941c052b SHA512 2e49137b59000f0467aa9ee0648d53e06cd2b8319d6ea28bf04c621b873469739a34186840b02f08d770d109cca26e161b3de3e4341dd729701885307a6a8177
-DIST pin-project-lite-0.2.16.crate 30504 BLAKE2B efd0b426fcc6ea8852bce499fac61f9755a11c6a2999cbec514f093ba7b3f94b1f2d437ee9abb243e31f3838ac1c74491a212851d7798eb249e209b35e015332 SHA512 971adfe54cfed304647fd944c1c915e78b37eaf0de3a582fb984a5e91f1b7d4db2cf0f53a9a64b64427062d4b41c0a36baddef782411a76ae3be0f8ca45f0718
-DIST pin-project-lite-0.2.17.crate 31034 BLAKE2B 1d3bb970100c2a27c456bf771b4884f3c91c048310d27608161d3a02adf2f9cdddbc8674257c6b58c4ad6c0953e11cddf2fdf5813d95e5ab8425e71032556159 SHA512 0cff4338e3c7b71600fb41db013efe0d01b9cb3fdf95192dc16c5bea58a0f157207ef285ceb01b6b30956f9e751577c5d2a3803103f89a8a0cc6ea728d97a4df
-DIST piper-0.2.4.crate 15950 BLAKE2B 265ee8a57029e6ffa6532dda8e4da94a288504b658fceca9426d2c13086255cfe5a1013b58dd02e029ac658b6bfc8ff59b88458fa620a41e0203413b78b7ce1b SHA512 88c6fd8d1118b37b77217fae004e47c01db8f95b9b925f1302c0577971a8a9f239b4ac07ccbec924d8912cc47ccfd88eb2045cc607b5fef3fbaf496d24ef7df4
-DIST piper-0.2.5.crate 23908 BLAKE2B d47d3ba713caa9d3b70ff79f89a2a07e65a057ab7d969ae01f9c070a654214b81e434e87c5752a5ad8b2ee9342f6dd0c76e5401817bdf2eaf1a005e54090770a SHA512 c16f3a182d19aae31163f069cec4b282329375ae28e03f855831e459047da2cf67f98c6b549198894e36c6b554444b6d945abe6e7b211a3a87f52c2fa90639d6
-DIST polling-3.11.0.crate 59387 BLAKE2B 4e7823d14c46f87d5faf31b98c76820b49235fd2601e62e1f8275907b4a489d2c4f7d50ce8da5688836528a1052c6758c4ddb58cb4d46807a6fe4c3d07fd1459 SHA512 77f98b9f9ddb34e8fdc052c3b05782a645deea5b1abf38d804c0ede44c649bbc2a106f157a767064aa5a63737f900c98867d5571a66b03ca72a7abd686633db7
-DIST prettyplease-0.2.37.crate 72033 BLAKE2B 997c8d855023ba6dcc7aa3a8f1c0ac6f6ca72dab2804cfcfb0987832ae044ffc5f5d7541e66d7ff5b0679065e5217078a832333e6cb92d89a93660aedaf0b447 SHA512 3273621f42cd2f4f892ee81e130f50e7d30f7254f922a84e55e454c0157bd0a59c678ee352e05007fdb0a62cdab2d7693185990354b81d2b1f5d08b51cff77d0
-DIST proc-macro-crate-3.4.0.crate 12690 BLAKE2B d65a1be2058cbbd5458870153bd2758be63aa900f4daf012b7c527ecda915c6589f4778b4a5140b6c1a77e3bf1b954e0146de0ed6332ff12d3b9821640534d35 SHA512 bcfa9550d1938f2d92c3fce823cb7fa088c16b43a430962028df77682acd5227e7195042379a843007cf5b71b2d53a2dde649c89b92a1b87d982acbc088d78ad
-DIST proc-macro-crate-3.5.0.crate 12709 BLAKE2B 693372efbded5ff45bfc4bd2dfe4bbc28ef939485e88b57076d92c99fce2824dca88373b1ce9e6517e313f2402885cf470028cf7e619eaa291519b8eacf697d5 SHA512 8848a2234e503414f9e5e90e7ae6e8141b743205c1bdf31cc5211781414c8619b617bf78b61d880178fa1d7e0d1cb172ac03695d9f8c611619e953a1fbd0353f
-DIST proc-macro2-1.0.103.crate 60024 BLAKE2B e5ce5f77838fd063b5615b1555db02175621135132de6aa7479d67fd0a34c15e8235290112a728f3251cf913a835bf0aafaf6930880511427143b63152047259 SHA512 9a6964a2ad24dbb1108b7018882ddb48cb6e6f652d1c5eed1cac94602539fc71f011a0a276765778df161edbd6387bf03a8505d93565e0c106f09e98d7d6efce
-DIST proc-macro2-1.0.106.crate 59765 BLAKE2B 87f95795621c4c992c370dc3a1240a2d5580e3362356525efe640f8f26ad0492b3c88755d575c080ff7db11376b0d82f31141bf6f86c895249b85e46c081220f SHA512 b726e2c92af434bfa88cd4f53c3fe6db647503567675fb439890dee3d15f5111137e3242b28d164114ce081c10acf3fd11950753ddb349190c87ee04e7d97744
-DIST quote-1.0.42.crate 31504 BLAKE2B a8106c0fe3953bcc2aa421516dfbaad6d6cb2ea839b2ce1447a45b8732dad40a921c2008b477bc0fa029dc0e0357a339db543b1f90bb9da77a5a3681fc16bed0 SHA512 6d55047312de6bab660459750c54213e986f0a80b4458fdb706c2fb3bab83b8239cd230dd9291662076d395c818a391142af1228ae3158cfa4960d6c74d531ba
-DIST quote-1.0.44.crate 31629 BLAKE2B 6e34e4121b7a37fd7492fc22d652c44ff90b8b3391b5cfa320a606871a43a4494beca15c1d4416c342bf511adb6442afa5513821514c52376175e2f8a98b7293 SHA512 6c1e9b31e0c8bd13cd865e6846dc243d88f2c057adeb8e674117bdcb46947219a6a352a6a50be1132c483f55331e6556275ac514513dbf017825c64e5d96010d
-DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0
-DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad
-DIST r-efi-6.0.0.crate 65303 BLAKE2B 79a28aa1e41721ad39ad95837d60a7034f9eedf0f5a32017849e7f4abebf6eb55e79cc144cea52030cade11d6be6fc5ba863e711a74038ffcc67b0d6eef47bfd SHA512 65f8c75c0201c3b922e6bf032ba9e6c648840f60939615565287b9c64d44f3fccbde209d8fe691937949cd76307b59c53801e6bd43ed7b8ada46d5d8fccf7012
-DIST rustix-1.1.2.crate 422717 BLAKE2B 603a41f610c6a2be2ee170f6d35ce1683a50590d909ba5444c1777b9c00b584f4544868f4c4d3b2397ca8b77da2d8a40154ccc6f0f2f6affd2353aebfd6b4515 SHA512 4a5ebae0902c7ce683acf5c2a0ee62a4903ccdd7f147ab5b1a657ae6d4b468beca31a15c473f02bb2f9e81c2b07924c23b31ff860482a711808a774dfb5af5bf
-DIST rustix-1.1.3.crate 423447 BLAKE2B 0148cc9c0941d416c7ec0b47685210e898ac4fb5ab91e2fb7489aaedfafdd266965ac494c14706c48f7f323e4e7719001744c25697c046f8c8013c080c2fab53 SHA512 00f22451577b2b0cd789a651e6317c26ab1760f92df1283f23aef97703e75e61147a10143f85130f4c82487711d8cf439ccb1ac8b17167e00ca64c210a8a65c6
-DIST rustix-1.1.4.crate 425241 BLAKE2B d0d710cecb9b20fa755e61a27d23b946a5b860211a9e63f34cfde2012bca2b9cc6952b546444a8a06a97ab8bb5817f87fd7fcdc7e3075640fbdb86f189f7f443 SHA512 33619ed2434963a98b0846414656bcc4945ca0e9b883821869fe0cc86db4a74c6961ce1375963ae49c6b5044ad0536eda807dac1320209739c9d669bd80fd75c
-DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15
-DIST scx-loader-1.0.19.tar.gz 38770 BLAKE2B 74d31c6d19e7cebe15fee770a566986c6e2a764e8d2a50772328ace45e9c93cb5e249912cb01ec97414c6cdc60fbb45adc7cc1add3b4160b7c1b7d4ecdd06e0d SHA512 c072b4caa44f9c90d43fb00b76b2f709e20772b88441a09791a1df3a383b0fcfa82d52761c011e4f1c9577be594e148c3cfcc42e12ac413ded77c42c99dee53a
-DIST scx-loader-1.0.20.tar.gz 38333 BLAKE2B 877e5f244cefc4cbd593d4ca939567b234ac33691c5cff80a9e53a4878d23f5125a3390b6d04a27ba7b4c9294686d0dff408adad9a3a78126615d512913d7a3a SHA512 d7d64a3844016cb7fbe043b397454a974bad70d917ff48bbd5e82859456185d1de7870122c51445b006f176cd87495cc81c62ce8f4683e2df67aa52dfdfee726
-DIST scx-loader-1.1.0.tar.gz 39987 BLAKE2B 45ba808276d2442907f19f626489b30b7b9a5ed3f327ec8e5b29fc84dbc8fa111665a79109325f4c1814c355aeee8a4f15f8a065513e76b1e0b54afc899aef76 SHA512 b033e2f6a3da1df50bf55ef2fd9b7fbfc7fcf84093865c70fb43d52ad7689d56ca4c8289a1e15254e08e232dbd83215ba2271f2262a5c3de8a386eb59b26bd42
-DIST scx-loader-1.1.1.tar.gz 40149 BLAKE2B 4e483122c8c02f98aacba1f0f2b103d1b6bd97c035d15be4f453c14af31eba9f4c31c6eb8818386ac9cc22bf3ceb19065708d136ce80158e9a7bf0de651f8d48 SHA512 ae053efddef2297eb02d373d781d108fb63db8e844f62c5736d01ef5beb80ba9aab577d6f0df54532d1e1f125aab4a8111c9dd136b95fb682af5fffef6aabb97
-DIST semver-1.0.27.crate 30081 BLAKE2B 760cd2994baba2ab8d63656b39f281304b309152cb3c576a0cf31ebf57294bdb6a10ad73e61f974688b0dd80490e0f4da004f3396cb6988bc90af8eee0961ed9 SHA512 8492a2ce5adf32cf6183d03509766f169b323a9376b061c9659a8752f69de5f45f7c64f474fa907fd9261fe3e9a7691a39c8a603d0c2e8d9484f5946bc27d78c
-DIST semver-1.0.28.crate 33064 BLAKE2B 03bb56f4f0ec6f4cb208277500eba03cc81a7b2a115d64849b2d154066f723d46f8625df7c512cfbb2e402a36cbc5a1627e8041ac2de92daacd4a92a6943979c SHA512 bb44373e60fccb83bc95e4277ea0abdd756a3f77b3334cf6d6b5fceac086910661ab94eb326cdc8fefce0c09220933bdf03bfd142c1594a92c9c1e4e931114b7
-DIST serde-1.0.228.crate 83652 BLAKE2B d1909d671ea6d5c2eb4ce34ee4493ecaf665d416111b4cac754b5d33b85f916296110bae7aa961efd987a2ceb4a31ba645752ce99dd28dedb9f1eecdd4d7b1b2 SHA512 9b645d6214203533b303fc5e88ad4f7686c22df084878d18a0209a92304a340fcb62fdde88a7080cf7a7348d47b9b363885c4e1da90dba08cc99ff620f375e97
-DIST serde_core-1.0.228.crate 63111 BLAKE2B 8a64e4627ad21a3d16dd37d53fb809d11171bf337ec16bb1223075cbf81b6b85cd1c8d19abadf42460d0fbea323e2f351eeb6ef823389d519121b74e68edb215 SHA512 43897e3a7ebdc85d81d1cb30cda8f0a11610f6f551529c8a21462c24fb83110652b462846aa3e1bed5fbf8b5d7927018845a524ee9e079e2c8acf2c687efd6c4
-DIST serde_derive-1.0.228.crate 59605 BLAKE2B 166ee2f9ff9f7a0928d0a65a72db3d9226c377bca2a1771956e8ecd9c7faf0544673c9c21be2a5553e621b55c74c7b958052592a1cf6eb6427a2d4f3e3dc6bb8 SHA512 8bfdfeee10ee7ef0670972aa963ef63b13e8eb2c8a09b9e0b717f92551aa89b3dd2a0dcbae6ccf20a1caece07e6adb18f0db56fdac020e4e0281b0d24e376003
-DIST serde_json-1.0.149.crate 155994 BLAKE2B 7564c287a05c95feeba2b3a17e2e43ba047b0132b40fc4dd0c09141c2aac559c00bf4c63cbd24c17f12f5e6b49cf38b240d2c6c66677ee7a9edb197aba7d57fd SHA512 85fa8cb7b479f8241a4fd2255dd80e346fa5cde103aa7f25c14ccbcdf0e3276578fd0645e1d2542ee07c7e08c32058ff662bbf03926cd796c38622a12f423d43
-DIST serde_repr-0.1.20.crate 12627 BLAKE2B 64aa318e56628fa7d9777f7387e66d122454008fd1f296ed29b4fa7f4ad4c358ad981bf7d093f3e3a5ac8aaeb29a9a62b0c11ed70983d82ab76897dfbacb9394 SHA512 0b47cacfd34f914acd48f443b62247667565b12f2a5bd5b80f6474074e08bb7a3bc85b8711bb3d45e17003c181f3366da6669382cfed6276cfa88b6ea55c3e68
-DIST serde_spanned-1.0.3.crate 11011 BLAKE2B 95c3bd4717544595b6c376d20ea169b3a92ead2437cc7b15b8052412e6b79225bc407f4ff20aafc9eab438f9771c3fa857d84814249436e57868c502cb4658d1 SHA512 4021188c75aca535b6726c4cf682099aba8e0f08c7ad5bf89f2dac719387000e74d9af060fd4850968a61df8f3c4f3c9bf823abc6375dd1c9b14fc7e74bdf971
-DIST serde_spanned-1.0.4.crate 11032 BLAKE2B 7f3f5297c30c6e90ebb007c4d2e413b15519befb3cd95c9b7dde758887345c774bd8e4595dd8746d0853eaf81134c4fd22c253f1c9b747060b4e7fe0d3913b52 SHA512 41e4b0f25b030a75e7bf39f3c1929d7c34e53a1d9513b614f2bfdeca1fef181c9fd95bd19f70a8cd6c64b0d4538fd8f76f946b76478d42a13ebf8c2a82194ac0
-DIST serde_spanned-1.1.1.crate 11025 BLAKE2B 24329285e068484b2480d603a6ab7f041f111e03eaaed6db00ac94e36e608c810b7f19040265c51e9d881e65a107cdfde98068b5f1f56dbb8e1fe6677683ac58 SHA512 ed6f0cd52d97985458d530a1ff973aabef8b611a17e739d5011aa50293e4cc994af24992e07ac55e0d2a8fa8d0577ebdba4b42b920cde505e05dadf05382e545
-DIST signal-hook-registry-1.4.7.crate 19491 BLAKE2B 0b5aee4ae090f149df7b189d503cd230bece6cb222ac082c19bf79ec55198577dc6682b2618d9dadaea7252602cccc1bf833de2c418dcefb460ed31f4245feac SHA512 40430195df9b86187eb2353119ea36545fac756f828eb1bba2e31a307ad8584400969d558f3fd4cdcb4a20f91739f0d553b19883f401ee9fb5fbd15e2f927cd5
-DIST signal-hook-registry-1.4.8.crate 21668 BLAKE2B abaed3ca8f07e1631aecaa4bfcc9dea94f2bcd2ab227c9e44d543663392d5e7c7b3beea4d0624ff48637d4fc7544a722ba3d4113d109a77ec1a3b3c0d06580c5 SHA512 6625d842e5040fb15c3a6a03994aabe8b3d0b752773805866858452fb03e5cab2663c89367caa15a34dc0ee7c2b830e302d9be664130c093bdbc17d7b61f045c
-DIST slab-0.4.11.crate 18549 BLAKE2B a4895b6dc87790946621e1d52b5bbdc0fd78db238d9164121a380f298b85be94eb3424405067e3a6d96ef42747680a8b2b5341373bf5733d5a62a4ae383fdd5b SHA512 b2f199651b1d0f0eacca534ac2da714a2e9f642608c4874e7a1440ba7f035d061e117f518c51915f982befa2269da747c9e12e3b0599675e6218cdd8e30bfdcf
-DIST slab-0.4.12.crate 19080 BLAKE2B 785a1b899fe01c8825f24d90b0b0bb31bded234810f59c71b7e44221387de33fcae220a7d0745f59f79c267673b76e7c8d9fa4c0dcbf8fc5d68be6562018d49b SHA512 cf7c971b99b043d8bc102732a109717cbbec114160e4f7cc4009c66739177778623403c33d6a32efd1620e0ac7b8743c36e0e5563082af7f92f1e4caeceea0d9
-DIST socket2-0.6.1.crate 58486 BLAKE2B 990bc645f361576edfeda680cd4b6a0a29d6de80bda1164954369aa572bd702db5d92cfd26e68842aa0978df351d9b52f2900a4bf1f6d4aa5bb0f31d259ff48e SHA512 cafaf371870a8d85bee30d1a8341c25ec023f6031eaae96f783f0486e2c9b0ff7a6d742d40500f9c772472805d8de9f36a163405a476c57b254249992a5477de
-DIST socket2-0.6.2.crate 58621 BLAKE2B 0f2c125ee64a24cd719d3fdf303d718ba645918f87e78dd0e89b2517af69136286387a94f1355815b7079655d68affb8036571c9ffe6dd409d686168c1cee7a5 SHA512 73a2e72023787956668e685c4f9a13efc9b1f4affff5a04fa3f5732304fb1679eaa58315ac2990e95b5fc12d5e61646bb497fcf45e65c53ab675ae5026eec143
-DIST socket2-0.6.3.crate 59330 BLAKE2B 09055b889f501975ebb358382237e85c35d81108b5ee91652843b363477cf103bf72dd922e94aca201720faba00a25898bdb88df3a7e335d0664d48873453129 SHA512 c69ed9bafe82dce5fb6333430f06dd5bea910dbc2085ae6bc3f0b5b3d2f965459a8c19e90a877dcbfec70dc8098df11ffc01dd5a401b5638c29b6dabb3891ae3
-DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee
-DIST strsim-0.11.1.crate 14266 BLAKE2B 252a9ede4241b165525486aa8855dece37af77f5b28e0e1858c4a5d2047db9fa958328db10989234aad69463ab51b2303785ec056c63ea8c95bf95e111ddabf2 SHA512 0cebe0155a92640e56db9a599ae62078cbb32e1d2da8bfa67ed0e8f410a7558dfcf7b3c2720ff5913282e291ecf076aed9fe9bf84c8d44e814a642b1bed3335c
-DIST syn-2.0.111.crate 302117 BLAKE2B 9fe6c0bbeb432d67f4c879956c505d160f7be418cd16b48a5430c1c4c4922251007e3d85bf219daa16a7e9d8f32c15fdc2ebd94bdfc762135cb27b897590d484 SHA512 f30fc819fc6c942cde044b6bbe608f96736070717f28da71ab4ff68aa9e780416829152da11a83513fbc0de88337c2157e4fd1e4a029ebcbb64daeaa54dbf768
-DIST syn-2.0.114.crate 304636 BLAKE2B 88ec8c2a781cf33b9961744166ec8d3acd46e770fc56d2d4353d8d1578bf0b629bbd294db3334379fa8570b7537e26f72872ee18a92b037499bf746eac81cd3e SHA512 42d935971246f1bc605f0d0a960c143dc31c96d27ed5427d3bb2baf46a3871852450a47556cb0eeab1e1333b208ed6fbb3832c1038e91f874680f8c68719d184
-DIST syn-2.0.117.crate 306011 BLAKE2B bbaec02c4322f522bdfc87caa4ce6fd1e09bbf8f4a102d9ed8728efacdd843a2750f616dce5b2d3a3e46bbb7d57439fbd10e328bc1d4a01e980986cd815798af SHA512 035c2e63542592b6a4058a2a82d4c2c1f5793f84fb1b04cbd393337a26fcf661a1f3bea439ce98a1fe943b1c4d36d2bda16df3bbc3fa6ca35e1548d530dc8416
-DIST sysinfo-0.37.2.crate 216343 BLAKE2B bb847226e22bccdcc20b4515e487e37f74b3870a50361786cdcd9e0a0f4c7b15836aee12f78aed2f36a67a24d0b2b4b0e5911776dc64dcc50a8a754167bb19d4 SHA512 91e7bba8e924df7ecf2a1139383b3b7979958cfe2cef057f40f5e8e62f8c275d0d968d2db65d57435acf5718b671818ad3cd79a93b88ebd875dff7f189d5ac14
-DIST sysinfo-0.38.1.crate 233770 BLAKE2B b4714f2610da95394bd78f3f60feb04cb32d67ea3c62b54353d8eae0c9b7efe2a4d7c175aede5480d430bd8172454052d6222e736716d75d2995883f807814fb SHA512 d952f46292ec0efaa942349c6cf61e65363f7041de3ce4f14fefe9f53f51c74beaac1a17f79894941ad22a5b264a719ada8240c60903dd7550c0cb356e939c45
-DIST sysinfo-0.38.3.crate 234027 BLAKE2B 99bcac8a1a10dd508cca95f64ffbe9be6a4751e3231e5b863b256d53a6721f4781703dbe45e30ba0006dcebf24c4a35872cadc27a69fecf9149d2fae6afcafba SHA512 443d2b22a5f77efdf92b0e087f998c7c0481347223c7658f63760f605b3b480303038ca4ab99bc07c6fc938238ea3a8575048e7081bd8d6b5b39232518c199bf
-DIST sysinfo-0.39.2.crate 239739 BLAKE2B 21ec6ac6cdf1039161bd0656bb6ba4e7a7482806675761559f92e8ed84c21ff57e5087b6e32e4c0ee1764cf440284b24b1398d2aee600bba2c5c8e365f57ba5e SHA512 9a7339d4e7519eb1d0ba3909c923f6887a262a3e74a4d014c5b99d86829b24a9a0d24567b0d690cd70929ecaaeaf3db01424fa019f1aca2161aee9f91482a475
-DIST tempfile-3.23.0.crate 43063 BLAKE2B f799368de517d83a5e42505438565c9d16217300d5c5f552e2789de4edcd493474d1d9a9e9cfdb88a776f26f403a89e0f436308b2ae7535d9b377b7c652f7cae SHA512 8e9f84400f714209eb713af5960d1de501c10520817299f0ba2fd53a7c5f0931b60d1053c2c84820aa627aa94bdefa1b0e82c787784b1960170930f0ed2d8753
-DIST tempfile-3.24.0.crate 40849 BLAKE2B 1d659541878287336b903dd0d9523387336db3aaab7d04027364266331472d95e05845ad2719a5e7057246afefe2e9cc78e6aac035ec3ce837dd9fc5ef8209da SHA512 f8d83270d3e51567f8b1f52978e563953e528e32ab1521bbd3d464a38a7157586e707a8fa118476423b1033eccd2f3a3427343287edca78e452d34904658edfe
-DIST tempfile-3.26.0.crate 43478 BLAKE2B 8d25e9a4f01514dae4b6017a069b074e40b4cbbf1acadb219cd55bb8796b0cdab29ef8189d531728b5f683355ee9afc84a601139c0bc4ec0f76a4f22016010e0 SHA512 28d7062bf9540b852b1e0a85869fd82fd90e1f33663a398e14fe7acbfffcfec6668891460e2c00efa7f8970395b4106a74f0c72a7aae74343a6384b22f08943c
-DIST tempfile-3.27.0.crate 44780 BLAKE2B 898b8b00613c4617271febdd54dd1e5f66aca54c1e4b60067e508c87c15fe32f0ce2d30b3dd630ecf7083b046d579f31064fa72de09067981c920f4aab86f2ba SHA512 bb20b9b0c5d3301ad05f73f1de538ae240366d9aefa25ca823ba40041a8a11b4a7361a6a9ec03871b14230d42038d7af6d0b652c8c471935b481a1628b59314a
-DIST terminal_size-0.4.3.crate 10686 BLAKE2B 5e1017de475d78fe3c1328878d9322f52b877781218ef0c9a49b5420fe8df13ba5e10f590fcf4a8ad57266979580a16c1c715aea73fd6624691b9e152e2f2bec SHA512 0b3533c52e8c1e57fa1258a5518585fe735d9a9f46dd142fd00862c6703e5e7e0aac4b091297d91be6a8ba203297aec24477fed81580142cae39444a74027b4f
-DIST tokio-1.48.0.crate 843434 BLAKE2B 4a2e3221f6820f2b092275fceef9bf295e35e445d81238f9f71679033b499610696d8882da118279b9cbb3fffb2383afbbf9cdded910546933072f70e77ffcca SHA512 7e275ed26e857d42255dd27e8704bcb0a5daa8658c5a00f9798f4522265006a91e04d6a06512a87f30e0ad090a1676c03d3b02fe8d60263e4ba793940a85b98b
-DIST tokio-1.49.0.crate 857029 BLAKE2B 77d4fa2f6cc822c6c2040819648ac29b6241f75a527c681217b8b959fa7c450524bd4f8d9ff42a21a0b2f56cb76a1f3a0d1b62e811f34397261d08bae645d12e SHA512 f7bcb51fb940964be99200e6a9adc45fe1ab13aef8aafc121a2035f1d76686915ca1087dbe3d78497abef86f374b2f737358e5107bfdf4357f511d87e6af6432
-DIST tokio-1.50.0.crate 878380 BLAKE2B 222f2c36e420e4f444cf6e621a1ce69599aa96307af8b6d1fe32988ec5b6fd1dcc3f147f3bd82fd768b38cd48fff25c84e8fdfc3f1d6ae08fee4482d3f99dcca SHA512 d09c90a3b7e88935c97ac3092842ba4863c412fe2edc428431c4a1d80839354f79ec4235cd48b81a5c3d88442b21753d3322dfcafc3f4ef31f5fcefe210c5548
-DIST tokio-1.52.3.crate 901393 BLAKE2B ebaac354c59a86bb2c74e7c4734dcdbf76d25422e0b02ed6db6eaa9de4dc9481882904edac1305ddfaf1e08cf01efed6e05fa9424a291b751c26213d9eb399c9 SHA512 8dd961765d86012be4bc4c24b71b495403aadb5a20fb5ded5e47ae2c49e5f117a793aeba87427edbd67eb885bd91a09d4b2f3def3cdeb1f752156556b291ee50
-DIST tokio-macros-2.6.0.crate 16505 BLAKE2B 9a6ac1a92c2ca1cf2a51b7f78e4e043e086f595f3d7ab3d543b6d16df306721f56ee3e02b87f568374fb95d8a06dd47090169a3e60b749eaa2f80551dd97e490 SHA512 626e2dddbd80cd4bc365a93dcd4906752c6a1d0f2698daa007deb64596f518b420e5a0374ca415044d5c8acd247a83e3190ca5611ef9185f46785f8194d380a2
-DIST tokio-macros-2.6.1.crate 16546 BLAKE2B 70dae2211f477a09b910db16a3940ab0e6352fad86d06e54eb471dd9a16ad08829bd3ebfb97d415861c0f31ff437cc6ad0c994f3c25869725509f3db07cbadd6 SHA512 f52999d45ef36cc1a3704fca95f10160a244d1113ce957734fb044f6102e812596e5fee2a36157a2b3a0b070968890be2d6789a5d3157b69dff1fc141b0627b8
-DIST tokio-macros-2.7.0.crate 15859 BLAKE2B 430d68352a433d070dbe80146860179023a01cd8fc7923a55337f48743269dfed914cb69989eda8ff969c74a96b28cd32f0a59caa87d5b2f3e3828d878d0b026 SHA512 c93653ec669b092e928f71ed1e7af8783a5e9899739265389ee24301a0a5a9e2b98c69539937f78926e47c13a36aa70c70eae278ba6c082306e4044a7021c2c7
-DIST tokio-util-0.7.17.crate 133898 BLAKE2B af5c60f835cf6140997624d092768e80a04199e088f56acaa6900b0e1d260d09d652dc493ab99fbd3d23f7119cdfa5fce00068b9b2657aec2ffe76c834cfacc4 SHA512 80012252a144ccfc388a5f5e2bae022e72400b9ea797aefcffc65833eaf16393a86602b249dff8243c92f447350ec59ca65b6f9bddca32bd8b5dc6a5cb5dc296
-DIST tokio-util-0.7.18.crate 140550 BLAKE2B c74f978f9d1bdd662acf65551ce35d735b23909ed25a3073b5170459cae4d0bef40e34a035ce1e2f8bdbf7ba51d230c016afbb150f7df77d9901e45caee3fb97 SHA512 619504b1c7b10ef79da38b99e7c17affc0dbb984dc671bd1ca0c4b1ad3d1d86f80feee67b78fdb7fcf7ea989a0e9bd5d52714467f4881f31ef5f60cb989ec671
-DIST toml-0.9.11+spec-1.1.0.crate 56484 BLAKE2B 0efa0d7957b5f5fff81d355a1af1d3163f42df65df4e3afef55da71eac37daf66219c76fc3d239ca04269f7b2bb81771999f73f75d2b5c061cf13014f14ec4ee SHA512 635b45316d55c1e9634319ce1e7f79312c9acf03a8292c08e3a08662c4da47021203049fe18bf3487dc92d0312671b309f5ac50bc2c10e3fdea38c3e899c0e0f
-DIST toml-0.9.8.crate 56104 BLAKE2B 216327936f6973ed5f45a4200253b1c48f3138f993a9207c057fefe0540793f79d285731396462f4f4c95f5a69430e52896f574492cad760058a1535de81462f SHA512 e7ea1ec2aadc2bba833e9c42d3b2636a5d77cef2fccc4147fc327db4d0e1ac39508954597b040bdc88af4d8c9294334f12ea48ad977550087afa30778fd3b53d
-DIST toml-1.0.6+spec-1.1.0.crate 56811 BLAKE2B ea48f8539782446d8f6c769313f4e42ceb94050d151d6e06f8826cc470c5fdd8ffe657dfc47260a3fe8f4cd2e18530c0c8eb049a323c89f6535a870931061b12 SHA512 e3a63944e919bb1b61b8170964c5c404116f72f7374999f4f267fdeff790a333c1be41c1daaf4cdd0eac605ff79cf9b304a993c1116760077aa84f5e20a67011
-DIST toml-1.1.2+spec-1.1.0.crate 56327 BLAKE2B 089a3ea3e47f18655db4fac61437135b613241e9df110c72e3e16d2ff782d4d77c6588cf453df0422e6eaf003a75be7f81758c2f8af82663e6280e5543a13026 SHA512 d7b6bae5bfc9163b91f054d36b9960f45bc4f42fabbd4f6d6cd33815863c9114c355bdb5839da61c28adad6d04ee48635401c71a8b9db89ab18a0a04ad9ac261
-DIST toml_datetime-0.7.3.crate 17827 BLAKE2B 1e2f419d7338f27dc2f0f3d9f484a863c0dea555e4510880b6c0887654b5a742b1f4560d9051cafd25e9af024a92d99d62736423c522bcb86356bcacddda8bdc SHA512 feb8c7559a7e14aa2d52fe6236a406feebd499b03c37e1dc50e5a116a43d317046d5b6ab6326a4193c066692e02ec9d30104991a501d9d7347ceef5cae4bd520
-DIST toml_datetime-0.7.5+spec-1.1.0.crate 17975 BLAKE2B 78f3ba1af90ef25ba23491c1828e8c64d70ae9fdd4718e58c689c17848f9b74469d62471c7ba447dada7d749e1c63b153bc2850b9966cf1ac7ce87a6c7916861 SHA512 4db08a8865011ebec8351a5c42c7c9ce862956c04cf80d10644f68d727362699a4240db9e210cb6d558fecadb63da0fb41b356b5f0cd1142303069988a8642b0
-DIST toml_datetime-1.0.0+spec-1.1.0.crate 18018 BLAKE2B 6238d7e7ee5e5e00095f1029afd01953dffb9914c487b1bdab6d91c905377e46ac3b5e2ecce5a2637903384c001dd44e7434b52967ed3caa3a44409bc681a686 SHA512 a4b0d57d448cb246bfbe495bf19a3567517e45abee5d9e846290be48cc40b1876dbe5683908a3f6fad4ec4031a9876b18b1358694676f4b8ed5df1b5fd2b330e
-DIST toml_datetime-1.1.1+spec-1.1.0.crate 17982 BLAKE2B 0552b1cd242430876cbe3f1b4209c21d5b8aacf70c3235087dc742bccc55bd0994013b021a48ba69c4a2802bd458eae56cd8a96999f43affefff0a5f6b2958ca SHA512 74e13bc2f616b407d11e445e3a416dc7cd819774a5d747baede2d71ac42573ea29fd77cedd2648ff1b286b879053e764b8ad07cd9e9fe1164f6cc26f12931808
-DIST toml_edit-0.23.10+spec-1.0.0.crate 66420 BLAKE2B ca854ab01780950033763887069becee2527e72c72dc821e0b152713faa4b9414ce111ab1e57742bb13ca1d32e5756e9b564d4db50b2c4d93a8dc533d437a04b SHA512 2e8eb555e7c1eb2279f9f868f688b78f27a53a60985be952561e81d2d317f1f115739de6c15ee79ff7e580272657c0a86138410ac10505a0e3ae3836412c7f99
-DIST toml_edit-0.23.7.crate 65946 BLAKE2B b35ee1f5310cf8028bf16822f34de5cd6e78b671784f4a1c8d33cfd6343e37e7c77f2ad4a91fce8bc6a64646ad2a2f5503d5c2531b9030357041d9d93cae3378 SHA512 8af6803b22d9eee10a2b3d40df739f8e5825778b5d2b31fd8d8e395f65c61bc32f1ffc06d04221cd15c885146cecdf64265997061e30e8f8d5a21ac386864bbb
-DIST toml_edit-0.25.11+spec-1.1.0.crate 68598 BLAKE2B 506b9de56f9a3a1634c320198da0d681d88a604f0cbb786d9364aaa92ab252c84fb94e8d7635d07c38eced96601477772812276f431ca60f1cd4c03bdcbb9267 SHA512 0369e40a3ed968bae1d0eb078dce0613c8dc76c50b2d69dc9cc563d96d4df65556dd449d86e8253131deb239e206f14aa208a5e7bc393c9f6666beb2034e896d
-DIST toml_edit-0.25.4+spec-1.1.0.crate 66984 BLAKE2B 5cb9b01af9582a12f08b703e60e03d725f61366c268aa00538201a8b63f0a8992ff66c95f3c1a59d088b40751107013c28700265e02967d8670ddecb550d1a85 SHA512 d21cd172b21fb9e3c17e1c3795ea8f06d0c57efe3291355ea552a2a4582282160eda93b9ea9ba7ffa42d970d13afd8f39fc0383ce66319366a3ba6695cfebf79
-DIST toml_parser-1.0.4.crate 34978 BLAKE2B c0951a7bce851de56273dfc51e83925e7eb10005038a173d2e0084c503f3a41cf74574519876e64ff2683953ab29ca3a980eb32fc54d7dbcb7d27662d40321df SHA512 00416ae9ce4202855a0ee4ac9a704379d1eb151ae0e9e05c8d3eaaee06d97bbe427a0fe668a4134ad38382b1e248659f575bcf50071681d55dfd609b64908370
-DIST toml_parser-1.0.6+spec-1.1.0.crate 34897 BLAKE2B 1cdc6e777678b2b70bd0418df9a21e19e52c448da185d6635d160c9fd79b08a8368f80565d8201c75a17b2874a3f642ed7c416127b14d237a58f375872586777 SHA512 16d8239dfc00dc55271ef0b5d7c4d7c87833b86a6204266f9edf94d5e2bf2cddf698b65383b53eca87da28b35162a28edea62f039e024883a2501fbb13122dbd
-DIST toml_parser-1.0.9+spec-1.1.0.crate 35035 BLAKE2B 856dd31aee9f95ddfd46c87245bd6d1ab90bd7f6f022b732fe8f900fa4039508fe73a5f690e5d159e66f5f39c57a947b8419630d87371c832e261cee1ccf23d9 SHA512 87661774214a761bf60826d6fa9fb6a60682554f09f8f20f4090734cb73c2142c0fdb9c7aebf801ead29bf554fbec11c58ea8fbaa628607012ea8e2e35e48518
-DIST toml_parser-1.1.2+spec-1.1.0.crate 35485 BLAKE2B b45ff5281d25d002fb9807005f6593e218aed03573d99ec0837ae75e4e19c40cf21759b0813556904d5060e5c8c309bf406485766ba14e9b464771886deece15 SHA512 11d4a5489337f9e2eed3f47b04376b0d00f9962a8fe6fa59518a4b5f0c7886aa8416f4e34ba640102a3abc45fe7ce628d1fc5327a4453dd7866a7f16fb45cd9b
-DIST toml_writer-1.0.4.crate 17146 BLAKE2B 7715af600465bd322b59095fbd629b58eff8183b88a2c844561a034a22102cfa254c31329e7162feecdb48fa8daf34c7beef13f927265d1364043fc4ed83885b SHA512 92f058981fa8685bdbb891838c5580f8315f70d69fff565949e1ca1d00924370ed4927052ff145b1867229a100aacd2dc8918f102001053180755b2544ac3eea
-DIST toml_writer-1.0.6+spec-1.1.0.crate 17187 BLAKE2B 7786c6a4ea68ba0d478244dea241c4909906f286c46d1276b33c4af7b14cff6d9c77c1c6dfc070fd4c5c02f89cff4917bc166f91de4a3cf27a2b77b3dc15b27c SHA512 c10836e5e69a052806dda9490dab4458532a0bd8bad31a33834b48ceeef25c2020caf3dd1300aea5ebaf87c1f367e18a357ee9ecc8956553a63685d283a822d6
-DIST toml_writer-1.1.1+spec-1.1.0.crate 18841 BLAKE2B ff11963c7dd3469bbb9042d10c9f201aa78d4cec5b0aeb3943d17f2a632243f0bf0358989c618b0bb8cd067827f20e06dfbb1ba54a0d55e1ed1cf45f3c2c2567 SHA512 f8114a147e81c99b7cfff81c9c337b04d27199259cfa853ff1df4f56fd65d7a2d845d90e21ec51c36069b11f7e4b7a6fbcc69a9594954ec032c75998b2480697
-DIST tracing-0.1.43.crate 90033 BLAKE2B 46ce9395fb01a9e095cddd69ac2c68515e4535628a55bda9e7504f72ddcfbadb498db8659e9618cac1c5d36ef5edfdc13cdadb1018fba445488ac13d9ea47072 SHA512 5c4add0fff3d0275141edf67924deda84c27677f5e1ebcc23fdc52ba4091e25b5fb341fe0028f0a502e1447b621928dba281100df154e5a33b2f8f4b5dbf4a4b
-DIST tracing-0.1.44.crate 463135 BLAKE2B 86054adc3043c73510bdd64973918dbcd4a8295dd007a4356e702d6dc90bca8b0f211df5e934b850d63618057fffa10215fb5d966340162117c110ff3e3e1c98 SHA512 383404a78c9bcb9dee947140082420673688dabc54eff334460222abddfc246b0256996ecb456d5b6325c029fcb2e641c95ff659a08366089b8b79784cb28869
-DIST tracing-attributes-0.1.31.crate 39733 BLAKE2B 5a345c85a36414241fa88bb44cfee5e07b33ad39416be0f05e35e0f17adeb99ef68cd1fcdbb7beed21c1efbeb2020a81a33f33b74c3486aba32bec175b5f9c9f SHA512 6954ce397903cfced12ef495d46885e8320233cb631116b0c35731c89c51d2cf2532c77ed02d9b708375b5555f3580a197dd63ad6899a32c87e34e2da2733bfa
-DIST tracing-core-0.1.35.crate 63837 BLAKE2B 92c0dc3d9a0843cf71293c7d40e9b4db225982ddcd6456298dca711d1104ea6f5fde28ac3a2c223fdd6aa44942d54c1b88d210565acdb5db4a3b98a29835b3ed SHA512 30afe79d6f1e9ad945245db2ac870f6fdfa1ebd1674139778700dba5c7de2891f7d3cac0644e71c5a286868adb7dd6eb3a255e6e669e1cd06c46ff3d57d22036
-DIST tracing-core-0.1.36.crate 63967 BLAKE2B ed35889974aeca741414d425c874232c3d0722aea1740a68f1e2c8054b7dfc11d3c19de078a4a88a189d9a00afecf2eb5bb779a5ef0cffabee7fcfdc6387ecbf SHA512 7cecb6c2f1deeb6d23ab466c376e1c1300dd9226301c112deeb2483eea13f7bb514fe57ece707a8c67450245062060872dd4d7be390462008b369ca3dfc57dc6
-DIST uds_windows-1.1.0.crate 17040 BLAKE2B c77914e150d2f0afc5c55680e28ba242238f4f1291948ae492fe63c16791e443ef33bafa6686cb753e53361ce452f2df27d2bf4088fb1ae203a47df3c55856bf SHA512 092c41f6fac2aacd5b83009b4aabe2cfc487cc1ad5ebc8237d9804aff0c5c823d3c079d99748e9ec3bb1c02b8a51f6a22e41441ec9a72c50600c08b1efdeb0ca
-DIST uds_windows-1.2.0.crate 18637 BLAKE2B f871c1d7e091f19d5f89e4f188e184b8a8095bbc2c59bff50efa70410835a2098e2101335e327f97413c2342d3a828ad5fd8e5d235379d565c20c1c66a8e080f SHA512 c50efe98ff2e81ab0fa5496e3da7db3d43701cf59829d09ba2980015f793e48881495d1061b0d2a7ef32674d0fbf41c5b29c3ac86ab6cb17dda8ce6ab8558797
-DIST uds_windows-1.2.1.crate 21931 BLAKE2B 538985d68665b40f8e7616ddf5eb31fe9a2eda0b17be271564830057b9fac703d66b5fb7feb52da2e737f7593540cd1804ac0df4f28c8f865907f72c7f28f150 SHA512 a53b16a84147587472a577471f57ab8cf67e53e082f871397e0354fef70301a26f7c1330d5d783af2959daa7a627abf37b3d0b8dbb21f40202e4c96ac7269d72
-DIST unicase-2.8.1.crate 24088 BLAKE2B 29fe558490245cc1f9c551ba524ab452a4ea18d5f3e5763bc58e6b4c52e21bb8bb5e3f16df35bb96652801c3d96e53f8a39cffd31a0cfd1c83f0fa3161f4ed4d SHA512 99a3944a5c987376bdea5fe6c0797e881bc8e6f629c56120ce811c8ebbed0a3ba24617decb74d6939699c8fc994c662eb292869ab407c0ba0ec460a32ede0190
-DIST unicase-2.9.0.crate 24368 BLAKE2B 6564ceec45d9bbac876cc12015e46f4efb415fdda4a37a62f8dc00ac93fa7a6a643887035caf0c6eb13b07571a2145e393080930fc5d1f71899794a942440409 SHA512 1255c6eb4cb7217f0ccb698f790115d88dac3dae3708832f9cdb135f6cd914b2653048463036bc396d0da0cf415251b53c70e27ad5a1cf39a9bb18d8112aae44
-DIST unicode-ident-1.0.22.crate 47919 BLAKE2B 766f52249631092af952df717e09e1eb0d2a8e87c45e65113f0b2b88b42e8b406a87241fadd368ceb9e13339362b48cdbbc6f699f95f448ab45dbbd861615d62 SHA512 81666679aaa2eebfe1429827fa2a88ee0b52bd69723067132c24252070133b3731287bcd880ba16d16274f038c7b27bcf637e9150b6cd955fb4ff49642078125
-DIST unicode-ident-1.0.24.crate 49298 BLAKE2B 34ba2906a3ebc06f52a4ba77dff96a8f3fb977718d260886fa9e051c5830765641b65a63977110f3a79f31fa177b385f81b01d56c80f6a0324d36eae72e2ebf0 SHA512 7be712d8d0075ac9341790180e312f66264d3e0255c91b38df0951baa5e446dec24551bb2125a66a1cb9b6ca2f1ea37c0cc15fa3dd74f398ecf4d5302c7dc259
-DIST unicode-width-0.2.2.crate 282768 BLAKE2B c03a04bb159969f32447c7823f50b2686c515dff4f7778d2cac07a87cb9488d44844b0bb0b51c6996d8fa1fcb65cf4e6a8a9e697d95c1be8373535bc8d7c4215 SHA512 a0ff6ccc1d154e5a100808d3109fe30afa048c3ff402f0a0de34dbff2d58a7403903002185b33bee7b04dcb578c9dea66225a8697f3cd997205680ae3abce965
-DIST unicode-xid-0.2.6.crate 15744 BLAKE2B b1bad25897717f6346f988d5a7c90c51fb842da113f19aa434a64add8f2e637258d9fab0f7b871fd2aac02e83c68359fc679b326232793cbc804523e2bff5056 SHA512 f68e78484479a5341b14d7e3391e691265851fa00feeca53af745479af6aa9b4ce3570456df785c8362043db9b04e2e57f9bad05d8305946f16af405bc611764
-DIST utf8parse-0.2.2.crate 13499 BLAKE2B 095b5d219ab8ff04c06fd6303e03d913ae36a57845f0b2ca3217a40e31a54cb0fb5ecedbde165d28f5f60f1553d8252986d7098fa83befc84a7cb20bf3b76144 SHA512 f3dbf78fe924f1dc3cf9498b6e43fb10174699463f31091a7a8136d8f31ec84fc00e80e3d8551b7e86257e8b3573cfddb56fc0de797fdb2cde0e962a8f239266
-DIST uuid-1.19.0.crate 60244 BLAKE2B b9ba5d4a0ffdebedeee286f9e9135bbfb4041295b3a742d08c205d8fb2daffedca78d379168562beeb982612c45cc77d2168be9c045c36373e2293c58bc15619 SHA512 5b2a4aeb75efb08390567aa058e97895f30c45aad59465fcc85dae6a8e9a169c2297e332512ccce3735b8bf26d71973baf3f6687ee7ae4d9aabccbdbcff1fba8
-DIST uuid-1.20.0.crate 60654 BLAKE2B f91ecedf66437f426ff6bb3633fd89f34b5c07898c2c44be02fa6c8217bcbf5dc86848ff882f3881b8f0847ec4dc9b51f4a62c4bf6a0e6577ab3cf9cf58f109f SHA512 16054a7814267ee0032ebc3ff408339d71b361499d7f1a1576ddbe42a605b94ada57578d7969aa9a3a028b38ded6016c2ad368356423154b2f488a38371f19e8
-DIST uuid-1.22.0.crate 61780 BLAKE2B 53dc1175c57d33b4733f885514c66f9cf79a9bf97d355ef19e2dafbcc668a39f1eac11c1188c77d8f83eb4b0267a7e94cdc9fe73a60ddb5af758bf4cc7e2b996 SHA512 6ff9dcbb7281feb4415d6d6c49541af2a90cb91703ede4d99fa994d63770c03ea45ea2e445d3f26f017a5301a9d79e477c34e7c609587326bbc2c665aecae7dc
-DIST uuid-1.23.1.crate 62932 BLAKE2B 8ff58079d6a1eacf2d1baaf1dba6ca5c5da84768a27e2f7f1f9843f6057ed634843ad96a6797b4fdee5a01716ebade8b99433a9b9b3dad794bb9a26d93c81059 SHA512 7f9222285c9e6635d9ed0b03ae945c2037bd7f7486bb05214355c19eb3fc0f7685b3f6b3bb58e158e1dd26cbf4772af7180420305f2ff001a69e90ea6f2c428e
-DIST wasi-0.11.1+wasi-snapshot-preview1.crate 28477 BLAKE2B bcc773ba28cbe8d820e9e9fbb275fb4451bc7f39b3bd88bcd93850bf2bdb5300489bd8eca27489ccc5f6269b00f4e1b505ae3a33a35d708cd5a414ad307be149 SHA512 29e3c903763db2580a15f50db487c5e1d4e90763e48d90a5b3f681e468a24f9df1a01773bd1ffa0e3cd293dd8cb4d6fbabfaa63c0e13889c811a56f4554ada49
-DIST wasip2-1.0.1+wasi-0.2.4.crate 132087 BLAKE2B 9ae5188981d55ab0cfc52668cd822bedde6b03104990bcd070f459a39ef75699a792bfbd33766cdfae852147c2f3ea236aa1d1b792e85c56be21b74aee2232af SHA512 56b88f97224b6b9763f4d2572e986609fc86a98f597930b5cbc8095d4184a0279286c8c79f6ace19bb08ba08854a408a61004bdc6b2f3b72d4f3fcb5e43edceb
-DIST wasip2-1.0.2+wasi-0.2.9.crate 129778 BLAKE2B f41afceba3c586d12829d2c59f45198c61ae04a0dfe72d6bad6176a3d38189a097cf633f34accff83d7ccc238a35a833381e98291e5fd37f2f4d6e08138af2c4 SHA512 284571c833a1770fcadd9a70155d8b507e9f7f0590015e1a07ad0512ac0a7f0ca4693ccd1aa1ab27e74ec58cb75f314770b66562a2167cd6b5086a7871527eb1
-DIST wasip2-1.0.3+wasi-0.2.9.crate 134512 BLAKE2B f60f74c4132db0605658ec48ee0087992b82e8969d890be15d9b2610aa235f43dfa266863b3f86e323ded9bf17a585beae232defc087ffc01ad175169ff6e818 SHA512 74c4baa90ecb4c1a87a931e03dc0ed7b472fadaa837d286e28c1c948a08bd2af88ed6f4bcf2900bdc85bddb358026d676aaf200899ec395cb98883e2d1a5ae2c
-DIST wasip3-0.4.0+wasi-0.3.0-rc-2026-01-06.crate 123354 BLAKE2B d8251ea31999f954eb1264bbc7792ba16a90aec3ed3112fe84b9a93dd8a0e493390b899be9e5e215ebebf644697d3bab680cb07d5e64617cbb57e6b2a28ae95f SHA512 fb136a5475fb4696902d4f4be43e0d5d28cf3bc1b6c83e5e7837499ee038f995c9f084064e2e4585dbc3bd260e0c7c95371526b04933f2c60fb6ce302416215d
-DIST wasm-bindgen-0.2.106.crate 48417 BLAKE2B 8dd8a36f109f0fe3dc03833271a9b6042b26c0ad9a9dcd411ec325dfd3f72696699ebae654347ef84133877d67f115027ebbe5c5172a1526b92eacaea982e152 SHA512 2ae22a455d86bd33d48a8b17898007adada6e3d5e17abc6df905ad5e3e2cd7886ace54d26876039b23f158bda30ab18f7aaa315610cfbe3f2064d90b8fac070a
-DIST wasm-bindgen-0.2.108.crate 49120 BLAKE2B 7cda1630cf38a776750f91d5811a55f955fc05f8460bb5ec12f147b37763ab73c0f40bfab4ae85d9cff93c80a6d0845916d47d61f4eb1750844c9459254bfb75 SHA512 d938d6fee0e9018cf3e1d3bf736b3ef9fbad3b20854917c93409bb4baad70c3a8220646ad3aa8e340d91c655eb7d0ccde01f4f38eb6941780c88c70989616716
-DIST wasm-bindgen-0.2.114.crate 59350 BLAKE2B 9bef0d69524ae4bda2178d5e9cae43d777fe23fc106e0282324eb0c417e15c6b2d9e39a610a23053ee994b74c31c6696bbf9db6d06e36f4a2689d0e0246940a8 SHA512 c6e9f49013b390a1037292b53bdd79dfae07b17b6750f8ac013efc5d37532253f8e63af091b6bde52c133a3933266630e76c059cf7fc7eb694e4c72d55144a4d
-DIST wasm-bindgen-0.2.118.crate 61149 BLAKE2B 3d5655101b382f2870aebfa35eb38cee19402eae18cae102824876f01094e5f505b26ee6f1afafa786b0cbe6b94ecb5c292db54bb85cc453ecacf6fc602bf79f SHA512 a61545f1895fe5a6e9d33b321f8d6e888c73c44b524fc38ac667df4f0cf7cea785d072c3cffc7d7bb26d288ddce90683bcdab3ba09be929016cf1f742020e270
-DIST wasm-bindgen-macro-0.2.106.crate 9266 BLAKE2B 62fef922115cc70666a686c6047ec2f6558d3f6f90590f3327abd4a6932e725cac5b3cffdf1f8635815dd3b18006cd95c46bb55b9e96b978aeb61857edc0ae02 SHA512 971f5604ff2d1c3c76e0c2f7b4d4542e4806414c4410719cf5786b50f93ee3f4533daf47eca9c918076cd4cffe3a883d0bf2c9fe00c281cdf4990f4f3e1bf97f
-DIST wasm-bindgen-macro-0.2.108.crate 9283 BLAKE2B 89ae171ed3418bcf27f3a55a8fb03c9d8983bfd16254e9419fe93671ea68532d83a24a6e4b6834a291e4fd068049216c84272f041cd99f76a620f7bbf5f2dde9 SHA512 5b154c3010a31bb7338d16e559a9b3d2d69cab7681914d22e8b4331cafbc2e6d8b5913fcfbdf5a3ee0e793918affc94ae0dac76fa407f02881ba4642ed1a2b66
-DIST wasm-bindgen-macro-0.2.114.crate 9289 BLAKE2B ad8de58de044cf0b8db6aaf713745a9f2dc7dfeb53dfc12f36de732fbb36c7cd36f1e8f1e073a3fb460d7b2baef8ba3126f0003eea4b052886b1502edf595c0d SHA512 e44de567c0e00a2ad451199402e178fa99a576b26466869f85f651d9258ed713bbe33f003981adaf85f4b5068bc0950222ad83b09b385e243b6556da98e7fadb
-DIST wasm-bindgen-macro-0.2.118.crate 9288 BLAKE2B fb4935cf037278752326a8ee4e78ca89738b426ebc14a90a63e1c37e7bb250e7bc4a08390448b1d49d7dfdc58d1e53ad98f08220c57187584740fa73950b365f SHA512 9370d4abeb445a0d8a89d0fa9156611dacdece4ff809e929987436ac2d6cfb1a3625b892a90f6c1e32f7541592415eb37259ada379b39b2aeddc8f3a2f8f1b3d
-DIST wasm-bindgen-macro-support-0.2.106.crate 49711 BLAKE2B 9508ae422506b405e3047844d966264dacad53d386399961bdbd19e6e6c8daded36d8875b9325ba06de978c7953d0d6a105992dbbf58e6958f5c122027e283b3 SHA512 d0c963e5ba06bae3c750eccc3bc7173fb27a4b4ebce03776f18aa851350d53390b7e568b65378b9c43e7d558965fc42951f1d7d62138c2fd60d3f2a064783fe5
-DIST wasm-bindgen-macro-support-0.2.108.crate 49855 BLAKE2B 5282f38ec1f5de7f1147145e9083863965e047e75c0b5cfbd46231619ace34b59a2a4db6d3298d265df35dd40de48a8cce2a47678644af432cf28368d3c9345c SHA512 8ccbf76754e3d62df3f157e397a3b560083e429840be50f38dd77cf737eb892db3054295d62f0df2a6cb78589a9abda6e9bc2fbcb2fd431ea74dcae46470b2e6
-DIST wasm-bindgen-macro-support-0.2.114.crate 63445 BLAKE2B 97a01b9296dafdb7032d432dc9e0f80d534750509c5c1c081766bc6286da373ca74beb9264869a4aa8ad10e6b605321f95058ee3ae35d8130b45ecfb372a7a7d SHA512 723df09894bfe8338ae127e6022fdeb814f80201c6f84cb0b7d85277c968b254b09c80821462b576febd041109947a9dc4aeda904bfe49ce8cfc828169b2c243
-DIST wasm-bindgen-macro-support-0.2.118.crate 64823 BLAKE2B 22381eb0019bb582dd1b4aab1b33ac3684d6eb8b0a613d1f8909eea82a4df561844e340e81b7c0cadf452039889cb3c1b386aaa4f6c7d25d6852529bb28d8e09 SHA512 36896af83f1d9fc9f72b4709c600db787538b7e889b86a374ff933b5c29ef80d09a2599d54fec051b3559c896ed035243595fbdac834f909860ff47eab2f7185
-DIST wasm-bindgen-shared-0.2.106.crate 10115 BLAKE2B 653084ed60830bf9a77101703017024220ccd7819c259c33c1d11d318a66ca8442b01a4e86a33b5e35d407e32c7490a88c68362e6238ffdc601b16b2e80b1edd SHA512 e0d054f81240f407a78ae11360884ad3456a0885ce6f5729b94ca27ae754fde00cf597af5d591e8f8de0cbf66dab39f35cb25a6f90d1b66a1b5e46099972586e
-DIST wasm-bindgen-shared-0.2.108.crate 10121 BLAKE2B c7e80b0eed58bae092167450b44dde4d351188115c5b5d966ed2ce39b4fdeea77ceba89d7bd28400ea92f639b17cdc557a57428da8f4a379d2ecb90ad847f13c SHA512 97fea5811a789c68c8a9b19587450d69b40bf2b76e38efcbb12f4864ffc2ca38a5d3deb5d9d437f47458d44f05afcfc5078c748996c3fcefd65e15bbdf9b226a
-DIST wasm-bindgen-shared-0.2.114.crate 10538 BLAKE2B 2dde4757cf4266772087862688b3c24fdff7931d2245b9ed0cafd131a1905273ef48312b3d6a6f1c4929d069deb766405abe03efc7bf615abde9c5e770b85979 SHA512 532c8599710ead05d318d7d30c410bf1cf92e4b6c6bd1848155330dd3cfe430755387827612d6d757a87506ca54892456802244e04ad440975bd8dd7efe38969
-DIST wasm-bindgen-shared-0.2.118.crate 10565 BLAKE2B a139fbbc5b63fec19708772d7f3cb457c2c24ca73a72618e4bdc65c8090390296e841a9ec5969d1cc0f90cd61351f43b5dd1d0462d08635d90bf01b24ef12b17 SHA512 916d6535f91aedf68b90d2491473d758244e664aee2d82734ed2bd377eaed90e929aa06ce95790ba120405337caea88624cf25fcedbe6af8b0820905e203fcd4
-DIST wasm-encoder-0.244.0.crate 85804 BLAKE2B 6dabb55c635d13d1d56711a43c655dfcb74bb9f0be10bccd412c21b5dcd63a46b73ff40955ff28aa0fba9341fe22161c8d253762afd587eaf69a7ca49c06e285 SHA512 ab78662abd6bc9edcc14531a87a848eb6c26081ce9bcb9ff15415ceecb48dad98ab6066638947780c65d7689d11502d4dd2353ff3462b4f49e1c1a8c00d2c1d2
-DIST wasm-metadata-0.244.0.crate 21500 BLAKE2B 8da1035b6302c23b00792d90153f74f35eb9cbe913366b43ff7e5d81481c903396b32ad54a416a14b40ff8d4ba329c6fda8c203e4b16f1ab80b3bf4535cde72e SHA512 77677c68dafabacc9697c6090d01fdb171c33ca1663c86dcd3612630b2ea6c41232a7cee125ba416d373edb34ea8e0926d164012461e2ddca8d4d18597feb855
-DIST wasmparser-0.244.0.crate 265607 BLAKE2B fb982e84536afde140d972614bf6c2875ef169f0b68010393e61d8a1041e57d5355e8f0a57df0681ce4159f830e30a59affbd733656aa9c633ad959225007b11 SHA512 d1a1f549fe93e11cf4155a8f5840fa444505ca9184e28163917bd8ddb1d53cb4d2be0335e183ec24625a7db22dd5d7e22c93c697bdd4de0d537b54af4ed7d834
-DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
-DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
-DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
-DIST windows-0.61.3.crate 9372520 BLAKE2B 37e569c1002f199e6552e6f812cc483fcfe430b235fdb0b09dfd801ef42f3f5165cdc7eba1099c7ac2838ec666fe59923a11c0ecc1971ae6476c46146c6d13f7 SHA512 a909a0e5de64e66298da88d61509a4ec893e7838e7bac6fe9fd74418900fb1b26639f2a83ad1a507abf3dfd6266349b18b8b922a8e3639de79d35bf37c2855a9
-DIST windows-0.62.2.crate 9360572 BLAKE2B 2217fbe336b2aa2627900313726f3919b91579aaad998ffecd13afae3a9ac4e5688e9e57bbf0692b40fee6de5628fb1ba9d78142a7a2d62f8d2281093e7b0ac8 SHA512 0f091f21975c6ead858830b2584c2e135994efabe268720255d6e2d7fbafecd387e2e8d5a0f28170bcd124f50e3fe0180dc9e96cd6b18e22ffaef3e5ec0bbbb4
-DIST windows-collections-0.2.0.crate 13579 BLAKE2B b6ba4ce0acf9bee0fe8a20ce1108e34a2c79c4f2867dc7bf71b9980d028656274d79d568baa422148c9d9f16ceaeffde012dea3ebd414d38780165a5140118d1 SHA512 8b8a6ec75f46da464503a32f610d5b315b441645f29e831ee9afe7a67bcdc90cf221786dec57d94de40120b384162c095370c0f03e78f872af68bdf9d618913e
-DIST windows-collections-0.3.2.crate 13510 BLAKE2B 92d153d89f449dd8d4837b54ecc4a26f0b92e855a62018b6bf06c15dc108bc26accacb3b0ce8ffde462c3759edea06a6bce0f3f2289059c77b9bfbc35ffea184 SHA512 974197518f75970028a744dc6dfa6f55b6676c151670534bf384a984850e2b6cbcb5da5e92833f180a91ed6aedaae4b10b246da5bfc0e5db3b2f930471da7080
-DIST windows-core-0.61.2.crate 36771 BLAKE2B 0f24843b8764dd9eab2df52d65b837ab3b0132a4cc5e4ba58ac21853add8294abe0e57f9e30c6419eb758652c6aabc808c79cac35014e963c6a392f06ece58f1 SHA512 02d34f3122dfc83e385a7f865e143ca13220913e04a09b8abc1eedecf97fd8665963557719a0c09790a3c5bcb4969402a659737ec23cf47b86a7660338cb4ba0
-DIST windows-core-0.62.2.crate 36932 BLAKE2B f291939153338efd768bee7cb3891814a1d46ed5cac1e2ea72a7ac66613842c02e1de89052a53e8b164d1055d9d4a138711929af897486b3a6da02e91aee3103 SHA512 b3b3e95b7ff6df91ebf866f8ec9c5e8f67134a26f1690d286f62fd756ebc5e2c59c583d4fdc213e5aaf6834f2693329f3eccbee83fa0567663cfa7d9d9ca549a
-DIST windows-future-0.2.1.crate 17532 BLAKE2B 3302290f69c896c87969e01fc87fa239fc6f1f60aba3104d02e71b260eca5891f5bf3443d42a3cf59d7b0a67ee3d08298d19178212bf70a0c7f5fc2e6a5a2139 SHA512 a605bc57eee3f213ddcc0c03552df8793c0d77eff2101c8cfb5b901c8a296156643a5b0cda812f781c48d886a1a1205c08b4cfb472dfb60e6b479d8b09182dc2
-DIST windows-future-0.3.2.crate 17944 BLAKE2B b11fca343dc370eda9440903c591530662ffef5aeb740e5a899ec7f29659f77b2b0c4a76c66b73d6da2271725a87ed0cbbe170b5f0363e52ebf59958469a41e0 SHA512 5887c9944d2bee754fa63f3de8db575146acc66e2397e8f4120cda128c82f30144be5ff259d80816a692037654cb6c3e3adf068848bdb65ae9779ada20ef7dbc
-DIST windows-implement-0.60.2.crate 15325 BLAKE2B 1f4e5b6759224a74f006c3bfb9acd3bb5fb111fdcf6e4f5e838ca10ac200baf48261583386962d357deffbabea4f67f8e257b8ad8b01b5aee6fe67f3822a7c13 SHA512 212fd6c1f25da40f2131b07ce1c0a34c23177c4666bc518e00a9b4f2bd23c1d131bac565fde531c51f21167f9eb1591e381fc6bc44ce952f6945bad6547c1579
-DIST windows-interface-0.59.3.crate 11809 BLAKE2B c3f439e14e85175f12b4403295f063f53d03224ed1842ad3826fb2beb89c2884317105e28d9d9af2000e08b5bf2fd05befa48dcd0325baba168acb19c8341d86 SHA512 6fe54da90ca797a5e1927803febb07d1e2e4db0bdba5a9cd84d823dc9118390c0f988387e8c614949b9f3c3a0fd47743fd0ddec3200f897952c53a57bb34adee
-DIST windows-link-0.1.3.crate 6154 BLAKE2B 28e87a3e32312ec3252945eebb11a6bee886de50f13ca2a2c45aa9c7b7c7f7e41cc2323519135e8dc96d433694aeedab7e4cfc9a46c96a2735831017ebcc356f SHA512 b1d6551fa7391b569771bcca3185ca40be6108b9881184aa4c54edccda2a4bf2b60b04248839b718d15b82d9c64a3de61d1b75245cfde5f166ed1f778def682a
-DIST windows-link-0.2.1.crate 6133 BLAKE2B d1ca714178e6fe12bb3b4caeed9a52a36890989e77ae2dcd6f2d18ae4a21fb8479d304cdff63bb0a5f28acf44eaf104821cff83cd66b3a0406a5f33a800e3641 SHA512 afb0c87beb8914fd9a3e52db6f2f64a840470b9751b66c83892c24cb1c46cda63fb16b1aeafcaa5a1fc7c5ba01da46be63e5227cc108dede8b0bd27785498a6b
-DIST windows-numerics-0.2.0.crate 9686 BLAKE2B 58491292e46cd869c47a96a5c8177b1f7175e495384c1eec8154a5fb15e118f06a0cc10901f5dbb1e4bc860f11e842b9121d19c12218c38dda2e6b8ac40ef1d1 SHA512 4fb59b445ffef54afef22d6db277c71e67a13a907b65a251e52bdd605baae10085c16aba25e0640fa8e9b28d2634cb6d11c1a635ef22cbe19d3cdf170727d29f
-DIST windows-numerics-0.3.1.crate 9772 BLAKE2B 6d615097cfab75c36ec97cf53554fcfe19e0272e3bf21215631f5de7d369b7edc62d4609f11ae5938daec2ecce7c865ab30debbc50b320887047610148936b63 SHA512 bb64bee3d7bb81d4e2a15ebe2fa58a53dbf13e4f9df38b6ea0f61c1bc2ad55196a8b3b9e50f2590b1ca979ca385a95ca42c9c22309cf211577d025c17b47d6a5
-DIST windows-result-0.3.4.crate 13418 BLAKE2B f9563f7e1c169c43e18cda275b47058e92e461704ba58f197625f13735c9c949ad5c9e359606c36c162b5d6cb2d137cfdd3ffbe7a6471e2b4004ce1d5525302d SHA512 e07044a3b629e12a350f517b40fbac3b8b5916852c09b43014f788bff545cf4c3ff9933e95a4b50ca7013e74c9f58562e2a247789ae8fb9b9adea59f71d1c3e0
-DIST windows-result-0.4.1.crate 13381 BLAKE2B 3960ffb7f15826bd2f8636133412872d7af9c2d89fde07d2183188083e22580ecbef11f423523aa864c0b199a494aabf1d6386d7c7fceeb7ad74575347efbd27 SHA512 a2b7cc53608b8243bf9b19adb75cdc1698b8caf78d939c3afc0c01b1e89f9cb951306cc1673f9b400b926437340681af641ee322f7e761a641ee40e52b21b9f2
-DIST windows-strings-0.4.2.crate 13983 BLAKE2B ab8603b4927b85790ad12884ca564a9416fd51c06d6f574bc8020820253ed19f14fe831cca297f492bf34d7e8a856012d3da1225aae3bb460134b5cbd998dca4 SHA512 2cd546950ed2f2d80ef007635c2ea6df597e100d06ba5a2d4149b6c320dd928bcd6ee829969c36692f1ad3322d38aa1a4aabd4865fc8ae432e38e1ea85318e2d
-DIST windows-strings-0.5.1.crate 13966 BLAKE2B 9143cfa5a4184bf0aeb62f8c85d0629d7417b74727349cf46f0d1f28d0e255cc218ac5bc39fe1c7f0311c418f23644e84644b8e7833c5b1c8d1f523c3d38d728 SHA512 c1c3e620aeacbbba0159e789cf0a0261e943f626d21392a77ff00d321c867a0a6ea75054f594a63fcc86cb9ba6bb580d96c29e0a8fdffe90e73658aefc3472b2
-DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061
-DIST windows-sys-0.60.2.crate 2518479 BLAKE2B c2e2f614066e5a9d7ec461d9d25bd441188797ad85e1e923baeb0193e82f5c138ae7fb4ad0255d483f60f7a94e3f5cd8373d01b7485c052c9498937bc40da992 SHA512 a48aa1b66479451e431032737b63dc62eac6f63c251534e258de75bbee4858829faf5e641756566f00e153b08548ba32beb437b5ea42e9531e3fcbd8eb25209d
-DIST windows-sys-0.61.2.crate 2517186 BLAKE2B f4eab0b365aa1df8a353d634da5081237bef0f7b69f02ffcaba232a688e59dfe877c47114de64c81e3cbb929c2fea1143ed6bda56ce935e66d871a993ac29106 SHA512 e6c8f61f0724dafca7821ee9b9c07237ccfee69be269be2fa7318eb48b151285ecf63e860aa1fe303639222fe11268e3773f37c2dd79f923029af58c645edb3f
-DIST windows-targets-0.52.6.crate 6403 BLAKE2B eb98d0a8daeed5fe76e7fa8edb2743e2a3e77dfb9c4ea68605a6ab10532cb7cfc43bc1cea0180869445bd940be762a40136500e26b84ca88b5e0c502004c7a4c SHA512 d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f
-DIST windows-targets-0.53.5.crate 7126 BLAKE2B 17a0452fe72a42df4aec8b4ae7798bd611df4f3b093709aee7b8dc991fbc2351edd23e134d12412fb47e9930ae30476b55841d52be5e764fc42a7922e3134ad3 SHA512 285a2ad1c370d8485a84c3921b180416c79ad596ace5ce30a1100fe0d9725139e9302f5728d4874789d8abe5c53e9b30ff4738d969da1c07940bde2b01c7a203
-DIST windows-threading-0.1.0.crate 9085 BLAKE2B f29c1f12c3f3cf7006a03e72637f3a8c60138a2ce3be4f0fe11669c328c250155209fcf434b24a1aec39b17755f9ba8b1c1f5809e81d342190a54e3bfe1d5042 SHA512 e662713517e4e97c88be65c0aa4769d28c7ae65f06ffb4ec02a4af07757423fa533eaa2404abd38bfffaf0f6697941c2d53f10252ef126cc72ee0f5f2035e6e4
-DIST windows-threading-0.2.1.crate 9686 BLAKE2B b6f39dfb7f8c08d1099e181aba07ac946f455e174d47b79b8ec001c4dbd4a4fc57e70d6fde4c3de081ac56b62474a197ffd0126b34e66f118131ef66c581d1bb SHA512 99cf67b09e5e9c159b390e1e4cf6416c5759f32facf4389a6aca5fa0ef5d28e7c18ef4fcfe67a07aa563b3cc14413f0e3e3057731000d68573f83e99c4dce0f9
-DIST windows_aarch64_gnullvm-0.52.6.crate 435718 BLAKE2B 8b12ae02892cb69401329034bbca671d13bd268a112120b56b90504707cef89decfbd2560492844a9f0588fab62dc1476ab7e931126b939015d25a8cc91ca334 SHA512 f62b2d942bdb3a9353465b07d47b93de179bb706511aa497e4addd74cff95e689a9b633e7801ce786e73b5ae5f30b506b6faa199c5ab86eefdc1d94652df79c5
-DIST windows_aarch64_gnullvm-0.53.1.crate 787748 BLAKE2B 78729e1107cf64ffc6a3d70c14cc93e7867578be51d3f6f442914a5f2d065fa86be843b72cd24d707eb59b779e9a719eb28d025619cdc219e379827acb4a16c2 SHA512 5e480e54af09c142ff75e77f733327dd3862f32620e0b075e02bf8119e955ef2f3acfa00f7c7a4d6a2b034d03d70c45e191a40c8af628484d0e76a0b15870cdc
-DIST windows_aarch64_msvc-0.52.6.crate 832615 BLAKE2B adc8ff61b6dc96d39c92c7d4221ae6aa0575edfc016cfcd046067ca5d8fcfd56d10e8e227be1c038ce34684be22c7ccaf5f18cd5a7638d28fbff4ba15b48b90b SHA512 a3e21305ad0e6de38f5b5ed5d37ee5825b7521064163bcdf31d63341cd87983f54377865d2daf3bb480d2d0aa66d6f598fa09540ec1d71baea74569c86bd213b
-DIST windows_aarch64_msvc-0.53.1.crate 838009 BLAKE2B 0a04f6d80bd0ab41964e9932040d6c748b6bf10d609bdd35074ba26d245a98281739c8ac68a3fe251d36148a53e1730b0ea2dd5347279e74dea881be43d67707 SHA512 81175036792cab41ede4e3a21ae324e638c39604e14c7a3dae8db4090cec45b385aca32416ccad50ab194ce06d3a71f2e12473767d680348795383dbb2d17426
-DIST windows_i686_gnu-0.52.6.crate 880402 BLAKE2B 5aab8ee07132eccb7695807eb44811beeb0657aadfb672c54e99b6ae39c067ba9b93e38fc69bb5b9b14a9759f263ccd5e301597d2727d83b31b49a409b6bd405 SHA512 a1f6b5dd23d17ec3567bc9d11a4be6f35e196eee21ca342e9b88dbaa6a5f7c46e439c834b77e724f32ac22c0d81573746b3b513a6c944a221b92b2c76fe98822
-DIST windows_i686_gnu-0.53.1.crate 939775 BLAKE2B c6abfbe7b82c7fd95a483da467ce8f12a3777572e34c42777e6378976344c95e5a56e3e7ae47049e14de81aa26f276a723ac5cb61f2c62b141020a97a91f137b SHA512 5af8519d1e0d9947738d5aa339091695467a55b62fe97bac680eb469679180a54e9f65e2ef8d0c34d4e63ede8c16f34a0fbd1f54ff53924ebcd6cef17c3474d2
-DIST windows_i686_gnullvm-0.52.6.crate 475940 BLAKE2B fec4fda8bb2bf319a501a22372fa642ae682e4dee3235b258a028190ee73220bfc55b3142f06249bb4579b17e5fde662bb2b121aefe18544653350d7d0fe7d8e SHA512 95f13af855d530acc0b856214478d4b11b8dbab3f8f79dd223d0b009790c0e46d096fc1773e0277997deb2d5b96c704f17f23c7df11411524629f75415dec99f
-DIST windows_i686_gnullvm-0.53.1.crate 857396 BLAKE2B 4fcc61c3634d7b905c946ccaa2f6d03ccf0feb6f8080337d5618959a532fddd5989dbc95d8559bbfb06335865387900e7cfe942cfb67a7724c3c00dc99b1d603 SHA512 492bee10b669c799a93b7ad98ee7a15c0ccde4d13697408612cd345cca2b7efc38b85c550eaf1b83470bee53ff3324045b7b751c3a31ac0e214b9965e05bbffc
-DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38ce450be347a794d63ec39b719304c32722c9999b540ab40abe0216318900b7412970df99dfb36d1516a9517cae0c77d1bdc SHA512 ca97913ce202d73266cf55947b868bea7e964a4516b6a096a81aeab6a60ee73867171032ced35e3afccff741ddfb2def7468343b6eceb95253e4d4f349efbf96
-DIST windows_i686_msvc-0.53.1.crate 907688 BLAKE2B f6ae6032836367e9a42261779661abd028d303cfb13c016dd1a745b21b58d62531dd0d7658a6c133d2bf1dd95c538cf24340bb50e6743a82d6be9a622ff371b7 SHA512 b78f2a21e88adb65bf8a81bfa8a133d6ebe18b8394220421bd5f10b619528f118a255dacf6e78014ddb4db8a27b936be7af6e137133d914e1cc0902139a0e0cd
-DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb
-DIST windows_x86_64_gnu-0.53.1.crate 903712 BLAKE2B b5a86bd4a760fb6d937dc5285d2c594245ed6bbc541ffd6cf6d169c7e4e8c4334523c06c7a59c52f100a05da7976193fbb535ff3bf7db30897d9940d4d5648a4 SHA512 e4c5bbc49202636c03953aa0fff1f1affed69970aae198cb4d1eeb5dda63b9e07b0cfaf46015bca3b8c48fd90d3552488a6a7b17b53aebf9776e996ccbf9c7d5
-DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd
-DIST windows_x86_64_gnullvm-0.53.1.crate 787739 BLAKE2B b5e3aaba4ecd1e5e21a0b9ce5beaad3f9ef78249f21b3dbdb69af98d5f36d01f2ce65d3188788392b866f296548075857e2f904e30cb79db33fb3134fd78e946 SHA512 30b8919ee9ad36acfac4e28a3b22378ce11ee73d35de60dd9c9217adf14e85222da5526100b0252372e039e559a5bf734ba134b10f707657d542341056947588
-DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7
-DIST windows_x86_64_msvc-0.53.1.crate 837950 BLAKE2B 5775d30ce763835fa26376d85e9ae6f598b817b8d32b01147e5d197c364a5071ce7b5b09ee6f611fcf30790af79c4e4282e04ced620190629eebcbccabb8d720 SHA512 bb724f4051db90ce49b552021e746769e5dfe3792b522416539960c27f9ace14f63c47f0f240d6563257377129b5f3ba2c262c6fea9610428aa860fe035f189c
-DIST winnow-0.7.14.crate 184718 BLAKE2B 6bff099d199831a72ff677db3e4de2feaa5a0b6aad782051c9af629459faebcd131518e20d6bb8f3f7f44b708284e6ba54f2ad7e0811bc0bf1df89899ff561c1 SHA512 ffa96e23707d87d5bf0f0e0c8aefbbbe4e3d2219fa5fd6a1535cb3c7b049a8481ef6f9f9fd69c78be855f36b242476f3b4462f2536925d48953afebe00bb50cb
-DIST winnow-0.7.15.crate 187092 BLAKE2B 2fa004d7d0a166202e27f9bdb57f7ba7d1a8d736a77518e8a49afc1c1574db93746a50d26f802f571c14e8c138857e1e13802c04308f9e06215517c012e9b275 SHA512 47c4abb8de7f024e2e85b1c0ed9ebe16b9de29ce82c536a133de9d64d99ac37191e4322221640785234a32b03a28bfa99ced738bad5088d39bfbbe2a64c99689
-DIST winnow-1.0.3.crate 187990 BLAKE2B 481b863fcb8d8f7b364847af08c62b68068175903e2ff447e7bb090fd8aebf2ee8e3477b252385691c4aae90dcaffe9ea64d1698b4397ed41043127d2a42f0b5 SHA512 4a31c9f0a92a551848906009670eb14e1c81f239e4841008590597cc96ccaded8d6fe863f4da3bbb7e904c6edd075a6e15f4965d2a46d317242bc6445df0a48c
-DIST wit-bindgen-0.46.0.crate 60508 BLAKE2B 4422fb47880ecd70749d615ea6ed0a8bcb5941bd9de2c2164a6f1248574363408fcb634e0e9aa0af3e0f278c9311a81212818dff70ef39614646ffdd646b1fe7 SHA512 5d37ac5855797cfb906c983a70780d7cd29d70c4e5b6e54328fc18297feeb89ceda0aa732123280a12610015fbdb42bcd76aae12b1debb281b0a848016134548
-DIST wit-bindgen-0.51.0.crate 68035 BLAKE2B 0cb5e191f866c3782b6a1e822ecbae6e618e08371867462addb027dd5510638e72438d991777877d5754b2932afcb41f2edc1ec1426334a69311905f0f309b6a SHA512 61380c309630ad7f415d467daf1d639ad7a3e8dcd26e5f88aacf0230b52600f150e804821b6a1df9b79cc7fdd4f1d800d043ee7eca770b1947a3cf06f893711e
-DIST wit-bindgen-0.57.1.crate 71227 BLAKE2B b91b6e78026d22b58da75e69bf76278f841e11b76610ce5ec04398da9bdfec14b3729c9a342fc79a74634baebd8974f1f937ad3170c67d42208182a0ab20b88a SHA512 9a2ebae44032c0032ae22d1cc277aa6cd35c874d00a0a8b2271a0267ab838f1584eb9fc41d896a0639ad7ad2268fbc9c337a4372c1b3183f6117674d4244bafa
-DIST wit-bindgen-core-0.51.0.crate 35048 BLAKE2B 1ce5f1bd6d1ceceaeb91d247f63745abfd25b539b57dc12321a2342f55da1207c697641a778ad6bff2bbece300fa52a788c7890e8dc49c5357f48292fed2a693 SHA512 eec78ac1566cc4f03b1d0d7d2e84c3d0fc2458a649c01a45c9c3781034078ed51b4a9852760fe96115006fb3415bcb31b1bf429cb3cac6e51e09a1c0cfc32ed0
-DIST wit-bindgen-rust-0.51.0.crate 57051 BLAKE2B 65c45b1b8b08681ded9bae2b4ac982770fa613bfe850128de1116a51ddd6366423c27e1f704817ad69dc05694e03aabb56af5bad3aeb0aba3cbc9415fad474e7 SHA512 7a5c29b92fa53ac8f8097b04a9507f471003edabcae0223d35180937b9254c62b24d9f4cef790000bd7bc7f6966af3aced2d7196359479480455baf5f4450f9f
-DIST wit-bindgen-rust-macro-0.51.0.crate 14283 BLAKE2B 79bc4a4846ec73ae02fe69fcb7898297647a0c70526fbd555e79a4c76de968f0d4c9e2e497643d9c1e7403bb8176a2108ca25a7cef577b9db3ae04142a3bd1ba SHA512 bdf6ab20b484180bfde867b8c8b03c10fe02a9279895ece43fddbc20b1ffe771128590d3d4c72585e959512808682278e54983d11066e0192d84b7aee830e0e2
-DIST wit-component-0.244.0.crate 256882 BLAKE2B 5e9c706693e3064ffbbe28a23e64e5bc32f6772ed294dce3bd2972b8d951f2820ddcee5f9e651b1acc470740b021986cedb6f0ff7a9bdc2b6e13f997dd341024 SHA512 efbf91954b7c4fc9cf5835783245f3a8cda7e5883c6e244a3da85a64b6b2d74f44ffa5f73309de7451b5e6aaf614664869769b140872ab85913878e52e490a00
-DIST wit-parser-0.244.0.crate 159371 BLAKE2B f46db4840d3cbcd42e5d26b854247d172f8385810a10c437aaa6b67f3f72dcc230a8d75f4e5ccff6ea006c8a52c2fe92f39d9d90cb30ba594c02ae618fb66bb6 SHA512 c554a167ce9802fbc7537700376da70ed6a79f96adeba5a0e4c955a7cc4f2ae4f588071e25735903d4f509f2590341fa39b2edd018cf6d3bf8ad6477b2474b01
-DIST zbus-5.12.0.crate 168368 BLAKE2B dc54aa254548ca4130dacba8abb3a4d5791a786c1859962679f7c1576538cd852aae9aea4a0d0a7bdb948b534dcc1d7cdba35e278ef3533bfbe71697ffec648c SHA512 ef0c8acccb20ada8c93fa54525a23ce2d047b4d9d67fccd29bf43c840c133b1dae59fcb27427ad00c50466b10da194c13368cbca70a9d9c8126e9b4da756d925
-DIST zbus-5.13.2.crate 174016 BLAKE2B 7cbe8e1bcb7fa6f03ec6c0162f9ea680e285d710b1d7765445c438f66c5636111abbbedfd82d6c9d0f74aff9f9bf6f8ae517ffca5967702c7f69804d0a9f359a SHA512 04d27a7f202e0a3c0bc791025db7df49e782f84b0ed83d553b90ba0b1ed1375c159f0a6c18ba09071e1451f5e80f937e9925d972260d13b51f03bc040fa18d11
-DIST zbus-5.14.0.crate 177684 BLAKE2B 44c74ef54735eaca54db16ba5fe0821fc491d945c4c0a7a088b6b9312464b056a3da3b99d3d90825cbfd41cbeac80e9257235b38edab67f259752b9fa90a94d2 SHA512 fab6c25857ac4cdbba877f109734b0f0e8fde0e9968e06fb7f699a65416598bbe9d236961f6da27325402cfbf773005f67ec721d27aac7af4e8b29828e3d9556
-DIST zbus-5.15.0.crate 180214 BLAKE2B f2b1c6f0188083ee692e05c129886ca5ff05aaee815421c4b31baec58c004a523369b56cc64142c5c6beb199e960dba73852708ea2b11c814d404e780cf9c7ba SHA512 207d1fd410c46032cffb1970b8c6658f314c2bf22181301e1db500c371f220617d6cbe4eeef510c5389e6536cf267bfba4ae24a77d76b7934e3a07e2df16b10c
-DIST zbus_macros-5.12.0.crate 37026 BLAKE2B 3865fa3c8b42b132c1ad6f7968d73469ad4a92b794010a5349dd735f3920bbdba08c5ae2ed83fa65ae4df4d08d163d02770ae372abad34d92c1b2483846f6a1f SHA512 e7b1955a8ff448d8fc7a4300e4275b685561ea9898d50b3b79165d0dcac87bdd2a33971332d8d804c8ccc17de8ca63d0b47119620aa7ac4153a33b66a839287b
-DIST zbus_macros-5.13.2.crate 38749 BLAKE2B d29e6f1fbbdf5f3ee43192c5da3a810ee020de4dc35c4c809c52bdefc689f706bbef66da4ffe608ea4a1ec2aa82028f3c93c4fcb8bfb7536c2c18a40c15bfd01 SHA512 28a15d1cffad7659b1e4d8ed7209a6e1b3d06f44037a53b095bf0e23c6b58dd87f8db837b44984282e640a35298d2cc2e2fa586f0973fc135a1603098e87056e
-DIST zbus_macros-5.14.0.crate 39335 BLAKE2B 00c0e371d53d6ad23f4b2d83c42fe92f30075c526a1b5e41c62133e5b0f6b9708586988d4e1e6add49c1f627dc6c9b19e1e1339f66b227e0149ad7d7157f9024 SHA512 c45f891cffbe8d0344a25c5d2e0a77297f0b2e99d3f0a8c3bad4b9755ee5508acdb47d46576916e24aa5d742197e0afaaff3b4aabb8695cf3496e6f4a75d7c3a
-DIST zbus_macros-5.15.0.crate 39734 BLAKE2B 96bd0f21bd67a2f8217c539f78590c0d1e9d502c2a4a7b5c7629719bbbb612ea541a21e01911f27b4071c431413b836aca9b627106a9add7aa46d1f0d800aa0a SHA512 7bfeb0c31d13c17d4f31fd6b420dc3889480808838bfa3658b4c96bf43f801eb1332d9d77c0ac2e18af6cdfcc645a7309d3e42a6d42e4a632b140d8e8053a0af
-DIST zbus_names-4.2.0.crate 17015 BLAKE2B 9aded72b9d3b14e8ded49d1b34bf87327b05bd7099ce5bb1974c173ac3b68ada041f3a9c202475c9ea7aa6d80f860772157b00ff17a6e024888814b196e90dae SHA512 b88179106fc12400339bd70fa34042b00e9664e657f3dcb11c762127005cb8b90d3b2366cf77631fc8d65f7530744b7aaa18f6f8ade17732167d83a158062849
-DIST zbus_names-4.3.1.crate 18076 BLAKE2B aa66dda5540d1206eb24d7cc206ca8eb0c51e02e3f27dc4b65196453e4cea5368123292d1011abb414d901d94863429deca9a05bd8a49182777248ff0e6b3dcc SHA512 848b8ee331daa9f3863b865033674a4937ea747df3b926ba30a57047bdaefdc87514556f0120c73a30ce16962d6e72e337605d6c9586de48615e6ecb2fa2c480
-DIST zbus_names-4.3.2.crate 18088 BLAKE2B a68dda7cf9090de1cc93f31fbe7cabd2a9b24779629a8740b082e17d90be17b795db651060bd085ffab9c5e3dc1375dbd01725ac4a6ded55c39296a003e46c56 SHA512 c30a13bada11a8b0b04020a9035687bb8771bed41ead19ca68a70465190ad16e6888c793568b6e9bc1e684bd4025b69b09f7a34ba067709abaf44a6d6fd96ad6
-DIST zbus_polkit-5.0.0.crate 8437 BLAKE2B 069fc2c19dddadac02a9ea35cdc4f239f4cf64e83ce23d427785be69e62aaffdfcd6b56d5951706341c5c6d6789f6737d6f0acc47efdb028f567d17e6769145c SHA512 898d6b272a413027832f0b10e73c4eaaa20c8692678abef3226f35636134dbf4cf2b0d17101efd8c3273a0685629b0327aa34fddad8c609d85bdb03c567ce8ec
-DIST zmij-1.0.21.crate 26665 BLAKE2B e958b58e2213ad13185ec6df55d07e6c80169afa56133038fa66cefb4a9f49aa786249a486dc09b2d0a2f74e41c0d0d713135f38a84dff8f6239636a6bf3cadb SHA512 a488f11ec8721ddfe42e61d028a128818551de8fccd69d7824504e4ae2efccdc38f716fa5a10ef4de07a8a087e75e819c4a1e0790817e8539b5db697bde14585
-DIST zvariant-5.10.0.crate 93150 BLAKE2B affaa11f624aaa7ea6874a4977b1e483b285191e4c17171f3844454c470029fb67d9f0b493fe6bba30a2dd1234c1a36dae34d5865291f3371407cd23560516b5 SHA512 a9ab69af9dc4e42f57836497f4a424da56b2cee256773f99b0ca79267621a1ade3daae3c9a00185066f5d7451a77ec29d8fc53041b5d9d41b400a8456e103a82
-DIST zvariant-5.11.0.crate 94370 BLAKE2B 7bf668cf83d1c07b8ca6c637cb5ccd58cd5f1e712d85133fda39aff91bc2862dd6522587efdea002571a5ca6df0bd92d25a15e462a6f1e0de7aabe4658bd5311 SHA512 25df43396fd3cd326c7b8b430be9095a8b69f2a4438d050bc0f5cbca482774dc6e797251d236d04d0ff1393d98664f192c7884dfc0b02ee4f1f25c440f2bde4f
-DIST zvariant-5.8.0.crate 92133 BLAKE2B 84415988d667198e9749524e611d422aaef5c09ca49b966dd620a6c734ad44f1e724c35c99e4ffce3c630ad525be6758e424bb0ac4a92051685f92d04fd9e9ee SHA512 671a17614650179d1d010436eb9e455de01a0c5be70e59d44832db51e90218f938e13385d014de5660f32b35f39f493ad17d90b72e786bf3d3704284c18ce159
-DIST zvariant-5.9.2.crate 92444 BLAKE2B 0aba4d0ed27735b94faedc24b48c557581b828f015d9af7d24412b55249d943220218c394529f89ab0358a98a03fc8da6cedd73e4ef1559434a7f2da4f8fcea2 SHA512 4d04bc03f9b9ea784822485fc08696eb3afaf071f6342973fbe5597a3c8e5d7773de7b9266e3bd4708326dafe1c0971685f25bb2030a0dc538dfb154945c5dba
-DIST zvariant_derive-5.10.0.crate 16592 BLAKE2B e081f2656849e0a8f870f4eb3ef67aa3f222243ed6ce8e30b6ace7b7b470bb0e979e76ade502cfe8716d720f88eabb070098e235c42ba0ab6d40f1ec5588f077 SHA512 ac139835c941ad0c153ea3ff0104a482ef86bf891c45b853dd6988e21387cb743cac406e9195484bce519c9a549b5d4024f3871022f9ea78b2eca1bb55e1fe69
-DIST zvariant_derive-5.11.0.crate 17729 BLAKE2B 205cd38be41bc28ef4d9e7782e31bbfd54f36cbad1d0b75f8cf9bd4c13619ce0e967a35fc8e69f7ecb74191b60ce0055b421e32a3325e1f98736ad0ca5c13645 SHA512 2584a61c943b6fd7bdd3468f5557112f89f0e695c54bece83480aa6bd31eecd79eca56028308f08ba0c5aec2ad368921a4e649f65a8e0902548b1121e229df25
-DIST zvariant_derive-5.8.0.crate 14336 BLAKE2B b42f6b2407361f8fc605d5dcc1daa5d2c8bfde201ab6a1fe37ce014806c50e1b9b819a36d93779b8c705a0170d489f26d2a1ce0ccb5b1ee5ab6cf77eebf3b288 SHA512 f4ba59ed7d0166b5f150de86d88073663584733cb3649483e3c7bdd8a7c3770422e64be07974e6fb1a92e738e990b931eb38a3e38450eb286be8c7563d71509b
-DIST zvariant_derive-5.9.2.crate 16586 BLAKE2B 10b751028262cc74f95bbd4111d37230e2d021de788a712ae1be56eb4cb2e089d6599c058387ac33e41fa2d062bf1b1b22512df50fc4c602802b9a8c11fd7c90 SHA512 b45f91b5a27d912efe229c2f8b0afa7bd28ebf8a83c8891980036c6e114c85a0e7095ed214b859dec21fa182cfe85f4c144ec58e2909c45aa80d8ac5f5ef4c9c
-DIST zvariant_utils-3.2.1.crate 14678 BLAKE2B 2805645ce661e26e37019718cddb09a22e089061fac15f4c3b073beb6f98d56a1d9167f4b05e582273ca650362af73b3b7b972eca3b512b0f270c4708d9db780 SHA512 fe24c744a60f774a4ca0d6d987fe38a6f1ac98d04b365928366200f03412415e81d9ea605689a413f0c42390b697e0742c85e8fd8b5c02105ec49da20f56fd76
-DIST zvariant_utils-3.3.0.crate 15417 BLAKE2B 08f7613b63f8f1b53541270d1246ca5bdfaae845e202bddd23f64d4d58336d33e27a5c33df1cf7e4973c3255b82ed1947b707089cf1afc08c2259eb8f5fb9785 SHA512 55644ac7f81d60b414ac13e0da4db190ca58bc9d1d7ab82c447e0995d23970d3ebd9322ce7c066303e8455141bd91e2125618d924aaf17109d7015d49289f4d7
-DIST zvariant_utils-3.3.1.crate 15680 BLAKE2B 790f7ec9d486e433ed323fef626093c5f6c9451ae52b70b2660135596b30c48d946f7dacaf16d0124676cf8ac0f2715ca402e5f61b8ed51f8723b845b303d800 SHA512 17d75c61c6bc1c4cded5bf0a7d7c050a3b150e913b1ffecabafc751d6685a4cdc8057fcd12d9ff2b7bac8e9ebf6ef6def067aaeed724e7944189d9889b8a279a
diff --git a/sys-kernel/scx-loader/files/scx_loader.initd b/sys-kernel/scx-loader/files/scx_loader.initd
deleted file mode 100644
index 11a926f70251..000000000000
--- a/sys-kernel/scx-loader/files/scx_loader.initd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-supervisor=supervise-daemon
-
-name="scx_loader service"
-description="Loader service for sched_ext schedulers"
-command=/usr/bin/scx_loader
-command_args="${scx_loader_args}"
diff --git a/sys-kernel/scx-loader/metadata.xml b/sys-kernel/scx-loader/metadata.xml
deleted file mode 100644
index c71773266e43..000000000000
--- a/sys-kernel/scx-loader/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>vi@vimproved.dev</email>
- <name>Violet Purcell</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <maintainer type="person">
- <name>Florian Schmaus</name>
- <email>flow@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">sched-ext/scx-loader</remote-id>
- <changelog>https://github.com/sched-ext/scx-loader/releases</changelog>
- <bugs-to>https://github.com/sched-ext/scx-loader/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/scx-loader/scx-loader-1.0.19.ebuild b/sys-kernel/scx-loader/scx-loader-1.0.19.ebuild
deleted file mode 100644
index 5a71805c3f3c..000000000000
--- a/sys-kernel/scx-loader/scx-loader-1.0.19.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 2025-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.88"
-CRATES="
- anstream@0.6.21
- anstyle-parse@0.2.7
- anstyle-query@1.1.5
- anstyle-wincon@3.0.11
- anstyle@1.0.13
- anyhow@1.0.100
- async-broadcast@0.7.2
- async-channel@2.5.0
- async-executor@1.13.3
- async-io@2.6.0
- async-lock@3.4.1
- async-process@2.5.0
- async-recursion@1.1.1
- async-signal@0.2.13
- async-task@4.7.1
- async-trait@0.1.89
- atomic-waker@1.1.2
- autocfg@1.5.0
- bitflags@2.10.0
- block2@0.6.2
- blocking@1.6.2
- bumpalo@3.19.0
- bytes@1.11.0
- cfg-if@1.0.4
- cfg_aliases@0.2.1
- clap@4.5.53
- clap_builder@4.5.53
- clap_derive@4.5.49
- clap_lex@0.7.6
- colorchoice@1.0.4
- colored@3.0.0
- concurrent-queue@2.5.0
- crossbeam-utils@0.8.21
- ctrlc@3.5.1
- dispatch2@0.3.0
- endi@1.1.1
- enumflags2@0.7.12
- enumflags2_derive@0.7.12
- equivalent@1.0.2
- errno@0.3.14
- event-listener-strategy@0.5.4
- event-listener@5.4.1
- fastrand@2.3.0
- futures-core@0.3.31
- futures-io@0.3.31
- futures-lite@2.6.1
- futures-sink@0.3.31
- getrandom@0.3.4
- hashbrown@0.16.1
- heck@0.5.0
- hermit-abi@0.5.2
- hex@0.4.3
- indexmap@2.12.1
- is_terminal_polyfill@1.70.2
- js-sys@0.3.83
- libc@0.2.178
- linux-raw-sys@0.11.0
- log@0.4.29
- memchr@2.7.6
- memoffset@0.9.1
- mio@1.1.0
- nix@0.30.1
- ntapi@0.4.1
- objc2-core-foundation@0.3.2
- objc2-encode@4.1.0
- objc2-io-kit@0.3.2
- objc2@0.6.3
- once_cell@1.21.3
- once_cell_polyfill@1.70.2
- ordered-stream@0.2.0
- parking@2.2.1
- pin-project-lite@0.2.16
- piper@0.2.4
- polling@3.11.0
- proc-macro-crate@3.4.0
- proc-macro2@1.0.103
- quote@1.0.42
- r-efi@5.3.0
- rustix@1.1.2
- rustversion@1.0.22
- serde@1.0.228
- serde_core@1.0.228
- serde_derive@1.0.228
- serde_repr@0.1.20
- serde_spanned@1.0.3
- signal-hook-registry@1.4.7
- slab@0.4.11
- socket2@0.6.1
- static_assertions@1.1.0
- strsim@0.11.1
- syn@2.0.111
- sysinfo@0.37.2
- tempfile@3.23.0
- terminal_size@0.4.3
- tokio-macros@2.6.0
- tokio-util@0.7.17
- tokio@1.48.0
- toml@0.9.8
- toml_datetime@0.7.3
- toml_edit@0.23.7
- toml_parser@1.0.4
- toml_writer@1.0.4
- tracing-attributes@0.1.31
- tracing-core@0.1.35
- tracing@0.1.43
- uds_windows@1.1.0
- unicase@2.8.1
- unicode-ident@1.0.22
- unicode-width@0.2.2
- utf8parse@0.2.2
- uuid@1.19.0
- wasi@0.11.1+wasi-snapshot-preview1
- wasip2@1.0.1+wasi-0.2.4
- wasm-bindgen-macro-support@0.2.106
- wasm-bindgen-macro@0.2.106
- wasm-bindgen-shared@0.2.106
- wasm-bindgen@0.2.106
- winapi-i686-pc-windows-gnu@0.4.0
- winapi-x86_64-pc-windows-gnu@0.4.0
- winapi@0.3.9
- windows-collections@0.2.0
- windows-core@0.61.2
- windows-future@0.2.1
- windows-implement@0.60.2
- windows-interface@0.59.3
- windows-link@0.1.3
- windows-link@0.2.1
- windows-numerics@0.2.0
- windows-result@0.3.4
- windows-strings@0.4.2
- windows-sys@0.59.0
- windows-sys@0.60.2
- windows-sys@0.61.2
- windows-targets@0.52.6
- windows-targets@0.53.5
- windows-threading@0.1.0
- windows@0.61.3
- windows_aarch64_gnullvm@0.52.6
- windows_aarch64_gnullvm@0.53.1
- windows_aarch64_msvc@0.52.6
- windows_aarch64_msvc@0.53.1
- windows_i686_gnu@0.52.6
- windows_i686_gnu@0.53.1
- windows_i686_gnullvm@0.52.6
- windows_i686_gnullvm@0.53.1
- windows_i686_msvc@0.52.6
- windows_i686_msvc@0.53.1
- windows_x86_64_gnu@0.52.6
- windows_x86_64_gnu@0.53.1
- windows_x86_64_gnullvm@0.52.6
- windows_x86_64_gnullvm@0.53.1
- windows_x86_64_msvc@0.52.6
- windows_x86_64_msvc@0.53.1
- winnow@0.7.14
- wit-bindgen@0.46.0
- zbus@5.12.0
- zbus_macros@5.12.0
- zbus_names@4.2.0
- zbus_polkit@5.0.0
- zvariant@5.8.0
- zvariant_derive@5.8.0
- zvariant_utils@3.2.1
-"
-
-inherit cargo systemd
-
-DESCRIPTION="DBUS on-demand loader of sched-ext schedulers"
-HOMEPAGE="https://github.com/sched-ext/scx-loader"
-SRC_URI="
- https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+=" MIT MPL-2.0 Unicode-3.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="~sys-kernel/scx-${PV}"
-
-QA_PREBUILT="
- usr/bin/scx_loader
- usr/bin/scxctl
-"
-
-src_install() {
- einstalldocs
- newdoc crates/scx_loader/README.md scx_loader.md
- newdoc crates/scxctl/README.md scxctl.md
-
- cargo_src_install --path crates/scx_loader
- cargo_src_install --path crates/scxctl
-
- newinitd "${FILESDIR}"/scx_loader.initd scx_loader
- systemd_dounit services/scx_loader.service
-
- insinto /usr/share/dbus-1/system/
- doins services/org.scx.Loader.service
-
- insinto /usr/share/dbus-1/system.d/
- doins configs/org.scx.Loader.conf
-
- insinto /usr/share/dbus-1/interfaces/
- doins configs/org.scx.Loader.xml
-
- insinto /usr/share/polkit-1/actions/
- doins configs/org.scx.Loader.policy
-
- insinto /etc/scx_loader/
- newins configs/scx_loader.toml config.toml
-}
diff --git a/sys-kernel/scx-loader/scx-loader-1.0.20.ebuild b/sys-kernel/scx-loader/scx-loader-1.0.20.ebuild
deleted file mode 100644
index 6c660598bce4..000000000000
--- a/sys-kernel/scx-loader/scx-loader-1.0.20.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 2025-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.88"
-CRATES="
- anstream@0.6.21
- anstyle-parse@0.2.7
- anstyle-query@1.1.5
- anstyle-wincon@3.0.11
- anstyle@1.0.13
- anyhow@1.0.101
- async-broadcast@0.7.2
- async-channel@2.5.0
- async-executor@1.13.3
- async-io@2.6.0
- async-lock@3.4.2
- async-process@2.5.0
- async-recursion@1.1.1
- async-signal@0.2.13
- async-task@4.7.1
- async-trait@0.1.89
- atomic-waker@1.1.2
- autocfg@1.5.0
- bitflags@2.10.0
- block2@0.6.2
- blocking@1.6.2
- bumpalo@3.19.1
- bytes@1.11.1
- cfg-if@1.0.4
- cfg_aliases@0.2.1
- clap@4.5.57
- clap_builder@4.5.57
- clap_derive@4.5.55
- clap_lex@0.7.7
- colorchoice@1.0.4
- colored@3.1.1
- concurrent-queue@2.5.0
- crossbeam-utils@0.8.21
- ctrlc@3.5.1
- dispatch2@0.3.0
- endi@1.1.1
- enumflags2@0.7.12
- enumflags2_derive@0.7.12
- equivalent@1.0.2
- errno@0.3.14
- event-listener-strategy@0.5.4
- event-listener@5.4.1
- fastrand@2.3.0
- futures-core@0.3.31
- futures-io@0.3.31
- futures-lite@2.6.1
- futures-sink@0.3.31
- getrandom@0.3.4
- hashbrown@0.16.1
- heck@0.5.0
- hermit-abi@0.5.2
- hex@0.4.3
- indexmap@2.13.0
- is_terminal_polyfill@1.70.2
- js-sys@0.3.85
- libc@0.2.180
- linux-raw-sys@0.11.0
- log@0.4.29
- memchr@2.8.0
- memoffset@0.9.1
- mio@1.1.1
- nix@0.30.1
- nix@0.31.1
- ntapi@0.4.2
- objc2-core-foundation@0.3.1
- objc2-encode@4.1.0
- objc2-io-kit@0.3.1
- objc2@0.6.3
- once_cell@1.21.3
- once_cell_polyfill@1.70.2
- ordered-stream@0.2.0
- parking@2.2.1
- pin-project-lite@0.2.16
- piper@0.2.4
- polling@3.11.0
- proc-macro-crate@3.4.0
- proc-macro2@1.0.106
- quote@1.0.44
- r-efi@5.3.0
- rustix@1.1.3
- rustversion@1.0.22
- serde@1.0.228
- serde_core@1.0.228
- serde_derive@1.0.228
- serde_repr@0.1.20
- serde_spanned@1.0.4
- signal-hook-registry@1.4.8
- slab@0.4.12
- socket2@0.6.2
- static_assertions@1.1.0
- strsim@0.11.1
- syn@2.0.114
- sysinfo@0.38.1
- tempfile@3.24.0
- terminal_size@0.4.3
- tokio-macros@2.6.0
- tokio-util@0.7.18
- tokio@1.49.0
- toml@0.9.11+spec-1.1.0
- toml_datetime@0.7.5+spec-1.1.0
- toml_edit@0.23.10+spec-1.0.0
- toml_parser@1.0.6+spec-1.1.0
- toml_writer@1.0.6+spec-1.1.0
- tracing-attributes@0.1.31
- tracing-core@0.1.36
- tracing@0.1.44
- uds_windows@1.1.0
- unicase@2.9.0
- unicode-ident@1.0.22
- unicode-width@0.2.2
- utf8parse@0.2.2
- uuid@1.20.0
- wasi@0.11.1+wasi-snapshot-preview1
- wasip2@1.0.2+wasi-0.2.9
- wasm-bindgen-macro-support@0.2.108
- wasm-bindgen-macro@0.2.108
- wasm-bindgen-shared@0.2.108
- wasm-bindgen@0.2.108
- winapi-i686-pc-windows-gnu@0.4.0
- winapi-x86_64-pc-windows-gnu@0.4.0
- winapi@0.3.9
- windows-collections@0.3.2
- windows-core@0.62.2
- windows-future@0.3.2
- windows-implement@0.60.2
- windows-interface@0.59.3
- windows-link@0.2.1
- windows-numerics@0.3.1
- windows-result@0.4.1
- windows-strings@0.5.1
- windows-sys@0.60.2
- windows-sys@0.61.2
- windows-targets@0.53.5
- windows-threading@0.2.1
- windows@0.62.2
- windows_aarch64_gnullvm@0.53.1
- windows_aarch64_msvc@0.53.1
- windows_i686_gnu@0.53.1
- windows_i686_gnullvm@0.53.1
- windows_i686_msvc@0.53.1
- windows_x86_64_gnu@0.53.1
- windows_x86_64_gnullvm@0.53.1
- windows_x86_64_msvc@0.53.1
- winnow@0.7.14
- wit-bindgen@0.51.0
- zbus@5.13.2
- zbus_macros@5.13.2
- zbus_names@4.3.1
- zbus_polkit@5.0.0
- zvariant@5.9.2
- zvariant_derive@5.9.2
- zvariant_utils@3.3.0
-"
-
-inherit cargo systemd
-
-DESCRIPTION="DBUS on-demand loader of sched-ext schedulers"
-HOMEPAGE="https://github.com/sched-ext/scx-loader"
-SRC_URI="
- https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+=" MIT MPL-2.0 Unicode-3.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="~sys-kernel/scx-${PV}"
-
-QA_PREBUILT="
- usr/bin/scx_loader
- usr/bin/scxctl
-"
-
-src_install() {
- einstalldocs
- newdoc crates/scx_loader/README.md scx_loader.md
- newdoc crates/scxctl/README.md scxctl.md
-
- cargo_src_install --path crates/scx_loader
- cargo_src_install --path crates/scxctl
-
- newinitd "${FILESDIR}"/scx_loader.initd scx_loader
- systemd_dounit services/scx_loader.service
-
- insinto /usr/share/dbus-1/system/
- doins services/org.scx.Loader.service
-
- insinto /usr/share/dbus-1/system.d/
- doins configs/org.scx.Loader.conf
-
- insinto /usr/share/dbus-1/interfaces/
- doins configs/org.scx.Loader.xml
-
- insinto /usr/share/polkit-1/actions/
- doins configs/org.scx.Loader.policy
-
- insinto /etc/scx_loader/
- newins configs/scx_loader.toml config.toml
-}
diff --git a/sys-kernel/scx-loader/scx-loader-1.1.0.ebuild b/sys-kernel/scx-loader/scx-loader-1.1.0.ebuild
deleted file mode 100644
index 9d784c08b42d..000000000000
--- a/sys-kernel/scx-loader/scx-loader-1.1.0.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 2025-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.88"
-CRATES="
- anstream@0.6.21
- anstyle-parse@0.2.7
- anstyle-query@1.1.5
- anstyle-wincon@3.0.11
- anstyle@1.0.13
- anyhow@1.0.102
- async-broadcast@0.7.2
- async-channel@2.5.0
- async-executor@1.14.0
- async-io@2.6.0
- async-lock@3.4.2
- async-process@2.5.0
- async-recursion@1.1.1
- async-signal@0.2.13
- async-task@4.7.1
- async-trait@0.1.89
- atomic-waker@1.1.2
- autocfg@1.5.0
- bitflags@2.11.0
- block2@0.6.2
- blocking@1.6.2
- bumpalo@3.20.2
- bytes@1.11.1
- cfg-if@1.0.4
- cfg_aliases@0.2.1
- clap@4.5.60
- clap_builder@4.5.60
- clap_derive@4.5.55
- clap_lex@1.0.0
- colorchoice@1.0.4
- colored@3.1.1
- concurrent-queue@2.5.0
- crossbeam-utils@0.8.21
- ctrlc@3.5.2
- dispatch2@0.3.1
- endi@1.1.1
- enumflags2@0.7.12
- enumflags2_derive@0.7.12
- equivalent@1.0.2
- errno@0.3.14
- event-listener-strategy@0.5.4
- event-listener@5.4.1
- fastrand@2.3.0
- foldhash@0.1.5
- futures-core@0.3.32
- futures-io@0.3.32
- futures-lite@2.6.1
- futures-sink@0.3.32
- getrandom@0.4.2
- hashbrown@0.15.5
- hashbrown@0.16.1
- heck@0.5.0
- hermit-abi@0.5.2
- hex@0.4.3
- id-arena@2.3.0
- indexmap@2.13.0
- is_terminal_polyfill@1.70.2
- itoa@1.0.17
- js-sys@0.3.91
- leb128fmt@0.1.0
- libc@0.2.182
- linux-raw-sys@0.12.1
- log@0.4.29
- memchr@2.8.0
- memoffset@0.9.1
- mio@1.1.1
- nix@0.31.2
- ntapi@0.4.3
- objc2-core-foundation@0.3.1
- objc2-encode@4.1.0
- objc2-io-kit@0.3.1
- objc2@0.6.4
- once_cell@1.21.3
- once_cell_polyfill@1.70.2
- ordered-stream@0.2.0
- parking@2.2.1
- pin-project-lite@0.2.17
- piper@0.2.5
- polling@3.11.0
- prettyplease@0.2.37
- proc-macro-crate@3.5.0
- proc-macro2@1.0.106
- quote@1.0.45
- r-efi@6.0.0
- rustix@1.1.4
- rustversion@1.0.22
- semver@1.0.27
- serde@1.0.228
- serde_core@1.0.228
- serde_derive@1.0.228
- serde_json@1.0.149
- serde_repr@0.1.20
- serde_spanned@1.0.4
- signal-hook-registry@1.4.8
- slab@0.4.12
- socket2@0.6.3
- static_assertions@1.1.0
- strsim@0.11.1
- syn@2.0.117
- sysinfo@0.38.3
- tempfile@3.26.0
- terminal_size@0.4.3
- tokio-macros@2.6.1
- tokio-util@0.7.18
- tokio@1.50.0
- toml@1.0.6+spec-1.1.0
- toml_datetime@1.0.0+spec-1.1.0
- toml_edit@0.25.4+spec-1.1.0
- toml_parser@1.0.9+spec-1.1.0
- toml_writer@1.0.6+spec-1.1.0
- tracing-attributes@0.1.31
- tracing-core@0.1.36
- tracing@0.1.44
- uds_windows@1.2.0
- unicase@2.9.0
- unicode-ident@1.0.24
- unicode-width@0.2.2
- unicode-xid@0.2.6
- utf8parse@0.2.2
- uuid@1.22.0
- wasi@0.11.1+wasi-snapshot-preview1
- wasip2@1.0.2+wasi-0.2.9
- wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
- wasm-bindgen-macro-support@0.2.114
- wasm-bindgen-macro@0.2.114
- wasm-bindgen-shared@0.2.114
- wasm-bindgen@0.2.114
- wasm-encoder@0.244.0
- wasm-metadata@0.244.0
- wasmparser@0.244.0
- winapi-i686-pc-windows-gnu@0.4.0
- winapi-x86_64-pc-windows-gnu@0.4.0
- winapi@0.3.9
- windows-collections@0.3.2
- windows-core@0.62.2
- windows-future@0.3.2
- windows-implement@0.60.2
- windows-interface@0.59.3
- windows-link@0.2.1
- windows-numerics@0.3.1
- windows-result@0.4.1
- windows-strings@0.5.1
- windows-sys@0.60.2
- windows-sys@0.61.2
- windows-targets@0.53.5
- windows-threading@0.2.1
- windows@0.62.2
- windows_aarch64_gnullvm@0.53.1
- windows_aarch64_msvc@0.53.1
- windows_i686_gnu@0.53.1
- windows_i686_gnullvm@0.53.1
- windows_i686_msvc@0.53.1
- windows_x86_64_gnu@0.53.1
- windows_x86_64_gnullvm@0.53.1
- windows_x86_64_msvc@0.53.1
- winnow@0.7.15
- wit-bindgen-core@0.51.0
- wit-bindgen-rust-macro@0.51.0
- wit-bindgen-rust@0.51.0
- wit-bindgen@0.51.0
- wit-component@0.244.0
- wit-parser@0.244.0
- zbus@5.14.0
- zbus_macros@5.14.0
- zbus_names@4.3.1
- zbus_polkit@5.0.0
- zmij@1.0.21
- zvariant@5.10.0
- zvariant_derive@5.10.0
- zvariant_utils@3.3.0
-"
-
-inherit cargo systemd
-
-DESCRIPTION="DBUS on-demand loader of sched-ext schedulers"
-HOMEPAGE="https://github.com/sched-ext/scx-loader"
-SRC_URI="
- https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+=" MIT MPL-2.0 Unicode-3.0 ZLIB"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="~sys-kernel/scx-${PV}"
-
-QA_PREBUILT="
- usr/bin/scx_loader
- usr/bin/scxctl
-"
-
-src_install() {
- einstalldocs
- newdoc crates/scx_loader/README.md scx_loader.md
- newdoc crates/scxctl/README.md scxctl.md
-
- cargo_src_install --path crates/scx_loader
- cargo_src_install --path crates/scxctl
-
- newinitd "${FILESDIR}"/scx_loader.initd scx_loader
- systemd_dounit services/scx_loader.service
-
- insinto /usr/share/dbus-1/system/
- doins services/org.scx.Loader.service
-
- insinto /usr/share/dbus-1/system.d/
- doins configs/org.scx.Loader.conf
-
- insinto /usr/share/dbus-1/interfaces/
- doins configs/org.scx.Loader.xml
-
- insinto /usr/share/polkit-1/actions/
- doins configs/org.scx.Loader.policy
-
- insinto /etc/scx_loader/
- newins configs/scx_loader.toml config.toml
-}
diff --git a/sys-kernel/scx-loader/scx-loader-1.1.1.ebuild b/sys-kernel/scx-loader/scx-loader-1.1.1.ebuild
deleted file mode 100644
index 0b142c267680..000000000000
--- a/sys-kernel/scx-loader/scx-loader-1.1.1.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 2025-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.95"
-CRATES="
- anstream@1.0.0
- anstyle-parse@1.0.0
- anstyle-query@1.1.5
- anstyle-wincon@3.0.11
- anstyle@1.0.14
- anyhow@1.0.102
- async-broadcast@0.7.2
- async-channel@2.5.0
- async-executor@1.14.0
- async-io@2.6.0
- async-lock@3.4.2
- async-process@2.5.0
- async-recursion@1.1.1
- async-signal@0.2.14
- async-task@4.7.1
- async-trait@0.1.89
- atomic-waker@1.1.2
- autocfg@1.5.0
- bitflags@2.11.1
- block2@0.6.2
- blocking@1.6.2
- bumpalo@3.20.2
- bytes@1.11.1
- cfg-if@1.0.4
- cfg_aliases@0.2.1
- clap@4.6.1
- clap_builder@4.6.0
- clap_derive@4.6.1
- clap_lex@1.1.0
- colorchoice@1.0.5
- colored@3.1.1
- concurrent-queue@2.5.0
- crossbeam-utils@0.8.21
- ctrlc@3.5.2
- dispatch2@0.3.1
- endi@1.1.1
- enumflags2@0.7.12
- enumflags2_derive@0.7.12
- equivalent@1.0.2
- errno@0.3.14
- event-listener-strategy@0.5.4
- event-listener@5.4.1
- fastrand@2.4.1
- foldhash@0.1.5
- futures-core@0.3.32
- futures-io@0.3.32
- futures-lite@2.6.1
- futures-sink@0.3.32
- getrandom@0.4.2
- hashbrown@0.15.5
- hashbrown@0.17.1
- heck@0.5.0
- hermit-abi@0.5.2
- hex@0.4.3
- id-arena@2.3.0
- indexmap@2.14.0
- is_terminal_polyfill@1.70.2
- itoa@1.0.18
- js-sys@0.3.95
- leb128fmt@0.1.0
- libc@0.2.186
- linux-raw-sys@0.12.1
- log@0.4.29
- memchr@2.8.0
- memoffset@0.9.1
- mio@1.2.0
- nix@0.31.3
- ntapi@0.4.3
- objc2-core-foundation@0.3.2
- objc2-encode@4.1.0
- objc2-foundation@0.3.2
- objc2-io-kit@0.3.2
- objc2-open-directory@0.3.2
- objc2@0.6.4
- once_cell@1.21.4
- once_cell_polyfill@1.70.2
- ordered-stream@0.2.0
- parking@2.2.1
- pin-project-lite@0.2.17
- piper@0.2.5
- polling@3.11.0
- prettyplease@0.2.37
- proc-macro-crate@3.5.0
- proc-macro2@1.0.106
- quote@1.0.45
- r-efi@6.0.0
- rustix@1.1.4
- rustversion@1.0.22
- semver@1.0.28
- serde@1.0.228
- serde_core@1.0.228
- serde_derive@1.0.228
- serde_json@1.0.149
- serde_repr@0.1.20
- serde_spanned@1.1.1
- signal-hook-registry@1.4.8
- slab@0.4.12
- socket2@0.6.3
- static_assertions@1.1.0
- strsim@0.11.1
- syn@2.0.117
- sysinfo@0.39.2
- tempfile@3.27.0
- terminal_size@0.4.3
- tokio-macros@2.7.0
- tokio-util@0.7.18
- tokio@1.52.3
- toml@1.1.2+spec-1.1.0
- toml_datetime@1.1.1+spec-1.1.0
- toml_edit@0.25.11+spec-1.1.0
- toml_parser@1.1.2+spec-1.1.0
- toml_writer@1.1.1+spec-1.1.0
- tracing-attributes@0.1.31
- tracing-core@0.1.36
- tracing@0.1.44
- uds_windows@1.2.1
- unicase@2.9.0
- unicode-ident@1.0.24
- unicode-width@0.2.2
- unicode-xid@0.2.6
- utf8parse@0.2.2
- uuid@1.23.1
- wasi@0.11.1+wasi-snapshot-preview1
- wasip2@1.0.3+wasi-0.2.9
- wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
- wasm-bindgen-macro-support@0.2.118
- wasm-bindgen-macro@0.2.118
- wasm-bindgen-shared@0.2.118
- wasm-bindgen@0.2.118
- wasm-encoder@0.244.0
- wasm-metadata@0.244.0
- wasmparser@0.244.0
- winapi-i686-pc-windows-gnu@0.4.0
- winapi-x86_64-pc-windows-gnu@0.4.0
- winapi@0.3.9
- windows-collections@0.3.2
- windows-core@0.62.2
- windows-future@0.3.2
- windows-implement@0.60.2
- windows-interface@0.59.3
- windows-link@0.2.1
- windows-numerics@0.3.1
- windows-result@0.4.1
- windows-strings@0.5.1
- windows-sys@0.60.2
- windows-sys@0.61.2
- windows-targets@0.53.5
- windows-threading@0.2.1
- windows@0.62.2
- windows_aarch64_gnullvm@0.53.1
- windows_aarch64_msvc@0.53.1
- windows_i686_gnu@0.53.1
- windows_i686_gnullvm@0.53.1
- windows_i686_msvc@0.53.1
- windows_x86_64_gnu@0.53.1
- windows_x86_64_gnullvm@0.53.1
- windows_x86_64_msvc@0.53.1
- winnow@1.0.3
- wit-bindgen-core@0.51.0
- wit-bindgen-rust-macro@0.51.0
- wit-bindgen-rust@0.51.0
- wit-bindgen@0.51.0
- wit-bindgen@0.57.1
- wit-component@0.244.0
- wit-parser@0.244.0
- zbus@5.15.0
- zbus_macros@5.15.0
- zbus_names@4.3.2
- zbus_polkit@5.0.0
- zmij@1.0.21
- zvariant@5.11.0
- zvariant_derive@5.11.0
- zvariant_utils@3.3.1
-"
-
-inherit cargo systemd
-
-DESCRIPTION="DBUS on-demand loader of sched-ext schedulers"
-HOMEPAGE="https://github.com/sched-ext/scx-loader"
-SRC_URI="
- https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+=" MIT MPL-2.0 Unicode-3.0 ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="~sys-kernel/scx-${PV}"
-
-QA_PREBUILT="
- usr/bin/scx_loader
- usr/bin/scxctl
-"
-
-src_install() {
- einstalldocs
- newdoc crates/scx_loader/README.md scx_loader.md
- newdoc crates/scxctl/README.md scxctl.md
-
- cargo_src_install --path crates/scx_loader
- cargo_src_install --path crates/scxctl
-
- newinitd "${FILESDIR}"/scx_loader.initd scx_loader
- systemd_dounit services/scx_loader.service
-
- insinto /usr/share/dbus-1/system/
- doins services/org.scx.Loader.service
-
- insinto /usr/share/dbus-1/system.d/
- doins configs/org.scx.Loader.conf
-
- insinto /usr/share/dbus-1/interfaces/
- doins configs/org.scx.Loader.xml
-
- insinto /usr/share/polkit-1/actions/
- doins configs/org.scx.Loader.policy
-
- insinto /etc/scx_loader/
- newins configs/scx_loader.toml config.toml
-}
diff --git a/sys-kernel/scx/Manifest b/sys-kernel/scx/Manifest
deleted file mode 100644
index 4801fe29fce7..000000000000
--- a/sys-kernel/scx/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-DIST scx-1.0.16-crates.tar.xz 50792600 BLAKE2B 3091319dbe1b1e36e30e098e092ed842c97ead64d3dfca0c057d8ec16081ded864c05bc070950856c272a07c2954c93642c1258b4a5d2b25e0ea4c95ef9d5c08 SHA512 407b6ab026f76e43cbf6d8431d1105c36a595d71076430d185ccc0178f13e66b654db49fc98ca459f13b519941bedd6b699e71864ce6165e977c6c4a374ecaa2
-DIST scx-1.0.16.tar.gz 8503783 BLAKE2B bd1a82277c8da8f197096319e1b6bbe9af7ad6a9b98fd9f691a2615c619668d195ef535889ab7ea89982d99b8c68739e0af64d1bb79fa9eb191e2d46efcf7d57 SHA512 e3412875364716fa805b156082a65568ccf917d9113477c0f21ec79130d2a3a2d5baaea4a49cf5d0fca3f66943c896ef3fc3f0a6d4528c9c8d418c220fae8267
-DIST scx-1.0.19-crates.tar.xz 51509808 BLAKE2B 7025ccded4293b54373f6487f4d001df2d7a2877da633abf4dab7255ce4a03ba9514f810dbdb4c6003713ad138fef3b055e126df8d91e295541745f299f921dc SHA512 aedd2598e9bd12fbeb04efe8cee043a6d0fb9217135306bec80fcd0ddc3568fef20fb74d2a44f5c723018fe148a8e5d1ea3b6febcfa3bc3d411c4fda02666407
-DIST scx-1.0.19.tar.gz 8269630 BLAKE2B 539929aa123d3a40d70de8e1802be724e02db925a8163f74f6318113c738ffd722be878a7d7f33af1725a8efe39a2db99d787215992a699fc2755d8aaf79a34f SHA512 dd7b6e958fb7c341cca29710cc50e9ea07a9d8ee20533bab154371d069b0226f7c1899ad8f4f5ec8b970779c17dcd53143cf1fb04e4aa40229c642a554982b8f
-DIST scx-1.0.20-crates.tar.xz 51514256 BLAKE2B c0a771ed6e25aca5d2da074578f6edf65965bef981e58c8bb666c941d3934d480975bf94690ed2f41ed01bd3828ec8aa761e82c03c3cb9c1bd34922865f57000 SHA512 24d73d9ccdbc64912d52c17e6ad849ff0978c943b7a491f68c54d0933c8b161352f0b8a314329e32fa6d317dba14e3c1f17f76cbf39b597a5606a23728b1e6db
-DIST scx-1.0.20.tar.gz 8333225 BLAKE2B 94278f7afde9df29279beb9fb0381bcadb6a008d0b537c3c0a964c184f019aa7d4017c376dcc535275fbcc9a1a4b01d9753880312a6f041b7ddc1398865e6866 SHA512 d5b9af8c2c6adab02feea164bb4aa492e1cdf0501183473208c0d02528a3b4b31e6d3e67df523e7558433cc566cacecfee2f58509edb2521dee71dfe18e81952
-DIST scx-1.1.0-crates.tar.xz 59959892 BLAKE2B 8449501c813fac890308a2f16fce2e34737c2216b150decb253b593bb9c76a2fa68e04798cf4999c8dbb02cde51aa7443c53d912d3087383dd8a0e4c6ae6cb3c SHA512 4030d28f2ba59c598e1e2d6a4b1666f5c0095e9b0efba2bbe2b4a839a4060ddf89839b47433dbf2fb435a3b679415577d42769dd50ab7091cf33cfe73aa8e2c7
-DIST scx-1.1.0.tar.gz 8512325 BLAKE2B cd2a0eebf635f0b73d06ac48c7689035ad2116c5ffd44b1cb4ad94882fd000a18eb6c459e5f69e87f70c38fbb328390e66beae093fcf026e7628daba303afbd5 SHA512 74255487c16457e0ff67a4d46aa5d042c0994ecda8bc9855a443034214045b1df0cc4468b9cd2cde90c17b57f5b45a19cf77b2bb6eb92668f4a27f1e74587a88
-DIST scx-1.1.1-crates.tar.xz 57570832 BLAKE2B 1fdfb79cb96999e7130283660b49b9c09e9fb66642cc6c0a21947340fd0fca5455a4b48b999f7ffc5263946ffd8de0013f14a15b6bc0d01e4386c28bcaf8eba4 SHA512 ef74c17fa586b461879a2fa177542d870542c69c13e86f5ba7d3f1925a13c73c7f2e4229999f463ca9653e0e07a885114a983400f86e846b43944d45694e00e2
-DIST scx-1.1.1.tar.gz 12169813 BLAKE2B 12442a4a71bef5a377a76649c2a23ee76c2af56e64f7058c37beb9490444ee06837541ace7012460855008709a6d0d3e9eee236e5020a93aa9f79931b48bc62b SHA512 7598fca26c74bd23e2670295bbfba380876882953f7487091624d9d8df45db0c47d8c83ba1903091d4c4d9143624e9c18f02ab4151f17e9073a88a90f4382aa3
diff --git a/sys-kernel/scx/files/scx-1.1.0-scx_cake-musl-fix.patch b/sys-kernel/scx/files/scx-1.1.0-scx_cake-musl-fix.patch
deleted file mode 100644
index 0b44f30261f9..000000000000
--- a/sys-kernel/scx/files/scx-1.1.0-scx_cake-musl-fix.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From f0553197d9ccc721c1e8cc7680a0fad7b66105ca Mon Sep 17 00:00:00 2001
-From: Violet Purcell <vimproved@inventati.org>
-Date: Mon, 9 Mar 2026 19:09:58 -0400
-Subject: [PATCH] scx_cake: fix build on musl
-
-This is fixed upstream but signifcant refactoring has taken place since,
-so this is a quick fix for 1.1.0.
---- a/scheds/rust/scx_cake/src/calibrate.rs
-+++ b/scheds/rust/scx_cake/src/calibrate.rs
-@@ -84,7 +84,22 @@ fn measure_pair(cpu_a: usize, cpu_b: usize, config: &EtdConfig) -> Option<Vec<f6
-
- // Set real-time priority to minimize preemption jitter
- unsafe {
-+ #[cfg(target_env = "gnu")]
- let param = libc::sched_param { sched_priority: 99 };
-+ #[cfg(target_env = "musl")]
-+ let param = libc::sched_param {
-+ sched_priority: 99,
-+ sched_ss_low_priority: 0,
-+ sched_ss_repl_period: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_init_budget: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_max_repl: 0,
-+ };
- libc::sched_setscheduler(0, libc::SCHED_FIFO, &param);
- }
-
-@@ -116,7 +131,22 @@ fn measure_pair(cpu_a: usize, cpu_b: usize, config: &EtdConfig) -> Option<Vec<f6
-
- // Reset to normal priority before thread exit
- unsafe {
-+ #[cfg(target_env = "gnu")]
- let param = libc::sched_param { sched_priority: 0 };
-+ #[cfg(target_env = "musl")]
-+ let param = libc::sched_param {
-+ sched_priority: 0,
-+ sched_ss_low_priority: 0,
-+ sched_ss_repl_period: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_init_budget: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_max_repl: 0,
-+ };
- libc::sched_setscheduler(0, libc::SCHED_OTHER, &param);
- }
- });
-@@ -130,7 +160,22 @@ fn measure_pair(cpu_a: usize, cpu_b: usize, config: &EtdConfig) -> Option<Vec<f6
-
- // Set real-time priority to minimize preemption jitter
- unsafe {
-+ #[cfg(target_env = "gnu")]
- let param = libc::sched_param { sched_priority: 99 };
-+ #[cfg(target_env = "musl")]
-+ let param = libc::sched_param {
-+ sched_priority: 99,
-+ sched_ss_low_priority: 0,
-+ sched_ss_repl_period: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_init_budget: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_max_repl: 0,
-+ };
- libc::sched_setscheduler(0, libc::SCHED_FIFO, &param);
- }
-
-@@ -173,7 +218,22 @@ fn measure_pair(cpu_a: usize, cpu_b: usize, config: &EtdConfig) -> Option<Vec<f6
-
- // Reset to normal priority before thread exit
- unsafe {
-+ #[cfg(target_env = "gnu")]
- let param = libc::sched_param { sched_priority: 0 };
-+ #[cfg(target_env = "musl")]
-+ let param = libc::sched_param {
-+ sched_priority: 0,
-+ sched_ss_low_priority: 0,
-+ sched_ss_repl_period: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_init_budget: libc::timespec {
-+ tv_sec: 0,
-+ tv_nsec: 0,
-+ },
-+ sched_ss_max_repl: 0,
-+ };
- libc::sched_setscheduler(0, libc::SCHED_OTHER, &param);
- }
-
---
-2.53.0
-
diff --git a/sys-kernel/scx/files/scx_loader.initd b/sys-kernel/scx/files/scx_loader.initd
deleted file mode 100644
index 11a926f70251..000000000000
--- a/sys-kernel/scx/files/scx_loader.initd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-supervisor=supervise-daemon
-
-name="scx_loader service"
-description="Loader service for sched_ext schedulers"
-command=/usr/bin/scx_loader
-command_args="${scx_loader_args}"
diff --git a/sys-kernel/scx/metadata.xml b/sys-kernel/scx/metadata.xml
deleted file mode 100644
index 850d15ef0304..000000000000
--- a/sys-kernel/scx/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>vi@vimproved.dev</email>
- <name>Violet Purcell</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <maintainer type="person">
- <name>Florian Schmaus</name>
- <email>flow@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">sched-ext/scx</remote-id>
- <changelog>https://github.com/sched-ext/scx/releases</changelog>
- <bugs-to>https://github.com/sched-ext/scx/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/scx/scx-1.0.16.ebuild b/sys-kernel/scx/scx-1.0.16.ebuild
deleted file mode 100644
index adf260ff1233..000000000000
--- a/sys-kernel/scx/scx-1.0.16.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..20} )
-
-RUST_MIN_VER="1.82.0"
-
-inherit eapi9-ver llvm-r2 linux-info cargo rust-toolchain toolchain-funcs meson
-
-DESCRIPTION="sched_ext schedulers and tools"
-HOMEPAGE="https://github.com/sched-ext/scx"
-SRC_URI="
- https://github.com/sched-ext/scx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/gentoo-crate-dist/scx/releases/download/v${PV}/scx-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="systemd"
-
-DEPEND="
- virtual/libelf:=
- sys-libs/libseccomp
- virtual/zlib:=
- >=dev-libs/libbpf-1.6:=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- app-misc/jq
- dev-libs/protobuf[protoc(+)]
- >=dev-util/bpftool-7.5.0
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}=[llvm_targets_BPF(-)]
- ')
-"
-
-CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_SYSCALL
- ~DEBUG_INFO_BTF
- ~FTRACE
- ~SCHED_CLASS_EXT
-"
-
-QA_PREBUILT="
- /usr/bin/scx_loader
- /usr/bin/vmlinux_docify
- /usr/bin/scxctl
-"
-
-pkg_setup() {
- linux-info_pkg_setup
- llvm-r2_pkg_setup
- rust_pkg_setup
-}
-
-src_prepare() {
- default
-
- if tc-is-cross-compiler; then
- # Inject the rust_abi value into install_rust_user_scheds
- sed -i "s;\${MESON_BUILD_ROOT};\${MESON_BUILD_ROOT}/$(rust_abi);" \
- meson-scripts/install_rust_user_scheds || die
- fi
-}
-
-src_configure() {
- BUILD_DIR="${BUILD_DIR:-${WORKDIR}/${P}-build}"
-
- local emesonargs=(
- -Dbpf_clang="$(get_llvm_prefix)/bin/clang"
- -Dbpftool=disabled
- -Dlibbpf_a=disabled
- -Dcargo="${EPREFIX}/usr/bin/cargo"
- -Dcargo_home="${ECARGO_HOME}"
- -Doffline=true
- -Denable_rust=true
- -Dopenrc=disabled
- $(meson_feature systemd)
- )
-
- cargo_env meson_src_configure
-}
-
-src_compile() {
- cargo_env meson_src_compile
-}
-
-src_test() {
- cargo_env meson_src_test
-}
-
-src_install() {
- cargo_env meson_src_install
-
- dodoc README.md
-
- local readme readme_name
- for readme in scheds/{rust,c}/*/README.md ./rust/*/README.md; do
- [[ -e ${readme} ]] || continue
- readme_name="${readme#*/rust/}"
- readme_name="${readme_name#*/c/}"
- readme_name="${readme_name%/README.md}"
- newdoc "${readme}" "${readme_name}.md"
- done
-
- newinitd services/openrc/scx.initrd scx
- insinto /etc/default
- doins services/scx
- dosym ../default/scx /etc/conf.d/scx
-
- newinitd "${FILESDIR}/scx_loader.initd" scx_loader
- insinto /etc/scx_loader/
- newins services/scx_loader.toml config.toml
-}
-
-pkg_postinst() {
- if ver_replacing -lt 1.0.16; then
- ewarn "Starting in 1.0.16, the scx service is being replaced with scx_loader."
- ewarn "To transition to the new service, first edit"
- ewarn "${EPREFIX}/etc/scx_loader/config.toml with your preferred"
- ewarn "configuration, then disable the legacy scx service and enable the new"
- ewarn "scx_loader service:"
- ewarn
- ewarn "For openrc users:"
- ewarn " rc-service scx stop"
- ewarn " rc-update del scx default"
- ewarn " rc-service scx_loader start"
- ewarn " rc-update add scx_loader default"
- ewarn
- ewarn "For systemd users:"
- ewarn " systemctl disable --now scx"
- ewarn " systemctl enable --now scx_loader"
- ewarn
- ewarn "For more info, see:"
- ewarn "https://wiki.cachyos.org/configuration/sched-ext/#transitioning-from-scxservice-to-scx_loader-a-comprehensive-guide"
- fi
-}
diff --git a/sys-kernel/scx/scx-1.0.19.ebuild b/sys-kernel/scx/scx-1.0.19.ebuild
deleted file mode 100644
index 337b676bdecc..000000000000
--- a/sys-kernel/scx/scx-1.0.19.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..21} )
-
-RUST_MIN_VER="1.86.0"
-
-inherit cargo llvm-r2 linux-info
-
-DESCRIPTION="sched_ext schedulers and tools"
-HOMEPAGE="https://github.com/sched-ext/scx"
-SRC_URI="
- https://github.com/sched-ext/scx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/gentoo-crate-dist/scx/releases/download/v${PV}/scx-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64"
-
-DEPEND="
- >=dev-libs/libbpf-1.6:=
- sys-libs/libseccomp
- virtual/libelf:=
- virtual/zlib:=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- app-misc/jq
- dev-libs/protobuf[protoc(+)]
- >=dev-util/bpftool-7.5.0
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}=[llvm_targets_BPF(-)]
- ')
-"
-PDEPEND="~sys-kernel/scx-loader-${PV}"
-
-CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_SYSCALL
- ~DEBUG_INFO_BTF
- ~FTRACE
- ~KALLSYMS_ALL
- ~SCHED_CLASS_EXT
-"
-
-QA_PREBUILT="/usr/bin/vmlinux_docify"
-
-pkg_setup() {
- linux-info_pkg_setup
- llvm-r2_pkg_setup
- rust_pkg_setup
-}
-
-src_compile() {
- einfo "Building rust schedulers"
- cargo_src_compile
-
- einfo "Building C schedulers"
- emake BPF_CLANG="$(get_llvm_prefix)/bin/clang"
-}
-
-src_install() {
- einfo "Installing rust schedulers"
- local sched
- for sched in scheds/rust/scx_*; do
- einfo "Installing ${sched#scheds/rust/}"
- dobin "target/$(usex debug debug release)/${sched#scheds/rust}"
- done
-
- einfo "Installing C schedulers"
- emake INSTALL_DIR="${ED}/usr/bin" install
-
- einfo "Installing tools"
- dobin target/$(usex debug debug release)/{scx{cash,top},vmlinux_docify}
-
- dodoc README.md
-
- local readme readme_name
- for readme in scheds/{rust,c}/*/README.md ./rust/*/README.md; do
- [[ -e ${readme} ]] || continue
- readme_name="${readme#*/rust/}"
- readme_name="${readme_name#*/c/}"
- readme_name="${readme_name%/README.md}"
- newdoc "${readme}" "${readme_name}.md"
- done
-}
diff --git a/sys-kernel/scx/scx-1.0.20.ebuild b/sys-kernel/scx/scx-1.0.20.ebuild
deleted file mode 100644
index 3942c7e01cb4..000000000000
--- a/sys-kernel/scx/scx-1.0.20.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..21} )
-
-RUST_MIN_VER="1.86.0"
-
-inherit cargo llvm-r2 linux-info
-
-DESCRIPTION="sched_ext schedulers and tools"
-HOMEPAGE="https://github.com/sched-ext/scx"
-SRC_URI="
- https://github.com/sched-ext/scx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/gentoo-crate-dist/scx/releases/download/v${PV}/scx-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- >=dev-libs/libbpf-1.6:=
- sys-libs/libseccomp
- virtual/libelf:=
- virtual/zlib:=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- app-misc/jq
- dev-libs/protobuf[protoc(+)]
- >=dev-util/bpftool-7.5.0
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}=[llvm_targets_BPF(-)]
- ')
-"
-PDEPEND="~sys-kernel/scx-loader-${PV}"
-
-CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_SYSCALL
- ~DEBUG_INFO_BTF
- ~FTRACE
- ~SCHED_CLASS_EXT
-"
-
-QA_PREBUILT="/usr/bin/vmlinux_docify"
-
-pkg_setup() {
- linux-info_pkg_setup
- llvm-r2_pkg_setup
- rust_pkg_setup
-}
-
-src_compile() {
- einfo "Building rust schedulers"
- cargo_src_compile
-
- einfo "Building C schedulers"
- emake BPF_CLANG="$(get_llvm_prefix)/bin/clang"
-}
-
-src_install() {
- einfo "Installing rust schedulers"
- local sched
- for sched in scheds/rust/scx_*; do
- einfo "Installing ${sched#scheds/rust/}"
- dobin "target/$(usex debug debug release)/${sched#scheds/rust}"
- done
-
- einfo "Installing C schedulers"
- emake INSTALL_DIR="${ED}/usr/bin" install
-
- einfo "Installing tools"
- dobin target/$(usex debug debug release)/{scx{cash,top},vmlinux_docify}
-
- dodoc README.md
-
- local readme readme_name
- for readme in scheds/{rust,c}/*/README.md ./rust/*/README.md; do
- [[ -e ${readme} ]] || continue
- readme_name="${readme#*/rust/}"
- readme_name="${readme_name#*/c/}"
- readme_name="${readme_name%/README.md}"
- newdoc "${readme}" "${readme_name}.md"
- done
-}
diff --git a/sys-kernel/scx/scx-1.1.0.ebuild b/sys-kernel/scx/scx-1.1.0.ebuild
deleted file mode 100644
index c3ba49c9b66d..000000000000
--- a/sys-kernel/scx/scx-1.1.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..21} )
-
-RUST_MIN_VER="1.88.0"
-
-inherit cargo llvm-r2 linux-info
-
-DESCRIPTION="sched_ext schedulers and tools"
-HOMEPAGE="https://github.com/sched-ext/scx"
-SRC_URI="
- https://github.com/sched-ext/scx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/gentoo-crate-dist/scx/releases/download/v${PV}/scx-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64"
-
-DEPEND="
- >=dev-libs/libbpf-1.6:=
- sys-libs/libseccomp
- virtual/libelf:=
- virtual/zlib:=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- app-misc/jq
- dev-libs/protobuf[protoc(+)]
- >=dev-util/bpftool-7.5.0
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}=[llvm_targets_BPF(-)]
- ')
-"
-PDEPEND="~sys-kernel/scx-loader-${PV}"
-
-CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_JIT_ALWAYS_ON
- ~BPF_JIT_DEFAULT_ON
- ~BPF_SYSCALL
- ~DEBUG_INFO_BTF
- ~FTRACE
- ~KALLSYMS_ALL
- ~SCHED_CLASS_EXT
-"
-
-QA_PREBUILT="/usr/bin/vmlinux_docify"
-
-PATCHES=(
- # Made obsolete by rebasing upstream, can be dropped in 1.1.1
- "${FILESDIR}/${P}-scx_cake-musl-fix.patch"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- llvm-r2_pkg_setup
- rust_pkg_setup
-}
-
-src_compile() {
- local -x BPF_CLANG=clang-${LLVM_SLOT}
- cargo_src_compile
-}
-
-src_test() {
- # Skip broken tests in scx_mitosis and scx_utils
- # Upstream: https://github.com/sched-ext/scx/issues/3418
- cargo_src_test -- \
- --skip cell_manager::tests::test_borrowable_cpumasks_respects_cpuset \
- --skip cell_manager::tests::test_cpuset_parsing_from_file \
- --skip cell_manager::tests::test_deficit_all_cells_exceed_target \
- --skip cell_manager::tests::test_symmetric_pairwise_overlap_produces_equal_cells \
- --skip cpumask::tests::test_to_cpulist_roundtrip
-}
-
-src_install() {
- einfo "Installing schedulers"
- local sched
- for sched in scheds/rust/scx_*; do
- einfo "Installing ${sched#scheds/rust/}"
- dobin "target/$(usex debug debug release)/${sched#scheds/rust}"
- done
-
- einfo "Installing tools"
- dobin target/$(usex debug debug release)/{scx{cash,top},vmlinux_docify}
-
- dodoc README.md
-
- local readme readme_name
- for readme in scheds/rust/*/README.md ./rust/*/README.md; do
- [[ -e ${readme} ]] || continue
- readme_name="${readme#*/rust/}"
- readme_name="${readme_name%/README.md}"
- newdoc "${readme}" "${readme_name}.md"
- done
-}
diff --git a/sys-kernel/scx/scx-1.1.1.ebuild b/sys-kernel/scx/scx-1.1.1.ebuild
deleted file mode 100644
index 09e6a71f0f1c..000000000000
--- a/sys-kernel/scx/scx-1.1.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.88.0"
-
-inherit cargo linux-info
-
-DESCRIPTION="sched_ext schedulers and tools"
-HOMEPAGE="https://github.com/sched-ext/scx"
-SRC_URI="
- https://github.com/sched-ext/scx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/gentoo-crate-dist/scx/releases/download/v${PV}/scx-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- >=dev-libs/libbpf-1.6:=
- sys-libs/libseccomp
- virtual/libelf:=
- virtual/zlib:=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- app-misc/jq
- dev-libs/protobuf[protoc(+)]
- >=dev-util/bpftool-7.5.0
- >=llvm-core/clang-17[llvm_targets_BPF(-)]
-"
-PDEPEND="~sys-kernel/scx-loader-${PV}"
-
-CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_JIT_ALWAYS_ON
- ~BPF_JIT_DEFAULT_ON
- ~BPF_SYSCALL
- ~DEBUG_INFO_BTF
- ~FTRACE
- ~KALLSYMS_ALL
- ~SCHED_CLASS_EXT
-"
-
-QA_PREBUILT="/usr/bin/vmlinux_docify"
-
-pkg_setup() {
- linux-info_pkg_setup
- rust_pkg_setup
-}
-
-src_test() {
- # Skip broken tests in scx_mitosis and scx_utils
- # Upstream: https://github.com/sched-ext/scx/issues/3418
- cargo_src_test -- \
- --skip cell_manager::tests::test_borrowable_cpumasks_respects_cpuset \
- --skip cell_manager::tests::test_cpuset_parsing_from_file \
- --skip cell_manager::tests::test_deficit_all_cells_exceed_target \
- --skip cell_manager::tests::test_symmetric_pairwise_overlap_produces_equal_cells \
- --skip cpumask::tests::test_to_cpulist_roundtrip
-}
-
-src_install() {
- einfo "Installing schedulers"
- local sched
- for sched in scheds/rust/scx_*; do
- einfo "Installing ${sched#scheds/rust/}"
- dobin "target/$(usex debug debug release)/${sched#scheds/rust}"
- done
-
- einfo "Installing tools"
- dobin target/$(usex debug debug release)/{scx{cash,top},vmlinux_docify}
-
- dodoc README.md
-
- local readme readme_name
- for readme in scheds/rust/*/README.md ./rust/*/README.md; do
- [[ -e ${readme} ]] || continue
- readme_name="${readme#*/rust/}"
- readme_name="${readme_name%/README.md}"
- newdoc "${readme}" "${readme_name}.md"
- done
-}
diff --git a/sys-kernel/udev-hid-bpf/Manifest b/sys-kernel/udev-hid-bpf/Manifest
deleted file mode 100644
index bca761f34e26..000000000000
--- a/sys-kernel/udev-hid-bpf/Manifest
+++ /dev/null
@@ -1,119 +0,0 @@
-DIST aho-corasick-1.1.3.crate 183311 BLAKE2B 8dfcbba0b9d94e55eae739b16f5c6474baa43ee7854c5ca792f426a9f46fb0eece79cd493b804e51449181bcad338b96819fe977c02c9907654d713e26b9f830 SHA512 ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69
-DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e SHA512 b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
-DIST anstream-0.6.20.crate 28797 BLAKE2B 7eb5e05c8810b49f739d779057e8716baa818565f3d2e41dfef750594b64e7e82f630cd558ec367de03a31e002bd3a7a39d5c6b45719cefe5dbd1da69e0fbc7b SHA512 73b6e8e6da61233521c7bb1ab639da2e70bad08602fd10fc7d6b595392a61de35e7f5cf9fa7fcd6e66cc2a3800afff9d75e1da1b0bb64d5733e01d472aeae31d
-DIST anstyle-1.0.13.crate 17651 BLAKE2B 026d4163f4bc8d1677d0830dbe46fd335d18e50420d2d809a675609c1e020f7e3c5e69b8d0a7baf5f42fa2321b6230c619a93aaf8e02ceaef638f8006dbf479b SHA512 1a92c4bf6ff7262c0f5fe72ff66eaf11f0c84e84a06746767918903c0416ba5d33ac54ff9a2c6cde37e26bb2287675d3f0a8a7efa95eb013c9be388b8139661e
-DIST anstyle-parse-0.2.7.crate 21707 BLAKE2B 41d51d4c026e548a9428f5fd8dc85fce964e3f1cf709820dd53d216af3065a4ee069de8c5bcec5eae19b99172f60e89034a2ded6bc787f3ea4159d5d30de3984 SHA512 3e0920594dfa15f16dd308d0da81d784e6a5d6fd7a3b12cc1512fb625369ea7b4550df549e3be961906e2d3105f72ecb86b89dd6f5817c2c982929ea26d605fa
-DIST anstyle-query-1.1.4.crate 10192 BLAKE2B c5672d2982bef5702f5d592bea8b4336df3f24edad35656873accb4491c0b6f323189c6721a7f722e6aae31ea8c183a93e3d59a123dc1c150ad1c85640906e40 SHA512 b94c550b865d17c15b2ff1a41da4f7aaf3a5c0694b2188c7238cae8212d8390f759381a3ae5598c13396a728aed8bffd4e32fe06da51af0ba92c334124d26641
-DIST anstyle-wincon-3.0.10.crate 12558 BLAKE2B eddfdfd0bf8ec9520319c3bc54d627be3ecc4d931181e629f5ae4f1352a1662476060a25639f390825405691ef22befbc6f1b51d79047690fadbc90993b9ff5d SHA512 bee4e8a76185a359e6f6c0cca11ca322a8ff6eb92a1659986bbb2287c5e198f3e9cf3e48c9d980b18fa012b5d52f97cd017770736be27e550cf61be553982c8c
-DIST anyhow-1.0.100.crate 54059 BLAKE2B 3089cd4bac1a3ede11c5849fabf12735392ba2910f5d5c1117cbbc9fe2491855745879690522988ac343e210783f8d885f13593b4d0f3a3816b9a8c35ef2eb7d SHA512 1f0c072aab9490d68db3783f078c6f8a4d96360908fc6ee3e971b02fb72b9dd5e689dd385f0e93388a87e0dfbd8cff0e14a280b40d55f87646f3c0e558e779ca
-DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
-DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08
-DIST bitflags-2.9.4.crate 47950 BLAKE2B b880246b54377ef161c54a811f09ced975d1f2049400c1bbba944712b8ef8b9ea79599d2354cc2a9ccd4c1b1329faad78738ed4e051735b14b642a9451ce68ae SHA512 a832e01985551db9d700ba177bb2ffe436e78e3bdcf7b2d8e86fc7cb885674d5656fce05bffb5a4cbe0df7b015dcfa6df8dbc1351c097d2c3a3dac199d3f37b1
-DIST bumpalo-3.19.0.crate 96414 BLAKE2B f8c155f77cf977d72749f3cb943a6b171dfc4f67135da345a935ba603f2b52b5feafbba908b31feff391128196c7b0088f6f62d5b37bc4d2277fc0fb9c560b54 SHA512 58db27a643c55adae07061100e3604dad0056bacd42ce1142bcc34249645e9313e886c3174a755593544684fcc632f134f9c6066752ac695254fb9ecd40878cf
-DIST camino-1.2.1.crate 41364 BLAKE2B 8908f90c3217e64e502e13be81ea6949ce2bbc3554d16e767481271388f390b93f6ef798fcaea1cbfa77c5d9fc9591767e5dfadb0b094f49f87116d48341e425 SHA512 baeba86b21f4b720f09ad65fbaa39f9ec32662577844647bc0d63482a1bf2d6c9cf04a997d7452d65d4edbd94185cf5c6b93aac274c6d3b4c0b29ff498af5df4
-DIST cargo-platform-0.1.9.crate 12010 BLAKE2B e178d5a444c6536f0c95f497bdfbb13cadd0d58d55bfae76008bcadc2a042044f432a232f657cb1fdc91b7af4d197cc44bc0cd7a41c9cca6c5da085409ab49d1 SHA512 05cf4c18ed6f3a1193a4567a48f1f3c832ae85faa7487a4e087e5dd8499eabd36c862d8e58af5443933b87aa8becc258011ebbecb2247f8a75067c8ac018676a
-DIST cargo_metadata-0.15.4.crate 19993 BLAKE2B 33bb182a4fbf453be323cd657e0927d7ae8f4cada172c482d96ba959155aa0bd5fc392d4e0a6d4a869456be5de8756c92a4ee0642d60db992aca6d8adadb8f0a SHA512 dae54e7d21642a12fe967d832769f2310a18903a0a46694dd441974f037d8a53e148bae2668a177478b91629c5da736ce56aca3e140d442267ff0bc65bb984a0
-DIST cc-1.2.39.crate 90774 BLAKE2B 03c02839a1e464a32a6a6e532e1c7505d7c062facbfa3bfb0e69070d336922e247da8a63876e90f5f31c3c13085500fbf6a0736609db6c840d889e281d345892 SHA512 73f580f1bc1cab96a54a86025957cd846f7a3629f43b3b51b81e336a10cbbe81be6936afcef42118ad9b85184bf3b4dac2c151a62018f75b6b517ff294827954
-DIST cfg-if-1.0.3.crate 8719 BLAKE2B 5cd0ac122110740895b45cdf8e0f738f2de1882d5a06c696d08e906765e4ddcd72a866dcc115da52d9fece205c9ad15dc25ad98dff36b32517012a7586e986ee SHA512 afe424a191c2aaaffec3d114e0116d0324d12117aeb22df78e47ad6752444bc5acb074ab0a174476b71e584a37743f9dcc2b0e8036d590fcc5afc7c55f86122b
-DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
-DIST chrono-0.4.42.crate 238174 BLAKE2B da67b970d4bff78a7d4910ad4cef4a8b6177ff2a2a507e24d540d173dca492fad220d09dba96eff8c75cce3e066c490207f8cf769da84ac456870dcec20dad58 SHA512 776b4b127c1a07ddce587aad341fa1022cebaa90ad667064809b3f83fc33aa355c811d7df445d6aae405265660deba9d8514d909391e47ea26d968bd4f24becf
-DIST clap-4.5.48.crate 61935 BLAKE2B 938e544a2aca0b071857e320cee118f3ce92e30c566278fa4bf9707033a7f2bc900aa8b775bee2784c13ae3ebca9c90072b4533a1c91caed0ac75b55363a3fed SHA512 7b46da97596dbb18dc6262ca9fef964427e96e6b79f939a8d15c7bc1424680587ede1b245fe9b57bc7848e1c917fabb4bff366f72e9279429be2517fa50c87e3
-DIST clap_builder-4.5.48.crate 170133 BLAKE2B ea1edd1bc980131616217e65db04e188e5e844613cc3e900d50233c924d77c3b6bf93a7f0fbb48ecb4f1e0bb5c9b2e01d4566ba7815ad8245ab1134b63a4cd31 SHA512 20a10f29f4887d476d9cd8ec7fb730502dffccaf416ba788ad2d8fc15a8318525811a8b14ee6abf0368adc5af7e93cda233103211e82e2e2232c840771b96840
-DIST clap_derive-4.5.47.crate 33550 BLAKE2B f61d71ef014f79723ca6e85b1c44a4db97102f163d9d3540234d34eeccede38dfd4061343e588cac379b50493a06063f1e0a85ff6d3754a56d444d7569d3c4b3 SHA512 eee2bd3c6f06fa45f733feed8b3daaaf67c2a6fa9b9d8c75b30072e3722dc20ee7e20700a8a33bf6bedd4064c12d1a5cc950c03ef5c957fb2b6dbf4ad618dcca
-DIST clap_lex-0.7.5.crate 13469 BLAKE2B b14d273b3be318a22e93ca922b90e54a980c7a11f8f89f735e59a289c07be9e6652f052ac10158a3c2d8d8233f15198773dd98f40eb3d226cd4dab8255d44c0d SHA512 bfcd632128e64f5414737f335dd3c5a62b3317e23d15472a1bfd617abf146c4c2c9c22e990b934adc1f8918359ff6fef09217c9f3436fa024a33bdb48d4a24e0
-DIST colorchoice-1.0.4.crate 8196 BLAKE2B be97be7d875cdd09cdf3f2594f0e7ed80601de62bc907ff70053317b9d48e889b3fd2fa0da5e6a681fcf80b24be5e16089289e3dbdb68255b486c18c517c55f1 SHA512 0bc6e55c3909e7bcfdf198d5d68ed8b588b82a72f53aaa41efeecf9dae2d31e6c172a7ba922e000fd7cdf6373c13371a98e7da08e6988fdcfbf20782dda8e4e5
-DIST core-foundation-sys-0.8.7.crate 37712 BLAKE2B 0e1dd99a5bbb0fe92f55181a37426f6e86445cb20e355f553b3162c88ccc075644461731a0cdcd93dcca65b6cef1de62b409afbd73ba3070a199ab8e7422dcfa SHA512 17492d5314db03abdb3b1998bf0c396ec8ed0f83bc978ae22d6026afdc86c50b58cbac073b3a0d97b92da7e98be11302faf1249d24313494bc058add4f4cb63a
-DIST errno-0.3.14.crate 12002 BLAKE2B 57fd842a717086ffdcfa5102a8c52bf8210672820366d78aadb6f159055917477e6771e9fbda88787278bf3a116bc7253dcb705b601e54038a93a1820c3c287a SHA512 1de95c9806323d63e7cc95111e67b3ba1ee4b9d47b70cec33485194574d6b584d22ff877dfbc244317822721291d537d9509ae5e46f1b45169cb478a78322366
-DIST fastrand-2.3.0.crate 15076 BLAKE2B 15c9a1c4f64d94c4bfd38ae139c6fe19b6b621a495c1b57209edd6d76d978eaf018ba77f356b5086c3f462a6de044fb5e3b172fc288309569911a17ec39951bc SHA512 267fecbb7459c8840f03425733d278dd6c4e7637b85b99552877117ed5e8015e094d86aa95841f77064136b7f382276c3cb2c2bef7b2881d272f4aa57c5cf947
-DIST find-msvc-tools-0.1.2.crate 30461 BLAKE2B 66623bcb6fb43aeed869066f9a51eeb7f21e6ab5f0a7d0d71b9d2a0dc01b66e48691644751c0b0145f537cff8694f96d046bbb835b7c57a626f7bce638a5d457 SHA512 e3a9f209991feae92d123124a60ab1987243fbf432a80eafab161f6b83c819b0a348451db6c332fff81f19009e8ec2627eb3b46967be3f1ff507b06251f273e2
-DIST getrandom-0.3.3.crate 49493 BLAKE2B 17bf881c1ec8e70b263dad11fbb307484d7ff6a7bb6c0ed217730c0a766adb3a19e6633b28cff9eb7c1f9deea55a647ad53636533c392a5c39ac82e26623a18c SHA512 8188d8fab05e8bdb3918eea6fc6f89aaf3767f8350fa953aeadfcdf24a513bb4e0d464853a264939bf2fa17f95ebd4077b74d813d587a7368072c5d7748c4c5b
-DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
-DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a
-DIST iana-time-zone-0.1.64.crate 33152 BLAKE2B 4298a6fd124d7e164df21405448ae17f11e5d23be3eb40b2da27d36b432cd6583170b1bc31c5238160e4ae2cca9ca77ce19ca35392b7937ae26109dff9fa99e1 SHA512 f204818f8ce5e3098b12a7b99d0b6f29153983d5eb64170051f6a6b8120d00014fc91d3da7c9c7cdfa0e16a7ca6d0c6926e8ffdac28985c8d6158c78c40ff071
-DIST iana-time-zone-haiku-0.1.2.crate 7185 BLAKE2B 37fa14b589ff092377b9271c414d4e584c5a531f13f70ac48df26df3cc03353db635b4630ba192fc65b800cce11823e91b91f03dfad85e4bed55aa18398156cb SHA512 448224ecafa935472ff6f0aab7cb71f9dabdbe71569c4b94fcc65baea925ef48841577687c9a31106a1826c2105e8dd73c748e9d27fd002648e5b0ce838af6b2
-DIST is_terminal_polyfill-1.70.1.crate 7492 BLAKE2B fa663f858ab8e5fd56202d731b572bfdd4ab0e8262100424e27360a9ffd2820182bc57d6718a305ef82d04c3798111841c0d9f9dcfe219765c0f63edb560dc1e SHA512 4730fa09401cb4e69c92b38b2b43afd74699c61f5bd7b37605efbc0c08ca7a1318d43e4a844e46e0f84f83f42432f01e33771be2b18eb5977702ab9f894837e1
-DIST itoa-1.0.15.crate 11231 BLAKE2B 17c261baf95bff2f6cf0dbc33ab78ebbab0cf5dc56aeb7f8977377af868deb5957918f1763c2fe8c080e931489ea89ebcc16b3ebd976eeeb7663ff74989a1071 SHA512 158ca5dd4b04cb12d9292a4df63c72443adaf5aab1bd9aacdb964dc58878d847a64251f84897cb25c34648d4c973b44fef5b4c175d7c04cabc2c13b4631c2e42
-DIST js-sys-0.3.81.crate 56399 BLAKE2B b279d15b1b177e4617ba5b6509d35c41d077d458f4f30684fd211c652d7a1f0b4e3bba62a74842aaa1227f61b382f5729e9cbf4bf517c0d2fc9dbbb0e46a67e6 SHA512 c62b7ed89c6b82dad85c7950add67c352a92ad9b7dc759170a42291e62fc21b1dd2fe84214a893d6447b73b00762439b5f787f7d86e5fd7cb505c056e6be50c7
-DIST libbpf-cargo-0.24.8.crate 50893 BLAKE2B be1706b69494b5d27361dac5cc610cfd4a995ac77dfe79a37052a52359279c36685d7da1fe6677bcac316512a3a448ebe361f415ea30adf3066bb6e5f2391483 SHA512 c4e87559523fe1cf5024df16dac83b6d28ca9935da80446423798ac5b1f7ba1a77ffc07dbd3502e59ba80ff05f996ebf8ae7e09beef32e8af7a45f9b9b271a14
-DIST libbpf-rs-0.24.8.crate 94353 BLAKE2B 8bbfd877e328336c253fa6e475b634260a1a5e3689922bb13fd9728458b7360c9de6899ea28f6c6148f61baf07e87ac47879abc48a85df9872726b3b3670e33a SHA512 d50aaababd81834cfc4d840bb26f1c4cafdbd7418cdc80ee6008058cd0c19d3e0d7e7a6be139d24c9e2a00683484fbf9ec2b487956110d6724d87f16e05f6f6a
-DIST libbpf-rs-0.25.0.crate 111667 BLAKE2B 2ea08938296f3f2549506ac6ea32625ebcb9d20cd1e87e22c81223c8c190d1a0167ed10dd98c747317e1218b6de8f0aec13e482b06c79b613049442ff2ae44e5 SHA512 082d911874496dca760646e39e57c4034082ac576a0938c134a046562e9158909c6a3d1b812af832ade2dc7dead8840127a542fb469829ea80e53d1c03ffaad8
-DIST libbpf-sys-1.6.1+v1.6.1.crate 4315161 BLAKE2B c93039ff79c471224f7d69d1fd81ce384d7ae045f681d87dadd3ab7d5e80cf1247bffe2958f3bff5b96640e3ef1a248acc9f3d174c25f53e7c6aa3e5221cce3b SHA512 cedf6eecd4900d7c2c9196b7aea779f34789bf09d1d34b5f9cb5cc1a9c77c974c0a81621ce28035e776c73d4a61964239d60f0174fb731b595d6b1aae4a3df4f
-DIST libc-0.2.176.crate 790040 BLAKE2B 0c58e6c9a3ef8983ecb33917903ce021df7c249dc2b142805c47360418be7219277b8a02d04df7bdafdb1fb04ca21fb2e791cd625a8e696faff3b762cf0e0799 SHA512 e1c5acef0efd3ee6b0742e28d86ee74f9555745349de8ca5c2a64a823365948fe1f7c72a6b9ce6d4a251a67beb45b748cf575005b935bf0188903b49843e9192
-DIST libudev-sys-0.1.4.crate 6177 BLAKE2B c513b5cd68fc60a7a33ba281e4fc4f9a5896946aeb1fe31abb8af22d279c39c3d781fd34109f98fd010fe8aa817b9d91726887f0ee8bf0f66a3bf313b01c9ff3 SHA512 185bd84a729a5dda6fb274584c7a731652418da9435d844870a9d09662918c9230287f4ad002273599d0a3e9709a36ae06d59a6686dfba978fb7cd1c51bbc2c7
-DIST linux-raw-sys-0.11.0.crate 2659624 BLAKE2B 0852bb981c64b8e70c7037a3da13a6a16b7a89190bc50a07159d28a797e6d1ef2f2010383df5a43cda19fa291ee5eb4c6365a51f5d9fd31f204544ac7e115129 SHA512 b16261142f3cbd1caa4e0a17ba06dea49f0d4514f583ca511d9c7ba6ef231f18322f37303b7ffacc73ae7f22b81dfd740584ef7bfaf67a9eaf43859d2de1f941
-DIST log-0.4.28.crate 51131 BLAKE2B 2911509cabe6a69b60945e798f2afee934d865d21efa22d150288de6a27a797fe00ee4f249fc6f6d7a02e2efb7377d2a7188a8ed8cb692f76b94a0df56d74d83 SHA512 cea74c92c80f291360a7cdf022e3ce2f509b9051b415840ab2a159585384f3fe606289da00a6def0c3d666416c5fcda865e2ae4ad48df07618818e8486cd0209
-DIST memchr-2.7.6.crate 97616 BLAKE2B 3429786e97f1aa078892e417c8ed8198ec727969517309049b842e44097e58038583508aa974e6246888c18e11f9d23863c1bb012b542c5685250fe34e250d7b SHA512 38843817334da88ad74ce679b4401cf948cf8138815f3acc5eb0d005da3aabceb2216e20887e79344396569a2fa136e3aa1f7f3251a00d07dd6934cee79f4fad
-DIST memmap2-0.5.10.crate 26847 BLAKE2B 1cf50f710ffedcebade4f131b8c3103b036778b320da671305c0244077743c53da155d444bcc4d0eece294234bb6e86bffe67da67aaf12a116573c64ce0ebc50 SHA512 39bd2734ce4f16c7f5a5e771f9ef92272b26f511421d5f39dfd2aaca072400ee38f2cd38352005c0c8c359095131770ce1c14570790bfe19ce6a17f711deff8a
-DIST mio-0.8.11.crate 102983 BLAKE2B 913a8e0e4843b3b19cce3eeaaff0a0024eaf1bdb4784a710e54ee95b6631edbd763e37669ec7d269e45157907663dd2eb6c9279db850fa47ef4c1eee867ea24a SHA512 9a2806ea78b0637d0cf92448abcd50bc5d09bd80da0f37752c847bc98d014baae7a5cc4d929de98be6283c76d82ccab1f1467aa6ab583a4e782d97d5592b0bb1
-DIST nix-0.30.1.crate 342015 BLAKE2B efe5faaf142fbf8d97366d11f28189167d3d22c1ed76b65e7887064f2fd146ae27282aeb230eb798d7c1b3850ea1502bcb325dc23536800690f0be3d66d37b63 SHA512 80df8102a3a387d9cd73cd8d756b9fad5c4c4b57f6e94d9acfa24ee07af51f28ba2db70b8d37ddd6c7eae883c7acf9fc366a0100659856939210ffde1b124d87
-DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af9730c0296a2bb4ebd200c08facd49bc31bf8ddd58967e0df7273a938832b620265d9f8f4d26ad16049bf6dac1cb4e5 SHA512 180018a5eceb45085e4e8d103ff21bb4d5079cea874c42a0ad4c76c99d275d434bbc1cc289f0cdec172866daa89dbfe0871410b2cc3407233fe1129786905956
-DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990
-DIST once_cell_polyfill-1.70.1.crate 7510 BLAKE2B ca89c64ea6ed6037bbeef0a362b047073c33df36d1ad823ebd4ffec6f035111650f8fb3f90948af33a2ced71f925b234877dd9f539c1f9db65b6519dccfa86f8 SHA512 3b75e153221eb045708a864b2e27c0b115dfc07373dd7db166050262f3aa9afe8f9b0742c770e06c2c1939fcb45f690c6e8b480bf527bd8e050d748710fc1343
-DIST pkg-config-0.3.32.crate 21370 BLAKE2B 74ded191f066bc223739b3d4afec58f23de57566e7604e3dd62001d9a095a7b6a3633fdb01fdc46960c8134a694d6bf097d9ecec62b38c4f14acafbbabd6e893 SHA512 59569110185fa665f76a13e884a67ad1578c55246abacfc18cb9f037b2d2d9ec3f2078a3adfe5cc82a451892c9ad55f918ee01362a741f57dc9ff6846a4e32e5
-DIST proc-macro2-1.0.101.crate 53886 BLAKE2B db566c4fb6a197e0aa45cc074310853eaa24ceeafe9fb91f2014ba47cf6b1cbc34e4e9391456c946587540c8e270e1a37f5195cf03bd15ea5d4f171bba9772db SHA512 3171c807d24371da2931f9c706fb3129bb9bf3ac40418e5d14cfc372baf96e5fee9ede72091163858e3ba0b4f88594efa1031b0bb7128ca68e7b847dead6856c
-DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e
-DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad
-DIST regex-1.11.3.crate 163275 BLAKE2B a46ebf656ced6e349262900eb714b75e70e8dec66745723b200b76f0bf1b72aeb4c8104309d3312b84d946d52b1cccc7ec05bd3d31c918db9b565dbd9b4c8c4e SHA512 8a814d7d75fed7bc271409611e5491c2766c9c3781f8913152c956579e5cd278b26e08b3c1088890e7e70a352da1bc3d3765e5a6f1906d366dad6b5001ad68b2
-DIST regex-automata-0.4.11.crate 622880 BLAKE2B 13353ae363d139bd890c3a1f46f5169ee136f4b0ccb119fc297b8937acafb0126f421eb2e3c28ce69a8b5e2f9374a50649c5417c69a23ad2a1933bd4c9ee2f5c SHA512 676dff6e44efe92d8c384573a9047f670337e80f73c49715d61e85fa1d6ac4604933c5588204ca85efd7d14f4f24b0509cbd1da0c4137d8dff965103a7113ec2
-DIST regex-syntax-0.8.6.crate 358808 BLAKE2B 01d09ab5cbd0b8e0a875060cf3113e64552496a64b08f24988f5b88824f40fe3bebe4ae7ca3facead9079f9f49e964d745bcc691e6e65ef7795e2a9911d20007 SHA512 251239eec7e34b9eb0033521d64831a25da710dc388632168ad66d5f5de052674c63c4aacf23f7ebbafc6a5403eab009b7bb2cc05c11c41cb427bf3ae4f20e47
-DIST rustix-1.1.2.crate 422717 BLAKE2B 603a41f610c6a2be2ee170f6d35ce1683a50590d909ba5444c1777b9c00b584f4544868f4c4d3b2397ca8b77da2d8a40154ccc6f0f2f6affd2353aebfd6b4515 SHA512 4a5ebae0902c7ce683acf5c2a0ee62a4903ccdd7f147ab5b1a657ae6d4b468beca31a15c473f02bb2f9e81c2b07924c23b31ff860482a711808a774dfb5af5bf
-DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15
-DIST ryu-1.0.20.crate 48738 BLAKE2B b126085448cb58639a7b5867fe313dcaabaf19df478f67fcb6cf15b8e881a21e641878345e0bf1fea7d24b56b921e667fd26a39cb81fca7ea02585332068263f SHA512 329c581429d9b8baa7d9edd9cf20e23fb8002f339d9fb3d50ed4c7eb68fb19c1ba966d52a9c9602265ca5f59f2bd4393ddcb3a7ac20c64aee3096e137eb2a384
-DIST semver-1.0.27.crate 30081 BLAKE2B 760cd2994baba2ab8d63656b39f281304b309152cb3c576a0cf31ebf57294bdb6a10ad73e61f974688b0dd80490e0f4da004f3396cb6988bc90af8eee0961ed9 SHA512 8492a2ce5adf32cf6183d03509766f169b323a9376b061c9659a8752f69de5f45f7c64f474fa907fd9261fe3e9a7691a39c8a603d0c2e8d9484f5946bc27d78c
-DIST serde-1.0.228.crate 83652 BLAKE2B d1909d671ea6d5c2eb4ce34ee4493ecaf665d416111b4cac754b5d33b85f916296110bae7aa961efd987a2ceb4a31ba645752ce99dd28dedb9f1eecdd4d7b1b2 SHA512 9b645d6214203533b303fc5e88ad4f7686c22df084878d18a0209a92304a340fcb62fdde88a7080cf7a7348d47b9b363885c4e1da90dba08cc99ff620f375e97
-DIST serde_core-1.0.228.crate 63111 BLAKE2B 8a64e4627ad21a3d16dd37d53fb809d11171bf337ec16bb1223075cbf81b6b85cd1c8d19abadf42460d0fbea323e2f351eeb6ef823389d519121b74e68edb215 SHA512 43897e3a7ebdc85d81d1cb30cda8f0a11610f6f551529c8a21462c24fb83110652b462846aa3e1bed5fbf8b5d7927018845a524ee9e079e2c8acf2c687efd6c4
-DIST serde_derive-1.0.228.crate 59605 BLAKE2B 166ee2f9ff9f7a0928d0a65a72db3d9226c377bca2a1771956e8ecd9c7faf0544673c9c21be2a5553e621b55c74c7b958052592a1cf6eb6427a2d4f3e3dc6bb8 SHA512 8bfdfeee10ee7ef0670972aa963ef63b13e8eb2c8a09b9e0b717f92551aa89b3dd2a0dcbae6ccf20a1caece07e6adb18f0db56fdac020e4e0281b0d24e376003
-DIST serde_json-1.0.145.crate 155748 BLAKE2B fdb06251cf3a18f2f3685823585f4ac16f2f3b762e528e3f815168a6d7991d384eb140698f9f5c39c4ce04e17fbe062f3f9c07cfea9915415a7e1f9046b6a83e SHA512 e2054b7914e6cde0c58e952d9c129f7fe8c55981b74a9700cb282480688868ebedeb44281c1e3ccef2e2a04a9a18fbdafc8a4d43169f4d09ce905808e4e056be
-DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a
-DIST stderrlog-0.5.4.crate 24710 BLAKE2B 6e6e74d3a9c10881adbd92a9a77f65eef962054b24e6771cb30120f7a4facd011009c84f7b8251f02a38b58a0a7446d9d3fddfc37a0657dfdfdbd02b52de5edc SHA512 ff0073f1e039dbbd8671322732cbc55cb72a9012318dd8d20e156880deabdfe5fa67200eee7f878158fca673ef2e93ef43813a5647caaddda36288d23eec76ba
-DIST strsim-0.11.1.crate 14266 BLAKE2B 252a9ede4241b165525486aa8855dece37af77f5b28e0e1858c4a5d2047db9fa958328db10989234aad69463ab51b2303785ec056c63ea8c95bf95e111ddabf2 SHA512 0cebe0155a92640e56db9a599ae62078cbb32e1d2da8bfa67ed0e8f410a7558dfcf7b3c2720ff5913282e291ecf076aed9fe9bf84c8d44e814a642b1bed3335c
-DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c
-DIST tempfile-3.23.0.crate 43063 BLAKE2B f799368de517d83a5e42505438565c9d16217300d5c5f552e2789de4edcd493474d1d9a9e9cfdb88a776f26f403a89e0f436308b2ae7535d9b377b7c652f7cae SHA512 8e9f84400f714209eb713af5960d1de501c10520817299f0ba2fd53a7c5f0931b60d1053c2c84820aa627aa94bdefa1b0e82c787784b1960170930f0ed2d8753
-DIST termcolor-1.1.3.crate 17242 BLAKE2B 5aef69c0004081bd3cc4d531d13d63627cc02313868c0faab62358d13abfa7b4ba82f142c2801d25a6ae46ecbc8b7bdbeaa21c9105ea3b8950ab6a38cdb88513 SHA512 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a
-DIST thiserror-1.0.69.crate 22198 BLAKE2B fdd8ca8c8ca78702377d0bf7b253440519018275b105db980d63229d0d44aa5c39a703e14aa6fe453c779b3c864d8044009dfef893d2a5294950f067656d7a80 SHA512 ef50d2867d965da1dfb29d26faf6de273b5fadf78f95313f6caf44d68bfc610b9bd4b7544200b05bb0861231cfc84e961007f8db83c7905244c492037fd31899
-DIST thiserror-impl-1.0.69.crate 18365 BLAKE2B 51663251ea6ec99c59aec35fe73c5f9760809d6b6b7eaa8ecbc8f6939acdc4d0ebc11f9034d9204dde7bd689d5e8303ae0be86e298745e9ef96825bf73453a08 SHA512 579eb796c8885feb01d27638862823acd96c79440655bb444c3445ac00121852603396ce7439aed617c0a0ac69f62102167fde5845411c906997574a46d6d9e3
-DIST thread_local-1.1.9.crate 19315 BLAKE2B 31151ebc58e76753ef8c15a8b283a2b3a8f833aa4431ff1a28612d6a700088315839abe09a6d582ae0dab824978e2d2b67ec00e46cdbbb4c962fb72788b5368d SHA512 80fc2548bae302f22de10d8240d0701efd64cc41eb48b06234426d40f0e05716132e08a8bfe89e17754d61fee37d3359394cbef8e16af307dbfa76e1524de7d4
-DIST udev-0.7.0.crate 17980 BLAKE2B ef62bfc3bebdea9fbc30d8c0de6989b0310da2b7efa65345e991b5ac85d39578a5cc9bf97558786f09806c790eae4a99ca7be29d35b8793a92c71bed07a9b91a SHA512 87aa3182c028911b23c6820408879f901dd674ff6fe95c8382ecdec3d4da9f3e19dc03b2435c72e7cf299af083d5de9a6b83a84a75de4c2483c97ea9c1950393
-DIST udev-hid-bpf-2.2.0-20251121.tar.bz2 1131029 BLAKE2B ee75d182e49092adaf70b1c73ff7fc4f1590debc27a26997668337c0beb57379452544a6775d89ece1e40cfb6707f3be3825d72fc79d104f328deefa12a284f3 SHA512 70afb55ab7de3a5a9a23b38a628ae44fec96453d41f06508ee13553b13c3aaeb5ea15616e59ba3805148c2a80a05a5fd01d99e19963cb32d9d48f6a64a7a1676
-DIST unicode-ident-1.0.19.crate 47480 BLAKE2B d1b9d26833fcd1f3a8498abe2f4ba4202e4547315e48aa927c0f6e4a760c6c7000ff0c18d0cf45af362323c42843d745958c1b0419835f39e13dbc1559487026 SHA512 b17fcf6bffdb4745e0b1bf4983a0dcc4c84f8b4e2c2c618eefbbeae83f94ec75df87b55f9e2dede8c3b4c6e22107fcfc589475c0cbc2c58dfb8630db8d362183
-DIST utf8parse-0.2.2.crate 13499 BLAKE2B 095b5d219ab8ff04c06fd6303e03d913ae36a57845f0b2ca3217a40e31a54cb0fb5ecedbde165d28f5f60f1553d8252986d7098fa83befc84a7cb20bf3b76144 SHA512 f3dbf78fe924f1dc3cf9498b6e43fb10174699463f31091a7a8136d8f31ec84fc00e80e3d8551b7e86257e8b3573cfddb56fc0de797fdb2cde0e962a8f239266
-DIST vsprintf-2.0.0.crate 3043 BLAKE2B 78ac38ef0b2135c1e0c15f0d8a8da06d67323259e47fbaefd6b5c6ca4e451111d3bd30c01f270bd858fe9e60c087d945cb2fcf1840c811af7c79f33276d58608 SHA512 0db4b0a607eebe6592f26a96d832bbba0d3807ccd73472f2250c5e77b73b58439e876a961999e51796485609fbd1bcd89ca4e561c318fa86021285c495dfa0a1
-DIST wasi-0.11.1+wasi-snapshot-preview1.crate 28477 BLAKE2B bcc773ba28cbe8d820e9e9fbb275fb4451bc7f39b3bd88bcd93850bf2bdb5300489bd8eca27489ccc5f6269b00f4e1b505ae3a33a35d708cd5a414ad307be149 SHA512 29e3c903763db2580a15f50db487c5e1d4e90763e48d90a5b3f681e468a24f9df1a01773bd1ffa0e3cd293dd8cb4d6fbabfaa63c0e13889c811a56f4554ada49
-DIST wasi-0.14.7+wasi-0.2.4.crate 18219 BLAKE2B 10832cb1268305bda3ab6ed158190a910ba80cc15ebcea94d806d43164a1391852b374b8a50e46368856bfdb82a73c1124bfb99438864149c4e5243397eaf3c3 SHA512 e3983f4d3af346ef2926374be93d095a4d61128c4b65890da11aba9d51d8129f0984dc3c318cc712cd06d2931e2e54b5822883f4eca7918e6456b6741e0840e1
-DIST wasip2-1.0.1+wasi-0.2.4.crate 132087 BLAKE2B 9ae5188981d55ab0cfc52668cd822bedde6b03104990bcd070f459a39ef75699a792bfbd33766cdfae852147c2f3ea236aa1d1b792e85c56be21b74aee2232af SHA512 56b88f97224b6b9763f4d2572e986609fc86a98f597930b5cbc8095d4184a0279286c8c79f6ace19bb08ba08854a408a61004bdc6b2f3b72d4f3fcb5e43edceb
-DIST wasm-bindgen-0.2.104.crate 47345 BLAKE2B 36867eb3a9f872da20a511e3724f13a1c7b6fbff71c0a7d13d1b6380ebfcb4eb2eda9a8d30cc5306497c199d50343ea37445f71b9d9148e71e6cfd123dbd27f4 SHA512 1e6a3aa20c236becd7cd06748b08f3b6eeb59c3fa7b52a15ba0e5e2164ee04ca635c0af7fe3d12f12dda43af739d0df4bae586dac76e63d72176bcf1782986d3
-DIST wasm-bindgen-backend-0.2.104.crate 32230 BLAKE2B 50d1589b4a04e3807c8217e4707335227451dc9c7112675c5c5720830d82369f31f521748f39604e1f83c7af8676e8cf97ea599ae7c82f1ea095fa3560e52d74 SHA512 959c441e6e6b3391c880db9ec53e646b5ff249791107a6a3b87f0fd5288f91e92f26627a5420c47d205c73b047a8b2a10f35ea3d17cd0d3fead1a0b6d542ee08
-DIST wasm-bindgen-macro-0.2.104.crate 9390 BLAKE2B 5bc5251e0c3c7803967e0ec8ed6666a52f7cacdcc9cea55366f9cb9051d4f99361321d6fb7dbc77bc899148089c408c5a2774c36787b5053b22c5eac239e46ae SHA512 3387d5a8faf6829accc6f36011182446bad3ea7af1b514404036c7cc06a5bb78021e8f649a5d2b78b67f6ccfb3ffc05b86eab07575f2ddb783c3ab9aa8108a4a
-DIST wasm-bindgen-macro-support-0.2.104.crate 26411 BLAKE2B 0cc34516f3ffd4f5b72b56c184626a0099aa992c3787b7cd52c6e770c5f8c14c178f69983c7a696ef845306f22a93d14f55075ab0f8617971880dbc3fd774a77 SHA512 49b4ed12f09be6d22ef395a1c867d739b5a033cbcbeb308de879138da4f14f7e2de902ae55fabaaaad3a8688f2c05f5c6e7c885e6fbe453df6dcb05e03e326ac
-DIST wasm-bindgen-shared-0.2.104.crate 9057 BLAKE2B 970e017fb34c816e7827a175f5a252cf377fcc19fb15be93eafb830523b47df1eb0d9ec03565ec5086914f740818f7deb9a14edb7e7972c6fcb3319394598363 SHA512 ad994073722bd9c4ea955a77032fc5f3c9236446e1e7dad80b8a396be1deb7f1d1c4ba700fd2438c9d0a40c212c171e222dcb8a95235f3f48e42cfb76d721554
-DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
-DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
-DIST winapi-util-0.1.11.crate 13368 BLAKE2B 164f49c84952ece6e566a9a23f32ddf34e16f3930ff531f8d7527bcc18768c9a118cbee748ae6a753a172b4ce8d0f22108142382992b2918b442387ee5904545 SHA512 cc1511c004c2a81da4d7a0414973f09ab711033fbbadfd597f56df2cc6c99b3c1822f0b8de1952e78400a88462b9050acd85d2e4b36db72254049a2d6f725a01
-DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
-DIST windows-core-0.62.1.crate 36948 BLAKE2B d7cd38423d1198fb783bebf8c1950a7b65663deb06e52c1f294d6decc10bac96e6921d1b071519901b0c39a83734db8025f2d50627567ff42cc83fbd9311e790 SHA512 874d97b983907d143715a7c72defd2d9f89b63e494b0b5f4ab9cd37e4cdce7c1e3287b2fa6a301902ce222f0d1ced55534a81dd0de4b02c6802ca59ecdea38f2
-DIST windows-implement-0.60.1.crate 15257 BLAKE2B 298b4154079383b74d0b4659c1450c65a1e7b75c5027e061331320fe6a3ef86b5f39dd3834d33be802e31db71314c69f6b5e9ab7fd5d432017807baac741e340 SHA512 7a2527ce9c444825b3b03ae5dc1496242831dd6c97c728d2fe9c8993c67151ca606d243b6907fe9b8581949e1231b9086fdc88848fd64929efbf90e444e63e65
-DIST windows-interface-0.59.2.crate 11735 BLAKE2B 5b44d494382473a11ad3259efda1c7a5108f32d0b33102b98baf634ceda873d4cba7695a8f4706eeb255350324210424c235c801b57b1265b066dd27477fb6d8 SHA512 e15cd7bab9f2fa57b2342518745f1c9978df2d96ce840cd9bba294aa8ab0c1b46b2762beca41f67aac2bdd2982f53edb91ff50410930e7b886e8b859f55104fb
-DIST windows-link-0.2.0.crate 6170 BLAKE2B 91c6da1e49d59f7672be801c53610fbddab9e999de4e1af58659caae54bd1da316683ff441fcee9972317882e51951e53ce1d7ba0b487ab1f70bb40175866177 SHA512 f887136cf715419ed724651e1ee52845d6318e42d2c4a7159b1283f2a20f720c109291db54d9f63d222c7f9eaa51a90d08c6eba4f50459557b15260315b016a3
-DIST windows-result-0.4.0.crate 13420 BLAKE2B 6c4840824d2c673e3a4fd6a16a88195f5c17185dedb371c6090b1e874bd603b1b481a64b599e706acd5e1caad6b5720701b8f5d6633241362b54e702040c233c SHA512 9da473dfa5dece4493090a8149ae1c0408f5df9da273aef9dfa57ac49f0c63e7efa9a263ce7b33f28e39ada0d3fbc8033302008abcfd41f0b9b461a576a79d02
-DIST windows-strings-0.5.0.crate 13992 BLAKE2B 13249e5fde72e55eb6d3f1757fcfcbda28030823b3087f0adac58fb24e03b76b9beb26ca6eade12623aac80e4d52615efd610d9bd84fe0fc3d0661f850df26dc SHA512 b822bc463d4767a4bb79e52f40debda2e2bfdbe6f9006a7c4617177e406612ddf51cf97fd7460ed68050e9be671419f336cb32178e994e7ddaa68230c66bd518
-DIST windows-sys-0.48.0.crate 2628884 BLAKE2B 551e900de4f67187ef034b60df9fd0e0d8f82a3100ef28e1eabd543ac129d882dc86ffcc1714071aba09e4cb2ae2d2f07ace1a32b99fd989ce525cf05991edab SHA512 bdf534bcf3face31e9ebe11427a911a53f89f4ff5eaea8cccd094e139bfe14b2aec602b1cab1df774794d999477439d9adc6b627a8e33c20334fc348ba2c47ed
-DIST windows-sys-0.60.2.crate 2518479 BLAKE2B c2e2f614066e5a9d7ec461d9d25bd441188797ad85e1e923baeb0193e82f5c138ae7fb4ad0255d483f60f7a94e3f5cd8373d01b7485c052c9498937bc40da992 SHA512 a48aa1b66479451e431032737b63dc62eac6f63c251534e258de75bbee4858829faf5e641756566f00e153b08548ba32beb437b5ea42e9531e3fcbd8eb25209d
-DIST windows-sys-0.61.1.crate 2517255 BLAKE2B 208f858730f90834db4765c5645e9fbdfbf9a9aea939766c2ddcdea027901aca477e8274a9a91bcf7746bcd99ad9b77b96fbe94b778c91277007ec8afebdf58b SHA512 e60657b39045e36dadb6d087c866293c2ae2db9ae5f4044fa2d5c4d8b841ea4ba2f25af6742a7da41b7216556bcd5c38c32e8057e9c46484967e43d9adae5d73
-DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709
-DIST windows-targets-0.53.4.crate 7161 BLAKE2B 7dffd0e41b09bb48611eab682bbd4476f57e3ed6dbe6ae6ee0a3a0f39e1e35b5c5443216c967b570ccdc6c57905bbeced0ad27faa51e5cbbbed914710a36c375 SHA512 9d819e06005796cefa892adf5342ac4a6a638195ffd02687a5d3c5cba6486b9fe81519266d6451a8b5c5d0f8af82beb7b63aa59d030ec220c54d84fd85fddcb3
-DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996
-DIST windows_aarch64_gnullvm-0.53.0.crate 782443 BLAKE2B 64a74d4f10a60cfbd6cc02dfbb41ca9709abf56f49f74a6dfb4f4686bdc3d847d27eb92553c553c4ccbd39dd4f967bad1cba3c42a33a0e86fd8500284f260cd0 SHA512 185d1a63f3c00a4acd1a14701fd12ebcd715d6e709d6e40e6423e832fda0336463a8746f8eb5e3f81c9fbf26ed0de2332c04bd4d057c57ff67dd43e6a07fa9ac
-DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff
-DIST windows_aarch64_msvc-0.53.0.crate 834446 BLAKE2B cc3df33489a282fcce6d693dd14d4bd5a284279794fed9e717a37c9367e4b3b40c47981e70adbcf8b15cc9cc01aebb63cf90f4564bd4289c8ef8daf59fd6bb50 SHA512 32d56f60b2327e334552f7554e67adc042b3c8e79f6b69237d83fa28f768cbee232b1e783430dad1b437dbaf2d7e1f1ae5c53e2cacf3021b99498148ac964cb3
-DIST windows_i686_gnu-0.48.5.crate 844891 BLAKE2B fdc37cd74a4982056bf22fdb7b84e1c55dc838f3cb19ff3648730a77e673ef4ecc0380b3e4277bb8df2fcfa25f57b69014713d9e3ed27c28e19b25b3ea2ab774 SHA512 931ba5c1e4eb8ae73248e00d9611298d1c4b4b0dae719fdeb9243930cd420a103a7bc2738e0a4887c42c8f25728d6c5d64ad141dc092bc3f1d0f35dbe37d303a
-DIST windows_i686_gnu-0.53.0.crate 936973 BLAKE2B c64b15193a5263e871e1919ecdb49fbf5a94b3e5b8d96c547a9212733f3bd07096511cd6f6b129dd3566bfc263c17e909daf04925916cb4f6789c797926ea793 SHA512 676ec6ed73672e418913078d8bae9b74679db02a3b5bee9cc72c62452fb70d87f7dd1e2b2a7e4e6058f4bc536c15075f929c38c7261d7f47872099a397fb5ca3
-DIST windows_i686_gnullvm-0.53.0.crate 854056 BLAKE2B db81a346b516db01e7977137e11f79c0cf1df0763a5415b75c9f49972436c22ab77084f958b92a7cda3fa11bf2a764ee7bb6b2e6592889a895c278793a806ff6 SHA512 ec830a4c7b5d3be4948d788971f034c53e4bda7351ceb9aeb5a0af24868fe8c8383f96b1736de27832b113d2a679d5fa8764db2fe2db5942e25bccd036e96232
-DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1dffb925a1a78f456d683e4450d9f2fd287ad2e8494d65b2b770c677a12b3a60d10f0435e16c61880e3867c3657fd44892442 SHA512 70e2fb4fdb006a4cbd43ab2c7e940b277a15fb1790dfa2d1fc1f1fd18bead4886f6dc046e44326603e4894d988578917b8932aba5d9a6a4cc8424911cad9dc7e
-DIST windows_i686_msvc-0.53.0.crate 903450 BLAKE2B 0cb567d1b54ff979ad6549f1a17919510eecd62e028bc01ee3448ade18d08e684746023881f713e078ae5ca9d9e799cc4e6d15bea12f926463d291f46d6b3c85 SHA512 9f7f6df98e47895e0824dd70af7b6dd5017b65a6904f0b0c6cba8df59f8162489754c6437f87b281fc8c34da2557e21eb33c89ef505f1b3fbcf60f5152191342
-DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74
-DIST windows_x86_64_gnu-0.53.0.crate 902585 BLAKE2B f376f4ed30c1f82f567713f2fa03dd5fe5f8e78ea876d4d29e4b3a0fc52400d64cd6b971e06fb4607e5da15d6c4aba6a7a83841e2f178ffec73e70996f1ce052 SHA512 9856a67c32c9969100ff4f730047f92ecdf8a19e003553b3d9cbfd847f376a20c72a1202071a36f3640afbb6ff45f95c83579ce4a45a2b64485c980fc06b65ab
-DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa
-DIST windows_x86_64_gnullvm-0.53.0.crate 782434 BLAKE2B b82d7a41c771db81f2dbc6500616fec8f019f89cc0f3c43b45332ff8275dd0f7919cf0b6e0fd2d50aaa1cd7e381e7d20211414f619ca92b60a21fa2137c7f9b0 SHA512 bd3777209b4cee092134c21298859d5974b29b70fd0d2882ae704b58a34413022de944f6254d8948fc87b4dbe1044b08ddc6a82b9d1a48b33d33509454318e7f
-DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0
-DIST windows_x86_64_msvc-0.53.0.crate 834400 BLAKE2B b5a06459571c6ac31fdb94d64f66f83ad71fa039ba04e07b62259ca66211662e703dc9afde205cb0489a2213a937ba1d8d6bc212262e8140a1629d2273d4bf43 SHA512 47265ca5d43c39c9470c9ff7caa8ad0962bf81cfedb207d3307895cc7e4885512a4895d3447906349e1261dbef531c0c3326cd82cecf6d645d42039997134707
-DIST wit-bindgen-0.46.0.crate 60508 BLAKE2B 4422fb47880ecd70749d615ea6ed0a8bcb5941bd9de2c2164a6f1248574363408fcb634e0e9aa0af3e0f278c9311a81212818dff70ef39614646ffdd646b1fe7 SHA512 5d37ac5855797cfb906c983a70780d7cd29d70c4e5b6e54328fc18297feeb89ceda0aa732123280a12610015fbdb42bcd76aae12b1debb281b0a848016134548
diff --git a/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-cargo-no-bundled-libbpf.patch b/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-cargo-no-bundled-libbpf.patch
deleted file mode 100644
index 2b35fd3d50c5..000000000000
--- a/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-cargo-no-bundled-libbpf.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -76,6 +76,7 @@ cargo = find_program('cargo', required: true)
- cargo_options = [
- '--manifest-path', meson.project_source_root() / 'Cargo.toml',
- '--target-dir', meson.project_build_root(),
-+ '--no-default-features',
- ]
-
- if get_option('buildtype') in ['debug', 'debugoptimized']
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -8,8 +8,8 @@ rust-version = "1.70"
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
- [dependencies]
- anyhow = "1.0.79"
--libbpf-rs = ">=0.24"
--libbpf-sys = "1.5.1"
-+libbpf-rs = { version = ">=0.24", default-features = false }
-+libbpf-sys = { version = "1.5.1", default-features = false }
- udev = { version = "0.7.0", features = ["mio08"] }
- mio = { version = "0.8", features = ["os-ext"] }
- libc = "0.2"
diff --git a/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-click.patch b/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-click.patch
deleted file mode 100644
index bc9df935e816..000000000000
--- a/sys-kernel/udev-hid-bpf/files/udev-hid-bpf-2.2.0_p20251121-click.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tools/test_sync_with_kernel_tree.py b/tools/test_sync_with_kernel_tree.py
-index 21f8d51..1b098a9 100644
---- a/tools/test_sync_with_kernel_tree.py
-+++ b/tools/test_sync_with_kernel_tree.py
-@@ -138,7 +138,7 @@ def run_cli(virtual_git, command, args):
- command,
- ]
- _args.extend(args)
-- runner = CliRunner(mix_stderr=False)
-+ runner = CliRunner()
- return runner.invoke(
- sync_with_kernel_tree.cli,
- _args,
diff --git a/sys-kernel/udev-hid-bpf/metadata.xml b/sys-kernel/udev-hid-bpf/metadata.xml
deleted file mode 100644
index 08dc70bb8e8e..000000000000
--- a/sys-kernel/udev-hid-bpf/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <upstream>
- <remote-id type="freedesktop-gitlab">libevdev/udev-hid-bpf</remote-id>
- </upstream>
- <use>
- <flag name="userhacks">
- Build HID-BPF programs which affect user-subjective preferences
- for device behavior.
- </flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/udev-hid-bpf/udev-hid-bpf-2.2.0_p20251121.ebuild b/sys-kernel/udev-hid-bpf/udev-hid-bpf-2.2.0_p20251121.ebuild
deleted file mode 100644
index f03cd5eb9f0a..000000000000
--- a/sys-kernel/udev-hid-bpf/udev-hid-bpf-2.2.0_p20251121.ebuild
+++ /dev/null
@@ -1,260 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.15.0
-
-EAPI=8
-
-CRATES="
- aho-corasick@1.1.3
- android_system_properties@0.1.5
- anstream@0.6.20
- anstyle-parse@0.2.7
- anstyle-query@1.1.4
- anstyle-wincon@3.0.10
- anstyle@1.0.13
- anyhow@1.0.100
- atty@0.2.14
- autocfg@1.5.0
- bitflags@2.9.4
- bumpalo@3.19.0
- camino@1.2.1
- cargo-platform@0.1.9
- cargo_metadata@0.15.4
- cc@1.2.39
- cfg-if@1.0.3
- cfg_aliases@0.2.1
- chrono@0.4.42
- clap@4.5.48
- clap_builder@4.5.48
- clap_derive@4.5.47
- clap_lex@0.7.5
- colorchoice@1.0.4
- core-foundation-sys@0.8.7
- errno@0.3.14
- fastrand@2.3.0
- find-msvc-tools@0.1.2
- getrandom@0.3.3
- heck@0.5.0
- hermit-abi@0.1.19
- iana-time-zone-haiku@0.1.2
- iana-time-zone@0.1.64
- is_terminal_polyfill@1.70.1
- itoa@1.0.15
- js-sys@0.3.81
- libbpf-cargo@0.24.8
- libbpf-rs@0.24.8
- libbpf-rs@0.25.0
- libbpf-sys@1.6.1+v1.6.1
- libc@0.2.176
- libudev-sys@0.1.4
- linux-raw-sys@0.11.0
- log@0.4.28
- memchr@2.7.6
- memmap2@0.5.10
- mio@0.8.11
- nix@0.30.1
- num-traits@0.2.19
- once_cell@1.21.3
- once_cell_polyfill@1.70.1
- pkg-config@0.3.32
- proc-macro2@1.0.101
- quote@1.0.41
- r-efi@5.3.0
- regex-automata@0.4.11
- regex-syntax@0.8.6
- regex@1.11.3
- rustix@1.1.2
- rustversion@1.0.22
- ryu@1.0.20
- semver@1.0.27
- serde@1.0.228
- serde_core@1.0.228
- serde_derive@1.0.228
- serde_json@1.0.145
- shlex@1.3.0
- stderrlog@0.5.4
- strsim@0.11.1
- syn@2.0.106
- tempfile@3.23.0
- termcolor@1.1.3
- thiserror-impl@1.0.69
- thiserror@1.0.69
- thread_local@1.1.9
- udev@0.7.0
- unicode-ident@1.0.19
- utf8parse@0.2.2
- vsprintf@2.0.0
- wasi@0.11.1+wasi-snapshot-preview1
- wasi@0.14.7+wasi-0.2.4
- wasip2@1.0.1+wasi-0.2.4
- wasm-bindgen-backend@0.2.104
- wasm-bindgen-macro-support@0.2.104
- wasm-bindgen-macro@0.2.104
- wasm-bindgen-shared@0.2.104
- wasm-bindgen@0.2.104
- winapi-i686-pc-windows-gnu@0.4.0
- winapi-util@0.1.11
- winapi-x86_64-pc-windows-gnu@0.4.0
- winapi@0.3.9
- windows-core@0.62.1
- windows-implement@0.60.1
- windows-interface@0.59.2
- windows-link@0.2.0
- windows-result@0.4.0
- windows-strings@0.5.0
- windows-sys@0.48.0
- windows-sys@0.60.2
- windows-sys@0.61.1
- windows-targets@0.48.5
- windows-targets@0.53.4
- windows_aarch64_gnullvm@0.48.5
- windows_aarch64_gnullvm@0.53.0
- windows_aarch64_msvc@0.48.5
- windows_aarch64_msvc@0.53.0
- windows_i686_gnu@0.48.5
- windows_i686_gnu@0.53.0
- windows_i686_gnullvm@0.53.0
- windows_i686_msvc@0.48.5
- windows_i686_msvc@0.53.0
- windows_x86_64_gnu@0.48.5
- windows_x86_64_gnu@0.53.0
- windows_x86_64_gnullvm@0.48.5
- windows_x86_64_gnullvm@0.53.0
- windows_x86_64_msvc@0.48.5
- windows_x86_64_msvc@0.53.0
- wit-bindgen@0.46.0
-"
-RUST_MIN_VER="1.82.0"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit cargo linux-info meson python-any-r1 udev
-
-MY_PV=${PV/_p/-}
-MY_P=${PN}-${MY_PV}
-DESCRIPTION="Automatic HID-BPF loader based on udev events for device workarounds"
-HOMEPAGE="https://libevdev.pages.freedesktop.org/udev-hid-bpf/"
-SRC_URI="
- https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/archive/${MY_PV}/${MY_P}.tar.bz2
- ${CARGO_CRATE_URIS}
-"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-2"
-# Dependent crate licenses
-LICENSE+="
- BSD-2 MIT Unicode-3.0
- || ( Apache-2.0 Boost-1.0 )
-"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test userhacks"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-libs/libbpf:=
- virtual/libudev:=
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=dev-util/bpftool-7.0.0
- llvm-core/clang[llvm_targets_BPF]
- test? (
- $(python_gen_any_dep '
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- ')
- )
-"
-
-# BPF
-QA_EXECSTACK="
- usr/lib/firmware/hid/bpf/*
- lib/firmware/hid/bpf/*
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.2.0_p20251121-click.patch
- "${FILESDIR}"/${PN}-2.2.0_p20251121-cargo-no-bundled-libbpf.patch
-)
-
-python_check_deps() {
- python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"
-}
-
-pkg_pretend() {
- local options=(
- BPF DEBUG_INFO_BTF DEBUG_INFO_BTF_MODULES
- # hidraw: https://docs.kernel.org/hid/hid-bpf.html#tracing
- HID_BPF HIDRAW BPF_EVENTS TRACING BPF_SYSCALL
- # tools/testing/selftests/hid/config
- BPF_JIT BPF_KPROBE_OVERRIDE BPF_LSM
- BPF_PRELOAD BPF_PRELOAD_UMD BPF_KPROBE_OVERRIDE
- BPF_STREAM_PARSER CGROUP_BPF DYNAMIC_FTRACE_WITH_DIRECT_CALLS
- FPROBE FTRACE_SYSCALLS FUNCTION_TRACER HID
- INPUT_EVDEV UHID LEDS_CLASS_MULTICOLOR
- USB USB_HID HID_APPLE HID_ITE HID_MULTITOUCH
- HID_PLAYSTATION PLAYSTATION_FF HID_SONY
- SONY_FF HID_WACOM
- )
-
- local CONFIG_CHECK f
- for f in "${options[@]}"; do
- CONFIG_CHECK+=" ~${f}"
- done
-
- check_extra_config
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
- # cargo_env vs meson, plus cargo test wants build to be a subdir
- BUILD_DIR="${S}"/build
-
- local bpf_types=(
- # https://gitlab.freedesktop.org/libevdev/udev-hid-bpf#quirks-user-hack-testing-and-stable
- # 'stable' isn't on by default, but README says:
- # Distributions that package udev-hid-bpf should package these stable quirks.
- stable
- testing
- $(usev userhacks)
- )
-
- local emesonargs=(
- # Can't yet use GCC: https://gcc.gnu.org/PR121419
- -Dbpf-compiler=clang
- -Dbpfs="$(IFS=,; echo "${bpf_types[*]}")"
- -Dudevdir="${EPREFIX}$(get_udevdir)"
- $(meson_feature test tests)
- )
-
- cargo_env meson_src_configure
- ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
-}
-
-src_compile() {
- cargo_env meson_src_compile
-}
-
-src_test() {
- # Breakage w/ click-8.3 and mysterious missing _fields_
- local -x PYTEST_ADDOPTS="-k 'not (test_sync_with_kernel_tree.py or TestTUXEDOSirius16Gen1andGen2)'"
- cargo_env meson_src_test
-}
-
-src_install() {
- cargo_env meson_src_install
-
- # BPF objects
- dostrip -x /usr/lib/firmware /lib/firmware
-}
-
-pkg_postrm() {
- udev_reload
-}
-
-pkg_postinst() {
- udev_reload
-}
diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest
deleted file mode 100644
index ef06859a1310..000000000000
--- a/sys-kernel/uek-sources/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST genpatches-5.15-172.base.tar.xz 7003732 BLAKE2B 0f9a38b1a0b8d85429b9f66eaf0fdb7f854f62d6e61c556bfc618d551c8497ded8d1413f8f0c9bcc27988faeb718c73646ae1437b14793837d14d5587f69aa2e SHA512 fcff72f4ddbca1c2fbd012e66ab2d1b1c9a666192edeceabe51a99588564a0937d88c62c8bd71c6a701577ead62bd543b77b520e159f2b60764c6ffd3bcd24fa
-DIST genpatches-5.15-172.extras.tar.xz 4048 BLAKE2B e9120574a9febf01edcb43d4c582fcbb90a05934d23c671b225a1c6d0ca8646d9efad2587497f6642024a7e1026f9b7dd56b49e79fd355d73848ee04e1dfb3e2 SHA512 582fd7b0360c7250ee8336079383d2b64bb96b22a86929a54157c1fbece2c18b88d0751adc13ba602cfcf7b39ddb249ea11449d6f56d1a3c55aa25f87d2d77ff
-DIST genpatches-5.15-174.base.tar.xz 7146696 BLAKE2B 02aaa04e156b848c1303da831795e48f038ced7134453cf1b09534df9ad46888ea807772af161b1c61a679a5c6adabe6a275dea97f425ba10d003ca9391af0b7 SHA512 cfc7e7e878d9f1fae329ea4103c785c7cda26bc37f0015a37dc1a5c79842b98a04923e53177cbf1977396a0fdff5fdc62d176642999a5b6fd89bfa9bff251597
-DIST genpatches-5.15-174.extras.tar.xz 4052 BLAKE2B 9fb303cfcdb5f201b492996383adffa71543531d4b8cb77df076ceb994f2e4af2e1d510b0bb5fda77f505034ea89935efcc8ac5476970e6d96dcec01f582755e SHA512 9ede39e030d45bc668112f489cf0d4c22a14302d26f1a0e1bb9f53b0e42a16a99a24215211c1e510c7f052d00fbe294f70cc414b2d127c4c6e9ba4857ebfce72
-DIST linux-uek-5.15.0-300.159.7.tar.gz 203260509 BLAKE2B 6d5e2ecfb0adc611abc565437020b56a20f66a389e9dfe64e952d46f511c8472fe437516371554d5cee2c31d6d70aaee90a864ede133351808a6f2ff714300a3 SHA512 4294d328b4f383cd662c43e0f7a7e565e520a6596684d97d54ae7ddd6f5a264e23b11f69c6c9cbd98fa66207f88ce78e51684a10c2d1734c0e2f8465e48154cd
-DIST linux-uek-5.15.0-300.161.13.tar.gz 205515503 BLAKE2B 2bdee393e761a6f1c219585a514eaf302068de8b3575281cde621016128dec2e0f5342807077c0881c5332425790fe9df8cbdfdcb3eff0a71ceceed1621e1213 SHA512 d3f997cf9ee65d9e091dbeba99a23e831a2311e1435f0dd8161c8257eaae76084ea754347f5db0105addbb856acd07ec3bb8257b97fbbbcc3b3c5774a0e8e5d2
diff --git a/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch b/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch
deleted file mode 100644
index c794320ebb1b..000000000000
--- a/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 9b115749acb24d11083ded4fe947ddd654a940e3 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Thu, 28 May 2020 07:12:31 +0200
-Subject: [PATCH] ipv6: add ip6_sock_set_v6only
-
-Add a helper to directly set the IPV6_V6ONLY sockopt from kernel space
-without going through a fake uaccess.
-
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Signed-off-by: David S. Miller <davem@davemloft.net>
----
- include/net/ipv6.h | 11 +++++++++++
- net/ipv6/ip6_udp_tunnel.c | 5 +----
- net/sunrpc/svcsock.c | 6 +-----
- 3 files changed, 13 insertions(+), 9 deletions(-)
-
-diff --git a/include/net/ipv6.h b/include/net/ipv6.h
-index 39a00d3ef5e220..9b91188c9a74c7 100644
---- a/include/net/ipv6.h
-+++ b/include/net/ipv6.h
-@@ -1177,4 +1177,15 @@ int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
- const struct in6_addr *addr, unsigned int mode);
- int ipv6_sock_mc_drop(struct sock *sk, int ifindex,
- const struct in6_addr *addr);
-+
-+static inline int ip6_sock_set_v6only(struct sock *sk)
-+{
-+ if (inet_sk(sk)->inet_num)
-+ return -EINVAL;
-+ lock_sock(sk);
-+ sk->sk_ipv6only = true;
-+ release_sock(sk);
-+ return 0;
-+}
-+
- #endif /* _NET_IPV6_H */
-diff --git a/net/ipv6/ip6_udp_tunnel.c b/net/ipv6/ip6_udp_tunnel.c
-index 6523609516d25a..2e0ad1bc84a835 100644
---- a/net/ipv6/ip6_udp_tunnel.c
-+++ b/net/ipv6/ip6_udp_tunnel.c
-@@ -25,10 +25,7 @@ int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg,
- goto error;
-
- if (cfg->ipv6_v6only) {
-- int val = 1;
--
-- err = kernel_setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY,
-- (char *) &val, sizeof(val));
-+ err = ip6_sock_set_v6only(sock->sk);
- if (err < 0)
- goto error;
- }
-diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
-index 7a805d165689c3..a391892977cd27 100644
---- a/net/sunrpc/svcsock.c
-+++ b/net/sunrpc/svcsock.c
-@@ -1328,7 +1328,6 @@ static struct svc_xprt *svc_create_socket(struct svc_serv *serv,
- struct sockaddr *newsin = (struct sockaddr *)&addr;
- int newlen;
- int family;
-- int val;
- RPC_IFDEBUG(char buf[RPC_MAX_ADDRBUFLEN]);
-
- dprintk("svc: svc_create_socket(%s, %d, %s)\n",
-@@ -1364,11 +1363,8 @@ static struct svc_xprt *svc_create_socket(struct svc_serv *serv,
- * getting requests from IPv4 remotes. Those should
- * be shunted to a PF_INET listener via rpcbind.
- */
-- val = 1;
- if (family == PF_INET6)
-- kernel_setsockopt(sock, SOL_IPV6, IPV6_V6ONLY,
-- (char *)&val, sizeof(val));
--
-+ ip6_sock_set_v6only(sock->sk);
- if (type == SOCK_STREAM)
- sock->sk->sk_reuse = SK_CAN_REUSE; /* allow address reuse */
- error = kernel_bind(sock, sin, len);
diff --git a/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch b/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch
deleted file mode 100644
index 3dc5904e7fd6..000000000000
--- a/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/init/Kconfig
-+++ b/init/Kconfig
-@@ -1218,7 +1218,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
-
- config CC_OPTIMIZE_FOR_PERFORMANCE_O3
- bool "Optimize more for performance (-O3)"
-- depends on ARC
- help
- Choosing this option will pass "-O3" to your compiler to optimize
- the kernel yet more for performance.
diff --git a/sys-kernel/uek-sources/metadata.xml b/sys-kernel/uek-sources/metadata.xml
deleted file mode 100644
index 6598c90fef34..000000000000
--- a/sys-kernel/uek-sources/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>gentoo@aisha.cc</email>
- <name>Aisha Tammy</name>
- </maintainer>
- <use>
- <flag name="gentoo">apply base gentoo genpatches</flag>
- <flag name="experimental">apply experimental gentoo genpatches</flag>
- </use>
- <upstream>
- <remote-id type="github">oracle/linux-uek</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.300.159.7-r1.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.300.159.7-r1.ebuild
deleted file mode 100644
index 487ea43bedfd..000000000000
--- a/sys-kernel/uek-sources/uek-sources-5.15.0.300.159.7-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_VERSION=$(ver_cut 1-3)
-KERNEL_TRUNK=$(ver_cut 1-2)
-UEK_PATCH_VERSION=$(ver_cut 4-6)
-UEK_VERSION="${KERNEL_VERSION}-${UEK_PATCH_VERSION}"
-
-ETYPE="sources"
-
-K_GENPATCHES_VER="172"
-K_SECURITY_UNSUPPORTED="1"
-CKV="${KERNEL_VERSION}_p${UEK_PATCH_VERSION}"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Unbreakable Enterprise Kernel (UEK) sources built from Oracle"
-HOMEPAGE="https://github.com/oracle/linux-uek"
-SRC_URI="
- https://github.com/oracle/linux-uek/archive/refs/tags/v${UEK_VERSION}.tar.gz
- -> linux-uek-${UEK_VERSION}.tar.gz
- mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.base.tar.xz
- mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.extras.tar.xz
-"
-#mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.experimental.tar.xz
-S="${WORKDIR}/linux-uek-${UEK_VERSION}"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64"
-IUSE="+gentoo experimental"
-
-PATCHES=(
- "${FILESDIR}"/uek-sources-5.4.17.2136.303.2-O3.patch
-)
-
-src_unpack() {
- default
-
- # remove all backup files
- find . -iname "*~" -print -exec rm {} \; 2>/dev/null
-
- unpack_set_extraversion
- unpack_fix_install_path
-
- env_setup_xmakeopts
-}
-
-src_prepare() {
- use gentoo && PATCHES+=(
- "${WORKDIR}"/1500_XATTR_USER_PREFIX.patch
- "${WORKDIR}"/1510_fs-enable-link-security-restrictions-by-default.patch
- "${WORKDIR}"/2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
- "${WORKDIR}"/2920_sign-file-patch-for-libressl.patch
- "${WORKDIR}"/3000_Support-printing-firmware-info.patch
- "${WORKDIR}"/4567_distro-Gentoo-Kconfig.patch
- )
- #use experimental && PATCHES+=(
- # "${WORKDIR}"/5010_enable-cpu-optimizations-universal.patch
- #)
- default
-}
diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.300.161.13.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.300.161.13.ebuild
deleted file mode 100644
index 143f9dc77b88..000000000000
--- a/sys-kernel/uek-sources/uek-sources-5.15.0.300.161.13.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_VERSION=$(ver_cut 1-3)
-KERNEL_TRUNK=$(ver_cut 1-2)
-UEK_PATCH_VERSION=$(ver_cut 4-6)
-UEK_VERSION="${KERNEL_VERSION}-${UEK_PATCH_VERSION}"
-
-ETYPE="sources"
-
-K_GENPATCHES_VER="174"
-K_SECURITY_UNSUPPORTED="1"
-CKV="${KERNEL_VERSION}_p${UEK_PATCH_VERSION}"
-
-inherit kernel-2
-detect_version
-detect_arch
-
-DESCRIPTION="Unbreakable Enterprise Kernel (UEK) sources built from Oracle"
-HOMEPAGE="https://github.com/oracle/linux-uek"
-SRC_URI="
- https://github.com/oracle/linux-uek/archive/refs/tags/v${UEK_VERSION}.tar.gz
- -> linux-uek-${UEK_VERSION}.tar.gz
- mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.base.tar.xz
- mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.extras.tar.xz
-"
-#mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.experimental.tar.xz
-S="${WORKDIR}/linux-uek-${UEK_VERSION}"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64"
-IUSE="+gentoo experimental"
-
-PATCHES=(
- "${FILESDIR}"/uek-sources-5.4.17.2136.303.2-O3.patch
-)
-
-src_unpack() {
- default
-
- # remove all backup files
- find . -iname "*~" -print -exec rm {} \; 2>/dev/null
-
- unpack_set_extraversion
- unpack_fix_install_path
-
- env_setup_xmakeopts
-}
-
-src_prepare() {
- use gentoo && PATCHES+=(
- "${WORKDIR}"/1500_XATTR_USER_PREFIX.patch
- "${WORKDIR}"/1510_fs-enable-link-security-restrictions-by-default.patch
- "${WORKDIR}"/2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
- "${WORKDIR}"/2920_sign-file-patch-for-libressl.patch
- "${WORKDIR}"/3000_Support-printing-firmware-info.patch
- "${WORKDIR}"/4567_distro-Gentoo-Kconfig.patch
- )
- #use experimental && PATCHES+=(
- # "${WORKDIR}"/5010_enable-cpu-optimizations-universal.patch
- #)
- default
-}
diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
deleted file mode 100644
index 0ec95007322f..000000000000
--- a/sys-kernel/ugrd/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST ugrd-1.27.2.tar.gz 76119 BLAKE2B 7a97f0189f1b39f0a1264c4ac9fbc8dc15f6bf93639db8c232dd6d7f488a98cac422b71d1214e9583491b6fd59064358419a39af14ac9e3c9b1e5f0573c1ec50 SHA512 6b079b31c286771619fbf6306bfbab8685e7b92e06c04fc9139c9bd1ade861816df15174b7e72109215ba941cf73b0514749650a8f0b2ff27c40b4d0d51ed48f
-DIST ugrd-1.28.2.tar.gz 79970 BLAKE2B 545d9a21e3fa5dbee3a29adad5f3df4f4c60c363866277520d0783c0e578d762301c94b0791b5a21b47ef8172cf9658ae47c43a5b696d311a76fea6649f80d17 SHA512 7598cf15869f3e8aca681fd1d8f239da66b84252978152559fa154d43ae06a1edab2cbee0b7fbaf8a48abc40e9b96c769534c95fed4e040e2f9ae7ab90694a6d
-DIST ugrd-1.29.0.tar.gz 81078 BLAKE2B 6f0e25d325878a0bfba442fafd4dcd4ed0f51312339c3cfc8ef4a43b90020b143c34d7f9fddaa7e4af90260e25c5a9776842a61f6ad7483b7dd9e3c3c02049b2 SHA512 68ecfb9694e789df5de12068b4fac97d578d1ce1bc046e67f5859c5742e6cc3c33d3d87703c80d50603a4b1d504fed57a27d8e2a609f243f236f9040ddbf85bf
-DIST ugrd-1.31.2.tar.gz 87959 BLAKE2B 2a569154d871fac0efde0eaab914a5ddc48d84b3b4d207514b3fa038b9f6403ecba3096af44374880ebe0a652f22198c5b95c3589e6114aa28a4637cc199d01f SHA512 fa1147ba61075868d1ade76bc8ad2913902c21cfea9879a2709511650673f06728570a0b8bb11ad3166ee034cbb113115bbe617855356e01af74ce383882bff8
-DIST ugrd-2.0.2.tar.gz 107640 BLAKE2B 31a8307fc1e516c94eac5a75ff70e10adcec041359d065fcb24e708f3578b219907ce8144a6d8ad0fb168127040c620cb5bbdcdaedd9e9dd86a61ff72fb7ce00 SHA512 cb91622ef0fd93aeb491bbc8fc05a549a3ee1f36afc59e4e47e824f6aba6e95e8d8047e320295815c830c47f91b9197bc60d5ab6d64f77a81f806c1225c2e5b3
-DIST ugrd-2.2.0.tar.gz 123567 BLAKE2B 315ee56b7b24d8a6c43ea7d191ad2287bfdffcc62d6fef55c8321d5ab3e416643af7782ef2d0eef3b5d9daa85973f98c302eadd93c297dca9a710e358fd6495d SHA512 3f83ada28efa6b89c550114132efb2850c799e0727f945ae50fb0b8c793f5ebe752a99e3b321f2d15be0c413604fd211382ca4758cfcfc9cbd2bd41fc52dfb2f
diff --git a/sys-kernel/ugrd/metadata.xml b/sys-kernel/ugrd/metadata.xml
deleted file mode 100644
index 2388cc610e5f..000000000000
--- a/sys-kernel/ugrd/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>dev@pyl.onl</email>
- <name>Zen</name>
- </maintainer>
- <maintainer type="person" proxied="proxy">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/desultory/ugrd/issues</bugs-to>
- <changelog>https://github.com/desultory/ugrd/releases</changelog>
- <remote-id type="github">desultory/ugrd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/ugrd/ugrd-1.27.2.ebuild b/sys-kernel/ugrd/ugrd-1.27.2.ebuild
deleted file mode 100644
index 579c2c23e3dd..000000000000
--- a/sys-kernel/ugrd/ugrd-1.27.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- >=dev-python/zenlib-2.3.2[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
- sys-apps/pciutils
-"
-
-BDEPEND="
- test? (
- sys-fs/btrfs-progs
- sys-fs/xfsprogs
- sys-fs/cryptsetup
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
-}
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
diff --git a/sys-kernel/ugrd/ugrd-1.28.2.ebuild b/sys-kernel/ugrd/ugrd-1.28.2.ebuild
deleted file mode 100644
index d8dffe9bcc28..000000000000
--- a/sys-kernel/ugrd/ugrd-1.28.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- >=dev-python/zenlib-2.3.2[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
- sys-apps/pciutils
-"
-
-BDEPEND="
- test? (
- sys-fs/btrfs-progs
- sys-fs/xfsprogs
- sys-fs/cryptsetup
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
-}
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
diff --git a/sys-kernel/ugrd/ugrd-1.29.0-r1.ebuild b/sys-kernel/ugrd/ugrd-1.29.0-r1.ebuild
deleted file mode 100644
index cf41d35513ea..000000000000
--- a/sys-kernel/ugrd/ugrd-1.29.0-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
- sys-apps/pciutils
-"
-
-BDEPEND="
- test? (
- sys-fs/btrfs-progs
- sys-fs/xfsprogs
- sys-fs/cryptsetup
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
-}
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
diff --git a/sys-kernel/ugrd/ugrd-1.31.2.ebuild b/sys-kernel/ugrd/ugrd-1.31.2.ebuild
deleted file mode 100644
index 1da8f0b96a25..000000000000
--- a/sys-kernel/ugrd/ugrd-1.31.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based POSIX initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.4.2[${PYTHON_USEDEP}]
- sys-apps/pciutils
-"
-
-BDEPEND="
- test? (
- sys-fs/btrfs-progs
- sys-fs/xfsprogs
- sys-fs/cryptsetup
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
-}
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
diff --git a/sys-kernel/ugrd/ugrd-2.0.2.ebuild b/sys-kernel/ugrd/ugrd-2.0.2.ebuild
deleted file mode 100644
index 7b8180e75728..000000000000
--- a/sys-kernel/ugrd/ugrd-2.0.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based POSIX initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- sys-devel/bc
- >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.5.2[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- sys-fs/cryptsetup
- sys-fs/btrfs-progs
- sys-fs/e2fsprogs
- sys-fs/f2fs-tools
- sys-fs/xfsprogs
- sys-fs/squashfs-tools
- dev-python/zstandard
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.ext4 support" sys-fs/e2fsprogs
- optfeature "ugrd.fs.f2s support" sys-fs/f2fs-tools
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.zfs support" sys-fs/zfs
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
- optfeature "ZSTD compression support" dev-python/zstandard
-}
diff --git a/sys-kernel/ugrd/ugrd-2.2.0.ebuild b/sys-kernel/ugrd/ugrd-2.2.0.ebuild
deleted file mode 100644
index fa3064bdc41e..000000000000
--- a/sys-kernel/ugrd/ugrd-2.2.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 optfeature shell-completion
-
-DESCRIPTION="Python based POSIX initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~riscv ~x86"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- sys-apps/coreutils
- sys-apps/kmod
- sys-apps/util-linux
- sys-devel/bc
- >=dev-python/zenlib-3.3.0[${PYTHON_USEDEP}]
- >=dev-python/pycpio-1.7.0[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- sys-fs/cryptsetup
- sys-fs/btrfs-progs
- sys-fs/e2fsprogs
- sys-fs/f2fs-tools
- sys-fs/xfsprogs
- sys-fs/squashfs-tools
- dev-python/zstandard
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.ext4 support" sys-fs/e2fsprogs
- optfeature "ugrd.fs.f2s support" sys-fs/f2fs-tools
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.zfs support" sys-fs/zfs
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
- optfeature "ZSTD compression support" dev-python/zstandard
-}
diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
deleted file mode 100644
index bb06d33340da..000000000000
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 git-r3 optfeature shell-completion
-
-DESCRIPTION="Python based POSIX initramfs generator with TOML definitions"
-HOMEPAGE="https://github.com/desultory/ugrd"
-EGIT_REPO_URI="https://github.com/desultory/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT="test"
-PROPERTIES="test_privileged"
-
-RDEPEND="
- app-misc/pax-utils
- sys-apps/coreutils
- sys-apps/kmod
- sys-apps/util-linux
- sys-devel/bc
- >=dev-python/zenlib-9999[${PYTHON_USEDEP}]
- >=dev-python/pycpio-9999[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- sys-fs/cryptsetup
- sys-fs/btrfs-progs
- sys-fs/e2fsprogs
- sys-fs/f2fs-tools
- sys-fs/xfsprogs
- sys-fs/squashfs-tools
- dev-python/zstandard
- amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
- arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
- )
-"
-
-distutils_enable_tests unittest
-
-src_test() {
- addwrite /dev/kvm
- distutils-r1_src_test
-}
-
-python_test() {
- eunittest tests/
-}
-
-python_install_all() {
- # Call the distutils-r1_python_install_all function
- distutils-r1_python_install_all
- # Install the example config into /etc/ugrd/config.toml
- # Do not overwrite an existing config
- insinto /etc/ugrd
- newins examples/example.toml config.toml
-
- # Install the kernel preinst.d hook
- exeinto /usr/lib/kernel/preinst.d
- doexe hooks/installkernel/52-ugrd.install
- exeinto /usr/lib/kernel/install.d
- doexe hooks/kernel-install/52-ugrd.install
-
- dobashcomp completion/ugrd # Install bash autocomplete script
- dozshcomp completion/_ugrd # Install zsh autocomplete script
-}
-
-pkg_postinst() {
- optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
- optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
- optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
- optfeature "ugrd.fs.ext4 support" sys-fs/e2fsprogs
- optfeature "ugrd.fs.f2s support" sys-fs/f2fs-tools
- optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
- optfeature "ugrd.fs.zfs support" sys-fs/zfs
- optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
- optfeature "ugrd.base.plymouth support" sys-boot/plymouth
- optfeature "ZSTD compression support" dev-python/zstandard
-
-}
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
deleted file mode 100644
index 449a5777fcda..000000000000
--- a/sys-kernel/vanilla-kernel/Manifest
+++ /dev/null
@@ -1,37 +0,0 @@
-DIST gentoo-kernel-config-g17.tar.bz2 5551 BLAKE2B af2c06a14d214b8cd9d4dff6dcc4a3aed4e56dcd75e35238d42e06d3c05cb0d59859c5f70a423d78d91290c1479b8b1729ad3eea3f352d2cf85a0b023e2eb11d SHA512 78e56d699fe5b65bab144b7713f0a9785b6f00643eafd0171a2395f56e34d91a34fce8dd234427b8c18a7ae12bb52bb39e0f282c11de6451b2737fc61f183034
-DIST gentoo-kernel-config-g18.tar.bz2 5604 BLAKE2B 172d733748afb252f6a01eee53258d48565a6961f96195c6731938897346c35ef88fb239b7eb50cae260f0251977c5c9499102d64ad63d7c81488968f3975927 SHA512 7384add589554097249bc1815a2353d45e17dbac15b1dadbcdc7c8ebbbaa4e13f05c69d91dfa56f7602692b3f400a01a689d7f0eb2de34b8a8cb261a5c1353b6
-DIST gentoo-kernel-config-g19.tar.bz2 5610 BLAKE2B ad20063ac54c8b1485a06877e1d741b3b2c0a82967e8a84b1c475fc775178de3be39942e0ae00ca3bf2bb37f586da3de35df0d8229f14e1f7f77fa9819c907bf SHA512 7e4846265a3ab9f02c121b4eeeaf494f5f0568b309fc1245a47608a88c520b5b2c265c26bcebfb66710494951cefe718ce6acb4c6292138d46221003b74556b3
-DIST kernel-5.10.12-gentoo.tar.bz2 756570 BLAKE2B 3448fac74ca3d3f373ab6b77a76ca9e44aed3a484a0e4c22761fcaa60e9097706fb8bed9b83b024218918528bac10253e824787b6737d6272da65a49250bca69 SHA512 0cddbcdc00e5d8f54276c0295106401d66983a72b5bca30b7a8bef8be6cd0448622c885d4ac6c75271809b45a1231dc5eed8e3102e5cfff7ea54829c5c5daa96
-DIST kernel-6.1.102-gentoo.tar.bz2 599178 BLAKE2B 01763e0db371bca986de92e82e307c27c1fa48f1ea33c2d3c5db2a1d6138104b941e9d23c2ae0f8b7496c9519f3975517141a39ead99345e3a6f936c2e8d577d SHA512 15da1ce895048fcd2f7b9be0895ddfcce7f8140443762e45507e3b8edd1307a841b19f45b979125766d7bc397be735df9c93fc0483861f893dee6e548b132f87
-DIST kernel-6.12.41-gentoo.tar.bz2 1178332 BLAKE2B 2202a4e6f80e438e8aa2a7b14749fb284fda690be1af4c100cc4387b4974aa7a35ff9e10f83f0b2454256e3bc5379160a3504ba83228af824200ead36b91c040 SHA512 4498432485222a5b529ab84382e84f302759f5504976fdbcfba6bc8942ca8fd2080fefa873e2724c207686655fc605153ff6fa21c21e64bb55014e14f47d23f6
-DIST kernel-6.18.12-gentoo.tar.bz2 1348595 BLAKE2B 6f8da41d0ec42538260d8ba419eaa82f77659b02a6598ca93e39ec5ed774fb2683ee144739744646e3f71df6ace148a448877c43282fae1d124a6d0c62f9860d SHA512 d24792416f10ac38d641b6050e409c0bb2d4101584b2ea9e2359e8deb21c5ce6154e9e9f17fae600baa5c658e93c40cacb4d5abb4c9e974d19e008eafa5164cf
-DIST kernel-6.6.12-gentoo.tar.bz2 730821 BLAKE2B c9dc3d85ac3c623244cff44134c59aff2112e990184c94ce654d1c92edc65c4c79dc6d98acae369af2c2986e49551e7decd49731ff2a7f86e6f473620ecc9384 SHA512 777ada4a2b0110947826747f29a4f30c4566b89237a07257cad375548cbac74a5aecf2000f5867f810493ab27531b075a663ac9a4cc409ea2370285b8f991c99
-DIST kernel-7.0.8-gentoo.tar.bz2 1394062 BLAKE2B b638dea02e129ea8c812d26f3e6fd6e3d598265f19a30553823fc64cde6171ef8c78ef74043013431c26b5ad273910e5d1632d533f0414ac37be2c4c25bf8694 SHA512 e15705a61e6b6e2824ef365298d705fac828f9f8937e35baf16e2a021f1286c740d5dea05f724a048608355ce5240097825a9f740931667fd4dd573cdacfcac5
-DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST linux-5.x-sha256sums-20260523.asc 379058 BLAKE2B 9b79ea374650842097eb13ea7b27d5dbce26bdbc0242a0ad4eed47cf1d739632f2d0950cb3b0c766bab11053d0b2e49defdd55a28f65988b26f21478b171d04e SHA512 c13a47abf208db2edbb379cb4bb6b3624a55c3784f4b7ab3d9f4c03b978bb616037981b3bc11776fc8bc030bf82c830c341d4b448ea178305c0c49fed071170c
-DIST linux-5.x-sha256sums-20260601.asc 379748 BLAKE2B 0d6efa83d413386727f3d899d65adbd75e5e16f4442259170127dab904ceeb79af1f25104da01638c08afbd469d93c362170e2a7348f22a2e76654f2eabd8df8 SHA512 4288d18e7464a16972399080691b18408e01ab8245d8d017e6fa8429a7e672bea7f12766e051c36df82bdd56bb60356a39351bd89dac17a650cd8950f83a9c21
-DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-6.x-sha256sums-20260523-r1.asc 227108 BLAKE2B 71874499eea95879b1c461fcd73ee51b3688cda656cd301bab033cc1f5f69019424a153b2dfe74ca4e5d32a1885d16eb4aca87c1e1a2c01bb66116738994a8f4 SHA512 edde21f9346a3976200c1e1ffa61d0e3220cd6c30eec3fed25b3e09ef1a3b2ef2114c3b6f2721ecb6d53e7882a1bb34cb154feaafda671067174cd58d8825a3b
-DIST linux-6.x-sha256sums-20260523.asc 226767 BLAKE2B fc463ae0b71ecd0078c7f046a101c3a13b02e9c248135e860c257ca1e50a912c2ebcc9e206b5bc766d2e33cb9183ddf482328494a0cdf6006b54a1d58dc25179 SHA512 07323675c6e35e8bf9eabca6e2f3f6f9928dfd9e16f098a053dd060058e86a06058ecedbd767ed001f07e030edb8f3ad11dee4231bc9b22faf4b3fff70fa11f3
-DIST linux-6.x-sha256sums-20260601.asc 228472 BLAKE2B dbb61b77596a4bc658124e3ac313f094d78b16dc7d4131e54db292a9d42298594a42b0f91172424238ab7da3d5fa727a9d909df3fe70280861008b0f73322a9d SHA512 00161536ba0b7bb31ca78614da1e8d461bf1182eb3a8147f0caf89b89bec6b1ea2273f7cd2dc77fa83aaebc7dcb03b20f37536f567af934c1b4907b0df6da2e3
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-7.x-sha256sums-20260523.asc 4541 BLAKE2B 17062ee8e93d4c81aa8adf1952650462d097229a76991873b42867a122bab9e5b33502a98a5df8c6ab52031601f3bcef6c82f50a86e0dcf1e1b680fff3ad2280 SHA512 3fd12772887ccf7b568ad641467fc9bfc29ea590e826e59f4c426cd11280fa7871e4b61f091d6bc3780d13e095c6b4b450fb5356606d32d70d4e985ee9832a64
-DIST linux-7.x-sha256sums-20260601.asc 4878 BLAKE2B 1a08d3eecaa37ab2f2aa10801025c214fa919c0842ba24d9bc9a555d10c64ac87bc8afb99c37c94ae65a1e73b408257d8483cef590ce55f80e438ef374ffe4cf SHA512 6c650dbc9d58cb42aef6b2bcd418dd20fb608a4f449f4300c78d8427d35a732227f5c6bc79a4d4c4e6975698b0cbd1c64488a89d59cdd0f8da8912dcee6a9e6e
-DIST patch-5.10.257.xz 7256300 BLAKE2B 5f9f76f69018e440b645ed7fe70cc955964181602dac632cbf6f106c9acb0c1bd051632a9e6570c0a005e8d2cbddf906a46c7b4cf29e11a6e09137f6b9071914 SHA512 154f4293daee3b5740d1816a677b0ba929d6cdb9eda746521ba668a21c0902c689940896b2e6436e65aa12596233542e4a5d5b49c10dc1d7c1cd45e1ca8bc537
-DIST patch-5.10.258.xz 7341784 BLAKE2B 2c678b0915665b599c544cfcd9c9fb98e7d1e3503f038203a19e4294b430f2ce9bfc9003f1467182ca046e1bd7408cc5c846843f96627f8ba64298645ffece98 SHA512 fb7774d5e9e3178042ae53d177a2212f23c996358fc99d040f393916f65ddd89f08733ccdd3002c733db06ae866cb52f1cb1acbadd9cdb7677b673857abdc502
-DIST patch-5.15.208.xz 7682444 BLAKE2B cdb8d906b43d6da18a24b845bef7da5d654934551eeff867be5d8c4afc73030ece1589fbb0ddb379d1e4966ea6d38e31b2d3bffe760edfdade27cc1a1e6b6b84 SHA512 434becb2a1d1ae0f45667bd595aa8766e49b575670d6b192bef07cabc61726913a8edf18044cd82d208c389558d832d95a4cfbb3a94d4f0b766078b5c1df07ad
-DIST patch-5.15.209.xz 7798764 BLAKE2B 21bb560464456b9d9f5a59da46b5ecaf49c0baf22db4d07c9e32e4f3ffe4b677e10a7a69c2ea2a9cd3f853d8d8beb5f8e985d9b8ffa44bd774d814bd34615682 SHA512 df8210ba7819605c0e2927ccf3a341049cdfe751b6e315816c7a810eb744d786422fcfd840309762a283e2f6ba388773471ea9e1af044a1bd76c79e3737e1ce0
-DIST patch-6.1.174.xz 7324984 BLAKE2B 1b127bd530d636de99ed331c4285ff7b610d3bd32db05d5497d484350aa0351b828227f4e20972670ddb954f2558a0cf806bc74f1b4c56f5f0cd974376ee40a7 SHA512 f50ca7d6a257c6e14f4c26477b3bb31963420397e7cdf069e535074e0c4c2f3c1f45c9708393ef85a1afcb28d7fa9509e8b668d26b8cdb36d9a0e5c5cae94fb5
-DIST patch-6.1.175.xz 7484964 BLAKE2B bfd1ffdb00514ef33cd0f9f8a001bb9560749375d0e3a8bcd021ab5555b2b74db8727468accf3f2e7c9ab4d71cf5299a2837b9d702040f7588526f00a3255d1f SHA512 cb59a190328e81a2827a3f8d5cc92e46c9251df49046899e369e63fbd01a424209254596a26dc0bb172d7df5bd1ac4660c256866108e54fbe301f6784fc09ed7
-DIST patch-6.12.91.xz 4651460 BLAKE2B 0e7a11c1ab28e44321833177d59eb3ed7d76b809d91d0b6061113d738ffeb90bc15e214c65fc0d10e77e472c6d76cb94efdc839c3a1de0a6a0a8e1dc6f9b1743 SHA512 3da0673a28ffb1040d565f96d28eca43f4d23ca28842a3df7b764e35c2c4f1d39d24e08e3e7adcf0e5e20e4b11f13aabfd99e8e979eb2c32d32db88352c61956
-DIST patch-6.12.92.xz 4689024 BLAKE2B 5697f552a2d70f30a4db6b54e513fb11bfc73fecd2254518110d8489253f2e458c26920e8b69ab9f4641118039aebb6af38670d91fc6cdfa8091c0d96c3046b6 SHA512 61838ffa430c40ccbee4e29d795e73ccb777a168b285d38ca72364261c3e3f3c3e4426dbcf7b19d9ff5fb830ee8b1ed0fb02120eeb2bf6472dbba3fa4515829b
-DIST patch-6.18.33.xz 1974288 BLAKE2B 4569664a77d67508743839549e3c6f2a29fcc48b4c038f31af498b75e44ba597bd36ef9be28c1933cd8bc8c45b022cf189d74db8ee5c6fbf7528eed837c6df8b SHA512 da1543907531fbf33f8450f2f6ce82e2fb6c04bda0e8f43e8e929ee36673d70e1cec3e1ff68290daec761f273544efa93eb45e2d479ce2272029874109161b90
-DIST patch-6.18.34.xz 2069872 BLAKE2B 68f7f3983cb64862991c4233cce6e36cdef0508e169ca3787849e95033804db7f0ef5ef71aa8671ab1ac3b50b746332ae274f3533b95782ab134cb5b7fff4dcf SHA512 caeb17dc4f7654ef6d415ed081396d0ed06fd46bd713a659367903092da1e9d12f4a237d1d93776c8d73561bf76fc696d69a82289bd61982f785f97bfdae530f
-DIST patch-6.6.141.xz 6129028 BLAKE2B 6168b8ea17e747a840e12b7074550997e1f82a4dffb807639627ad204af2fa266fab60430cb0dd5cb4b614ee60cd9cfd6421cfc656367103c1e2aa9ebc1544d3 SHA512 69d481d206714fb1054cb8ab76b72bc07af72f0785b11530fb7f42bcf321bb2fcb699ac1cf2d0e55415689331acd4f0a68608547efec714f5079bf4e7a4cf161
-DIST patch-6.6.142.xz 6159816 BLAKE2B e2b9f7653dc558b6b71ca2f7d1c0a1c925e75944cf9bf3e1e3464c7fdf2e11163541a7f25c84d11c54b8646418e11d38bddacf2c3220dec0c5d9b224cf8fb4a9 SHA512 1f9efe7067e25e7492b8e8e56c9c7563c9abb951813a6c969c6673e549f661bd2b03db1eca8b2d6dff0cf67a04836dba303deb771ae10a3acd7d8584693c1855
-DIST patch-7.0.10.xz 599488 BLAKE2B 8f3450b8a1c62d5e400bb9c724299ee024a3cb0d2c8006d8d0be36955b64d995d29048a4d7f31e94c6dcf4226ac3a0e007848acb0154c270be906bbb41efd645 SHA512 076c369ec654ff69b701a5f7123d4d4309c48781407a23012e629b7fe7c1dd16d7cf6cc0f069534902eef2e27d394516ed36cb103716bf0bdeca5a4345e4b805
-DIST patch-7.0.11.xz 743496 BLAKE2B 0223bdf2f67a717370226ce0143dedf106d182b834f40db931d377c61614cf4fed0ae49dd4cd54df52d82b8180efe2b12f0bdd4737441633949f2ef7c31b8b1f SHA512 6e20f47171270b47774b1f62f96b81a498544894ccc3c027785c0aec6751ad7b55dc96bc0fcdc52ea7cad57a1501fc651d024a2ac51383e3d753b0dcaeafb76d
diff --git a/sys-kernel/vanilla-kernel/metadata.xml b/sys-kernel/vanilla-kernel/metadata.xml
deleted file mode 100644
index dcee5ac96edf..000000000000
--- a/sys-kernel/vanilla-kernel/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dist-kernel@gentoo.org</email>
- <name>Distribution Kernel Project</name>
- </maintainer>
- <use>
- <flag name="initramfs">Build initramfs along with the kernel.</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.257.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.257.ebuild
deleted file mode 100644
index f8d397dda229..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.257.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=5.10.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-5.10.258.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.258.ebuild
deleted file mode 100644
index d2c69b844274..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.258.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=5.10.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-5.10.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.9999.ebuild
deleted file mode 100644
index 51851f4c6766..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.9999.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=5.10.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g17
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-QA_FLAGS_IGNORED="
- usr/src/linux-.*/scripts/gcc-plugins/.*.so
- usr/src/linux-.*/vmlinux
-"
-
-src_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-5.15.208.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.208.ebuild
deleted file mode 100644
index f5f305dc9eb2..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.208.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-5.15.209.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.209.ebuild
deleted file mode 100644
index 04a52108b02a..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.209.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-5.15.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.9999.ebuild
deleted file mode 100644
index a0d418c6168f..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.9999.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g17
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-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_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-6.1.174.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.174.ebuild
deleted file mode 100644
index a5708029cb49..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.174.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523-r1
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-6.1.175.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.175.ebuild
deleted file mode 100644
index f55c6c96a490..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.175.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-6.1.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.9999.ebuild
deleted file mode 100644
index 5d480685bec5..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.9999.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.1.102-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g17
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-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_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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/vanilla-kernel/vanilla-kernel-6.12.91.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.91.ebuild
deleted file mode 100644
index 34d90ecc3946..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.91.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.12.41-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.92.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.92.ebuild
deleted file mode 100644
index 245306e421cd..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.92.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.12.41-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.9999.ebuild
deleted file mode 100644
index 38537fda9b81..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.9999.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.12.41-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g18
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-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_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.33.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.33.ebuild
deleted file mode 100644
index 327c95c70684..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.33.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.18.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-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_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.34.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.34.ebuild
deleted file mode 100644
index 139112ac7cc8..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.34.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.18.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-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_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.9999.ebuild
deleted file mode 100644
index 28e09347ee78..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.18.9999.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.18.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g18
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-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_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.141.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.141.ebuild
deleted file mode 100644
index 9b8fb33467ad..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.141.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.6.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.142.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.142.ebuild
deleted file mode 100644
index 414519d6308d..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.142.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.6.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-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
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-src_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9999.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9999.ebuild
deleted file mode 100644
index a284f6d35e40..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9999.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit git-r3 kernel-build toolchain-funcs
-
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=6.6.12-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g17
-
-DESCRIPTION="Linux kernel built from vanilla upstream sources"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- https://www.kernel.org/
-"
-SRC_URI+="
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
-"
-
-EGIT_REPO_URI=(
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
- https://github.com/gregkh/linux/
-)
-EGIT_BRANCH="linux-${PV/.9999/.y}"
-
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-BDEPEND="
- debug? ( dev-util/pahole )
-"
-PDEPEND="
- >=virtual/dist-kernel-$(ver_cut 1-2)
-"
-
-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_unpack() {
- git-r3_src_unpack
- default
-}
-
-src_prepare() {
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | riscv | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- 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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.10.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.10.ebuild
deleted file mode 100644
index 7988ebd4f3c7..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.10.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=7.0.8-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260523
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-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_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.11.ebuild
deleted file mode 100644
index 64f531b993a7..000000000000
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.11.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KERNEL_IUSE_GENERIC_UKI=1
-
-inherit kernel-build toolchain-funcs verify-sig
-
-BASE_P=linux-${PV%.*}
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to git.gentoo.org:fork/fedora/kernel
-CONFIG_VER=7.0.8-gentoo
-GENTOO_CONFIG_P=gentoo-kernel-config-g19
-SHA256SUM_DATE=20260601
-
-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/${BASE_P}.tar.xz
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
- https://gitweb.gentoo.org/proj/dist-kernel/gentoo-kernel-config.git/snapshot/${GENTOO_CONFIG_P}.tar.bz2
- https://gitweb.gentoo.org/fork/fedora/kernel.git/snapshot/kernel-${CONFIG_VER}.tar.bz2
- verify-sig? (
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
- -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
- )
-"
-S=${WORKDIR}/${BASE_P}
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- sparc? ( savedconfig )
-"
-
-BDEPEND="
- debug? ( dev-util/pahole )
- verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
-"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
-
-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_unpack() {
- if use verify-sig; then
- cd "${DISTDIR}" || die
- verify-sig_verify_signed_checksums \
- "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
- sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
- cd "${WORKDIR}" || die
- fi
-
- default
-}
-
-src_prepare() {
- eapply "${WORKDIR}/patch-${PV}"
- default
-
- local biendian=false
-
- # prepare the default config
- case ${ARCH} in
- arm | hppa | loong | sparc)
- > .config || die
- ;;
- amd64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-x86_64-fedora.config" .config || die
- ;;
- arm64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-aarch64-fedora.config" .config || die
- biendian=true
- ;;
- ppc)
- # assume powermac/powerbook defconfig
- # we still package.use.force savedconfig
- cp "arch/powerpc/configs/pmac32_defconfig" .config || die
- ;;
- ppc64)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-ppc64le-fedora.config" .config || die
- biendian=true
- ;;
- riscv)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-riscv64-fedora.config" .config || die
- ;;
- s390)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die
- ;;
- x86)
- cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .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_CONFIG_P}"
-
- local merge_configs=(
- "${T}"/version.config
- "${dist_conf_path}"/base.config
- "${dist_conf_path}"/6.12+.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"
- "${dist_conf_path}/zboot.config"
- )
-
- kernel-build_merge_configs "${merge_configs[@]}"
-}
diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest
deleted file mode 100644
index a80d0728e8e3..000000000000
--- a/sys-kernel/vanilla-sources/Manifest
+++ /dev/null
@@ -1,14 +0,0 @@
-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
-DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548
-DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0
-DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST patch-5.10.258.xz 7341784 BLAKE2B 2c678b0915665b599c544cfcd9c9fb98e7d1e3503f038203a19e4294b430f2ce9bfc9003f1467182ca046e1bd7408cc5c846843f96627f8ba64298645ffece98 SHA512 fb7774d5e9e3178042ae53d177a2212f23c996358fc99d040f393916f65ddd89f08733ccdd3002c733db06ae866cb52f1cb1acbadd9cdb7677b673857abdc502
-DIST patch-5.15.209.xz 7798764 BLAKE2B 21bb560464456b9d9f5a59da46b5ecaf49c0baf22db4d07c9e32e4f3ffe4b677e10a7a69c2ea2a9cd3f853d8d8beb5f8e985d9b8ffa44bd774d814bd34615682 SHA512 df8210ba7819605c0e2927ccf3a341049cdfe751b6e315816c7a810eb744d786422fcfd840309762a283e2f6ba388773471ea9e1af044a1bd76c79e3737e1ce0
-DIST patch-6.1.175.xz 7484964 BLAKE2B bfd1ffdb00514ef33cd0f9f8a001bb9560749375d0e3a8bcd021ab5555b2b74db8727468accf3f2e7c9ab4d71cf5299a2837b9d702040f7588526f00a3255d1f SHA512 cb59a190328e81a2827a3f8d5cc92e46c9251df49046899e369e63fbd01a424209254596a26dc0bb172d7df5bd1ac4660c256866108e54fbe301f6784fc09ed7
-DIST patch-6.12.92.xz 4689024 BLAKE2B 5697f552a2d70f30a4db6b54e513fb11bfc73fecd2254518110d8489253f2e458c26920e8b69ab9f4641118039aebb6af38670d91fc6cdfa8091c0d96c3046b6 SHA512 61838ffa430c40ccbee4e29d795e73ccb777a168b285d38ca72364261c3e3f3c3e4426dbcf7b19d9ff5fb830ee8b1ed0fb02120eeb2bf6472dbba3fa4515829b
-DIST patch-6.18.34.xz 2069872 BLAKE2B 68f7f3983cb64862991c4233cce6e36cdef0508e169ca3787849e95033804db7f0ef5ef71aa8671ab1ac3b50b746332ae274f3533b95782ab134cb5b7fff4dcf SHA512 caeb17dc4f7654ef6d415ed081396d0ed06fd46bd713a659367903092da1e9d12f4a237d1d93776c8d73561bf76fc696d69a82289bd61982f785f97bfdae530f
-DIST patch-6.6.142.xz 6159816 BLAKE2B e2b9f7653dc558b6b71ca2f7d1c0a1c925e75944cf9bf3e1e3464c7fdf2e11163541a7f25c84d11c54b8646418e11d38bddacf2c3220dec0c5d9b224cf8fb4a9 SHA512 1f9efe7067e25e7492b8e8e56c9c7563c9abb951813a6c969c6673e549f661bd2b03db1eca8b2d6dff0cf67a04836dba303deb771ae10a3acd7d8584693c1855
-DIST patch-7.0.11.xz 743496 BLAKE2B 0223bdf2f67a717370226ce0143dedf106d182b834f40db931d377c61614cf4fed0ae49dd4cd54df52d82b8180efe2b12f0bdd4737441633949f2ef7c31b8b1f SHA512 6e20f47171270b47774b1f62f96b81a498544894ccc3c027785c0aec6751ad7b55dc96bc0fcdc52ea7cad57a1501fc651d024a2ac51383e3d753b0dcaeafb76d
diff --git a/sys-kernel/vanilla-sources/metadata.xml b/sys-kernel/vanilla-sources/metadata.xml
deleted file mode 100644
index 1fa55ba42b69..000000000000
--- a/sys-kernel/vanilla-sources/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kernel@gentoo.org</email>
- <name>Gentoo kernel team</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-5.10.258.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-5.10.258.ebuild
deleted file mode 100644
index fad89ec105d7..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-5.10.258.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-5.15.209.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-5.15.209.ebuild
deleted file mode 100644
index fad89ec105d7..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-5.15.209.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.1.175.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.1.175.ebuild
deleted file mode 100644
index 099fab28cbca..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-6.1.175.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.12.92.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.12.92.ebuild
deleted file mode 100644
index 099fab28cbca..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-6.12.92.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.18.34.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.18.34.ebuild
deleted file mode 100644
index fad89ec105d7..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-6.18.34.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.6.142.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.6.142.ebuild
deleted file mode 100644
index 099fab28cbca..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-6.6.142.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-7.0.11.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-7.0.11.ebuild
deleted file mode 100644
index fad89ec105d7..000000000000
--- a/sys-kernel/vanilla-sources/vanilla-sources-7.0.11.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_SECURITY_UNSUPPORTED="1"
-ETYPE="sources"
-inherit kernel-2
-detect_version
-
-DESCRIPTION="Full sources for the Linux kernel"
-HOMEPAGE="https://www.kernel.org"
-SRC_URI="${KERNEL_URI}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
diff --git a/sys-kernel/virtme-ng/Manifest b/sys-kernel/virtme-ng/Manifest
deleted file mode 100644
index a40207847df6..000000000000
--- a/sys-kernel/virtme-ng/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20
-DIST bitflags-2.11.0.crate 48906 BLAKE2B 35764719b3070c5f9b51d35297803306ce01823ef07d720e5ea5e112c072b45c4d497f6b63285b1a0fce2842b1468bc252b00564c2ece14211d2af2cd26c2faa SHA512 d6c0de6c06ed8d1249dd69de035dfe5b23d9f1a8fcdc7535756622cf660807c5e1c692dee1ac832c06be1ce41b225e3d60f36be4d1896bab7d986d18946f6c48
-DIST cfg-if-1.0.4.crate 9360 BLAKE2B beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19 SHA512 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d
-DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
-DIST libc-0.2.183.crate 816918 BLAKE2B d0c26ca25b0808575aa540a5f0f43acaaa5a972269c5f101122538a1733b37b6aac3696a0d7298fe16974b06efb0b92072252eef40b17b977af24cc857963daf SHA512 017986d4fa8c362f8900c1c82c7381066382a7272cfe114243b8d47637d042c87b5ebef7881cf46727e00e541a0a8270a32db694ce8d78372672cf08224a90b2
-DIST nix-0.29.0.crate 318248 BLAKE2B 3a13a88375a359cf77b28d7f77f47f178bd31ef74b7627b6701bc6fc601024706be4e9ac1a076c7cba26b64d3bac4de17aab45fe3c045aa7a36e2d9232e872ca SHA512 86c05084aa0e6238f8d48df0f5ce6e6d7661b589f4f3fbdad43387c59c0d6afafea4badf25d31db1611615de19a0b9ef18ce614846b79a47cad4e2c9367dbe7f
-DIST virtme-ng-1.41.gh.tar.gz 126314 BLAKE2B dc5abfeb8f925e33c9e1b213d85a081f0e97ddb40b31ccf862e8c2f13a0e6e258e33ae25414c2eb2fe962eacc36b46d748426c03364d87545ca2e8bd66b3c990 SHA512 aceca43686d8d62adae1d407eb79e735b6423014fa00b3e1d536a6b20588357a6ebe7274a5ed3e924ccdcb8a2547a84b8b0819d8974670eb72ab37c7adfbd6f7
diff --git a/sys-kernel/virtme-ng/metadata.xml b/sys-kernel/virtme-ng/metadata.xml
deleted file mode 100644
index dd39d949be8d..000000000000
--- a/sys-kernel/virtme-ng/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <name>Florian Schmaus</name>
- <email>flow@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">arighi/virtme-ng</remote-id>
- <bugs-to>https://github.com/arighi/virtme-ng/issues</bugs-to>
- <changelog>https://github.com/arighi/virtme-ng/releases</changelog>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/virtme-ng/virtme-ng-1.41.ebuild b/sys-kernel/virtme-ng/virtme-ng-1.41.ebuild
deleted file mode 100644
index 618addbd5673..000000000000
--- a/sys-kernel/virtme-ng/virtme-ng-1.41.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-RUST_MIN_VER="1.75.0"
-
-# for virtme-ng-init
-CRATES="
- base64@0.22.1
- bitflags@2.11.0
- cfg-if@1.0.4
- cfg_aliases@0.2.1
- libc@0.2.183
- nix@0.29.0
-"
-
-inherit cargo distutils-r1 shell-completion
-
-DESCRIPTION="Quickly build and run kernels inside a virtualized snapshot of your live system"
-HOMEPAGE="https://github.com/arighi/virtme-ng"
-
-SRC_URI="
- https://github.com/arighi/virtme-ng/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-2"
-# Dependent crate licenses for virtme-ng-init
-LICENSE+=" MIT"
-SLOT="0"
-
-KEYWORDS="amd64"
-
-DEPEND="
- dev-python/argcomplete[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- app-emulation/qemu
- app-emulation/virtiofsd
- net-misc/openssh
- net-misc/socat
- sys-apps/busybox[static]
-"
-BDEPEND="dev-python/argparse-manpage[${PYTHON_USEDEP}]"
-
-src_prepare() {
- default
-
- sed -i /data_files=data_files/d setup.py || die
-}
-
-src_configure() {
- distutils-r1_src_configure
-
- cd virtme_ng_init || die
- cargo_src_configure
-}
-
-src_compile() {
- distutils-r1_src_compile
-
- cd virtme_ng_init || die
- cargo_src_compile
-}
-
-src_test() {
- distutils-r1_src_test
-
- cd virtme_ng_init || die
- cargo_src_test
-}
-
-src_install() {
- distutils-r1_src_install
- newbashcomp virtme-ng-prompt virtme-ng
- newbashcomp vng-prompt vng
- dozshcomp virtme-ng-prompt vng-prompt
-
- cd virtme_ng_init || die
- cargo_src_install
-}
diff --git a/sys-kernel/xow/Manifest b/sys-kernel/xow/Manifest
deleted file mode 100644
index c07f72327c75..000000000000
--- a/sys-kernel/xow/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST xow-0.5.tar.gz 1035489 BLAKE2B d33950e77596a3c37a0acf35646a5c5a71dd292cfcd51d54e28ba5fcf8d455eb3bb54e30d6cb774b847d160decb26a49c7f35ea29e72240f5f78fe0393c32f9c SHA512 90bfccf3ec3e08789514b0f8a156716161f422c18466af93aaa5d8a9f18dc958072f6eebab0a146e1027d1bff9f19086711ee0c708578e79503a4e2411e48e64
-DIST xow-firmware.cab 199891 BLAKE2B f531a9f4b8220ee4501431b308ee6e29a8dea26467020df25b7fa22228543cc560e1170d13b1cb3490c64c48bf610e3fb7ddfb743e4a2028f5980e02d0c36790 SHA512 0906debd6c1f4706348ec1b1cbf233ea2c45bbc0b8882593740964036808722f5bb701f43da803320609e02072cd16dada572d337fd4c05cc1cf6dde6fd38908
diff --git a/sys-kernel/xow/metadata.xml b/sys-kernel/xow/metadata.xml
deleted file mode 100644
index 1517cad620c1..000000000000
--- a/sys-kernel/xow/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>petrus.zy.07@gmail.com</email>
- <name>Petrus Zhao</name>
- </maintainer>
- <upstream>
- <remote-id type="github">medusalix/xow</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/xow/xow-0.5.ebuild b/sys-kernel/xow/xow-0.5.ebuild
deleted file mode 100644
index 09d017e075e9..000000000000
--- a/sys-kernel/xow/xow-0.5.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Linux driver for the Xbox One wireless dongle"
-HOMEPAGE="https://github.com/medusalix/xow"
-SRC_URI="https://github.com/medusalix/xow/archive/v${PV}.tar.gz -> ${P}.tar.gz
- http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab -> xow-firmware.cab"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}"
-BDEPEND="app-arch/cabextract"
-
-QA_EXECSTACK="bin/xow"
-
-src_prepare() {
- cp "${DISTDIR}"/xow-firmware.cab "${S}"/driver.cab
- sed -i '/curl/d' "${S}"/Makefile || die
- sed -i 's#/etc/udev/rules.d#/lib/udev/rules.d#g' Makefile || die
-
- default
-}
-
-src_compile() {
- emake BUILD=RELEASE
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX="" install
-}
diff --git a/sys-kernel/zen-sources/Manifest b/sys-kernel/zen-sources/Manifest
deleted file mode 100644
index e1600652a52d..000000000000
--- a/sys-kernel/zen-sources/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST genpatches-7.0-11.base.tar.xz 294196 BLAKE2B 11c4d3fa9fa4f8cb7f36e9c2071d73680afcbbc1189519886f233b68d4851f53dffad9d85957c5ea8d3bc9cac395d3c85af44fcc468c39e005f836e5a4b8a9fc SHA512 7e72ac275aa034f7a0a857abf944b99a334dc88041798e0a8f32032a9b4d742353d972ffb037d2ce67c9dfced50e3da29a96c294817530157c39984f5bf2c864
-DIST genpatches-7.0-11.extras.tar.xz 3980 BLAKE2B 0d49afd15b658a460fbc5d1be9056229fb1df32b2d01f8a7219a18d07443c4c3f2234a11d8647d77dd99988ca3a984013b4beeadd6e8aed55ae053df2336de48 SHA512 ef655e7be9d27e92295020745020304738e052ca145c1321d439cd0b8bb8fc55a14ae1bf87fed3d295d690b8fd384557e38e60b219b24096ea47d7c3b76b4a58
-DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b
-DIST linux-v7.0.9-zen1.patch.zst 164143 BLAKE2B c59243f1725022b9ac3cbcaaf9a10b2ea1b462fcebe37cec832278022f7581e9a4b15d5a4cb5c3f49199fbaf5a3bc6e515b0dfb5d4747477d11d47017d8ec43f SHA512 b408cd7baec37d1131020c6c9bec398eb7ea7d2fdc08601bd7b6587b44198062d5fa756e26dfd44c47d43e3056963d3218c7a234ec1385a2dc4d70ffcd8726e8
diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml
deleted file mode 100644
index 46505e84a3e2..000000000000
--- a/sys-kernel/zen-sources/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>brahmajit.xyz@gmail.com</email>
- <name>Brahmajit Das</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
- <remote-id type="github">zen-kernel/zen-kernel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/zen-sources/zen-sources-7.0.9.ebuild b/sys-kernel/zen-sources/zen-sources-7.0.9.ebuild
deleted file mode 100644
index d46fa3a82351..000000000000
--- a/sys-kernel/zen-sources/zen-sources-7.0.9.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="11"
-K_SECURITY_UNSUPPORTED="1"
-K_NOSETEXTRAVERSION="1"
-K_NODRYRUN="yes"
-
-inherit kernel-2 unpacker
-detect_version
-detect_arch
-
-DESCRIPTION="The Zen Kernel Live Sources"
-HOMEPAGE="https://github.com/zen-kernel"
-
-# Needed for zstd compression of the patch
-BDEPEND="$(unpacker_src_uri_depends)"
-
-ZEN_VER=1
-ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen${ZEN_VER}/linux-v${PV}-zen${ZEN_VER}.patch.zst"
-SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}"
-
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-UNIPATCH_LIST="${WORKDIR}/linux-v${PV}-zen${ZEN_VER}.patch"
-UNIPATCH_EXCLUDE="1500 1810 2400 2701"
-
-K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
-${HOMEPAGE}, also go to #zen-sources on oftc"
-
-src_unpack() {
- unpacker "linux-v${PV}-zen${ZEN_VER}.patch.zst"
- kernel-2_src_unpack
-}
-
-pkg_setup() {
- ewarn
- ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
- ewarn "If you need support, please contact the zen developers directly."
- ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
- ewarn "the ebuilds. Thank you."
- ewarn
- kernel-2_pkg_setup
-}
-
-src_prepare() {
- default
- kernel-2_src_prepare
-}
-
-src_install() {
- rm "${WORKDIR}/linux-v${PV}-zen${ZEN_VER}.patch" || die
- kernel-2_src_install
-}
-
-pkg_postrm() {
- kernel-2_pkg_postrm
-}
diff --git a/sys-kernel/zenpower3/Manifest b/sys-kernel/zenpower3/Manifest
deleted file mode 100644
index c3cebb41aed7..000000000000
--- a/sys-kernel/zenpower3/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zenpower3-0.2.0.tar.gz 14019 BLAKE2B ce7d28f2f5f83fc2e44cbc720855816916b6ad6801c7ccdd8845fd385366c8967b0090ed8f94909e4c2488f0f7e11de6dc66f56b2b72dae988325b76014c9004 SHA512 cf4a930dd7a1f8670cee9f364d57acca17c11726c6ff671bdb6209c0f7ea9af1e7c707cd77b20214fdb38a930cfd1e1e0b59c1d9cc738e1bf0fd8e6ee8302a3f
diff --git a/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch b/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch
deleted file mode 100644
index 6cbdd79ea92d..000000000000
--- a/sys-kernel/zenpower3/files/zenpower3-0.2.0-use-symlink-to-detect-kernel-version.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 07dd08e27ecd4580040a9acf2c1d3b910cf23131 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
- <gonegrier.duarte@gmail.com>
-Date: Tue, 29 Apr 2025 13:40:28 +0100
-Subject: [PATCH] zenpower3: use KV_FULL to detect kernel version.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 0dcb668..b24c7be 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,5 @@
- VERSION := 0.2.0
--TARGET := $(shell uname -r)
-+TARGET := ${KV_FULL}
- DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
-
- KERNEL_MODULES := /lib/modules/$(TARGET)
---
-2.49.0
-
diff --git a/sys-kernel/zenpower3/files/zenpower3-9999-use-symlink-to-detect-kernel-version.patch b/sys-kernel/zenpower3/files/zenpower3-9999-use-symlink-to-detect-kernel-version.patch
deleted file mode 100644
index 3d3a04f7b391..000000000000
--- a/sys-kernel/zenpower3/files/zenpower3-9999-use-symlink-to-detect-kernel-version.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From f575836deb3221cde127cb06390dc192d5099455 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
- <gonegrier.duarte@gmail.com>
-Date: Sun, 9 Mar 2025 20:57:53 +0000
-Subject: [PATCH] zenpower3: use KV_FULL to detect kernel version. * fix CFLAGS
- for clang
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
----
- Makefile | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index d108729..37a58ba 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1,8 +1,12 @@
- VERSION := 0.2.0
--TARGET := $(shell uname -r)
-+TARGET := ${KV_FULL}
- DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
-
--KBUILD_CFLAGS += -Wimplicit-fallthrough=3
-+ifeq ($(CC),clang)
-+ CXXFLAGS += -Wimplicit-fallthrough
-+else ifeq ($(CC),gcc)
-+ CXXFLAGS += -Wimplicit-fallthrough=3
-+endif
-
- KERNEL_MODULES := /lib/modules/$(TARGET)
-
---
-2.48.1
-
diff --git a/sys-kernel/zenpower3/files/zenpower3-amd_pci_dev_to_node_id-kernel-6.14.patch b/sys-kernel/zenpower3/files/zenpower3-amd_pci_dev_to_node_id-kernel-6.14.patch
deleted file mode 100644
index b554c49775ae..000000000000
--- a/sys-kernel/zenpower3/files/zenpower3-amd_pci_dev_to_node_id-kernel-6.14.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 787bf530888d15f78f21cf28c4f32da6c48dc881 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
- <gonegrier.duarte@gmail.com>
-Date: Sat, 16 May 2026 13:59:58 +0100
-Subject: [PATCH] Implement amd_pci_dev_to_node_id from Kernel 6.14 and
- asm/amd/nb.h from kernel 6.16
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
----
- zenpower.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/zenpower.c b/zenpower.c
-index 6d47732..9f6e7aa 100644
---- a/zenpower.c
-+++ b/zenpower.c
-@@ -35,7 +35,12 @@
- #include <linux/hwmon.h>
- #include <linux/module.h>
- #include <linux/pci.h>
-+#include <linux/version.h>
-+#if LINUX_VERSION_CODE <= KERNEL_VERSION(6, 16, 0)
- #include <asm/amd_nb.h>
-+#else
-+#include <asm/amd/nb.h>
-+#endif
-
- MODULE_DESCRIPTION("AMD ZEN family CPU Sensors Driver");
- MODULE_AUTHOR("Anthony Wang");
-@@ -150,6 +155,13 @@ static const struct tctl_offset tctl_offset_table[] = {
- static DEFINE_MUTEX(nb_smu_ind_mutex);
- static bool multicpu = false;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
-+static u16 amd_pci_dev_to_node_id(struct pci_dev *pdev)
-+{
-+ return PCI_SLOT(pdev->devfn) - AMD_NODE0_PCI_SLOT;
-+}
-+#endif
-+
- static umode_t zenpower_is_visible(const void *rdata,
- enum hwmon_sensor_types type,
- u32 attr, int channel)
---
-2.53.0
-
diff --git a/sys-kernel/zenpower3/metadata.xml b/sys-kernel/zenpower3/metadata.xml
deleted file mode 100644
index 5958e0b216d5..000000000000
--- a/sys-kernel/zenpower3/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <name>Gonçalo Negrier Duarte</name>
- <email>gonegrier.duarte@gmail.com</email>
- </maintainer>
- <upstream>
- <remote-id type="github">koweda/zenpower3</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/zenpower3/zenpower3-0.2.0-r4.ebuild b/sys-kernel/zenpower3/zenpower3-0.2.0-r4.ebuild
deleted file mode 100644
index 25df5cc6b6f8..000000000000
--- a/sys-kernel/zenpower3/zenpower3-0.2.0-r4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-_PN=zenpower
-
-inherit linux-mod-r1
-DESCRIPTION="Linux kernel driver for reading sensors of AMD Zen family CPUs"
-HOMEPAGE="
- https://github.com/koweda/zenpower3
- https://github.com/ocerman/zenpower
-"
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- # Mantain fork of zenpower3
- EGIT_REPO_URI="https://github.com/koweda/zenpower3"
-else
- SRC_URI="https://github.com/koweda/zenpower3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${P}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-CONFIG_CHECK="HWMON PCI AMD_NB"
-
-PATCHES="
- ${FILESDIR}/${P}-use-symlink-to-detect-kernel-version.patch
- ${FILESDIR}/${PN}-amd_pci_dev_to_node_id-kernel-6.14.patch
-"
-
-src_compile() {
- MODULES_MAKEARGS+=(
- TARGET="${KV_FULL}"
- )
- local modlist=(
- ${_PN}=kernel/drivers/hwmon:::all
- )
- linux-mod-r1_src_compile
-}
-
-src_install() {
- linux-mod-r1_src_install
- dodoc README.md
-}
diff --git a/sys-kernel/zenpower3/zenpower3-9999.ebuild b/sys-kernel/zenpower3/zenpower3-9999.ebuild
deleted file mode 100644
index 25df5cc6b6f8..000000000000
--- a/sys-kernel/zenpower3/zenpower3-9999.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-_PN=zenpower
-
-inherit linux-mod-r1
-DESCRIPTION="Linux kernel driver for reading sensors of AMD Zen family CPUs"
-HOMEPAGE="
- https://github.com/koweda/zenpower3
- https://github.com/ocerman/zenpower
-"
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- # Mantain fork of zenpower3
- EGIT_REPO_URI="https://github.com/koweda/zenpower3"
-else
- SRC_URI="https://github.com/koweda/zenpower3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${P}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-CONFIG_CHECK="HWMON PCI AMD_NB"
-
-PATCHES="
- ${FILESDIR}/${P}-use-symlink-to-detect-kernel-version.patch
- ${FILESDIR}/${PN}-amd_pci_dev_to_node_id-kernel-6.14.patch
-"
-
-src_compile() {
- MODULES_MAKEARGS+=(
- TARGET="${KV_FULL}"
- )
- local modlist=(
- ${_PN}=kernel/drivers/hwmon:::all
- )
- linux-mod-r1_src_compile
-}
-
-src_install() {
- linux-mod-r1_src_install
- dodoc README.md
-}