summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/aufs-sources/Manifest81
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.12.12.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.12.13.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.12.14.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.1-r1.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.2.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.3.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.4.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.13.5.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.87-r1.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.88.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.89.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.4.90.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.49-r1.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.50.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.51.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.52.ebuild84
-rw-r--r--sys-kernel/aufs-sources/aufs-sources-4.9.53.ebuild84
-rw-r--r--sys-kernel/aufs-sources/files/README.gentoo21
-rw-r--r--sys-kernel/aufs-sources/files/README.gentoo-r121
-rw-r--r--sys-kernel/aufs-sources/metadata.xml25
-rw-r--r--sys-kernel/bliss-initramfs/Manifest6
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild44
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild45
-rw-r--r--sys-kernel/bliss-initramfs/metadata.xml11
-rw-r--r--sys-kernel/ck-sources/Manifest28
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.12.14.ebuild60
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.52.ebuild65
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.53.ebuild65
-rw-r--r--sys-kernel/ck-sources/ck-sources-4.9.54.ebuild65
-rw-r--r--sys-kernel/ck-sources/metadata.xml25
-rw-r--r--sys-kernel/cryptodev/Manifest8
-rw-r--r--sys-kernel/cryptodev/cryptodev-1.7.ebuild54
-rw-r--r--sys-kernel/cryptodev/cryptodev-1.9.ebuild50
-rw-r--r--sys-kernel/cryptodev/cryptodev-9999.ebuild56
-rw-r--r--sys-kernel/cryptodev/metadata.xml12
-rw-r--r--sys-kernel/dracut/Manifest14
-rw-r--r--sys-kernel/dracut/dracut-044-r1.ebuild262
-rw-r--r--sys-kernel/dracut/dracut-044-r3.ebuild249
-rw-r--r--sys-kernel/dracut/dracut-045-r2.ebuild167
-rw-r--r--sys-kernel/dracut/files/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch32
-rw-r--r--sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch24
-rw-r--r--sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch23
-rw-r--r--sys-kernel/dracut/files/045-systemdutildir.patch45
-rw-r--r--sys-kernel/dracut/files/dracut-044-bash-4.4.patch80
-rw-r--r--sys-kernel/dracut/files/dracut-044-preserve-xattrs-when-copying.patch51
-rw-r--r--sys-kernel/dracut/metadata.xml28
-rw-r--r--sys-kernel/genkernel-next/Manifest9
-rw-r--r--sys-kernel/genkernel-next/genkernel-next-65.ebuild51
-rw-r--r--sys-kernel/genkernel-next/genkernel-next-66.ebuild51
-rw-r--r--sys-kernel/genkernel-next/genkernel-next-68.ebuild51
-rw-r--r--sys-kernel/genkernel-next/metadata.xml25
-rw-r--r--sys-kernel/genkernel/Manifest38
-rw-r--r--sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch17
-rw-r--r--sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch38
-rw-r--r--sys-kernel/genkernel/files/genkernel.bash73
-rw-r--r--sys-kernel/genkernel/files/initramfs.mounts23
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.49.2.ebuild171
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.52.3.ebuild160
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild161
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild162
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.0.8.ebuild164
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.1.0.ebuild164
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.1.1.ebuild164
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild165
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.2.1.ebuild165
-rw-r--r--sys-kernel/genkernel/genkernel-9999.ebuild165
-rw-r--r--sys-kernel/genkernel/metadata.xml20
-rw-r--r--sys-kernel/gentoo-sources/Manifest95
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-3.10.107-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.1.43-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.12.12.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.12.13.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.12.14.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.13.1-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.13.2.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.13.3.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.13.4.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.13.5.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.4.88.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.4.89.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.4.90.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.4.91.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.49-r1.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.50.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.51.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.52.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.53.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-4.9.54.ebuild28
-rw-r--r--sys-kernel/gentoo-sources/metadata.xml14
-rw-r--r--sys-kernel/git-sources/Manifest12
-rw-r--r--sys-kernel/git-sources/git-sources-4.14_rc1.ebuild40
-rw-r--r--sys-kernel/git-sources/git-sources-4.14_rc2.ebuild40
-rw-r--r--sys-kernel/git-sources/git-sources-4.14_rc3.ebuild40
-rw-r--r--sys-kernel/git-sources/git-sources-4.14_rc4.ebuild40
-rw-r--r--sys-kernel/git-sources/metadata.xml19
-rw-r--r--sys-kernel/hardened-sources/Manifest40
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.4.8-r1.ebuild44
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.7.10.ebuild44
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.7.6.ebuild44
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.8.17-r2.ebuild44
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.9.21.ebuild45
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.9.22.ebuild45
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.9.23.ebuild45
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.9.24.ebuild45
-rw-r--r--sys-kernel/hardened-sources/metadata.xml23
-rw-r--r--sys-kernel/kccmp/Manifest5
-rw-r--r--sys-kernel/kccmp/kccmp-0.3.ebuild28
-rw-r--r--sys-kernel/kccmp/metadata.xml11
-rw-r--r--sys-kernel/kergen/Manifest7
-rw-r--r--sys-kernel/kergen/kergen-0.1.3.ebuild17
-rw-r--r--sys-kernel/kergen/kergen-0.1.4.ebuild17
-rw-r--r--sys-kernel/kergen/metadata.xml11
-rw-r--r--sys-kernel/kpatch/Manifest3
-rw-r--r--sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild76
-rw-r--r--sys-kernel/kpatch/metadata.xml8
-rw-r--r--sys-kernel/linux-docs/Manifest9
-rw-r--r--sys-kernel/linux-docs/linux-docs-4.1.ebuild64
-rw-r--r--sys-kernel/linux-docs/linux-docs-4.4.ebuild64
-rw-r--r--sys-kernel/linux-docs/linux-docs-4.9.ebuild64
-rw-r--r--sys-kernel/linux-docs/metadata.xml10
-rw-r--r--sys-kernel/linux-firmware/Manifest18
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20160331.ebuild110
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20161205.ebuild111
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20170113.ebuild110
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20170314.ebuild112
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20170519.ebuild112
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20170622.ebuild112
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20170906.ebuild112
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-99999999.ebuild110
-rw-r--r--sys-kernel/linux-firmware/metadata.xml19
-rw-r--r--sys-kernel/linux-headers/Manifest46
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild17
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.36.ebuild17
-rw-r--r--sys-kernel/linux-headers/linux-headers-3.18.ebuild53
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.10.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.11.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.12.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.13.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.3.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.4.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.5.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.6.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.7.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.8.ebuild55
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.9.ebuild55
-rw-r--r--sys-kernel/linux-headers/metadata.xml11
-rw-r--r--sys-kernel/metadata.xml39
-rw-r--r--sys-kernel/mips-sources/Manifest33
-rw-r--r--sys-kernel/mips-sources/metadata.xml21
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.10.17.ebuild344
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.11.12.ebuild344
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.12.4.ebuild344
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.4.79.ebuild348
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.8.17.ebuild348
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.9.40.ebuild344
-rw-r--r--sys-kernel/pf-sources/Manifest24
-rw-r--r--sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch270
-rw-r--r--sys-kernel/pf-sources/metadata.xml11
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.10_p3.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.11_p3.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.11_p4.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.13_p4.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.4_p8.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.5_p4.ebuild77
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.8_p8.ebuild77
-rw-r--r--sys-kernel/raspberrypi-image/Manifest7
-rw-r--r--sys-kernel/raspberrypi-image/metadata.xml11
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-4.1.17_p20160209.ebuild62
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild62
-rw-r--r--sys-kernel/raspberrypi-sources/Manifest10
-rw-r--r--sys-kernel/raspberrypi-sources/metadata.xml11
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4.9999.ebuild27
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9.9999.ebuild27
-rw-r--r--sys-kernel/rt-sources/Manifest49
-rw-r--r--sys-kernel/rt-sources/files/rt-sources-posix-printf.patch40
-rw-r--r--sys-kernel/rt-sources/metadata.xml25
-rw-r--r--sys-kernel/rt-sources/rt-sources-3.18.59_p65.ebuild45
-rw-r--r--sys-kernel/rt-sources/rt-sources-3.18.69_p75.ebuild58
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.1.42_p49.ebuild45
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild58
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild58
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.11.12_p14.ebuild58
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.11.12_p9.ebuild45
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.4.79_p92.ebuild45
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild58
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.40_p30.ebuild45
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.47_p37.ebuild58
-rw-r--r--sys-kernel/spl/Manifest55
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch46
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch179
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch70
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch33
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch237
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch38
-rw-r--r--sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch181
-rw-r--r--sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch28
-rw-r--r--sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch63
-rw-r--r--sys-kernel/spl/files/spl-0.6.1-fix-delay.patch33
-rw-r--r--sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch426
-rw-r--r--sys-kernel/spl/metadata.xml18
-rw-r--r--sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild113
-rw-r--r--sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild124
-rw-r--r--sys-kernel/spl/spl-0.6.1-r3.ebuild125
-rw-r--r--sys-kernel/spl/spl-0.6.2-r5.ebuild112
-rw-r--r--sys-kernel/spl/spl-0.6.3-r1.ebuild123
-rw-r--r--sys-kernel/spl/spl-0.6.4.2.ebuild113
-rw-r--r--sys-kernel/spl/spl-0.6.5.10.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.11.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.2.ebuild113
-rw-r--r--sys-kernel/spl/spl-0.6.5.3-r1.ebuild119
-rw-r--r--sys-kernel/spl/spl-0.6.5.3.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.4-r1.ebuild119
-rw-r--r--sys-kernel/spl/spl-0.6.5.4.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.6.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.7.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.8.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.6.5.9.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.7.0.ebuild110
-rw-r--r--sys-kernel/spl/spl-0.7.1.ebuild110
-rw-r--r--sys-kernel/spl/spl-9999.ebuild110
-rw-r--r--sys-kernel/tuxonice-sources/Manifest122
-rw-r--r--sys-kernel/tuxonice-sources/metadata.xml23
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.10.100.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.10.101.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.12.56.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.12.58.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.12.60.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.14.64.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.14.67.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.14.70.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.18.28.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.18.31.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.18.34.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.4.110.ebuild33
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.4.111.ebuild33
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-3.4.112.ebuild33
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.1.19.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.1.22.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.1.24.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.2.8.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.3.6.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.4.11.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.4.5.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.4.8.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.5.2.ebuild34
-rw-r--r--sys-kernel/tuxonice-sources/tuxonice-sources-4.5.4.ebuild34
-rw-r--r--sys-kernel/vanilla-sources/Manifest28
-rw-r--r--sys-kernel/vanilla-sources/metadata.xml19
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-3.10.107.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-3.16.48.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-3.2.93.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-4.1.44.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-4.12.14.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-4.13.5.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-4.4.91.ebuild16
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-4.9.54.ebuild16
-rw-r--r--sys-kernel/xbox-sources/Manifest7
-rw-r--r--sys-kernel/xbox-sources/metadata.xml16
-rw-r--r--sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild24
-rw-r--r--sys-kernel/zen-sources/Manifest9
-rw-r--r--sys-kernel/zen-sources/metadata.xml16
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild37
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild37
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild37
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild37
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild37
-rw-r--r--sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild37
274 files changed, 17711 insertions, 0 deletions
diff --git a/sys-kernel/aufs-sources/Manifest b/sys-kernel/aufs-sources/Manifest
new file mode 100644
index 000000000000..bd240d9cc777
--- /dev/null
+++ b/sys-kernel/aufs-sources/Manifest
@@ -0,0 +1,81 @@
+AUX README.gentoo 933 SHA256 c1a58e146ec0221e684e269ad039d76affbfee53d89badf32c920e7a04b0fbfe SHA512 31bac1d8acbc50dfed3d06cdd6c89f3e9847276e18b9379989cc5a3d3696805d7b020a39fef309d1ea53fae3e42530e26016c621b24019174705173b2264db5d WHIRLPOOL f74a8255f8e830e6b00c44cc4be6e08861b67a769947196ca665214490b53c731ea54861bb48c88b86de0ff78e97e03a1ff9b24b4fb83e3ef0437cb4e164ba2d
+AUX README.gentoo-r1 913 SHA256 4a5a46a50a473c73ba56ee24760eb0d32fe7f8c71e1ddcbf0ffb6ea7d6da3e97 SHA512 b4522a200410fc6b30b36796f60843c4065a136c19477049271d8898d6bb6fb08874071181d0e4c6f5568d271098becead30d13eb904aff64ed8e2faacf21c8d WHIRLPOOL 4c4eedd0b0a3d88c7b05b91338797e1c2093a2bce9abfbff3e84d07d8365e4b3721b54f4eb013fe0b4d5eab8df690f489e96674d75a5ec0876e3d1f50f387331
+DIST aufs-sources-4.12_p20170925.tar.xz 180468 SHA256 e02115928ec0571e03f55a3ff57c367220ab1c6720870860029f9064eb9cc82e SHA512 d9c15393744b2e2d01555940b8be81905ecc00b690c0f3e309735b9b69fdc4032f2815379597bcecd419f731229befc6463ecce0ef211fbdef6986b7d7722782 WHIRLPOOL 4832b20bf144e0f90132c658d1a41b2396637b05bb5e181af2499fb61375701075e720d113cd261e1d5b205dc1dc739166bcdabcb2f868ccdc443187bd0252c0
+DIST aufs-sources-4.13_p20170925.tar.xz 180440 SHA256 9f6a2ef32d0670f3e0002872486adddf7a3f3ed5bb6e62a1addb84ac97358591 SHA512 83272afac48a163467299498712341875040cd6b4788ff4f9b89eb45ff07b9e73f72772a8b179b09da0dbc8a6c10ea2eba706f428cf03e6e214b91a9711cc49c WHIRLPOOL fdc2baf3ccba8a3d4e107a8b99a40848cb01ff61899537eed609c720ff2287e35ceceba3203fbd6d688c0dc8fed89f73dd6295e19c26d6042729ab9fefb5033b
+DIST aufs-sources-4.4_p20170925.tar.xz 171260 SHA256 7b48764f00046a32c900a4c3feecfa7a9c87f26eec3d8c0bcefffe667ea41e4b SHA512 97aed8053f003156bac862af5037844554e65948abc13ab10371eb4e37ace25b22f5787f9bb3d444e60cb598aaa416c22222b12198d8842072407aa5f97bb3a8 WHIRLPOOL 7f1c79ce272216bb19987aa653874bca37fd39a131d482ac40a739a83db49bf79ff94b1d1c16db4b8c7f1af3034dc0451f7cd9e4d2f90f8a4a5f9897e5a69a3a
+DIST aufs-sources-4.9_p20170925.tar.xz 180584 SHA256 a26b314e1f84a849a67bb35b0f46796d77f95eb2aa9c9363feda41a0c4eb5808 SHA512 06d8db9f115fbf89f5bd8f47ff5ef3b0643b7a5d925d82a113c203272d234b9261a214e4eb9ea4fd083c9cf5d6a8bb64e37a7d4b1c47e1e636f6e56eeebe863f WHIRLPOOL cb305effeb391750ab615fa80c6b840c178deb2798d616bd0f1d7621766e73d05b2a3dcc830fdcf8316a51ea4bbae8c4f0ac80f03f0241b4696467f8d1c6aab6
+DIST genpatches-4.12-13.base.tar.xz 227724 SHA256 3267458204389194a541fe3b887b3f42ea143f2f0eb6d7e7196eaf07ab32cd83 SHA512 6088bbe9b0007715e146917cb4288df69ee0d6a4e5628db90005c68d025bd12e304dd9e00e51a5a1a6844ed06a09571e9faec494257fd2aa3d6abc3bc9838000 WHIRLPOOL 87a4ec363cc74a12b76211f89db421062ae16ad453816384ef47782d3cd1dc609d103ab8746f7a5f41851355bc300931a4815bf33f42290eaad8c23c5c97f3d3
+DIST genpatches-4.12-13.experimental.tar.xz 5188 SHA256 93fee6ffdc200c451bbe3a8c96feb343819390171d7d11d0559bd7c2eb24f6c1 SHA512 80adbc13d7478b5c55b0b6380ffb1ba42cc10de8eb996db0457a1df6677e401d612f74ab756a9bab83b99f857af323d9d7fa6c36ace9aa0950671e1843c84777 WHIRLPOOL 43a63c45959046f616619cfcce36c398e55a2aca8c58d744f2a2fbd1123964a5d3d32905878a63e929ba7b73527753e305a1b52e9ba7af66247b714472e6734e
+DIST genpatches-4.12-13.extras.tar.xz 17352 SHA256 89e50dd5fdfe8736684b8b9da3980ef29865c28bdb2f9a86a91b5d90c4c7d3de SHA512 2f7f76e090926cff4c2980215a51cc745d8aa14a9153a8cd6170fee94e21d1b31beae0209d23963c7cc71bbcd0dbc6789e4b3eb0d8c6a0184c128a54bef44bdd WHIRLPOOL bdc6b2b96d38c8d34d384d75d1e95a988fa091295afad6242509ac56cc998784746e2e5e9571a7e2667173d45f9facc1ec498966a3f19c1ce4cd0a6e3c8b80a0
+DIST genpatches-4.12-14.base.tar.xz 233176 SHA256 f6928a595d78550a376cf12872390b5538d5e16e7580f4d9b7d80f59fc0c80b8 SHA512 d2e2d8ad20e12a80042125d246e89c4c6dba2cf6ec0d5aedc3ad863176f022dde72b19caa53a4d92901ab192d19b10ea376bec74c101c4a99eb8c28d4a0a5120 WHIRLPOOL 25fdd33d2646e272c9fc65909f89f79b7b949208a8303bf4b9580764a38672c7c04e6e725abba3d3cecb07867f23c1542a1c41b51719fc59229b6885dea9e90f
+DIST genpatches-4.12-14.experimental.tar.xz 5188 SHA256 09a5c8aafa6e351fec269bf27b51121852f4cfa48d6a68910546ba7e34488944 SHA512 f5ae70cf1fc97b2bc7e11e0b7cc48ec31ec014eb429b2a2189ce7b8f319efb12da36baf8521bebb4b8d64ab5456d800df2dd01b95876865e23380d7d4c632402 WHIRLPOOL bea1cc9028be2b7da931a2e010fa18f184ceb65e584a232e48893623e3d85f0362b4aeb84d5f5b2d0a2ae583ff7fc7a57aa58becb3c711fa9aa6cd96960442a9
+DIST genpatches-4.12-14.extras.tar.xz 17360 SHA256 1af3c73df08a680e8dede7f24554ebd7160fbf4ce3fcbd8d7d008ba6d5bfd720 SHA512 13575b5ba7abb4873c53681ce263ebe0b299edff0be30e6bb9331ef165a88e657009d956a18ed2c3909241e160ed0e9a9680b6e894886bfcd6c8c3b5410ea069 WHIRLPOOL c5070dcb58f0d2fbdb11dbaa02ba83244059c7cc710e66d36a2f604456e74d8bbe674cebfe87dc35fdc0448a6c5bc5f74c43f14a8c40faf17ae03aef6ac8d45a
+DIST genpatches-4.12-15.base.tar.xz 247556 SHA256 a8a14f85d7551b770c461e87c2108f24d520f255b40b4f2ba7660269ce9bf610 SHA512 abd9f433fd6247fde9bd9c6655bd6cb90d56d4b3df6fed7f86872ff620f8502a7d277bd418c7d5d1667c792f85eb568b2cebe981cbd8bf4e4b7d7c3746e33d22 WHIRLPOOL 26a44d05019d19efd8fc7ae153c013ee050c81bc0f7d60644edc0b346c96c683c5b3664a1ee9694a93b77cfabc9a0240c9aeb1d6ecae670f7425aae95d4a54ea
+DIST genpatches-4.12-15.experimental.tar.xz 5188 SHA256 0fb1a60a47025effcba3af7360ffb4995913b455cbf9f4dcd47e3c141f53dcc0 SHA512 af85f2724f767062c06acefb230db5eaae6ae65c68b8d0ba52f7ea9f13cf07adc277929bc9a4e3532ec680c5c0d270d92f1786a21303390e33f41e592d9761c3 WHIRLPOOL 5eeb957c923a4b3db2724445a161bc0f395bb1ddb799d9aafb8509dfa78d15f0477a6ed2a14298d94aa1203d90d616457c46189ed71a87a4cc7b8972985db80f
+DIST genpatches-4.12-15.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58
+DIST genpatches-4.13-3.base.tar.xz 22596 SHA256 112866c090fd45e88c7274c9e477baea9470267a394b5ec1b35d0fecba920612 SHA512 245f6ca8de42ce57ca1316cd30f7bee1417ef15c9e0b8c21fd318d34b226e9ed18cf856695b9ed05ee1ece178bfa81015ff61c573709271c8da7d8072ec7ae12 WHIRLPOOL 2afa998f2d1bf69efd7c18656b475b7fd9466f3fbf1ead806817005f96269a540fbbe6e4b82aeb5513653587fc1760fb3fff0528e514e3f4a6620d219e2747b6
+DIST genpatches-4.13-3.experimental.tar.xz 5184 SHA256 ced2ae1d1a9720e9ba35baef2a598c74470af66168b5d052854753c21d1ef287 SHA512 0ebe570f17c83d9179de527fe8710d7f664d4fb56c7843eb83173886a83b374ef633f3848386f8ffa5e498cb9f0510a4afcc6336e54105bc96271aeb9b0570fb WHIRLPOOL f3996bc58a7fa1ccb856ef2ea8b27035fdd4bdcc6aa52a0b1a3f8774769e95043f7af902d23fbebd7b35c69a0065ee3329363716b4ced157b9749cbfba396070
+DIST genpatches-4.13-3.extras.tar.xz 17408 SHA256 c9ad579a61c6f6950f404ca5717b1e3cca83383fb138594e708723a49474cfc4 SHA512 07543aaccc8d3c8e004d6bc30c551238ffae73a67f025a6a69e1dd7d9840a1023cf8a2c753ca49d296ff0b0f2937ff43c826e3341e5b35fa274e1d02a48af57a WHIRLPOOL 8432644e63e667340c47c20efaca6142c82e69a964cae3dee7644c3598e97b6b0cd0a4d8710b0478275dfb0391441c01608f5f30b6a6de493e807fa5b3650873
+DIST genpatches-4.13-4.base.tar.xz 31660 SHA256 aff863f8f08a4b139bac89b2b988f5fc99f527e60f1d3ec73c50c6bcbcb02ed2 SHA512 b2bc50427d69c9e51e0f05c6e9b800843d844cae6d75d04849ec926bff102f5f8a331579fb5ef23c26c464c2ad968d8ee0f697b53f8a6607d411219d426527af WHIRLPOOL 619f8e7ea1cd51dbc5423afe1ec708e4eba0312719768210f97ca09c0b331d66b2c8d42686fca4bb21768e0310079923fe4853e6a18f2ffa37b86b9deba7ad05
+DIST genpatches-4.13-4.experimental.tar.xz 5184 SHA256 6913c755d227c266d7d841e717bf613fbc2ba376fe50654bd9840e04f0831b32 SHA512 9d1384e824493e98d3fdab28592a3488f7a8957ef4f6a3ac348e0f8812cde9bf8c50ac8b84da8e85cd08e2edbdd6f60a47d44943129f0e3a962c1a856e990a74 WHIRLPOOL 1dd7e5a9727ed9016a3ddef7c656e899aa12571cdda3462e091706665282e5b1b986a4c9353ae713592da2a5e65f82790e3d120febb1f838096ebcb6aa74cde4
+DIST genpatches-4.13-4.extras.tar.xz 17400 SHA256 b1dada7d064da74656a165b3dedaf3eae99222a0bd98c4fe2c36ef215c3e7dfd SHA512 cb18e52f33f85be5470952085759df557113c155a6662e1f4e5c984ea6dbcd55e82232419a49caf13225b8650578e27f9d3d3294efcef02ecfb67757c2cc060e WHIRLPOOL dd807e5f2761665dcfda8d443acd9aba39c93688ce45143c9f70e17415b26493b35384308a54d3df35175f8a62c803535f7758db57bb3a925fec2e7eddaf3325
+DIST genpatches-4.13-5.base.tar.xz 55892 SHA256 087e9641ae95919e0a036c9e37cc2871855892c8edcdefbe288aa35e8013efc4 SHA512 85376475e2f0cae0fe8e87e21230592c29083353fa9e2cbda2b784afcac8c8d7b8b45a5d647e3b2345b35eef2db44cd0384b2776fc42535ff7dfc875a760dea3 WHIRLPOOL 7b144164f2172f0f68c302d91520e9fc83614e560b432f67ff6f46107c1b3e8704e8debb20d2dcaf0b34bc8f9f6dd3e34486be6c3cf875f47a79d130eb84756c
+DIST genpatches-4.13-5.experimental.tar.xz 5184 SHA256 68adad643fc988d4124eaa1417028b8f86d2420bf15ed5a8c8b9e9201f6077c8 SHA512 7c0dbcad5a7428c41d6a38d707fb925f790a4c58e475e44e9769f398f7a7227228bfcb20b584d2074d9ae7c176c1bb555c9b2343388bd7e66d05aaf6eb02382f WHIRLPOOL 970a6fd19c2b5384837cd9a0bb74f9c91454a1483450fea80dbbb9ac30238fc23dce7134d232a89efb4741a4455d5fd708955ed4ddd7cfa23365aa5eb4b3bca2
+DIST genpatches-4.13-5.extras.tar.xz 17388 SHA256 01f538738030621642e65a134db02e46aaf6f70d9411037da67bb1b3852a5866 SHA512 befa0f3ac6d5be18b44cd2c80dd24243baaa57854ec1a65d5440ead2f30993c6008a40846a328d1ff4d2c924c8c3bc40d15c2084739e5e6fdf55433757a20313 WHIRLPOOL 63e470330242a4b7d9222d7193433f0fed3a9e5dce094e9d613202ec8a243b6e24bb6332789a823dfe286b42a907dae207f51fe6a2ad99d8b0e4434d10af576f
+DIST genpatches-4.13-6.base.tar.xz 89936 SHA256 19287d01d68d3f7748379ce646e7739b07f01d9c43d4a129e7d97e7997249c65 SHA512 53de689ddbf13e05c7b319ff1174cd40b6d64032dc6fa173ebfea205ae69a87d4bd86654ba4f12d91d8db5e4289ed21cd597d0f7ef41b7d1ab2faed14750203c WHIRLPOOL b7920f21a46af9ebcf4cecca364c0944486cad37df7d9a5a147a6a277b32b8ccc05e36566b3774c61adf318e2d044ec25b03416542b305d80f4b7c46291d71cd
+DIST genpatches-4.13-6.experimental.tar.xz 5184 SHA256 b5c6003c3dfc39631bf54c3cac423726a6db3ff2082a6c123bbde4fec4c43880 SHA512 5c1a0119eacf39bd9f8b10ac2f0fb56adfdcb4b0b4b1f4e73fbaf5e7d3bc70b6233f600d7928d7445d9dc7591c09431d10dc3dbf5cfcf0ba66487b527e7cdbc4 WHIRLPOOL 4adf3e904d6a15e76798ce8eed4529aa9c9bfb798eba59ad3be9e5b112725ad946fd5c75a2f54357bd6918171aa9d248de983fad540f9bfea7bfc52fb033cda5
+DIST genpatches-4.13-6.extras.tar.xz 17400 SHA256 48a1601631610c44ce61f108105208baab95beec1626068b97914ebbe9a0c180 SHA512 80165679efd59658e618d408ff041fbae823fc76c7edd0e27e383a0fcdcfa3b9776553150bea62b337c38beead90f36a4cd97f45d36e8e252b5f6ea08850509c WHIRLPOOL c7fa0b861ed9f66913358fd4b13fe2cef9118283aaa90eda98d39be22d02aa2c39145356a1657c6a6b3b17a9f30a5fd8fc3c168136b565efce0c142645920c90
+DIST genpatches-4.13-7.base.tar.xz 125424 SHA256 994b898aa71c58666966578eb89f1bd4d7d95ab166c9a904141391e9aaa44785 SHA512 f2b7a2ecf10049026d9591e38cc4c15df6d9290533ea0125e2a3f7b3c9bd6ffe077db6577b964f80807d1910ba74188e5e8600f47095f558b04651d922c32adc WHIRLPOOL 67548caf0f249e6cc6031aa53e4bc98f3e2990380226c95653a1a5ec0f4b5ebb5a293dc7cd5cde124cb88b8ef2db374856b8cf252088b6df5afa5b6c3b4e4e0a
+DIST genpatches-4.13-7.experimental.tar.xz 5184 SHA256 bc5eb8610a712e66c6974ce9986aec76d30a88a31fce29fb90aec50819ea09f6 SHA512 78e765b77276b919f8731f68c9ef240035b502f0febd234a0ef572ed0dfdc589f8057324ec633971d73e083ad8a0e449713dfd82ae8982bacf36379e623feeee WHIRLPOOL 458ee683f01b827be2f8c24b8ca88e78766965c3e630a18bcf6c7c0324967b669e6c43e8f0cfe8f07e6811458235601e918d015a86c8bc36e88cc4f201d543d7
+DIST genpatches-4.13-7.extras.tar.xz 17400 SHA256 25b8b93102267a59e9b586caa67073e962fbc7aa9b6390eddf5e8b49ebc9c85f SHA512 0a849a8b3ed7bfd0418118f7b24c40e5d5fe00b97faa49de6dcd5b26025b7c1fc6b52eb641d2e7ed92ee25b1df392382fec23b074d7494620b2791c69083c7e0 WHIRLPOOL 4c66583a3dd0fcdc98c2d6c4bfe6ff45895cdbb24b4ba7599b88c149c2bf510676de1135ba7129d7c8b1f99fdba42ef154468cc6f042d3f96b6d320cb9175c32
+DIST genpatches-4.4-91.base.tar.xz 1428436 SHA256 d6c806bd868856a9021b35d0bc3ced37029c8803846d6b251fe7fefadfe46c69 SHA512 cdddd25be04b33558f7ebcee66df992aae38f29181474ebed82958d4d50639097b4a82eaf256d7b3576bfcd0cd3fe7682956e1d2cdbdb912d47fe86205d9b554 WHIRLPOOL 8de12e7bdba76256e8fc41738605bbe961fa3fa0ccbe1fccaf0c8cb3708c692bb65a27db7675e42ce5558a22c81b9017742b14d6776ee2b93f4d1d92535942a9
+DIST genpatches-4.4-91.experimental.tar.xz 87760 SHA256 e04a99c94b4dd9f5856dd08ed4b286b19c765d8d0fe40237dce256f7c874dbf8 SHA512 0bbc83e076d45da1d0258bfd7f6acf6170e99891a9a857b2552f3a0fcefff4f318a8c5c8779591b0bb654760f905530de18723f2ba960618eae59a1b7219c28f WHIRLPOOL fb6306af0191198d466b3349c348139342a70de118bcce0563e3209a7ead8a9d56291f3a4155ba4a4d211db8fc1e20ddec3a3b463d62fff5375df823646f7b02
+DIST genpatches-4.4-91.extras.tar.xz 16468 SHA256 6cc85cbae6d2ccf087104b5f719abf10d186d3b630572caeb1906c344c66de76 SHA512 229922945fcb882a0cb7dcba8bac9de51683690462a8df59e181a03d702fcb1c9b54078c5434624b4a197c481f0bb9b73dca58456ef5a5884a30bfd3644dfd6d WHIRLPOOL 81f8fa1676856f0941bc6d09e7e602d2213740bed6edc914d9341bad590650d5a5249fd8bbd2d640380a638ce2a12fd4ec66e0c3753c8d9d22c1fa2c3f07aacb
+DIST genpatches-4.4-92.base.tar.xz 1433276 SHA256 dfe3051458c5d39c8ee9c61f63b0b29f8b3bc26efc0e4010f91cd25c31fd6dfd SHA512 ad6e1aaf436065b6b896e3409bd334da1bd6686d83b0f137db0a392550479cf2e9606799630ac00029e49f7816ebcccb14fb2ede65b634447dd6a98a854d917b WHIRLPOOL 98985a30f1d1c81deaf5b32740cde7ff9b109dd94c0f9d641783a68a33f108d7818e5e53a57cff517376c396d40778223c068b6a778670499bddedd63339841f
+DIST genpatches-4.4-92.experimental.tar.xz 87788 SHA256 a7ed5ca7822a7d3f69cdc1b693d808b627e9bb283843916b8bd45c676d19922b SHA512 7bd52a7d4547dea44bb403a2234f377011a72f69e3a466566f6c86e773e48ed6a76fa321d5664d4c0a8386d402bfc45ece1f59d0dc6b6fdfe1bbeee24e6c1c64 WHIRLPOOL a21924bfd2f548f6fa6ca58b5bd971d47afc8aa5d02d6d975675ca1ab136326b18002eca68baa7692bc99b5f03c5cfd33c907676ff387eec7019f8510b297570
+DIST genpatches-4.4-92.extras.tar.xz 16468 SHA256 ff94045f614320fc7060c48b4952ff30085f86a7080fa388f4cfe65338268052 SHA512 ad1659644ab6351cfd7942f1fe460b4293eef573cfbb3aa9ba8a15cfa6b9d28de339d46a47d43b2be4c110214765948f0162978cf26c8d184e3973c1a2d823ed WHIRLPOOL 5ec5b6a7d5d7f32e4fa3d3c75601b02c7ab5cfd126f4c0abde8f11782b69b8d1f2b38a471d056b60ba7d1662f9a2372d0068aa4338e7f002e1f1f43dc917ff37
+DIST genpatches-4.4-93.base.tar.xz 1447972 SHA256 6e3df3e0fbd4b53b6a2dee29c6b7061229b7659834798fb8f0321006ec86dba6 SHA512 a4acd8ece7f2c31ba2673e3868c91d0fc9e0b9eaec7bf6192c7072776b8ee5ecac6c4ab4e5d8da43d306527d05fe057e2dffbb3f1aec07f4e2e887f26b7caa36 WHIRLPOOL bfb076b708f0ee7833e47a0cb87b7ff2f590ddb46b7673836ec868e7dc52207f056a927b37364e79ccba9dc046ec9521df83b59b273a0f70ff93604d9b9d6fe9
+DIST genpatches-4.4-93.experimental.tar.xz 87784 SHA256 b8c3ffc21ac844ac68a4936421ebb37db2ab51ad3581ec49a68d780649183bce SHA512 daf1279b08d9c4ab416fb3d1edf9ecd0da8ef4f06d4ffb86917d74f3902bec20f415404e986afb1c93f3708b97e89404c8ce53670b4589888788bd47efbb8c5f WHIRLPOOL c11b0b07249fce11dd6daa8a3b61fc68a7d8fb99c9027ce5086ea92d70b8c595ac08b5f9ca2312bd2b697cae086a47747ecedb9252214053c7ef758840eed9ae
+DIST genpatches-4.4-93.extras.tar.xz 16464 SHA256 2aba285ccbffee2ffedc8f2baba8ab9844fcacb3bfdc4713632ff26662975bea SHA512 f7bcfc34534d1b731861990f429a5cb3b29fc43ace6cbb5b321338661fa1482bd13f51c25691aab79d5464c822f5bfb5a30eaefb685acd50601dd9462cc0e9ee WHIRLPOOL 1b9a9e3b690676ef1245d032e6ff4bb9b01e4b72669896d45c3fc03add744cf42133a17c0a9097b5f3a3b6d87b14e80ad9a69772a1336d3a92e71a82dea14f0a
+DIST genpatches-4.4-94.base.tar.xz 1456336 SHA256 113f4486b4043cf201f1f8104b04223e424a12e8af2dfbdd92ec61cf87b6d034 SHA512 26a03c20e813b1322b0e66ef014c31634f631c1ee684b0d78d7e6eb6bac9a4e61802eaffeda4cbc39720851006c6f76061ef2082fa914a7d238b2c9d66d63258 WHIRLPOOL 708ac96f0dc1645406e4d696c4d5f20a11f89f67fc7deabfd04f3f6ca6dd46fd3f963be15abc3f0cc901fe5ca722af9ad3c2029751fd2630cf0cd70c648d80b1
+DIST genpatches-4.4-94.experimental.tar.xz 87776 SHA256 bbbd6c3b82f96dfd689ccef1e28ad25c32a464dab28981e358f9888ad1220bfa SHA512 c84589532e6cfa28ba7a2be6c3d2e1e1884c4bf31587fac81dc7981657244f65877d0c694d0c7124ee8d849db9bbc912efb81deef05a9576ec066ac36b7d2aba WHIRLPOOL 10e1b1fa394fd78bc9f072c36b3ea5f7f3416ae15387939f578f56adae9d92aea5ba5181e82a7bbad8e9617ade7d559f7aa5be90dcea55cbe8a1684b87a1b461
+DIST genpatches-4.4-94.extras.tar.xz 16468 SHA256 a730517dd867182ef90ccf4296f2934e5c03fef20c673a553dda98aa0def8152 SHA512 8a5fc56b3d68dcf746b31802ca9cf21b675da03c45a82f4f98078332963cf97cf8a982e4b6bda0345397eb7a41e1016d2761dfcd83482f6eec627c9d58c7e4aa WHIRLPOOL 304619cb82997c26d8fe779f0a2680b8d4d010852085ac28ff680191a273557b015f462696d39f61d15ca389c181c7029ea3f7ca70fe122ef7a532634494d3af
+DIST genpatches-4.9-51.base.tar.xz 1001928 SHA256 4a329d66dedfad74d8d03bb3d13b6aa2ef04d20ccf2520d39b72b0afab5cbfa9 SHA512 2ab0efa23c556547bd223f066acbebe250346064a3588ee866871e36e3b5b5533ca7a3add6a62b53339acf89dfc8539c42b3877b5a2055ca7e20bc25c5657ca5 WHIRLPOOL c73a7b7c12e399439b3f97061646aeadab5120aaab2c8f8852416ccdbb6a77949b4946a31c1abad910ee1fbc837bef3e86975fd9242a3b8649fbb77f0dddf7ca
+DIST genpatches-4.9-51.experimental.tar.xz 106416 SHA256 19a1d1355f4328e9703157b2a37acd97af98952e73c6d3d18b49f6a35a6064b3 SHA512 af7a00b9a3200a50341b9af607fbef362ead2e4f5ca35d58eec505de490c03d6366ab4645e35bbddd6903ac75396413d2902b6a9fc7e2c9d0d1d1254620cfdb3 WHIRLPOOL 23d8d92dadd653c1ef59d8aeab08f3e10246e3dc73ac8e106e1bb51b18c597324188eda0775095d3759829c6095cd06e9634431d86900ca3aca0ec6719ab2ef5
+DIST genpatches-4.9-51.extras.tar.xz 17356 SHA256 71d1693dc64d8473b41f5e80e7727b6cc0a74fb632511b3fec0b46a57c0dc26d SHA512 e05c44a5ad1b68afb04647a86efc6f67e03515861e670e39f960c0a02b87fbcb71194efa6773259ee2be5c8362794a5bb6512e876784d5a521d8890865b3ba0e WHIRLPOOL 50d19a31d7cea180980fefa87ef14d13d844539968a353a4c15e86c86913b66e2c8abb45fde999878afd96b78a4e9d81158716a1cbc0f7a6e5fd5c26b33b05b1
+DIST genpatches-4.9-52.base.tar.xz 1005324 SHA256 2c82e925d4189ae88764ea5ebdade33eeab928ef3f17416639bbdeae847f666f SHA512 b7fb1f54548221e9cb62c4ef0a0c21452ac8bbfc0b44562365534010dfce809ddee7c87c06c43011b61f07dbea5d314a56182d73a37535954331357fda1c96f9 WHIRLPOOL d31a223bd1d4b21f72430b5e5fa18b5260ad63c599f949bc269787ae72ff90bc0c63ad2b69a4681f4177641ea2979dc04aab126f8f12f26b05af18be7b086e26
+DIST genpatches-4.9-52.experimental.tar.xz 106380 SHA256 31b3fb3e2e6d063b27b7edb8d77e3f018a88e951b12152fbf0a8554e2c3fdd73 SHA512 77a349203acb4a58c984a5f381fd3cae5ea4f10fe0421f1d0355416bba99aec0f0352c6c3df6a19c8cbfa5ac90713d64eb87215c1f0fe34bdd20f076fa1b66db WHIRLPOOL c27c7b5bbe30dde070f36c044f49a0cd7578ab2126b7bfbf2ff130204742997604f82420418d54d4543efff0cc41bc4ae3f9f7e4929b5f9d7255ee9ac8228fa0
+DIST genpatches-4.9-52.extras.tar.xz 17360 SHA256 1af3c73df08a680e8dede7f24554ebd7160fbf4ce3fcbd8d7d008ba6d5bfd720 SHA512 13575b5ba7abb4873c53681ce263ebe0b299edff0be30e6bb9331ef165a88e657009d956a18ed2c3909241e160ed0e9a9680b6e894886bfcd6c8c3b5410ea069 WHIRLPOOL c5070dcb58f0d2fbdb11dbaa02ba83244059c7cc710e66d36a2f604456e74d8bbe674cebfe87dc35fdc0448a6c5bc5f74c43f14a8c40faf17ae03aef6ac8d45a
+DIST genpatches-4.9-53.base.tar.xz 1032388 SHA256 f36bd451866b656bf3e7dd4f5accb03e61c332aa3c9837b2bbe4697a87198cc8 SHA512 4a17fcb0f8f86baad909e808a53c6b6b04480e582d6f00e86225e4a60463e942ecc02f0de822acd733eae870c1d76aab3b295d2c0b7c79a22e2b6211b93a6d29 WHIRLPOOL c88fad18a5a390f868035057fd7485fe5d6e09a8f77f1bfbc5816968ffa6f5cc1f38b1b6427ccf9f2f1043dea04dc27e131c632a11f5e985610345b7a5cda72f
+DIST genpatches-4.9-53.experimental.tar.xz 106396 SHA256 d7c1f6c822d7fa5dc33b290d909e4432d66fecf98eab1f641f4af948aaa9c4b2 SHA512 4e2831bd84a18b204739d93ca3a33ed19224da614e12823a90181dea6213dbbffa5e52e4db1a9529abf9d762af6c918da33936231f7def4c82e95e766b32394a WHIRLPOOL 8c3f16bc66e6b676508fd4752fca8c00dd7e496ae64ed3ae957dca8b4e6ac3d2d299400550c4f1af2a3c5da3c370c472a330cdd6ada93bd388ae49dfef034b49
+DIST genpatches-4.9-53.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58
+DIST genpatches-4.9-54.base.tar.xz 1053504 SHA256 ad6728a6e84a45aa9a84215f72ba1daed8c9681b61d9470b0fed24c285aec82a SHA512 3e64d39f3d7d0c1d68cca6b27df1e374970f0b42f47ff6bc900a1a12d1305093efafdccc28a1ba89404397ad285298058e882329f651e8d1031ddc86dbf06c40 WHIRLPOOL 7c22db4217a2604a05e8f4a9817fceabf865b00c7c33df95cfc5a09af6ffa84d809930c221f55cb9b500cc8d57b2e43f70f80e622a19fb73e0d068f2ec2be18d
+DIST genpatches-4.9-54.experimental.tar.xz 106360 SHA256 9c5b4ec4005bf50556163cebe4a4e577cffc3ed0ab06a40cd79bc7e9e33a964d SHA512 ace1650a90d70f1ab6d938d2509c44ff1911178161bfa6f060f5eb078b9c83d031709dc483f3481afc82c34b705cd9dd653c95c9b53817c79b0e632f970dad10 WHIRLPOOL 50c40e6160a92d98e568b3d55b336c4400cb8faff7fcfa5c71a8172e5149468b0483874c8531270f6f15b48f84fb3c47dee8ec01870c3331a150226c748b16ac
+DIST genpatches-4.9-54.extras.tar.xz 17356 SHA256 70314b113191df3bcf461537c5c5789ce990311affcb41e9d00b4a4d1f674659 SHA512 894f37761c80304fd12e20d9b2a11a56475484dd2a4504f4aada6b48854e752228256d56dfc328c7633996a16f4653af0105698b6a230619d9a3364b9d08a265 WHIRLPOOL 3fddbc03354fcb2b3c72caa7462a36d16a0595304da2ff9df0614925e252e3c15c38138b4f07789333c118dde992569c7cbbeb019b5052bc0ff18e87fb08cf6b
+DIST genpatches-4.9-55.base.tar.xz 1069704 SHA256 803d5d028875b905bb4cbff7b2258786e7199095e68e3b2cdf8134dd22f11c20 SHA512 a1156e41e1499218e3fb1c6ef0bb66fb6bcb93b4076c3c780f60ac23b340d13e3e9f4a38e62bf066c765e9a65d2cdc9266d9358fbea2c1bed3a491d8b7d40875 WHIRLPOOL 8af62aa544f5e0f2c707b7537c80f09ffdbfb454c634f551242917fedae070eaeb8c09a98638f9eaa6adaafd1cbc45cacfa50d4687b9e036234d6749938d7451
+DIST genpatches-4.9-55.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e
+DIST genpatches-4.9-55.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8
+DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
+DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+EBUILD aufs-sources-4.12.12.ebuild 2236 SHA256 7197753a20e9ba57fbc8d442db777f691a8655191e195b05c0928d8bfff21ff9 SHA512 f4ae547bd69bac701963987bb6827ed3d41b0841cf021a38c2be4dad153fa0a77e4ffdd8c443dbd5e5f96ae9ec81ca02efebcd1c8b45d6f6159cc73e1dcf7bc7 WHIRLPOOL f1ba6d8117aad34fe88d6daaa0369876060dfaa3c5fc62cf7752fbd4b9fd2c6510a19dc39faa4028e44f0a40078d75c5d8145cd761e561de0c148f5fa3352160
+EBUILD aufs-sources-4.12.13.ebuild 2236 SHA256 da73aa2c010195ac068facd0ff7cccb863ca6401a26d8a1c19079c3e45ce3ef1 SHA512 e724a6e1858469d7ca9330caee8be987fac884b21d800e2f0b90c1dd47b390daa81dade931673f54194c1ad6afb0a5f2a1623769f4859db812861ce917e2bd29 WHIRLPOOL ddea99c4ccf7f58454d39aa9560eee2ed81622a4cfc84bdace78c6a7301d4f40fad9ca21c7986146ef556017dcc742d7ddc4cd3adbac9b25f5034ccfe91c608b
+EBUILD aufs-sources-4.12.14.ebuild 2236 SHA256 36161bc119555e132c44a01e31e091431783f630fdbed9806a85f88dff5c5840 SHA512 0b1771c7d0151706b40c5b4f2ce11e65bc099e539464a26c413ce847f7334baa01d3bc40cb899c3f3c33538dda0d82e5cfebfcc7103ccf02cbb0c13473202b83 WHIRLPOOL 206db3fa058641127a7a1db710fba4748fa6d6172a6b8081b35d279abd2ccf23f80c9c8bbad8fa71a49c905def63a9f76d5eea76a77a39a5ba56978ac5f4883d
+EBUILD aufs-sources-4.13.1-r1.ebuild 2235 SHA256 aa2741dac403d8a192fd0d65ba79b8c99c127dd6dc0648eb3a52d2a89fb31029 SHA512 a73c7fffc938954b2587b95336eb77c5c0588f1475f79bcf97cdea4ff30d3e4d44fed0fd62be4691eecef5742dc3b4de3825249ec93bfbd85a23d748fe08e3ed WHIRLPOOL 6ec2f324c3858e3c198260e7d7b59fc0ff55f402467423f1554bf7c0e3afe401a24f19da27b6c81431328600b3458b09d9b92c6ebfba46ccbf8f053533c23c49
+EBUILD aufs-sources-4.13.2.ebuild 2235 SHA256 e8fd071d195bc29ad1b0c764c5f9b38a81245f09cdc2fd9573f5597e75bdf02d SHA512 1948301e8d879816b00a559ceeb5084d5415c8561d89f98a55fa07b0fa00e4f99b725ac4d77c056b40668153f19922f600a10f929d92c64c2cfe22eb441b5e0f WHIRLPOOL c1a4d2507044fceb8f1e2cd0ebff4a969083dc112fee6198d4910dd2db23370f4e7d0af73a20e5aea0c7818356c3ff6552a264018535ff72106941eeec87e9cb
+EBUILD aufs-sources-4.13.3.ebuild 2235 SHA256 ef12091e6ddd79fb9654580c6d335befca1ac24319b445cd2de5d056214f87f0 SHA512 57ad1dce7b518772026ee0f3931cdcab609042bc2b6a41b1fd68f8c484a2d52a0c061e6796fdd0f55257e744eec3920c82088a0c5eb175e78e6413a2cfbc26ac WHIRLPOOL 4ee8dee143dc849bca600b51ef05bf0f05aa7cee7d907ecffe630fa4766476f5e3d25525aba16c8e296357082588644259b9dd8f2328fc183bad8109b56518ef
+EBUILD aufs-sources-4.13.4.ebuild 2235 SHA256 8b38d35f6b65f884cab835665a43dd1a07b3dab76f9731de8be2f4ffccfc35b3 SHA512 31b5e438d28b64bff7e343688ba36ca244ec08746542420ad37ed61a2d0d073e4aec921830fb48da593f384f2d50976a62c397ed634222bf3b9cd0032312a52c WHIRLPOOL a19319c15f214964fc849a791e41483cf285d926f4004014b8ba469eb906ff5b53ada2d267ce9186edcdfdd62d29d84f1b1f6d806798689b263ed77020a523a8
+EBUILD aufs-sources-4.13.5.ebuild 2235 SHA256 8ad8dd0daaf1047a76801314c2569d68f4a7dcf58cd572d8864a756f10f3f7ec SHA512 a17216360b44a19a618dc800daaf87e89fccc9d6f82d0e82d0237ada4da3555c1d18eb9585b5742466a10c3fb40e5622d008395d27bbfa19aadb9fd0dbae0360 WHIRLPOOL 19cb863d8d4d92c3d87fb04b04136bbba3f1179c57137230dbccd512bf2a77b263a067ca8a255dcdbac2d57603d4dbcfdef20b45197f97bb6b0100bd227280d7
+EBUILD aufs-sources-4.4.87-r1.ebuild 2235 SHA256 0efd7fd48cdcb780bf21ad729e556dce14aaa91e3103cc5eda28a6b010a575fa SHA512 686bff5fbc4deb8870f9afc21edee4ff023b8c20adaad098ab8fefb1eeab0cec2560e79466981158aeb6085faef45b872289920ffd3e920e25e303cfe2d28d9a WHIRLPOOL 1ec67cdaa38219174c20ef5239be3d7ae25f47f87c9bfc3514fe5cae8fb26d55982788ea53deebe85012f50266137a13162ee214ae9ddf92a11750a2a16b8af0
+EBUILD aufs-sources-4.4.88.ebuild 2235 SHA256 ca6b5f1f6de1618410d4a9c3a729d62fa9eed79099a2eb0882b55a898da98e4a SHA512 16aeb5251904342f07cf222a22f99917a2bc340ec02a119aeae4b03c9141a2d543af8ae7108940fbea9aa004d6cea1b3a517161c15fd69f1125ab9bc288f7bae WHIRLPOOL f7978e200cf50e12cce96325bc411a4109e3a1d95677f886697e0b7748d8b6df8eb197c9fcdfd6037e071d9e4b7a8dd3a6379527482a7055bb6313e0e9fe52e7
+EBUILD aufs-sources-4.4.89.ebuild 2235 SHA256 9a2bbd9191cb452ea8ca99cb121ca22bb980e902ce0372b11b632568b1616852 SHA512 683eecc43e38249386fe3acf418800fec762a44102221a625bc340fb156c7c20d6aff2df4cf10478d2a647fbf4d42b87fa022acd25ab83fd6dc59e27fb7d2335 WHIRLPOOL c3ec9eed61c9874db0eb6bc53b9988e0f8888ae29d318ec4e9ffe471e92993870d1681337ee7d2cf5bd0b366dd30e27ce25ae183a3db1866a640fde1cda46177
+EBUILD aufs-sources-4.4.90.ebuild 2235 SHA256 0dc7ec13d36b2d0ce52a505b24457ce7088fd02a8aad3728e1e93d1a778c7d1a SHA512 5e52362e1124d0b1705e3f2aa8a9f827283c2c11ac939c7aa08d49586ff7dd2c493378761b4ebc4e4331da425f8f3f75807fbd017b27873c01e9b51891902281 WHIRLPOOL e6db9d46da7e3abaace8033d3a90b1ab31be691d8f1f9bae1e1f2a3b221c2e15f2ddc1926b6d875aa820f624af8ba3e5e3628155dec5adf93394ea76e5f200c3
+EBUILD aufs-sources-4.9.49-r1.ebuild 2235 SHA256 1fdabe87b20c5104ecd0a70a3717863daaaec5314c0e3f679123ab1feea29625 SHA512 f2968a9900eae2f9ae3309b726810ec9441348e0b40abcaf0b817145707f737cad8a34127c4628d06424863fec1d13b1ebe0285fad492c683a26d1f5502ca8c0 WHIRLPOOL 028d7b564b0a06ad1a900a350eff8ba25929ea79e537ddfd675fa821d73c4f125d078c3ae80fa5ef8ddaf403c4bed022a2e94159624ea04849d3c078c32baefe
+EBUILD aufs-sources-4.9.50.ebuild 2235 SHA256 f8d71b8c1ef2c41f9706aa2fb7b054f052ebddca089961665bab231dd104bf98 SHA512 85847ee51eadd704e7ecd7228e0c9d98020729bfd939edc0befb13b018171b86af280e5a9deda192676e65e48b9a19a6665a22c47774042cc1d6505ad7b840df WHIRLPOOL bb2bd5904c1faa09ca5925baef7ee339a764ca939a20690e20797233a727c727bbb0ff180b2290ded838803cf4d75bd4b7fcc64c1c25a2635de2deb084090cdb
+EBUILD aufs-sources-4.9.51.ebuild 2235 SHA256 0beee6d75c8f7484c9e37edb08a1ec418aad5e6858c4ebc85a71495dde4783cf SHA512 bcc32349a4579dee23d3d8427832dafc77c103a8fb22f9581f842a3b170f5a28c78120f1ce56518eeb668479517e019ce19c9735a575c0272446293ae27cf0dd WHIRLPOOL fb08eee9a24e41639fee277624cf563ec512a691d436ab5e1f475021478b42273b2c9d991ac8083dd27a3c3fe3407d1cffd212d5eb4c74c5a152b245579ed980
+EBUILD aufs-sources-4.9.52.ebuild 2235 SHA256 6783febeeb177ea7aede6bf6b9e31ceaaea497eb2ed085bfb5336c144d73c0fd SHA512 f78931cd0625a4695bc9cc1e864940bfe30ac977707f376574a25cde5504255cf8c7b273bab5d3440c6e23d7e608d0c7cef4318f89a89c6b1aa97b3e3c268bc2 WHIRLPOOL 6689217f2b1d5f85d55429b41f3b245f5f0bddfd1f54ba4e6e9ae85b4dfcf4ae0a308acb7a2d178dca873d9c244a4810a39fc68d5165b918d428fb7704ac81cc
+EBUILD aufs-sources-4.9.53.ebuild 2235 SHA256 876494503eb67c864415f3648ca1aefd37bec5c0d7d9716fd1d3f799c4aaf24d SHA512 0a3d1228c2ebebbae614e6da460cec731bfce4735ac750923d61480691cf5195b15a1994281ac4d05516470c4b18c90b7c97d74e20e2bef50d92b8a52db9ee4c WHIRLPOOL 820ad312debe502480ec20622d4edff5eede7e1ba52f5c1e98c5b3a92ca2548eeff05e456ea79039224f9ae18f5a4c32960354885fb38a324b00693f3efd157a
+MISC ChangeLog 22242 SHA256 f82cfee9cea2fe42cda38b43410eefd727dc68a1b03bfa83bcca6ee7f53f6fc1 SHA512 08e13df93a331b205a1fe6541484dbc0e1fe7fcb9317945d65b1e78e54efd6d8d1469733af4b29759b54b786fb18daf976b1cfa45c7171f3c24705d538a1ec6b WHIRLPOOL 0dac0da02a1501e2c200d52726bb7c3c70f6b02c43679ab70079be8063f0a8e1c49ea38ef171e54342e76963814381fb3d5c705c181f3c718a4228a69d797333
+MISC ChangeLog-2015 50675 SHA256 526e7bca65edf8f620189e8285d6f6cfcc7ec2633651e348669e77f102035a7b SHA512 cba4676e581d900f479f7e473c6da83a95595411c02553dfea23101ebae1fc88ad61046236acb29ee69428e567f99ef829b06629a17f3d5d1af23071ca48294a WHIRLPOOL ec59c7c4a025bc56b19aa074ebe52213afadfc4d0d4e71e89d5ba3aaf30a62f8fc5042571c65f4fda9c74729a217507f4dd922fa85d416cb6c5133df44d7522f
+MISC metadata.xml 808 SHA256 14e73735003711f0e49a31899869dffd127d7ecdfef551eb9a736d3f02b7e5bd SHA512 8a4a692c3c34672363c1f0021e300409be9ce7b829e966c9f508acaeaddb3719fa862a341153d457f8531ffbd502056dd54affbe3d3ed2f654c628a31735ea2d WHIRLPOOL a14387394df569fc7f129545d051c7b1389e84ac9c66de21b76ae8da3b2a0a7e6bf28ebbcf62573dd6499cc020517dc7d44c811dfff5b2fb67285feb3ae96d69
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.12.12.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.12.12.ebuild
new file mode 100644
index 000000000000..b3201f57473b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.12.12.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=13
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.12_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.12.13.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.12.13.ebuild
new file mode 100644
index 000000000000..55b1f2a99c3b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.12.13.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=14
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.12_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.12.14.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.12.14.ebuild
new file mode 100644
index 000000000000..3b28062d8065
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.12.14.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=15
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.12_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.1-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.1-r1.ebuild
new file mode 100644
index 000000000000..3d7abe03291b
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.1-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=3
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.13_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.2.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.2.ebuild
new file mode 100644
index 000000000000..970e425c8aef
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=4
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.13_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.3.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.3.ebuild
new file mode 100644
index 000000000000..18babd9af7a7
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=5
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.13_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.4.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.4.ebuild
new file mode 100644
index 000000000000..09c013dfc3aa
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=6
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.13_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.13.5.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.13.5.ebuild
new file mode 100644
index 000000000000..ac245a0b7940
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.13.5.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=7
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.13_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.4.87-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.87-r1.ebuild
new file mode 100644
index 000000000000..48a7dd858886
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.87-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=91
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.4.88.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.88.ebuild
new file mode 100644
index 000000000000..d22cffbcab10
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.88.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=92
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.4.89.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.89.ebuild
new file mode 100644
index 000000000000..f1c70b139f97
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.89.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=93
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.4.90.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.4.90.ebuild
new file mode 100644
index 000000000000..56a3283d83a2
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.4.90.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=94
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.4_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.9.49-r1.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.49-r1.ebuild
new file mode 100644
index 000000000000..918a9052d2e2
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.49-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=51
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.9.50.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.50.ebuild
new file mode 100644
index 000000000000..2672cda68fed
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.50.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=52
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.9.51.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.51.ebuild
new file mode 100644
index 000000000000..fa269d5c2788
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.51.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=53
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.9.52.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.52.ebuild
new file mode 100644
index 000000000000..d4bc9caafb40
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.52.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=54
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/aufs-sources-4.9.53.ebuild b/sys-kernel/aufs-sources/aufs-sources-4.9.53.ebuild
new file mode 100644
index 000000000000..1180da3a270d
--- /dev/null
+++ b/sys-kernel/aufs-sources/aufs-sources-4.9.53.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER=55
+UNIPATCH_STRICTORDER=1
+inherit kernel-2 eutils readme.gentoo-r1
+
+AUFS_VERSION=4.9_p20170925
+AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
+# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
+AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
+
+KEYWORDS="~amd64 ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
+IUSE="experimental module vanilla"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the linux kernel tree and aufs4 support"
+SRC_URI="
+ ${KERNEL_URI}
+ ${ARCH_URI}
+ ${AUFS_URI}
+ !vanilla? ( ${GENPATCHES_URI} )
+ "
+
+PDEPEND="=sys-fs/aufs-util-4*"
+
+README_GENTOO_SUFFIX="-r1"
+
+src_unpack() {
+ detect_version
+ detect_arch
+ if use vanilla; then
+ unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
+ ewarn "You are using USE=vanilla"
+ ewarn "This will drop all support from the gentoo kernel security team"
+ fi
+
+ UNIPATCH_LIST="
+ "${WORKDIR}"/aufs4-kbuild.patch
+ "${WORKDIR}"/aufs4-base.patch
+ "${WORKDIR}"/aufs4-mmap.patch"
+
+ use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
+
+ unpack ${AUFS_TARBALL}
+
+ einfo "Using aufs4 version: ${AUFS_VERSION}"
+
+ kernel-2_src_unpack
+}
+
+src_prepare() {
+ kernel-2_src_prepare
+ if ! use module; then
+ sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
+ fi
+ cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
+ cp -rf "${WORKDIR}"/{Documentation,fs} . || die
+}
+
+src_install() {
+ kernel-2_src_install
+ dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ has_version sys-fs/aufs-util || \
+ elog "In order to use aufs FS you need to install sys-fs/aufs-util"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/aufs-sources/files/README.gentoo b/sys-kernel/aufs-sources/files/README.gentoo
new file mode 100644
index 000000000000..d9afb84f74a6
--- /dev/null
+++ b/sys-kernel/aufs-sources/files/README.gentoo
@@ -0,0 +1,21 @@
+
+There several other patches in aufs3.
+They are all optional. When you meet some problems, they will help you. You
+can find them in the documentation directory.
+
+ - aufs3-loopback.patch
+ Supports a nested loopback mount in a branch-fs. This patch is
+ unnecessary until aufs produces a message such like "you may want to try
+ another patch for loopback file".
+
+ - vfs-ino.patch
+ Modifies a system global kernel internal function get_next_ino() in
+ order to stop assigning 0 for an inode-number. Not directly related to
+ aufs, but recommended generally.
+
+ - tmpfs-ibitmap.patch/tmpfs-idr.patch
+ Keeps the tmpfs inode number as the lowest value. Effective to reduce
+ the size of aufs XINO files for tmpfs branch. Also it prevents the
+ duplication of inode number, which is important for backup
+ tools, aubrsync or other utilities. When you find aufs XINO files for
+ tmpfs branch growing too much, try this patch.
diff --git a/sys-kernel/aufs-sources/files/README.gentoo-r1 b/sys-kernel/aufs-sources/files/README.gentoo-r1
new file mode 100644
index 000000000000..d59b18d63cb8
--- /dev/null
+++ b/sys-kernel/aufs-sources/files/README.gentoo-r1
@@ -0,0 +1,21 @@
+
+There several other patches in aufs3.
+They are all optional. When you meet some problems, they will help you. You
+can find them in the documentation directory.
+
+ - aufs3-loopback.patch
+ Supports a nested loopback mount in a branch-fs. This patch is
+ unnecessary until aufs produces a message such like "you may want to try
+ another patch for loopback file".
+
+ - vfs-ino.patch
+ Modifies a system global kernel internal function get_next_ino() in
+ order to stop assigning 0 for an inode-number. Not directly related to
+ aufs, but recommended generally.
+
+ - tmpfs-idr.patch
+ Keeps the tmpfs inode number as the lowest value. Effective to reduce
+ the size of aufs XINO files for tmpfs branch. Also it prevents the
+ duplication of inode number, which is important for backup
+ tools, aubrsync or other utilities. When you find aufs XINO files for
+ tmpfs branch growing too much, try this patch.
diff --git a/sys-kernel/aufs-sources/metadata.xml b/sys-kernel/aufs-sources/metadata.xml
new file mode 100644
index 000000000000..ee9cfef440f5
--- /dev/null
+++ b/sys-kernel/aufs-sources/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="experimental">
+ Apply experimental patches; for more information,
+ see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".
+ </flag>
+ <flag name="module">
+ Patch kernel to allow aufs being build as a module.
+ </flag>
+ <flag name="vanilla">
+ Use vanilla kernel sources without applying genpatches.
+ WARNING: This flag will drop all support from the Gentoo Kernel
+ Security team
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ <remote-id type="sourceforge">aufs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
new file mode 100644
index 000000000000..d9341e49ac55
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/Manifest
@@ -0,0 +1,6 @@
+DIST bliss-initramfs-6.8.3.tar.gz 50581 SHA256 7dc970ae20e2fe7552db6108ded180468f255fbfdc1439acf1c58346b0aa2302 SHA512 951063a87d5f7ce52803916746fffda96321a25f2ba4943095f2bd87b4a65e6bce93846babe2d0f3382d364f29afa389b18471553bd32a5609143d5ad333b1b5 WHIRLPOOL 5d9884984ac9522eb3417d7111811fa1befc16b519ac49c39f30605bacafaa74b100515fa24fc00e26c94ef793d143043573919650dcd9f3cbd752d9aee73a53
+DIST bliss-initramfs-7.1.0.tar.gz 30805 SHA256 b061142600fb5db2eb352521201d30440d98e96951057c2386dfcc534ee479bb SHA512 7a7f297756dfb6abb86d2f9159c9ab92ca6e5c24022c0563584a6f82396b88f16bac09bf746f9acd94ef05304e285c6978c7ff3026434c16ef9d50e6064fe85b WHIRLPOOL bed646fd65ebae0221a1514ba071284b6a5b98cc3283dc1d719a7f36b36d6ccd77dbc2b0762bab287ade5fc3acb78ea9e2d7fe14195083ad5ee8f5a277f630fe
+EBUILD bliss-initramfs-6.8.3-r2.ebuild 1128 SHA256 59e4870927580ab07ad9b87c9a5f380b61823b1eff108bb91084a1e897b87f3d SHA512 76264938deef360093603fa42305e045d91a777420cb6ec75d80779eac3f25269eda7f78f52ba0b4bd91ed4f7f41d06c85991502bc3c87ab3550a6d4df9b2f3a WHIRLPOOL ee6851eeac4ab4664770958a86ed23e1b00e075b89b3f95e2e2e53559f2d93c0a640423c91dcfb1ecf6f9af090754a7c7eedb110aa5f57a1c2eb0858d313eb14
+EBUILD bliss-initramfs-7.1.0.ebuild 1120 SHA256 9c0b7b7f096f0c94699c7004f4938dfab63532794ba313b7c8a396dd8608046d SHA512 1ff9b83f7569f8b49989d6575a40980772f5144ee8270ddc3e7f7c140dce26409cc82dff5661419d77ae163c1ee41ce2a0e0763562040d27e75ec2bc06e16270 WHIRLPOOL b00d901af23af4115979a1b0fdcffd9670f9e5db172da3bdd833fc9fe0cdbbae366600d0ec7841d7b19b341e6747943faa26673160a38f34c29a2b83d1218f5c
+MISC ChangeLog 1035 SHA256 fd923f4cd535d8ff2e30ac96dd8d0988a2d197b4ee54191b58d4077f0c880f1a SHA512 593fc4b87c8d9738ab22ba209c132c489ee10f952f430285675029b6baac9fce7a828f3782d71057bfbcbdd0dd0db0af791b4d6cea0bb3fc0bc8a177c2c7a2b5 WHIRLPOOL 3b9242dc7820845807dd908818ecf110c7c6939f897ea012e2d17e0a078f6da2dc762b16f828558f5a8fafd34a62e7cc9327e2724155aff847951890864b4333
+MISC metadata.xml 376 SHA256 d51e0e3518bf8ec933360519b3953809376b715511318cd61506ee0215d122f5 SHA512 f940dbaec346e821e3d95c58bbb3977103277cc4a969a6ddd8e68b5068b9fe5745bd2c89a7c00236e18833e95c2dbbac0fd2b4ce05ad63f7486195e39c386d55 WHIRLPOOL 1c5a07fe7e642c73e229db85aec445a53aa30c0aca6f8db7b0592b0b0a2cfdd0974dfffcb0e926a043f11c586035b5e092bb79f853e415c67951a9093a63cb4b
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild
new file mode 100644
index 000000000000..bab2dbc53147
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+inherit python-single-r1
+
+GITHUB_USER="fearedbliss"
+GITHUB_REPO="bliss-initramfs"
+GITHUB_TAG="${PV}"
+
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs."
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="strip"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="-* amd64"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/cpio
+ virtual/udev"
+
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}"
+
+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 documentation files
+ dodoc CHANGES README USAGE
+
+ # Make a symbolic link: /sbin/bliss-initramfs
+ dosym "/opt/${PN}/${executable}" "/sbin/${PN}"
+}
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
new file mode 100644
index 000000000000..b1a9302c6c6b
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+inherit python-single-r1
+
+GITHUB_USER="fearedbliss"
+GITHUB_REPO="bliss-initramfs"
+GITHUB_TAG="${PV}"
+
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs."
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="strip"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="-* amd64"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/cpio
+ virtual/udev"
+
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}"
+
+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 documentation files
+ dodoc README USAGE
+
+ # Make a symbolic link: /sbin/bliss-initramfs
+ dosym "/opt/${PN}/${executable}" "/sbin/${PN}"
+}
diff --git a/sys-kernel/bliss-initramfs/metadata.xml b/sys-kernel/bliss-initramfs/metadata.xml
new file mode 100644
index 000000000000..b09c5a9a69bf
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fearedbliss@gentoo.org</email>
+ <name>Jonathan Vasquez</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fearedbliss/bliss-initramfs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
new file mode 100644
index 000000000000..70538a03182a
--- /dev/null
+++ b/sys-kernel/ck-sources/Manifest
@@ -0,0 +1,28 @@
+DIST ck-sources-4.9-freezer-fix.patch 684 SHA256 9ede45bd0d6daf49fd9904fe2cc9c741ccc04f4f475c38775773090854c4d8e8 SHA512 4241ca604f928263c29a49aca076832c06469db734864ec8c648cbbc30ba63cfb0b21d076ea4a7f3c438868802feb4e369d976e9ef6e091ce7bacf1a69c2c588 WHIRLPOOL 41e84eac1bf9390aa8dba69062a07d711f9e3878b7948027227e0baa90e01348df1f8c4fb6fa7dcbc67a25606bbde9908fd7db9047f8d6c232b6914ca689f643
+DIST deblob-4.12 151349 SHA256 47500d6084ad5402d0199074a05f4765259b27e81136f3893099d0e19b21418b SHA512 f8ce5fbfbf0083c5392769a54b253b4b4e3a0c2a2e0c9534c08681572960f7def55c3fba11c0bc647b4d050b9633075ebae362293ebf4783c9c0893f10fbf1c5 WHIRLPOOL 227e43fe101795bb361ec1085889574a8594f01cbc0ac4095a213cc6b77adb55a260ea1461f36e865014038226f7740691a70d9c3a24dd42e2e432856247d6e8
+DIST deblob-4.9 146273 SHA256 af4214b851928a53ef470ed8729122b9db910a6c0769d5d46a5de0b3e96f74f3 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 WHIRLPOOL 7b5ddba1469b6515d03d2e0e91a643ab0252803fde271ca710978186582a2f1a3b01deab9718c194bcdae0a79887636b6e98e604305402c9051b15a89fd393df
+DIST deblob-check-4.12 743561 SHA256 d01e155683fbd5bc0db9a1b7104c5c21ae0813fd16f86cebe31ab7254edc4754 SHA512 7fddc4eac16876c660fee9e9d3d5dc0761aef629560833301e5f9e6ee0464b476836c79526f995c02c43f5ddb236c08f679441513f4a91a340b6380e305fba63 WHIRLPOOL 583bfbd6d09d63ff6fccea7688f0f32387746f6f6d1870c364b49c7241ca906b4c01c50b911e10f5e35eba58221c19848db98c9295e446f8dd7a81a20db3f887
+DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19757fc6b8e34355928d6b SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 WHIRLPOOL f1afe1f8d8bcd6fc43a01da5eb012d117687418f049212fe20fe7ea88700c482bc6fd3e917102ff9d12baf11e678a40355877a7d214da8b3cbf2b585a51a012e
+DIST genpatches-4.12-15.base.tar.xz 247556 SHA256 a8a14f85d7551b770c461e87c2108f24d520f255b40b4f2ba7660269ce9bf610 SHA512 abd9f433fd6247fde9bd9c6655bd6cb90d56d4b3df6fed7f86872ff620f8502a7d277bd418c7d5d1667c792f85eb568b2cebe981cbd8bf4e4b7d7c3746e33d22 WHIRLPOOL 26a44d05019d19efd8fc7ae153c013ee050c81bc0f7d60644edc0b346c96c683c5b3664a1ee9694a93b77cfabc9a0240c9aeb1d6ecae670f7425aae95d4a54ea
+DIST genpatches-4.12-15.experimental.tar.xz 5188 SHA256 0fb1a60a47025effcba3af7360ffb4995913b455cbf9f4dcd47e3c141f53dcc0 SHA512 af85f2724f767062c06acefb230db5eaae6ae65c68b8d0ba52f7ea9f13cf07adc277929bc9a4e3532ec680c5c0d270d92f1786a21303390e33f41e592d9761c3 WHIRLPOOL 5eeb957c923a4b3db2724445a161bc0f395bb1ddb799d9aafb8509dfa78d15f0477a6ed2a14298d94aa1203d90d616457c46189ed71a87a4cc7b8972985db80f
+DIST genpatches-4.12-15.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58
+DIST genpatches-4.9-54.base.tar.xz 1053504 SHA256 ad6728a6e84a45aa9a84215f72ba1daed8c9681b61d9470b0fed24c285aec82a SHA512 3e64d39f3d7d0c1d68cca6b27df1e374970f0b42f47ff6bc900a1a12d1305093efafdccc28a1ba89404397ad285298058e882329f651e8d1031ddc86dbf06c40 WHIRLPOOL 7c22db4217a2604a05e8f4a9817fceabf865b00c7c33df95cfc5a09af6ffa84d809930c221f55cb9b500cc8d57b2e43f70f80e622a19fb73e0d068f2ec2be18d
+DIST genpatches-4.9-54.experimental.tar.xz 106360 SHA256 9c5b4ec4005bf50556163cebe4a4e577cffc3ed0ab06a40cd79bc7e9e33a964d SHA512 ace1650a90d70f1ab6d938d2509c44ff1911178161bfa6f060f5eb078b9c83d031709dc483f3481afc82c34b705cd9dd653c95c9b53817c79b0e632f970dad10 WHIRLPOOL 50c40e6160a92d98e568b3d55b336c4400cb8faff7fcfa5c71a8172e5149468b0483874c8531270f6f15b48f84fb3c47dee8ec01870c3331a150226c748b16ac
+DIST genpatches-4.9-54.extras.tar.xz 17356 SHA256 70314b113191df3bcf461537c5c5789ce990311affcb41e9d00b4a4d1f674659 SHA512 894f37761c80304fd12e20d9b2a11a56475484dd2a4504f4aada6b48854e752228256d56dfc328c7633996a16f4653af0105698b6a230619d9a3364b9d08a265 WHIRLPOOL 3fddbc03354fcb2b3c72caa7462a36d16a0595304da2ff9df0614925e252e3c15c38138b4f07789333c118dde992569c7cbbeb019b5052bc0ff18e87fb08cf6b
+DIST genpatches-4.9-55.base.tar.xz 1069704 SHA256 803d5d028875b905bb4cbff7b2258786e7199095e68e3b2cdf8134dd22f11c20 SHA512 a1156e41e1499218e3fb1c6ef0bb66fb6bcb93b4076c3c780f60ac23b340d13e3e9f4a38e62bf066c765e9a65d2cdc9266d9358fbea2c1bed3a491d8b7d40875 WHIRLPOOL 8af62aa544f5e0f2c707b7537c80f09ffdbfb454c634f551242917fedae070eaeb8c09a98638f9eaa6adaafd1cbc45cacfa50d4687b9e036234d6749938d7451
+DIST genpatches-4.9-55.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e
+DIST genpatches-4.9-55.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8
+DIST genpatches-4.9-56.base.tar.xz 1098340 SHA256 69e8104e4b2cf11d286d04b19a88d027ffbf94701cfc237f5737d0d907d2f4e4 SHA512 d0e54f6b904bce6cee767297fd3282ad8fbd002e2820cd211d35d00e71c1a0339f0715d352c6dc7972097ebeaa282c074f9e85ef953ad16f9a4f35f5ddc26e58 WHIRLPOOL c64fb7d0f811754166b5f8cdb08efd270ec6e1b57723fe8d1c206d5d184c8230b41d1f61c1e98300da0765327dc6feb2f3d8d5e36a8d26b9b1d5a2a3a6170c32
+DIST genpatches-4.9-56.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e
+DIST genpatches-4.9-56.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8
+DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+DIST patch-4.12-ck2.xz 83604 SHA256 6d15f95ca23b46f7abdfa1315600daed7ed6843acc29587fd84c2be7937c8564 SHA512 958cbce3d20484372473fd372de25555cf803c58e6b62d203e6da98aef8d367f01d6291f984a601b0ba962670eadeab7c5a3b1cb200ca0c8c82921688cae1b10 WHIRLPOOL 6156e37a9029fcbcdc2bf7b8ed49e1c2e5a03fa0c849c71383b16af3cf6cadedcd0239eebcbb82aeb4a536ecdd0770bd9704712a61716df57e7696b98b857b2b
+DIST patch-4.9-ck1.xz 165624 SHA256 5b9d8f4ef73f87e8595de66ccc38bad86e290fd9453bd536b9cc950f5344b82d SHA512 335f83b8f77c4c2c304db74268eae895ec53611b2cb5ed45a9c6e7f9c7ac37c2eba7cc714d49504ae29cc44c448aa873b52eb332fe91d4e6dbbdd2a175aab252 WHIRLPOOL fdf01a45ad028095d0c91105975724bf19eeb2ddd380f20465357748d3f4a22d73de9fc408473d9d1fb988a6956edcebd0269ff105d3392a82b96e48566aeea5
+EBUILD ck-sources-4.12.14.ebuild 1625 SHA256 5ec6b0191d3e183813fa3a89f22806865a8d8a721a2d6ee7d2a81f57d2f13506 SHA512 dcbd2fc096d8bb3379b7122a50a2f0dc705c973c3ee8cd7a50b7a6a73afceda5eabcee0c5f788e84b2bd72ff43ca6172389324803b3a7ddc4bd6470a604fe97c WHIRLPOOL b809b4c089ce50af91c0aaa0b216248971dd6881fae2e1ec9cc7a3156327b0123f53c2f2e8341735a1dcf5131377e1a43acc37d5451d7c3676203387ce5e3f27
+EBUILD ck-sources-4.9.52.ebuild 1905 SHA256 350addd7131a737a291a02f97da5fab96526ab7d3eff25546b8410b2cc4e0ad9 SHA512 cec584dc1d17b292c2f44dcaa00f41912ce4eb26c2b1f938e3f4d05505d6a555e59993bbaf577cf480573738ddde80d3422b6f92d436a57e0a2140d424177a03 WHIRLPOOL 9e1ed8b714ea42208333092d8d6913bc613692f0342a0f50fc0c523fd1e3f3763a6d705a14b3a168b886e9d8850ea4691ddd8c4f86f1e0db5279210fea129e7b
+EBUILD ck-sources-4.9.53.ebuild 1905 SHA256 e0f22aa9821172665dfd8f6f69cef2d92531d9aab1a352136056b3890b0f48da SHA512 1f89cfb5180435f7244cf1c72dadfe4c9ac51feda86b072d2611b2688fa2094478ae0c5ad6d40137cd6269b09fc33f6aa5e085aa77b497aea103a32fa736a3fd WHIRLPOOL 8896d6aa2b187c325af51196627c10561f4be972a04fb65386c38f5aff5c1f36db93947d305d6be65045d6ab3fd102cee531d31cb5a65c6feebc53042ab0d88d
+EBUILD ck-sources-4.9.54.ebuild 1905 SHA256 91fb04632dd781a68f06fa61f84cccd2ac50460d2dd7d0d9bc2e49e1fd187432 SHA512 e98033902d799565ba2a169e0469895743ec381d84c709a9278b755224d546ec1f50ec286b4b4acca19a16e15111e68160760865a600e0508cf8c2158d004cb8 WHIRLPOOL 68145af995ff7bd89a53e8db9d6e81459fc8a9fcbaddedb9e556e2d1ac1985c4da7b6f3c9849d8358699dc20099155f46f64a75c1e3f885af06f05520da4a553
+MISC ChangeLog 8693 SHA256 b34cb29fe694a7fae951b08ccf1562bbcc3d5b4154e643b2e6f7096be8f2ba5b SHA512 81732b96b5d47a4bd84d1710fbcb2115b0a89edb0982c984474669c4251ecf00787632b223070d879c1124fd30b5876927eab0775da0ea4a3a9be0b1bb7cb441 WHIRLPOOL 1dc401d79ac02f8be03817c385ba03277e7f5486704bcfba53012efd813ea7ec8945b550951fc19159fe7a90b7a3059806981c542f915a0e4cce1a624b4d56a4
+MISC ChangeLog-2015 22978 SHA256 f5bd9c75144802391d4e81da727842262dd69dd0a981899bc23a8f25d7f9f4f7 SHA512 d7df0a783cdfc7eb7c1bcd0c7163cf4679926ed094c35213867a4120415d4351562c33a3ce346b08f04f3cc8c880110eaf413a53b67d6ad01cb92a4e437b1c8f WHIRLPOOL d4901ece1e1b7b8dacf2dc8442ea33c8b27e0a54506926a9cfe76da288be9121a28f5f31a01362192ef594b4b1fb67b619e17cf5c12222015f5db3803afeddeb
+MISC metadata.xml 770 SHA256 62628aa544e3ea7b512ea85e0497cb0ddf7a06c7ce89d041b9f424ca77acce26 SHA512 6c1d9152ac638ac3c4483a687f24d5e9a4a8c3c840d2d046db7f082d3638cf2d460f8ce82e69bf86f1d4d2e8f7b2a9f34431e00d3f8d09bd52ce6581f3dcf6c1 WHIRLPOOL 1e5735d4d5a8867aeef0e744cc1539b247d00a3aa1c1b67e89a3d0f8bf53118ea027c4c516d90c1bc9dff1664493cca56aaf01c3a06276bab2b0f795a66fd2a2
diff --git a/sys-kernel/ck-sources/ck-sources-4.12.14.ebuild b/sys-kernel/ck-sources/ck-sources-4.12.14.ebuild
new file mode 100644
index 000000000000..57a222c2add6
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.12.14.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="15"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="2"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+CK_BASE_URL="http://ck.kolivas.org/patches/4.0"
+CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild
new file mode 100644
index 000000000000..28b1c407e231
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="54"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="1"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+CK_BASE_URL="http://ck.kolivas.org/patches/4.0"
+CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x)
+FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc"
+FRZR_FILE="${PN}-4.9-freezer-fix.patch"
+FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.53.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.53.ebuild
new file mode 100644
index 000000000000..1534fa1b0d82
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.53.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="55"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="1"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+CK_BASE_URL="http://ck.kolivas.org/patches/4.0"
+CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x)
+FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc"
+FRZR_FILE="${PN}-4.9-freezer-fix.patch"
+FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}
diff --git a/sys-kernel/ck-sources/ck-sources-4.9.54.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.54.ebuild
new file mode 100644
index 000000000000..5f00f46f1326
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-4.9.54.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~x86"
+
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
+ http://users.tpg.com.au/ckolivas/kernel/"
+
+K_WANT_GENPATCHES="base extras experimental"
+K_EXP_GENPATCHES_PULL="1"
+K_EXP_GENPATCHES_NOUSE="1"
+K_GENPATCHES_VER="56"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
+detect_version
+detect_arch
+
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+
+DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}"
+
+CK_VERSION="1"
+
+CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz"
+
+CK_BASE_URL="http://ck.kolivas.org/patches/4.0"
+CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}"
+CK_URI="${CK_LVER_URL}/${CK_FILE}"
+
+# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x)
+FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc"
+FRZR_FILE="${PN}-4.9-freezer-fix.patch"
+FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag)
+# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental
+
+K_EXP_GENPATCHES_LIST="5010_*.patch*"
+
+pkg_setup() {
+ use deblob && python-any-r1_pkg_setup
+ kernel-2_pkg_setup
+}
+
+src_prepare() {
+
+#-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------
+
+ # linux-info eclass cannot handle recursively expanded variables in Makefile #490328
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die
+
+ kernel-2_src_prepare
+}
diff --git a/sys-kernel/ck-sources/metadata.xml b/sys-kernel/ck-sources/metadata.xml
new file mode 100644
index 000000000000..92ef277f18eb
--- /dev/null
+++ b/sys-kernel/ck-sources/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kuzetsa@gmail.com</email>
+ <name>kuzetsa</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>gokturk@gentoo.org</email>
+ <name>Göktürk Yüksek</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </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>
+ <remote-id type="github">ckolivas/linux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest
new file mode 100644
index 000000000000..9ea8663b8dff
--- /dev/null
+++ b/sys-kernel/cryptodev/Manifest
@@ -0,0 +1,8 @@
+DIST cryptodev-linux-1.7.tar.gz 52827 SHA256 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25 SHA512 b0073bc547782973587654cb14205ec624059ef46f88ed2b36236d37203f9231ffb8124489b1b2fea735eb7f89bd1011f0d1546eae7b6f562e26ec7a72a59b6c WHIRLPOOL fdc3588949264a575bce7d88286b30663b3ce7232340c5065b9c8cf8f3759c9e3844dc11499cb68c529dd23dcd865f778ecdc2b8535e75e97df270c26df2cd84
+DIST cryptodev-linux-1.9.tar.gz 54409 SHA256 9f4c0b49b30e267d776f79455d09c70cc9c12c86eee400a0d0a0cd1d8e467950 SHA512 8aff822e834d7d77f2b954b3f6de22d7de9659dac27b8a185b7ca060ff4b17bd38e287bb5c19043a53f5015a3f000d31be961695152bad0fb9f55785b2753d29 WHIRLPOOL 575a6c7bac5cc5d0263493799ee9195b10d4f7d80136bf2838637e59bc9126ea197d36d3965b3ffe38e602fb775ac1d5f9b1d2aac264ad4b1cca751210d15c68
+EBUILD cryptodev-1.7.ebuild 1137 SHA256 9d85c2c4aa7ef50b1d59659c4f808582c021939cd90f581881b68592d5c4d8b8 SHA512 8ff5d43309c5603a8c5c3c6ba9ca7f6c93f7dbc4c436392a941794cf0a30397e73df768878380903637f43ed23f7db0ba8a506b61f65886f2eb017c5c32d4c0f WHIRLPOOL ab9b8a541b4d05eda165cf42675f35e890f8abc2815d7774fd866e641cb26477c8d34602ba1d88829815f2d885f4dcc14992ba5ab4132bda62b1783220e7a65a
+EBUILD cryptodev-1.9.ebuild 1033 SHA256 fc0b6f957e0ac317dfa680b39cbcd193d682a438904f657f65dc3d1896a32a87 SHA512 afe5b1680f3ba8f89699eb78f93e7c799ca98de878af37be817a2adfacf0bdca9a8e73e618947f01f759fe8fb254004019a53684c0e88a791f7b8ae715f02151 WHIRLPOOL 7da9959551b76bad4d424da2573636db0a99c8d5caa4926aecc36cf4d0b469941d0d8c59699e7c9737408888a953e73f1cd7f470cdeb3108a46a2732612b72a7
+EBUILD cryptodev-9999.ebuild 1189 SHA256 726d5a566150553e82d7b2a3346f0124d3c041cf407cd4f8e377b28be26b8d8f SHA512 afb8b8f4bd773f1a6b3f64d09f22f7586b0607bacced011b9d2451fd314a7f7bfb3a6e1024cb8d05b0fd44c73e673568763e3a11a17b1294032a31cbf6c37be8 WHIRLPOOL 49271546630922647aaeb0c812d85395e2285a979238dbe2c8ee6808ae38712c2e4215ea90d93c2848790dc13a227cb688a0393f6f213824cb4dd9e608ffbcae
+MISC ChangeLog 2431 SHA256 5b4ef15db1c78c42c8211106b8aa606027b871c5a15c9cbcc26d8eb6d260db3d SHA512 ddf4bf0286058e8952bfa2e5bec4c3126143aac89a328b87c6814d10ba052ce0a28a35cfdbec44efe4b4e6239666358574163c6068b313453f54a2def1c077d6 WHIRLPOOL 7a5e87cabf5e1b633df46d3625595bb5ff8cbe6ca08086fcc833434811e3e61d34bbed6e3bffe3ce866364b8d5f598c5f9936a96db4268ab41cf9b227db4eec1
+MISC ChangeLog-2015 703 SHA256 60deb26c36bbd355e8d92ec3f639c8852fc9068d8eaa37a222c8d0cd93f58b88 SHA512 73c84946c7c1ac0d5698d12e73e793d49027dddbca34db0bec38d9819a077713e1d9f42f9caefa629c7fe51a7534f62b840772fe2dfe2f021f95467c10ca3d91 WHIRLPOOL c1dabda8989bf0933120b0354eb4cfcdf7e8a4e591644df6ffe71f05de65f7a5cda142f504ce2eed94f1b0ddf210e45d3615ad3c0592a64adcaa9905a88083d6
+MISC metadata.xml 360 SHA256 d18f161d03616aa97a2f2c851cc665948d3905374fa09a32945b8068800b7727 SHA512 807fc52ffe59b350f713eefadcd4ed84bc34310a47d9f0d2079279155cc17674e341677b4d3ce3fd1d752741d2ee70d427d5948dc16bf4780a60d0dc8a33ec1c WHIRLPOOL 9e8a286a3c7441ef6491772b1c3a842db57d1bf86aa1fe8495afb6b3f7123f963f90498851a6c41258c243ad1f3d2bf29decd6b28dd56d783e1ca0a63aba7ced
diff --git a/sys-kernel/cryptodev/cryptodev-1.7.ebuild b/sys-kernel/cryptodev/cryptodev-1.7.ebuild
new file mode 100644
index 000000000000..7a99d764ec4e
--- /dev/null
+++ b/sys-kernel/cryptodev/cryptodev-1.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit linux-info linux-mod
+
+DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
+HOMEPAGE="http://cryptodev-linux.org/index.html"
+SRC_URI="http://nwl.cc/pub/cryptodev-linux/${PN}-linux-${PV}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="virtual/linux-sources"
+RDEPEND=""
+#test do not compile
+RESTRICT="test"
+S=${WORKDIR}/${PN}-linux-${PV}
+
+MODULE_NAMES="cryptodev(extra:${S})"
+
+pkg_pretend() {
+ if use kernel_linux ; then
+ CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD"
+ check_extra_config
+ fi
+}
+
+pkg_setup() {
+ if use kernel_linux ; then
+ linux-mod_pkg_setup
+ else
+ die "cryptodev ebuild only support linux"
+ fi
+ BUILD_TARGETS="build"
+ export KERNEL_DIR
+}
+
+src_prepare() {
+ # get_unused_fd was removed in 3.19
+ sed -i 's,get_unused_fd(),get_unused_fd_flags(0),' ioctl.c || die
+}
+
+src_install() {
+ linux-mod_src_install
+ if use examples ; then
+ docinto examples
+ dodoc example/*
+ fi
+ insinto /usr/include/crypto
+ doins crypto/cryptodev.h
+}
diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
new file mode 100644
index 000000000000..3f606909802d
--- /dev/null
+++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit linux-info linux-mod
+
+DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
+HOMEPAGE="http://cryptodev-linux.org/index.html"
+SRC_URI="http://nwl.cc/pub/cryptodev-linux/${PN}-linux-${PV}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="virtual/linux-sources"
+
+#test requires that the module is already loaded
+RESTRICT="test"
+
+S=${WORKDIR}/${PN}-linux-${PV}
+
+MODULE_NAMES="cryptodev(extra:${S})"
+
+pkg_pretend() {
+ if use kernel_linux ; then
+ CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD"
+ check_extra_config
+ fi
+}
+
+pkg_setup() {
+ if use kernel_linux ; then
+ linux-mod_pkg_setup
+ else
+ die "cryptodev ebuild only support linux"
+ fi
+ BUILD_TARGETS="build"
+ export KERNEL_DIR
+}
+
+src_install() {
+ linux-mod_src_install
+ if use examples ; then
+ docinto examples
+ dodoc example/*
+ fi
+ insinto /usr/include/crypto
+ doins crypto/cryptodev.h
+}
diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild
new file mode 100644
index 000000000000..195433b58015
--- /dev/null
+++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit linux-info linux-mod
+
+DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
+HOMEPAGE="http://cryptodev-linux.org/index.html"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/cryptodev-linux/cryptodev-linux.git"
+ S="${WORKDIR}/${PN}-${PV}"
+else
+ SRC_URI="http://nwl.cc/pub/cryptodev-linux/${PN}-linux-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S=${WORKDIR}/${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"
+
+MODULE_NAMES="cryptodev(extra:${S})"
+
+pkg_pretend() {
+ if use kernel_linux ; then
+ CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD"
+ check_extra_config
+ fi
+}
+
+pkg_setup() {
+ if use kernel_linux ; then
+ linux-mod_pkg_setup
+ else
+ die "cryptodev ebuild only support linux"
+ fi
+ BUILD_TARGETS="build"
+ export KERNEL_DIR
+}
+
+src_install() {
+ linux-mod_src_install
+ if use examples ; then
+ docinto examples
+ dodoc example/*
+ fi
+ insinto /usr/include/crypto
+ doins crypto/cryptodev.h
+}
diff --git a/sys-kernel/cryptodev/metadata.xml b/sys-kernel/cryptodev/metadata.xml
new file mode 100644
index 000000000000..5f8b6780f55a
--- /dev/null
+++ b/sys-kernel/cryptodev/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>clabbe.montjoie@gmail.com</email>
+<name>LABBE Corentin</name>
+</maintainer>
+<maintainer type="project">
+<email>proxy-maint@gentoo.org</email>
+<name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest
new file mode 100644
index 000000000000..4c8a5c34d7dc
--- /dev/null
+++ b/sys-kernel/dracut/Manifest
@@ -0,0 +1,14 @@
+AUX 044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch 1027 SHA256 e9951ce3dbad9be05800bedcd1147c52917f15678182edf666f43dcdd2db212a SHA512 3d6a37d4f86b8a230cda1ed5dfbcc01edcf8a6be7109b4c0674627a07797db92d078c23426938a6324d93515b5db98e322e3aed2bbff650ffafd974e872e1cc5 WHIRLPOOL f79475fabe4f164be28008f10db3c78880de23c6251d3b5e020bf42f51c6c761d3ce0fbe301c4c7a923195ba5c80b715e60c9a3ae6ff0b510ffb0fb536efe960
+AUX 044-0002-systemd-initrd-add-initrd-root-device.target.patch 924 SHA256 a344e2fa36a75debe358db41219936410e06c9e575793b97bacf5f9b78e9b2df SHA512 443391ad3a70c3933d42129a298e12de007944c3141f8ec2785666ee5f66a24edc1eb5faa5c2016540aeb1fadb93139fce3b53b3960f7a5492aac2ff9bc95e70 WHIRLPOOL c2ab93fc268315090de28db6de6609e9de9a57508069cf661f5f2da46bb51fd8d4531b5b40dd336995c0063e8ad91f59411c29178b2cd3addbba98f6a0db18e8
+AUX 044-0003-50-dracut.install-use-bin-bash-shebang.patch 558 SHA256 57b653a41f3fd9cb6dd67cbb5525fc40bf765c377ce0a0f76f82c34a383400b1 SHA512 657685b27d3ffd326fd1976ccd89cbe4ab9122b63f2a6a03cae3bd54663bd1a26366552550ea50af671aa5a604b9ca08caf1bc689551e46f7d208c7d5e83730b WHIRLPOOL 6af2908f1c91898b0a0b2c570d46224965a75c38abeda2ef6560f5f1b2b969ad728ff31191fa07df0673011bd80c090f8dcb783e3094e8e43d50c5326004c9ee
+AUX 045-systemdutildir.patch 1665 SHA256 9a2a9e8a1486945f5639a25abca9c06c445de41dbdd261f30f2e7944c21772c4 SHA512 f576cd166e9ad03ffa8317dcffcd7c6f920ffa92251eaacc5c2a95e4ca88687bd1870c8f75ecf3b5fc81773f2d3e082dff647d6a313d183a6017fc79b7bc604b WHIRLPOOL a4494844ad2bc1d87f599b56b0d8799c3972c2c65b1b9e8d099180dd7d3126e2c74d21736071c0e59fdca08d799ebf5787a4601f3a94a7c903fa90ddbb5c2a2c
+AUX dracut-044-bash-4.4.patch 5036 SHA256 c443525f1e3f2e7459e4db00b4b88d54caa843183de5d4b7f4f5729f7755cec0 SHA512 68522464fb446175f967c8453e8427f961e97522661a22a7c302a90ff716ab75b0cfc32f568a06f1e1821ba7115d6d2f48b6ded9ed65b30806d4d505a0903279 WHIRLPOOL 3572714dc21226956a1b6567b91dd2210757f0ee50f926aaa09039a67603d36d42f17152187e6977a22b2e778e9ca91acd2420ec925784061b1b0f5f20373992
+AUX dracut-044-preserve-xattrs-when-copying.patch 2354 SHA256 e6e09c6b6946d512c08470f39045abc87e5fae6628be79a3c20bf38ee0c365fa SHA512 b15babf62a4ece46c8b55a2ac21c3284665da8c38c10fc1209c08605b778689cf80108b8baa0ce66eee2218d6975cc5b9401d8a70326ddb6f731c55373e52a02 WHIRLPOOL d13f561f51a931f706a8bf86ff4304c96951fe6807052421223042131bd35cb4afa8662b0cbfe0dfb9f41bf192bb7c44257a1bbec72d4368c352af9ea7ef3d8f
+DIST dracut-044.tar.xz 280004 SHA256 84b97c9b0120e9fde06c3b9cf2ede1c4632cccd8e085e980b9ec9c788655af05 SHA512 bc788076e425b223d98cf0e0b15ff57d75d423991d7a67fb564a2857c38d5c3a21d846d2ca4523f9d4b0128bb981d09b5c26031435c5fc5e30f53080bca19b3d WHIRLPOOL 684591df596fa902447e671adfaeeb8cdc469c257f756616e42747835b71be7caaac9c72bd4b1a5ba5728ec4332baaba1d265cddb1c30cbfa65cf4dce0690bc0
+DIST dracut-045.tar.xz 292652 SHA256 ca9c7ea54d3efc8b57ac1427cc5fa4d66688f6cf9d3088f4c5e7ae7c7e84ebf8 SHA512 b57aab1f6fbdd5ad52a13a0eb99937b1abcd11507a2a3e6ec9bcb94e578cc32edc01a814ea2cef93158c27c17e3e40bcdd32a66457a20363f8136b8b546bbb4a WHIRLPOOL d9cdf32e4fb745b2598aa2f0504c943f5a069dddc17d5261d594b2fc33921306196386bc35156d5bf71983cc15be3b0cddd504d1b6a2042b45b5c5ae622b23b9
+EBUILD dracut-044-r1.ebuild 7688 SHA256 e51652455405c841b00e8fcc0e3f064a3d9a189e37bc1bc98a28fd18d7251de6 SHA512 e82388ff89b4a9309f2e38c8d4cae5db63765b423d1066b978d7eb2b7374f355af49b3962ec22e4ca1a37fe699ed3311c610565f1218d249189e4f28a5677067 WHIRLPOOL 22f0d0d887d7d2ede9c32bfc77c434ad278cc2a1c3b077e9e7a599fef3c85ab735170f0c2de898953d8ff97cb486d3bb559f23e696005a2f75fc9fa8102006e3
+EBUILD dracut-044-r3.ebuild 6939 SHA256 31bdc406d9a18851f2c244bfba04d29c1c2e8d2fb54efe449ac00c7875944658 SHA512 b49f4a6dea1b6c03b6422b7c4edd7e655a123ca7074ebe38d98bc5ae324060cb0dda3cecbb8dd8caae5209d16d767680aaf4ec740cf65af496545b50c41d7a28 WHIRLPOOL 93c981d0b134c33c28cc3afb64268bf0ba4e0e04cfb1b39103fd2ec0cfe4df55f8deb964e5a110a5decf959fe2824a3ccd0fe4dd73231d3a0b9416cd020ac8eb
+EBUILD dracut-045-r2.ebuild 4797 SHA256 b91b9b81aa2a626f7cc954a038427b0c88aa3e92cc014d073eabbb7dba8204e9 SHA512 18da9181998f66ba9e723b4fbe1ecac96781886a810b82f00c71723a0f7bf9ddde3fbf8ea853ad47986275ca4dbfad856858aaf0bfd06ba5ade9f3e1e1670106 WHIRLPOOL 89883e6ae2aa14692044f4fbd37bd11db9f3d94d9a13733d12fffb6bb1e50008d1a231837c154507595b731accb563c75150991d063cfb507878859239fd6f02
+MISC ChangeLog 8004 SHA256 11ded091b910b3c6807e344e4986675c50af2e5e0a2fdcdb352e086f5097e090 SHA512 dd8b1e996946fa47093440be61de1cb645a15fcf289a380226590ba541af8e4a47df33747491a25258a21599ab90c0402da548371de131d4f4cabf06965d0807 WHIRLPOOL da2a37d08cc7eb53eafd6282b635672df58db6ba88aa7dbc8e79f08db25a329245c84d4977937857b42ae9b3d84ad989ac40cf3dbbd96f3b30e2a34c36d9b40e
+MISC ChangeLog-2015 84625 SHA256 839b114233a8e918dfd787ff5a1f3a0743da7ee5320ff571aff4474ecb9ee45e SHA512 67588a45f9745381b08712b0bb8219d7101cd0c5a78b89be177658b18188a0a2c2185688e1e6239d44ad93345c7da34b71d4ce9a923122b2d62b1121abf0bdf6 WHIRLPOOL 51d19990f3bc47e4d43ee98fd48bc84cad89115e7f812469d25322e9c30efe3902e0007f3d9026464d471c201454e761c04770fbd1d32b545791cf28c67d22cb
+MISC metadata.xml 840 SHA256 8ef5aab36d95735b3b0b1cdba609ef3cd8e883ac38fb619c957fe5ae1e35bd6d SHA512 d347acc0a7c8b821804280f198aa28cbd4198a8f2d570c2725584b18b04125a684bed6adb48f5cb71fe1ef0e1c19320ad3dbff612dbf972f741b50b91fc388ba WHIRLPOOL 9edf380512d517d1eb6303a81379e8df8c342c3ab4501b150f2c23078185d09251903b4ea182a65c49caeda51ce21845ba34783875b7c8111883ff3855f0dbac
diff --git a/sys-kernel/dracut/dracut-044-r1.ebuild b/sys-kernel/dracut/dracut-044-r1.ebuild
new file mode 100644
index 000000000000..d31e51ccba92
--- /dev/null
+++ b/sys-kernel/dracut/dracut-044-r1.ebuild
@@ -0,0 +1,262 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1 eutils linux-info multilib systemd
+
+DESCRIPTION="Generic initramfs generation tool"
+HOMEPAGE="https://dracut.wiki.kernel.org"
+SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ia64 ppc ~ppc64 sparc x86"
+IUSE="debug selinux systemd"
+
+RESTRICT="test"
+
+CDEPEND="virtual/udev
+ systemd? ( >=sys-apps/systemd-199 )
+ "
+RDEPEND="${CDEPEND}
+ app-arch/cpio
+ >=app-shells/bash-4.0
+ >sys-apps/kmod-5[tools]
+ || (
+ >=sys-apps/sysvinit-2.87-r3
+ sys-apps/systemd[sysv-utils]
+ sys-apps/systemd-sysv-utils
+ )
+ >=sys-apps/util-linux-2.21
+
+ debug? ( dev-util/strace )
+ selinux? (
+ sys-libs/libselinux
+ sys-libs/libsepol
+ sec-policy/selinux-dracut
+ )
+ !>=app-shells/bash-4.4"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ >=dev-libs/libxslt-1.1.26
+ app-text/docbook-xml-dtd:4.5
+ >=app-text/docbook-xsl-stylesheets-1.75.2
+ virtual/pkgconfig
+ "
+
+DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules
+ README.testsuite TODO )
+MY_LIBDIR=/usr/lib
+QA_MULTILIB_PATHS="
+ usr/lib/dracut/dracut-install
+ usr/lib/dracut/skipcpio
+ "
+
+PATCHES=(
+ "${FILESDIR}"/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch
+ "${FILESDIR}"/044-0002-systemd-initrd-add-initrd-root-device.target.patch
+ "${FILESDIR}"/044-0003-50-dracut.install-use-bin-bash-shebang.patch
+)
+
+#
+# Helper functions
+#
+
+# Removes module from modules.d.
+# $1 = module name
+# Module name can be specified without number prefix.
+rm_module() {
+ local force m
+ [[ $1 = -f ]] && force=-f
+
+ for m in $@; do
+ if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then
+ rm ${force} --interactive=never -r "${modules_dir}"/$m
+ else
+ rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m
+ fi
+ done
+}
+
+src_prepare() {
+ local libdirs="/$(get_libdir) /usr/$(get_libdir)"
+ if [[ ${SYMLINK_LIB} = yes ]]; then
+ # Preserve lib -> lib64 symlinks in initramfs
+ [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib"
+ fi
+ einfo "Setting libdirs to \"${libdirs}\" ..."
+ sed -e "3alibdirs=\"${libdirs}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+
+ local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)"
+ einfo "Setting udevdir to ${udevdir}..."
+ sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+
+ if use systemd; then
+ local systemdutildir="$(systemd_get_utildir)"
+ local systemdsystemunitdir="$(systemd_get_unitdir)"
+ local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \
+ --variable=systemdsystemconfdir)"
+ [[ ${systemdsystemconfdir} ]] \
+ || systemdsystemconfdir=/etc/systemd/system
+ einfo "Setting systemdutildir to ${systemdutildir} and ..."
+ sed -e "5asystemdutildir=\"${systemdutildir}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+ einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..."
+ sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+ einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..."
+ sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+ else
+ local systemdutildir="/lib/systemd"
+ einfo "Setting systemdutildir for standalone udev to" \
+ "${systemdutildir}..."
+ sed -e "5asystemdutildir=\"${systemdutildir}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+ fi
+
+ epatch "${PATCHES[@]}"
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=(
+ --libdir="${MY_LIBDIR}"
+ --bashcompletiondir="$(get_bashcompdir)"
+ )
+
+ if use systemd; then
+ myconf+=( --systemdsystemunitdir="$(systemd_get_unitdir)" )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_compile() {
+ tc-export CC
+ emake doc install/dracut-install skipcpio/skipcpio
+}
+
+src_install() {
+ default
+
+ local my_libdir="${MY_LIBDIR}"
+ local dracutlibdir="${my_libdir#/}/dracut"
+
+ echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh"
+
+ insinto "${dracutlibdir}/dracut.conf.d/"
+ newins dracut.conf.d/gentoo.conf.example gentoo.conf
+
+ insinto /etc/logrotate.d
+ newins dracut.logrotate dracut
+
+ dodir /var/lib/dracut/overlay
+
+ dohtml dracut.html
+
+ if ! use systemd; then
+ # Scripts in kernel/install.d are systemd-specific
+ rm -r "${D%/}/${my_libdir}/kernel" || die
+ fi
+
+ #
+ # Modules
+ #
+ local module
+ modules_dir="${D%/}/${dracutlibdir}/modules.d"
+
+ use debug || rm_module 95debug
+ use selinux || rm_module 98selinux
+
+ if use systemd; then
+ # With systemd following modules do not make sense
+ rm_module 96securityfs 97masterkey 98integrity
+ else
+ rm_module 00systemd 98dracut-systemd
+ # Without systemd following modules do not make sense
+ rm_module 00systemd-bootchart 01systemd-initrd 02systemd-networkd
+ fi
+
+ # Remove modules which won't work for sure
+ rm_module 95fcoe # no tools
+ # fips module depends on masked app-crypt/hmaccalc
+ rm_module 01fips 02fips-aesni
+}
+
+pkg_postinst() {
+ if linux-info_get_any_version && linux_config_exists; then
+ ewarn ""
+ ewarn "If the following test report contains a missing kernel"
+ ewarn "configuration option, you should reconfigure and rebuild your"
+ ewarn "kernel before booting image generated with this Dracut version."
+ ewarn ""
+
+ local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
+
+ # Kernel configuration options descriptions:
+ local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev"
+ local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\
+"(initramfs/initrd) support"
+
+ local opt desc
+
+ # Generate ERROR_* variables for check_extra_config.
+ for opt in ${CONFIG_CHECK}; do
+ opt=${opt#\~}
+ desc=desc_${opt}
+ eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \
+ "is missing and REQUIRED'"
+ done
+
+ check_extra_config
+ echo
+ else
+ ewarn ""
+ ewarn "Your kernel configuration couldn't be checked. Do you have"
+ ewarn "/usr/src/linux/.config file there? Please check manually if"
+ ewarn "following options are enabled:"
+ ewarn ""
+ ewarn " CONFIG_BLK_DEV_INITRD"
+ ewarn " CONFIG_DEVTMPFS"
+ ewarn ""
+ fi
+
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \
+ sys-apps/iproute2
+ optfeature \
+ "Measure performance of the boot process for later visualisation" \
+ app-benchmarks/bootchart2 app-admin/killproc sys-process/acct
+ 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-crypt/gnupg
+ optfeature \
+ "Allows use of dash instead of default bash (on your own risk)" \
+ app-shells/dash
+ optfeature "Framebuffer splash (media-gfx/splashutils)" \
+ media-gfx/splashutils
+ optfeature "Support iSCSI" sys-block/open-iscsi
+ optfeature "Support Logical Volume Manager" sys-fs/lvm2
+ optfeature "Support MD devices, also known as software RAID devices" \
+ sys-fs/mdadm
+ 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" \
+ net-misc/openssh
+ optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \
+ app-admin/rsyslog
+}
diff --git a/sys-kernel/dracut/dracut-044-r3.ebuild b/sys-kernel/dracut/dracut-044-r3.ebuild
new file mode 100644
index 000000000000..2af888711a72
--- /dev/null
+++ b/sys-kernel/dracut/dracut-044-r3.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 linux-info toolchain-funcs systemd
+
+DESCRIPTION="Generic initramfs generation tool"
+HOMEPAGE="https://dracut.wiki.kernel.org"
+SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug selinux systemd"
+
+RESTRICT="test"
+
+CDEPEND="virtual/udev
+ systemd? (
+ >=sys-apps/systemd-199
+ virtual/pkgconfig
+ )
+ "
+RDEPEND="${CDEPEND}
+ app-arch/cpio
+ >=app-shells/bash-4.0
+ >sys-apps/kmod-5[tools]
+ || (
+ >=sys-apps/sysvinit-2.87-r3
+ sys-apps/systemd[sysv-utils]
+ sys-apps/systemd-sysv-utils
+ )
+ >=sys-apps/util-linux-2.21
+
+ debug? ( dev-util/strace )
+ selinux? (
+ sys-libs/libselinux
+ sys-libs/libsepol
+ sec-policy/selinux-dracut
+ )
+ "
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ >=dev-libs/libxslt-1.1.26
+ app-text/docbook-xml-dtd:4.5
+ >=app-text/docbook-xsl-stylesheets-1.75.2
+ virtual/pkgconfig
+ "
+
+DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules
+ README.testsuite TODO )
+MY_LIBDIR=/usr/lib
+QA_MULTILIB_PATHS="
+ usr/lib/dracut/dracut-install
+ usr/lib/dracut/skipcpio
+ "
+
+PATCHES=(
+ "${FILESDIR}"/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch
+ "${FILESDIR}"/044-0002-systemd-initrd-add-initrd-root-device.target.patch
+ "${FILESDIR}"/044-0003-50-dracut.install-use-bin-bash-shebang.patch
+ "${FILESDIR}"/dracut-044-bash-4.4.patch
+ "${FILESDIR}"/dracut-044-preserve-xattrs-when-copying.patch
+)
+
+#
+# Helper functions
+#
+
+# Removes module from modules.d.
+# $1 = module name
+# Module name can be specified without number prefix.
+rm_module() {
+ local force m
+ [[ $1 = -f ]] && force=-f
+
+ for m in $@; do
+ if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then
+ rm ${force} --interactive=never -r "${modules_dir}"/$m
+ else
+ rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m
+ fi
+ done
+}
+
+src_prepare() {
+ local libdirs="/$(get_libdir) /usr/$(get_libdir)"
+ if [[ ${SYMLINK_LIB} = yes ]]; then
+ # Preserve lib -> lib64 symlinks in initramfs
+ [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib"
+ fi
+ einfo "Setting libdirs to \"${libdirs}\" ..."
+ sed -e "3alibdirs=\"${libdirs}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+
+ local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)"
+ einfo "Setting udevdir to ${udevdir}..."
+ sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+
+ if ! use systemd; then
+ local systemdutildir="/lib/systemd"
+ einfo "Setting systemdutildir for standalone udev to" \
+ "${systemdutildir}..."
+ sed -e "5asystemdutildir=\"${systemdutildir}\"" \
+ -i "${S}/dracut.conf.d/gentoo.conf.example" || die
+ fi
+
+ default
+}
+
+src_configure() {
+ local myconf=(
+ --libdir="${MY_LIBDIR}"
+ --bashcompletiondir="$(get_bashcompdir)"
+ )
+
+ if use systemd; then
+ myconf+=( --systemdsystemunitdir="$(systemd_get_systemunitdir)" )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_compile() {
+ tc-export CC
+ emake doc install/dracut-install skipcpio/skipcpio
+}
+
+src_install() {
+ default
+
+ local my_libdir="${MY_LIBDIR}"
+ local dracutlibdir="${my_libdir#/}/dracut"
+
+ echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh"
+
+ insinto "${dracutlibdir}/dracut.conf.d/"
+ newins dracut.conf.d/gentoo.conf.example gentoo.conf
+
+ insinto /etc/logrotate.d
+ newins dracut.logrotate dracut
+
+ dodir /var/lib/dracut/overlay
+
+ dodoc dracut.html
+
+ if ! use systemd; then
+ # Scripts in kernel/install.d are systemd-specific
+ rm -r "${D%/}/${my_libdir}/kernel" || die
+ fi
+
+ #
+ # Modules
+ #
+ local module
+ modules_dir="${D%/}/${dracutlibdir}/modules.d"
+
+ use debug || rm_module 95debug
+ use selinux || rm_module 98selinux
+
+ if use systemd; then
+ # With systemd following modules do not make sense
+ rm_module 96securityfs 97masterkey 98integrity
+ else
+ rm_module 00systemd 98dracut-systemd
+ # Without systemd following modules do not make sense
+ rm_module 00systemd-bootchart 01systemd-initrd 02systemd-networkd
+ fi
+
+ # Remove modules which won't work for sure
+ rm_module 95fcoe # no tools
+ # fips module depends on masked app-crypt/hmaccalc
+ rm_module 01fips 02fips-aesni
+}
+
+pkg_postinst() {
+ if linux-info_get_any_version && linux_config_exists; then
+ ewarn ""
+ ewarn "If the following test report contains a missing kernel"
+ ewarn "configuration option, you should reconfigure and rebuild your"
+ ewarn "kernel before booting image generated with this Dracut version."
+ ewarn ""
+
+ local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
+
+ # Kernel configuration options descriptions:
+ local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev"
+ local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\
+"(initramfs/initrd) support"
+
+ local opt desc
+
+ # Generate ERROR_* variables for check_extra_config.
+ for opt in ${CONFIG_CHECK}; do
+ opt=${opt#\~}
+ desc=desc_${opt}
+ eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \
+ "is missing and REQUIRED'"
+ done
+
+ check_extra_config
+ echo
+ else
+ ewarn ""
+ ewarn "Your kernel configuration couldn't be checked. Do you have"
+ ewarn "/usr/src/linux/.config file there? Please check manually if"
+ ewarn "following options are enabled:"
+ ewarn ""
+ ewarn " CONFIG_BLK_DEV_INITRD"
+ ewarn " CONFIG_DEVTMPFS"
+ ewarn ""
+ fi
+
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \
+ sys-apps/iproute2
+ optfeature \
+ "Measure performance of the boot process for later visualisation" \
+ app-benchmarks/bootchart2 app-admin/killproc sys-process/acct
+ 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-crypt/gnupg
+ optfeature \
+ "Allows use of dash instead of default bash (on your own risk)" \
+ app-shells/dash
+ optfeature "Framebuffer splash (media-gfx/splashutils)" \
+ media-gfx/splashutils
+ optfeature "Support iSCSI" sys-block/open-iscsi
+ optfeature "Support Logical Volume Manager" sys-fs/lvm2
+ optfeature "Support MD devices, also known as software RAID devices" \
+ sys-fs/mdadm
+ 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" \
+ net-misc/openssh
+ optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \
+ app-admin/rsyslog
+}
diff --git a/sys-kernel/dracut/dracut-045-r2.ebuild b/sys-kernel/dracut/dracut-045-r2.ebuild
new file mode 100644
index 000000000000..0357b8839f5e
--- /dev/null
+++ b/sys-kernel/dracut/dracut-045-r2.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 linux-info toolchain-funcs systemd
+
+DESCRIPTION="Generic initramfs generation tool"
+HOMEPAGE="https://dracut.wiki.kernel.org"
+SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug selinux"
+
+RESTRICT="test"
+
+CDEPEND="virtual/udev
+ virtual/pkgconfig
+ >=sys-apps/kmod-15[tools]
+ "
+RDEPEND="${CDEPEND}
+ app-arch/cpio
+ >=app-shells/bash-4.0:0
+ || (
+ >=sys-apps/sysvinit-2.87-r3
+ sys-apps/systemd[sysv-utils]
+ sys-apps/systemd-sysv-utils
+ )
+ sys-apps/coreutils[xattr(-)]
+ >=sys-apps/util-linux-2.21
+
+ debug? ( dev-util/strace )
+ selinux? (
+ sys-libs/libselinux
+ sys-libs/libsepol
+ sec-policy/selinux-dracut
+ )
+ !net-analyzer/arping
+ "
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ >=dev-libs/libxslt-1.1.26
+ app-text/docbook-xml-dtd:4.5
+ >=app-text/docbook-xsl-stylesheets-1.75.2
+ "
+
+DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules
+ README.testsuite TODO )
+
+QA_MULTILIB_PATHS="usr/lib/dracut/.*"
+
+PATCHES=(
+ "${FILESDIR}/045-systemdutildir.patch"
+)
+
+src_configure() {
+ local myconf=(
+ --prefix="${EPREFIX}/usr"
+ --sysconfdir="${EPREFIX}/etc"
+ --bashcompletiondir="$(get_bashcompdir)"
+ --systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+
+ tc-export CC PKG_CONFIG
+
+ echo ./configure "${myconf[@]}"
+ ./configure "${myconf[@]}" || die
+}
+
+src_install() {
+ default
+
+ local dracutlibdir="usr/lib/dracut"
+
+ local libdirs="/$(get_libdir) /usr/$(get_libdir)"
+ if [[ ${SYMLINK_LIB} = yes ]]; then
+ # Preserve lib -> lib64 symlinks in initramfs
+ [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib"
+ fi
+
+ einfo "Setting libdirs to \"${libdirs}\" ..."
+ echo "libdirs=\"${libdirs}\"" > "${T}/gentoo.conf"
+ insinto "${dracutlibdir}/dracut.conf.d"
+ doins "${T}/gentoo.conf"
+
+ insinto /etc/logrotate.d
+ newins dracut.logrotate dracut
+
+ dodir /var/lib/dracut/overlay
+
+ dodoc dracut.html
+}
+
+pkg_postinst() {
+ if linux-info_get_any_version && linux_config_exists; then
+ ewarn ""
+ ewarn "If the following test report contains a missing kernel"
+ ewarn "configuration option, you should reconfigure and rebuild your"
+ ewarn "kernel before booting image generated with this Dracut version."
+ ewarn ""
+
+ local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
+
+ # Kernel configuration options descriptions:
+ local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev"
+ local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\
+"(initramfs/initrd) support"
+
+ local opt desc
+
+ # Generate ERROR_* variables for check_extra_config.
+ for opt in ${CONFIG_CHECK}; do
+ opt=${opt#\~}
+ desc=desc_${opt}
+ eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \
+ "is missing and REQUIRED'"
+ done
+
+ check_extra_config
+ echo
+ else
+ ewarn ""
+ ewarn "Your kernel configuration couldn't be checked. Do you have"
+ ewarn "/usr/src/linux/.config file there? Please check manually if"
+ ewarn "following options are enabled:"
+ ewarn ""
+ ewarn " CONFIG_BLK_DEV_INITRD"
+ ewarn " CONFIG_DEVTMPFS"
+ ewarn ""
+ fi
+
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \
+ sys-apps/iproute2 "net-misc/iputils[arping]"
+ optfeature \
+ "Measure performance of the boot process for later visualisation" \
+ app-benchmarks/bootchart2 app-admin/killproc sys-process/acct
+ 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-crypt/gnupg
+ optfeature \
+ "Allows use of dash instead of default bash (on your own risk)" \
+ app-shells/dash
+ optfeature "Framebuffer splash (media-gfx/splashutils)" \
+ media-gfx/splashutils
+ optfeature "Support iSCSI" sys-block/open-iscsi
+ optfeature "Support Logical Volume Manager" sys-fs/lvm2
+ optfeature "Support MD devices, also known as software RAID devices" \
+ sys-fs/mdadm
+ 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" \
+ net-misc/openssh
+ optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \
+ app-admin/rsyslog
+}
diff --git a/sys-kernel/dracut/files/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch b/sys-kernel/dracut/files/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch
new file mode 100644
index 000000000000..fd6f11859457
--- /dev/null
+++ b/sys-kernel/dracut/files/044-0001-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch
@@ -0,0 +1,32 @@
+From c41df7e1db1adc51399ab2c22f251b15eb2065b1 Mon Sep 17 00:00:00 2001
+From: Alexander Tsoy <alexander@tsoy.me>
+Date: Tue, 5 Jan 2016 22:11:57 +0300
+Subject: [PATCH] base/dracut-lib.sh:dev_unit_name() guard against $dev
+ beginning with "-"
+
+crypt/parse-crypt.sh generate initqueue job which always call
+dev_unit_name() with an argument beginning with "-". This results
+in the following error:
+
+dracut-initqueue[307]: + systemd-escape -p -cfb4aa43-2f02-4c6b-a313-60ea99288087
+dracut-initqueue[307]: systemd-escape: invalid option -- 'c'
+---
+ modules.d/99base/dracut-lib.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
+index ad03394..0a0b1b9 100755
+--- a/modules.d/99base/dracut-lib.sh
++++ b/modules.d/99base/dracut-lib.sh
+@@ -874,7 +874,7 @@ dev_unit_name()
+ local dev="$1"
+
+ if command -v systemd-escape >/dev/null; then
+- systemd-escape -p "$dev"
++ systemd-escape -p -- "$dev"
+ return
+ fi
+
+--
+2.10.2
+
diff --git a/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch b/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
new file mode 100644
index 000000000000..21cb6792acd2
--- /dev/null
+++ b/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
@@ -0,0 +1,24 @@
+From d4efc0aeeecc470d9a267b7f3c130f472488905c Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald@redhat.com>
+Date: Wed, 25 May 2016 15:06:29 +0200
+Subject: [PATCH] systemd-initrd: add initrd-root-device.target
+
+---
+ modules.d/01systemd-initrd/module-setup.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/modules.d/01systemd-initrd/module-setup.sh b/modules.d/01systemd-initrd/module-setup.sh
+index fb6a9ea..c1ccd2a 100755
+--- a/modules.d/01systemd-initrd/module-setup.sh
++++ b/modules.d/01systemd-initrd/module-setup.sh
+@@ -28,6 +28,7 @@ install() {
+ inst_multiple -o \
+ $systemdsystemunitdir/initrd.target \
+ $systemdsystemunitdir/initrd-fs.target \
++ $systemdsystemunitdir/initrd-root-device.target \
+ $systemdsystemunitdir/initrd-root-fs.target \
+ $systemdsystemunitdir/initrd-switch-root.target \
+ $systemdsystemunitdir/initrd-switch-root.service \
+--
+2.10.2
+
diff --git a/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch b/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
new file mode 100644
index 000000000000..85ebc7e638f2
--- /dev/null
+++ b/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
@@ -0,0 +1,23 @@
+From 69395a528aed99ec04b16c14ebacf4c2e10afd26 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Fri, 4 Nov 2016 13:09:28 -0400
+Subject: [PATCH] 50-dracut.install: use /bin/bash shebang
+
+This script utilizes several bash-specific constructs.
+---
+ 50-dracut.install | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/50-dracut.install b/50-dracut.install
+index 7d081d5..54c71d4 100755
+--- a/50-dracut.install
++++ b/50-dracut.install
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ COMMAND="$1"
+ KERNEL_VERSION="$2"
+--
+2.10.2
+
diff --git a/sys-kernel/dracut/files/045-systemdutildir.patch b/sys-kernel/dracut/files/045-systemdutildir.patch
new file mode 100644
index 000000000000..e56abba35470
--- /dev/null
+++ b/sys-kernel/dracut/files/045-systemdutildir.patch
@@ -0,0 +1,45 @@
+From ed5cc98864c28eab2c4cb45ec0f67450699aaaa8 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Mon, 3 Jul 2017 22:39:42 -0400
+Subject: [PATCH] dracut.sh: improve udevdir and systemdutildir fallback logic
+
+Check for a common binary in systemdutildir. This resolves an issue on
+split-usr systems, where it is common to have both /lib/systemd[/system]
+and /usr/lib/systemd[/user] present.
+
+Check for systemd-udevd specifically, since some distros (Gentoo) allow
+udev to be installed without the rest of the systemd stack.
+
+Similar logic is applied to udevdir simply for consistency.
+---
+ dracut.sh | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/dracut.sh b/dracut.sh
+index 64d94201..67c12a72 100755
+--- a/dracut.sh
++++ b/dracut.sh
+@@ -1266,16 +1266,16 @@ done
+ [[ -d $udevdir ]] \
+ || udevdir="$(pkg-config udev --variable=udevdir 2>/dev/null)"
+ if ! [[ -d "$udevdir" ]]; then
+- [[ ! -h /lib ]] && [[ -d /lib/udev ]] && udevdir=/lib/udev
+- [[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
++ [[ -e /lib/udev/collect ]] && udevdir=/lib/udev
++ [[ -e /usr/lib/udev/collect ]] && udevdir=/usr/lib/udev
+ fi
+
+ [[ -d $systemdutildir ]] \
+ || systemdutildir=$(pkg-config systemd --variable=systemdutildir 2>/dev/null)
+
+ if ! [[ -d "$systemdutildir" ]]; then
+- [[ ! -h /lib ]] && [[ -d /lib/systemd ]] && systemdutildir=/lib/systemd
+- [[ -d /usr/lib/systemd ]] && systemdutildir=/usr/lib/systemd
++ [[ -e /lib/systemd/systemd-udevd ]] && systemdutildir=/lib/systemd
++ [[ -e /usr/lib/systemd/systemd-udevd ]] && systemdutildir=/usr/lib/systemd
+ fi
+
+ [[ -d $systemdsystemunitdir ]] \
+--
+2.13.2
+
diff --git a/sys-kernel/dracut/files/dracut-044-bash-4.4.patch b/sys-kernel/dracut/files/dracut-044-bash-4.4.patch
new file mode 100644
index 000000000000..3144c8e6b759
--- /dev/null
+++ b/sys-kernel/dracut/files/dracut-044-bash-4.4.patch
@@ -0,0 +1,80 @@
+diff -urN dracut-044.orig/modules.d/50drm/module-setup.sh dracut-044/modules.d/50drm/module-setup.sh
+--- dracut-044.orig/modules.d/50drm/module-setup.sh 2015-11-25 16:22:28.000000000 +0300
++++ dracut-044/modules.d/50drm/module-setup.sh 2016-09-28 02:50:08.914967926 +0300
+@@ -24,9 +24,9 @@
+ local _fname _fcont
+ while read _fname || [ -n "$_fname" ]; do
+ case "$_fname" in
+- *.ko) _fcont="$(< $_fname)" ;;
+- *.ko.gz) _fcont="$(gzip -dc $_fname)" ;;
+- *.ko.xz) _fcont="$(xz -dc $_fname)" ;;
++ *.ko) _fcont="$(< $_fname tr -d \\0)" ;;
++ *.ko.gz) _fcont="$(gzip -dc $_fname | tr -d \\0)" ;;
++ *.ko.xz) _fcont="$(xz -dc $_fname | tr -d \\0)" ;;
+ esac
+ [[ $_fcont =~ $_drm_drivers
+ && ! $_fcont =~ iw_handler_get_spy ]] \
+diff -urN dracut-044.orig/modules.d/90kernel-modules/module-setup.sh dracut-044/modules.d/90kernel-modules/module-setup.sh
+--- dracut-044.orig/modules.d/90kernel-modules/module-setup.sh 2015-11-25 16:22:28.000000000 +0300
++++ dracut-044/modules.d/90kernel-modules/module-setup.sh 2016-09-28 02:49:11.725390294 +0300
+@@ -10,9 +10,9 @@
+ function bmf1() {
+ local _f
+ while read _f || [ -n "$_f" ]; do case "$_f" in
+- *.ko) [[ $(< $_f) =~ $_blockfuncs ]] && echo "$_f" ;;
+- *.ko.gz) [[ $(gzip -dc <$_f) =~ $_blockfuncs ]] && echo "$_f" ;;
+- *.ko.xz) [[ $(xz -dc <$_f) =~ $_blockfuncs ]] && echo "$_f" ;;
++ *.ko) [[ $(< $_f tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
++ *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
++ *.ko.xz) [[ $(xz -dc <$_f | tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
+ esac
+ done
+ return 0
+diff -urN dracut-044.orig/modules.d/90kernel-network-modules/module-setup.sh dracut-044/modules.d/90kernel-network-modules/module-setup.sh
+--- dracut-044.orig/modules.d/90kernel-network-modules/module-setup.sh 2015-11-25 16:22:28.000000000 +0300
++++ dracut-044/modules.d/90kernel-network-modules/module-setup.sh 2016-09-28 02:51:08.202422231 +0300
+@@ -26,9 +26,9 @@
+ while read _fname; do
+ [[ $_fname =~ $_unwanted_drivers ]] && continue
+ case "$_fname" in
+- *.ko) _fcont="$(< $_fname)" ;;
+- *.ko.gz) _fcont="$(gzip -dc $_fname)" ;;
+- *.ko.xz) _fcont="$(xz -dc $_fname)" ;;
++ *.ko) _fcont="$(< $_fname tr -d \\0)" ;;
++ *.ko.gz) _fcont="$(gzip -dc $_fname | tr -d \\0)" ;;
++ *.ko.xz) _fcont="$(xz -dc $_fname | tr -d \\0)" ;;
+ esac
+ [[ $_fcont =~ $_net_drivers
+ && ! $_fcont =~ iw_handler_get_spy ]] \
+diff -urN dracut-044.orig/modules.d/90multipath/module-setup.sh dracut-044/modules.d/90multipath/module-setup.sh
+--- dracut-044.orig/modules.d/90multipath/module-setup.sh 2015-11-25 16:22:28.000000000 +0300
++++ dracut-044/modules.d/90multipath/module-setup.sh 2016-09-28 02:49:11.726390235 +0300
+@@ -58,9 +58,9 @@
+ local _f
+ while read _f || [ -n "$_f" ]; do
+ case "$_f" in
+- *.ko) [[ $(< $_f) =~ $_funcs ]] && echo "$_f" ;;
+- *.ko.gz) [[ $(gzip -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
+- *.ko.xz) [[ $(xz -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko) [[ $(< $_f tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko.xz) [[ $(xz -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
+ esac
+ done
+ return 0
+diff -urN dracut-044.orig/modules.d/95iscsi/module-setup.sh dracut-044/modules.d/95iscsi/module-setup.sh
+--- dracut-044.orig/modules.d/95iscsi/module-setup.sh 2015-11-25 16:22:28.000000000 +0300
++++ dracut-044/modules.d/95iscsi/module-setup.sh 2016-09-28 02:49:11.726390235 +0300
+@@ -168,9 +168,9 @@
+ local _f
+ while read _f || [ -n "$_f" ]; do
+ case "$_f" in
+- *.ko) [[ $(< $_f) =~ $_funcs ]] && echo "$_f" ;;
+- *.ko.gz) [[ $(gzip -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
+- *.ko.xz) [[ $(xz -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko) [[ $(< $_f tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
++ *.ko.xz) [[ $(xz -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
+ esac
+ done
+ return 0
diff --git a/sys-kernel/dracut/files/dracut-044-preserve-xattrs-when-copying.patch b/sys-kernel/dracut/files/dracut-044-preserve-xattrs-when-copying.patch
new file mode 100644
index 000000000000..3146d8485a9c
--- /dev/null
+++ b/sys-kernel/dracut/files/dracut-044-preserve-xattrs-when-copying.patch
@@ -0,0 +1,51 @@
+From 61c761bc2c35fb244d46fbbde97161f5927071dc Mon Sep 17 00:00:00 2001
+From: Stefan Berger <stefanb@us.ibm.com>
+Date: Tue, 25 Oct 2016 15:09:49 -0400
+Subject: [PATCH] dracut-install: preserve extended attributes when copying
+ files
+
+Preserve extended attributes when copying files using dracut-install.
+
+The copying of extended attributes avoids file execution denials when
+the Linux Integrity Measurement's Appraisal mode is active. In that mode
+executables need their file signatures copied. In particular, this patch
+solves the problem that dependent libaries are not included in the
+initramfs since the copied programs could not be executed due to missing
+signatures. The following audit record shows the type of failure that
+is now prevented:
+
+type=INTEGRITY_DATA msg=audit(1477409025.492:30065): pid=922 uid=0
+ auid=4294967295 ses=4294967295
+ subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
+ op="appraise_data" cause="IMA-signature-required"
+ comm="ld-linux-x86-64"
+ name="/var/tmp/dracut.R6ySa4/initramfs/usr/bin/journalctl"
+ dev="dm-0" ino=37136 res=0
+
+Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
+---
+ install/dracut-install.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/install/dracut-install.c b/install/dracut-install.c
+index fe30bba..c0f1c17 100644
+--- a/install/dracut-install.c
++++ b/install/dracut-install.c
+@@ -294,7 +294,7 @@ static int cp(const char *src, const char *dst)
+ normal_copy:
+ pid = fork();
+ if (pid == 0) {
+- execlp("cp", "cp", "--reflink=auto", "--sparse=auto", "--preserve=mode,timestamps", "-fL", src, dst,
++ execlp("cp", "cp", "--reflink=auto", "--sparse=auto", "--preserve=mode,timestamps,xattr", "-fL", src, dst,
+ NULL);
+ _exit(EXIT_FAILURE);
+ }
+@@ -302,7 +302,7 @@ static int cp(const char *src, const char *dst)
+ while (waitpid(pid, &ret, 0) < 0) {
+ if (errno != EINTR) {
+ ret = -1;
+- log_error("Failed: cp --reflink=auto --sparse=auto --preserve=mode,timestamps -fL %s %s", src,
++ log_error("Failed: cp --reflink=auto --sparse=auto --preserve=mode,timestamps,xattr -fL %s %s", src,
+ dst);
+ break;
+ }
diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml
new file mode 100644
index 000000000000..f5d50630f4a7
--- /dev/null
+++ b/sys-kernel/dracut/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@tsoy.me</email>
+ <name>Alexander Tsoy</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <use>
+ <flag name="debug">Module installing additional tools like strace, file
+ editor, ssh and more</flag>
+ </use>
+ <longdescription lang="en">
+ Generic, modular initramfs generation tool that can be used across various
+ distributions.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-kernel/genkernel-next/Manifest b/sys-kernel/genkernel-next/Manifest
new file mode 100644
index 000000000000..70e469e1abbf
--- /dev/null
+++ b/sys-kernel/genkernel-next/Manifest
@@ -0,0 +1,9 @@
+DIST genkernel-next-65.tar.gz 2402179 SHA256 f12f4291f75b9078d1d81cfa047efb3d60ea42dc5e956a20c701c6a9e0f271d3 SHA512 a65770f122617a5e15bd1eefee7b72fee1ad6468d3d51195b1798e48d507b27088b6fa2bb719f579847c73a639be066170b497c3d8d86d2738236a6981188bbc WHIRLPOOL 42a754b1d21dc651955d6533e66555824a2a431c5ddd1c19983a8993841fc7e73b1955e83e0cc2321a91b354f69aff2bb4e6785e56302c96f99cf2f2153c4d5d
+DIST genkernel-next-66.tar.gz 2402393 SHA256 63c54e0319f2b8463e3b6cf3aefefc1199cc1899c2e1a326977cbaaf24dac080 SHA512 c4c1ef8b389da6db87a00179139d677137938ac20718865b876026213b3a4c650db2e856517418bc5aae7c96657d9eab9ef2bfbdef9257bf2b7623c387ea8d87 WHIRLPOOL ccdac0f0e444e54dacaa854fa95dd8315c62c13538113ff4ecf9a8ad6ed6f04dded8231d33c6e605201875ba690bb3a2a9f1d05cc7bdece57e1331df10e6979f
+DIST genkernel-next-68.tar.gz 2402773 SHA256 f4c1bd755b24bf1c6a0d37d35390eff648268742c4af5005ce66f38bf149937b SHA512 7802fa57727dce664ff0354980132490bf55ccdd514c8fe4550eb5aa4a2a3c55663970ba67173878891f1b2b5272d529141b963067949e650b914c10e7801a28 WHIRLPOOL 0f3347a8e3f6b2e537285d6c52bf6bb9fb3637ed2951471d348647c4e4642e4daf3767aa9d2fc2c28f0e1e7f3d076e35fe9315f06439b665b91618d3786b0832
+EBUILD genkernel-next-65.ebuild 1216 SHA256 be9be7c36eca4ceacafd2ca2f5e460a3bdd784a362b14c675255e7ec7ff83e99 SHA512 f8c5d3440f68905e8e77cfd4414d88cc73311a97a7c3566e71c88cf30c5f1d3342c1d3666611c0f06731fd34d13551b95a7ff704145a34098b09f2ed2c910439 WHIRLPOOL beb747de381e31fbe72c429e2fcf5fa2e4648fb4679a536046161793ce0701de0724e29086961629d1828e886a48d27adfe55f4a514f241bd2992e8171314db7
+EBUILD genkernel-next-66.ebuild 1220 SHA256 72c31315e6a7b9ac2601f25529431831b177f962d84c6afc504b2503f40b03cd SHA512 ce8c98f322a472fc5237b553141ba1ad13a008b657333cb313d178fc3efbcf2a647bcdce863ae3e64d5ac625838b13102869bb64a7ea67c2448acc2c838a2ada WHIRLPOOL 5732e4e384c3874bf1eadd57f24b5f4430a0771ce471ba0a4531e14fdb4985ee0646ad4aeeef4f45b4a7001f33f2d9d670a04da8336b2e66164a061876a62385
+EBUILD genkernel-next-68.ebuild 1221 SHA256 0daff26f97819940de1019a6012e1718d6ed19b0f6fa7a58c2d5f5baa206067a SHA512 fc881254ce1bddeec959022015c2f14909a54d2ca3176af11abac7fd10e6dc05d5cf171a6d973a69641453abce8a747fd7c8d266e5da303007485c207ce87e9c WHIRLPOOL e20a5e5c7ed642b2c02865a47979357686235d36d4f339af1ef467457d7a69d7e1b2f5241826de3dc5ee0e2a012946afa7a6c64f8099203f46da917dc0549f8b
+MISC ChangeLog 5682 SHA256 27666a1bb7c3be5b998661f685925a2e3717acaeb97f71c8df1e5c9020bcdf2b SHA512 9563eb842cac54901c1fdd179fad0d1059f7666cb26c5f68bc1a6977e23f1bd44e2a8eeb025bdba454f189a59e9d42365929fad98e41f4a01e2372da9293db6d WHIRLPOOL d30875f7897c7754ef573fbc73dec3a69ddfe067f56a68a050c2dacf77edd2888f4dac0be11f5629c50d96fbc24a07d37424754e81200b116a136c55afbb5d64
+MISC ChangeLog-2015 8067 SHA256 5c1098e6ab7bc53791d7fccf738a2ded8412231b2f442a0be1c79023bf9f2812 SHA512 8b633a9da0cbc36b53af313c21d159be3ffd1b7a96ed7cc121e7d94766f3998c439befb0bfef63ae5b3c0f7a640e6924275f81f78ff16ed5b9602d5113d610db WHIRLPOOL adddbe51c8fa792f647f7cfa07312f011d86c220c643bd9509eb6977e0c79fd63ed643fc952389abc6a0dfa1647558095007e029f67558cf8b4dfc75ac46dbb0
+MISC metadata.xml 1075 SHA256 273f83893c34e39991364bbd46b04012b24db0f44d46e8a4a3e1b534cc18fce1 SHA512 1ae015b809f02a67c1c722a155b7a20e78427cfb4f9be43500d7c9e52aedbf82476906a6c5949da1473da388f2e130b46d63016c884dfe17462d532874f29612 WHIRLPOOL 378f7bb2c45ffd01c8691ef07e25d5e8434005206c178a22fca209435223d0f58e06a1ddb382c4ee21875d5247c31d0cbc16a8b4df83128f9422cd2f5baeb6ef
diff --git a/sys-kernel/genkernel-next/genkernel-next-65.ebuild b/sys-kernel/genkernel-next/genkernel-next-65.ebuild
new file mode 100644
index 000000000000..ee350d721179
--- /dev/null
+++ b/sys-kernel/genkernel-next/genkernel-next-65.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SRC_URI="https://github.com/Sabayon/genkernel-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~alpha amd64 ~arm ia64 ppc ppc64 x86"
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo automatic kernel building scripts, reloaded"
+HOMEPAGE="https://www.gentoo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="cryptsetup dmraid gpg iscsi mdadm plymouth selinux"
+DOCS=( AUTHORS )
+
+DEPEND="app-text/asciidoc
+ sys-fs/e2fsprogs
+ !sys-fs/eudev[-kmod,modutils]
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ !sys-kernel/genkernel
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 )
+ gpg? ( app-crypt/gnupg )
+ iscsi? ( sys-block/open-iscsi )
+ mdadm? ( sys-fs/mdadm )
+ plymouth? ( sys-boot/plymouth )
+ app-portage/portage-utils
+ app-arch/cpio
+ >=app-misc/pax-utils-0.6
+ !<sys-apps/openrc-0.9.9
+ sys-apps/util-linux
+ sys-block/thin-provisioning-tools
+ sys-fs/lvm2"
+
+src_prepare() {
+ default
+ sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \
+ die "Could not setup release"
+}
+
+src_install() {
+ default
+
+ doman "${S}"/genkernel.8
+
+ newbashcomp "${S}"/genkernel.bash genkernel
+}
diff --git a/sys-kernel/genkernel-next/genkernel-next-66.ebuild b/sys-kernel/genkernel-next/genkernel-next-66.ebuild
new file mode 100644
index 000000000000..2a5130d91fc3
--- /dev/null
+++ b/sys-kernel/genkernel-next/genkernel-next-66.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SRC_URI="https://github.com/Sabayon/genkernel-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~arm ia64 ~ppc ~ppc64 ~x86"
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo automatic kernel building scripts, reloaded"
+HOMEPAGE="https://www.gentoo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="cryptsetup dmraid gpg iscsi mdadm plymouth selinux"
+DOCS=( AUTHORS )
+
+DEPEND="app-text/asciidoc
+ sys-fs/e2fsprogs
+ !sys-fs/eudev[-kmod,modutils]
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ !sys-kernel/genkernel
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 )
+ gpg? ( app-crypt/gnupg )
+ iscsi? ( sys-block/open-iscsi )
+ mdadm? ( sys-fs/mdadm )
+ plymouth? ( sys-boot/plymouth )
+ app-portage/portage-utils
+ app-arch/cpio
+ >=app-misc/pax-utils-0.6
+ !<sys-apps/openrc-0.9.9
+ sys-apps/util-linux
+ sys-block/thin-provisioning-tools
+ sys-fs/lvm2"
+
+src_prepare() {
+ default
+ sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \
+ die "Could not setup release"
+}
+
+src_install() {
+ default
+
+ doman "${S}"/genkernel.8
+
+ newbashcomp "${S}"/genkernel.bash genkernel
+}
diff --git a/sys-kernel/genkernel-next/genkernel-next-68.ebuild b/sys-kernel/genkernel-next/genkernel-next-68.ebuild
new file mode 100644
index 000000000000..1ed37c9c89c9
--- /dev/null
+++ b/sys-kernel/genkernel-next/genkernel-next-68.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SRC_URI="https://github.com/Sabayon/genkernel-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo automatic kernel building scripts, reloaded"
+HOMEPAGE="https://www.gentoo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="cryptsetup dmraid gpg iscsi mdadm plymouth selinux"
+DOCS=( AUTHORS )
+
+DEPEND="app-text/asciidoc
+ sys-fs/e2fsprogs
+ !sys-fs/eudev[-kmod,modutils]
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ !sys-kernel/genkernel
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 )
+ gpg? ( app-crypt/gnupg )
+ iscsi? ( sys-block/open-iscsi )
+ mdadm? ( sys-fs/mdadm )
+ plymouth? ( sys-boot/plymouth )
+ app-portage/portage-utils
+ app-arch/cpio
+ >=app-misc/pax-utils-0.6
+ !<sys-apps/openrc-0.9.9
+ sys-apps/util-linux
+ sys-block/thin-provisioning-tools
+ sys-fs/lvm2"
+
+src_prepare() {
+ default
+ sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \
+ die "Could not setup release"
+}
+
+src_install() {
+ default
+
+ doman "${S}"/genkernel.8
+
+ newbashcomp "${S}"/genkernel.bash genkernel
+}
diff --git a/sys-kernel/genkernel-next/metadata.xml b/sys-kernel/genkernel-next/metadata.xml
new file mode 100644
index 000000000000..739a80d91c8c
--- /dev/null
+++ b/sys-kernel/genkernel-next/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mudler@gentoo.org</email>
+ <name>Ettore Di Giacinto</name>
+ <description>Assign bugs to him</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>lxnay@gentoo.org</email>
+ <name>Fabio Erculiani</name>
+ <description>CC on bugs</description>
+ </maintainer>
+ <use>
+ <flag name="cryptsetup">Enable support for Luks disk enrcyption using <pkg>sys-fs/cryptsetup</pkg></flag>
+ <flag name="dmraid">Enable support for DMRAID (include dmraid dependency)</flag>
+ <flag name="gpg">Enable support for GPG (include gnupg dependency)</flag>
+ <flag name="iscsi">Enable support for open-iscsi (include open-iscsi dependency)</flag>
+ <flag name="mdadm">Enable support for mdadm (include mdadm dependency)</flag>
+ <flag name="plymouth">Enable support for Plymouth (include Plymouth dependency)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Sabayon/genkernel-next</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
new file mode 100644
index 000000000000..8acec1668883
--- /dev/null
+++ b/sys-kernel/genkernel/Manifest
@@ -0,0 +1,38 @@
+AUX genkernel-3.4.52.4-grub-mkconfig.patch 689 SHA256 de029dfe1cd6ba9b2b8d714a00fb631517adb42632278e4a22a57020dd89c043 SHA512 f69191e003ee950d8031dd41dffa7724c22535f2b8f7344452150cc171452c9cba171a989aa00d3183993e56c21aeee62ac1b47517c2f2f04d739a109ffefbb3 WHIRLPOOL 1bb66eac5680e68095aba7700d45ecd1d6b26f49500798aebdf376779225480d3caada481d1a243d3963b3b7f0dc11eea948e16a5e421bf0bf5ce680ef4f6041
+AUX genkernel-3.4.52.4-system-map.patch 1498 SHA256 b6f69d2b0db844fc2b5b38d5f0ae7d17e7d30bff76be0d23d9811c971599b7bb SHA512 a2c7fb83e34f75f2ceab182d355616f3ee7e9b524596ea10f69ce1f87f1e21e693f42838650b3a919670182e5f36a6b94475f4d4ebc65e7494cdaa87933f29b9 WHIRLPOOL 4a4fa1c4a2d24a82e230f833a372a0aebacdfeeab127085acf07334059106d75f28c1e37950e65e8b9dcd9788be5d3e9259813848962e7f217d37163363fbaf3
+AUX genkernel.bash 2438 SHA256 e7de9771ba79ef878e2c9a21a1c1720f092c6047d3cc7d4a49ff6b90e7e2c248 SHA512 2bfe23606f919577bb2d174ffe18cd00fbb4ce642fb8860b319e059745d46ff8459b99374159f78af9f3aebb0a352a74ccd74c3be581980f5e298293b96e983d WHIRLPOOL 71a6be56d38c24c3032fec5f4016c92dd0bc8140e5204db9d97c5cc5be42a2465282f36e213858b528d013ff74c6bcbf9aa443a77a8ed3ce8174baa79afe6004
+AUX initramfs.mounts 816 SHA256 57ba8450e3f09edc9a4e5a1be15d49c77e4e014e27c626e9e3771167cbb54e49 SHA512 97e5f92d135cff3911a68c7f1afd0f781ec1c1b794cdc824d74f8c119104ecb40bd7180be8414dc72f3a5a811143d6b4bf443ac1d3ff7a71b1e88cbf7c179665 WHIRLPOOL f39d27de6e69b3555f81138a59f25b104f9dd6aa6254a5391d3375b15acaac48f0e698f3e6f96ed88845b84fbf8fa2cd64b98281df977c12a99ec7d9ddaf2a10
+DIST LVM2.2.02.173.tgz 2363504 SHA256 ceb9168c7e009ef487f96a1fe969b23cbb07d920ffb71769affdbdf30fea8d64 SHA512 c2ea8beafe006abf9282f51ec98600fd0ebff816d53c10ecbb19bbf336ada4825135cf9c92ccd364afb18f8b1d7e163eff5bdec8dfdd70dfb9ba45db2f6bdd5e WHIRLPOOL fcafa785bb6c9223b52e31c09570bc68bae9495431b947265e31a2b680b549f76f2fe1d2ccc56420ceec50e8b55ef9314706d9bc50348b3c449192d9fe03c4d0
+DIST LVM2.2.02.88.tgz 1029151 SHA256 a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432 SHA512 5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b WHIRLPOOL b30a1f2403e71ff6fb381ec82291018632e1d10258dd615efae4e39077a304a66271013247793390f57c26886599d8bad8f4b896d230f3e4f846e74c12282f71
+DIST busybox-1.20.2.tar.bz2 2186738 SHA256 eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882 SHA512 089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd WHIRLPOOL aa8fec92d0ac8bb246dea7353537d425a5fecfa0bb807d0e291c7351e8289b84aab83303c45b75f9b7a98cd10177e210511064f0709425c2f84b069fe6a06420
+DIST busybox-1.26.0.tar.bz2 2143958 SHA256 3ad227375ee870d529007f6ce83f173b8bd5a37df624ecb460295554261c0f4c SHA512 9e38c2f4c5ddb6c3a184170b5526c1a78cf53a575ed359fb18c407976cab9788fa95a26ca2d4e5c32e1d639890944d98e118149ee1402b18fe085b0baf0186d3 WHIRLPOOL c8a7419bd711d3e0249807ef9f9ff6123ff8d0767479ea3b3e54ef48f6132514942bc37b79334ca2afd6009d32c5e242712bd6b3995f49904c33040c66df9dcc
+DIST busybox-1.27.2.tar.bz2 2216527 SHA256 9d4be516b61e6480f156b11eb42577a13529f75d3383850bb75c50c285de63df SHA512 d99e86b652562ebe1a5d50e1ba3877a1d1612997c17cb8d8e4212da181211a9b741a881cb051f14cb3ee8aea40226cf2cde80a076baed265d3bc0a4e96a5031c WHIRLPOOL 56002a144710aa00ee17c46e3ac471537f58bee6b9d4da6cefc0afb4f75cf13dcaaadf1e6610d0e10c7b808b0c33c24743e21c683c478582eb0eb149a869f9a7
+DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 SHA256 93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e WHIRLPOOL 87915ea0013766da8a9722b437bfe146b4b2c7560a7814ac6caab92054ddc3b4b59ceb4d413609d5eaab92b5cee67886ade7924455f1dba19f1b8dabc25d3498
+DIST fuse-2.8.6.tar.gz 505334 SHA256 1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6 SHA512 03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd WHIRLPOOL 668c01f5ae9742f3e70248d6d2b57cbeaa0decf93d5f7987550fe54d4ebdb6e445ff841e8d36a60a4824c114651b8a93b118e15b8a00ac30ddc813e583fa2b51
+DIST genkernel-3.4.49.2.tar.bz2 266427 SHA256 62ade4f83cefc2278e1dc7cf1456974b037a2aedc6dafcaf05c02b53e29a6e34 SHA512 f66b0107438d420a16de546ee28e2a2f09281fcf21c2ffc26c94438ba4c7467e607bf296081954e90d01a92e7db7642091267bade458b837758041a64b0b97ea WHIRLPOOL 626adac32a9b4c9f1ab9acc62a2354d894db806171a4fe28bd4697e28b7315d2ac1da1fcc438fbdb8ce5d9ce9bb88269c4e4f549122bae425b8d98e7f32315fa
+DIST genkernel-3.4.52.3.tar.xz 282976 SHA256 7873c7ff94f3a36f2c71f4915e82b92afd16f1ecd29af290c5d3e8d300857bf5 SHA512 a68b0149b9a69f59ab3e8d772f35f12643b9500c0c684d4824ca1f3c669b0ea01989a55643cd5b413f35d6fff284cd5ede7183971e202b3788caeb399259191f WHIRLPOOL 6212b7df42755784ade2741150e7093c3dea440cc89897991985fb867d46a05b56931d1a7b083f141fd71ffe96237b1cd26d53ce4e35a155f28508a8e131c03f
+DIST genkernel-3.4.52.4.tar.xz 284064 SHA256 3a2fd217c4817f4b8a4a1bef7051c373f10fddd6983125b61050a134c4a78c2a SHA512 2dcdf2acb19c868ea7bfd5a0f9c7c3b179ac0f9f31b74306641dd8a1e8b076f5122e60a96c006e20f634e9e540d51723ef94bf91d8e28217dbb2159ff4d896dc WHIRLPOOL 92ec9850ec67e3b227dc8689a494fb31554872ad772fdfdb152fe2033fcaff9c34669b3a76806171bb3971e34e2ea63d118ab268220d18669b298574e976edda
+DIST genkernel-3.5.0.8.tar.xz 287876 SHA256 17f5722666c1e9eaa40dde198b9a498cfd336d7b7e525ce94c25b404573ba2f4 SHA512 92014ef2af4e52b20647fee344eecd91c943750e0095a552615367229eff875ee6fd70c6bf256d79a8c04cab6f6ade7b669f1cca435cd5a0faacdccd524ac648 WHIRLPOOL ea173a208c943d41ce1449118930091a767584eade89d2b9f8288fa92405a5e83270c919e35e3a0a68e8804468bc32a2cccf4d9ecf6d9fe3850f83465413a26f
+DIST genkernel-3.5.1.0.tar.xz 292388 SHA256 1c84e405ed839ed7f3702a0685454fa374ccdb9f38f13ea1e71b06b77f019f59 SHA512 a4b13101b1bc6e3bc24077b2ac67e0e973f65b95a663ef848888e48f5ecc293d1f3895c0c7ef30b0686dbb6fdc8a50a2a5f1a347f28aa0b536912ac194c8bc28 WHIRLPOOL 666b17a220f9c897230b812eea3a69e6c0d68d07d34273b1d76b4f46cc10b61d9cb286d8b4256a6b5764691e5aebeb35c5c8bcf6b9f40bc1b9fb932939147726
+DIST genkernel-3.5.1.1.tar.xz 292864 SHA256 5ab5019fbfe0173f431556b97206dc51636bfa8b4dfe51143d6e9a2bf8e18233 SHA512 ff564e00bed2c7c211a0c7e73425169a6d354366737b8a561751557980f866dcd071baee5de3b089221cf6cb3ffd61d26ddd7d2f6f7e18d0c0df19ad94da1678 WHIRLPOOL 95b9cd693c08de74cd7aa9ef029822d2f0debab0f63658869d2ab3d5e5a970ed8b2bf049b414c3eec5618d4b726f32eb19ff7a01c99ffc750360d6368416a92d
+DIST genkernel-3.5.2.0.tar.xz 291956 SHA256 a2bd11be022f61d8ce734a1755228d5a217064341cd99c8ca8a1f3887ffb1b09 SHA512 3ac1c06dcde4008b5bad4441347e278717b7bc8560c300567f4d2ecf0603249845dacc19aa29483a0801eac073c8150d6d11b4b4edb80fc7cd5cf44745f75045 WHIRLPOOL f8b8ef28340514e8a9044da0ada619f4a07ae48efe99b644a1aee0ea062b8e3b9273d67e02da9b4383300f91d5bfbfeb98146443bde97c21c52680395f0522fa
+DIST genkernel-3.5.2.1.tar.xz 293680 SHA256 8682e937ee44f1fe82a3e546acc3de542069a368e59eca9691c0ee6250992eee SHA512 94dd1e4b09578b1563db5152af1f651022196b05492ef69cd7330fb05eb3c950d71b6b5c5e228c8316ced5130cb7cd9d4a24ce31c5ada093e173c9f67f309789 WHIRLPOOL 91f276e8e6ec641ddf544e3e993ddfff3fead9f685a1ca5393d879910fc8cce77fc8d79c8a6bd4080a3586bc7571969da40604b18e3030dcb48ac75cd6a8d369
+DIST gnupg-1.4.11.tar.bz2 3407075 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6 SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae WHIRLPOOL 6f914627e2f527f6616e1f99d2ae06942b734f839d03a45ffa45bf67516a81d58f89e6a85612cf8e5fd83be04ab0b6bc2da8f81114143dad7523e5fcea62366b
+DIST gnupg-1.4.22.tar.bz2 3746546 SHA256 9594a24bec63a21568424242e3f198b9d9828dea5ff0c335e47b06f835f930b4 SHA512 c03acac0fa55761470bb085d78a44e2b99ebb187e8396cbb031a184b1e40bef2a40c91da07755d1a20610a3daa6aa1eefea2d12a0dbd5a79a45466166419c708 WHIRLPOOL 3d5f09fc43bf3cf316934c0d0a45a60252dbabe41d12251a93f01f1691fe2436a6dd295b1b4505177281e33611f1911b4a03eaed545810053cc110c6ed539304
+DIST mdadm-3.1.5.tar.bz2 292709 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3 SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d WHIRLPOOL 003595a1338b3a95ccc176b07a31f26dd5fda9460f2c4d3513b9ca09cdab1c91dab05f8914f2354047fccff42c4dcfc6131a383c84467c2838ac7b1af2f9bef8
+DIST mdadm-4.0.tar.xz 430780 SHA256 1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9 SHA512 12fb26e6b9c1912698defa406e5e47a7ca8d68d4a9aa7acdc9b463ee2d4a37fc6ecef6beb5395ff619018c3f6bdb6d8c573060d027707540f645ad2265170e8b WHIRLPOOL 6587c7817556fbf47f7624a05d000c3a8396c84fbabe43aa574b649a119f987181b909f4347b93b07a45bf4d6519e1c8a39b1c0245538d64fb0eddd27e3e4054
+DIST open-iscsi-2.0-872.tar.gz 900081 SHA256 37753697a170223ac02a292b3a23a315a3c747b490c42480e4057b676c9f8d4f SHA512 d26c87772b0b1d13a8bd2eea9db86b3c61af83efbb788116c01ab6a914ff3de634a7b1bff56c1161b28965315543edbfc2735b6c7fbd3f7797471fde63b69cc0 WHIRLPOOL 4b04c8481c6c5f094ca6f7761828006a84eda7a22a6b3a4d65e7b3e4b39e73ef839ec710b491e7ca731b047fa8c74a9c03a17e85519a62dfbeb95222cfbdd935
+DIST unionfs-fuse-0.24.tar.bz2 30381 SHA256 d8abc855eb618ac356b1e716599c82f8f0f74dbaee36d4062edc707567121937 SHA512 e0e414f4edbf641ec9d0135a8723e43fc75412359b482f7aedd66fe8245e4df03943c5ecb6f8de4fdbd97f0346033c691e766cc4f4a755f5b43748e1441d3fbd WHIRLPOOL dc132086d9614895961dc8b498c435145b4390fc80331e0575ee8420faea0201325ab2394b9090d8f721c602ef1f93e150573b1b88b77ee4f7be4a262103b986
+EBUILD genkernel-3.4.49.2.ebuild 5351 SHA256 f11ad37a96edafbbf485138000abb2d7c28c9ea5813e929c622a3fff33df757b SHA512 d01c0fd535ab9560d6cf311da874f116a5350f625400c987a857d913edfbd90681fd9d1b216f56770b229fc758baee6c49036fc716b046cdfe97ae55de52c5ec WHIRLPOOL 830507010fa80bd274c94a2db6b042f7dd26b8bd8f393de8f8ecb522e48f938df2f43405fecd4182321a5d1251dcc10590e2585ad8d1cad78a3976e8b86b42fa
+EBUILD genkernel-3.4.52.3.ebuild 4552 SHA256 0d3063db9d78a20cf390bcb7dc4f32a82c04318f7de4c72278203470b6ba19c0 SHA512 c090862291c5098fceb97548ff7abeba8f3aa444858e5bc26dde3ceb2e57abe4d709d163cf2d35e95fe19e7397f05c66a03dd3a6c1d83b727b247bd84a403da3 WHIRLPOOL 4c7e5b97e68d6e28db20db2f03ea3121b39f5955805e7fb7db07a4bde12b36aa5e5474596909673f242d37f1c51336b35fec934363e8e7701c33e8887f14ab69
+EBUILD genkernel-3.4.52.4-r1.ebuild 4614 SHA256 b59ef794d8fce207bb996a4b7248efe8509ac5d832e3778f40c4559839f40217 SHA512 564a17b718a6d4ff297a1ed9dd1bbf1ce40549c7558dd9e9213fb5002538f4aaa5d193fcf20e537c3d89c4617fdb58d4d69169fa7a01caecfbd9ae3141a1d99f WHIRLPOOL ca4bfa1f0f8950e433cfbc9f473cd19a30d01a028162a12e74fcd998942a4c653c17931a4c452c03b244fd103a97a90478ffcdd5b510a536547be72576241005
+EBUILD genkernel-3.4.52.4-r2.ebuild 4661 SHA256 d25e088836dcec14af06af3f9434bf070b8f7840f4040a9f224ddf489da21547 SHA512 0b37f805d8d9280354c0b50980ba7884cf68eafeeab0bc664dcafee52f0a4b3a21fe0efb4baa39fbad878bad7542e12e319a0ee98d2140b40fb5722a43648c1e WHIRLPOOL cb9e046f7e577ad3fcb1234fb1139237294f72a111fdb2c98a27a13f6684f5d53427004c261bd29ca05f138fea242b8354398e621af8f878435b42b6ae8fcf20
+EBUILD genkernel-3.5.0.8.ebuild 4722 SHA256 55fe3b3d7617afcb3bda89cfd1637114d5433fdc72c8c3e7fc713955a4daf16d SHA512 542b2e9adc369e57b84004c481db9a74a8864f3de024c5d332e9ccd9ada0bdb93545f2831a8a6725910ac30c9384be9313e18ca4a446958a2048b6179cdee641 WHIRLPOOL f835972b81a08bcf3664c32008f07da9a57d4c9352fad4c70369a5606e1db33e3c6ab34a328d9e8395209e24c923a26a42d041c556ce9f1da87e2e4589714763
+EBUILD genkernel-3.5.1.0.ebuild 4722 SHA256 55fe3b3d7617afcb3bda89cfd1637114d5433fdc72c8c3e7fc713955a4daf16d SHA512 542b2e9adc369e57b84004c481db9a74a8864f3de024c5d332e9ccd9ada0bdb93545f2831a8a6725910ac30c9384be9313e18ca4a446958a2048b6179cdee641 WHIRLPOOL f835972b81a08bcf3664c32008f07da9a57d4c9352fad4c70369a5606e1db33e3c6ab34a328d9e8395209e24c923a26a42d041c556ce9f1da87e2e4589714763
+EBUILD genkernel-3.5.1.1.ebuild 4722 SHA256 55fe3b3d7617afcb3bda89cfd1637114d5433fdc72c8c3e7fc713955a4daf16d SHA512 542b2e9adc369e57b84004c481db9a74a8864f3de024c5d332e9ccd9ada0bdb93545f2831a8a6725910ac30c9384be9313e18ca4a446958a2048b6179cdee641 WHIRLPOOL f835972b81a08bcf3664c32008f07da9a57d4c9352fad4c70369a5606e1db33e3c6ab34a328d9e8395209e24c923a26a42d041c556ce9f1da87e2e4589714763
+EBUILD genkernel-3.5.2.0-r1.ebuild 4967 SHA256 8a96eaaaf8629a631c19054445c109272ac944ca5decbf6e0d06eff6489ed2a3 SHA512 8db5f79f89922feebbde110d2e68e2d41171615c9c624e5f03ce165abbb4c42a1898e138caeca8e0b3904e62d72521335eb4a44b5263b6f0c0d3b809b8f46142 WHIRLPOOL 593549f3b298705ec8c6b33afb797f8676010c650d3138d7d3bb9be19f5e990cb3236c7208ef2d8796b5054b3d7faaecb627394bead652f26ae36b7d4bb61388
+EBUILD genkernel-3.5.2.1.ebuild 4967 SHA256 8a96eaaaf8629a631c19054445c109272ac944ca5decbf6e0d06eff6489ed2a3 SHA512 8db5f79f89922feebbde110d2e68e2d41171615c9c624e5f03ce165abbb4c42a1898e138caeca8e0b3904e62d72521335eb4a44b5263b6f0c0d3b809b8f46142 WHIRLPOOL 593549f3b298705ec8c6b33afb797f8676010c650d3138d7d3bb9be19f5e990cb3236c7208ef2d8796b5054b3d7faaecb627394bead652f26ae36b7d4bb61388
+EBUILD genkernel-9999.ebuild 4967 SHA256 8a96eaaaf8629a631c19054445c109272ac944ca5decbf6e0d06eff6489ed2a3 SHA512 8db5f79f89922feebbde110d2e68e2d41171615c9c624e5f03ce165abbb4c42a1898e138caeca8e0b3904e62d72521335eb4a44b5263b6f0c0d3b809b8f46142 WHIRLPOOL 593549f3b298705ec8c6b33afb797f8676010c650d3138d7d3bb9be19f5e990cb3236c7208ef2d8796b5054b3d7faaecb627394bead652f26ae36b7d4bb61388
+MISC ChangeLog 12730 SHA256 14add548082018ef2c82f46439d5fd00c2982a617bf793c3fc5fc03b75c18210 SHA512 e510d869a00592373d55567b27f46507589c477214a3080c3e993fc6e50c287ac8c7447e16fb629f5901bf87630d025e7714a6b10afb2e121289cbba2577cee0 WHIRLPOOL 8563bb36461bc8dad5394809c5a149e91282f2a6149353e7b64576a29f1ad5543d4d710043392cb747cf151a3dc07202c1c3fd97df8269bb3bb9d435b8e57c5f
+MISC ChangeLog-2015 74270 SHA256 30a980d5d4db610ce073917fff1fa44acb392636480ca413a32ee7f34659fbae SHA512 0fba080bd2985495aa8f7870290f9ae020cc0479c9dd36a46df97871b3243b6e6c8172f84f1c85ddc09560b615073cd8cea58d3420bd08719fd817175c1aded4 WHIRLPOOL 75b22782cfcc4aff766f33d79854855083ba262f5524549dda10c543a38bf046b6ebbfce9e3f83b2ec83753a7d01d28f4f0e86ebcf6796b95589fd45bcea6b6b
+MISC metadata.xml 732 SHA256 a38ce936a5d9037710695d2af5f4de70a594f2fde9e1f47233638624796dec5a SHA512 3295020741714535ef2e56284a057f88479aeae7b54631f2d255bdca2c90d8965a62e4b7e7e9f191bc2647b12cdd218b7e2f73fbcf3cb759fb12c1520b597485 WHIRLPOOL 9cca7949b1225a4df6dacd7038acf7dd4fd1f902cd899274f927f9e04b0795dd104abd97cf840a799b814c48043108761ce9cbbccdedc9d6cc08679fc0853023
diff --git a/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch b/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch
new file mode 100644
index 000000000000..9e55301228a0
--- /dev/null
+++ b/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch
@@ -0,0 +1,17 @@
+diff --git a/gen_bootloader.sh b/gen_bootloader.sh
+index 4bbd303..fdca749 100755
+--- a/gen_bootloader.sh
++++ b/gen_bootloader.sh
+@@ -49,8 +49,10 @@ set_bootloader_grub2() {
+ fi
+
+ print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
+- print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
+- grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null || gen_die "grub2-mkconfig failed"
++ print_info 1 "Running grub-mkconfig to create ${GRUB_CONF}..."
++ grub-mkconfig -o "${GRUB_CONF}" 2> /dev/null ||
++ grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null ||
++ gen_die "grub-mkconfig failed"
+ [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}"
+ }
+
diff --git a/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch b/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch
new file mode 100644
index 000000000000..1a85c4985998
--- /dev/null
+++ b/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch
@@ -0,0 +1,38 @@
+From 4fb8318037a8ea12f54b7c711d702b432113f233 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 27 Mar 2016 02:04:41 -0400
+Subject: [PATCH] adjust System.map die check for #570822
+
+Builds with newer genkernel have been failing in catalyst like so:
+* ERROR: Could not copy System.map from kerncache for the kernel package!
+
+The code that added it seems to have been meant to check the minkernpackage/
+subdir where the file was renamed instead of the current subdir. Change the
+check to simplify verify the mv didn't fail instead of duplicating the file
+name entirely.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ gen_package.sh | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/gen_package.sh b/gen_package.sh
+index 9dd166b..b08ff03 100755
+--- a/gen_package.sh
++++ b/gen_package.sh
+@@ -45,11 +45,8 @@ gen_minkernpackage() {
+ if [ "${KERNCACHE}" != "" ]
+ then
+ /bin/tar -xj -C ${TEMP}/minkernpackage -f ${KERNCACHE} System.map-${ARCH}-${KV}
+- mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}}
+- if [ ! -f System.map-${KNAME}-${ARCH}-${KV} ]
+- then
++ mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}} ||
+ gen_die 'Could not copy System.map from kerncache for the kernel package!'
+- fi
+ else
+ cp "${KERNEL_OUTPUTDIR}/System.map" "${TEMP}/minkernpackage/System.map-${KNAME}-${ARCH}-${KV}" || gen_die 'Could not copy System.map for the kernel package!';
+ fi
+--
+2.7.4
+
diff --git a/sys-kernel/genkernel/files/genkernel.bash b/sys-kernel/genkernel/files/genkernel.bash
new file mode 100644
index 000000000000..ed6b1c16604e
--- /dev/null
+++ b/sys-kernel/genkernel/files/genkernel.bash
@@ -0,0 +1,73 @@
+# genkernel (8) completion
+# Copyright 2006 Gentoo Foundation
+# 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)
+ 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" ;;
+ ('<dir>') compgen -A directory -S / -- "$rhs" ;;
+ ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$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
new file mode 100644
index 000000000000..b34c67502307
--- /dev/null
+++ b/sys-kernel/genkernel/files/initramfs.mounts
@@ -0,0 +1,23 @@
+# 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/genkernel-3.4.49.2.ebuild b/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild
new file mode 100644
index 000000000000..fbe29c326358
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI="3"
+
+VERSION_BUSYBOX='1.20.2'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.bz2
+ ${COMMON_URI}"
+ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working!
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.bz2
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
+ use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ # sparc doesn't need crosscompiler anymore
+ # remove this after >3.4.51.2
+ sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \
+ "${S}"/arch/sparc64/config.sh \
+ || die "Could not remove sparc64 crosscompiler config"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake || die
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf || die "doins genkernel.conf"
+
+ doman genkernel.8 || die "doman"
+ dodoc AUTHORS ChangeLog README TODO || die "dodoc"
+
+ dobin genkernel || die "dobin genkernel"
+
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ insinto /usr/share/genkernel
+ doins -r "${S}"/* || die "doins"
+ use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \
+ cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6
+
+ # Copy files to /var/cache/genkernel/src
+ elog "Copying files to /var/cache/genkernel/src..."
+ mkdir -p "${D}"/var/cache/genkernel/src
+ cp -f \
+ "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \
+ "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \
+ "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \
+ "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \
+ "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \
+ "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \
+ "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \
+ "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
+ "${D}"/var/cache/genkernel/src || die "Copying distfiles..."
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext3 or"
+ ewarn "even reiser3."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+ if use crypt && ! use cryptsetup ; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
diff --git a/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild
new file mode 100644
index 000000000000..9a23ec5cd517
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.20.2'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild
new file mode 100644
index 000000000000..c02519d0b60d
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.20.2'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch "${FILESDIR}"/${P}-system-map.patch #570822
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild
new file mode 100644
index 000000000000..d9858e3c4dcf
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.20.2'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch "${FILESDIR}"/${P}-system-map.patch #570822
+ epatch "${FILESDIR}"/${P}-grub-mkconfig.patch #591200
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild b/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild
new file mode 100644
index 000000000000..fac2636cee77
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.26.0'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild b/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild
new file mode 100644
index 000000000000..fac2636cee77
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.26.0'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild b/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild
new file mode 100644
index 000000000000..fac2636cee77
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.26.0'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild
new file mode 100644
index 000000000000..d5c932bcdb6c
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
+VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
+VERSION_MDADM='4.0' # warning, be sure to bump patches
+VERSION_FUSE='2.8.6' # warning, be sure to bump patches
+VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
+VERSION_LVM='2.02.173' # warning, be sure to bump patches
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.22'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ sys-apps/util-linux[static-libs(+)]
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild
new file mode 100644
index 000000000000..d5c932bcdb6c
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
+VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
+VERSION_MDADM='4.0' # warning, be sure to bump patches
+VERSION_FUSE='2.8.6' # warning, be sure to bump patches
+VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
+VERSION_LVM='2.02.173' # warning, be sure to bump patches
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.22'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ sys-apps/util-linux[static-libs(+)]
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild
new file mode 100644
index 000000000000..d5c932bcdb6c
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-9999.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+
+VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
+VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
+VERSION_MDADM='4.0' # warning, be sure to bump patches
+VERSION_FUSE='2.8.6' # warning, be sure to bump patches
+VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
+VERSION_LVM='2.02.173' # warning, be sure to bump patches
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.22'
+
+RH_HOME="ftp://sourceware.org/pub"
+DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="https://busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup ibm +firmware selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-1.2.2
+ sys-apps/util-linux[static-libs(+)]
+ firmware? ( sys-kernel/linux-firmware )
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.xz
+ fi
+}
+
+src_prepare() {
+ 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
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf
+
+ doman genkernel.8
+ dodoc AUTHORS ChangeLog README TODO
+ dobin genkernel
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
+ insinto /usr/share/genkernel
+ doins -r "${S}"/*
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.xz/}
+}
+
+pkg_postinst() {
+ 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
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+}
diff --git a/sys-kernel/genkernel/metadata.xml b/sys-kernel/genkernel/metadata.xml
new file mode 100644
index 000000000000..c058b58cd9e7
--- /dev/null
+++ b/sys-kernel/genkernel/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>genkernel@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="crypt">Obsolete USE flag. Use cryptsetup for LUKS support. (bug ##414523)</flag>
+ <flag name="cryptsetup">Enable support for Luks disk encryption using <pkg>sys-fs/cryptsetup</pkg></flag>
+ <flag name="firmware">Prefer system firmware <pkg>sys-kernel/linux-firmware</pkg> over local copy.</flag>
+ </use>
+ <!--
+ <upstream>
+ <remote-id type="gentoo">git://git.gentoo.org/proj/genkernel</remote-id>
+ </upstream>
+ -->
+ <upstream>
+ <remote-id type="sourceforge">fuse</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
new file mode 100644
index 000000000000..ef1a291b45fe
--- /dev/null
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -0,0 +1,95 @@
+DIST genpatches-3.10-115.base.tar.xz 1633532 SHA256 9dca8aadcabfc7e9ea5650649d0c72f0169579337dc812428fda9783c9ed0707 SHA512 8c8992776820137bd37440897faca8c7337fd217927a5f35da46a5717abec9f4d9b70f961a617a36f4c8af496d2e4d589431d82f47f4054f3394b8d8bc1f4454 WHIRLPOOL 10f0a4aff15d3e16cebd5e6058a85444d9f1c677a66e482f409921cda3e86b35711ba120a9253a0956a580f0911b11d575e420520cf8d0b140d00dcee93438d6
+DIST genpatches-3.10-115.experimental.tar.xz 60168 SHA256 5e2ce7288158cbd9b1bb6aa77dcdb11de5826bf0635bb1c522bd388d6d799c4a SHA512 e8b9dd31816dbcbc83456b2a6f9fadad3f0a95b9a2918a217a434ac481e624e7f46342828c13714091192ec453967800a71c274238eac73389c98bd37a5cb6a5 WHIRLPOOL 7dc1f55e41ca0c3180e9fd42041414275184a58ea39b53db97c19d6f5f027908ed7c217a0860bb5036306a72c1d081e8a5973354bb3c64c6270b4a661e39ebd1
+DIST genpatches-3.10-115.extras.tar.xz 17860 SHA256 13de6f8c3992cab5f8fef069ef5979b53fb30e5c2d83f65c231359ff7aacad00 SHA512 5ca937b25e8210053375745c4751987e97c30c11d0797cf1c011a59ee3a5422542d16781eabc25543eb7ddbbeb74f1540324f83cf30930fdafc392d377602979 WHIRLPOOL b43c0a22240c83ccf349d443b49003a0206a21e09851a0cf4ff387002925230e5f60c335611da35d048323346c1429fc95e3a6ce61ec91fb70c5f319479c3227
+DIST genpatches-4.1-52.base.tar.xz 1244220 SHA256 1a942c5d8de494ea7053fd37ef1a1ad9790a442a9e7de14504973c35fd5ffe80 SHA512 811888dc6adde5a51f6e4166700ae1a22fbd310229e1ea3f67e3d4d5440352f671cdcf42abc6400d180129678b7e79e31924fed4116fb2d47eb67a575713090e WHIRLPOOL 710783f4af251ed8eb0119fdbcda60f4a7d2dc2d5c8fc7541e20de01ffb638d8ec9f1c781b4479e30dcd86eb9097143d386f424ce0ad8107b63ec9fd7e52d2a4
+DIST genpatches-4.1-52.experimental.tar.xz 61752 SHA256 efeef9c6b152c51049923e0788f3781c47699e0920c1f017d178e0408ab7e49d SHA512 a7a749acb0d022f9131fef00159656a2e57e00e4afb7e34d85462e6c965bbb52677d5a09ffc9832edf5f7dbd613134488aabc24d357d8c1f546c9cd94fbab2e6 WHIRLPOOL 122df717f42cc46f63710ea59d5935675686a5091b8517e3dfb65027305d35824c896915a548d2e32cb0fa02f2d146ee96e52f93f19e350821b23e32ef583cae
+DIST genpatches-4.1-52.extras.tar.xz 16464 SHA256 811ee549775b21ec4cc3af31d64eca8ada3af165bab6352d482179a351d99cd4 SHA512 1cfb4b50a7c9c0b921837e92bcbc1b208d2aca4407d363f972b13d31c4487fe82784b42832b6bba1422b581dbd7268f520ce0cf83154c8c9ace30c5de4139cdd WHIRLPOOL f8f4671ad308f222b7152feefd548edd4c7988260c45ff3492a157f67f5b86d4379dd4443fce8797b6d2d6c4732706f5d929d1a7e588089cc636e01c8cd422d0
+DIST genpatches-4.12-13.base.tar.xz 227724 SHA256 3267458204389194a541fe3b887b3f42ea143f2f0eb6d7e7196eaf07ab32cd83 SHA512 6088bbe9b0007715e146917cb4288df69ee0d6a4e5628db90005c68d025bd12e304dd9e00e51a5a1a6844ed06a09571e9faec494257fd2aa3d6abc3bc9838000 WHIRLPOOL 87a4ec363cc74a12b76211f89db421062ae16ad453816384ef47782d3cd1dc609d103ab8746f7a5f41851355bc300931a4815bf33f42290eaad8c23c5c97f3d3
+DIST genpatches-4.12-13.experimental.tar.xz 5188 SHA256 93fee6ffdc200c451bbe3a8c96feb343819390171d7d11d0559bd7c2eb24f6c1 SHA512 80adbc13d7478b5c55b0b6380ffb1ba42cc10de8eb996db0457a1df6677e401d612f74ab756a9bab83b99f857af323d9d7fa6c36ace9aa0950671e1843c84777 WHIRLPOOL 43a63c45959046f616619cfcce36c398e55a2aca8c58d744f2a2fbd1123964a5d3d32905878a63e929ba7b73527753e305a1b52e9ba7af66247b714472e6734e
+DIST genpatches-4.12-13.extras.tar.xz 17352 SHA256 89e50dd5fdfe8736684b8b9da3980ef29865c28bdb2f9a86a91b5d90c4c7d3de SHA512 2f7f76e090926cff4c2980215a51cc745d8aa14a9153a8cd6170fee94e21d1b31beae0209d23963c7cc71bbcd0dbc6789e4b3eb0d8c6a0184c128a54bef44bdd WHIRLPOOL bdc6b2b96d38c8d34d384d75d1e95a988fa091295afad6242509ac56cc998784746e2e5e9571a7e2667173d45f9facc1ec498966a3f19c1ce4cd0a6e3c8b80a0
+DIST genpatches-4.12-14.base.tar.xz 233176 SHA256 f6928a595d78550a376cf12872390b5538d5e16e7580f4d9b7d80f59fc0c80b8 SHA512 d2e2d8ad20e12a80042125d246e89c4c6dba2cf6ec0d5aedc3ad863176f022dde72b19caa53a4d92901ab192d19b10ea376bec74c101c4a99eb8c28d4a0a5120 WHIRLPOOL 25fdd33d2646e272c9fc65909f89f79b7b949208a8303bf4b9580764a38672c7c04e6e725abba3d3cecb07867f23c1542a1c41b51719fc59229b6885dea9e90f
+DIST genpatches-4.12-14.experimental.tar.xz 5188 SHA256 09a5c8aafa6e351fec269bf27b51121852f4cfa48d6a68910546ba7e34488944 SHA512 f5ae70cf1fc97b2bc7e11e0b7cc48ec31ec014eb429b2a2189ce7b8f319efb12da36baf8521bebb4b8d64ab5456d800df2dd01b95876865e23380d7d4c632402 WHIRLPOOL bea1cc9028be2b7da931a2e010fa18f184ceb65e584a232e48893623e3d85f0362b4aeb84d5f5b2d0a2ae583ff7fc7a57aa58becb3c711fa9aa6cd96960442a9
+DIST genpatches-4.12-14.extras.tar.xz 17360 SHA256 1af3c73df08a680e8dede7f24554ebd7160fbf4ce3fcbd8d7d008ba6d5bfd720 SHA512 13575b5ba7abb4873c53681ce263ebe0b299edff0be30e6bb9331ef165a88e657009d956a18ed2c3909241e160ed0e9a9680b6e894886bfcd6c8c3b5410ea069 WHIRLPOOL c5070dcb58f0d2fbdb11dbaa02ba83244059c7cc710e66d36a2f604456e74d8bbe674cebfe87dc35fdc0448a6c5bc5f74c43f14a8c40faf17ae03aef6ac8d45a
+DIST genpatches-4.12-15.base.tar.xz 247556 SHA256 a8a14f85d7551b770c461e87c2108f24d520f255b40b4f2ba7660269ce9bf610 SHA512 abd9f433fd6247fde9bd9c6655bd6cb90d56d4b3df6fed7f86872ff620f8502a7d277bd418c7d5d1667c792f85eb568b2cebe981cbd8bf4e4b7d7c3746e33d22 WHIRLPOOL 26a44d05019d19efd8fc7ae153c013ee050c81bc0f7d60644edc0b346c96c683c5b3664a1ee9694a93b77cfabc9a0240c9aeb1d6ecae670f7425aae95d4a54ea
+DIST genpatches-4.12-15.experimental.tar.xz 5188 SHA256 0fb1a60a47025effcba3af7360ffb4995913b455cbf9f4dcd47e3c141f53dcc0 SHA512 af85f2724f767062c06acefb230db5eaae6ae65c68b8d0ba52f7ea9f13cf07adc277929bc9a4e3532ec680c5c0d270d92f1786a21303390e33f41e592d9761c3 WHIRLPOOL 5eeb957c923a4b3db2724445a161bc0f395bb1ddb799d9aafb8509dfa78d15f0477a6ed2a14298d94aa1203d90d616457c46189ed71a87a4cc7b8972985db80f
+DIST genpatches-4.12-15.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58
+DIST genpatches-4.13-3.base.tar.xz 22596 SHA256 112866c090fd45e88c7274c9e477baea9470267a394b5ec1b35d0fecba920612 SHA512 245f6ca8de42ce57ca1316cd30f7bee1417ef15c9e0b8c21fd318d34b226e9ed18cf856695b9ed05ee1ece178bfa81015ff61c573709271c8da7d8072ec7ae12 WHIRLPOOL 2afa998f2d1bf69efd7c18656b475b7fd9466f3fbf1ead806817005f96269a540fbbe6e4b82aeb5513653587fc1760fb3fff0528e514e3f4a6620d219e2747b6
+DIST genpatches-4.13-3.experimental.tar.xz 5184 SHA256 ced2ae1d1a9720e9ba35baef2a598c74470af66168b5d052854753c21d1ef287 SHA512 0ebe570f17c83d9179de527fe8710d7f664d4fb56c7843eb83173886a83b374ef633f3848386f8ffa5e498cb9f0510a4afcc6336e54105bc96271aeb9b0570fb WHIRLPOOL f3996bc58a7fa1ccb856ef2ea8b27035fdd4bdcc6aa52a0b1a3f8774769e95043f7af902d23fbebd7b35c69a0065ee3329363716b4ced157b9749cbfba396070
+DIST genpatches-4.13-3.extras.tar.xz 17408 SHA256 c9ad579a61c6f6950f404ca5717b1e3cca83383fb138594e708723a49474cfc4 SHA512 07543aaccc8d3c8e004d6bc30c551238ffae73a67f025a6a69e1dd7d9840a1023cf8a2c753ca49d296ff0b0f2937ff43c826e3341e5b35fa274e1d02a48af57a WHIRLPOOL 8432644e63e667340c47c20efaca6142c82e69a964cae3dee7644c3598e97b6b0cd0a4d8710b0478275dfb0391441c01608f5f30b6a6de493e807fa5b3650873
+DIST genpatches-4.13-4.base.tar.xz 31660 SHA256 aff863f8f08a4b139bac89b2b988f5fc99f527e60f1d3ec73c50c6bcbcb02ed2 SHA512 b2bc50427d69c9e51e0f05c6e9b800843d844cae6d75d04849ec926bff102f5f8a331579fb5ef23c26c464c2ad968d8ee0f697b53f8a6607d411219d426527af WHIRLPOOL 619f8e7ea1cd51dbc5423afe1ec708e4eba0312719768210f97ca09c0b331d66b2c8d42686fca4bb21768e0310079923fe4853e6a18f2ffa37b86b9deba7ad05
+DIST genpatches-4.13-4.experimental.tar.xz 5184 SHA256 6913c755d227c266d7d841e717bf613fbc2ba376fe50654bd9840e04f0831b32 SHA512 9d1384e824493e98d3fdab28592a3488f7a8957ef4f6a3ac348e0f8812cde9bf8c50ac8b84da8e85cd08e2edbdd6f60a47d44943129f0e3a962c1a856e990a74 WHIRLPOOL 1dd7e5a9727ed9016a3ddef7c656e899aa12571cdda3462e091706665282e5b1b986a4c9353ae713592da2a5e65f82790e3d120febb1f838096ebcb6aa74cde4
+DIST genpatches-4.13-4.extras.tar.xz 17400 SHA256 b1dada7d064da74656a165b3dedaf3eae99222a0bd98c4fe2c36ef215c3e7dfd SHA512 cb18e52f33f85be5470952085759df557113c155a6662e1f4e5c984ea6dbcd55e82232419a49caf13225b8650578e27f9d3d3294efcef02ecfb67757c2cc060e WHIRLPOOL dd807e5f2761665dcfda8d443acd9aba39c93688ce45143c9f70e17415b26493b35384308a54d3df35175f8a62c803535f7758db57bb3a925fec2e7eddaf3325
+DIST genpatches-4.13-5.base.tar.xz 55892 SHA256 087e9641ae95919e0a036c9e37cc2871855892c8edcdefbe288aa35e8013efc4 SHA512 85376475e2f0cae0fe8e87e21230592c29083353fa9e2cbda2b784afcac8c8d7b8b45a5d647e3b2345b35eef2db44cd0384b2776fc42535ff7dfc875a760dea3 WHIRLPOOL 7b144164f2172f0f68c302d91520e9fc83614e560b432f67ff6f46107c1b3e8704e8debb20d2dcaf0b34bc8f9f6dd3e34486be6c3cf875f47a79d130eb84756c
+DIST genpatches-4.13-5.experimental.tar.xz 5184 SHA256 68adad643fc988d4124eaa1417028b8f86d2420bf15ed5a8c8b9e9201f6077c8 SHA512 7c0dbcad5a7428c41d6a38d707fb925f790a4c58e475e44e9769f398f7a7227228bfcb20b584d2074d9ae7c176c1bb555c9b2343388bd7e66d05aaf6eb02382f WHIRLPOOL 970a6fd19c2b5384837cd9a0bb74f9c91454a1483450fea80dbbb9ac30238fc23dce7134d232a89efb4741a4455d5fd708955ed4ddd7cfa23365aa5eb4b3bca2
+DIST genpatches-4.13-5.extras.tar.xz 17388 SHA256 01f538738030621642e65a134db02e46aaf6f70d9411037da67bb1b3852a5866 SHA512 befa0f3ac6d5be18b44cd2c80dd24243baaa57854ec1a65d5440ead2f30993c6008a40846a328d1ff4d2c924c8c3bc40d15c2084739e5e6fdf55433757a20313 WHIRLPOOL 63e470330242a4b7d9222d7193433f0fed3a9e5dce094e9d613202ec8a243b6e24bb6332789a823dfe286b42a907dae207f51fe6a2ad99d8b0e4434d10af576f
+DIST genpatches-4.13-6.base.tar.xz 89936 SHA256 19287d01d68d3f7748379ce646e7739b07f01d9c43d4a129e7d97e7997249c65 SHA512 53de689ddbf13e05c7b319ff1174cd40b6d64032dc6fa173ebfea205ae69a87d4bd86654ba4f12d91d8db5e4289ed21cd597d0f7ef41b7d1ab2faed14750203c WHIRLPOOL b7920f21a46af9ebcf4cecca364c0944486cad37df7d9a5a147a6a277b32b8ccc05e36566b3774c61adf318e2d044ec25b03416542b305d80f4b7c46291d71cd
+DIST genpatches-4.13-6.experimental.tar.xz 5184 SHA256 b5c6003c3dfc39631bf54c3cac423726a6db3ff2082a6c123bbde4fec4c43880 SHA512 5c1a0119eacf39bd9f8b10ac2f0fb56adfdcb4b0b4b1f4e73fbaf5e7d3bc70b6233f600d7928d7445d9dc7591c09431d10dc3dbf5cfcf0ba66487b527e7cdbc4 WHIRLPOOL 4adf3e904d6a15e76798ce8eed4529aa9c9bfb798eba59ad3be9e5b112725ad946fd5c75a2f54357bd6918171aa9d248de983fad540f9bfea7bfc52fb033cda5
+DIST genpatches-4.13-6.extras.tar.xz 17400 SHA256 48a1601631610c44ce61f108105208baab95beec1626068b97914ebbe9a0c180 SHA512 80165679efd59658e618d408ff041fbae823fc76c7edd0e27e383a0fcdcfa3b9776553150bea62b337c38beead90f36a4cd97f45d36e8e252b5f6ea08850509c WHIRLPOOL c7fa0b861ed9f66913358fd4b13fe2cef9118283aaa90eda98d39be22d02aa2c39145356a1657c6a6b3b17a9f30a5fd8fc3c168136b565efce0c142645920c90
+DIST genpatches-4.13-7.base.tar.xz 125424 SHA256 994b898aa71c58666966578eb89f1bd4d7d95ab166c9a904141391e9aaa44785 SHA512 f2b7a2ecf10049026d9591e38cc4c15df6d9290533ea0125e2a3f7b3c9bd6ffe077db6577b964f80807d1910ba74188e5e8600f47095f558b04651d922c32adc WHIRLPOOL 67548caf0f249e6cc6031aa53e4bc98f3e2990380226c95653a1a5ec0f4b5ebb5a293dc7cd5cde124cb88b8ef2db374856b8cf252088b6df5afa5b6c3b4e4e0a
+DIST genpatches-4.13-7.experimental.tar.xz 5184 SHA256 bc5eb8610a712e66c6974ce9986aec76d30a88a31fce29fb90aec50819ea09f6 SHA512 78e765b77276b919f8731f68c9ef240035b502f0febd234a0ef572ed0dfdc589f8057324ec633971d73e083ad8a0e449713dfd82ae8982bacf36379e623feeee WHIRLPOOL 458ee683f01b827be2f8c24b8ca88e78766965c3e630a18bcf6c7c0324967b669e6c43e8f0cfe8f07e6811458235601e918d015a86c8bc36e88cc4f201d543d7
+DIST genpatches-4.13-7.extras.tar.xz 17400 SHA256 25b8b93102267a59e9b586caa67073e962fbc7aa9b6390eddf5e8b49ebc9c85f SHA512 0a849a8b3ed7bfd0418118f7b24c40e5d5fe00b97faa49de6dcd5b26025b7c1fc6b52eb641d2e7ed92ee25b1df392382fec23b074d7494620b2791c69083c7e0 WHIRLPOOL 4c66583a3dd0fcdc98c2d6c4bfe6ff45895cdbb24b4ba7599b88c149c2bf510676de1135ba7129d7c8b1f99fdba42ef154468cc6f042d3f96b6d320cb9175c32
+DIST genpatches-4.4-91.base.tar.xz 1428436 SHA256 d6c806bd868856a9021b35d0bc3ced37029c8803846d6b251fe7fefadfe46c69 SHA512 cdddd25be04b33558f7ebcee66df992aae38f29181474ebed82958d4d50639097b4a82eaf256d7b3576bfcd0cd3fe7682956e1d2cdbdb912d47fe86205d9b554 WHIRLPOOL 8de12e7bdba76256e8fc41738605bbe961fa3fa0ccbe1fccaf0c8cb3708c692bb65a27db7675e42ce5558a22c81b9017742b14d6776ee2b93f4d1d92535942a9
+DIST genpatches-4.4-91.experimental.tar.xz 87760 SHA256 e04a99c94b4dd9f5856dd08ed4b286b19c765d8d0fe40237dce256f7c874dbf8 SHA512 0bbc83e076d45da1d0258bfd7f6acf6170e99891a9a857b2552f3a0fcefff4f318a8c5c8779591b0bb654760f905530de18723f2ba960618eae59a1b7219c28f WHIRLPOOL fb6306af0191198d466b3349c348139342a70de118bcce0563e3209a7ead8a9d56291f3a4155ba4a4d211db8fc1e20ddec3a3b463d62fff5375df823646f7b02
+DIST genpatches-4.4-91.extras.tar.xz 16468 SHA256 6cc85cbae6d2ccf087104b5f719abf10d186d3b630572caeb1906c344c66de76 SHA512 229922945fcb882a0cb7dcba8bac9de51683690462a8df59e181a03d702fcb1c9b54078c5434624b4a197c481f0bb9b73dca58456ef5a5884a30bfd3644dfd6d WHIRLPOOL 81f8fa1676856f0941bc6d09e7e602d2213740bed6edc914d9341bad590650d5a5249fd8bbd2d640380a638ce2a12fd4ec66e0c3753c8d9d22c1fa2c3f07aacb
+DIST genpatches-4.4-92.base.tar.xz 1433276 SHA256 dfe3051458c5d39c8ee9c61f63b0b29f8b3bc26efc0e4010f91cd25c31fd6dfd SHA512 ad6e1aaf436065b6b896e3409bd334da1bd6686d83b0f137db0a392550479cf2e9606799630ac00029e49f7816ebcccb14fb2ede65b634447dd6a98a854d917b WHIRLPOOL 98985a30f1d1c81deaf5b32740cde7ff9b109dd94c0f9d641783a68a33f108d7818e5e53a57cff517376c396d40778223c068b6a778670499bddedd63339841f
+DIST genpatches-4.4-92.experimental.tar.xz 87788 SHA256 a7ed5ca7822a7d3f69cdc1b693d808b627e9bb283843916b8bd45c676d19922b SHA512 7bd52a7d4547dea44bb403a2234f377011a72f69e3a466566f6c86e773e48ed6a76fa321d5664d4c0a8386d402bfc45ece1f59d0dc6b6fdfe1bbeee24e6c1c64 WHIRLPOOL a21924bfd2f548f6fa6ca58b5bd971d47afc8aa5d02d6d975675ca1ab136326b18002eca68baa7692bc99b5f03c5cfd33c907676ff387eec7019f8510b297570
+DIST genpatches-4.4-92.extras.tar.xz 16468 SHA256 ff94045f614320fc7060c48b4952ff30085f86a7080fa388f4cfe65338268052 SHA512 ad1659644ab6351cfd7942f1fe460b4293eef573cfbb3aa9ba8a15cfa6b9d28de339d46a47d43b2be4c110214765948f0162978cf26c8d184e3973c1a2d823ed WHIRLPOOL 5ec5b6a7d5d7f32e4fa3d3c75601b02c7ab5cfd126f4c0abde8f11782b69b8d1f2b38a471d056b60ba7d1662f9a2372d0068aa4338e7f002e1f1f43dc917ff37
+DIST genpatches-4.4-93.base.tar.xz 1447972 SHA256 6e3df3e0fbd4b53b6a2dee29c6b7061229b7659834798fb8f0321006ec86dba6 SHA512 a4acd8ece7f2c31ba2673e3868c91d0fc9e0b9eaec7bf6192c7072776b8ee5ecac6c4ab4e5d8da43d306527d05fe057e2dffbb3f1aec07f4e2e887f26b7caa36 WHIRLPOOL bfb076b708f0ee7833e47a0cb87b7ff2f590ddb46b7673836ec868e7dc52207f056a927b37364e79ccba9dc046ec9521df83b59b273a0f70ff93604d9b9d6fe9
+DIST genpatches-4.4-93.experimental.tar.xz 87784 SHA256 b8c3ffc21ac844ac68a4936421ebb37db2ab51ad3581ec49a68d780649183bce SHA512 daf1279b08d9c4ab416fb3d1edf9ecd0da8ef4f06d4ffb86917d74f3902bec20f415404e986afb1c93f3708b97e89404c8ce53670b4589888788bd47efbb8c5f WHIRLPOOL c11b0b07249fce11dd6daa8a3b61fc68a7d8fb99c9027ce5086ea92d70b8c595ac08b5f9ca2312bd2b697cae086a47747ecedb9252214053c7ef758840eed9ae
+DIST genpatches-4.4-93.extras.tar.xz 16464 SHA256 2aba285ccbffee2ffedc8f2baba8ab9844fcacb3bfdc4713632ff26662975bea SHA512 f7bcfc34534d1b731861990f429a5cb3b29fc43ace6cbb5b321338661fa1482bd13f51c25691aab79d5464c822f5bfb5a30eaefb685acd50601dd9462cc0e9ee WHIRLPOOL 1b9a9e3b690676ef1245d032e6ff4bb9b01e4b72669896d45c3fc03add744cf42133a17c0a9097b5f3a3b6d87b14e80ad9a69772a1336d3a92e71a82dea14f0a
+DIST genpatches-4.4-94.base.tar.xz 1456336 SHA256 113f4486b4043cf201f1f8104b04223e424a12e8af2dfbdd92ec61cf87b6d034 SHA512 26a03c20e813b1322b0e66ef014c31634f631c1ee684b0d78d7e6eb6bac9a4e61802eaffeda4cbc39720851006c6f76061ef2082fa914a7d238b2c9d66d63258 WHIRLPOOL 708ac96f0dc1645406e4d696c4d5f20a11f89f67fc7deabfd04f3f6ca6dd46fd3f963be15abc3f0cc901fe5ca722af9ad3c2029751fd2630cf0cd70c648d80b1
+DIST genpatches-4.4-94.experimental.tar.xz 87776 SHA256 bbbd6c3b82f96dfd689ccef1e28ad25c32a464dab28981e358f9888ad1220bfa SHA512 c84589532e6cfa28ba7a2be6c3d2e1e1884c4bf31587fac81dc7981657244f65877d0c694d0c7124ee8d849db9bbc912efb81deef05a9576ec066ac36b7d2aba WHIRLPOOL 10e1b1fa394fd78bc9f072c36b3ea5f7f3416ae15387939f578f56adae9d92aea5ba5181e82a7bbad8e9617ade7d559f7aa5be90dcea55cbe8a1684b87a1b461
+DIST genpatches-4.4-94.extras.tar.xz 16468 SHA256 a730517dd867182ef90ccf4296f2934e5c03fef20c673a553dda98aa0def8152 SHA512 8a5fc56b3d68dcf746b31802ca9cf21b675da03c45a82f4f98078332963cf97cf8a982e4b6bda0345397eb7a41e1016d2761dfcd83482f6eec627c9d58c7e4aa WHIRLPOOL 304619cb82997c26d8fe779f0a2680b8d4d010852085ac28ff680191a273557b015f462696d39f61d15ca389c181c7029ea3f7ca70fe122ef7a532634494d3af
+DIST genpatches-4.4-95.base.tar.xz 1471032 SHA256 f0b3421e1b8098e87c6d809c031d0a105968976fa562df896805f837759a68e0 SHA512 b77939e4f39acda41721a2af15ccb5d0c99d448f31ce4b9f591c671f18e1a3a371f9ad97ccbb5e3cec07e683f3133b898fe4023c058e13271feac03bd50e08b4 WHIRLPOOL 5f13642f045a8512a8d4eb7481e54c36d16c5445af69486c23e9ac0f012372f1ed5859270cf098d77f5590d45d42d7daa4487378501a2b62d5a1a43ba136bd7c
+DIST genpatches-4.4-95.experimental.tar.xz 87772 SHA256 eea7fe4a84a9fb8ade8b355829f99296ae84b96826ae8e26a520a944cd41285b SHA512 e96f52e53416e078d790ff549964125b9ac968dce6d6a65a9cc1e56109665bd57f6e82b9c9593f8a18c5ea7f4506c26688128e0a49baeb7a3a5e8298eee86536 WHIRLPOOL a670296b526fbc6f3d9e674bd1bbbbed851133089a0e4fe5470065a3cadb1f5bc80379c0a1fbe6450bd50a266c97a5659cb2acfc5f3befa7c11b505534b47e43
+DIST genpatches-4.4-95.extras.tar.xz 16456 SHA256 7a0ab837e4b2fd039433040ebc4c9a136912f5e8c6b3aaa4b8a363866013bf5b SHA512 27a77ea8ccbb775f8f162645d301826f7c2c0c39a0d3aa67094d819902962965c8e54cb9b0ef5bb0e8285cdb0da4d7319b94dea0fdae45e09fc23092d6f3bb3b WHIRLPOOL 6e9c6f90af8c064aca180e1d2681e2c08eafb5b4eabf07a4bdeb3280b8966c853ddb81e6dd9b72496b83f304042b235f95bd00d9d2a00f13dce94bf39ec94972
+DIST genpatches-4.9-51.base.tar.xz 1001928 SHA256 4a329d66dedfad74d8d03bb3d13b6aa2ef04d20ccf2520d39b72b0afab5cbfa9 SHA512 2ab0efa23c556547bd223f066acbebe250346064a3588ee866871e36e3b5b5533ca7a3add6a62b53339acf89dfc8539c42b3877b5a2055ca7e20bc25c5657ca5 WHIRLPOOL c73a7b7c12e399439b3f97061646aeadab5120aaab2c8f8852416ccdbb6a77949b4946a31c1abad910ee1fbc837bef3e86975fd9242a3b8649fbb77f0dddf7ca
+DIST genpatches-4.9-51.experimental.tar.xz 106416 SHA256 19a1d1355f4328e9703157b2a37acd97af98952e73c6d3d18b49f6a35a6064b3 SHA512 af7a00b9a3200a50341b9af607fbef362ead2e4f5ca35d58eec505de490c03d6366ab4645e35bbddd6903ac75396413d2902b6a9fc7e2c9d0d1d1254620cfdb3 WHIRLPOOL 23d8d92dadd653c1ef59d8aeab08f3e10246e3dc73ac8e106e1bb51b18c597324188eda0775095d3759829c6095cd06e9634431d86900ca3aca0ec6719ab2ef5
+DIST genpatches-4.9-51.extras.tar.xz 17356 SHA256 71d1693dc64d8473b41f5e80e7727b6cc0a74fb632511b3fec0b46a57c0dc26d SHA512 e05c44a5ad1b68afb04647a86efc6f67e03515861e670e39f960c0a02b87fbcb71194efa6773259ee2be5c8362794a5bb6512e876784d5a521d8890865b3ba0e WHIRLPOOL 50d19a31d7cea180980fefa87ef14d13d844539968a353a4c15e86c86913b66e2c8abb45fde999878afd96b78a4e9d81158716a1cbc0f7a6e5fd5c26b33b05b1
+DIST genpatches-4.9-52.base.tar.xz 1005324 SHA256 2c82e925d4189ae88764ea5ebdade33eeab928ef3f17416639bbdeae847f666f SHA512 b7fb1f54548221e9cb62c4ef0a0c21452ac8bbfc0b44562365534010dfce809ddee7c87c06c43011b61f07dbea5d314a56182d73a37535954331357fda1c96f9 WHIRLPOOL d31a223bd1d4b21f72430b5e5fa18b5260ad63c599f949bc269787ae72ff90bc0c63ad2b69a4681f4177641ea2979dc04aab126f8f12f26b05af18be7b086e26
+DIST genpatches-4.9-52.experimental.tar.xz 106380 SHA256 31b3fb3e2e6d063b27b7edb8d77e3f018a88e951b12152fbf0a8554e2c3fdd73 SHA512 77a349203acb4a58c984a5f381fd3cae5ea4f10fe0421f1d0355416bba99aec0f0352c6c3df6a19c8cbfa5ac90713d64eb87215c1f0fe34bdd20f076fa1b66db WHIRLPOOL c27c7b5bbe30dde070f36c044f49a0cd7578ab2126b7bfbf2ff130204742997604f82420418d54d4543efff0cc41bc4ae3f9f7e4929b5f9d7255ee9ac8228fa0
+DIST genpatches-4.9-52.extras.tar.xz 17360 SHA256 1af3c73df08a680e8dede7f24554ebd7160fbf4ce3fcbd8d7d008ba6d5bfd720 SHA512 13575b5ba7abb4873c53681ce263ebe0b299edff0be30e6bb9331ef165a88e657009d956a18ed2c3909241e160ed0e9a9680b6e894886bfcd6c8c3b5410ea069 WHIRLPOOL c5070dcb58f0d2fbdb11dbaa02ba83244059c7cc710e66d36a2f604456e74d8bbe674cebfe87dc35fdc0448a6c5bc5f74c43f14a8c40faf17ae03aef6ac8d45a
+DIST genpatches-4.9-53.base.tar.xz 1032388 SHA256 f36bd451866b656bf3e7dd4f5accb03e61c332aa3c9837b2bbe4697a87198cc8 SHA512 4a17fcb0f8f86baad909e808a53c6b6b04480e582d6f00e86225e4a60463e942ecc02f0de822acd733eae870c1d76aab3b295d2c0b7c79a22e2b6211b93a6d29 WHIRLPOOL c88fad18a5a390f868035057fd7485fe5d6e09a8f77f1bfbc5816968ffa6f5cc1f38b1b6427ccf9f2f1043dea04dc27e131c632a11f5e985610345b7a5cda72f
+DIST genpatches-4.9-53.experimental.tar.xz 106396 SHA256 d7c1f6c822d7fa5dc33b290d909e4432d66fecf98eab1f641f4af948aaa9c4b2 SHA512 4e2831bd84a18b204739d93ca3a33ed19224da614e12823a90181dea6213dbbffa5e52e4db1a9529abf9d762af6c918da33936231f7def4c82e95e766b32394a WHIRLPOOL 8c3f16bc66e6b676508fd4752fca8c00dd7e496ae64ed3ae957dca8b4e6ac3d2d299400550c4f1af2a3c5da3c370c472a330cdd6ada93bd388ae49dfef034b49
+DIST genpatches-4.9-53.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58
+DIST genpatches-4.9-54.base.tar.xz 1053504 SHA256 ad6728a6e84a45aa9a84215f72ba1daed8c9681b61d9470b0fed24c285aec82a SHA512 3e64d39f3d7d0c1d68cca6b27df1e374970f0b42f47ff6bc900a1a12d1305093efafdccc28a1ba89404397ad285298058e882329f651e8d1031ddc86dbf06c40 WHIRLPOOL 7c22db4217a2604a05e8f4a9817fceabf865b00c7c33df95cfc5a09af6ffa84d809930c221f55cb9b500cc8d57b2e43f70f80e622a19fb73e0d068f2ec2be18d
+DIST genpatches-4.9-54.experimental.tar.xz 106360 SHA256 9c5b4ec4005bf50556163cebe4a4e577cffc3ed0ab06a40cd79bc7e9e33a964d SHA512 ace1650a90d70f1ab6d938d2509c44ff1911178161bfa6f060f5eb078b9c83d031709dc483f3481afc82c34b705cd9dd653c95c9b53817c79b0e632f970dad10 WHIRLPOOL 50c40e6160a92d98e568b3d55b336c4400cb8faff7fcfa5c71a8172e5149468b0483874c8531270f6f15b48f84fb3c47dee8ec01870c3331a150226c748b16ac
+DIST genpatches-4.9-54.extras.tar.xz 17356 SHA256 70314b113191df3bcf461537c5c5789ce990311affcb41e9d00b4a4d1f674659 SHA512 894f37761c80304fd12e20d9b2a11a56475484dd2a4504f4aada6b48854e752228256d56dfc328c7633996a16f4653af0105698b6a230619d9a3364b9d08a265 WHIRLPOOL 3fddbc03354fcb2b3c72caa7462a36d16a0595304da2ff9df0614925e252e3c15c38138b4f07789333c118dde992569c7cbbeb019b5052bc0ff18e87fb08cf6b
+DIST genpatches-4.9-55.base.tar.xz 1069704 SHA256 803d5d028875b905bb4cbff7b2258786e7199095e68e3b2cdf8134dd22f11c20 SHA512 a1156e41e1499218e3fb1c6ef0bb66fb6bcb93b4076c3c780f60ac23b340d13e3e9f4a38e62bf066c765e9a65d2cdc9266d9358fbea2c1bed3a491d8b7d40875 WHIRLPOOL 8af62aa544f5e0f2c707b7537c80f09ffdbfb454c634f551242917fedae070eaeb8c09a98638f9eaa6adaafd1cbc45cacfa50d4687b9e036234d6749938d7451
+DIST genpatches-4.9-55.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e
+DIST genpatches-4.9-55.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8
+DIST genpatches-4.9-56.base.tar.xz 1098340 SHA256 69e8104e4b2cf11d286d04b19a88d027ffbf94701cfc237f5737d0d907d2f4e4 SHA512 d0e54f6b904bce6cee767297fd3282ad8fbd002e2820cd211d35d00e71c1a0339f0715d352c6dc7972097ebeaa282c074f9e85ef953ad16f9a4f35f5ddc26e58 WHIRLPOOL c64fb7d0f811754166b5f8cdb08efd270ec6e1b57723fe8d1c206d5d184c8230b41d1f61c1e98300da0765327dc6feb2f3d8d5e36a8d26b9b1d5a2a3a6170c32
+DIST genpatches-4.9-56.experimental.tar.xz 106376 SHA256 2d973cb9728d880cf947fcb898ae4f25fcb31a7b26bead9eb424fcf4dbc3be16 SHA512 c4c552f2b1aa91a3fc3c7834c0c6dec898f4c74a557a7e767bbe85b6e7463e02ac23fc71c3a32fa256603967622e0e54deec8046f0502f5fd00c64d649741600 WHIRLPOOL c070a07d4e8c832fa84880b9395d7499faecbedbc3e2d290a76339205234f396570b190a23183e6b4a1c2044119b8c631d161ce798e9aa03a1995d668e18080e
+DIST genpatches-4.9-56.extras.tar.xz 17348 SHA256 70e1a8008adeb7bf207fd7f3194b4fa7c3efd500af7aa6fbc33b288794788b05 SHA512 995901d2d40c5b9e9b33372636b4c2134014fbe1f5705b800283463904f072ce215930d81cda5f968333abd2d8558ac59a0d6cd419cd701e41b88901dea19d40 WHIRLPOOL 6b73420d4e249dbd3c8fc7e9670f0ca6b60554466b2d79410956df12af03763a8352701d9df4bc0759e08a6652813e40cbe1b6c9924cac111a81e33009bf27c8
+DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053
+DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
+DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+EBUILD gentoo-sources-3.10.107-r1.ebuild 727 SHA256 be0981f13e06542f6eec80b6269a3bdb599c76caa58d1475b1d9b5dfa280cda4 SHA512 ee5ccf40dcb8fa5a9402a78fed8cbc3a7f1e21e5a2a721c7409f7873039c041654ef488e07b602605a03b9760bb1327365e451c007abb886b6c49fc962b6de57 WHIRLPOOL 4e791c0d8bde2b018f419408c3175c8969f8527acf3c31851ed7af1e9cd2eeae93ab3a5ac59b9b7c55ac89c4794e3ffaeb3297a901ce3733c5edb6d78447c949
+EBUILD gentoo-sources-4.1.43-r1.ebuild 733 SHA256 6d17a398e43abb342cb48d284ca6385d3800bef16f52e8982113518283b2984a SHA512 e43bef6fe50f0f01740889506257f81930860bbb853fa26c758bd51f286a070c42f80515606799f58c11a37fe4a0768fe644d37835e38c71c9a12c7732b31a35 WHIRLPOOL 5777bf84ec204381a77e57209798097061a8b5ad3081392c0106934126fc1efc7271bfb9214b6351b6b41545ba114a52322c93448e1d4fdd42dff9a43518cc2f
+EBUILD gentoo-sources-4.12.12.ebuild 738 SHA256 508b0e6e0335061a18412f394c56ed1583bf913108ba69c5beebac876a148598 SHA512 5caca76a93f8b7e861b9bdf152de5b8edb34c26801d10db1464646fd1a0ae35639febd162d2fd6a3f8bf6042d03aad2fb35c3d98a15c4ad29952a88e810e1fc4 WHIRLPOOL e416ec2f4b91ffb900891bd295da0a1b4d30b792bec34c0a05098b84ec70c2299f66d38892171f600b9ed3c6381c85d6b0b1901bf25b6c18c76a2e86707bce66
+EBUILD gentoo-sources-4.12.13.ebuild 742 SHA256 29045795637702831766897dc235658663e08a7a0b7c39add17acf44c0e9fe12 SHA512 4f5cf9c4458e29f0e3b3936e1b746bd04670ee5169de35182e2ad8332dbebfc82eed1e15dbfe2b581dc25f09f470d7cef68b40a3bb9f3d3545db401f0c709362 WHIRLPOOL 1deca7b4b23af6ab3fbfa2ad2079ef93bc8d67f330358453bb7e5514cd76780414eafdf3c6a8c6d48b2b7df01a4ba8b1b59e702de925c85b73463657d18cfa91
+EBUILD gentoo-sources-4.12.14.ebuild 742 SHA256 4816ef4ca5ca6137a86580d9789c28c0e289137070fcc9529af0083a709b159b SHA512 19526e1c4554d9e18526ad1f71815396db6b6f46286fbe0a2e3d9ce0fb48367ca4891464d662d36225ffae70133444b3c0bc85e150008efe108e7c8dc7db3acb WHIRLPOOL 2fa53279e439febf4b43b0757814b176f2eda2dbd36391228d7465caa67a96e2be2f441758226bdf54c28010c49d113f87029937da990001c724d01b74a09bb8
+EBUILD gentoo-sources-4.13.1-r1.ebuild 741 SHA256 92e0dfdcbb2499beb74bb68f19fa532e41270c81969354bb3584680cba1d1326 SHA512 fb669b5b4272b4dc21408ea221c3ab15e2919419bc70c74d1f7393e50ce09e2d090f6c212a34cce0a2e4fdb0330e52f81ab66cd014fab6a7fef8908cae9fb9ce WHIRLPOOL ef6564e00cbf27fef71ad9825c22e5e3f7e7267c33bfa12f1a8246cd90b602fe751e5dc563056fce9ead0b872d1825ad32bc4167358d3069079c55385c4e253e
+EBUILD gentoo-sources-4.13.2.ebuild 741 SHA256 5fa249c24ea3393561a7a562b763a8c7011a794ce3eeb01fdfbc5213ee9b80a7 SHA512 a3140a6217d52eaf5eac65a328fda5ecaea340e6d0102bdfde178bc837ef4f7fa9c849aab734968c426bacdb96b44da0b25a6601e1f28a6a8e40ee745d4a940e WHIRLPOOL 75db7782ff436d09ed3301e382b4898ef336aeea3ff875ec84d9d9bb3a63f8137fef329aeabc11fb1eb69dc942edef7036bee2ad65ee48277c48c0a623a6148b
+EBUILD gentoo-sources-4.13.3.ebuild 741 SHA256 520e638fa8681e1a617196918fca6b048d2872d14635df9f6a6d09c449d5cc52 SHA512 6528a95e5c2b83be431339553ea2ba60667b9a675af1d62ec7ee6c0e0ee664653388182e5f14eec65bb0096885f1e73dd7cb969922f57554671da2d3e965c351 WHIRLPOOL ccd24bdc0235b852de874fbdc697439dd21797e5ed840b471fc9321363cb12b70841c73bddbcde140f85e807e8520ae22ad2930f931cea0af680b5904e0c304f
+EBUILD gentoo-sources-4.13.4.ebuild 741 SHA256 4eb9c3d37fd31a53c9fae66ae789cf71557ac78c52ca9e736b3ab978f9972c3c SHA512 5c4ba68cd82fc6dc9d12f2be0cf068b738f77f6bac8d0c8281a61f70ddea4ec2493a98823983c26175ebaa4cf18e36484d02ff49eb4de11c34a72cf4fec29bd0 WHIRLPOOL 3396e4a3cc589e3fd9f965e6d396ebbb1bdd8255fe0e3a9d8264b83a28d945dcceb3a938c12ad2fc5d074ab152469537f6296943371ef4965844776d374b17cb
+EBUILD gentoo-sources-4.13.5.ebuild 741 SHA256 47492a4b589606ab8a1567afc6461c10c0937db1cd2dd042d1bf9cb004e47c43 SHA512 2fdcc7f85ee790ebed2e6399409bdcda8437f1cd92a541bb4a8f1cf8eae1eaebc84b691aa0b65c44d5dd684663e99088d6a716b8a6fe18e94a6ea01d7d3107bb WHIRLPOOL b850bc548d9a3982c1fc27c2740ef4221817792abf6a24b8870c5e464fbfe28aa3d567e86d90218a49b3121bdd45a75d6a06338225c94783d43c8e546946c681
+EBUILD gentoo-sources-4.4.87-r1.ebuild 734 SHA256 dd44b061141d2d116cfca2e34588ff60addce6a8d252b43a95520f303e69939e SHA512 3a59950c522313a2f9722ae6d4801cd03ddb9430b58f17ab9e8a500fb9a083dc59369de7ad59de1064412f82bdc21396c7280a6af6fcb0a4524ac93f758d85ff WHIRLPOOL 6093bca2f06d92d49241a7fbc2ea68b0306c494dc657d6ac3908e5d5406b60624a75b3a09e063c8bbe667309e31aeced4193897ff388fff11a48b4c9dfd5a179
+EBUILD gentoo-sources-4.4.88.ebuild 742 SHA256 2eef4d5dcb46222d98612ba2c3b2cebc936b2d48e7318a4f02d6048e0dfce86a SHA512 e4e8e8adb7132a19b0740aa31bfbda8209e313dec8f813097ee612046b36f9979744ce41b4cdf119573c5ffd9831bbf3f69f0be12c5586e6d8775f16796c6f54 WHIRLPOOL 1811598ac8c0065bb3798657a14799de1afc3c649f273f34711327fad8a3dafc0c07a717e665658387447b6ccf5b389f49711e0d03143329a83f3517b20af30d
+EBUILD gentoo-sources-4.4.89.ebuild 742 SHA256 ef03c103cf943eda72c589a9c7f1efae21e820acbb09ad7c877d0078de4000f6 SHA512 79f1868dca998e66cf75fe50da1def291f4ab4f0d02333834649a488a9c8b27d0962df1fe8dbefa949ff0b574747be21fd4bc5771aa6071256d05ef9ebd37d47 WHIRLPOOL ac8eb63e97a2244fbb90923daf5eae82239997eadf076f268799dd3d99beed5923b28f27ed0f535ae00a82babacc433dcef8340de1e2416315f33eb9f501cc91
+EBUILD gentoo-sources-4.4.90.ebuild 742 SHA256 4bb407c08b03120f33100c2cb9641572d03aab5c0bb8a4d8684aefa67d18034d SHA512 a7455b19e7992fc8d52dc8772ac858ce191a1332806fce891b39ee540d61ad6e3a1fd331293ca799401c8f92b29c502ea3b52afaa2cf3e333f5c794a5f8f96d0 WHIRLPOOL 4febca3d0646e297c146b024ba605dd206e8d1fa9d1edfa90abb0981c7480e51e46f3cdf4da02fe591b3b0e76513cb625073db64c610392ddc67fb4c8b381b42
+EBUILD gentoo-sources-4.4.91.ebuild 742 SHA256 0920c1554031efb6f02bbe8bd6c5a42157f1f685ee26ff06cae7d7d1fe8b0f16 SHA512 826a1c1169d5ac8536520aac17a8b4ae27b6a96760ab07da79348c26249f0b229409e6cad196b075dd73982827f12d24eacdabc7e6bb5143cf276acab60380f5 WHIRLPOOL 030fecb5332192b547ebc37ff206e198e317cc09d84c41e8dec2bf171f1fb659a4c83536cbf17eef1064596c8b9e620b4631a08eae5cc9dd9dec3a927283511c
+EBUILD gentoo-sources-4.9.49-r1.ebuild 734 SHA256 f7ceb31c58ca9122d769c16048c309d77235f1df3d79cb844d3fe472114ab679 SHA512 8a42455eb119e89f3df16a675486efc5ba208a94ac255b0f4033cb699dea75b9ad7fe28acb1df044b73f16f1bb50c08bbc09bb59e541286893048190c5a74a8e WHIRLPOOL 2e971b3aaaa0c11d22072d3bb0dd1d5d8d1920952e32957a2f2a922c1f31283a25df2c369263d6aeaa1f8c0b00de5841644d59b25439b170101b6ad91536d8db
+EBUILD gentoo-sources-4.9.50.ebuild 742 SHA256 6e837c9cd4d83747e3deed86e297594cfc62d596eaaf62d21da2df0f44b05ee2 SHA512 1de3ede5c952108316375f8469a4664f229b385bfc022be6af33c194ecd85dbc7bf67bd485a3b6dde5d22cfa07dbd268fb0125350bc40dc443917a273a226218 WHIRLPOOL 9534317c2c20c9b2f05ef8e412d27b814790745ef5efe1ff8a11266bae0fe169dd9fbbd800e6184a6c15ef58d79c73fcc86f4910d3b06c1128b1a5f930f34c29
+EBUILD gentoo-sources-4.9.51.ebuild 742 SHA256 32e68c1e90570dad78f7eee898aee730a9b6e61103c55c34605379c5f550c312 SHA512 a3d3d7c0096d3c0eeeccfbab71c54ee074a40c7270b097de5e7c293e46733bddc2ea22eb5c4676e0b8edbb215491d8db1d6588053649069393b8af3c346bc712 WHIRLPOOL 2e630a2ba06fd45c6a3e8beff822b9183cf5b4c31dc677880c469617008baedc54de0077ff41a174fe8a5e9be57980d160eec8f94f3569b7ffc847c162279c16
+EBUILD gentoo-sources-4.9.52.ebuild 742 SHA256 03a63edd348351b09133c797da72a67d9ab044b1eb389b5dfefdd16608b7e3eb SHA512 da5c0f2eb5834283f8373891e29d695a3bde678f0fb14c33c116312daba4b746d377d896bb6541ebfd10bff8c5c5bb4f214cf54f4e165757255aca04dfa6d878 WHIRLPOOL 9385d35b241a3628a43e6172ed9c249b3f5917cf56ef78ef907ab8393b9d56741785899a22e264633ed0e4a7086a2a49e8e88e4d41a35f8ef89a2501dd3e7d6b
+EBUILD gentoo-sources-4.9.53.ebuild 742 SHA256 7db703016ce8b7afb9126814840b65a93afe5b187d79a5432f5ef7d6d7741df3 SHA512 07c99c36c6e4d84f5f35ece39709eff156dca8d4a39fe409ca592d02a79ab3b8f03adb23151ed7a19f2caf0336a9ae494ffa5dac00a0a17a9b1a50ca5c1f5925 WHIRLPOOL 6773f6850fcb94475dd6380d9cf28c5105689bee4ec8e364cd39906ab95df3132341b958518f7af436f199ddf27d6ca797fdbc7593b7b4ea107ba0b6849b7cc7
+EBUILD gentoo-sources-4.9.54.ebuild 742 SHA256 b66a0d789681400ed8d09da12d2eb46593848ece7b8db8988364d2c1748c94a9 SHA512 a21ba726ca1a9c427c3e2bfe13a5fa43e0e7d03123e71ec13361a633aaf018600310c1f9f25e99a870fe0a27d1566367d93b4b18bcfc2f451228767e9be00158 WHIRLPOOL 5f78c279c8db39d79da714075bf1b633767b9fd891c52ee0eff8e107601490d76c314bc784dce808ffb8911ccc238ab2bf597e24d2c60bc67a7803395930b87b
+MISC ChangeLog 78395 SHA256 25a8f35819dcb65d5e904fbd015117ac25f35312cf6282d0cc9bceae99a47d7a SHA512 3434fc4e494e4463f11a32a940ae9f980c8b6450c8c0a03c05ae4f9b9d0656f2ef345334b2c8982ddf3326e0e259ec04abb2ad1b9ddc50ecf5b2d30fad4a8462 WHIRLPOOL e9977781dc07196c102e5883b0b60aa0ee0c71267e5c59f434e13732b33231dd2ca79c646cf60ddca8802af3a0db663c6ed01ea1f9fc14ab0585fdd542120abc
+MISC ChangeLog-2007 91971 SHA256 8c37498df2246749abb2fd1eca05c396257989b91ba5ec0f83cedb25488118a9 SHA512 2215a9856bc1706abe21ad51d0af6176fec226e85a56ad8f54664d20a041bbe076359347f473a87c47904df2d8d2006d56d1535528b2eb7aa756f96ad9554876 WHIRLPOOL dd881fa7bbfc42ca35a46a0fe01d751b3373ac8f4e2ce5626ff26f94244d729e107f57b1be43daf3b73c2f18b090ee896d8a5eb38888fa9ca01097d1cbd46da7
+MISC ChangeLog-2012 101665 SHA256 a60304f93fc4644cdf0b068e586f6036d4463ea4b21bd745a8aa926da71db6ec SHA512 892085806f4c87f64db78e04d3c215ae6bca8939ffeced8a3792fe4a2476e72d2cc9dbc8a3b906943971eb853c337847e6a8bf976f9496be9944e216fb983234 WHIRLPOOL 590f17b5a90f48fa1733959500ce06fd72f95524b64b6abf508653a616961af2c0ea04ca2dbfe5523ff9dcd3bc67b3b24bc368eb84326d091ca449e558555f46
+MISC ChangeLog-2015 119486 SHA256 81d547a705a4af2d33ee300db93e9c272c7f4076eeebc28aa58b80e72f529077 SHA512 d3f09e7d3d913656a24dfdcbb51d9cffca88de36e4b03c59f7be3b3e96da4fc745bad4ed309d96f09d7d1f03a16ca63939b38c17601a7d18a6de0ce6ae75e923 WHIRLPOOL f947cb75d0cd818fb148897fa4166c8eb462db060ba8d9e89165a82415fd91e00e7126570a613afec09c4b13181ecd24c69b145df43ffce8be49f2d6815726a3
+MISC metadata.xml 500 SHA256 0a0ec1c4720869046565b7f6e40aa4eeed2ada84dec8535c2b9608c6df068969 SHA512 c01d2263a3faff75c3b1f01eef806a9b0c0950c904c28c11b057cfdf2f5c302b95b20f45e649a3749c4ffafa6dafd759e7738bd8e807f23e49d2febaa212ec6b WHIRLPOOL f0e7a15c8c4431a3607f9275a489da756c75f7e0f5a6c4c963b612602d6b1159d2b7935b5aadbf234a8166f44cda16511c04b8bcb71c8dedf53c8b81a810334c
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-3.10.107-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-3.10.107-r1.ebuild
new file mode 100644
index 000000000000..81381f7dc552
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-3.10.107-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="115"
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.1.43-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.1.43-r1.ebuild
new file mode 100644
index 000000000000..ae0cf883c15d
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.1.43-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="52"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.12.12.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.12.12.ebuild
new file mode 100644
index 000000000000..f8da3aa55226
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.12.12.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="13"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.12.13.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.12.13.ebuild
new file mode 100644
index 000000000000..59284e8edba7
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.12.13.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="14"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.12.14.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.12.14.ebuild
new file mode 100644
index 000000000000..920163f95fd1
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.12.14.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="15"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.1-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.1-r1.ebuild
new file mode 100644
index 000000000000..7a185d552213
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.13.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="3"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.2.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.2.ebuild
new file mode 100644
index 000000000000..a0358dd6019d
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.13.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="4"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.3.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.3.ebuild
new file mode 100644
index 000000000000..dadeb72356d1
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.13.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="5"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.4.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.4.ebuild
new file mode 100644
index 000000000000..b38bd272ae22
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.13.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="6"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.5.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.5.ebuild
new file mode 100644
index 000000000000..b5f7f2be8947
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.13.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="7"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild
new file mode 100644
index 000000000000..cf2bd0163815
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="91"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.88.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.88.ebuild
new file mode 100644
index 000000000000..16acc12fd9ef
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.88.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="92"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.89.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.89.ebuild
new file mode 100644
index 000000000000..b06136de7851
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.89.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="93"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.90.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.90.ebuild
new file mode 100644
index 000000000000..545767c9aca5
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.90.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="94"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.91.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.91.ebuild
new file mode 100644
index 000000000000..7cd4561f750b
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.91.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="95"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.49-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.49-r1.ebuild
new file mode 100644
index 000000000000..bbde981c05ac
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.49-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="51"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.50.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.50.ebuild
new file mode 100644
index 000000000000..878bdaf6fbe2
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.50.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="52"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.51.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.51.ebuild
new file mode 100644
index 000000000000..51707e2954ad
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.51.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="53"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.52.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.52.ebuild
new file mode 100644
index 000000000000..20e05fd83a6a
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.52.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="54"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.53.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.53.ebuild
new file mode 100644
index 000000000000..80bd713d34bd
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.53.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="55"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.9.54.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.9.54.ebuild
new file mode 100644
index 000000000000..9d82489d350e
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.9.54.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="56"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/gentoo-sources/metadata.xml b/sys-kernel/gentoo-sources/metadata.xml
new file mode 100644
index 000000000000..93b88c1e713c
--- /dev/null
+++ b/sys-kernel/gentoo-sources/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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
new file mode 100644
index 000000000000..8404cad8d70f
--- /dev/null
+++ b/sys-kernel/git-sources/Manifest
@@ -0,0 +1,12 @@
+DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
+DIST patch-4.14-rc1.patch 49971200 SHA256 bdda6ba668374a3d5790a30a5bc12c674b199be16fb37646f896827359e3b006 SHA512 6937508f1eb09d428c1e74123c94d303281f89c1bfb8884555c9d5e463b98b0fe84a7fd11f5b1e7bff3b8ed1925ed896f42d64745c71a2685599d3fd385b2efd WHIRLPOOL 18fdd10b5def278a91910e56ebd7083e5d54e972c53b78ef1ab04f24d423f96f7ad337f5ee542d30e75150897b20b2620073773f85db984b2db59cf71d350226
+DIST patch-4.14-rc2.patch 50397184 SHA256 05c079b902c0b886cdb27c37d38e52f3d8ae7dd66092aedf3e1d9a385cef97dd SHA512 af089483e9351d75c65b880ec0448555b4c5887d7ceb78a574bcf539d1773cfc35a56251d41ddc7aeaf67dee4e0705db7286e2990caaa7ecc5d18cf8eb4effaa WHIRLPOOL 5a50fa248027ccca2178338779205e2f29a0187b34175bf0b40a81be37c9013ef2b3929ddfced7a74786b43614dc672c2e09d676a415ce1e1ef4d42657234c79
+DIST patch-4.14-rc3.patch 50656199 SHA256 45b73aefcf8e9e7de6282bb0107b83aec8a345d5653111e30fbd8be398906eb7 SHA512 8fd1a56254be222963e8878a5d357012b13dc280eca3c147a03aa50f28457baad7100834e074f325ee62a18648b790d92e4978ef36e8dd538306cd1a2ddc7319 WHIRLPOOL b32b0c16c20af1912e54e367cd93eec61776914228e3cde3a4b38f89122f3338251eff8f831f359f4d27c8ed25ddef130f68c03067550dcab24245d092bce95d
+DIST patch-4.14-rc4.patch 51066860 SHA256 eadd18c5df62a14abe2614b702ef2aab45f352c64aa3532b236def04bfc70461 SHA512 1d7ef59ecb329513bb9cef3d3736d6211a5bb7310ad2ca2c2d50873ff3a64075840f0fea9869b2606ed6cc4e5fb14ffec232ddd354f3a626bcf1bf3ae01b3e9c WHIRLPOOL f4a165c0bc3fe3155c11314ff6342ca69a5a84782a904b5a66107225820fad3264ba3bac3416986f0e23bace1a2802f3a9a675ee4e74147f0e4e48201f59859d
+EBUILD git-sources-4.14_rc1.ebuild 1179 SHA256 2ead36f01f10e0f2674b6dc6c1d92aad3d717b9b4b0a3151fbcf3b796c122845 SHA512 b2aca5887a1626e24097d7616935cce46403b4268dd720e6815c4013913be6eb591a00f2cefe6a6332949c3fa43fd23eddcdd924455f30c834e430d0874db9da WHIRLPOOL 57736e80ebeda4ee24362da51d4a4f9f814960ac8de8c1bccd3ee8a14280e1675b926b67ad45fa3987ec1df1c4fe48a1bb2c685e55cdd746a1ed30a7f98cf9be
+EBUILD git-sources-4.14_rc2.ebuild 1179 SHA256 2ead36f01f10e0f2674b6dc6c1d92aad3d717b9b4b0a3151fbcf3b796c122845 SHA512 b2aca5887a1626e24097d7616935cce46403b4268dd720e6815c4013913be6eb591a00f2cefe6a6332949c3fa43fd23eddcdd924455f30c834e430d0874db9da WHIRLPOOL 57736e80ebeda4ee24362da51d4a4f9f814960ac8de8c1bccd3ee8a14280e1675b926b67ad45fa3987ec1df1c4fe48a1bb2c685e55cdd746a1ed30a7f98cf9be
+EBUILD git-sources-4.14_rc3.ebuild 1179 SHA256 2ead36f01f10e0f2674b6dc6c1d92aad3d717b9b4b0a3151fbcf3b796c122845 SHA512 b2aca5887a1626e24097d7616935cce46403b4268dd720e6815c4013913be6eb591a00f2cefe6a6332949c3fa43fd23eddcdd924455f30c834e430d0874db9da WHIRLPOOL 57736e80ebeda4ee24362da51d4a4f9f814960ac8de8c1bccd3ee8a14280e1675b926b67ad45fa3987ec1df1c4fe48a1bb2c685e55cdd746a1ed30a7f98cf9be
+EBUILD git-sources-4.14_rc4.ebuild 1179 SHA256 2ead36f01f10e0f2674b6dc6c1d92aad3d717b9b4b0a3151fbcf3b796c122845 SHA512 b2aca5887a1626e24097d7616935cce46403b4268dd720e6815c4013913be6eb591a00f2cefe6a6332949c3fa43fd23eddcdd924455f30c834e430d0874db9da WHIRLPOOL 57736e80ebeda4ee24362da51d4a4f9f814960ac8de8c1bccd3ee8a14280e1675b926b67ad45fa3987ec1df1c4fe48a1bb2c685e55cdd746a1ed30a7f98cf9be
+MISC ChangeLog 15722 SHA256 456d5ee382baa781b3467101e95abae70100edbde51e392b1e44dbedd6c72de9 SHA512 a1f91d2f98f20c4c57fa35a2be3b44050bceab26cc4c349b49fd10360d4b2382dd5fd7be475adadc0f2ba00d0551bd771480e359c24ca4312f23aadbbb1e0c0d WHIRLPOOL ba85984df77455a4e3ecc54d93671704809148a9b9403818edbdcdbadd2f66482d77dd8b86954e505eb1a79e8930c9377a7055ddb9633347cb67c04366693ea5
+MISC ChangeLog-2015 49672 SHA256 102bc757ee3cec97c9c90c4a57707344565f490a548c4a789acb60b78f25d19b SHA512 ca9f0475ad840b7dcc92fc6ed270a12b1816faecd85a1975e70cbe63f7d09b37080a41d4985a1434d358e9424a18d4c42886f04d16e82711c7c00f962bd61be8 WHIRLPOOL bbc297ec7d74379b03dccb8a250a674760db1300fdf80d7c45d0eca5fb9ee632a18540f79046c9e8a9437683dc473865480d459a961c047a5c43e60bc6a704ff
+MISC metadata.xml 647 SHA256 9f5a2dcb5a2679b26e3f740049428138fbdbce33c530018c0c3def55328e2f71 SHA512 4a673cd7f8ca3ee46bbf065d87337efa6ee77218781f25ce8b3924b9a90ca3cf10435b6f667d49ad16ba50662f82d107696622b3e55c707d56689ae0c5d2eda9 WHIRLPOOL 4eaba6b5096af3478c9453816e3339f2cd77d35327b7cfbf5e6d0da968181d8b48a495fbc95602db55e2decf10bc687f0655b8f8944941d58521154218720147
diff --git a/sys-kernel/git-sources/git-sources-4.14_rc1.ebuild b/sys-kernel/git-sources/git-sources-4.14_rc1.ebuild
new file mode 100644
index 000000000000..7f2595c38a35
--- /dev/null
+++ b/sys-kernel/git-sources/git-sources-4.14_rc1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+UNIPATCH_STRICTORDER="yes"
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+K_NOUSEPR="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_BASE_VER="4.13"
+K_EXP_GENPATCHES_NOUSE="1"
+K_FROM_GIT="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 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+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."
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/patch-2.7.5"
+
+pkg_postinst() {
+ postinst_sources
+}
diff --git a/sys-kernel/git-sources/git-sources-4.14_rc2.ebuild b/sys-kernel/git-sources/git-sources-4.14_rc2.ebuild
new file mode 100644
index 000000000000..7f2595c38a35
--- /dev/null
+++ b/sys-kernel/git-sources/git-sources-4.14_rc2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+UNIPATCH_STRICTORDER="yes"
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+K_NOUSEPR="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_BASE_VER="4.13"
+K_EXP_GENPATCHES_NOUSE="1"
+K_FROM_GIT="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 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+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."
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/patch-2.7.5"
+
+pkg_postinst() {
+ postinst_sources
+}
diff --git a/sys-kernel/git-sources/git-sources-4.14_rc3.ebuild b/sys-kernel/git-sources/git-sources-4.14_rc3.ebuild
new file mode 100644
index 000000000000..7f2595c38a35
--- /dev/null
+++ b/sys-kernel/git-sources/git-sources-4.14_rc3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+UNIPATCH_STRICTORDER="yes"
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+K_NOUSEPR="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_BASE_VER="4.13"
+K_EXP_GENPATCHES_NOUSE="1"
+K_FROM_GIT="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 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+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."
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/patch-2.7.5"
+
+pkg_postinst() {
+ postinst_sources
+}
diff --git a/sys-kernel/git-sources/git-sources-4.14_rc4.ebuild b/sys-kernel/git-sources/git-sources-4.14_rc4.ebuild
new file mode 100644
index 000000000000..7f2595c38a35
--- /dev/null
+++ b/sys-kernel/git-sources/git-sources-4.14_rc4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+UNIPATCH_STRICTORDER="yes"
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+K_NOUSEPR="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_BASE_VER="4.13"
+K_EXP_GENPATCHES_NOUSE="1"
+K_FROM_GIT="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 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+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."
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/patch-2.7.5"
+
+pkg_postinst() {
+ postinst_sources
+}
diff --git a/sys-kernel/git-sources/metadata.xml b/sys-kernel/git-sources/metadata.xml
new file mode 100644
index 000000000000..6d887c2f5299
--- /dev/null
+++ b/sys-kernel/git-sources/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mpagano@gentoo.org</email>
+ <name>Mike Pagano</name>
+ <description>Actively maintained</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo Kernel Project</name>
+ </maintainer>
+ <longdescription>
+ -git sources sources, for people who like to have the absolute latest kernel available
+ </longdescription>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest
new file mode 100644
index 000000000000..e91af9d8f0ec
--- /dev/null
+++ b/sys-kernel/hardened-sources/Manifest
@@ -0,0 +1,40 @@
+DIST deblob-4.4 137370 SHA256 7cf11c8594db0d2a10a1b02390c9ff8916f1d2a1fe9d59058ca45485500c5274 SHA512 ea5f2f2cdbc97bdc90c2131f846761dc1630a53986db10d8e9d07d1ddee12a9d878c57790edd3ecc75ed9792d479b7b726c39d688a3926e850608c81b1b78a3a WHIRLPOOL bedd494be2032ce4b8911f25df906055d019af31ea6548b885482f870cd5313e09e7fb544fc8db268b3498cc18c199ae5701023839c972b48dbd8128239eeb75
+DIST deblob-4.7 141443 SHA256 dba1b0fe35b938186837dba148ab96ca84843e500be23d219126f10412bbb294 SHA512 1aafcc543ccefc12b7e22c68b3428e2e5cc0bf98852100f52e9a7352d542ad62cb4355916f5f71782e7acf472de5ec767618dab020c68786b27ad0bd02264aa8 WHIRLPOOL 35e9416e1ddd3a5f7b10acfa26676c43c8b8f9b98ee8edb3d5ade668ce2ade538e60b9d4468f7f7411fb2eb29f8c2c0c259fc995be07778368e60def2bb02d3f
+DIST deblob-4.8 143624 SHA256 c74fe2ae951a3f22788783b42d06ded033bbb7bc0e29455e1b31305051e428d0 SHA512 87ccee6a079e2416e1a05ac2d05453ad635e92846c265741937d72c09170660ecca23be1c964843943f724e40f9be8f5bb56c0187823449fe67d12bd22d7e1b5 WHIRLPOOL 0d48da5f34e94dc8cd99c05bb9d7b779141ad62501e9312b3f667087ef9454f11b1787291b84df89710e4c53d42d4f3da02111ef8b3c843192813bf1806da814
+DIST deblob-4.9 146273 SHA256 af4214b851928a53ef470ed8729122b9db910a6c0769d5d46a5de0b3e96f74f3 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 WHIRLPOOL 7b5ddba1469b6515d03d2e0e91a643ab0252803fde271ca710978186582a2f1a3b01deab9718c194bcdae0a79887636b6e98e604305402c9051b15a89fd393df
+DIST deblob-check-4.4 694225 SHA256 e142bafdd5a05280d5280fbf109aadab3af9ce71152ab2d27ad41e96766e0c3e SHA512 6554ae567566da4d30e94a37622f88343b8e96ab39a9204fee34de4ddb5dac8c4906b25843b63c2388d03a4441821c25d395b3c39fc875c498a69e677a4f0cb5 WHIRLPOOL 414f60a64a2c14f01eedebc84f5adfabf0562bcf76545a57e757cb6ac914ffc49c90c329eedd1aafb1ee752bfc082fd4f6af173774f4f853ddd637525fbeeb9b
+DIST deblob-check-4.7 708460 SHA256 7e8088f0d6ec6f841a6848b2bedef6536398e027b232de5388afedb607699613 SHA512 dc882b504f4463fc3e936881e29e25766e6f43eb0d6c286a837bcf42b854d44178ee801eb36be235d4f2abfd2241eac87234e1cdbba2cfaafdf90cf94544b519 WHIRLPOOL 6f6d3309041de8e42fb485d057857ff7b3881c91af0edd991a70577c4cc2f2500b21f5443dd467eaa656c5939da465993ba91279ca31ad84376df7d00745dcd0
+DIST deblob-check-4.8 712610 SHA256 21a28a2dc26991bafdc9143b77d614e3df7a126d9f16ea99e89e6afa1b24ab50 SHA512 caa39ffc45a0e2f0c8be345f0e1733584cc12c098d51fff65aa9d065b7701a500a581b91c2ee1797fc4b1e76c8a74253add1ccd11bd180abeaedf64a100a5bff WHIRLPOOL d0925f88b37c0d32b66010c4d0cc01f749a19f5fb3c582d38b91557981dbf0d144e4cbfd3dd383d0fc3f50a222a39e5c5f56971928a07faac63b8f0f9a785c52
+DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19757fc6b8e34355928d6b SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 WHIRLPOOL f1afe1f8d8bcd6fc43a01da5eb012d117687418f049212fe20fe7ea88700c482bc6fd3e917102ff9d12baf11e678a40355877a7d214da8b3cbf2b585a51a012e
+DIST genpatches-4.4-9.base.tar.xz 304360 SHA256 e9ba25000126256be414a273b154accc51ef523d236c35e2214ee75e243aa71f SHA512 ef239c362defeafc92eae84ede7a07820ddf0c01002f52a58d39d7b0dcdfd83af2d5fa4d2ee3d2c57e4c89a30d4fbf05dc5519886b8f55bf148ce4197b85d465 WHIRLPOOL 88963d0eac645d453ccf1cfe0e30777090240f18f20ccf735b7551a57365c2505849b13c8cd4092542f6baf6d251eb0e9c44fbba118d9677f9cd334e0ef10861
+DIST genpatches-4.7-6.base.tar.xz 181504 SHA256 2e42ee2c63f5b9984b0b6124431492c07f6e7439faf456e8af8bf323d69a7360 SHA512 7269ecdefa9c4678ab1baa674ff4650357867684dacbaabe7d91d9465d6b5305b7413935d34aca65257fbe7c56c10762a5fe4d101f7351158e562961ab2d996b WHIRLPOOL ec30f0e7ae58674322a5d52f6639c5eb7c7824cda2d8ef9e4908c9998fe559e25e52b9ced60ecb7994f193f15fc016ecfe6fae29961bb7407a3ee14a656576d0
+DIST genpatches-4.7-8.base.tar.xz 233032 SHA256 481e35ef24b98241adfd8277b2a9d682b4845721b02063b4b3eacc996c2e00c8 SHA512 0c95980432f2598d6cd94a96ad228a88650ac240e7dc20adea87994d683af02a55dd2e09363d7b2732e098738ddc9151be5c03418b3308cdeb07b00c5a8ec48c WHIRLPOOL b632e17439180e6a498602a1ec0018b7b720ca53dbcf93a3157f667fc4c28816c84325868b0854b927470926e3008cb20f867ff6d4c8c5a93f16c110bf0dee39
+DIST genpatches-4.8-18.base.tar.xz 304664 SHA256 89b161b2e98ac81afd9c865c4fa87cf203164b3c977c48cfc7fc5337b00b2061 SHA512 5cfc10e59a5adc7a14dce3ae6dc2ab8006d8d2bba7201a8c531c05c5f77e9fa3debbb796f7cdf2047028db43316e2e25f4817e9358524b925488b563514f127e WHIRLPOOL b0786badbade32dd777d929fc64791c672eb56a4ae5a81fb862c3308c294cb806d25f92f1e0228be6a5e29e5e049b25b6b1c470b3b1617de1d57567a9f5b14de
+DIST genpatches-4.9-21.base.tar.xz 451684 SHA256 5ed957a995b91d0b6c434c821b8505b86f13a7cdbe204b89302c0cbeaa35ba39 SHA512 c6260fdf7d6e144556499bc8a9be1e0507ae88cdedc1918f8e35de91f653a4b05deaab46d3a96413fc346aa03589116e1ebe62dce18fe8af55e6dce4fc7634b9 WHIRLPOOL 8b5d754119ba1c4b0ec73de4d6c07e0cdcb66e780d502a59c23b42860e75e146d4d573c5b2c50e1c8e48d1ea6fc4351e59a934d216140ab22e7cf4fffc8c0c11
+DIST genpatches-4.9-23.base.tar.xz 527264 SHA256 8a7fa696395333d94bf577b3ebb8b3cbfaa9179ff529dd91028175e6f6fc0848 SHA512 7270df0aa2e5cb56ebca8c86c40be1340023e4c1d2af59b1f55eb2f34b4e491a96b88da642f58e12532cb034037c223eacfcbcfe12df8c65fab7786499ec07f2 WHIRLPOOL 73f9b2c0e69a13de4aa685c7682ed178fc10ca111a7e8f9d55a7f8f904bcf66ca59c6444dfb739b45693385215b3f7ecd100310dfcf2b50e7ab6763f1d929abe
+DIST genpatches-4.9-24.base.tar.xz 535872 SHA256 b5982f25edcab736a3448d396bce03f5f52c19fcd6f253f9125dee890ccdf4cf SHA512 ea033acf6c63b3da5e15c7889166b1995e494a588fc406c72b70e46172fd9c2cecd1404a00d1f33c776dca2fc70226e4d9dd017fe1c35bce9f44d71433887f1f WHIRLPOOL 98ff1a195d106504fe1319e52dde7a5b3d715afdd2b74a19b509624f3461895b5e09092a644b96b4fc653e0b2b12ec1f2b38c93901bad1c871c026b8ab3dbf5c
+DIST hardened-patches-4.4.8-2.extras.tar.bz2 1743408 SHA256 5cde9a96f6a47ebe3c8abeb5d5add60480490fd365d4c31da2d7ac1973a4c258 SHA512 cfb52ee6aee76b125a5a833cd9facc92ea1dff17129a488b66e976e94699cea8109e6f5df90835e818af1ea6e59e12cecc95159601d544f5b008560a1190b530 WHIRLPOOL 56facf79d5556aaac3bf08fa3b4be21b7fef561c8d3fd41943ce51c4d15b71e114be2e33914f5bf7e3d981abcebeffb95fb99aedde8d72231edcef72123ea9fa
+DIST hardened-patches-4.7.10-1.extras.tar.bz2 1941100 SHA256 8a7787da2d440308b28d16738ba843138c01d14e3f09cef33f8c32d46886411b SHA512 851d8875452fceaa696a7bb6847bda82c42ca40c61f2d1da16545190eeba65eb26c15f9fd428d1de83e9ea7c019133808ab3622e770147e06ab598629b8dfb6b WHIRLPOOL fa4a7bdb8bf8bf232d32d466b0ce8492a82cda7908edc96d6f7937686e3a766dabbc75c7fd33de82be080e3a277aaf4e63e9c754c97b9164301630aa13810755
+DIST hardened-patches-4.7.6-1.extras.tar.bz2 1913657 SHA256 f32b7891fa0a821a60270f42dc817135d887ea55bda676e1141f0681ff360374 SHA512 943b25c12071abab62a169a2daf6e2255c76e595678a2553eaac4b87f2f227f0bfc47daad246db9b002119c6be3ec56e8746a7cb598a29c8772b3de4f7601519 WHIRLPOOL b1f5ddadf8d0387ade037a4b3f0e7e001971b01584f03ec40e61dda2db1e5762ac66266f00f5d95226337347dd9ed43c1d019a65eb66780403c81348bfc4682d
+DIST hardened-patches-4.8.17-3.extras.tar.bz2 1932803 SHA256 7ff535912635b5ae83d793dcadb30f2ebab85abffb05d73f73af3a0262f5b170 SHA512 f9521c5f0df2ab5989f5fd5929b3f69620d519d92583601f52bf4c2871330008c9e2f19cee3538a2c4945bc22d0ddb8478a9fb332de64dbd611904749d046e82 WHIRLPOOL 1f0ff531b479db743eb0d806d35b770c405868082a249c7d41579649dd924c25d41bd1781bc0fe827a6d06447e0fe88dc630992f2be977f50138f741e707b542
+DIST hardened-patches-4.9.21-1.extras.tar.bz2 1965869 SHA256 5ece74a315131b2e3935838428bfefb9b4aeca320e50b58c79bd2c2b1d218387 SHA512 0184dcd1d68c3b0ab8a3c3f385530bf726a9d2647399d72d2eaadfb0cd8c61284b0c3a007c2cfe704b1fd20fff080736bea4850729530c55eb0135624ae47cf4 WHIRLPOOL d5596a493edc166830e22434df82d0dedc822ba9af54737baa8b81259594c2db461ce0085eb5af563c0d6b98e2620bd59bc90bb48453bae644da7b2ab33fed81
+DIST hardened-patches-4.9.22-1.extras.tar.bz2 1923399 SHA256 9f741347f0aa663f2a720ea2c288277bad997e081b196d6d98eda56db07132ea SHA512 7780742a1cc8af175ca9741dcf505400e1a387c1e5ede803f1741ecc88a487404328b6bc87f48c0fd45cc609c0dadc2e47a6770a32589ac6c295fca9c36fe9bd WHIRLPOOL 0dce47508b7b6e581e265459668659d85347ca0300decb4d8057d0c09437cda7e86bca69addd736d64c83b0fe4f6b0d5a3be1026558a716cfb3c8eb76657bdfd
+DIST hardened-patches-4.9.23-1.extras.tar.bz2 1937895 SHA256 b230f16be80827139c7b682f3657dcb9f46de490f3b6bd3935a389ac3e232382 SHA512 2fb86e5aea04ec23b54bd29ec0e11bd2ce1f82a216fab0d7989999c519fba63cb6d92d7fbdef9f4acdf5f3fb0ba6e91890eb2aaea83e9c0afa9f8226f4ce956d WHIRLPOOL 127b075883c4607b4c943ccf9abfd762bab04c4fbcc7f64251d68af71a3baad7a58d80b3a63177bc2d82f55b961e21e80690e6209e1a9fa4f505bc10b28e3c82
+DIST hardened-patches-4.9.24-1.extras.tar.bz2 1948767 SHA256 ac22daca4435d2f645bde99ffb66a8f72106c79cc9d1c839c9dc3c03dfa0e67e SHA512 d57e455ad103de46a20eb34771ff2c825c0d4f1e97b4191bc161a58df36e4267e922063b80a53211345117b2a884d40d1551554d3bd93b4713fa285c23dbbd4c WHIRLPOOL 61dedc5a8ecc11ba39949e6eaddd987392090ebd38c7379757c8b74afe0da02a0aa009fcf7ec4f4dc79006b77d84f23f4d9cfb115870c9dae11aed9ae40546a1
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.7.tar.xz 90412100 SHA256 5190c3d1209aeda04168145bf50569dc0984f80467159b1dc50ad731e3285f10 SHA512 e8c02583e17e4fc4214fef694825fcb78c898266f1624deb1cdf56ab5c5fdfa669c5221122a7cf0d502ed6f921ff3797634acd9d294d29e98e3faa8a21920185 WHIRLPOOL e968c89ce714c8d918db6074dabac4b0200c57ff111260313cf5798eeefb8b5b10c1509b64e2ee611a78e81075c588a473b67f9802609b2fef9ebb87ae514d98
+DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+EBUILD hardened-sources-4.4.8-r1.ebuild 1267 SHA256 efc916dc2e11d50362baf393b30c155e363363c1fd9b655afdf2ab588c1cdc8e SHA512 a4febc41dc874c8d110114a54f34fbe5049aab8cb1652e37c343145d296b53ff8d3155ac3119fbdbd2e281d8af1aa1850f3e6eaafe38d9c6cee9e85e898288c7 WHIRLPOOL 2069221236273bce9417c8efe6b30d49b685c2f74a66dbf0a7b3d689c5d7c10c0dacfce463016632845779c3ed975c634c9acb2198fcadf51040c1987b931d49
+EBUILD hardened-sources-4.7.10.ebuild 1267 SHA256 be012b642c269cedc2ecad1181d7dca1f25053870cfc63252f2570e1cd9c12d9 SHA512 5563ffa0eb4f6543881b02024a5417dfd5b7c1c5467f85b2268c440b800c933a48265437ee1482f7635ebad4a4fdc7910b2e47a85cbd35846f5f0609d34a2658 WHIRLPOOL fdb340985768445a95c0db594e76dd4bd1ed03b03fb9907877ff622b13101b824db052575ca521c6a71ed2609ec62577a956fbd7975651a5d2b19483122d7dad
+EBUILD hardened-sources-4.7.6.ebuild 1267 SHA256 97d37c675fee73886ef2b3139f32e3b894244c6f24240e3213f6f25c88228b9e SHA512 aed28fe41598adffc32b0e5b47eb79fe8bcd0858828494ac7f9f0a2ddb3556f93b743c04b282bb68fbc6435c2394310e9b3d42eb16e61826722ea37c3665bd88 WHIRLPOOL 1ab6b85828fb635baa7542d7f650242896877f25efc608bb93ad384fc2beda6da912366f126d9aac932dcd510ab67239f57268146f6830481ea6772c753664b6
+EBUILD hardened-sources-4.8.17-r2.ebuild 1268 SHA256 6e8b0dc20e340d4a8b1bc4a51762e18fefa33858d58eb102dcd4a7dbb2c496ec SHA512 054c8221672fc2a0d9edf5b9079aa2b7574b5970e4291c4b794efd85b41153921fa1c66b3b725354176638670c1d628db32fa9d8a42e2dc317264c9c7314f662 WHIRLPOOL bd43f10c82023a9f66d9d928360b56d639900503e322eee7fbf46d6c76bfc36decaf378cd622e0544633d26b511631b67580a1ad747772e42981989a8b9933b5
+EBUILD hardened-sources-4.9.21.ebuild 1317 SHA256 e94a682805265559eda3f4dd8c2b16494f02929a6ddb9ce75e716c8de9327ebe SHA512 9f63e91b6c7f242bff2661f2efefa7eeca28a133b55b5190bfca6d91747f515fc7dae3d3b07f6ddc733f91d1cc24c9f6ba6e010def01a47877f26de1fbb4ed13 WHIRLPOOL 8553c6a9683ab3e02125192462faf2036d8eb12980ce91305b48fef9429fba843f55ed182babd2834d4845fd58e47c0cd77f5569acafeba0e34a37b9defe6adb
+EBUILD hardened-sources-4.9.22.ebuild 1317 SHA256 c0fd4613dd75931c5ac74fa83d3af2fd0156f0417dabcce3a571c5c5b324781d SHA512 5ca5be2fa2712c21dc12a61e8cfa55968857d762cecdb351b80e4e91699471fe820738853c2e444bb213ff6152509c7d456d1159837e62496f0383c4ae08d7fd WHIRLPOOL ec6f1bbdc65216a6e796a18124fae60a1be336a4aeefa41c32b2c105329cf756577e1a0529f35f368821c375eac8d3108282b4ce1e17351105bda04cd492e869
+EBUILD hardened-sources-4.9.23.ebuild 1317 SHA256 c0fd4613dd75931c5ac74fa83d3af2fd0156f0417dabcce3a571c5c5b324781d SHA512 5ca5be2fa2712c21dc12a61e8cfa55968857d762cecdb351b80e4e91699471fe820738853c2e444bb213ff6152509c7d456d1159837e62496f0383c4ae08d7fd WHIRLPOOL ec6f1bbdc65216a6e796a18124fae60a1be336a4aeefa41c32b2c105329cf756577e1a0529f35f368821c375eac8d3108282b4ce1e17351105bda04cd492e869
+EBUILD hardened-sources-4.9.24.ebuild 1317 SHA256 f10b7f381f07410723fdfb8e95e665d94ec0088bd8ab24a1f7b586855775415c SHA512 06d8e62cce9f6b1a2b3c9bec288354f373c5e18c8b7ca235e5528d830aa6d9ec3080f4222241149f93d8842e4767070f628a3878a7f6b19a9e52b44dd54160af WHIRLPOOL 8053b3b4f3458f6f67f77fde95a82336af5f3faf9171441ed29ba0e808e21966aedb3a51ad8299a0c3a9b65aec13b4f4b60bbc92a7c7fe5b7c8c5e13151c85c6
+MISC ChangeLog 47449 SHA256 192cd3c8812eece62987b2a9dfbc7c0ce3e96351e00932ef74cbcdabd764ef7e SHA512 a48b79e893b37b2031a56d1d6b58e3e7268430d71a812bc3f9c0fc51d26d1c9d8846d73f26f229df7e40fa9450ace4c9fdb8d43ba28303a95452807d8da81bec WHIRLPOOL a0670f472920bff287313543704a60cc18b7af3f1b112b48b34af44b479c5a47a24dd2e13adcc3325600b56e3bf580e90a656f340dd310dd531c6e461aff4c9e
+MISC ChangeLog-2011 112069 SHA256 39bac69a08709be5b79c6e711fd94aac7e53191b76fef64f9b3d09f7b5ac0f82 SHA512 3d66e844a3f619a530e7ff236cbbb095bf9150e1542048268646468afe09d1fb20da3ea8dfa4b80812f35f9eeed1e399a115ceb573cce43f34f1c30c0ff67ee5 WHIRLPOOL c55f94fc4655b77b9db447c8f315af698e5c180496f9a333e22aa16c57c172e26bf9dbb0a70d7319c1a54943bce4756d11679f3c3435cb90bf427a64e49ded34
+MISC ChangeLog-2013 103203 SHA256 cfb8a9a5ca8cbc986810b1f82bdc05240105e74c249216e766e8a130df09bb6a SHA512 15b230e910293e7d142906c22327bb24eb4d7214f94bd7058de1d21e91eb24bde9727a968749858558e214a1af48a590e56621f09a26b31f1cc7cea91498dc48 WHIRLPOOL 187f4b375446d2a30ed504cd71ddc7698c99e693e656b4db79a67736a2339a9fe890b601f479f351a31ce3803937009cf8d5eaeaa19a3d1d8b52edbf2c40287a
+MISC ChangeLog-2015 81136 SHA256 fa80e9f2e1ff804f74665b888a4fb289d6f3cf36aafc4db656adfd4ce0e2177a SHA512 2f91d91b2e895ad3990aa453809f741f3e5c145a512cd33683f626d49ae6c7d3f6a3ae35db8bd43dab4c84c0df2a5a230cd85cefe9bb3f4f4e33e6c9b9acc300 WHIRLPOOL 7c949a90737ba58da62b8b6ea304466289449d481b39a126abda9ab0840fb76fa2b6cdb226c69ba8615d8c3ea4a0f1c06480ceb1a57675aa39a9dc7334497fa9
+MISC metadata.xml 774 SHA256 c46eca07040c1905b1a2a36b36e165014e21572fc80b65cbbaaec8d0fe4890dc SHA512 3c440bf1ee4806fad834423a2ffa4e3a3e031f5d975db369ae55793049d6232b46205bcd560c734ef6fd10d07c54554f5e14ed745571d57a2db80485fff98824 WHIRLPOOL 134b112580da92cbab8c90c96142464f63ca4b059a660424cda39263e4727be453fbb09a7d173af5b337764cbf5850ea3474f1e0bdcfafc10b5b450e4ffe04a6
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.4.8-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.4.8-r1.ebuild
new file mode 100644
index 000000000000..aa46fa523f42
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.4.8-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="9"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-2"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.7.10.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.7.10.ebuild
new file mode 100644
index 000000000000..a2206f87fb50
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.7.10.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="8"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.7.6.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.7.6.ebuild
new file mode 100644
index 000000000000..2690eb498f83
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.7.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="6"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.8.17-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.8.17-r2.ebuild
new file mode 100644
index 000000000000..2e1fc3d60d2b
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.8.17-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="18"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.9.21.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.9.21.ebuild
new file mode 100644
index 000000000000..4f0d2909493a
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.9.21.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="21"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 1520_CVE-2017-6074-dccp-skb-freeing-fix.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.9.22.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.9.22.ebuild
new file mode 100644
index 000000000000..0cbe2619d285
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.9.22.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="23"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 1520_CVE-2017-6074-dccp-skb-freeing-fix.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.9.23.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.9.23.ebuild
new file mode 100644
index 000000000000..0cbe2619d285
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.9.23.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="23"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 1520_CVE-2017-6074-dccp-skb-freeing-fix.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.9.24.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.9.24.ebuild
new file mode 100644
index 000000000000..6772ebb6fc60
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.9.24.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="24"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+HGPV_URI="https://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
+UNIPATCH_EXCLUDE="
+ 1500_XATTR_USER_PREFIX.patch
+ 1520_CVE-2017-6074-dccp-skb-freeing-fix.patch
+ 2900_dev-root-proc-mount-fix.patch"
+
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
+IUSE="deblob"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/hardened-sources/metadata.xml b/sys-kernel/hardened-sources/metadata.xml
new file mode 100644
index 000000000000..677261c6f027
--- /dev/null
+++ b/sys-kernel/hardened-sources/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo Kernel Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>hardened@gentoo.org</email>
+ <name>Gentoo Hardened</name>
+ </maintainer>
+ <longdescription>
+ hardened-sources is based upon genpatches, and adds the grsecurity
+ patch from http://www.grsecurity.net, which also includes PaX.
+ </longdescription>
+ <use>
+ <flag name="deblob">Remove binary blobs from kernel sources to provide libre license compliance.</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-kernel/kccmp/Manifest b/sys-kernel/kccmp/Manifest
new file mode 100644
index 000000000000..553957276d14
--- /dev/null
+++ b/sys-kernel/kccmp/Manifest
@@ -0,0 +1,5 @@
+DIST kccmp-0.3.tar.gz 14033 SHA256 815a4f77e720fc87ccdf5d0aec3c97eeb6627d365369e5a8975a9394578f3701 SHA512 0274f36bf0e9d702b3e8efc0168987fd4c54ffc316a967ff326ad4c969996143a93bbaccee6dea0afd254bdf875c05492c35b11fd7121e0b9127467286e8e013 WHIRLPOOL ecb0f5d4db80344f5b9313761947030a86e405c845e0853bd02a374e9fa78d7266e50b56cf7df790cc0edc23693ca825e323805300521c2ba4d108e5c66cae14
+EBUILD kccmp-0.3.ebuild 547 SHA256 3147d8fb5cf09fbb58d9cd386452fc3e1b1376fd60267ca959a5e056050d3bf5 SHA512 0d8510d9879509508fbded0dda5b76599d29f02c6d5b08372e06387d733481f95920d9748756df6e81b30dc5c88ed19c1bcec1b5e678695c8028b9c5ffbc837b WHIRLPOOL 865766a9c89c8edaa6f5c6d88d806ff43f04c061e6c5f30109e93325e038770a4c0a7031c047a8229195c69a97004b4ada7847bb5e4cf873290633ac830ac43b
+MISC ChangeLog 2419 SHA256 37b81e2ac22a51a0e63a17d190614998194a9b5a11784e8ae4decbefc5860bd4 SHA512 93ead7642f2ac63cf6955c30a076b241f1b63f5d1995d0f2d590a776e83f563e0f1aba8ab3eb2bb1423f0a512cfe3e358a70701747c79236853b8f5136c5ae05 WHIRLPOOL badbba96a562725593df4ffad0680b158efb291b28decf6ffb52a1a1d8ea4d214ce83301d8f1797b88fb59f09f0349f2649ae05d36afa39df2b38c5e56c15a65
+MISC ChangeLog-2015 2958 SHA256 7c43fb0e8243cfbbb567784560960c65e14e42363e98fb968ca45d844f1f176e SHA512 72c8ee037974eb70dad11131658853cdec204105458a11d349dcd41881275c01b25466d6c9cf40da7a8d954745d1ecec0d19445efc7003585656655c3f516a5f WHIRLPOOL 1eddff91748111a0abb836b04b22998d0d96dbcb9f0efa9961d6cc9855ceab945ea58bac7eb274c6d6289eedb362ac53de000546c09cdcd903795adce2a0d48e
+MISC metadata.xml 330 SHA256 0c1a276693233646ad391d15d7d64444050389ff68098ab5031289d567c85349 SHA512 3b21165d70b04795bc9ef97526e2c19becea847eeb41eb09ff2e57345826b0b29a733de44fa292ace67a5cfced988c9a12a5e7f6adb7444df2a9d1646be3b8e6 WHIRLPOOL da8f3604ca34f94d4024e04aa4dd76ae268b3f8411a61199dfecb9041e14f224b54c2f07b0ab3d57658e5659bd459bd9bef30b60772056bc357a9323eac43d1a
diff --git a/sys-kernel/kccmp/kccmp-0.3.ebuild b/sys-kernel/kccmp/kccmp-0.3.ebuild
new file mode 100644
index 000000000000..b3e2bb07f256
--- /dev/null
+++ b/sys-kernel/kccmp/kccmp-0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+inherit qt4-r2
+
+DESCRIPTION="A simple tool for comparing two linux kernel .config files"
+HOMEPAGE="http://stoopidsimple.com/kccmp/"
+SRC_URI="http://stoopidsimple.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt4-r2_src_prepare
+ echo "DEFINES += KCCMP_QT_4" >> ${PN}.pro
+}
+
+src_install() {
+ dobin kccmp
+ dodoc README
+}
diff --git a/sys-kernel/kccmp/metadata.xml b/sys-kernel/kccmp/metadata.xml
new file mode 100644
index 000000000000..924e63bd15bd
--- /dev/null
+++ b/sys-kernel/kccmp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>mpagano@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo Kernel Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-kernel/kergen/Manifest b/sys-kernel/kergen/Manifest
new file mode 100644
index 000000000000..5442b4911df9
--- /dev/null
+++ b/sys-kernel/kergen/Manifest
@@ -0,0 +1,7 @@
+DIST kergen-0.1.3.tar.gz 109717 SHA256 6b3b90478321946e988a1b74932c748743389b82e181d51020ceed5f5b85c4c0 SHA512 decc5cc832f8741bb7f2e058b23c165c458bc9bce0e854d46292e741f33aadc731a9c0f428567b9143134d874b6bdd20defeb1377eabc51b347c0de3066e4aae WHIRLPOOL 854e5fafc406e01f1eee5a4f079d8f6af6684b01dd39affb918c5908174b924d9f50da0dcf2f1894e4d7884d0703b87906f5b74a73d46977aeb3fefecba625d6
+DIST kergen-0.1.4.tar.gz 135566 SHA256 76e1c6498d758cac4144417acac2e4c097f9376b6b7187809c67f85366d4480c SHA512 40140f66bf3072836dcd187a2b1a8e5ee19da853fbe6a3a3a7203a33332e8b4d3e871045aad187dcc23879f67d5ab11b832682c1ac0b788594b570da40a825d5 WHIRLPOOL 163fe5c87fdb8509aa62bdd4fe9f23a2da9c6308a644bb7898385bc9ffcb05e9b3157ae4799743535d5a67eac0ca4d4ea9901641b6e38fba652612feb41faad5
+EBUILD kergen-0.1.3.ebuild 376 SHA256 035793d42940e69a5b352eaf48b9b22834b700ac2bfd4c27ccdeb2ede7b5ef98 SHA512 b8eb233e7d16ce4833711741769ccc282484ce44607c2e46c27f302acdcfdf5f2d565c0084a05314ac92d17c42a8cc4126871568b1a1fedd28c6fb5c12deaf80 WHIRLPOOL f9a39ef57e08cf6618cc7cd9641b32b6ead0f06ab1936ff8aed8df7622f88334b5e05d450a2c8260f5c40aa3853b1e7f15123595f821adea7f160ebb2f1e44aa
+EBUILD kergen-0.1.4.ebuild 380 SHA256 783a2a1fe67f6ee6b144b9cbfc3c270530062f5a571d9b467315d44f4c1202f6 SHA512 60cbcb2c89f6e4d101d7e64210f395dc0a280569638fe604cf05f4bd387753a9a69a8cd77fccfc94cbe0c015b10ae1528cf891a1f95423aaac49a7969e0719ce WHIRLPOOL 08f4ac0ef9105c8674a7a614eb729f23a6b1e48ea5af04f9bb4e88303c0a46ef9a574ce1a51619324726b53a644690f37b2d786f2b73e425c574bdce10bc1b54
+MISC ChangeLog 2870 SHA256 249399b303fe1f5d4cf2b0a3eb91a09499b3de5ab4a271251e9a74f13b8d080e SHA512 075d17bab76ca3be237f1f2b5c0bea60eab4297c346b2557dca32fa9bbddad10f270bb334ca88d196debd5e63d6ba9c905e32bffb92855fd252968045b28e1ca WHIRLPOOL 28d1a52e3343b91c990edfc7447e727d61ddee41f3b1733dbb9e7272cb7b9aaf294dba81708247313f33176ab0fa643455959ba4e57b6182bcd6080c92c963b0
+MISC ChangeLog-2015 510 SHA256 20fa863af17d6abd781f6d7c05d68b646fc0e2a734d582c414e6ceb92a5ead62 SHA512 5a01da451141c888accafc0e55e4b6a52d3af85dee576aa5f65d212f00bca53c677743596515c43098a00ae1b1734070e9af48aae940bc52c79d13420228bb4e WHIRLPOOL 835d974ef18477148523ef51599664e9dd82f654044cecbf71f5a85e611cdf3c33365751b14dfdc947288a909cbf4bd3859e8765ab3d3ad0e2b54e9a74d2ed96
+MISC metadata.xml 334 SHA256 f98baa93a56d31b44bad4639cf07ff1cbd0a1904839601b3a1f835838683892c SHA512 a064619185d54b8d1208e3561d4dbf0831352eebd08d81ff249bd56f0f120f6d8e149aca4f6fd23db500bae680c73fb8e40ae3e01970169bdce5844f9baf0f7a WHIRLPOOL 1488727ad1717184438446ce6eaf0cdf0f3114659d4102547ab2985db1745299f725777bc92d665fd72a9030c272ebe8cf64defef3aa44a1d567eac50324150f
diff --git a/sys-kernel/kergen/kergen-0.1.3.ebuild b/sys-kernel/kergen/kergen-0.1.3.ebuild
new file mode 100644
index 000000000000..2f948cd0ee0c
--- /dev/null
+++ b/sys-kernel/kergen/kergen-0.1.3.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="Kernel config generator"
+HOMEPAGE="https://github.com/nichoski/kergen"
+SRC_URI="http://whatishacking.org/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/sys-kernel/kergen/kergen-0.1.4.ebuild b/sys-kernel/kergen/kergen-0.1.4.ebuild
new file mode 100644
index 000000000000..d597dcf6bb83
--- /dev/null
+++ b/sys-kernel/kergen/kergen-0.1.4.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Kernel config generator"
+HOMEPAGE="https://github.com/nichoski/kergen"
+SRC_URI="http://whatishacking.org/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/sys-kernel/kergen/metadata.xml b/sys-kernel/kergen/metadata.xml
new file mode 100644
index 000000000000..fcfb75e0759c
--- /dev/null
+++ b/sys-kernel/kergen/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jlec@gentoo.org</email>
+ <name>Justin Lecher</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nichoski/kergen</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/kpatch/Manifest b/sys-kernel/kpatch/Manifest
new file mode 100644
index 000000000000..6e3a90fb3ead
--- /dev/null
+++ b/sys-kernel/kpatch/Manifest
@@ -0,0 +1,3 @@
+DIST kpatch-0.4.0.tar.gz 124433 SHA256 852b8bea7b4ed8712793d7a8e5692536fc68468063dffb873bd55801f78e994a SHA512 0bbb49a06d02e9eb026be458eb904cf50f50461a67f16835a306bb3a4a57ef88b86ecf6bca6dfc91b921ba87b4c8b9d532e2a77e987e7c71583b8cb53520a1d7 WHIRLPOOL adf5e76183153e02a70659f5d47cbc70ed65c3ed9f004f83764029a8caff12faa62b6f41eff71011024653f025b836b340f79dc084ba374fc21293af10a75e6b
+EBUILD kpatch-0.4.0-r1.ebuild 1921 SHA256 19bac50d3e8d05c6708b3486f82202b9be3e1e4508b4dbfcf4980ea5e001b466 SHA512 ab0db6ce451aebd04142d1439f8e2e66d36a6e7abd548f3fbada115650d512c62c1a01918d4529ead08b06e66b5ad6521122efe788a35ca09c65ce9b47e94300 WHIRLPOOL 95314652f84c1a8a8c9889b3f948d633ee6bcc346d0f78dc758f8051a17541b4284bd05452cd514192b67b1e245a799657e848c08830c0aab3fa60fb5c0784c9
+MISC metadata.xml 308 SHA256 97bc05eb1709d3a884769be76918b7cd7bf953b61941315db4cf92ba135c1c43 SHA512 1094168fbbb63ed9328edc7ab2904b648f30f893d3fde7c2de2716a2b4bbcd32a72bc271974e2b006510e8abcebcc6f684670b550ff44e6267954c519eb06469 WHIRLPOOL 251817af7ac0fc0e35990dab12c999a1944470930e5b741799cc7516581914f09aa95f6a7bfa8032a5e5971bfbb71a049a99ba4e06d59334f6f1e905cb7159f1
diff --git a/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild b/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..2dae0d7a5246
--- /dev/null
+++ b/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit linux-info linux-mod flag-o-matic
+
+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="examples +modules test"
+
+RDEPEND="
+ app-crypt/pesign
+ dev-libs/openssl:0=
+ sys-libs/zlib
+ sys-apps/pciutils
+"
+
+DEPEND="
+ ${RDEPEND}
+ dev-libs/elfutils
+ sys-devel/bison
+"
+
+pkg_pretend() {
+ 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
+}
+
+src_prepare() {
+ replace-flags '-O?' '-O1'
+ default
+}
+
+src_compile() {
+ set_arch_to_kernel
+ emake all
+}
+
+src_install() {
+ set_arch_to_kernel
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ einstalldocs
+}
diff --git a/sys-kernel/kpatch/metadata.xml b/sys-kernel/kpatch/metadata.xml
new file mode 100644
index 000000000000..b393adbecca2
--- /dev/null
+++ b/sys-kernel/kpatch/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alicef@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">Dynamic kernel patching for the Linux kernel</longdescription>
+</pkgmetadata>
diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest
new file mode 100644
index 000000000000..b34dc8501e50
--- /dev/null
+++ b/sys-kernel/linux-docs/Manifest
@@ -0,0 +1,9 @@
+DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+EBUILD linux-docs-4.1.ebuild 1473 SHA256 3952ec9ff2bdb7fb2c7db5cbe7138ca974f9202323f9d2e8a2d7bd010c4f0445 SHA512 c1a7b91d44e2496998065025df07b315d6f2b8aac091156ef6f38b85e1d9b6dffacc04e701976ddabbecad3d4e4e84dd7c832cff5085a35f1565a3dc8988a30b WHIRLPOOL b99f8f111806c7f308654fcb87b3ea93d8b0d231fee1f1bd255f27b153319c86c1b7add41d0ec3e3e0ad5aae9056fca8975d5b03c1d261fe208c7a5fb8fd264b
+EBUILD linux-docs-4.4.ebuild 1473 SHA256 3952ec9ff2bdb7fb2c7db5cbe7138ca974f9202323f9d2e8a2d7bd010c4f0445 SHA512 c1a7b91d44e2496998065025df07b315d6f2b8aac091156ef6f38b85e1d9b6dffacc04e701976ddabbecad3d4e4e84dd7c832cff5085a35f1565a3dc8988a30b WHIRLPOOL b99f8f111806c7f308654fcb87b3ea93d8b0d231fee1f1bd255f27b153319c86c1b7add41d0ec3e3e0ad5aae9056fca8975d5b03c1d261fe208c7a5fb8fd264b
+EBUILD linux-docs-4.9.ebuild 1473 SHA256 3952ec9ff2bdb7fb2c7db5cbe7138ca974f9202323f9d2e8a2d7bd010c4f0445 SHA512 c1a7b91d44e2496998065025df07b315d6f2b8aac091156ef6f38b85e1d9b6dffacc04e701976ddabbecad3d4e4e84dd7c832cff5085a35f1565a3dc8988a30b WHIRLPOOL b99f8f111806c7f308654fcb87b3ea93d8b0d231fee1f1bd255f27b153319c86c1b7add41d0ec3e3e0ad5aae9056fca8975d5b03c1d261fe208c7a5fb8fd264b
+MISC ChangeLog 4461 SHA256 d5ab7ae439daba92e831c9694d585b12a52561639d38549861bda7f42ee4c452 SHA512 44a7202b50c189520fe14c08315dbbfad913a6a50fedc30c2370e251baff18f9a57f501ff5954766adc75d850295baf6c23710c74f93c7913e964e0a9a4e86ba WHIRLPOOL e8587f7f89631994a370b39e81669af65bfaad2a488775cd2579d23510c753474902e76096f892872ec1f572729b837d160a0bf4fe89cf28e988e88f44c2e384
+MISC ChangeLog-2015 8681 SHA256 87e3d52e6f960f6c03b5ede536baaf492728f2c46bab99e39139d872ab463ada SHA512 5f2c6d069031bdad121c6bbaac2af31d750ecadd838e259a76bbe549165ea388b6374c9f84f78f750c31bbf20f398cfbeb789ccd5d24c7f4258a2f6b6c2047c8 WHIRLPOOL 01010b8ba46231a57302dbf4c73aa16fe5949c1d306ce9fe63bb12ba9e0c6595600bfa5b0a60d64e021450a7e6bd89cc222462b90dea57dc332033c0a48bd0f8
+MISC metadata.xml 287 SHA256 1843ed6f38436c0c3ba96f300f9164c802398f605613e14b20ca49dbccc478e7 SHA512 ce158d4cc7febd712acc4e0cfa8346b474953f8754913eb09f1c08f71e782a0f86177ca80e0432f6a36da9839300adc02fc89d9ed7c157ce7cc8d02fe9abbc01 WHIRLPOOL 0ee2e16173ff79854e7a966edae71bc9ecffe808a87ee289af3b8aa01403682adc2d08ae09f17b7d57d3edd4425c2297bd5e69fd236c79ddf48e9695e26c945b
diff --git a/sys-kernel/linux-docs/linux-docs-4.1.ebuild b/sys-kernel/linux-docs/linux-docs-4.1.ebuild
new file mode 100644
index 000000000000..510172296876
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-4.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+MY_P=linux-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ app-text/xmlto
+ sys-apps/sed
+ ~app-text/docbook-xml-dtd-4.1.2"
+RDEPEND=""
+
+src_prepare() {
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:/usr/local/man:${D}/usr/share/man:g" \
+ "${S}"/Documentation/DocBook/Makefile
+
+ # fix for parallel build as per bug #248337
+ sed -i \
+ -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ emake mandocs || die "make mandocs failed"
+
+ if use html; then
+ emake htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make installmandocs || die "make installmandocs failed"
+
+ if use html; then
+ # There is no subdirectory named "index"
+ dohtml Documentation/DocBook/index.html
+ rm Documentation/DocBook/index.html
+ for file in Documentation/DocBook/*.html; do
+ dohtml -r ${file/\.html/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/linux-docs-4.4.ebuild b/sys-kernel/linux-docs/linux-docs-4.4.ebuild
new file mode 100644
index 000000000000..510172296876
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-4.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+MY_P=linux-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ app-text/xmlto
+ sys-apps/sed
+ ~app-text/docbook-xml-dtd-4.1.2"
+RDEPEND=""
+
+src_prepare() {
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:/usr/local/man:${D}/usr/share/man:g" \
+ "${S}"/Documentation/DocBook/Makefile
+
+ # fix for parallel build as per bug #248337
+ sed -i \
+ -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ emake mandocs || die "make mandocs failed"
+
+ if use html; then
+ emake htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make installmandocs || die "make installmandocs failed"
+
+ if use html; then
+ # There is no subdirectory named "index"
+ dohtml Documentation/DocBook/index.html
+ rm Documentation/DocBook/index.html
+ for file in Documentation/DocBook/*.html; do
+ dohtml -r ${file/\.html/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/linux-docs-4.9.ebuild b/sys-kernel/linux-docs/linux-docs-4.9.ebuild
new file mode 100644
index 000000000000..510172296876
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-4.9.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+MY_P=linux-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ app-text/xmlto
+ sys-apps/sed
+ ~app-text/docbook-xml-dtd-4.1.2"
+RDEPEND=""
+
+src_prepare() {
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:/usr/local/man:${D}/usr/share/man:g" \
+ "${S}"/Documentation/DocBook/Makefile
+
+ # fix for parallel build as per bug #248337
+ sed -i \
+ -e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ emake mandocs || die "make mandocs failed"
+
+ if use html; then
+ emake htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make installmandocs || die "make installmandocs failed"
+
+ if use html; then
+ # There is no subdirectory named "index"
+ dohtml Documentation/DocBook/index.html
+ rm Documentation/DocBook/index.html
+ for file in Documentation/DocBook/*.html; do
+ dohtml -r ${file/\.html/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/metadata.xml b/sys-kernel/linux-docs/metadata.xml
new file mode 100644
index 000000000000..029e49742263
--- /dev/null
+++ b/sys-kernel/linux-docs/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mpagano@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="html">Install HTML documentation</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
new file mode 100644
index 000000000000..65863c7906be
--- /dev/null
+++ b/sys-kernel/linux-firmware/Manifest
@@ -0,0 +1,18 @@
+DIST linux-firmware-20160331.tar.xz 35957140 SHA256 99ab767835006038e9efcc9d583b767c4a98091c35a6e2710f654e4fc2db7a45 SHA512 99694f336c4051d51f527399e225ee4a5842024d52f0d74204afd947ab5d0517c774e42519f469a1b653bc2ea026735bb83af5e495a8c2c5b5898ebe5d86cb40 WHIRLPOOL 17091f691577fa0976cb90cb6a60599155ff02afb95aacfa9c12228371c69d88750214b76f479cfdf55f36f7584a03c81158a61b1a593012e15db0ce8d740672
+DIST linux-firmware-20161205.tar.xz 40891260 SHA256 a1ab4b2d77b60b466f2312d5ee14717f0f70c9b40e36d20587e5df6ceca61e0b SHA512 ba6d5c919d55da78b17acdf8bab53735190c4fab892ba9510a13a05d56b15c91957a818e4eb4fc092646796acc49e775c147dcb8b901523365d21df453767b0d WHIRLPOOL 45a82e4002c764e8eba2f3ad5dcb7c2d151783b580d70b1e1a4c49e6827c10c07876cb5d3d5a7ecf4c300867dbba62379983af125bfd64cb5b71ae8ff83c565e
+DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80
+DIST linux-firmware-20170314.tar.xz 43175092 SHA256 9f07ee85524a95af1ec16e7008aa71eb07edf2edda07bf36f85b2d790452a67f SHA512 501e84d3ee9272d23e4d26a0a8bb7471f4e1edd16dee7c0c12a8ae8e90d6f5fa7f08276fc43eed6020bc3608c79b0914519c5c7082b6f013b6651d8afa7f79ae WHIRLPOOL 339a5f30f132d2f1688187d63df4dfdbe551fd3ca59d73e8f9e515fd1e26d62be62b87a8198437ad4934ce2d44287266f9628f7e82e53936f4957cf59d534827
+DIST linux-firmware-20170519.tar.gz 101696800 SHA256 a0011b362f651096fca9ad0edf699fd724699be397a5f5b037bb3153458bebde SHA512 4637aa3c6f8edd23417f48812467bf679b7d1cb77aebdbbe112957170b28725946a5badac14c141e15e237326997a3ad6c1de4794c84bbab0f8e418bb8ab67e8 WHIRLPOOL 94e6284ea60f546210d44b587cb91fe54ab11028b4485b6f0ea94616335cf64ab74c0cdcd0cb54f3e2a97881acfbf4966d51775c818dd85ac784a49f85222b6a
+DIST linux-firmware-20170622.tar.gz 104302528 SHA256 03d220c1747ed71b54b53ce04bfb178fe937ba585309b4a0b32eb351d709fcb0 SHA512 946b31666ef79a21e29a757340482dfdb70b43f7818ca47bf5e16fb6a79bb585822af014731b6c6034944dd37269ae948bbc23fc1f104bccfd7b7b405f41bbd5 WHIRLPOOL dedfef88d4ba7fdc9b5e7c07f6a04221d4d34256678e366f3182d4180d0e8de4071ded809d285c89aa0ab68bdf05cd9b9c0139084d9497df4d420e7e91ba48c8
+DIST linux-firmware-20170906.tar.gz 106748426 SHA256 db961e03e8914360c36210bcd10367b6bab655c652a29046bc8ec66241dc034c SHA512 c21043600e0c8e9ee58f439c01f38981f4c4bb2dc9397e655fc8285e656f3c34560cbeff1ea16f3d0204fc06d83fd1982c600d78cf6851b8f6c307e1a7a92b71 WHIRLPOOL 7cf9e547c018e69b1f3b047cd6a4fc2db7363abaa51d38432db8ad0b76e5029827ef2c73883bfcea79313d67499d5dc145625a85e3a7a4eec759a62ef493cc8f
+EBUILD linux-firmware-20160331.ebuild 3125 SHA256 45e2b7a7dbb6a4aee05c903f6f9a131ae587c6b0549cad7b9f68175c6b7647f1 SHA512 8acf0d853ef178d0d39327538cde8e5f9cb8e62a3ce8a68f6f85100bea86ce6c90f06babcb8ebdee058ab06ca5bf27efddd00dd346f902decbf8f0f962608379 WHIRLPOOL 561aa8388cb44db38572ceff0676a77c7185c7e204c74f619f3a983dc796025048e32213ac25c0e88f999e56063fd65ea337b17e729ed49d27a9ac0f02454009
+EBUILD linux-firmware-20161205.ebuild 3260 SHA256 9e0a83d6e9ff9519321bb9b4bb6f8a8988bbbdaf937fbb80b52900db262fb7e1 SHA512 11b84d341fbf6b9f424867a36bf1b444baa02bb1daf0cc6e26cc637f5519682a179e324842711c29f40da588026769759b51bbaf77f10a67e13864771fb5074f WHIRLPOOL 3d2871a46cdc35eb3056d54550bf8c11c82bb465f0458e385a5747c2c783bc4775a2a38df0adbfa6de8f4bcfb4cdba50dbb63e34e29b7e57105ae674e5503d43
+EBUILD linux-firmware-20170113.ebuild 3089 SHA256 b02306c72aedae621419540a7d87a104e658fd1f8477e7a188c82513388bb945 SHA512 21637497b8fcc0d3b302d9d8db35f395c31f93426103b6f1401fc2c32c05ab9f5fb0374226c26ee7fb6e5ad412678c128f00e123e6cd1820705ee917767f22c7 WHIRLPOOL 2189d7e7296ef63155f61014080af604fefc9635c5ce4d3486cdcf95b2a82f1f2a3922ffeecbebf7f0c254f6e4b801e9a27bccbf089e47642a94f318642f2ea9
+EBUILD linux-firmware-20170314.ebuild 3290 SHA256 0aab6538a31d84d084d346e9b59244b76ed2bef6d99d50ee0f0f926cd0c635cc SHA512 a008c6c41693094bd604017815b5e0c687f98fb53f655463f204a5077a2d260469680601bfe72ab2521b3657bad40d5dd6ce00cf3a5b485a3bd58b67ab789220 WHIRLPOOL 7e9f4a909359dadf371eebe99fca6c30845de42296b46e22bf5f544d71c43f5db458b8a858e9784266701adbf2d62a5b60c06b0084d5b42be7ec43dd32a7b5d8
+EBUILD linux-firmware-20170519.ebuild 3258 SHA256 dd5502e9e2fccef0b1be04889fae3a261a8ce8c2a28c45ed9f090d350d28bd9e SHA512 633cc5040382fddb5377b1c23c9f39fe01632abe8331f82160f5b8db66d722ddaefc61e7de2021e75758e9d3f45069982e37f7a543a9ee3a4cba6095d76d1b98 WHIRLPOOL 1c7e6e6a24a04e7372411a08396a27c6ac039c49995d4fa1f939e4093afe149cadac8bd4f175c66f1d0b18b768dc3b88e46180ad8a2e8d210ea2d2b15befea2f
+EBUILD linux-firmware-20170622.ebuild 3258 SHA256 68d53b5e8957d2637461c08d45de3caa5993b161d278154eba07d2dcaa0bcdae SHA512 f255c17eab32003cbcc561cd2996a5246ced84a2dc36251b02123c4a15737c204bce1b01d1b5063c065cfbd7069836fa61859ace5e64a1d2e7eb70334b2571d7 WHIRLPOOL d09f019ab5a1042f59f13d3de31b28b4f33ace569b8d74293e0c96d4caf3a561c2faaf3e00d0cff63094a9d2bdab3c3c03f2a9998f2d98cd27489d67eb046b93
+EBUILD linux-firmware-20170906.ebuild 3258 SHA256 ee44e69a9734b7a1a0a24360b80e21e80b117076f389a1a5d40ed27a6515666d SHA512 072f827134deed4c8b29fcb66a927696c1930edc4c3fb10d9b5620a5bdf76dce3afe4aafcdda3637e6025b76130b0e4e602d882ae35689241ff0c27ffd85a7ec WHIRLPOOL e0603decf05cb45653fe67c0b7535958bae7d76ef670f34b751ece1022dd10033b0cc3511c0d98851741d5aa1890238ae99976cc125e9e086b516154e97ab5cf
+EBUILD linux-firmware-99999999.ebuild 3089 SHA256 b02306c72aedae621419540a7d87a104e658fd1f8477e7a188c82513388bb945 SHA512 21637497b8fcc0d3b302d9d8db35f395c31f93426103b6f1401fc2c32c05ab9f5fb0374226c26ee7fb6e5ad412678c128f00e123e6cd1820705ee917767f22c7 WHIRLPOOL 2189d7e7296ef63155f61014080af604fefc9635c5ce4d3486cdcf95b2a82f1f2a3922ffeecbebf7f0c254f6e4b801e9a27bccbf089e47642a94f318642f2ea9
+MISC ChangeLog 12152 SHA256 523dc04163dceae881e031f7424570fdd80c927c28539e821c8fb0488e4566bb SHA512 260b60920824085212f4b2818554b5fb36683f669872a08f916329124d6ff89a5f098d35b9d78e239c9c6190d7db2ed663316f52050615e1ae5053132ebd16d7 WHIRLPOOL c57df826499caa21a89b95582c6df6c17698032c464d64c956fe497f9b66ee27240a2ea80ff8d95c89758fff75ca2e9a7f6918ac94186e26f900ad8c11def588
+MISC ChangeLog-2015 21057 SHA256 4d5d2fe9e0e1e35bd173ef509cae0cc80abc77d58888d6d5a4b64773b54030c7 SHA512 0f7d4d49b0f96464a8e4a63574c6173a6be829bbd1c24f1080a206fbad886bcfead74c9876695281e2f5588b0f27947fc9d3ff04a4c399d549c0f3261b8b0aaa WHIRLPOOL 42e82b80bb9dda822d7a06b939c22269b05ed5b5ec0d9533622d3422f00efd2462f01ca64e1223b1c373254184e9b23981b9fa31b7b7bb22e7b08b2bf6132583
+MISC metadata.xml 570 SHA256 4046cafe19e48656306555a9bc9c299fc3125ccdf303f926d24237af851e62c1 SHA512 55b3274fb2d43a015620bdfa759c554a2e966b8a83b8fd72a6ef1c08dd0f3b8b0b6afba00fc846fa39b631e100d4df059aed44c98111a6a260d1a3f5048916c9 WHIRLPOOL 934c78170504f3fb2ffe032bfa35abb1f35b8a5c6a85d0f6736b9a499a399dddf9ad3a71d7fa1019ae58ea0f535cd11d1e4b3752cd1865aad6ef80811f0f7468
diff --git a/sys-kernel/linux-firmware/linux-firmware-20160331.ebuild b/sys-kernel/linux-firmware/linux-firmware-20160331.ebuild
new file mode 100644
index 000000000000..88df9244a790
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20160331.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20161205.ebuild b/sys-kernel/linux-firmware/linux-firmware-20161205.ebuild
new file mode 100644
index 000000000000..7258629c9056
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20161205.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS="alpha arm hppa ppc64"
+else
+ GIT_COMMIT="91ddce492dc0a6a718396e0c79101087134f622d"
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.xz -> ${P}.tar.xz"
+ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20170113.ebuild b/sys-kernel/linux-firmware/linux-firmware-20170113.ebuild
new file mode 100644
index 000000000000..b3a27592e5b2
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20170113.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20170314.ebuild b/sys-kernel/linux-firmware/linux-firmware-20170314.ebuild
new file mode 100644
index 000000000000..3b23fb500322
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20170314.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+else
+ GIT_COMMIT="e39f0e3e6897ad865b3704f61218ae83f98a85da"
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.xz -> ${P}.tar.xz"
+ KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ default
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20170519.ebuild b/sys-kernel/linux-firmware/linux-firmware-20170519.ebuild
new file mode 100644
index 000000000000..56baea0d6618
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20170519.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ GIT_COMMIT="df40d15d6ad617e72ce7ea00b91d9117d92dcccc"
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ default
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20170622.ebuild b/sys-kernel/linux-firmware/linux-firmware-20170622.ebuild
new file mode 100644
index 000000000000..ff4e0f2640fe
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20170622.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ GIT_COMMIT="7d2c913dcd1be083350d97a8cb1eba24cfacbc8a"
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ default
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20170906.ebuild b/sys-kernel/linux-firmware/linux-firmware-20170906.ebuild
new file mode 100644
index 000000000000..c601600a5649
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20170906.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ GIT_COMMIT="a61ac5cf8374edbfe692d12f805a1b194f7fead2"
+ SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ default
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
new file mode 100644
index 000000000000..b3a27592e5b2
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
+
+LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !sys-firmware/alsa-firmware[alsa_cards_korg1212]
+ !sys-firmware/alsa-firmware[alsa_cards_maestro3]
+ !sys-firmware/alsa-firmware[alsa_cards_sb16]
+ !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !<sys-firmware/ivtv-firmware-20080701-r1
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-dialup/ueagle-atm
+ !net-dialup/ueagle4-atm
+ !net-wireless/ar9271-firmware
+ !net-wireless/i2400m-fw
+ !net-wireless/libertas-firmware
+ !sys-firmware/rt61-firmware
+ !net-wireless/rt73-firmware
+ !net-wireless/rt2860-firmware
+ !net-wireless/rt2870-firmware
+ !sys-block/qla-fc-firmware
+ !sys-firmware/amd-ucode
+ !sys-firmware/iwl1000-ucode
+ !sys-firmware/iwl2000-ucode
+ !sys-firmware/iwl2030-ucode
+ !sys-firmware/iwl3945-ucode
+ !sys-firmware/iwl4965-ucode
+ !sys-firmware/iwl5000-ucode
+ !sys-firmware/iwl5150-ucode
+ !sys-firmware/iwl6000-ucode
+ !sys-firmware/iwl6005-ucode
+ !sys-firmware/iwl6030-ucode
+ !sys-firmware/iwl6050-ucode
+ !sys-firmware/iwl3160-ucode
+ !sys-firmware/iwl7260-ucode
+ !sys-firmware/iwl7265-ucode
+ !sys-firmware/iwl3160-7260-bt-ucode
+ !sys-firmware/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r *
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+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."
+}
diff --git a/sys-kernel/linux-firmware/metadata.xml b/sys-kernel/linux-firmware/metadata.xml
new file mode 100644
index 000000000000..c662ac904b9d
--- /dev/null
+++ b/sys-kernel/linux-firmware/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+</maintainer>
+<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="savedconfig">Allows individual selection of firmware files</flag>
+</use>
+</pkgmetadata>
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
new file mode 100644
index 000000000000..b4bc51b59612
--- /dev/null
+++ b/sys-kernel/linux-headers/Manifest
@@ -0,0 +1,46 @@
+DIST gentoo-headers-2.4.33-1.tar.bz2 11542 SHA256 a1517b0ea6619f018d0dfbb7457be122a0f80b5e76b995fdedaa9423951fb37d SHA512 47e9a9b35aae8ea8511dba4607dca52dc7ff87f8091a263065dac76b635456c2600ae1217e197286f89fc8edd632a8c754ec5525a14d6955266d222f1cfa4219 WHIRLPOOL ac7a4e31782c2c4d38e695fdd4393789a2da4f1bb45dc66a17ea0782da6cf60470d4c2e9af9dedc40b64919b6d6fc0547f252862d377828fad55abc079853cae
+DIST gentoo-headers-2.4.36-1.tar.lzma 10846 SHA256 2120f941e11dde038a8ad3cf47ce4f6eb4b5cba3fa59a378113c4cf57544509d SHA512 fd3746708096f692b2190b514c6b2511fb5571ec772adee81e37c46825d642cfa31ffe9e6a9b343079fa17927ca46780da08306d3e2962b0ecdb1fb386d653f9 WHIRLPOOL 063abe2b3dff20585adf4f58bb2e93f1bfe71fe83aa36a642f15fb8e3c6561491eaf3dc3edf75c71d786e9d34ebfe00a8734afff6872840ba120f4e1f6f7def7
+DIST gentoo-headers-3.18-1.tar.xz 3628 SHA256 d6b83a873baf83d8db535623dc9b91b52354e53238a128bb6fc29c6ff4f9f11e SHA512 89fb9b336fa3455752f6fe8626500d30245c04806890d4448a2895bbef2a5eae409940618fd4e0be57aa12784a198a695c32479f12d76450e16f2af1536e7a1f WHIRLPOOL 5a18218fef9013d5306d3ef6aa6467c1fe09dc70593c3f8f1f62a3e99d704d085420e33ded3924f0e34ee58c080952e5e007842f31d7bf648fad14a02ce3751f
+DIST gentoo-headers-4.10-1.tar.xz 4640 SHA256 d973da3529766730a00a13ba3aedbd7c3c288eacab3935b506cd639fb4094f66 SHA512 ac3abe50199b98e7e9d493bb11ee221a298db04410caf607ed87c10e7f2af47181d17d03fb08a54216a08c3ec0da88ddc3844ec5eab653b69e0f3099eb95e289 WHIRLPOOL fe65455111ce0b9490a85705ace7e071aca4aa6f44b414dcd40517b026b2607b4c99338ea841b46187007ec3f71eb51e02d35e086e24df15f10e89481cf777f1
+DIST gentoo-headers-4.11-1.tar.xz 4072 SHA256 04f56e24a917986c1117b66fb964fd4b7e80e8ef846f290860856c58f2536abf SHA512 25b36c2b73e98be9f5ca6c60e41323737ce767e55eb92d344b848d5c78aa247957789d33318174b1322ecd069b601e4aac9ce562134749b493d23041340220ed WHIRLPOOL 4fdcc9c889dc95076c88daba5591444c0fc4d9cad06fc8a6bf7a079342ccb016b052187ebbb3c89f5e0defdee8f34a86c256928cdd82aae3fa55656cbb98d42e
+DIST gentoo-headers-4.12-1.tar.xz 4096 SHA256 2150d58bd141dd2f840828f735deff37d01b02cb2e89a285ca50a64460e36102 SHA512 d6499c036529da2d0d853d30d4fa45c201d4d029b0cb7edce0586a6c7e662374452002e277b46ca179886560db153ba5bdb0b4126ba647b9d494d00cd34649bd WHIRLPOOL 43c484ab8c3358b334b6bf700c0a5419644edc3f49bd3300d25b7b8238d34cb5ce3f2f72a6abea1acb48e3cbdef6182603f62c0e30f6e65c3e348c6efc708c76
+DIST gentoo-headers-4.13-1.tar.xz 4096 SHA256 51c7559ac940739e62973e1c1de1ce0b3cf3af5c6bbfefb933b073cdf70fb74f SHA512 14236185c8810b88d94ff0533fe59e84599c2d4e5c7507c37cb458b6728eed69b581df7f8654d5323454ec359e93490c4dcbbb1ee58a66f2586047c93f0f1aa6 WHIRLPOOL 6813e263830efccdb6dc6f396de766f0e9a50f05ea3b782d6859bdef6d0bb46cd58dce73394c1da94e596d39e72c64065fde515ae0f2576835659a44a2d969d5
+DIST gentoo-headers-4.3-1.tar.xz 6336 SHA256 dbe99afe8b96b181f1b065b4d91969913eb23750c1fdf5c05f86667a314ca726 SHA512 55310299ccf6fc013b26b28df52740188ea68547617141af45a1278d0028c8db47e43e230f08fff399793e420028ed1602438a73bad6f4ffb6f3c43f9f28002d WHIRLPOOL a87198b9f868d913c14a2578c5cd452fd0f041576141fc8089d4a3eef0840929923d95de188fac8a6f1115d588f2a17dd51ddcaae90871131d39458c90afe956
+DIST gentoo-headers-4.4-1.tar.xz 6624 SHA256 2d4dbc94f05f2ac376b2b0523340f7351f94b2cef180c9c793fa5e8453c7a770 SHA512 dd8a5c627a9cd373022d7afa1beb126f15694f80452821f31fc5c1a3439635814d205bcbc873a5869946472d86cdec872a44f4870751b96d42e89893fca1b983 WHIRLPOOL 07c351a05d0e808d6de6c2143713ec0e78760987cf7fbc9ec6a6192a185f9c578acdc5b7f96368a25ed9bfe778ac7435fe5596c3e2931d6645ddf631a92b8e01
+DIST gentoo-headers-4.5-1.tar.xz 6388 SHA256 7edb535fcff4d0aa02334840f7afc4049018c479e0fe81036abc5fc2b4532298 SHA512 48b19592bce8176bb6a363fb383fa4f88b3f1d30712339ba215c1246a59c9463423c53e77967039703adc5b7eb32cee532686715cc61cab95bd0694f283a76de WHIRLPOOL 57abea28dc4dc50b393ce7c1bd00d7d2e4a19a5ed24282a74065efb4d61550ac389cee45ff917d3cc56d0687172da0bfe678fb21c28758767a8b4445098fc54e
+DIST gentoo-headers-4.6-1.tar.xz 6356 SHA256 927a87d22d925e0a0191652ac4514c690f30ad63fc3cf472224320a0af9cab04 SHA512 c940c1a3ae2b8d5e60636f78f0deb5f3d5e33858fa2fc02c998e8784244a93880dde0807906445f845f5397347abf1514abe8916669f1b98fb2f731252c4ab40 WHIRLPOOL 30844328ac4c5bd182629bf5ff301fc7977b99e3f10cf2448fad0162a3c43b51400794e3191f7300e4607ee6e933a33dfc59ded8b0b522585823008e1aded17e
+DIST gentoo-headers-4.7-1.tar.xz 5412 SHA256 8fa20078d57c65b47cb82215e3e5c0cff42c77f51115ed07fc58d61bdd137889 SHA512 7b489c245db6d2db9838ea9256c2f876965363e6cef68786589c7629d158ddbe08e282d36175580a38e1581dedb3c044de612eee65d2923917c5782689495050 WHIRLPOOL 42b0df79ce9b089aec8b348278b13319f27321576f290947a28dffae2c240007416ee6eaddc5b31066226266b81625e9e8957c97823c13b47ccdd22bd87a3d34
+DIST gentoo-headers-4.8-1.tar.xz 6332 SHA256 8d3076b8908d2503c1d34c7a02ba5e8373af124cc587eff4304b64a48295dec1 SHA512 4c4fab57f764c02150cd3f57c4e2410247f5a1d2aca66deebe6d218e30e6c9a065d15a6757a325d96125a51a65e5cba484ded295dcbe346323e8e11975b8a623 WHIRLPOOL 73b1c2783cdb5624f766cd93b9900bf139f21298ba7f1ca96d0554601415dee06a5cf7d2d694d1bcde88689f0ad8d82183bf9b8f9172761bd1cf5cb5bf592ec9
+DIST gentoo-headers-4.9-1.tar.xz 5416 SHA256 2d57ac966b325c2c3bda00cfc7012479f3ade6264bc1e8fc5b9aa36ad4353ed6 SHA512 1069f50c58f25ceb8a13c8e53dce6a21e352e2a624da3b9a6d139939e7613e9a97226eb0173fa060ee69443c6a50b53b6d5c6d752dcaebffbe2a78f06cfbe2b6 WHIRLPOOL 047718799ed5fc39b33473d7dad599fabf94281eb3327be37bf4e8274b31a9f02023cfb93edc0f0d983943592621b1b6ae37c83910b14aeeb3289ac4f8708ec1
+DIST gentoo-headers-base-3.18.tar.xz 3776668 SHA256 12a44590e505525509556f6e973464f124f172565d3a4b29a3ff4627aa24f9a7 SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535 WHIRLPOOL 5cdd500aaac3589d6672ea365f5b29ccef207db36cbc34052f0bf1bbe35b5dbfedf3b1675079c1ec05daf1a136d2da3018b2ca91bcaeda1fe8d23e3246fda25e
+DIST gentoo-headers-base-4.10.tar.xz 4077280 SHA256 f3297d2f54e62041b832f9d50b3d30ea0a8f0979571f2ce91274dea2eb2e3cb7 SHA512 327f6dd254ca552112b66bedfabc269c68bbc045b4e5bcf37b1e277d062ab09bfb2f1785f6d58a2458e310baad2492f7fd4772a6b3a824537ebbb68c7f2575fa WHIRLPOOL 1dbb0540c5ffff4d9d9c4f02dedb0bbc7bab8ce120497fed271ca61fef1444714b93097e49085a2db220d91d42921754e5e30c408a1a487a2c6be8a0f40229a2
+DIST gentoo-headers-base-4.11.tar.xz 4092160 SHA256 e41e6ef74429f3b0db3ad908b55a62bb2f8a3b53fbaabb44344e00e2c2ed26db SHA512 e12d6016b8ea85396d5f757f904fbf7ebb0bc5d1f7d58865085fa7dfe49f6a6b9b46acfa744f9784c24fdb9ecb075ca94a62609d03b0562a583af09ebbf59d2f WHIRLPOOL 9bd7d9a168cf82eebfba7a1191105ed1cacf4ef25741aa3c9702619cbaa2d153152a1e66f672de44e3e19312b8ca7f24b8c97a45a9a209895be6da0cac9b9e04
+DIST gentoo-headers-base-4.12.tar.xz 7881588 SHA256 55d6951375497ac87869d41fc6e53e5510f480233428070d1669134d84d5f40e SHA512 a9fa182318bf811fbfa3ca5f5d24a9efac4278ff332ed8dc6163682c7a53a32772d1253e24037d9ed2256e1cf3c677e5f6d573eb1a3cdd46cdabf08fb37c7d8e WHIRLPOOL dde4fc4a61074562c2ae3e3080a92712d5ead0c9ab14fda901a13d317dcef7e91b4ee1c4b6dbee9ed8362ea36561ab2605cc4db33fa7ed56de325df9a87f9c5f
+DIST gentoo-headers-base-4.13.tar.xz 7951980 SHA256 1182441e77bdf23f4738d4d70adda5b65d6d3550d50e2c21f44a11d26468a474 SHA512 3b528e18199d43db3f51c8fb9a5a4c67b9317ea7e9b9fd82fe2cb4d704bbc1253f2af64dc79377ee8ec26511d0893409e3dddbb9a6ae11e8bb7f4ca4d8d3ac9a WHIRLPOOL 08089853ff9f5aa0090f1c14852c822e7046649b786f6f1e6130be131e18de79bf90d0678f39f608c770460e5c6624ba88e680b363b7edb5f613ab5a7a6396c1
+DIST gentoo-headers-base-4.3.tar.xz 3892104 SHA256 5add8ce264a85ced6222060d962c079821bb15b4dc015091425f609fd8db4629 SHA512 fed69490e15b2add489fe55225b98641135d4d7f10b4a8fa716ab039c79e74172168b90a4c3c154bbac14abddbde1dfb901e35527a76c898afba32a2d76b6f48 WHIRLPOOL b1193f24ae4a31c12e5fcddfb62ce73d1434e18048a6ae67dbeb4e0bb6b514c7350faaafe6d9b5ecd4cdd43468ec88e1ba8109da6f1eb83c26a9d1e360bff565
+DIST gentoo-headers-base-4.4.tar.xz 3911752 SHA256 c16a80976837e347e4356380ce4942286e7485d3335005647152b839e3267b8e SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3 WHIRLPOOL 6ea6c16718fab89d6e5c190d41b90f1d050cbc94bf56d00bea58b50006d4a7871f6bebbeb09623746b32066a1a514e84fead5ba3fbdc299ed363027caa4ae9dc
+DIST gentoo-headers-base-4.5.tar.xz 3915016 SHA256 cec11abb1afbe966e1e2abf828adeb7989547129147528e32bbddcac83f416fd SHA512 fee3d986d0fa25beda7b04e971810903c1a4dd50b82167a511f65cba8e6b5fdf08005578663b36841c75168e144330004561c24d827c9b4b734e08bbab4608e2 WHIRLPOOL b9272bd4e00d430a4c62a3fdd92865798c1460e59ba88a1fd28747b1ef1947c982daf915db38db061dd33e25b2dfffa2636034f6f5dc6cfe904801bb5f476cb9
+DIST gentoo-headers-base-4.6.tar.xz 3929952 SHA256 77483dd1f6abe701885a6f43fd14f23aefae390764006bcd2533d94229d08ceb SHA512 20ba38fa3ade7a445015b3e0184e8c28daf17d4eceb0dfb75b19c1c72fbbda909d2f6e55c1adbffba1edba610a8f59dceb730b3fbb0eb0a1d8129b72f667c085 WHIRLPOOL 322e90d50d5e270c48a7e5afd83eaf175fe1805c43bca590c7ed0ae1c71bd9d1711f09e3120e80a36a03cc6a6aa6bcb3a8ef05f88cc8a17af144365a0c10c244
+DIST gentoo-headers-base-4.7.tar.xz 3992800 SHA256 d87ef64323ebf5576aa86380e0d98dfb232b247ebcd939aeddede3942837fe13 SHA512 9dae2ccb55f9d53a2b66c09075c349e084d2533a8c22fc0dbd6d37c4317a911d59c1fe7b805d286e0a7079fa63f17b8d77fca064befa91cda0fa20c665813343 WHIRLPOOL 3d7511530fd3a76be0d0795824c030a793566aa6ab385bdc34df492f9d05f3ba2b37f284101547162a08340405008cd724918698322c7bd10843870120ea34f8
+DIST gentoo-headers-base-4.8.tar.xz 4025544 SHA256 ab6a8276da6c691db2eb12c83d3277be26d86660a52f813562db6c2dd79c481f SHA512 379d4ef9b14c1a2277c996df2683b9e21b591ef3b77c8a4e593d7e687c298196fadd032c96d442a67e227bb8a70a15763e832e2f70da9a819911e9e678c46733 WHIRLPOOL d2786dd580daf3227c7fa9ad460c3d50702b94c5b6f37677a08587855e367dbe3423dff9865e6f7db4ca9943334dab8233e6f375a6c931ba5b94a1b0278b0598
+DIST gentoo-headers-base-4.9.tar.xz 4052748 SHA256 8468aa4b44e224c33e8d1ffab74afe61600f34aa2a07528bc710a682a037f851 SHA512 a03418cfba7fa4531279d9122411af3e285e962506e8df9279fbbb27ae08a4e30725bd1cf03f48ad523f61f2889195e6c844fa4c7b4ef2f828baf47ef402abfa WHIRLPOOL a24056d5e2d5cc43efca9f9c9df4189e6f103450d89f0f5fadfe0a34fedf815c7f2d8b609b4a706bb46ee4b492bec2bddf8fab5af83c356458a4543d2d6a0ade
+DIST linux-2.4.33.tar.xz 25725956 SHA256 f5e58cc4b85cfc84accb284b9b65eec24ba637d6bacddc734948a8ca3ca75d4b SHA512 cc5b6ba5824471a81b80e973378a706882b10951ff4ff6c888e849fb5efff88cce20d2265ba5c8161605cbf87d1759851f9e4703720dd0ac339ec129985d4b0e WHIRLPOOL 7389d6adbaed5731d4f58fa6e1c3e58c65b326329c91a40ab75d50d8c5dc3c18f04aa90d30ff04bd9db90ed94079cd7efcef600bb4e000595446722bdfbf642d
+DIST linux-2.4.36.tar.xz 25535188 SHA256 7850a814e5be336214b9e4b68cfcf3d03c8061b4d7b9926aac65b968435fcfbd SHA512 e203ceebf97bd4228bb680ded39d6ebc801dd77eb82bafc63802e548849f5922b5c80462ba7e0564c04d40cc777414c2cefe57d3c0024b811277d6c2dddd38d2 WHIRLPOOL ba1452d09e97a52ff2b9003a46680beba399ac6d77f690c1b19c262903018f7933b8d048106a2cd1a626c1293e4a515651ca2608365f73d14befc8faf45f7090
+DIST patch-2.4.33.3.xz 5796 SHA256 89fe1dbf5cb9513b73f9825328765c342f6054186f0b41c08b8612a6a4ad7a90 SHA512 9f6b9118f4888b34b7b20ba0d6c9ffaba547dea0f7cc93019117ad94411d9008e5513367e7da23a19e347f63ef823a493972850edd69b140d528454fa65124c9 WHIRLPOOL 75a06efb368fe5268fc0e6a625a4144dacf0e4ad3d4b6a4128e6e483dd809d294f406d96314b60138365d35397799f3d2c507f3e4eefdce17f7732eac565e55f
+EBUILD linux-headers-2.4.33.3.ebuild 480 SHA256 eaf3ba7ba04f5d4a25dd72291befc9b6341dc7ecacf1eb808fffef20b67880b3 SHA512 8af6fc6da84bc79bea2e4041916b60aca7110b688a92ae9e939c8cf02fe2b9d8eb9d357eca5836f6228301dd9de18fd11982d0ab62a39e283aca3266b42651f4 WHIRLPOOL e5b7cfba46fe66eff4a051a8787553356063e0fbab23bccad88c7df6972c2fb5c1f1e0b853f989712dae303c5c8b2649485d03d881a0e62559def5186901937c
+EBUILD linux-headers-2.4.36.ebuild 493 SHA256 02aef1de02442b62b333dca0cbe1f002cc0da29120992d832efcc75050fa960e SHA512 da4401bdf900016338a0260dfec92df789ae808059395a1e966a3883f22829c24730a483aa4677480a99c6a6c8f7645370fb1fb3d68767ba6881f8bffb025ea0 WHIRLPOOL 69a4e75cc29c23f3ee82839cadcd8b71e4d74a578a7e17830c34b693f35b7a7e5b708532e9875e920ba04e40463017940df5813916251f264c2e2bc9ab1bee0b
+EBUILD linux-headers-3.18.ebuild 1444 SHA256 07648e4b604122c3862951c08fd0e4dde1a9027a57cfde68d074e95993bc49ba SHA512 05019c1be0f6fd697d677421fe2358690cd06dc51496a9ea9e998b5c6f8b438c5e4aef7cba702bf457a6f95951f8e8583504fe06d1abc8f6483131b7ae032143 WHIRLPOOL 29e0351a3691b25b55272bb52489fdcfee6d183dc1a23400d00d4aa175282120a35247ea94f60dd217dfd531533bb3f4d8a653e80fbe4198c79e2995d613739f
+EBUILD linux-headers-4.10.ebuild 1531 SHA256 4b77dcc8025530f7581e2aa47e34ecf59de75d69285d637a14b0f271d96d1261 SHA512 045e009b6dac4d4799a4e70ef5dd66eb1ac5df830ac6e7c94c6a3e41a39daa20805c25f9bcff2667e3db1be7b3c7936d755d274c926cdd0a64a24ac554f82ed6 WHIRLPOOL e6781872839a5e78d79b3cf02506d8c665eed4d1fad9713c61342826d3baf2ce4e3c963cfc67277c1958bc8240764f3e23ea5d58b087deb1e0a4f90115467f49
+EBUILD linux-headers-4.11.ebuild 1531 SHA256 4b77dcc8025530f7581e2aa47e34ecf59de75d69285d637a14b0f271d96d1261 SHA512 045e009b6dac4d4799a4e70ef5dd66eb1ac5df830ac6e7c94c6a3e41a39daa20805c25f9bcff2667e3db1be7b3c7936d755d274c926cdd0a64a24ac554f82ed6 WHIRLPOOL e6781872839a5e78d79b3cf02506d8c665eed4d1fad9713c61342826d3baf2ce4e3c963cfc67277c1958bc8240764f3e23ea5d58b087deb1e0a4f90115467f49
+EBUILD linux-headers-4.12.ebuild 1531 SHA256 4b77dcc8025530f7581e2aa47e34ecf59de75d69285d637a14b0f271d96d1261 SHA512 045e009b6dac4d4799a4e70ef5dd66eb1ac5df830ac6e7c94c6a3e41a39daa20805c25f9bcff2667e3db1be7b3c7936d755d274c926cdd0a64a24ac554f82ed6 WHIRLPOOL e6781872839a5e78d79b3cf02506d8c665eed4d1fad9713c61342826d3baf2ce4e3c963cfc67277c1958bc8240764f3e23ea5d58b087deb1e0a4f90115467f49
+EBUILD linux-headers-4.13.ebuild 1531 SHA256 4b77dcc8025530f7581e2aa47e34ecf59de75d69285d637a14b0f271d96d1261 SHA512 045e009b6dac4d4799a4e70ef5dd66eb1ac5df830ac6e7c94c6a3e41a39daa20805c25f9bcff2667e3db1be7b3c7936d755d274c926cdd0a64a24ac554f82ed6 WHIRLPOOL e6781872839a5e78d79b3cf02506d8c665eed4d1fad9713c61342826d3baf2ce4e3c963cfc67277c1958bc8240764f3e23ea5d58b087deb1e0a4f90115467f49
+EBUILD linux-headers-4.3.ebuild 1518 SHA256 c5561968f88ad8ce5cda62b19f10a5830411f24310389190de87d86f7e95898d SHA512 a66be101c58288eacb28d46397a6f22c01b87b59057c527fc4716bc71f7b2ec657548293de60665bc4bbb7da14ada8270964a0f6e46ca5b349c73c4e446b2fcb WHIRLPOOL 2bb000a204ac49b05aa03fd72e796691cc7e9e33ac9b7e926f23ed75f11f16f4ae83133835a936d837ec99394db33aaf96961782326effbb67914bb11cc7f900
+EBUILD linux-headers-4.4.ebuild 1518 SHA256 fb14d065172604bcd9d192ec47717f752271c64beac3e95cbe6216d4a96a4ae2 SHA512 f4476f0cd952626fecdf8d13b28f33ad44bc9839d0918306af9dff1a97a65eee730421c906df5ea1f77be143be5deefbd23c985b135b330c15dc3188383015e0 WHIRLPOOL 90cf81dbd8846604fa71287cb8860290d6a4d8f8e2c6fbe2bf54bb0f5088f6e88961fbe0e5d99df1e3ac81026e5a2bc1026fab135f91910efb0481d8df5ac8b2
+EBUILD linux-headers-4.5.ebuild 1531 SHA256 2692ed33e47fc7469d465a3481429b0dbb17153bd4ab4164e2f5857d0a97959c SHA512 6091536741945da0931f82d6147f19d9314da715a6cddc6f11ab18cc59f54642a45b8f477f18701a99c168ddedc726ade8405433b96609e84d4742cf6f377c20 WHIRLPOOL f4b16762983a0c461912c70e6f066a59a2ddf165ec55913eef2b6489d8375f18c1ab4d3fb06cba620f0861c8d6f6de7cb97a5076b0dfed34867f0c6660979ec6
+EBUILD linux-headers-4.6.ebuild 1531 SHA256 2692ed33e47fc7469d465a3481429b0dbb17153bd4ab4164e2f5857d0a97959c SHA512 6091536741945da0931f82d6147f19d9314da715a6cddc6f11ab18cc59f54642a45b8f477f18701a99c168ddedc726ade8405433b96609e84d4742cf6f377c20 WHIRLPOOL f4b16762983a0c461912c70e6f066a59a2ddf165ec55913eef2b6489d8375f18c1ab4d3fb06cba620f0861c8d6f6de7cb97a5076b0dfed34867f0c6660979ec6
+EBUILD linux-headers-4.7.ebuild 1531 SHA256 8cf316846cb5a1203712e563366273496d9050e672997b7e5144fb60ffac8b33 SHA512 bf62eddd1212635ccb858daf4f1fb54ccc06a053f05cdb86b5a11b2952946e5342ec9a07a85e6b78b041dbd126259655a17344a531a3d30e6939b4740452a60b WHIRLPOOL b57e1bc3f17976f59b3fefbff3c68e4617255443c58382c4c363055911be2fe89686344657467b3d4f465cdd63345426b8f5cdb54c7b93e821f2bb9698a172d0
+EBUILD linux-headers-4.8.ebuild 1531 SHA256 8cf316846cb5a1203712e563366273496d9050e672997b7e5144fb60ffac8b33 SHA512 bf62eddd1212635ccb858daf4f1fb54ccc06a053f05cdb86b5a11b2952946e5342ec9a07a85e6b78b041dbd126259655a17344a531a3d30e6939b4740452a60b WHIRLPOOL b57e1bc3f17976f59b3fefbff3c68e4617255443c58382c4c363055911be2fe89686344657467b3d4f465cdd63345426b8f5cdb54c7b93e821f2bb9698a172d0
+EBUILD linux-headers-4.9.ebuild 1531 SHA256 8cf316846cb5a1203712e563366273496d9050e672997b7e5144fb60ffac8b33 SHA512 bf62eddd1212635ccb858daf4f1fb54ccc06a053f05cdb86b5a11b2952946e5342ec9a07a85e6b78b041dbd126259655a17344a531a3d30e6939b4740452a60b WHIRLPOOL b57e1bc3f17976f59b3fefbff3c68e4617255443c58382c4c363055911be2fe89686344657467b3d4f465cdd63345426b8f5cdb54c7b93e821f2bb9698a172d0
+MISC ChangeLog 7827 SHA256 27a1e3b367050400e77c8fe3d77582b86de0d4cf7b1fbbcc96dce98c76af7676 SHA512 46a38291d9e9d2903733c4dcbd1d19c322bb48ef122ccc880c90eea4c08d5e499d42c3d5b1cb3a83df8dd6e47b1fe75973d90f5e993e1c00ff2ae770200ff65c WHIRLPOOL 819d40e8977ec6030b6cc6853cdf67dc5d830884e18e31e931a6015b374104ccac7a98d4fd28deed13febb267639ef71f0d10b6367d6093205fe14cd23fb8377
+MISC ChangeLog-2015 68570 SHA256 0f8cd65f585f105f0eb0af5f2f1e24c8ce05047dc77772f0c2cdb6912e0832ae SHA512 633b51abce5a8afd460fb79bec7b31320a84f9e2254fd59e0a3089d7a2e190518eb17313cdede07dadefea41a4c7bf16dd3e2a969ce57714fed9dd548dbeae7f WHIRLPOOL 70235911075969031991ddd248c0311ff28772acbd251fa1bfa25ae48aff2f4d336eb1ffad245de29bc9fe00b3c27ee2af58bdc77c1b0321c827729efc914e03
+MISC metadata.xml 344 SHA256 9a1be7c7cda2e8f30ea65c0abc9b3663e8efecd6d8d383b28a55de2ff7071d10 SHA512 4dfc3a4130e5ae01c17510c693c4f2bd81fb019cf003e866c7f359213b58c6e36ed59699d6a458464e1dabd73c8f4a24eada8ced06d7ac513ec3553c0179f164 WHIRLPOOL df2e1ce9fe16c663dca50b97b9e8f3c80ada9b8feceb9381ca256a052f1c7176c56439ca61c5d734e22d04386c8efd9462758d2aa1f12d24a73425b9f1a6a6dc
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild
new file mode 100644
index 000000000000..0f73d70ba1a0
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arm m68k ppc sh sparc x86"
+inherit eutils kernel-2
+detect_version
+
+PATCHES_V="1"
+
+SRC_URI="${KERNEL_URI} mirror://gentoo/gentoo-headers-${OKV}-${PATCHES_V}.tar.bz2"
+
+KEYWORDS="-* alpha -amd64 arm hppa ia64 m68k -mips ppc ppc64 s390 sh sparc x86"
+
+UNIPATCH_LIST="${DISTDIR}/gentoo-headers-${OKV}-${PATCHES_V}.tar.bz2"
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild
new file mode 100644
index 000000000000..64ad5aeb796d
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.4.36.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arm m68k ppc sh sparc x86"
+inherit eutils kernel-2
+detect_version
+
+PATCHES_V="1"
+
+SRC_URI="${KERNEL_URI} mirror://gentoo/gentoo-headers-${OKV}-${PATCHES_V}.tar.lzma"
+
+KEYWORDS="-* ~alpha -amd64 ~arm ~hppa ~ia64 ~m68k -mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+UNIPATCH_LIST="${DISTDIR}/gentoo-headers-${OKV}-${PATCHES_V}.tar.lzma"
diff --git a/sys-kernel/linux-headers/linux-headers-3.18.ebuild b/sys-kernel/linux-headers/linux-headers-3.18.ebuild
new file mode 100644
index 000000000000..50b16b6cb2a9
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-3.18.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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
+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}"
+
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+
+ # provided by libdrm (for now?)
+ rm -rf "${ED}"/$(kernel_header_destdir)/drm
+}
+
+src_test() {
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.10.ebuild b/sys-kernel/linux-headers/linux-headers-4.10.ebuild
new file mode 100644
index 000000000000..bdd75e6655cb
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.10.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.11.ebuild b/sys-kernel/linux-headers/linux-headers-4.11.ebuild
new file mode 100644
index 000000000000..bdd75e6655cb
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.12.ebuild b/sys-kernel/linux-headers/linux-headers-4.12.ebuild
new file mode 100644
index 000000000000..bdd75e6655cb
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.13.ebuild b/sys-kernel/linux-headers/linux-headers-4.13.ebuild
new file mode 100644
index 000000000000..bdd75e6655cb
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.3.ebuild b/sys-kernel/linux-headers/linux-headers-4.3.ebuild
new file mode 100644
index 000000000000..97a2fbaee8bf
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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
+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}"
+
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.4.ebuild b/sys-kernel/linux-headers/linux-headers-4.4.ebuild
new file mode 100644
index 000000000000..5017dc383b94
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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
+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}"
+
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.5.ebuild b/sys-kernel/linux-headers/linux-headers-4.5.ebuild
new file mode 100644
index 000000000000..524b5db2f5c4
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.6.ebuild b/sys-kernel/linux-headers/linux-headers-4.6.ebuild
new file mode 100644
index 000000000000..524b5db2f5c4
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.7.ebuild b/sys-kernel/linux-headers/linux-headers-4.7.ebuild
new file mode 100644
index 000000000000..5ab97f18cc36
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.8.ebuild b/sys-kernel/linux-headers/linux-headers-4.8.ebuild
new file mode 100644
index 000000000000..5ab97f18cc36
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/linux-headers-4.9.ebuild b/sys-kernel/linux-headers/linux-headers-4.9.ebuild
new file mode 100644
index 000000000000..5ab97f18cc36
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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
+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}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/metadata.xml b/sys-kernel/linux-headers/metadata.xml
new file mode 100644
index 000000000000..fcf3f047e8b4
--- /dev/null
+++ b/sys-kernel/linux-headers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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/metadata.xml b/sys-kernel/metadata.xml
new file mode 100644
index 000000000000..16c8a6d318c6
--- /dev/null
+++ b/sys-kernel/metadata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://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
new file mode 100644
index 000000000000..311645215ebf
--- /dev/null
+++ b/sys-kernel/mips-sources/Manifest
@@ -0,0 +1,33 @@
+DIST linux-4.10.tar.xz 94231404 SHA256 3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b SHA512 c3690125a8402df638095bd98a613fcf1a257b81de7611c84711d315cd11e2634ab4636302b3742aedf1e3ba9ce0fea53fe8c7d48e37865d8ee5db3565220d90 WHIRLPOOL 86d021bae2dbfc4ef80c22d9e886bed4fbd9476473a2851d7beaf8ed0c7f7fbc1fa0da230eb9e763eb231b7c164c17b2a73fd336ab233543f57be280d6173738
+DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886
+DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+DIST mips-sources-4.10.0-patches-v1.tar.xz 168284 SHA256 595bd856d82c68f90a748f4ab9ba3d49265b8478589b8008f3c92663a9f76ac0 SHA512 2286b895b6705fc7411e6685c1ac7fba457e69c883e6e3f9f129c1b30537bdadc394bddcf3d81670ed3846427076e7574725d92169ba7413834807e5f519bced WHIRLPOOL a275e6d43f2487fabfc2b3de071b08f8a037460a17bd8b8da10ef58ceccabc46634cde82bcd9681c4a4a687fccb9d3bdbfd2390cd11589d88b86774405adad93
+DIST mips-sources-4.11.0-patches-v1.tar.xz 169588 SHA256 103888b76ec66ca075a3b3d79ad5e5a23ca5f0c14ea7162ea3b87c7a35a2a1b2 SHA512 de3a46f6279689155064c8f3232b34bc453b2ac14fe816276b45c492d1aecb56106763b76a445545521008ce32eb9d243213b1373900a6ea4579392b43b9303c WHIRLPOOL 1dd1c26f8b4cea5d67d70495784b2725f7903ca88590bf6a8cea489112a73c5d48572c0f04ea205c975106e33b21d1929586316a94a5809655f37f4dd09d20ad
+DIST mips-sources-4.12.0-patches-v1.tar.xz 169476 SHA256 4f7c2ce12fae2314a8015e82369bc5fbbb8a907e32819ea8c06dbde952563e95 SHA512 8c2dc743ceee4b6d57c0039f42c71212de836102f9ae23b4dfdf815e21bf2af4cad4382cc767d0eef091467c8a9a2d06ef3cbd47486e81d3d09f63728958ab93 WHIRLPOOL b537e468fdeac0db1f8c9843347141d46d70ff2388fea5168dafe356fa8589e0c840fcf45392097ab87e666b9bf442fbf3831a74a5f6288c4424672e65842d08
+DIST mips-sources-4.4.0-patches-v2.tar.xz 156396 SHA256 7aa6ab5628c9094b2aab39e47a102ad6d9c021c6bd8e9dfc6cddece8fc8baaca SHA512 4186ee382037ec32126976ba453f78fc80c627a4ebdd79d8462f12559eb06dce25f926f3c205c7c4e5032cb501942ee10c8cb3a17339352cec3cf565c669dd52 WHIRLPOOL 86aba7143b3c38f34db0a68fc889d83676f6006eab594b89c13ea5d5abfd02ef64056472ad194aafbe15a86033c171e1fd06c0c7ffd6542cec19e553d7d6a716
+DIST mips-sources-4.8.0-patches-v1.tar.xz 218452 SHA256 4322e03fe7bb383cb6a9ab0e93ae8bc06b6911c6f2441baa3341dc2df5428e1f SHA512 ff4e1ab26f085b4d64bcb8410dd0478debb2a92c24e70bb11d460bf69b5e61a17f7116913e1a71cd7e89ea15a6a5d52118cefc15e918b9155a9780069271c907 WHIRLPOOL 5445d05a5a3b7e8cb24d09cef62317a87add0bb22f65719fdae8cc35459ac89819002b6d16d72041e28ba8cde11871a8badedc027103cc5dddc0581169441cc8
+DIST mips-sources-4.9.0-patches-v1.tar.xz 233620 SHA256 62064b9c02145af55968c1f2361c6bdbcd3ebfd8ce87517567877fafa89938c4 SHA512 d786705277e1837f725c7b5a239a19744a7bdf8767c0ee75613270eb9592aeaee1cd0c6f05edb67abf93597d0f5c6fc3826d76847cd6b2aaa6cb21256720d19f WHIRLPOOL d1fd287bc58f5fab14f45001905210aca852a44c7f1775dd0f64d599eed3a4837b0d30f20921ffe8b44279c74aa2a7d87d4095ccfbbeed4953597a641fa4023a
+DIST mipsgit-4.10.0-20170314.diff.xz 1816 SHA256 d6c54ad335bf547266e1c0ae13090eb9fa31109262ae1b0e81b195cff641231c SHA512 3dabcd65da143c20b553a2b79687e8cde5521b61d9bf64a8d583ada72f4835baa8dd5d1bef9ed3334466b6fb2f4397a0ee8a0fa3b642985348a61363b45ef435 WHIRLPOOL 1e1a4de11c9245ccf320486e05b89cf19ffb0fcce51a679969b0a72e974d77cd830a7810c2d56f4af9f485b661b4bc1248436fe18173cf50a46a37ebd7dd3bc8
+DIST mipsgit-4.11.0-20170513.diff.xz 1560 SHA256 1ebf0a9ecdb4cb35f1931f3985142ea1d93d462ba5115ababc11af26654531fa SHA512 6adeda78012b26ebfdad577af59305756b8b090764c17e62cc988d884ab41a39e280371ccaebd9564fff4216b515b58cf4f02d529303f75e614b67e0caf84e06 WHIRLPOOL c9547fbbf1b7a18fa0a887aa85ac53a2b7b32f8192e8837594071023a12baa9550227b4f0d23318f89d978e383c35fae7b2a7bb193b48ef481504964872bc2b3
+DIST mipsgit-4.12.0-20170703.diff.xz 1128 SHA256 511b5d78c42f691b96cc69a0e7347183f9c4c3296f0d3e83282b830b5f088427 SHA512 9f811b3d039cecb024c12784d06a2f0e586443a0966d2caf73d2fbbd8cfe972b3b9aaf446f2728283fd08c1cbd9546dfa6536fd667cdc38882f1b84b61bcc333 WHIRLPOOL f7cf0d8e10386b250a1c546432d942ecffda13558566dd0a48b81fb492aceab42b189e26da4dc6b4ddf1b0a9ab7faf4be6fb974b3100bf8c64c9e020d2afe885
+DIST mipsgit-4.4.0-20160123.diff.xz 1908 SHA256 71ada981970c6271765fc4cb45af1899fdc32419b5493802ff3af8febd211fe3 SHA512 0086c470064dd4e5c2fefd8161b70200475659fe925e68d374ff139b506147c39163f366be689bbb92a9aaf72e8c58cdaaaff5def6718c5e87ff7e047551a1f8 WHIRLPOOL 973bc1f626566dc13be8bd315b1339ddecda2008ef829258b8d82b1220d146115960f11808970e34299a9bdffa2e08e4e730bde4cbd3d49a1850c386ac90e9e3
+DIST mipsgit-4.8.0-20161016.diff.xz 1932 SHA256 ad0ba84c2710cfc07c7a215a435d5aa89dd477172577c4d6bbecc2195208e9ec SHA512 578792e7ce7a5c25e6acccc442ada9b829cec9d113390e5aa705359d1bf6b1d67fb6ce761eac418d411fdaf3312b04c4cbaee17d0127ef69d6c1f4a1467f75cd WHIRLPOOL 9382d87f0d71754272a1fa06eff1c4d413aa4554b903e138f5001456b7817e6780d744e82fee8681310852b864fc7b2fa7143d9303f7c728f769bcbe481c2fe5
+DIST mipsgit-4.9.0-20161216.diff.xz 1120 SHA256 a1176dfc87dca9313e8eacf193c549ecee469810644f781c7d3b256da6d9237d SHA512 d1d8d95661d349826e2978d2259df9e30dbd6779a6506fe769dd8e60699e8461920b290a2064a432b8c3bd95888854f4dbcc2ba40929c58f0dd165fcb7894e15 WHIRLPOOL 11a2f9ff130258077a0f59ccd516c8055f3091453ab2f556047cbfd75dfbf28dcd569b49a7b076ada98fa969752ebcd8f2424993be8c31fd8f40b40859366009
+DIST patch-4.10.17.xz 347932 SHA256 5d6b91751fb0ec2b0fd8c30ceb792f0f90ea665fe5967345aeaa64c8bfeb19ba SHA512 98700d32b4787eae26bdece45563c171b6b8af43a1a15cf5674530fa5cd1dd47fced054b740b568a4a7a1fdbe1b10cdb8126ef43dc92551e06dc4d3245b2fb56 WHIRLPOOL 1c7e2a3ac4b96672a1983ba6b5c4ab200fad173ac9e111ffe6151bcaec2e0f3cf5fc84b59606d247b4774f918014d6de8c41d21624c99af952a8c7f913f0c748
+DIST patch-4.11.12.xz 298784 SHA256 707c5f18dfb795761b0b7ac6f946f03774f9f99317306fd54d8724d17d9c7729 SHA512 ee9c5ac45896d84739c679834fcd15dfc46f9e939dcefd54ba049ac47168d71f0af680153615de002a2073ba79e44a9214f74af17ed16aa97d85e6df157fc6e8 WHIRLPOOL 4967292c175128adbd8a33f25a3cd1fdc94605ae0fda2b108105e740ddff48cc7bb08c44dd669562fb33056398a8eeadf396cc682305c7ee0a34fe5adee61f90
+DIST patch-4.12.4.xz 98592 SHA256 7cabddeaba0f9bd85278254ddd6e8af883539df70ec0ed1bda18ce83f57b304a SHA512 8a6b72524050733c166524230d85f808275a65c28f06444350ebb8c64dd4cab666f8629ef1d1d2b6c25c1f36820a1fd114510af5a38509df55f9c3071543e647 WHIRLPOOL 46d6e9dd62209fd8b1a3b1dfa9d97f15598e88f4ff4ce3126252fe2e8b108061a50772a9deb752cf06d839eeca4b089a893d666f9ef3e2f576b2f1b795af6656
+DIST patch-4.4.79.xz 1274180 SHA256 2ccbfef63ccdf75c859c2ced2e15bc2ad363ce5dc1591ea61d7de0d49c26e1b6 SHA512 a69f937a3a80949db1cf16b547d162b9c83d55f79f3119e59973a94d7e7b914555833beeae5cd165ea1e9ebb6a896352b38fc9ed0675a364dbc32fa165a62026 WHIRLPOOL 8fefb7325e5e892d473e7f1dddd9fc895b739bdc49819ef7dfae421b93c07143d31c4ea8637859b91788c93b07696999d46aaed2ad96fff20bd4df2bd35c2ecb
+DIST patch-4.8.17.xz 320288 SHA256 1e4be6f6a8eab3edcd0899db382fe1a9330320c603a9ad2c32ebb1dc6f53b3db SHA512 df239d990077cdf697fd487b4b8abb97fe442ac9fac4ed2e90c626560fc15058363310cf40580fd000d4ad55198486594a608544ce9c2bcaf03704415aa45441 WHIRLPOOL 401c8ee9f41b78b355ab76f1f0ed25b53855f641e0c27c07461e82af4e322fe958f73ef3cce6d074de2a6be550c8c8615a0a53187f3f9d17c8bd8b928d3a6051
+DIST patch-4.9.40.xz 855780 SHA256 8e85a7e9de8fcc2f06f8539b743de30e2ba1f5b9e6784da0701c3ab2b896f019 SHA512 ab9c26493069f87a9d8c6c97db1a84f03a1b1221f47facc68e65d79ef75d9c7bd93c1f39eee334e4f45381b2c84ff3acb8870478c61c4d8a648984db55be5ad3 WHIRLPOOL af5c9e1eff3f3e58848c1af5177d9f5d9abdf0ca5af78518ec4173ad6459a93e417bbde52c395c69d03d217de2fd98ae96eb1966d4002beb33ea56a11f4f95c2
+EBUILD mips-sources-4.10.17.ebuild 13149 SHA256 d6fd6d60cef0b95ffe1a59434428388556ac618223bb4561df5ac340751e7ecb SHA512 29001b7ceb0cec6e1047fd88fb6fa862f024b602691da44f48e39d72a7d784fa052ccf264d419e47ac647795339c5d7913d3480634ca4ac9a2f4397add1e5835 WHIRLPOOL a7f84417d5690edfe7d6012a705a442675815e0db41723da9fbe47594c0525f9bfcea711cd3c17c3131af5a1d51719587a462b6e97f5654dcb61cc026082467b
+EBUILD mips-sources-4.11.12.ebuild 13150 SHA256 dead40d10a86ae0b4bff06a216ce3a423d5e03eda76837d19e375cb8377cb9e5 SHA512 36598a045242c3471cc197050b472cd2cee553fb4498ea27739a2f5b140d32112b34ad95af1fc6e7c81983517974f9621ae3b152c04c2fd35032f663c4c87fc9 WHIRLPOOL 36d00c1ef1396e57a1cc98c3979ef1b249ca28ed06eecb740e0649aeb25492afb83c5e78d80068a3a1c515b66fc0ffbf55ec36d65db2c3e3adf7d80aa2e28815
+EBUILD mips-sources-4.12.4.ebuild 13150 SHA256 94eaa850d6547372a37c73b2c6767aaffe79f098d1bec1bc74b3940d58b1c754 SHA512 19abb9dba00896335f9bbe8b6dd00d32f39266918e482a78faaa1b101c25d54129998a6993f8f44081d86ff4b98cfb35b7b247d10ede95061b7b663296d56983 WHIRLPOOL dc66b7d9dbd7560f82c8fa321f2d53af8b69750a6471136e99d34e5fe563a8c95a0e9909b02d7fddc9523586ee021f7b98a76c71127aa21a1dc50206d4da78a6
+EBUILD mips-sources-4.4.79.ebuild 13243 SHA256 91dafa192ed5e40500d06e149cff833d24ab13421b528e0e31dc29319f0cc879 SHA512 d0b1a6416369d2770048c96cda0f27b58024d47acb7b8d3e26dea5e99ceed7391d8aac2fcd06db45053bc2a2bbb5ec397abf7fe9219d022ea9504bde19f8acd7 WHIRLPOOL 5596c93fd1ab6e606f0997c4c96555082db0bc95ed10a1792b3790c78992273751628492506d2dfbe14af34d87b0862ac7e6f5a44f8e46512d41c4f3b21771eb
+EBUILD mips-sources-4.8.17.ebuild 13243 SHA256 89acb5b323f94d48297a697982d9b93bdabc9d0b9162b4f4cc3f64ca0e3eac58 SHA512 6357e0a38de55704b7e9439725085cf252a73f10355e737c7035be66ae70b3764dae00d7aec5960391eab4d8eeec536805a10ad6bef59db777fa9204e186415a WHIRLPOOL 53ca419679e6fb39f483b57edbe3ed8c971ebbf6f9513a5cfa35a2dc4e856b85d789d4c884cff7d8441e7d38d77f9af2f568ab30f8f16cb0976892c590faf8de
+EBUILD mips-sources-4.9.40.ebuild 13145 SHA256 374635eb45c7fdd9c778d2d0c48718e5c28bd57c8b75ddeecb437fdb40e6dc6c SHA512 fabaf8cb3c5e1429561c04c77a8e0dc1e5e69a5777f78b373353ecfc843cb8be78dad16842cf584a6906adbf8b2b908c036f885f568186636997d0d06592a6d6 WHIRLPOOL d23e80350975cb6934961a59434a3ac566ca11db93d47c46ade571c7c922e0d2f44b5b6984b53ff8720f114d0a283fadc6dfe303bc3e5d25e40aa7f3fdd8048c
+MISC ChangeLog 5903 SHA256 5b06c855508dedaf8c77e738225cd6333843783bf8099bff323c568d90681174 SHA512 43b80f156a8832f05619d73114b0a2f8534ddfc8a70e7aeb9be606e84365a074a6e047d560bcf95bf07391f7d954f5ee5c48fd471147315e8d90a3376f20a0fe WHIRLPOOL c58342b6288e589d57a6edef9fe65603504b5afbce52d3002f196a300f5093601f497ebbe7b068760fd61f6cb10ed765d9ce3efd851115a3282ba5d6fa31ec7c
+MISC ChangeLog-2015 59717 SHA256 2e41c47586dbee3a1f94a9640d7a6eb4aedecd8ff06e9fd452f2fc84eba3b3ec SHA512 52e69d4a7b9983b866a2fdcc6e79f9158edf70f21503bfa9e76f43dd889bea7bd38deeaf364320a1dabd0e75ace8b2a0e40d6201f382659bfe1be739de76e7cf WHIRLPOOL a177bb9d59d342c3401eeaf4ab11e7555b8adebea20d02365dca0dc71dbeae3f667317db08cc8a0622d67756431ddbf8f0a0ecb6b95300092d7824683827dfb0
+MISC metadata.xml 791 SHA256 19870dbb2eaceef42f679eb34450bda125e1c309c38fa6afccb1d3a71242ee97 SHA512 8a8f75a760d1ca13dc53038271236e16801136db499d52f97cedf0120077d06870750f51440f5cf765bbc8bc1cbc8745b354f467c582e219c58be3e700ee29cf WHIRLPOOL d63a33168fd1ed748458fe16a971bc51de6ec26d66c4726c7e12a37cd71d485b31d9d149cf893007686e66969afe56bb2d60cd53d6449cd1594c4ecae92ea1b5
diff --git a/sys-kernel/mips-sources/metadata.xml b/sys-kernel/mips-sources/metadata.xml
new file mode 100644
index 000000000000..eaa2cd0d9435
--- /dev/null
+++ b/sys-kernel/mips-sources/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>mips@gentoo.org</email>
+ <name>Mips Team</name>
+ </maintainer>
+
+ <longdescription>
+ mips-sources are git snapshots from the linux-mips.org git server for MIPS-Based machines
+ </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>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/mips-sources/mips-sources-4.10.17.ebuild b/sys-kernel/mips-sources/mips-sources-4.10.17.ebuild
new file mode 100644
index 000000000000..47dcd4945846
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.10.17.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20170314" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="1" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.9"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch -p1 "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/mips-sources/mips-sources-4.11.12.ebuild b/sys-kernel/mips-sources/mips-sources-4.11.12.ebuild
new file mode 100644
index 000000000000..0779ad415e0e
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.11.12.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20170513" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="1" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.10"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch -p1 "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/mips-sources/mips-sources-4.12.4.ebuild b/sys-kernel/mips-sources/mips-sources-4.12.4.ebuild
new file mode 100644
index 000000000000..109a0726cf3f
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.12.4.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20170703" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="1" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.11"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch -p1 "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/mips-sources/mips-sources-4.4.79.ebuild b/sys-kernel/mips-sources/mips-sources-4.4.79.ebuild
new file mode 100644
index 000000000000..ee4aae1d80de
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.4.79.ebuild
@@ -0,0 +1,348 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20160123" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="2" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.3"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# EPATCH Vars
+# XXX: Required to properly apply Impact/Odyssey driver patches.
+EPATCH_OPTS="-F3"
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/mips-sources/mips-sources-4.8.17.ebuild b/sys-kernel/mips-sources/mips-sources-4.8.17.ebuild
new file mode 100644
index 000000000000..724e72f9b399
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.8.17.ebuild
@@ -0,0 +1,348 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20161016" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="1" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.7"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# EPATCH Vars
+# XXX: Required to properly apply Impact/Odyssey driver patches.
+EPATCH_OPTS="-F3"
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/mips-sources/mips-sources-4.9.40.ebuild b/sys-kernel/mips-sources/mips-sources-4.9.40.ebuild
new file mode 100644
index 000000000000..36671f256fb3
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-4.9.40.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# EAPI Version
+EAPI="5"
+
+#//------------------------------------------------------------------------------
+
+# Version Data
+GITDATE="20161216" # Date of diff between kernel.org and lmo GIT
+GENPATCHREV="1" # Tarball revision for patches
+
+# Directories
+S="${WORKDIR}/linux-${OKV}-${GITDATE}"
+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.8"
+K_FROM_GIT="yes"
+ETYPE="sources"
+
+# Inherit Eclasses
+inherit kernel-2 eutils
+detect_version
+
+# Version Data
+F_KV="${PVR}"
+BASE_KV="$(get_version_component_range 1-2).0"
+[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
+
+# Portage Vars
+HOMEPAGE="https://www.linux-mips.org/ https://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="experimental ip27 ip28 ip30"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.7.0
+ >=sys-devel/patch-2.7.4"
+
+# 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
+
+DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
+ mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
+
+#//------------------------------------------------------------------------------
+
+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
+ [ ! -z "${m_use}" -a "${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"
+}
+
+pkg_postinst() {
+ # Symlink /usr/src/linux as appropriate
+ local my_ksrc="${S##*/}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && my_ksrc="${my_ksrc}.${x}"
+ done
+
+ if [ ! -e "${ROOT}usr/src/linux" ]; then
+ rm -f "${ROOT}usr/src/linux"
+ ln -sf "${my_ksrc}" "${ROOT}/usr/src/linux"
+ fi
+}
+
+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
+ # 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?
+ [ "${m_enable}" = "test" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test"
+ [ "${m_enable}" = "no" ] \
+ && err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}"
+
+ # Show relevant information about the machine
+ show_${m_ip}_info
+ fi
+ 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 "Heavy disk I/O on recent kernels may randomly trigger a VM_BUG_ON_PAGE()"
+ ewarn "in move_freepages() in mm/page_alloc.c. The exact trigger cause is"
+ ewarn "unknown at this time. Please report any oops messages from this"
+ ewarn "bug to bugs.gentoo.org (assign to mips@gentoo.org)"
+ 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.
+ local psym="patch-symlinks"
+ mkdir "${psym}"
+ cd "${psym}"
+ 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 to match the linux-mips git checkout date and
+ # machine type.
+ local fkv="${F_KV%-*}"
+ local v="${fkv}-${GITDATE}"
+ for x in {ip27,ip28,ip30}; do
+ use ${x} && v="${v}.${x}" && break
+ done
+ mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die
+ S="${WORKDIR}/linux-${v}"
+
+ # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
+ EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
+ unpack_set_extraversion
+}
+
+src_prepare() {
+ local psym="patch-symlinks"
+
+ # Now go into the kernel source and patch it.
+ cd "${S}"
+ epatch "${WORKDIR}/${psym}"/*.patch
+}
+
+#//------------------------------------------------------------------------------
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
new file mode 100644
index 000000000000..cfa5dbb34c6a
--- /dev/null
+++ b/sys-kernel/pf-sources/Manifest
@@ -0,0 +1,24 @@
+AUX 2100_proc-mem-handling-fix.patch 6683 SHA256 4936c8c83bbcdccdecb65ecd4da7fb405fe78786faea8efe3741f462dd9e19c6 SHA512 4746b1706cbd1fc2066b3b4a4cdcced65c65072f93f7e8d711841fb49c670455b17fbd6d74f4c7b33f5a75cb36dee503f48a68bc0d99c01d135876b035ad0bcc WHIRLPOOL e7581c0ea944b49f3983e31f2e843d6ceabcde34eed390fcc2569294b685fd75f32cc65e25462acb9376d69640af3d10badb4738ae62b27c89354855666c7e29
+DIST linux-4.10.tar.xz 94231404 SHA256 3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b SHA512 c3690125a8402df638095bd98a613fcf1a257b81de7611c84711d315cd11e2634ab4636302b3742aedf1e3ba9ce0fea53fe8c7d48e37865d8ee5db3565220d90 WHIRLPOOL 86d021bae2dbfc4ef80c22d9e886bed4fbd9476473a2851d7beaf8ed0c7f7fbc1fa0da230eb9e763eb231b7c164c17b2a73fd336ab233543f57be280d6173738
+DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886
+DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.5.tar.xz 88375040 SHA256 a40defb401e01b37d6b8c8ad5c1bbab665be6ac6310cdeed59950c96b31a519c SHA512 cb0d5f30baff37dfea40fbc1119a1482182f95858c883e019ee3f81055c8efbdb9dba7dfc02ebcc4216db38f03ece58688e69efc0fce1dade359af30bd5426de WHIRLPOOL 8faa0b02c5733fc45dbe61f82a7022e9246b9b1665f27541d4afa5d14c310b9dce7a8532dfac8273898edf8c6923654ee2fbcf2cec1ec2a220f4c9f926f2b333
+DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5
+DIST patch-4.10-pf3.xz 326024 SHA256 d38323bb91b6f2b04d1d51247bbfbab57daabc22ad71c0e195f688679db2f7e6 SHA512 f5cf7cad04500574f0a4b06df939d9ff685c038d0116e43b6828c72279a09c793fa6a41c662c7ccef1cc201511d00dab57d27e54292880282dd830aeea5c21c6 WHIRLPOOL d843429160afe36aedb50e7e0ae5522bea3546a2df9fa00a754d5e3423ef3c70b352c793c8898c7489c78af4e9050d26bb5eb7453fe326185d8f3faf1e5e1ee2
+DIST patch-4.11-pf3.xz 206568 SHA256 54ac2cd29f7ecd2a4118100303a959dd2ec415bddbbc56f0072ae6fed71f42cc SHA512 f312cbfc15382cdec02cd9fcca6610c33b33a73e2d468d83aa76be85453250e2788355ebd2694a9fa784068c529b51d0692d0db2b68ab7d855e341c924489038 WHIRLPOOL aca27cfeeac771b4f1c95574d90ef25a3033720c4360c82939515318dd9379833ba82e5be9c91add8cdbdaa1ae332ab6dfaff9137e834802a2dbd2f68f7a1413
+DIST patch-4.11-pf4.xz 265664 SHA256 51b4797a9ea511d1db7c7495a552cdf489a8f18413f9cbc4db705c3e93d7c259 SHA512 d5542663ea8748d3b3bb33fb59a14da018f1b3083003608b7df9253e7778fd5064e5cd090dbe9d5123c7d3051ddd29e40a93525d07542d071c4da6c4b6b6fcd1 WHIRLPOOL 2325985c3e41827b5695af78e91e81ee628c10e78ffd0c24f5bb71f1109aa3a0d688b17d1de76b1a88cff77a1e1df3182cc6845586f9a845434d21cc021c0f8e
+DIST patch-4.13-pf4.xz 173732 SHA256 4799ea1a3e459d68dca72ade5bf4fd16c3f383826f7b4846a1397f3eb8436a06 SHA512 6b6fdbb26ec1053c0b3fb0223b2e1cbfb28d88b172ffa8d110a5e7a37f3b0bf377d5957d47007c3468dc42b8c33aad1acbc89c44027c8f7326dcbf940d7de88f WHIRLPOOL 1d37fa8c9a19f47c310dbac246b5f47395d96ed813bf9c618d101d77ab046aacd090c569616730e16c91f243458b1b55b424c9ffa8927e4d90cd6c6800d252c2
+DIST patch-4.4-pf8.xz 507920 SHA256 8c416ec05bbb1faf0730a805c44dc508e8892bbe43c7046000373f2d618dc94d SHA512 bb417517c88eac7e1b93af8cf635708f0820b13de431039f91577db53dbaca961466c86777c67e61e3c5a7012678d8d50b537a2bddfa494a898101bc25b4c9bb WHIRLPOOL 40143e0d31e446aaf5cf299da236b2fbc6fb7bac305160301b1c19c818a65c6ac2d35e6804d3dfdad1622dfc06e286d4016644f65adf4797440e46d883101070
+DIST patch-4.5-pf4.xz 549912 SHA256 d90f4d13bcbca5903b9a70ab653ac4446938961cc7b83b053824ed6afb557898 SHA512 a94e58e67ee42229db56a5541a8969f9a627561b0fe91f72b78c71ad58187693c7ea26ed41982881110a41ee246bb93a774a173091a8e34455654113a8c110a9 WHIRLPOOL b7279ad6c0c7328bfad5803f5fe7875f9ae75f1dbe083c4828c54a8bbac81862d2179d84991d8c225aee92d7d3eae549c8c64baabe47889f3df3c85b71aca0db
+DIST patch-4.8-pf8.xz 362692 SHA256 2737a15ef112095abe5e6bf3c047d553c1ee2f6022d1414294a76212cf967108 SHA512 838556878d2ad60f53d208d4399a776ce976e3f610a56b239d11b1547782dd2fc0512381ee80eb800523ad2921e3047db265ddc42fec3d326fe799ce2729739c WHIRLPOOL 23e9f07dc9af51ea46e6e18f67a37c4114d6e2caaa9ce81ab29bba3f7d5e43ce6a3d32c67fd2a8b71f4a15a418089fe4482063300960ecdd02bc246e3ca2222c
+EBUILD pf-sources-4.10_p3.ebuild 1970 SHA256 4965997e94b3e04340a03cc6c00a310201841040735f39bfe97684a773feb4dc SHA512 e9c31c053bc53aff13032b743f40fb754cc451b28abfd6297643bbd43a3ec6f5b5ceaf89808a42089174cc8ec25bd59d86cf0dceede8867cddea6bf8d6c1277d WHIRLPOOL 6f7d70a99c6fc2f5ddfa5e538fa409b6dfb3bf56644658528b274b9c4fe65097450f70a7ee730d9d31baf1c1c8e4bbec5b53be7e8ff9cfb68f1955df689933d3
+EBUILD pf-sources-4.11_p3.ebuild 1970 SHA256 4965997e94b3e04340a03cc6c00a310201841040735f39bfe97684a773feb4dc SHA512 e9c31c053bc53aff13032b743f40fb754cc451b28abfd6297643bbd43a3ec6f5b5ceaf89808a42089174cc8ec25bd59d86cf0dceede8867cddea6bf8d6c1277d WHIRLPOOL 6f7d70a99c6fc2f5ddfa5e538fa409b6dfb3bf56644658528b274b9c4fe65097450f70a7ee730d9d31baf1c1c8e4bbec5b53be7e8ff9cfb68f1955df689933d3
+EBUILD pf-sources-4.11_p4.ebuild 1970 SHA256 4965997e94b3e04340a03cc6c00a310201841040735f39bfe97684a773feb4dc SHA512 e9c31c053bc53aff13032b743f40fb754cc451b28abfd6297643bbd43a3ec6f5b5ceaf89808a42089174cc8ec25bd59d86cf0dceede8867cddea6bf8d6c1277d WHIRLPOOL 6f7d70a99c6fc2f5ddfa5e538fa409b6dfb3bf56644658528b274b9c4fe65097450f70a7ee730d9d31baf1c1c8e4bbec5b53be7e8ff9cfb68f1955df689933d3
+EBUILD pf-sources-4.13_p4.ebuild 1970 SHA256 4965997e94b3e04340a03cc6c00a310201841040735f39bfe97684a773feb4dc SHA512 e9c31c053bc53aff13032b743f40fb754cc451b28abfd6297643bbd43a3ec6f5b5ceaf89808a42089174cc8ec25bd59d86cf0dceede8867cddea6bf8d6c1277d WHIRLPOOL 6f7d70a99c6fc2f5ddfa5e538fa409b6dfb3bf56644658528b274b9c4fe65097450f70a7ee730d9d31baf1c1c8e4bbec5b53be7e8ff9cfb68f1955df689933d3
+EBUILD pf-sources-4.4_p8.ebuild 1970 SHA256 6c353b953811fa214148650f50d681fe3f548b7b01113bb843297c0f77881227 SHA512 fa1c4bc4ccfa9b6b96413beb53da29f21d0c8563b7a289c4fc69482e6f146ba745e6fec4e978e95a0c67cb487e4a310e68e0525700e344f5ed3c778fe3043c64 WHIRLPOOL d56685aa605b98a15e133ccd50b967e03943932fb222a8dc5f05f0f6ffe24d07c66fb80f64c6eb558f87ca29929f1aa1630836c0042dcdf02c912b372655c2a6
+EBUILD pf-sources-4.5_p4.ebuild 1970 SHA256 6c353b953811fa214148650f50d681fe3f548b7b01113bb843297c0f77881227 SHA512 fa1c4bc4ccfa9b6b96413beb53da29f21d0c8563b7a289c4fc69482e6f146ba745e6fec4e978e95a0c67cb487e4a310e68e0525700e344f5ed3c778fe3043c64 WHIRLPOOL d56685aa605b98a15e133ccd50b967e03943932fb222a8dc5f05f0f6ffe24d07c66fb80f64c6eb558f87ca29929f1aa1630836c0042dcdf02c912b372655c2a6
+EBUILD pf-sources-4.8_p8.ebuild 1970 SHA256 6c353b953811fa214148650f50d681fe3f548b7b01113bb843297c0f77881227 SHA512 fa1c4bc4ccfa9b6b96413beb53da29f21d0c8563b7a289c4fc69482e6f146ba745e6fec4e978e95a0c67cb487e4a310e68e0525700e344f5ed3c778fe3043c64 WHIRLPOOL d56685aa605b98a15e133ccd50b967e03943932fb222a8dc5f05f0f6ffe24d07c66fb80f64c6eb558f87ca29929f1aa1630836c0042dcdf02c912b372655c2a6
+MISC ChangeLog 7562 SHA256 2e0194e71846c6231cd5fa61b4538a60190e26ff15103658c49771cb0e5d9549 SHA512 4ebfd000f9aa0a1bc483992413d840c3efe8ac56bf147df6d719219c02efcf00a56e4199d01234f0dd6ac384a9d1e1d39ab09e3bae7bc599ebcaa4b87d29a892 WHIRLPOOL cb4e546533c30333cdca6c90e46048136c0862cf534d648daeb51183b875619b23630ae6ba186089e022b6bc4f54ba63dd35371754d9d9ae511a0d65341db1fb
+MISC ChangeLog-2015 22812 SHA256 b836b2565045e2ae460ff36085099da0cdf4cf3d55e3d49c19414d9b01d10480 SHA512 3f71d04b73a6585a6c62748bcb002716d323856ebb60afd0996155cb4ebcda7da42c4a20aecb73d0a1e2810607746a2fa48ec1d5438aae3d6563c7da244cf85c WHIRLPOOL 0e8b69eaec3b93374ad33a7ae55e9986d613af4dc10945d4d29089c5013b202b9368c2688c0fdb7a644612befba87493de8fb49ea1ee17460754232c772d7f33
+MISC metadata.xml 337 SHA256 a46b783d9e5ae2537a95579e9ef892563a6dfd913272a40ac306133c2845c898 SHA512 99cb65073f0892e388794425f3a26a534f6ed5cea434cbc21b0d5e6a8b15c705d18c86d11c295046e546d2b20b07f5bdf667ef7f3b8d4c908c57e04a014c07df WHIRLPOOL e3f1b428ee2be3d48f6721650e8f47d924dbdd06575474cc7737206710df42bbd514121224579ef6e4a0565943c56a8e14de6282ebc901e8cdd638919b26f8d3
diff --git a/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch b/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch
new file mode 100644
index 000000000000..c32934daf899
--- /dev/null
+++ b/sys-kernel/pf-sources/files/2100_proc-mem-handling-fix.patch
@@ -0,0 +1,270 @@
+From e268337dfe26dfc7efd422a804dbb27977a3cccc Mon Sep 17 00:00:00 2001
+From: Linus Torvalds <torvalds@linux-foundation.org>
+Date: Tue, 17 Jan 2012 15:21:19 -0800
+Subject: proc: clean up and fix /proc/<pid>/mem handling
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Linus Torvalds <torvalds@linux-foundation.org>
+
+commit e268337dfe26dfc7efd422a804dbb27977a3cccc upstream.
+
+Jüri Aedla reported that the /proc/<pid>/mem handling really isn't very
+robust, and it also doesn't match the permission checking of any of the
+other related files.
+
+This changes it to do the permission checks at open time, and instead of
+tracking the process, it tracks the VM at the time of the open. That
+simplifies the code a lot, but does mean that if you hold the file
+descriptor open over an execve(), you'll continue to read from the _old_
+VM.
+
+That is different from our previous behavior, but much simpler. If
+somebody actually finds a load where this matters, we'll need to revert
+this commit.
+
+I suspect that nobody will ever notice - because the process mapping
+addresses will also have changed as part of the execve. So you cannot
+actually usefully access the fd across a VM change simply because all
+the offsets for IO would have changed too.
+
+Reported-by: Jüri Aedla <asd@ut.ee>
+Cc: Al Viro <viro@zeniv.linux.org.uk>
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ fs/proc/base.c | 145 +++++++++++++++------------------------------------------
+ 1 file changed, 39 insertions(+), 106 deletions(-)
+
+--- a/fs/proc/base.c
++++ b/fs/proc/base.c
+@@ -194,65 +194,7 @@ static int proc_root_link(struct inode *
+ return result;
+ }
+
+-static struct mm_struct *__check_mem_permission(struct task_struct *task)
+-{
+- struct mm_struct *mm;
+-
+- mm = get_task_mm(task);
+- if (!mm)
+- return ERR_PTR(-EINVAL);
+-
+- /*
+- * A task can always look at itself, in case it chooses
+- * to use system calls instead of load instructions.
+- */
+- if (task == current)
+- return mm;
+-
+- /*
+- * If current is actively ptrace'ing, and would also be
+- * permitted to freshly attach with ptrace now, permit it.
+- */
+- if (task_is_stopped_or_traced(task)) {
+- int match;
+- rcu_read_lock();
+- match = (ptrace_parent(task) == current);
+- rcu_read_unlock();
+- if (match && ptrace_may_access(task, PTRACE_MODE_ATTACH))
+- return mm;
+- }
+-
+- /*
+- * No one else is allowed.
+- */
+- mmput(mm);
+- return ERR_PTR(-EPERM);
+-}
+-
+-/*
+- * If current may access user memory in @task return a reference to the
+- * corresponding mm, otherwise ERR_PTR.
+- */
+-static struct mm_struct *check_mem_permission(struct task_struct *task)
+-{
+- struct mm_struct *mm;
+- int err;
+-
+- /*
+- * Avoid racing if task exec's as we might get a new mm but validate
+- * against old credentials.
+- */
+- err = mutex_lock_killable(&task->signal->cred_guard_mutex);
+- if (err)
+- return ERR_PTR(err);
+-
+- mm = __check_mem_permission(task);
+- mutex_unlock(&task->signal->cred_guard_mutex);
+-
+- return mm;
+-}
+-
+-struct mm_struct *mm_for_maps(struct task_struct *task)
++static struct mm_struct *mm_access(struct task_struct *task, unsigned int mode)
+ {
+ struct mm_struct *mm;
+ int err;
+@@ -263,7 +205,7 @@ struct mm_struct *mm_for_maps(struct tas
+
+ mm = get_task_mm(task);
+ if (mm && mm != current->mm &&
+- !ptrace_may_access(task, PTRACE_MODE_READ)) {
++ !ptrace_may_access(task, mode)) {
+ mmput(mm);
+ mm = ERR_PTR(-EACCES);
+ }
+@@ -272,6 +214,11 @@ struct mm_struct *mm_for_maps(struct tas
+ return mm;
+ }
+
++struct mm_struct *mm_for_maps(struct task_struct *task)
++{
++ return mm_access(task, PTRACE_MODE_READ);
++}
++
+ static int proc_pid_cmdline(struct task_struct *task, char * buffer)
+ {
+ int res = 0;
+@@ -816,38 +763,39 @@ static const struct file_operations proc
+
+ static int mem_open(struct inode* inode, struct file* file)
+ {
+- file->private_data = (void*)((long)current->self_exec_id);
++ struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
++ struct mm_struct *mm;
++
++ if (!task)
++ return -ESRCH;
++
++ mm = mm_access(task, PTRACE_MODE_ATTACH);
++ put_task_struct(task);
++
++ if (IS_ERR(mm))
++ return PTR_ERR(mm);
++
+ /* OK to pass negative loff_t, we can catch out-of-range */
+ file->f_mode |= FMODE_UNSIGNED_OFFSET;
++ file->private_data = mm;
++
+ return 0;
+ }
+
+ static ssize_t mem_read(struct file * file, char __user * buf,
+ size_t count, loff_t *ppos)
+ {
+- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
++ int ret;
+ char *page;
+ unsigned long src = *ppos;
+- int ret = -ESRCH;
+- struct mm_struct *mm;
++ struct mm_struct *mm = file->private_data;
+
+- if (!task)
+- goto out_no_task;
++ if (!mm)
++ return 0;
+
+- ret = -ENOMEM;
+ page = (char *)__get_free_page(GFP_TEMPORARY);
+ if (!page)
+- goto out;
+-
+- mm = check_mem_permission(task);
+- ret = PTR_ERR(mm);
+- if (IS_ERR(mm))
+- goto out_free;
+-
+- ret = -EIO;
+-
+- if (file->private_data != (void*)((long)current->self_exec_id))
+- goto out_put;
++ return -ENOMEM;
+
+ ret = 0;
+
+@@ -874,13 +822,7 @@ static ssize_t mem_read(struct file * fi
+ }
+ *ppos = src;
+
+-out_put:
+- mmput(mm);
+-out_free:
+ free_page((unsigned long) page);
+-out:
+- put_task_struct(task);
+-out_no_task:
+ return ret;
+ }
+
+@@ -889,27 +831,15 @@ static ssize_t mem_write(struct file * f
+ {
+ int copied;
+ char *page;
+- struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode);
+ unsigned long dst = *ppos;
+- struct mm_struct *mm;
++ struct mm_struct *mm = file->private_data;
+
+- copied = -ESRCH;
+- if (!task)
+- goto out_no_task;
++ if (!mm)
++ return 0;
+
+- copied = -ENOMEM;
+ page = (char *)__get_free_page(GFP_TEMPORARY);
+ if (!page)
+- goto out_task;
+-
+- mm = check_mem_permission(task);
+- copied = PTR_ERR(mm);
+- if (IS_ERR(mm))
+- goto out_free;
+-
+- copied = -EIO;
+- if (file->private_data != (void *)((long)current->self_exec_id))
+- goto out_mm;
++ return -ENOMEM;
+
+ copied = 0;
+ while (count > 0) {
+@@ -933,13 +863,7 @@ static ssize_t mem_write(struct file * f
+ }
+ *ppos = dst;
+
+-out_mm:
+- mmput(mm);
+-out_free:
+ free_page((unsigned long) page);
+-out_task:
+- put_task_struct(task);
+-out_no_task:
+ return copied;
+ }
+
+@@ -959,11 +883,20 @@ loff_t mem_lseek(struct file *file, loff
+ return file->f_pos;
+ }
+
++static int mem_release(struct inode *inode, struct file *file)
++{
++ struct mm_struct *mm = file->private_data;
++
++ mmput(mm);
++ return 0;
++}
++
+ static const struct file_operations proc_mem_operations = {
+ .llseek = mem_lseek,
+ .read = mem_read,
+ .write = mem_write,
+ .open = mem_open,
++ .release = mem_release,
+ };
+
+ static ssize_t environ_read(struct file *file, char __user *buf,
+
diff --git a/sys-kernel/pf-sources/metadata.xml b/sys-kernel/pf-sources/metadata.xml
new file mode 100644
index 000000000000..23659e87ca54
--- /dev/null
+++ b/sys-kernel/pf-sources/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/pf-sources/pf-sources-4.10_p3.ebuild b/sys-kernel/pf-sources/pf-sources-4.10_p3.ebuild
new file mode 100644
index 000000000000..77364744529d
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.10_p3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.11_p3.ebuild b/sys-kernel/pf-sources/pf-sources-4.11_p3.ebuild
new file mode 100644
index 000000000000..77364744529d
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.11_p3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.11_p4.ebuild b/sys-kernel/pf-sources/pf-sources-4.11_p4.ebuild
new file mode 100644
index 000000000000..77364744529d
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.11_p4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.13_p4.ebuild b/sys-kernel/pf-sources/pf-sources-4.13_p4.ebuild
new file mode 100644
index 000000000000..77364744529d
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.13_p4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.4_p8.ebuild b/sys-kernel/pf-sources/pf-sources-4.4_p8.ebuild
new file mode 100644
index 000000000000..8e67712b85a0
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.4_p8.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.5_p4.ebuild b/sys-kernel/pf-sources/pf-sources-4.5_p4.ebuild
new file mode 100644
index 000000000000..8e67712b85a0
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.5_p4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/pf-sources/pf-sources-4.8_p8.ebuild b/sys-kernel/pf-sources/pf-sources-4.8_p8.ebuild
new file mode 100644
index 000000000000..8e67712b85a0
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.8_p8.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit readme.gentoo-r1 toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+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_prepare(){
+ epatch "${DISTDIR}/${PF_FILE}"
+
+ default
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."
diff --git a/sys-kernel/raspberrypi-image/Manifest b/sys-kernel/raspberrypi-image/Manifest
new file mode 100644
index 000000000000..9112d091b42f
--- /dev/null
+++ b/sys-kernel/raspberrypi-image/Manifest
@@ -0,0 +1,7 @@
+DIST raspberrypi-firmware-1.20160209.tar.gz 114792438 SHA256 ca6a88db72e90ef821b8ca7755bbee9c1d5bdb9a621a45eb029af195d2d29751 SHA512 281092c11d422d821e5e2b0479c3b8f891f8df66cfbf931992902d759c99ed40cbb2d9fada1f944372e5bcd8af69784739e79e9912db3482892b10bf668611f2 WHIRLPOOL 81974a53562ee91544d7a01dc9f4f4173a6e882891f8cf744b700162ddd8f8607b1cfcbbde04cafe2bcea47489f9ea4fd8840adf776e806bef0dba574448e76e
+DIST raspberrypi-firmware-1.20160309.tar.gz 115673896 SHA256 ead0e82b930fdeed9636a6d2d6e07b2512b5f36de3c902da5beaa9328708e181 SHA512 30a6396ef52355c6f6404354645e8d0f5bbf70332b0e1661dfa8ef3456154d07e105d3b7b5bd64efb3e7397fa2fb8c36de1aa78040dc4118060b26949c2ab884 WHIRLPOOL 19a2a28e7dc1403958f12338b5029187bb752f1367f9a46e217b3d91b098960f1cf75efb3610defe3bb2f521559019453cf50a52def3abb9c1ac61419b8ea328
+EBUILD raspberrypi-image-4.1.17_p20160209.ebuild 1555 SHA256 1f46720d5b6a7e5d06f644cf83106cf4480edaa079ccf7c9329bb4378455ebd1 SHA512 90220d107b52c6f655214ae44147bc90a1084c7f8fe9a863609931d5ba7ecf788d405a95118dfe0db6ac1e5a39fe72bcd098091dce0ce63ca6a98d3709183cf4 WHIRLPOOL 6d04c4b9ee3cfb36f438aa17f27494961dc3ede9cb46079be2bd9557b37430a92555fb36b44475ac0bbf9f0ea2cdde1adfa891de44a8c729c4ae7ba7afb3b38d
+EBUILD raspberrypi-image-4.1.19_p20160309.ebuild 1555 SHA256 64a3ac59a6e9b8935fe0004f3a3b9d99cbf172befe571ae24b07b969af61f4f4 SHA512 025ead2680601c6db610e0f1dd4a68ad3f2ad6bffe7696989f950a09b4d175275a0a6cd25d32333e2533556d0b1e5fa6ae9b0fe936e55df56cddfac83bf3b922 WHIRLPOOL bf0943aa009c30324a8136baeb56a19acfaa7bbf3d0714dfb1d6c5c38486e68fcfad98265c382f5d62de5b6329689459d2629a1e8b9ac799488719babb90699c
+MISC ChangeLog 4813 SHA256 ddc2dab84b80733ae75bcbcfefdeaf459e0e17fa585dd0381f049ff93944d508 SHA512 7205b5357f95d947c255734b6385e361275939d396dc492c8781ecd8d92f2a479b93b8073cdde74e1cad024302837ad26eca52e952c88de425320c6b3d7c1ffe WHIRLPOOL 23750112362aee9406e03f74770f22a3cdf928308b8cfa9e69ac320b35ae772b952abafca916ba2153e45628f1dcb92b45f616cd9ecbc87ed0c1955ca9d998a5
+MISC ChangeLog-2015 5930 SHA256 a86468fea53e26055d648951a7ba850e36510ca16a94853b1c8af124c4b39a2c SHA512 fb127aa198cc9d59a48f31a487ae1a91ec0d9d3599878e198874cb2deca26d0bd2e12f195156242aeb149aa1fbd39d4f5db0dd98c8a5d153d0602ad84f799a3b WHIRLPOOL 465693bae84d6ee7001cf44f36fb74e5cb27e69d556cb288a19efea49a41dd93bdf45fd32a62146ef86b4467133d48b8031090434ea1550dc476da87f8500126
+MISC metadata.xml 328 SHA256 adde4d5f834d63864f747c98c70e137549ff61561f515e6c87e3ecf053f4dc29 SHA512 4cde6e59e1ac26fa36447734906b1f68432121175d6691cb6b5f8fc1e50e1afea3121e108a1c75fa58704a4882491143c97111ef5e3dcc49665b89c0a7bd6494 WHIRLPOOL 1f0b32e8a40dc92ca29863f2eadd21f56efa3a3843e4274fd6b7bcbccf5c85d0d348c97bd4f5a295057be5e83d4eecf3a970f955bff378b3e8c73e5dbac9e44c
diff --git a/sys-kernel/raspberrypi-image/metadata.xml b/sys-kernel/raspberrypi-image/metadata.xml
new file mode 100644
index 000000000000..97bc25425603
--- /dev/null
+++ b/sys-kernel/raspberrypi-image/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">raspberrypi/firmware</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.17_p20160209.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.17_p20160209.ebuild
new file mode 100644
index 000000000000..daf784d859f1
--- /dev/null
+++ b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.17_p20160209.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit readme.gentoo
+
+DESCRIPTION="Raspberry PI boot loader and firmware"
+HOMEPAGE="https://github.com/raspberrypi/firmware"
+MY_PV="1.20160209"
+SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV} -> raspberrypi-firmware-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2 raspberrypi-videocore-bin"
+SLOT="${PVR}"
+KEYWORDS="~arm -*"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/firmware-${MY_PV}
+
+RESTRICT=""
+
+pkg_preinst() {
+ if [ -z "${REPLACING_VERSIONS}" ] ; then
+ local msg=""
+ if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then
+ msg+="/boot/cmdline.txt "
+ fi
+ if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then
+ msg+="/boot/config.txt "
+ fi
+ if [ -n "${msg}" ] ; then
+ msg="This package installs following files: ${msg}."
+ msg="${msg} Please remove(backup) your copies during install"
+ msg="${msg} and merge settings afterwards."
+ msg="${msg} Further updates will be CONFIG_PROTECTed."
+ die "${msg}"
+ fi
+ fi
+
+ if ! grep "${ROOT}boot" /proc/mounts >/dev/null 2>&1; then
+ ewarn "${ROOT}boot is not mounted, the files might not be installed at the right place"
+ fi
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ insinto /lib/modules
+ doins -r modules/*
+ insinto /boot
+ newins boot/kernel.img kernel-${PV}.img
+ newins boot/kernel7.img kernel7-${PV}.img
+
+ readme.gentoo_create_doc
+}
+
+DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"
diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild
new file mode 100644
index 000000000000..550713fe4a38
--- /dev/null
+++ b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit readme.gentoo
+
+DESCRIPTION="Raspberry PI boot loader and firmware"
+HOMEPAGE="https://github.com/raspberrypi/firmware"
+MY_PV="1.20160309"
+SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV} -> raspberrypi-firmware-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2 raspberrypi-videocore-bin"
+SLOT="${PVR}"
+KEYWORDS="~arm -*"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/firmware-${MY_PV}
+
+RESTRICT=""
+
+pkg_preinst() {
+ if [ -z "${REPLACING_VERSIONS}" ] ; then
+ local msg=""
+ if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then
+ msg+="/boot/cmdline.txt "
+ fi
+ if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then
+ msg+="/boot/config.txt "
+ fi
+ if [ -n "${msg}" ] ; then
+ msg="This package installs following files: ${msg}."
+ msg="${msg} Please remove(backup) your copies during install"
+ msg="${msg} and merge settings afterwards."
+ msg="${msg} Further updates will be CONFIG_PROTECTed."
+ die "${msg}"
+ fi
+ fi
+
+ if ! grep "${ROOT}boot" /proc/mounts >/dev/null 2>&1; then
+ ewarn "${ROOT}boot is not mounted, the files might not be installed at the right place"
+ fi
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ insinto /lib/modules
+ doins -r modules/*
+ insinto /boot
+ newins boot/kernel.img kernel-${PV}.img
+ newins boot/kernel7.img kernel7-${PV}.img
+
+ readme.gentoo_create_doc
+}
+
+DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"
diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest
new file mode 100644
index 000000000000..1c3973f9eed9
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/Manifest
@@ -0,0 +1,10 @@
+EBUILD raspberrypi-sources-4.10.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.11.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.12.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.13.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.14.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.4.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+EBUILD raspberrypi-sources-4.9.9999.ebuild 596 SHA256 6c4773cb137088a4e9afb6886216ce3fb81ef81562a75397d1aef6bb95811015 SHA512 62abbe62608ccfbcca9233aa1550fc36ee75c1e41abe4b2604169f02d30f8ae7675fec5c083e11607e3550e1cafcb9cbdeb1e50176cc71c54a377cd9e84b8df1 WHIRLPOOL a4f8372dba1d4f818ccd28af0726ba59d3bc6bc7bb4e8ebe5ee70e468dd0a4260e7d3bc7595e864d60580c8b68d64900e415460fae5f35b85da8125ac35689cb
+MISC ChangeLog 3247 SHA256 78ce81342a6de9abcd5506b746003dbcc72e386a77d82211af1e6ad468e936d0 SHA512 cf62db6d6f22c643804fdc3ad9dfdbf2003c8dfa7c93ae4da39e54d81e9b4d2dd0f45633c244c8d08814ccaff07640881daaff7d4b5ec177482387dd95c539ae WHIRLPOOL baa8e0e4b085981bb2fe9c8735b19ebf07ff411f4d73ed3879864c704b68d9ac3e55b6dfb286df83cc757dd2e991c07a7f7a05368d918ee22371aa87e75c6754
+MISC ChangeLog-2015 3332 SHA256 c509dca30baeb481b010a26ecddf4e4921a172c2c9b06295723b6c740cebf202 SHA512 d4317ed4999f6e59b13933648037b1aef339a5bf05916785269e1489186739d63836864b774faacd571ba50e476cb5b0b6af7738892df099eebcc1905c52501d WHIRLPOOL 9baad12b27659d6b6834c8f034cf8f80b2bdbc29c35e289230fc3d5088117fe3d8d60d060146cb33a5afd1d443c8cc50a16f89a7c3f4a19a97c0451d600a08c2
+MISC metadata.xml 325 SHA256 888bc4aa3de0693367551966be1308e25b041ad5a444c9ab43385176cd262495 SHA512 6c30b4064bfb8f336e667fec13f80091c1fbc9fbd9058b2b2e1203de9e0deb70845281cc1e657fe326fe34c716126a9107aa01a4cac20000f567304b1cdb0c33 WHIRLPOOL 11a31872f57c414e0d7bf798949830e048b050eee97cfff0785bfd5fc2a2c7ab23187f5dbfaf33c27ed4be79f5fd80629bd45439729c5d20761f9d387c3cf4ff
diff --git a/sys-kernel/raspberrypi-sources/metadata.xml b/sys-kernel/raspberrypi-sources/metadata.xml
new file mode 100644
index 000000000000..5ffcbcc0db2c
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">raspberrypi/linux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9.9999.ebuild
new file mode 100644
index 000000000000..779550859383
--- /dev/null
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
+EGIT_PROJECT="raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
new file mode 100644
index 000000000000..92fca2941e62
--- /dev/null
+++ b/sys-kernel/rt-sources/Manifest
@@ -0,0 +1,49 @@
+AUX rt-sources-posix-printf.patch 1705 SHA256 eb3a1bd644c7e30ab6f5c9270e1b60ab9cc46967ee600816d6cdeffa72bbd6ef SHA512 4f9fa773327103d061ced793192258fa20d0321681aeb89c9bf7dec744e37156e1cf8aeb7cdaefeb869d5585efeb3e1598d9c80fecc26155d6ea3f2b8947c239 WHIRLPOOL ac8b611feed51f35a297d4c7c36a7aa487d1203ade71ddf97764912edeb1bbf98ef172bd11358500ac8bf4df1d213baa6a164e2b872fc4b2ecd4b6d7eac00b23
+DIST deblob-3.18 127087 SHA256 c720eabb3911f8dfa4398c4250853df4633018abebc01a509ee4a283c3e00941 SHA512 6fe33762ba19aad7ff891b7b805cc26f6e2926f5e40c92fa45bc7f31bdeb5c8fc42b97e5d37d71b9422da239c7c54abd25f1fa2fa1e5733c6053abbf4c9e9011 WHIRLPOOL c351a3ae15c59081fca69c1b5d9b9de10f024eb01f1426722a0d6ccb7caa34330be42897cd85cf19b22ff876352b0cec1c19707edc81c4cb01ad9c1df2e3d831
+DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9fb3516a210a8a7 SHA512 b861b9b53f9295e5e993784031ce57cf8cddc418184ec00c28ed92c9e7660406e0ede581a93d0def36e7847b8e068c8ca6c4dfdd65c15cb174d6c5803c16214a WHIRLPOOL b90f55dd8702eb254968ed7689b50859833ed362e9aa1720ade96aa1f6f84e8f90f5d1eee034c8535e8bf767c0b5f8b0bc559219e8d81d4c6ed53bd5cfe5e65e
+DIST deblob-4.11 148749 SHA256 4c31a9e39d302a7dfe4ba2bf550dc49312db5949a611dda343575e6ca3b8f06c SHA512 e560c76cf340d88930e1b2ff1cd86ced028922faa30a0ae6ade34eb92dc8ca916917b62d84c33be5030c697326bc8808fd1fa259a6767eec83227a06df646199 WHIRLPOOL 37b8c818b9073affda24c481928bb4d606a47a72bdba70d1148669c368e417785149bd5d6e5f303b25ebfcfb1b021b52bc01c89a8120963a29c2e0cddba4752b
+DIST deblob-4.4 137370 SHA256 7cf11c8594db0d2a10a1b02390c9ff8916f1d2a1fe9d59058ca45485500c5274 SHA512 ea5f2f2cdbc97bdc90c2131f846761dc1630a53986db10d8e9d07d1ddee12a9d878c57790edd3ecc75ed9792d479b7b726c39d688a3926e850608c81b1b78a3a WHIRLPOOL bedd494be2032ce4b8911f25df906055d019af31ea6548b885482f870cd5313e09e7fb544fc8db268b3498cc18c199ae5701023839c972b48dbd8128239eeb75
+DIST deblob-4.9 146273 SHA256 af4214b851928a53ef470ed8729122b9db910a6c0769d5d46a5de0b3e96f74f3 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 WHIRLPOOL 7b5ddba1469b6515d03d2e0e91a643ab0252803fde271ca710978186582a2f1a3b01deab9718c194bcdae0a79887636b6e98e604305402c9051b15a89fd393df
+DIST deblob-check-3.18 654232 SHA256 30f22602b6ddf2cbccc16ef25fdc4d92755f3972e1c671d7cab8b9d6865eb155 SHA512 2cff9abef479a55dd6a0699371be8227ba63b18da1fb153d5df382e0a5e4f1b745b7de256a367a36efa9d12e2aad5622cc288efef009feebf81c108dbef4fe16 WHIRLPOOL e92927ad1565e80ce87e8bda372f8f7eb42bc0f47ad9b19fe5cf737903b2021fd6e3756e8d22b70f3037a46c254fec8b7285b37beb10795ccb4ca99d38876f8c
+DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0
+DIST deblob-check-4.11 734493 SHA256 39312ac206c249257018e85d4c3455f9bcad0205b4bd18eef28971492090fb43 SHA512 f3ae2b80ac16f223349c741877c64d619fda2be9ce5a28741cfaf626cb2104547f0f638e6d56afa524054b4ec4ccc8f720515c8518ab333d95bfd29cd8ad056d WHIRLPOOL c2b0289118d4db9972c25e08a4268b89d7b9ea54ba32adb5da06929823ddd852a4b5538b9e8953ff91967645b3089e8a8123ae5fc6411e24500f11f4e034c301
+DIST deblob-check-4.4 694225 SHA256 e142bafdd5a05280d5280fbf109aadab3af9ce71152ab2d27ad41e96766e0c3e SHA512 6554ae567566da4d30e94a37622f88343b8e96ab39a9204fee34de4ddb5dac8c4906b25843b63c2388d03a4441821c25d395b3c39fc875c498a69e677a4f0cb5 WHIRLPOOL 414f60a64a2c14f01eedebc84f5adfabf0562bcf76545a57e757cb6ac914ffc49c90c329eedd1aafb1ee752bfc082fd4f6af173774f4f853ddd637525fbeeb9b
+DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19757fc6b8e34355928d6b SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 WHIRLPOOL f1afe1f8d8bcd6fc43a01da5eb012d117687418f049212fe20fe7ea88700c482bc6fd3e917102ff9d12baf11e678a40355877a7d214da8b3cbf2b585a51a012e
+DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
+DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+DIST patch-3.18.59-rt65.patch.xz 173612 SHA256 7dad87e49cd0f470aa88f2a41e172d85687728b8774834eef482a6c8ecda8df9 SHA512 5d742acb498777306f521af8fb9722143eb251a66f7f1eb0d1892556218ddfdb25b69dbac0691b6efdbd321b6a3e4e7c0b2f0b7b56e905d5abb0613f44e61756 WHIRLPOOL 5c8c27c401e8c84b66df3f91bd2f8f9422a08dc442022e7e470df10ad1b8af90c7266a7040d9da2b5236851e19e7044c5ae105f4a535b0f646c12c8c6b745951
+DIST patch-3.18.59.xz 1238164 SHA256 668c02c74fc0655cc68f47f820f823e441aa5acd5bc2fd63bee36e7a2345f633 SHA512 671da9568772fa5af63b32169de8b27056f32770b9abc5249766e2f50b348a039d03346078fc379e1591014e6ced56912abcd492be6e47205887fab72499720c WHIRLPOOL 454efd5b5ac42655bcaf89bd788b272ae637e0a0cd112d44dbe19442a03fb30f5e56e76cf2995c222fc8135e0f34295f8f8be19498f22d333e78cd207486eb6d
+DIST patch-3.18.69-rt75.patch.xz 173580 SHA256 374d1b20fb84024a9738034346d1761181afc1c988b8fc9ac475673f6e5f7c46 SHA512 50aff123705223689a59da8d931b6a42434391c0e87c68636d8ced6556e98482b9ac68ddfefd923ee37625642a7da860c15719190637b700505a869678374dbc WHIRLPOOL 501711c834e75d8fe1fe58f458fabec15c943a2faa4b84109cf37d349ecf0caf0bcc75f466520898c0d76fa3b5703895c8e57117ddf02038eba30da979ecb1d1
+DIST patch-3.18.69.xz 1291180 SHA256 20174224a5b5482ff238151fb8994401be4feba580802b2737479bb0a5342bca SHA512 b6d3f52f219941752d0344a15c21a76ca2c7435c075d9f1cc3ac2ef70ab1f5da55cbcbe48c232e03d48dbc7b18e465e8a34d547b6fea82cc2b51e5462e773d93 WHIRLPOOL 0297ac817d3383bea22a66c10d42d753ce2bdc5bd14b461a43139c8b1b27962581216f7224b64f4a1803418a4a423ae0f1f6ed12fa80948a20a7eac089d1a7cf
+DIST patch-4.1.42-rt49.patch.xz 189128 SHA256 4a4c502da63cc15715f67a548da6a1ea018e53a5fde2ad6fe9480ffe04bc8247 SHA512 0fccf89a48fda418fe7abd0dd2b78f0c8ce10368d55310165df72e7043edc7f58adc2a7f43e3e17c77bf0fa2dada898c1ab2dec608acd64375a481d128dc180a WHIRLPOOL 69a27adb1b37b51abe80bb7ebfc1703ddd7ff60ce82e6609b09644864c4b3d78d365df2578acc9636a405cc73a4d5c2db94c9554d01ed46c65400705fb341d78
+DIST patch-4.1.42-rt50.patch.xz 190032 SHA256 9fb6d43eb202ec3ba94b5f659be61abb5050625ca3475f6996c82a61f608f940 SHA512 a8bc66d368176e5d02bdc54b9a5a1eb9865b277d89fe6f43e2e212832bb0d3b435a510ba8e03a64e1f8d94cf5a870076405b2687c51558b1d47586c0f5738d2a WHIRLPOOL 1e002b9892837fdeccaa8c02994b113434e3321a36daad5865997a41998fc47f14bffb8c6f92bcb4d3a62c473c53d608dd771978ea4f86d37f433e6c5683bb05
+DIST patch-4.1.42.xz 1109816 SHA256 da32978d452526c91bf71aceac83bc33b1ba5aff30d00603dfb6529f014521fd SHA512 a3b4e29e7cb613a72b8176edfe2cb5da0aa4e6064bb717c1bd5caa9463563cdb66a4bebe6256a8eddd58f32ae6f658fdbb66a3e4337a91def9d08b7c0e23fb2d WHIRLPOOL e461b48ca523a9f4718286648b1544374b0a6c2470ccecdb735849ae0e02241c6a63e06cf342130824e42e68ebe1526249e4736c8ebca3d4ec44e42397476c80
+DIST patch-4.11.12-rt13.patch.xz 228308 SHA256 d7a0e66fd187142cd65034c5b37a5c80268aabf7a88f1c37fb02116269045878 SHA512 cb82e29088a1e17859feafa054c83950b2c68262da2b501290405335210f2efaad29af5a0c0f7520f0f5874c4a15eb1bddbaa0dd330e8fcfc88d201bfc176f97 WHIRLPOOL b2a3e6d43dcfd012345edf9c9b2f37f3dad4468aa0d352472b785d9001a07e8d801555e759b41c7e59f0f4d06cfcbdd2b986b17a5be541c20bccaa5ed7587983
+DIST patch-4.11.12-rt14.patch.xz 230380 SHA256 0ba8106cea3808d40966ba687df844e83f966a5daf4d4d9b527c2932b8eb007e SHA512 7ff8a20b459119e2d42c8a314a3fabc7366268a81b5ab47b98b4d3a259a270586b368f4e7a548c5670212b27fcb1113a8dcc8b908a13b9ad640dabea9bcd610c WHIRLPOOL 9734b8c70f797f86d183e5716f5e94a3d6419b76104e90d28caa35c1311382a7f1a19d65b845065aef51c9b88284e1ea329fd68711e6f67ea3dbeceb17bc16e2
+DIST patch-4.11.12-rt9.patch.xz 218872 SHA256 6e6112ec9c076c9a7a6ee6fe623d5059e2944622062307ecaca8a874e8908a0e SHA512 4cda207633b3a84f178065957e2ec29c53246471bf6f4056df813260502106c0ab79259eefcc5d02bc354d24db16e2269c56b475043cf345f92533a194513fcf WHIRLPOOL 3c7d7b2483b8d8d1dbe1c1e0086335183a9742688f3aa4b205d4d96e948f5491a77852e6727da42ca957c4717d6776fb88491af9cf42cfcc4ba73621e9b97f82
+DIST patch-4.11.12.xz 298784 SHA256 707c5f18dfb795761b0b7ac6f946f03774f9f99317306fd54d8724d17d9c7729 SHA512 ee9c5ac45896d84739c679834fcd15dfc46f9e939dcefd54ba049ac47168d71f0af680153615de002a2073ba79e44a9214f74af17ed16aa97d85e6df157fc6e8 WHIRLPOOL 4967292c175128adbd8a33f25a3cd1fdc94605ae0fda2b108105e740ddff48cc7bb08c44dd669562fb33056398a8eeadf396cc682305c7ee0a34fe5adee61f90
+DIST patch-4.4.79-rt92.patch.xz 191696 SHA256 f2a3b67cce45ac52f1299f3f0328666253d124574d77093ab3beef11619eeb0c SHA512 290ef32ec8addbc5fbb008f4b3ca1c02b8d4b4f9cd0031ddb10b3d0a6264a562912f768918e80b7b69153e9751269dd8f8dd8d386d48f1a1bae7e5aa0af6f57a WHIRLPOOL ca269ab5b7dc09c1f2bfc1d70e387355f72ee4823f1da5ecd9882cfbe11145b550b014364201b5ed12fe704a86df867652bcdb1433856d2086ad7dc96ff36936
+DIST patch-4.4.79.xz 1274180 SHA256 2ccbfef63ccdf75c859c2ced2e15bc2ad363ce5dc1591ea61d7de0d49c26e1b6 SHA512 a69f937a3a80949db1cf16b547d162b9c83d55f79f3119e59973a94d7e7b914555833beeae5cd165ea1e9ebb6a896352b38fc9ed0675a364dbc32fa165a62026 WHIRLPOOL 8fefb7325e5e892d473e7f1dddd9fc895b739bdc49819ef7dfae421b93c07143d31c4ea8637859b91788c93b07696999d46aaed2ad96fff20bd4df2bd35c2ecb
+DIST patch-4.4.86-rt99.patch.xz 191740 SHA256 4908b67e505f9499e405e829f4d755b7ff5d710d9e78d741015e0bd09cbca024 SHA512 253b31069748dad1758b68a6afb1c5af1d42652185f80521b48f52f43b26fe846e0c5433ed66db337a54a4e62abb88f64fd8d98dd694870e3c2b68a66fac7e30 WHIRLPOOL 1b37335541dbbcf61ba1f2b970bab1f375248e624716a91748f766bf26c5861cbce3c57539005de7b133be386d4a9c4626e89410700df8dca83c860b16a81952
+DIST patch-4.4.86.xz 1322684 SHA256 219964ff4de7f00acdaf85cabfa2adc9d398d19d9e9c6e2e967c3557bb27449e SHA512 c8d97bbe5ac83801272ed2c33f003cfb2a3e8f56a022dc8965bc540bd9ce691b3eb91268c4ba6f7226c2e23470f983e37cbb735d382f547a66086af06161ae7d WHIRLPOOL d601c0771b935e255770f088e3785221793c429d5c839a4627d84429a27633dcefa712c62fd43756bbb194d937b5249a1edd2ca2ca51cd3a200c5fc2351be23f
+DIST patch-4.9.40-rt30.patch.xz 171152 SHA256 3b490d49f37b7716d08771191588d980c225a5a5baa9c3eeafa94ff8ccf2d3a1 SHA512 2cd5cb8c6cb531ab2754566632353f6c89e0ea908b80f7a6cb2fdb586043445572d1e5bb70546a9a0232c8d83c19718854dc7a8e8119d52aa7021b07bdbbb7e7 WHIRLPOOL ae656f1d5f200f65547fda377293d543b708066f6624adbb6fd6d82d6140b4e74fdb62b3a897fa1b71bb56f0d03e936772d486437c612c76acdfa507f190694f
+DIST patch-4.9.40.xz 855780 SHA256 8e85a7e9de8fcc2f06f8539b743de30e2ba1f5b9e6784da0701c3ab2b896f019 SHA512 ab9c26493069f87a9d8c6c97db1a84f03a1b1221f47facc68e65d79ef75d9c7bd93c1f39eee334e4f45381b2c84ff3acb8870478c61c4d8a648984db55be5ad3 WHIRLPOOL af5c9e1eff3f3e58848c1af5177d9f5d9abdf0ca5af78518ec4173ad6459a93e417bbde52c395c69d03d217de2fd98ae96eb1966d4002beb33ea56a11f4f95c2
+DIST patch-4.9.47-rt37.patch.xz 171208 SHA256 efb772f6cee20764a5d4012683810edd0a46e058dd6f26b2d129ec8bbf77a0cb SHA512 b41e77788f29f825d7de923b9601668a27298ed21c6ca44576f67c0db48795b8b22f32bcdb713eb79792e4d1b286dce1387faa3418a306034516023943047609 WHIRLPOOL fb7366fa6569b241dc5ce6a1ee3c65274e3583dd7de2b6396843e475449715d8cc1152eff1edc9710259234d022f2df4de4dc3e898bd85f6873c0dce14afa069
+DIST patch-4.9.47.xz 937408 SHA256 bdbc18434c6891c126adb2982b0ff9f954783f2e381ab06cfbdeeaef74a0d3c6 SHA512 1444676c9bdff6133191db4885fb6ddfb989e355c7f16ddc42ff1ed9415917f06c8147cd69346525624da8547204a68303d5002417b40e11c0174341f55cfc09 WHIRLPOOL 624f7e0a87e9631cb845b814427e4d2a0c92fc443ac96bc0a0f729ff04a2859af8413f1ef381219183ee06b908e968ce3e6cc03a835918019f42801e4bb5b1f5
+EBUILD rt-sources-3.18.59_p65.ebuild 1309 SHA256 7f4474129a004f55bbf8ed6d6efbd0ca784b3d1f89359107d2b565dfe081eb49 SHA512 67f2099aae85b5330a3b3ea2214b5e34300681189e658f5dfa6378d3883ac437fc0ef644386c66e7e1e5f42ccfcdde3d0a404ce0a1c3939ad32325b73da78522 WHIRLPOOL 21f363db7c3b30831e08629b0ec9111c2f56647eba764388178bf537cee1ee667e2c5f530866f295afde34970ab5ec60e034c449c0e2bb4f942bff457771acbc
+EBUILD rt-sources-3.18.69_p75.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+EBUILD rt-sources-4.1.42_p49.ebuild 1309 SHA256 7f4474129a004f55bbf8ed6d6efbd0ca784b3d1f89359107d2b565dfe081eb49 SHA512 67f2099aae85b5330a3b3ea2214b5e34300681189e658f5dfa6378d3883ac437fc0ef644386c66e7e1e5f42ccfcdde3d0a404ce0a1c3939ad32325b73da78522 WHIRLPOOL 21f363db7c3b30831e08629b0ec9111c2f56647eba764388178bf537cee1ee667e2c5f530866f295afde34970ab5ec60e034c449c0e2bb4f942bff457771acbc
+EBUILD rt-sources-4.1.42_p50.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+EBUILD rt-sources-4.11.12_p13.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+EBUILD rt-sources-4.11.12_p14.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+EBUILD rt-sources-4.11.12_p9.ebuild 1309 SHA256 7f4474129a004f55bbf8ed6d6efbd0ca784b3d1f89359107d2b565dfe081eb49 SHA512 67f2099aae85b5330a3b3ea2214b5e34300681189e658f5dfa6378d3883ac437fc0ef644386c66e7e1e5f42ccfcdde3d0a404ce0a1c3939ad32325b73da78522 WHIRLPOOL 21f363db7c3b30831e08629b0ec9111c2f56647eba764388178bf537cee1ee667e2c5f530866f295afde34970ab5ec60e034c449c0e2bb4f942bff457771acbc
+EBUILD rt-sources-4.4.79_p92.ebuild 1309 SHA256 7f4474129a004f55bbf8ed6d6efbd0ca784b3d1f89359107d2b565dfe081eb49 SHA512 67f2099aae85b5330a3b3ea2214b5e34300681189e658f5dfa6378d3883ac437fc0ef644386c66e7e1e5f42ccfcdde3d0a404ce0a1c3939ad32325b73da78522 WHIRLPOOL 21f363db7c3b30831e08629b0ec9111c2f56647eba764388178bf537cee1ee667e2c5f530866f295afde34970ab5ec60e034c449c0e2bb4f942bff457771acbc
+EBUILD rt-sources-4.4.86_p99.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+EBUILD rt-sources-4.9.40_p30.ebuild 1309 SHA256 7f4474129a004f55bbf8ed6d6efbd0ca784b3d1f89359107d2b565dfe081eb49 SHA512 67f2099aae85b5330a3b3ea2214b5e34300681189e658f5dfa6378d3883ac437fc0ef644386c66e7e1e5f42ccfcdde3d0a404ce0a1c3939ad32325b73da78522 WHIRLPOOL 21f363db7c3b30831e08629b0ec9111c2f56647eba764388178bf537cee1ee667e2c5f530866f295afde34970ab5ec60e034c449c0e2bb4f942bff457771acbc
+EBUILD rt-sources-4.9.47_p37.ebuild 1512 SHA256 e52a1c16dfeb4c94d1347b3cbe2b53c521e93a428c94f4bc009b79540d3707ea SHA512 330a243a7084d3b5bdbd23e07550e636ade52e6034d15303987547fe8361ad65affffa697f4ae7a5de0c5aacc41c566319f877fa1ffc0c4bb167aef21d198183 WHIRLPOOL 84e942954a7e1da23a25c03448c80d33bfcf04e30794197e7c635439ab9dc070cdad57cf47631deab280318b02c157687bb6977b1186111ee99afbc088bf7c32
+MISC ChangeLog 16105 SHA256 df73592bd934b5346bfebb81c209505d2dc3e5aae8216d1e40d0d69bd09a7281 SHA512 9fb9eb6317cbaa77e34585b268ef24678c6b00a0cd1a5dd719d99e8a7d6a309677cde45999232136dc2349004269f824efba3e3cff6144c6b1e1149af7245063 WHIRLPOOL 311b73caad1fa2b2aa8c150bf0d371a1da74b51232b0b260b214e8007014b695c31dbcb798af46909600531e19334fcd52f140c3949f1bbbdd3d0e3244c8efb8
+MISC ChangeLog-2015 5948 SHA256 71b76971b2a02d52b7dc36a13183e9763de47222ed5cdda2258c32ae1dee463f SHA512 d39e5b4a7dbd2a9ef5dd8aff9fd745723f4a657aaa07b1e44251da2a8c0ebbf4642e4680f713885316c21f1847529fc9aef11863a04049be3a4610c5a2310b9a WHIRLPOOL b3ef490fff3fcfec35cf213c7b24c536f52db6af26b3a9135e329c9ba8135643442104641ecea0b0af56cfc6c44278c9619889b0dbaf88707f916cce320cda5c
+MISC metadata.xml 773 SHA256 b27707a565f0eb35065f23e2902d3f88f0ce4185b94bc207fee1eb9a8a6544b5 SHA512 3d461c5e3f1be9d02c5ff0c52d784c453f17997c7d45d5787425c7c5bfa1bc0f8400452268cf3089e158789ff99bd927279dccf185a324948f1e0a026f62a0b3 WHIRLPOOL d015a4206fcb251ca8d32b6c3e29549a37af13e15150a6451c8bb30245eb5e83cd5cb0cd574eeda558fef1d43447a898cef51428028648e6f1f797e1169e2462
diff --git a/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch b/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch
new file mode 100644
index 000000000000..81ebcaf0eca9
--- /dev/null
+++ b/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch
@@ -0,0 +1,40 @@
+From 651e54953b5d4ad103f0efa54fc6b380807fca3a Mon Sep 17 00:00:00 2001
+From: Thomas Schneider <qsx@qsx.re>
+Date: Fri, 14 Oct 2016 21:29:49 +0200
+Subject: security/apparmor: Use POSIX-compatible "printf '%s'"
+
+When using a strictly POSIX-compliant shell, "-n #define ..." gets
+written into the file. Use "printf '%s'" to avoid this.
+
+Signed-off-by: Thomas Schneider <qsx@qsx.re>
+Signed-off-by: John Johansen <john.johansen@canonical.com>
+---
+ security/apparmor/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+(limited to 'security/apparmor')
+
+diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
+index ad369a7..2ded2f1 100644
+--- a/security/apparmor/Makefile
++++ b/security/apparmor/Makefile
+@@ -20,7 +20,7 @@ cmd_make-caps = echo "static const char *const capability_names[] = {" > $@ ;\
+ sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \
+ -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/[\2] = "\L\1",/p';\
+ echo "};" >> $@ ;\
+- echo -n '\#define AA_FS_CAPS_MASK "' >> $@ ;\
++ printf '%s' '\#define AA_FS_CAPS_MASK "' >> $@ ;\
+ sed $< -r -n -e '/CAP_FS_MASK/d' \
+ -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/\L\1/p' | \
+ tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
+@@ -56,7 +56,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \
+ echo "static const int rlim_map[RLIM_NLIMITS] = {" >> $@ ;\
+ sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\
+ echo "};" >> $@ ; \
+- echo -n '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\
++ printf '%s' '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\
+ sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \
+ tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
+
+--
+cgit v1.1
diff --git a/sys-kernel/rt-sources/metadata.xml b/sys-kernel/rt-sources/metadata.xml
new file mode 100644
index 000000000000..84655798b0a7
--- /dev/null
+++ b/sys-kernel/rt-sources/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>karl.j.linden@gmail.com</email>
+ <name>Karl Linden</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>eric-f.garioud@wanadoo.fr</email>
+ <name>Eric F. GARIOUD</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Real-time patchset for the Linux Kernel
+ </longdescription>
+ <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-3.18.59_p65.ebuild b/sys-kernel/rt-sources/rt-sources-3.18.59_p65.ebuild
new file mode 100644
index 000000000000..911287c4d4c2
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-3.18.59_p65.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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-3.18.69_p75.ebuild b/sys-kernel/rt-sources/rt-sources-3.18.69_p75.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-3.18.69_p75.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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.1.42_p49.ebuild b/sys-kernel/rt-sources/rt-sources-4.1.42_p49.ebuild
new file mode 100644
index 000000000000..911287c4d4c2
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.1.42_p49.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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.1.42_p50.ebuild b/sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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.11.12_p13.ebuild b/sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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.11.12_p14.ebuild b/sys-kernel/rt-sources/rt-sources-4.11.12_p14.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.11.12_p14.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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.11.12_p9.ebuild b/sys-kernel/rt-sources/rt-sources-4.11.12_p9.ebuild
new file mode 100644
index 000000000000..911287c4d4c2
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.11.12_p9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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.4.79_p92.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.79_p92.ebuild
new file mode 100644
index 000000000000..911287c4d4c2
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.4.79_p92.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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.4.86_p99.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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.9.40_p30.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.40_p30.ebuild
new file mode 100644
index 000000000000..911287c4d4c2
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.40_p30.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+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.9.47_p37.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.47_p37.ebuild
new file mode 100644
index 000000000000..8f5a060bc499
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.47_p37.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit versionator
+
+CKV="$(get_version_component_range 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}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt"
+}
+
+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/spl/Manifest b/sys-kernel/spl/Manifest
new file mode 100644
index 000000000000..5f0dc6c8bbe6
--- /dev/null
+++ b/sys-kernel/spl/Manifest
@@ -0,0 +1,55 @@
+AUX spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch 1508 SHA256 1ef61882e689ed1182b0e77a3b27ba108f18fccff7311462d9c8aef29dfa9056 SHA512 b9bf99b52f3135cb5ae017409ad773e7741536ed6c7181cccb8d97aa627a000417b24971818894dbfa0158a81f4a1be7a9627896b69d4f13988a99f1a39c0bfe WHIRLPOOL 9356a518a1d4a661c4a706347d00b2ec2873198fab379d5a644dde0fc4749f43a9ee542bcf65884de25b97a0e75668a2bd741ce4878ac80c398346eef4b55884
+AUX spl-0.6.0_rc13-fix-soft-lockup.patch 6154 SHA256 85173dcdd261f6aebee9e04098201c58164a74ba01d4a8775d6fb3c7c197c69c SHA512 bbc4d30be0f4425cc1f6076f1ed8d572a8255052f194ad47bde7a9b837689786dcf131326d50f8d4e23d8f0bbf79ce438c273fa33f7c98cdf0bb94c4673c4a0d WHIRLPOOL c4a7efb0858a92da466a69db14f4559188a7f731da7eeaf4f17470a17acb60d81da41c22b6801116d23eb71e4c449097f2ce2af386fd6c3aa915ef7718f49dae
+AUX spl-0.6.0_rc14-fix-atomic64-checks.patch 2327 SHA256 f3254d8c739ddd013ab99619e11263b5591058012cc9da0c066f60da7d3d52ad SHA512 90e2874904600ad191eb594b9ace2ab85c01943b1c5e190fc89b0b91e322aa30a4a32ecd8a407c14b9f1a103676c9956ce03ae5b7ebbd4ee7b962e86b7565245 WHIRLPOOL 59fb9f8544b1e7698e130985f3b95ad0ff419f8abffc705216f6236ac042b16a1bb7dafda586fed51d6fe2761b10e584f675a03b06a89ca503f6e92e9af87f58
+AUX spl-0.6.0_rc14-fix-mutex-owner-check.patch 997 SHA256 7060f161cca637085f0f102a497e26246474bb7239506f7e66cd38b524c711ab SHA512 82b40b9cb92ec3be6b3d22865f807b1925cc273af4bbe798391ce59db044ff0a4b1db48a16c407eee9be48a7c5a92014cb3c2417c1c8783dc2339c3763b5ee44 WHIRLPOOL 3b6deb69e815695ed3fd4100dad27235646563269138cd1abe94084bdd7f5465789c1ee70ed2bc4a8ece5612342c86f57a148571d3b3de5d4a7472d67e8dd4a2
+AUX spl-0.6.0_rc14-linux-3.9-compat.patch 6437 SHA256 830181596f6f1248f304185d6a9016439a09123a08c2d275c7a204ad7240648e SHA512 ea728aa00dfff1e0cf7a433547700a8a435a7eb5a0f3761ab9e133441ccc24aa867df952f00002aba4b587397722b04c015eae82a7e9b523253b09a0ff4cccce WHIRLPOOL 5cb867433c18ca6fb1d1a5a63ef5e875277af53135293b1032dca161488ca66063d5f3783a08e12efe7d4c10dc25970190ab0f29d18f4774db7dca273101576f
+AUX spl-0.6.0_rc14-no-cond_resched.patch 1212 SHA256 d561310b6941104190c65dd8864250c3405338cb752e41d8220797c81d4a7ab2 SHA512 a68afca7da8948a73e00a774c226797451dfaf071be0fe0d18382681390640d680c49c2ee306a1c71b2b412b0766f7724cb9c14d9cbbd954ec77e4f37151e68a WHIRLPOOL 6928505289ef7a4324eede4d2de9464ad687cc3bb0767e164951a100927744817c243b058059f00934974ad4be10d38b8995ecb02a27785ca8e85627130765b8
+AUX spl-0.6.0_rc14-simplify-hostid-logic.patch 5604 SHA256 1d8c48e5f9a0df8dc2691f2e861f304fd003ae03e5b47fd0221632a584317188 SHA512 279c9616ac6311cc51a0f052eabd873418e6d599c3ce22d02e777ad0df0f416bf27b04d1f37a094878ad20070a2cc8a1c9b52ac23f74416c05a7c5a565cf0c20 WHIRLPOOL 3763272378ca15e523546637d697c2ea151b17a1714a1e966324dd1b418ac8fe412221d36f680a4de2015efdee75774824db3e5c7371cd3a00155624c517b054
+AUX spl-0.6.1-builtin-fix.patch 742 SHA256 32e7f741a73f6c644fd691a72db927d90ee9f5a4a1398b7da8a08c535ca9a042 SHA512 c40ff6a8cdef34aa3ae595042ba421b7a56a2d620595b1994de8b7c19153d0fa0af54cdb8bb183300111e2be799389b8d4eb4cc31849f3010ca218ea26c67865 WHIRLPOOL 67b14ae3278cce4a55ff2d58b129448902d9d41179cd0ac7b625bfacd957a27ed102bcf2979390bf360022696b6f64113353e3508aefada441eb02d1f5b6cae7
+AUX spl-0.6.1-constify-ctl_table.patch 1545 SHA256 46e53c4d52a94c982419933210f8d8248b0a7c2c8f5ba0fa2085a21942cd0fe4 SHA512 4406463a71081bd0e47c4867f63b58eed5913c46fcdcf4d55b391c6aac2dfc4f27a90c0a2bc9a1a3c46d2397cf2cba115d6d8e792f17914c70e6f4ba96e3a1ae WHIRLPOOL 7c9c77b5c53b118ae8320c0d7e9791ce2b40dbee4e951a244d0f359b3527049f8fd5b761f4e75b9b61d76451627b0a730df7a89cc5b0ae165cdb0580fadd1ce0
+AUX spl-0.6.1-fix-delay.patch 1159 SHA256 0cda36204ca959eab3f5ffbf898830c15c5378be6347121834bee1672f137354 SHA512 2a2481f620c0db033530c6ad69f54b42bb3a0c8e25f47683a4f04f8fb3b26764538a4940e50fd78299e628c69b342f8c46d19eb5a0403ef9ca53caf6016819fe WHIRLPOOL c3584a0da3d80c1954fe5b84690f06a7aeb882cbe047acab6fac30bd637cc23865ef227f8af09dc5a83a93a7101550a83ab375ebde45637a85172a05b147261a
+AUX spl-0.6.1-linux-3.10-compat.patch 11835 SHA256 8e6cc3ecf7e8cb662148d3af2771949ee80726fcf3de2c543a9031b109222dce SHA512 5632532c8361d8bbe2776c8d28c5825925a61f844af6016970058644f3707990f48508b4f041039eee7b0b5ac0af0edb51c6dcca883671865568da9d0bfb7206 WHIRLPOOL 06d20aa7320a554fb48a602a9ea560efe1998b03f9509a4d86c6975df69f15b64081ea57226b5fba4ce059915151eb88c67f50051524e9e3108f47787afffce8
+DIST spl-0.6.0-rc13.tar.gz 210192 SHA256 500d9c9297f2b7abdc4fce43efe05dddda2edbe403f9ca76d01ae632f798ee1f SHA512 630b63c15e98ada397bc8b8a1a5b6a48255ffa5d7fad8dd0ed9ad7fbede32f3557651effcc99234ffef1a1b9bb13e289c0ca5a2cf60307e0a57ac3a93b709f6b WHIRLPOOL 9330dd1567421e610a714b69d096bbae66c102baaf90fa3daed45cc1a2928eb3dd0e8537f3cf83a7fb2b157bf52ff37b031bcf6c9f52760acd6e480ad335b69a
+DIST spl-0.6.0-rc14.tar.gz 210495 SHA256 92785e2c2c6caf93ec31175e192a18b27458613a99e6578041f6029875b061e3 SHA512 85d066a97d62ce60f60c552d121c20d5a719e95e0eb6d7ec1b10e29acca1e3429a751bcbb811e9cee2a14282c8908684cb9ee0df9cbc8e53ddfe47da18df4cf9 WHIRLPOOL 6473236476dd9a2d392e2f71fee6810ed83e68f309d1eaaa5fbad1f73ae567ad629db97a2bc81a4ad9e28991f4be3d4100c1b9ab0f65941206afe6e5b03f64ab
+DIST spl-0.6.1.tar.gz 213191 SHA256 24d73eeeb0b08bcc162342c5236f116b90ed0a2e69344ae34de744f61c2e3663 SHA512 116117235b4730b5e7041107188747fa2872fb204a08d67a03e1ec95d6302ca57aa17edd12e6f9284492a844e60d446a25d1172d7a2ce53075c36bd889879b31 WHIRLPOOL 4554eb9ba4a2b60fbfc7d73ada4b5c7ce20b26d6655f0a8d9fe5479d11124acc27cf2ba6eab5af4e4a08c886b06687dcbb656322c8e26c43f07b4066770f9a4d
+DIST spl-0.6.2-p4.tar.xz 9076 SHA256 8b434bb53da79c5adb5339b36bddf4d19c4e8d5df7a8a5d2a4ca1bcf7336094e SHA512 77ca1ce0235edb85cf36243ad45710ee8759dcc49bacddc661a986d558eb9cd92671ce256c88287e056732882a038b12bb0d9ae131229819702a06de18c50bc1 WHIRLPOOL afc335ba0a7d24a610f272e6a65460326b91ab91652bf66525e14110a811b2490de65847560989f793aab8d473794c56836e438cb7f1e19d4e253373178f0a72
+DIST spl-0.6.2.tar.gz 215032 SHA256 a8147eaba030ca71bf8c47b46a2c7ae92f9b4ef60aa8ccfa7368f395faeb85ac SHA512 ef5b77046259ec754e0a41f90b51c27207bf91e832d54a8502232b19cfaff711de301f24945ca739faeac2544b3ef22a57f58cf6298d756a1ebaff06f765b8a9 WHIRLPOOL ab7229691a6f56ab3f98513fd0e32048c11dd7cf3ea61e438bac2d97ebd8cd92eeeb422ef1c4e639572feb3e8f69c0840b861f654ca31de481601ef54295be37
+DIST spl-0.6.3-patches-r1.tar.xz 15996 SHA256 7f1cf74c9be5c14eeff529ce0a45d7dcca33cc08e5b9e7d17fc79dd5a58719d7 SHA512 6eeee3a18466bbe8ca903910d807a3242bff0c12848d4fc6e226fe40592cd6cd9109bc5ee301867f0512b5cf2ad28eab2988e261c69fd200c5dd6eb6d8027b2c WHIRLPOOL 93578cfa435dc343edc8087a0d49aa90ddc457bf75292b0c10ce30836e00f27ea0c4768a62270a6ec559238b778ccfcde71c15740a8242f9f93c7d84934c5f72
+DIST spl-0.6.3.tar.gz 221430 SHA256 5d60dfbe86a50e65dbce17f538d8d0874a0cc293374f59eed46cd2dd1809a944 SHA512 c4b82f1e279c7581d0082c044157e8a933edf53233c8c7c8202117454cfda0473ab85fbb56ac0b6da09a4d6798e33020a9c55bf23e25d630efa3265545c3defc WHIRLPOOL eaf001a96a80264e16ce416da38b988eabbfd2fce17690151a496a3141c32e92e5d00791e2d9c009ae0cf6910f80434c10f02a700752fc664f6bf6723bb03dba
+DIST spl-0.6.4.2.tar.gz 190421 SHA256 05c428f48acc55287c0662a90cfc087985b8ef3694dc057cfb16e1fa2ebbda43 SHA512 6a295651622dd1819bc9ef8f693c6a3cf73dbb084a4789ad508dda644bfcaa1984c5487ea0e16c8d6d468da59a3fae2e9309b2b13cd869a4af4ea675c394bbe3 WHIRLPOOL e270b66ac9e22c806876e727ef040c3cfb2c304889de982f1c54a1625f7bf0214d3b6f8baac42cb3710aa23897f1b1bc67ef633fe35cb1b2c4b57196390a0fad
+DIST spl-0.6.5.10.tar.gz 576268 SHA256 cace7e53dd092f44e0909452dbef74adaebbe8ff0bb59b24341b0c5dafff1b45 SHA512 775cf359b5734a52eb0c54c6de8f314a9522194569f2af083117341799344839b174c1594d5e17b5ffa9aa39fa5011dec04e1a9f0c42908bf989849db3a1c876 WHIRLPOOL 6282d6dced15a359bac04863aa492ae79012a9f86d28f323eb5c67214287c52f8670f30c3b5d98692732b36dc3325680f873953d81951bcb67259da46b9f96ac
+DIST spl-0.6.5.11.tar.gz 531710 SHA256 ebab87a064985f93122ad82721ca54569a5ef20dc3579f84d18075210cf316ac SHA512 eae1641a0d528cb9182deccd309625e13abf3db88ba1cbb54947055b23d1f94b62c045f939d5e952784f19719eea5fdf85d65c5abd22b9db167ea7780bc55722 WHIRLPOOL bc528e07624f01bdd41080548ad2098e05167b9d2492a1d27ed5cdd065f843c648dfffb46634d85b9c52325ba9c3e6f921d8d9318e1c040c2d7c6e545426200f
+DIST spl-0.6.5.2.tar.gz 193153 SHA256 2642b69870b32e0feeaa57fbfcef546a330064bd4e5805c4862a97287a9287ca SHA512 9db23daf6cc1d6aaa926c987e284d7dbbc538876d6a8b9636d3126efc2be9d54b5ae2cb9cb3a89b604b3d4106374d85d9ad2c1acaf940a1299c1620ee1526d3f WHIRLPOOL cc99f131f9dfcc9ef84237f16491c8c5417af70c57dcbc3dba448c83f93636d5161b301f4fefa4fa8c54c56a1864cd9ce5d5fc758697803bac880839ea57e359
+DIST spl-0.6.5.3-patches-p0.tar.xz 4968 SHA256 8e652d41eba421720bcecee99077d3f3c375153809426011f04a2c64aa181ca7 SHA512 cdc053d7ad537cec3b0e7d777d6a341d1b48d6f49613f77db3831b86f54cef098748b944a353c3bf920974a812d650b65116fe26906ff7921ea69cfa5fef9691 WHIRLPOOL ff9e6a193a8585738f57fec59a3513fe69856019569e90c95da306ab853b0c5a8266bb457ef1f4df0c4bcd20dfbde1062c616d3ee55621b288ab796c733d9589
+DIST spl-0.6.5.3.tar.gz 556179 SHA256 637c1eccd721f5d3bb1570621d2cd6646ec0488608482c0dbeb2838cf4bb310c SHA512 24a0c97f1a425e44d12f43519c23ba78672c06d65a03833a8d3827e4c762a873283c90ce66f64b9b186ab815f0b005e69da537e120b8b53877d0f13e649bac57 WHIRLPOOL e67f50c8adc4ac2b770dfaeb479fa8a8c87270c8314b5366dd95665a30adb2f1fb29db9719a0431cc18adc6865ea6f222c1b443f2b95b764cede8db50f49333d
+DIST spl-0.6.5.4-patches-p1.tar.xz 2020 SHA256 0a554d86ff1874b09263fbec2ee8e03dbae24f4c45cf54c9e8a8d2fcf3a21207 SHA512 2650f06bf23045bd2805ef58baa2561534373862e1fbbaf189cf93283aa8e18cbee989b4e81751b37da3058aeba357cf8e46db97331379e1b5eafde7faa33851 WHIRLPOOL 8054310c8d62d17f45566e67f886e025b5798c1ebb32bf66f3b91b440a42869d09a45030e5d8695687ace829fe21f43289647dafd206d1021626fffb35a2979e
+DIST spl-0.6.5.4.tar.gz 556298 SHA256 a49ff1dd255215da18ea60bf76dc5b764ddc1aa40d86f4e842b63185357b1504 SHA512 a50d804008237820d6a8e7d938f6699df2966836ebedf0b6a4421f55bd6c24ae69e8f80eaf3aa2b7f6ed308983ab4ca11abfb32f98c8d070e4957b4802e00cac WHIRLPOOL 4c9150fec7e5539e391ffd078e7aa4412d47416749187d62e36136d945514694b09920e595c391ed3fedcf5d13f7486539f49ca33e166909d8a8b2fc99b39a37
+DIST spl-0.6.5.6.tar.gz 559142 SHA256 167595fe76eb5497c3a1ffe396b6300155d0cbe46d06824a710099ca1ae1b8bd SHA512 23c6d2f041a09ffa9e3f12ddbf59fbe76b74ed6cd0de984b2a04adb14247979aabd13de08b5a5a08b37918ac247aefc599cb0e234527bc118f855ffccf6397e1 WHIRLPOOL af8d2a3d523cece5b42b57836d58048c180bddc00b8846cc4887d2a88b022f2b49e09aa27f32407b34e99a0a3842c82f75e34219f53d5b4b9a6749d047dbf718
+DIST spl-0.6.5.7.tar.gz 558570 SHA256 dc8690e407183eeb7a6af0e7692d6e0a1cd323d51dd1aa492522c421b1924ea0 SHA512 d84d7b088af44c231e7d3f9dfc613acbd55c4c98e8cd8fc04f56194481c46dfd61d49f2f18f4152ce86202e4c4f96de823535754b5412ddd67eef9a403790764 WHIRLPOOL 0591ac89b14096fd5cdcbff2be5fbfd5bdd63fc8313dff182a7dd5d8c4d7ac6be066b68a791812eb2098a48510bc9f322d94c6dbc2a2e5f764cfa264ec206676
+DIST spl-0.6.5.8.tar.gz 553270 SHA256 2d22117106782222d2b7da88cc657b7b9c44d281b1cc74d60761e52d33ab1155 SHA512 4078bcc96c112f12129918583400d927d7dd56686c470dd9cb8fc6ba641dcb5afb044c95de02ac397909bb90f4c50d0aada91177ffed810883b5889610d8b0b4 WHIRLPOOL 57b42a93d74348352e367f7d0e08189cd1d443e74c711d8147c35e1bc4264df1a742e231b381ffcc32aaa755cb732c7e062653145fb929872b6835caa2afda27
+DIST spl-0.6.5.9.tar.gz 594271 SHA256 d9ccd24786bb5a8616748a93a3c0b1270aa891175e2f5d726195b416f5c03b9c SHA512 356db95fcc93eb4ee298efc1ac25d38743572c539fc10b2d1533af861b4fd60804e61c3fb9f9bbad3d7a51cf123113b5b0bcbd49eba1bad7b1d8823d206022e8 WHIRLPOOL 6565a4939efaeba0cff75496ce9e8ea84b55da97fe47457ca33bcaf07aaa93a27dd410a9264b29539e65475029c0f0c612bc93b9fee4f97c7d6db9c92aab6a34
+DIST spl-0.7.0.tar.gz 608150 SHA256 567f461435f99f862efb1b740ed0876b52a2a539aafad6e5372a84a06a5da4d3 SHA512 a01798fad4f46788cf91d97699837526d5a33e35dcd46247a9e00747d3d439b949113eb42c8d9fe9cbc4a7b1ee645a5ac09eb764db82a2a07eaddbbb9605d11c WHIRLPOOL 7087089423c3515945af9de27879b8f009cf39ee3840400bde2aebd967bfe2be41d513ca6368774ad06d1871c81c3abd50f442d5ea9602da456cbe6a3e8cecd4
+DIST spl-0.7.1.tar.gz 547932 SHA256 e6a83dc50bc83a5ce6f20238da16fb941ab6090c419be8af8fc9223210f637fd SHA512 1edd0d21f6bc24c3c1295a3e1002ccc03954b1a8657f34050ca9992aac33eb2caa4356c92c74b1c1767ce69f67f3463bcab749b411b2676b5ed16c6ca838e0fe WHIRLPOOL 8facc1c8bc10481a09b92d16f7c4e3c6612749d55014c28444d0b62382940c84857f2f4c165b45f55aa917172a562dcc2897bc8bc5b8045793e9ebe96345fe5e
+EBUILD spl-0.6.0_rc13-r2.ebuild 2640 SHA256 5618eb9e561d7e9de3d1cd859ad88783de706184d88c3f57c4f2969d53e72327 SHA512 40bf49e792a9f3d7bf2e35c4dd5c6ed6840f03fc2b72b9514fd7058d7cd794211a5bb4ab41c6639be7ac7159ad8749d91ac7c1b146359d7fef16d371648d3998 WHIRLPOOL 17c7d32ca672058c05bcce093647f892018be641b1047b95fb3c07873f5483ca1f28510e09f71737bee43e822de2d95192aa3d958350b6c75e05be7fa4f5e1a5
+EBUILD spl-0.6.0_rc14-r3.ebuild 2926 SHA256 de564fb1f3ddfed9f02c603239697f255e500c314efc9309ae1028ac33f92b3b SHA512 a72dbf022c93656063efcfbe78ba8c1fffc55cbd13d1535bd97de1fd22591c93b52edd6ac5b71ab549c502596a7024f21359f4b3227480f87719546b7fa1c787 WHIRLPOOL fa03c2276f77e18d4bcaffcfdb2cf455c3fb2e27018d2497f7e8489e6b0a284a7db39db7c34158d95610e13facdb1762a6ab7dadf01432ab03de4eb7d794c730
+EBUILD spl-0.6.1-r3.ebuild 3093 SHA256 695f1f44b15d038dcb7a76ac57314381f622af8d72bffea9520034c8da0498da SHA512 322eb4cc68c360636f4b2db76697180a9d0ec8afe31f9a6fd00a5ff21817ae49ffa42c1eb73e7e175f8745a489ee5a843a71def1a8d234104331865552f53ad5 WHIRLPOOL 8fefec7b6553136a5cf4a8f8df22ab837085c76400d2b4a1aaaf8888d05c52605b8b440b22d52359c151f7397e593a4cc343e11bf770f656848f82f0e922fbdd
+EBUILD spl-0.6.2-r5.ebuild 2729 SHA256 5e17c20fec94efb4134d09c5eefefdba47f86b84b5d965bf7c2cf41b0da4da9d SHA512 16d98df88cefbe3146a49c452e32a94093344d0585c195d771b1b63da4adf6ff7c7df5f76999638fbbbc5cb7b851a2ce1e605e288e034ffbde05cb37063d3c26 WHIRLPOOL 5d4451eccf90c0817947411facf99c775d9d1e3e72647f37903748aec9b7b42a6f215530a922d9573fe1884299537b49441407e3501376c7513057e5a963192f
+EBUILD spl-0.6.3-r1.ebuild 3040 SHA256 f8ddc586c8107f3b522f219b2f9269831217a1eefdeb0acaf8647dc32e77cc46 SHA512 dd2ebd265f436534fde8873af724d196993ffb080c6ddacd0455010fcf1bad2d2fae9c3b976cae33dfc8acef9af2f07cb14562551964ff6ec8329fc54bdd52ea WHIRLPOOL 3bea884cafd2663a73895eeb7707734add3a27d9017ec69894e86958f20d15e7d2810bfba05e128ca7ead2add78434b464a86263a9a37e5cbf2b86b86fc89795
+EBUILD spl-0.6.4.2.ebuild 2811 SHA256 6b04b3d5049e2d4502cef30ac0bdeb1adcdb849fe9a868091ff98b18f614a1fe SHA512 9c5cf319206f6114ec18adec969558e36ee2aa4deb478775c6c091ac3c645414a0b58cde4a805e56b92c775aae942920a6d901806470f48279a5827ea45e6930 WHIRLPOOL 9ece85b09cd95b44c1c7eb6c4ee9b7af5f7f832746445f2f652844fe3e412cc7d286e9e5c0a66fc2a42d36e256daec2e007d9bae170748340e7b22c9c7fd21dc
+EBUILD spl-0.6.5.10.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd
+EBUILD spl-0.6.5.11.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd
+EBUILD spl-0.6.5.2.ebuild 2801 SHA256 be2e708b0bc6f78706254fafb5e6b28b108273a447f389085c58eae2a8a94828 SHA512 5c61d3c433e0f979d01611d465058395a0b33578bdb35553353946d91ec0634ee2abdea9166d85e687e00dd07477912881e3329f8b63b75521b24a22b51cb7c5 WHIRLPOOL a1a2f285e1bf780c932141d5666b513850679a34055f518cfceb7c9309d1f734e0c83e5f65b748df111983e2148dcd80390bbe8bf9c0cb4f09a5891938d29ae0
+EBUILD spl-0.6.5.3-r1.ebuild 2932 SHA256 742fcc066a6649e05a8320f18c21f07b0962103bbe1611011c82332fe607a61c SHA512 d7651e16a8c33b56fac28c40cc7ea9d53f975dba4da1af820c678c4531940a9a0eb1159dd017deb3c52676e0b0f3669e670a067fd87a76e9b98a345c9a10045d WHIRLPOOL ddaab11b311934d15222c1400757e17fb17370e69980725d7757d84453b0af6dda8a9e072424f7db4df761275e66458e59300da8a3b457af192020b337289ff6
+EBUILD spl-0.6.5.3.ebuild 2731 SHA256 3d5b803bea8409f09a99c21e97193e85e473a8e0da3b943550c3d99c6ac6badc SHA512 e4e8547992095143da2f3c7027fc8798293b6b9119188af7b6ac724941446e58ea6094506a67eb36f434a014a0a2b313e6e81205da5d445ab49b0103d796b233 WHIRLPOOL 225d7a30a939d8237ad82600e2295f5abc1c5aec82327285761a2038a1327cf15208daa18958cb2ad46a81688d30ff867e20097b59df41b4555be1cc2825dfbe
+EBUILD spl-0.6.5.4-r1.ebuild 2938 SHA256 1bec23d12beedf7ff3a09dbc3c653d64adccfab12e4b0ad6a1ab2242ec772aa8 SHA512 6ad88c61234a963318e6b0a9db5009788ac9a829dbcfda5e18c807a19e12b5a8ead15a0b1d501fd4db1f3dfd2227390302f8a7d84fddaa5e214cfe62a3c29b0c WHIRLPOOL 9fc47d6066d498d400cd547d91ad3eef8f895cbadea7c6f096176bb91f7c2da960313ba2a742080d3b5743c1f9b9e9759930e7cdb6345a0885c994e8cbc26fe0
+EBUILD spl-0.6.5.4.ebuild 2715 SHA256 b83d7c9fc2da663f4c51badf4f6a266187b4d089c13825c6c60ac22f357cda16 SHA512 2e01e409044ac381365609abe8f218b8ab92cf24e39d9e0de9cf9deb0368c18e34384b31b9b766e2dbe711c14054968e40d7d568c340b66e6f6e8b0233076428 WHIRLPOOL 6469c5aed67f9d5e9e781b8e3a3569725b1d8d5fe605843a1b73d31d32180f5f83197b08589851bffbcaefe9c8cb227563fd79a9c0bca09373722c41edc586b3
+EBUILD spl-0.6.5.6.ebuild 2715 SHA256 3173a1c0168df300395681819e527280637051735000b2b617abd0c92f9c65af SHA512 1c99c953467b3a0928755688f9fb79765d3aa6a5e554c97be4a96f9cc5315930696a333e7a5e4e77db4e090fe13538b83d7fbb69265ab7fff04991b2899b1aa4 WHIRLPOOL b617d0a738bcef907b762a569a6b3f97c0a4a7659c8578d86fe9c6cb9215e41fdc18e47993b4294d85c5575ebf75ea245e07f1eae8d2d92d1f5971975ef773a8
+EBUILD spl-0.6.5.7.ebuild 2715 SHA256 0532097b0c93dc8db95e4afa2f31d1e4c24e2ff09fa396f61f889ac6c5c6e486 SHA512 cb1aabd8912bf6de3256ef0ac233df8004a6d60a39514b72def60255038a410fe8650368ae052fd8cb9f341d69fa6393e9a85b4c4350bf1bf16fe5ebce0cd38a WHIRLPOOL 39f4f29f235dce68edc47ac9201f6dd4499f729ca1fbf36d66332ca0cc72502d79c2faeef5a13eef37312988f0f046eca820ec09208576edac7826120571edf2
+EBUILD spl-0.6.5.8.ebuild 2715 SHA256 afa48d61c8b4883842eff08472462e3cdcda4f1cdaba2265cb2fa352bb5b3208 SHA512 af7c083979f27633fd33dd60cae7c7b4a7b3efe7bf0bf19edf4a7ba699772e82b1c7d00bb25d2c8c4f7681fe652657a831718f0f8a66ac984a55634fb467817e WHIRLPOOL a5775589727d4bad3778ec69215d4523438d7c71627b711020e08fc6ffd60d685a535ce102ac1c787999d4c7cd17795a1011a492d7124095f956268436cee66c
+EBUILD spl-0.6.5.9.ebuild 2717 SHA256 56ff526b677d27d476a7b3ab32f98a708fa695b46ce2ef04ce1eaee558b4f6e7 SHA512 eba48ac715d2ef1928236e7774688de46538afc640fe30b4650dde7c33b3e54f627429c0578b54cb87926b14b2c27cf1e489d74c83cf80e696c39ad5762bea70 WHIRLPOOL d330e15185f39380d0fa6fdf02acb5d7cfcf049402fc55b7bbab5ba0ec1aeea56818875516f76bd359aef602bd6852aff70010899763cb2ee68f78373ed57378
+EBUILD spl-0.7.0.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd
+EBUILD spl-0.7.1.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd
+EBUILD spl-9999.ebuild 2750 SHA256 f9688965b5634b4230068f29bb968ee5e14b10d192920d65ebb3a65c636f86b3 SHA512 c78c84038509c2547291f86fdf567a5f9365388df20bd37054547c431a552f546904b7412ae91405d52e896dcacba4018e6751330183fa74146c7cdab824b5e2 WHIRLPOOL 35723403c05f0b57199e4edf91c99361997e90b1afa156ae71fe6c222f7ae5f627ecb47e13acecbc28b004a72141016721c2f1cc15c40eb9c8375e7313f0d12e
+MISC ChangeLog 10748 SHA256 7f43e2292109f0e78d4fba1100efdc8f542599774a29e6ce896801dc7677df67 SHA512 b36e5641e1be62a579edc449c882675f4570c0443d0eee4daedad3a494fd814f8dfcbc736cfbd315555e1a9603d5cb95a3fba8e844753c72c2613038fd0428ad WHIRLPOOL d088e4b5ffc56327d4e289dd6331acb90912d3ebd0c02c6a63c50345be650346faa973646bd912a953f4f388368ccd3e5241a14230da7c9f3c1e92ae5bb90abf
+MISC ChangeLog-2015 16325 SHA256 c81ebdd34dcab30fe1b238f412debae6dfe1997ba55b486029321d6bcad7d9fd SHA512 3b265e5b9fdd79eac7946d7f7be229478960491e4467763e56ac4f5b9cd82855f164173bf32c73fb4b1ac4bd8446d68f86a73a40a6210876dfe88ab53d333e31 WHIRLPOOL 98c9f57885cad957a671985fbb469a329599f1ac4b8ae407765917574e412143b1ee8df3fb73e21b73d1394fe5a5da3f0cc252c6b5b8fb8302056207c12d1ae7
+MISC metadata.xml 513 SHA256 ad1644b1d5d04829193792cdc514b02a13bcd76e05a5c43d755ba463f857fe4f SHA512 6a8f7273eda76e5b2f5a96b772ff6a56b7248279b4efea9375d958c2a849d64e6213a7ebb452947c5e4076a4f8e3c612258c6a6ba01007b3d04a51b815fd5c73 WHIRLPOOL 847ae2aa8adbba49dd8a71a19491686c3dff298e990a7d2608e5be0370dbe7cf6381427527ff1ab0f2dd4710e940ded79df522935ba10035d313a9a843e5ed53
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch
new file mode 100644
index 000000000000..e8eaa385c642
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-on_each_cpu-autotools-check.patch
@@ -0,0 +1,46 @@
+From 050cd84e628e5d827a0b345cda12b97253fccd37 Mon Sep 17 00:00:00 2001
+From: Brian Behlendorf <behlendorf1@llnl.gov>
+Date: Mon, 7 Jan 2013 14:09:09 -0800
+Subject: [PATCH] Linux compat 3.7.1, on_each_cpu()
+
+Some kernels require that we include the 'linux/irqflags.h'
+header for the SPL_AC_3ARGS_ON_EACH_CPU check. Otherwise,
+the functions local_irq_enable()/local_irq_disable() will not
+be defined and the prototype will be misdetected as the four
+argument version.
+
+This change actually include 'linux/interrupt.h' which in turn
+includes 'linux/irqflags.h' to be as generic as possible.
+
+Additionally, passing NULL as the function can result in a
+gcc error because the on_each_cpu() macro executes it
+unconditionally. To make the test more robust we pass the
+dummy function on_each_cpu_func().
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Closes #204
+---
+ config/spl-build.m4 | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/config/spl-build.m4 b/config/spl-build.m4
+index f710d8e..6e4afed 100644
+--- a/config/spl-build.m4
++++ b/config/spl-build.m4
+@@ -1312,9 +1312,12 @@ dnl #
+ AC_DEFUN([SPL_AC_3ARGS_ON_EACH_CPU], [
+ AC_MSG_CHECKING([whether on_each_cpu() wants 3 args])
+ SPL_LINUX_TRY_COMPILE([
++ #include <linux/interrupt.h>
+ #include <linux/smp.h>
++
++ void on_each_cpu_func(void *data) { return; }
+ ],[
+- on_each_cpu(NULL, NULL, 0);
++ on_each_cpu(on_each_cpu_func, NULL, 0);
+ ],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_3ARGS_ON_EACH_CPU, 1,
+--
+1.7.10
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch
new file mode 100644
index 000000000000..99227feb04a2
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc13-fix-soft-lockup.patch
@@ -0,0 +1,179 @@
+From d4899f4747fd03be748fd1a589b9db5786fa1375 Mon Sep 17 00:00:00 2001
+From: Brian Behlendorf <behlendorf1@llnl.gov>
+Date: Fri, 11 Jan 2013 14:29:32 -0800
+Subject: [PATCH] kmem-cache: Fix slab ageing soft lockup
+
+Commit a10287e00d13c4c4dbbff14f42b00b03da363fcb slightly reworked
+the slab ageing code such that it is no longer dependent on the
+Linux delayed work queue interfaces.
+
+This was good for portability and performance, but it requires us
+to use the on_each_cpu() function to execute the spl_magazine_age()
+function. That means that the function is now executing in interrupt
+context whereas before it was scheduled in normal process context.
+And that means we need to be slightly more careful about the locking
+in the interrupt handler.
+
+With the reworked code it's possible that we'll be holding the
+skc->skc_lock and be interrupted to handle the spl_magazine_age()
+IRQ. This will result in a deadlock and soft lockup errors unless
+we're careful to detect the contention and avoid taking the lock in
+the interupt handler. So that's what this patch does.
+
+Alternately, (and slightly more conventionally) we could have used
+spin_lock_irqsave() to prevent this race entirely but I'd perfer to
+avoid disabling interrupts as much as possible due to performance
+concerns. There is absolutely no penalty for us not aging objects
+out of the magazine due to contention.
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Signed-off-by: Prakash Surya <surya1@llnl.gov>
+Closes zfsonlinux/zfs#1193
+---
+ module/spl/spl-kmem.c | 94 +++++++++++++++++++++++++++----------------------
+ 1 file changed, 51 insertions(+), 43 deletions(-)
+
+diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
+index bc08a55..cc5961e 100644
+--- a/module/spl/spl-kmem.c
++++ b/module/spl/spl-kmem.c
+@@ -827,8 +827,7 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap)
+ struct rw_semaphore spl_kmem_cache_sem; /* Cache list lock */
+ taskq_t *spl_kmem_cache_taskq; /* Task queue for ageing / reclaim */
+
+-static int spl_cache_flush(spl_kmem_cache_t *skc,
+- spl_kmem_magazine_t *skm, int flush);
++static void spl_cache_shrink(spl_kmem_cache_t *skc, void *obj);
+
+ SPL_SHRINKER_CALLBACK_FWD_DECLARE(spl_kmem_cache_generic_shrinker);
+ SPL_SHRINKER_DECLARE(spl_kmem_cache_shrinker,
+@@ -1244,6 +1243,38 @@ static int spl_cache_flush(spl_kmem_cache_t *skc,
+ SRETURN(0);
+ }
+
++/*
++ * Release objects from the per-cpu magazine back to their slab. The flush
++ * argument contains the max number of entries to remove from the magazine.
++ */
++static void
++__spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush)
++{
++ int i, count = MIN(flush, skm->skm_avail);
++ SENTRY;
++
++ ASSERT(skc->skc_magic == SKC_MAGIC);
++ ASSERT(skm->skm_magic == SKM_MAGIC);
++ ASSERT(spin_is_locked(&skc->skc_lock));
++
++ for (i = 0; i < count; i++)
++ spl_cache_shrink(skc, skm->skm_objs[i]);
++
++ skm->skm_avail -= count;
++ memmove(skm->skm_objs, &(skm->skm_objs[count]),
++ sizeof(void *) * skm->skm_avail);
++
++ SEXIT;
++}
++
++static void
++spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush)
++{
++ spin_lock(&skc->skc_lock);
++ __spl_cache_flush(skc, skm, flush);
++ spin_unlock(&skc->skc_lock);
++}
++
+ static void
+ spl_magazine_age(void *data)
+ {
+@@ -1252,10 +1283,23 @@ static int spl_cache_flush(spl_kmem_cache_t *skc,
+
+ ASSERT(skm->skm_magic == SKM_MAGIC);
+ ASSERT(skm->skm_cpu == smp_processor_id());
++ ASSERT(irqs_disabled());
++
++ /* There are no available objects or they are too young to age out */
++ if ((skm->skm_avail == 0) ||
++ time_before(jiffies, skm->skm_age + skc->skc_delay * HZ))
++ return;
+
+- if (skm->skm_avail > 0)
+- if (time_after(jiffies, skm->skm_age + skc->skc_delay * HZ))
+- (void) spl_cache_flush(skc, skm, skm->skm_refill);
++ /*
++ * Because we're executing in interrupt context we may have
++ * interrupted the holder of this lock. To avoid a potential
++ * deadlock return if the lock is contended.
++ */
++ if (!spin_trylock(&skc->skc_lock))
++ return;
++
++ __spl_cache_flush(skc, skm, skm->skm_refill);
++ spin_unlock(&skc->skc_lock);
+ }
+
+ /*
+@@ -1451,7 +1495,7 @@ static int spl_cache_flush(spl_kmem_cache_t *skc,
+
+ for_each_online_cpu(i) {
+ skm = skc->skc_mag[i];
+- (void)spl_cache_flush(skc, skm, skm->skm_avail);
++ spl_cache_flush(skc, skm, skm->skm_avail);
+ spl_magazine_free(skm);
+ }
+
+@@ -1932,42 +1976,6 @@ static int spl_cache_flush(spl_kmem_cache_t *skc,
+ }
+
+ /*
+- * Release a batch of objects from a per-cpu magazine back to their
+- * respective slabs. This occurs when we exceed the magazine size,
+- * are under memory pressure, when the cache is idle, or during
+- * cache cleanup. The flush argument contains the number of entries
+- * to remove from the magazine.
+- */
+-static int
+-spl_cache_flush(spl_kmem_cache_t *skc, spl_kmem_magazine_t *skm, int flush)
+-{
+- int i, count = MIN(flush, skm->skm_avail);
+- SENTRY;
+-
+- ASSERT(skc->skc_magic == SKC_MAGIC);
+- ASSERT(skm->skm_magic == SKM_MAGIC);
+-
+- /*
+- * XXX: Currently we simply return objects from the magazine to
+- * the slabs in fifo order. The ideal thing to do from a memory
+- * fragmentation standpoint is to cheaply determine the set of
+- * objects in the magazine which will result in the largest
+- * number of free slabs if released from the magazine.
+- */
+- spin_lock(&skc->skc_lock);
+- for (i = 0; i < count; i++)
+- spl_cache_shrink(skc, skm->skm_objs[i]);
+-
+- skm->skm_avail -= count;
+- memmove(skm->skm_objs, &(skm->skm_objs[count]),
+- sizeof(void *) * skm->skm_avail);
+-
+- spin_unlock(&skc->skc_lock);
+-
+- SRETURN(count);
+-}
+-
+-/*
+ * Allocate an object from the per-cpu magazine, or if the magazine
+ * is empty directly allocate from a slab and repopulate the magazine.
+ */
+@@ -2053,7 +2061,7 @@ static int spl_cache_flush(spl_kmem_cache_t *skc,
+
+ /* Per-CPU cache full, flush it to make space */
+ if (unlikely(skm->skm_avail >= skm->skm_size))
+- (void)spl_cache_flush(skc, skm, skm->skm_refill);
++ spl_cache_flush(skc, skm, skm->skm_refill);
+
+ /* Available space in cache, use it */
+ skm->skm_objs[skm->skm_avail++] = obj;
+--
+1.7.10
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch
new file mode 100644
index 000000000000..9ac8a4308dd6
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-atomic64-checks.patch
@@ -0,0 +1,70 @@
+From dd3678fc29d75286b57e705454bbd7e60e1b44e0 Mon Sep 17 00:00:00 2001
+From: Brian Behlendorf <behlendorf1@llnl.gov>
+Date: Tue, 5 Feb 2013 09:35:43 -0800
+Subject: [PATCH] Fix atomic64_* autoconf checks
+
+The SPL_AC_ATOMIC_SPINLOCK, SPL_AC_TYPE_ATOMIC64_CMPXCHG, and
+SPL_AC_TYPE_ATOMIC64_XCHG were all directly including the
+'asm/atomic.h' header. As of Linux 3.4 this header was removed
+which results in a build failure.
+
+The right thing to do is include 'linux/atomic.h' however we
+can't safely do this because it doesn't exist in 2.6.26 kernels.
+Therefore, we include 'linux/fs.h' which in turn includes the
+correct atomic header regardless of the kernel version.
+
+When these incorrect APIs are used in ZFS the following build
+failure results.
+
+ arc.c:791:80: warning: '__ret' may be used uninitialized
+ in this function [-Wuninitialized]
+ arc.c:791:1875: error: call to '__cmpxchg_wrong_size'
+ declared with attribute error: Bad argument size for cmpxchg
+
+Since this is all Linux 2.6.24 compatibility code there's
+an argument to be made that it should be removed because
+kernels this old are not supported. However, because we're
+so close to a release I'm going to leave it in place for now.
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Closes zfsonlinux/zfs#814
+Closes zfsonlinux/zfs#1254
+---
+ config/spl-build.m4 | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/config/spl-build.m4 b/config/spl-build.m4
+index e9695de..8518404 100644
+--- a/config/spl-build.m4
++++ b/config/spl-build.m4
+@@ -777,7 +777,7 @@ AC_DEFUN([SPL_AC_ATOMIC_SPINLOCK], [
+ [enable_atomic_spinlocks=check])
+
+ SPL_LINUX_TRY_COMPILE([
+- #include <asm/atomic.h>
++ #include <linux/fs.h>
+ ],[
+ atomic64_t *ptr __attribute__ ((unused));
+ ],[
+@@ -820,8 +820,7 @@ dnl #
+ AC_DEFUN([SPL_AC_TYPE_ATOMIC64_CMPXCHG],
+ [AC_MSG_CHECKING([whether kernel defines atomic64_cmpxchg])
+ SPL_LINUX_TRY_COMPILE([
+- #include <asm/atomic.h>
+- #include <asm/system.h>
++ #include <linux/fs.h>
+ ],[
+ atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
+ ],[
+@@ -840,7 +839,7 @@ dnl #
+ AC_DEFUN([SPL_AC_TYPE_ATOMIC64_XCHG],
+ [AC_MSG_CHECKING([whether kernel defines atomic64_xchg])
+ SPL_LINUX_TRY_COMPILE([
+- #include <asm/atomic.h>
++ #include <linux/fs.h>
+ ],[
+ atomic64_xchg((atomic64_t *)NULL, 0);
+ ],[
+--
+1.7.10
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch
new file mode 100644
index 000000000000..ee7314d3cf32
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc14-fix-mutex-owner-check.patch
@@ -0,0 +1,33 @@
+From a0625691b39468d04eb716919e237f96a3987b48 Mon Sep 17 00:00:00 2001
+From: Richard Yao <ryao@cs.stonybrook.edu>
+Date: Tue, 5 Feb 2013 16:42:29 -0500
+Subject: [PATCH] Fix HAVE_MUTEX_OWNER_TASK_STRUCT autotools check on PPC64
+
+The HAVE_MUTEX_OWNER_TASK_STRUCT fails on PPC64 with the following
+error:
+
+error: 'current' undeclared (first use in this function)
+
+We include linux/sched.h to ensure that current is available.
+
+Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+---
+ config/spl-build.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/config/spl-build.m4 b/config/spl-build.m4
+index 8518404..4cb7e1d 100644
+--- a/config/spl-build.m4
++++ b/config/spl-build.m4
+@@ -1269,6 +1269,7 @@ AC_DEFUN([SPL_AC_MUTEX_OWNER_TASK_STRUCT], [
+ EXTRA_KCFLAGS="-Werror"
+ SPL_LINUX_TRY_COMPILE([
+ #include <linux/mutex.h>
++ #include <linux/sched.h>
+ ],[
+ struct mutex mtx __attribute__ ((unused));
+ mtx.owner = current;
+--
+1.7.10
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch
new file mode 100644
index 000000000000..5f9a4c698803
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc14-linux-3.9-compat.patch
@@ -0,0 +1,237 @@
+diff --git a/config/spl-build.m4 b/config/spl-build.m4
+index 3dcc05e..6a8e658 100644
+--- a/config/spl-build.m4
++++ b/config/spl-build.m4
+@@ -64,6 +64,7 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
+ SPL_AC_USER_PATH_DIR
+ SPL_AC_SET_FS_PWD
+ SPL_AC_2ARGS_SET_FS_PWD
++ SPL_AC_SET_FS_PWD_WITH_CONST
+ SPL_AC_2ARGS_VFS_UNLINK
+ SPL_AC_4ARGS_VFS_RENAME
+ SPL_AC_VFS_FSYNC
+@@ -88,6 +89,8 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
+ SPL_AC_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE
+ SPL_AC_SHRINK_CONTROL_STRUCT
+ SPL_AC_RWSEM_SPINLOCK_IS_RAW
++ SPL_AC_SCHED_RT_HEADER
++ SPL_AC_2ARGS_VFS_GETATTR
+ ])
+
+ AC_DEFUN([SPL_AC_MODULE_SYMVERS], [
+@@ -1684,12 +1687,55 @@ AC_DEFUN([SPL_AC_2ARGS_SET_FS_PWD],
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_2ARGS_SET_FS_PWD, 1,
+ [set_fs_pwd() wants 2 args])
++ HAVE_2ARGS_SET_FS_PWD=yes
+ ],[
+ AC_MSG_RESULT(no)
+ ])
+ ])
+
+ dnl #
++dnl # 3.9 API change
++dnl # set_fs_pwd takes const struct path *
++dnl #
++AC_DEFUN([SPL_AC_SET_FS_PWD_WITH_CONST],
++if test "x$HAVE_2ARGS_SET_FS_PWD" = xyes; then
++ tmp_flags="$EXTRA_KCFLAGS"
++ EXTRA_KCFLAGS="-Werror"
++ [AC_MSG_CHECKING([whether set_fs_pwd() requires const struct path *])
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/spinlock.h>
++ #include <linux/fs_struct.h>
++ #include <linux/path.h>
++ void (*const set_fs_pwd_func)
++ (struct fs_struct *, const struct path *)
++ = set_fs_pwd;
++ ],[
++ return 0;
++ ],[
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_SET_FS_PWD_WITH_CONST, 1,
++ [set_fs_pwd() needs const path *])
++ ],[
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/spinlock.h>
++ #include <linux/fs_struct.h>
++ #include <linux/path.h>
++ void (*const set_fs_pwd_func)
++ (struct fs_struct *, struct path *)
++ = set_fs_pwd;
++ ],[
++ return 0;
++ ],[
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(unknown)
++ ])
++ ])
++ EXTRA_KCFLAGS="$tmp_flags"
++fi
++])
++
++dnl #
+ dnl # SLES API change, never adopted in mainline,
+ dnl # Third 'struct vfsmount *' argument removed.
+ dnl #
+@@ -2217,3 +2263,53 @@ AC_DEFUN([SPL_AC_RWSEM_SPINLOCK_IS_RAW], [
+ ])
+ EXTRA_KCFLAGS="$tmp_flags"
+ ])
++
++dnl #
++dnl # 3.9 API change,
++dnl # Moved things from linux/sched.h to linux/sched/rt.h
++dnl #
++AC_DEFUN([SPL_AC_SCHED_RT_HEADER],
++ [AC_MSG_CHECKING([whether header linux/sched/rt.h exists])
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/sched.h>
++ #include <linux/sched/rt.h>
++ ],[
++ return 0;
++ ],[
++ AC_DEFINE(HAVE_SCHED_RT_HEADER, 1, [linux/sched/rt.h exists])
++ AC_MSG_RESULT(yes)
++ ],[
++ AC_MSG_RESULT(no)
++ ])
++])
++
++dnl #
++dnl # 3.9 API change,
++dnl # vfs_getattr() uses 2 args
++dnl # It takes struct path * instead of struct vfsmount * and struct dentry *
++dnl #
++AC_DEFUN([SPL_AC_2ARGS_VFS_GETATTR], [
++ AC_MSG_CHECKING([whether vfs_getattr() wants])
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/fs.h>
++ ],[
++ vfs_getattr((struct path *) NULL,
++ (struct kstat *)NULL);
++ ],[
++ AC_MSG_RESULT(2 args)
++ AC_DEFINE(HAVE_2ARGS_VFS_GETATTR, 1,
++ [vfs_getattr wants 2 args])
++ ],[
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/fs.h>
++ ],[
++ vfs_getattr((struct vfsmount *)NULL,
++ (struct dentry *)NULL,
++ (struct kstat *)NULL);
++ ],[
++ AC_MSG_RESULT(3 args)
++ ],[
++ AC_MSG_ERROR(unknown)
++ ])
++ ])
++])
+diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
+index 7c4da67..b4778b7 100644
+--- a/include/sys/sysmacros.h
++++ b/include/sys/sysmacros.h
+@@ -26,12 +26,17 @@
+ #define _SPL_SYSMACROS_H
+
+ #include <linux/module.h>
++#include <linux/sched.h>
+ #include <linux/cpumask.h>
+ #include <sys/debug.h>
+ #include <sys/varargs.h>
+ #include <sys/zone.h>
+ #include <sys/signal.h>
+
++#ifdef HAVE_SCHED_RT_HEADER
++#include <linux/sched/rt.h>
++#endif
++
+ #ifndef _KERNEL
+ #define _KERNEL __KERNEL__
+ #endif
+diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
+index e3538b5..f9c1114 100644
+--- a/module/spl/spl-kmem.c
++++ b/module/spl/spl-kmem.c
+@@ -404,7 +404,8 @@ kmem_del_init(spinlock_t *lock, struct hlist_head *table, int bits, const void *
+ spin_lock_irqsave(lock, flags);
+
+ head = &table[hash_ptr(addr, bits)];
+- hlist_for_each_entry_rcu(p, node, head, kd_hlist) {
++ hlist_for_each_rcu(node, head) {
++ p = list_entry_rcu(node, struct kmem_debug, kd_hlist);
+ if (p->kd_addr == addr) {
+ hlist_del_init(&p->kd_hlist);
+ list_del_init(&p->kd_list);
+diff --git a/module/spl/spl-tsd.c b/module/spl/spl-tsd.c
+index d7749cf..6e5605b 100644
+--- a/module/spl/spl-tsd.c
++++ b/module/spl/spl-tsd.c
+@@ -113,7 +113,8 @@ tsd_hash_search(tsd_hash_table_t *table, uint_t key, pid_t pid)
+ hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits);
+ bin = &table->ht_bins[hash];
+ spin_lock(&bin->hb_lock);
+- hlist_for_each_entry(entry, node, &bin->hb_head, he_list) {
++ hlist_for_each(node, &bin->hb_head) {
++ entry = list_entry(node, tsd_hash_entry_t, he_list);
+ if ((entry->he_key == key) && (entry->he_pid == pid)) {
+ spin_unlock(&bin->hb_lock);
+ SRETURN(entry);
+diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c
+index 4d571c6..dac452c 100644
+--- a/module/spl/spl-vnode.c
++++ b/module/spl/spl-vnode.c
+@@ -175,7 +175,11 @@ vn_open(const char *path, uio_seg_t seg, int flags, int mode,
+ if (IS_ERR(fp))
+ SRETURN(-PTR_ERR(fp));
+
+- rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
++#ifdef HAVE_2ARGS_VFS_GETATTR
++ rc = vfs_getattr(&fp->f_path, &stat);
++#else
++ rc = vfs_getattr(fp->f_path.mnt, fp->f_dentry, &stat);
++#endif
+ if (rc) {
+ filp_close(fp, 0);
+ SRETURN(-rc);
+@@ -602,7 +606,11 @@ vn_getattr(vnode_t *vp, vattr_t *vap, int flags, void *x3, void *x4)
+
+ fp = vp->v_file;
+
+- rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
++#ifdef HAVE_2ARGS_VFS_GETATTR
++ rc = vfs_getattr(&fp->f_path, &stat);
++#else
++ rc = vfs_getattr(fp->f_path.mnt, fp->f_dentry, &stat);
++#endif
+ if (rc)
+ SRETURN(-rc);
+
+@@ -754,7 +762,12 @@ vn_getf(int fd)
+ if (vp == NULL)
+ SGOTO(out_fget, rc);
+
+- if (vfs_getattr(lfp->f_vfsmnt, lfp->f_dentry, &stat))
++#ifdef HAVE_2ARGS_VFS_GETATTR
++ rc = vfs_getattr(&lfp->f_path, &stat);
++#else
++ rc = vfs_getattr(lfp->f_path.mnt, lfp->f_dentry, &stat);
++#endif
++ if (rc)
+ SGOTO(out_vnode, rc);
+
+ mutex_enter(&vp->v_lock);
+@@ -827,7 +840,11 @@ EXPORT_SYMBOL(releasef);
+ # ifdef HAVE_2ARGS_SET_FS_PWD
+ /* Used from 2.6.25 - 2.6.31+ */
+ void
++# ifdef HAVE_SET_FS_PWD_WITH_CONST
++set_fs_pwd(struct fs_struct *fs, const struct path *path)
++# else
+ set_fs_pwd(struct fs_struct *fs, struct path *path)
++# endif
+ {
+ struct path old_pwd;
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch
new file mode 100644
index 000000000000..9f1d692d0371
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc14-no-cond_resched.patch
@@ -0,0 +1,38 @@
+From 58a382c73ad3393d7591421950624e75d3c4aea1 Mon Sep 17 00:00:00 2001
+From: Richard Yao <ryao@cs.stonybrook.edu>
+Date: Thu, 21 Mar 2013 13:21:11 -0400
+Subject: [PATCH] Do not call cond_resched() in spl_slab_reclaim()
+
+Calling cond_resched() after each object is freed and then after each
+slab is freed can cause slabs of objects to live for excessive periods
+of time following reclaimation. This interferes with the kernel's own
+memory management when called from kswapd and can cause direct reclaim
+to occur in response to memory pressure that should have been resolved.
+
+Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
+---
+ module/spl/spl-kmem.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
+index f9c1114..a0ca2d2 100644
+--- a/module/spl/spl-kmem.c
++++ b/module/spl/spl-kmem.c
+@@ -1112,14 +1112,11 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap)
+
+ if (skc->skc_flags & KMC_OFFSLAB)
+ kv_free(skc, sko->sko_addr, size);
+-
+- cond_resched();
+ }
+
+ list_for_each_entry_safe(sks, m, &sks_list, sks_list) {
+ ASSERT(sks->sks_magic == SKS_MAGIC);
+ kv_free(skc, sks, skc->skc_slab_size);
+- cond_resched();
+ }
+
+ SEXIT;
+--
+1.8.1.5
+
diff --git a/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch b/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch
new file mode 100644
index 000000000000..3d5199fb4eb6
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.0_rc14-simplify-hostid-logic.patch
@@ -0,0 +1,181 @@
+From f47f028ae6f039c13d3138e2ee1c0056a3a3f789 Mon Sep 17 00:00:00 2001
+From: Richard Yao <ryao@cs.stonybrook.edu>
+Date: Mon, 11 Mar 2013 21:16:36 -0400
+Subject: [PATCH] Simplify hostid logic
+
+There is plenty of compatibility code for a hw_hostid
+that isn't used by anything. At the same time, there are apparently
+issues with the current hostid logic. coredumb in #zfsonlinux on
+freenode reported that Fedora 17 changes its hostid on every boot, which
+required force importing his pool. A suggestion by wca was to adopt
+FreeBSD's behavior, where it treats hostid as zero if /etc/hostid does
+not exist
+
+Adopting FreeBSD's behavior permits us to eliminate plenty of code,
+including a userland helper that invokes the system's hostid as a
+fallback.
+
+Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
+---
+ include/sys/sysmacros.h | 1 -
+ include/sys/systeminfo.h | 3 +--
+ module/spl/spl-generic.c | 55 ++++++------------------------------------------
+ module/spl/spl-proc.c | 11 ----------
+ 4 files changed, 7 insertions(+), 63 deletions(-)
+
+diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
+index 7c4da67..4dd2685 100644
+--- a/include/sys/sysmacros.h
++++ b/include/sys/sysmacros.h
+@@ -138,7 +138,6 @@
+ /* Missing globals */
+ extern char spl_version[32];
+ extern unsigned long spl_hostid;
+-extern char hw_serial[11];
+
+ /* Missing misc functions */
+ extern int highbit(unsigned long i);
+diff --git a/include/sys/systeminfo.h b/include/sys/systeminfo.h
+index e22a085..a4c1984 100644
+--- a/include/sys/systeminfo.h
++++ b/include/sys/systeminfo.h
+@@ -25,6 +25,5 @@
+ #ifndef _SPL_SYSTEMINFO_H
+ #define _SPL_SYSTEMINFO_H
+
+-#define HW_INVALID_HOSTID 0xFFFFFFFF /* an invalid hostid */
+ #define HW_HOSTID_LEN 11 /* minimum buffer size needed */
+ /* to hold a decimal or hex */
+diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c
+index 3cef489..b8e2ed1 100644
+--- a/module/spl/spl-generic.c
++++ b/module/spl/spl-generic.c
+@@ -52,14 +52,11 @@
+ char spl_version[32] = "SPL v" SPL_META_VERSION "-" SPL_META_RELEASE;
+ EXPORT_SYMBOL(spl_version);
+
+-unsigned long spl_hostid = HW_INVALID_HOSTID;
++unsigned long spl_hostid = 0;
+ EXPORT_SYMBOL(spl_hostid);
+ module_param(spl_hostid, ulong, 0644);
+ MODULE_PARM_DESC(spl_hostid, "The system hostid.");
+
+-char hw_serial[HW_HOSTID_LEN] = "<none>";
+-EXPORT_SYMBOL(hw_serial);
+-
+ proc_t p0 = { 0 };
+ EXPORT_SYMBOL(p0);
+
+@@ -467,7 +464,7 @@ struct new_utsname *__utsname(void)
+ int result;
+ uint64_t size;
+ struct _buf *file;
+- unsigned long hostid = 0;
++ uint32_t hostid = 0;
+
+ file = kobj_open_file(spl_hostid_path);
+
+@@ -511,45 +508,10 @@ struct new_utsname *__utsname(void)
+ return 0;
+ }
+
+-#define GET_HOSTID_CMD \
+- "exec 0</dev/null " \
+- " 1>/proc/sys/kernel/spl/hostid " \
+- " 2>/dev/null; " \
+- "hostid"
+-
+-static int
+-hostid_exec(void)
+-{
+- char *argv[] = { "/bin/sh",
+- "-c",
+- GET_HOSTID_CMD,
+- NULL };
+- char *envp[] = { "HOME=/",
+- "TERM=linux",
+- "PATH=/sbin:/usr/sbin:/bin:/usr/bin",
+- NULL };
+- int rc;
+-
+- /* Doing address resolution in the kernel is tricky and just
+- * not a good idea in general. So to set the proper 'hw_serial'
+- * use the usermodehelper support to ask '/bin/sh' to run
+- * '/usr/bin/hostid' and redirect the result to /proc/sys/spl/hostid
+- * for us to use. It's a horrific solution but it will do for now.
+- */
+- rc = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
+- if (rc)
+- printk("SPL: Failed user helper '%s %s %s', rc = %d\n",
+- argv[0], argv[1], argv[2], rc);
+-
+- return rc;
+-}
+-
+ uint32_t
+ zone_get_hostid(void *zone)
+ {
+ static int first = 1;
+- unsigned long hostid;
+- int rc;
+
+ /* Only the global zone is supported */
+ ASSERT(zone == NULL);
+@@ -559,21 +521,16 @@ struct new_utsname *__utsname(void)
+
+ /*
+ * Get the hostid if it was not passed as a module parameter.
+- * Try reading the /etc/hostid file directly, and then fall
+- * back to calling the /usr/bin/hostid utility.
++ * Try reading the /etc/hostid file directly.
+ */
+- if ((spl_hostid == HW_INVALID_HOSTID) &&
+- (rc = hostid_read()) && (rc = hostid_exec()))
+- return HW_INVALID_HOSTID;
++ if (hostid_read())
++ spl_hostid = 0;
+
+ printk(KERN_NOTICE "SPL: using hostid 0x%08x\n",
+ (unsigned int) spl_hostid);
+ }
+
+- if (ddi_strtoul(hw_serial, NULL, HW_HOSTID_LEN-1, &hostid) != 0)
+- return HW_INVALID_HOSTID;
+-
+- return (uint32_t)hostid;
++ return spl_hostid;
+ }
+ EXPORT_SYMBOL(zone_get_hostid);
+
+diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
+index cd4fa1b..1113cf2 100644
+--- a/module/spl/spl-proc.c
++++ b/module/spl/spl-proc.c
+@@ -506,9 +506,6 @@ enum {
+ if (str == end)
+ SRETURN(-EINVAL);
+
+- (void) snprintf(hw_serial, HW_HOSTID_LEN, "%lu", spl_hostid);
+- hw_serial[HW_HOSTID_LEN - 1] = '\0';
+- *ppos += *lenp;
+ } else {
+ len = snprintf(str, sizeof(str), "%lx", spl_hostid);
+ if (*ppos >= len)
+@@ -1051,14 +1048,6 @@ enum {
+ .mode = 0644,
+ .proc_handler = &proc_dohostid,
+ },
+- {
+- CTL_NAME (CTL_HW_SERIAL)
+- .procname = "hw_serial",
+- .data = hw_serial,
+- .maxlen = sizeof(hw_serial),
+- .mode = 0444,
+- .proc_handler = &proc_dostring,
+- },
+ #ifndef HAVE_KALLSYMS_LOOKUP_NAME
+ {
+ CTL_NAME (CTL_KALLSYMS)
+--
+1.8.1.5
+
diff --git a/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch b/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch
new file mode 100644
index 000000000000..6be0c6d06ffe
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.1-builtin-fix.patch
@@ -0,0 +1,28 @@
+From 991857cac5929fa149820722b8e8cd90f874670c Mon Sep 17 00:00:00 2001
+From: Matthew Thode <mthode@mthode.org>
+Date: Fri, 21 Jun 2013 14:55:07 -0400
+Subject: [PATCH] Copy spl.release.in to kernel dir
+
+Required when compiling ZFS in the kernel.
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Closes #253
+---
+ copy-builtin | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/copy-builtin b/copy-builtin
+index 3277270..cd98b7a 100755
+--- a/copy-builtin
++++ b/copy-builtin
+@@ -33,6 +33,7 @@ rm -rf "$KERNEL_DIR/include/spl" "$KERNEL_DIR/spl"
+ cp --recursive include "$KERNEL_DIR/include/spl"
+ cp --recursive module "$KERNEL_DIR/spl"
+ cp spl_config.h "$KERNEL_DIR/"
++cp spl.release.in "$KERNEL_DIR/"
+
+ adjust_obj_paths()
+ {
+--
+1.8.1.6
+
diff --git a/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch b/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch
new file mode 100644
index 000000000000..e17cbad4ce81
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.1-constify-ctl_table.patch
@@ -0,0 +1,63 @@
+diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
+index cd4fa1b..3cac8a1 100644
+--- a/module/spl/spl-proc.c
++++ b/module/spl/spl-proc.c
+@@ -37,6 +37,12 @@
+
+ #define SS_DEBUG_SUBSYS SS_PROC
+
++#ifdef CONSTIFY_PLUGIN
++typedef struct ctl_table __no_const spl_ctl_table;
++#else
++typedef struct ctl_table spl_ctl_table;
++#endif
++
+ #ifdef DEBUG_KMEM
+ static unsigned long table_min = 0;
+ static unsigned long table_max = ~0;
+@@ -323,7 +329,7 @@ enum {
+ SPL_PROC_HANDLER(proc_console_max_delay_cs)
+ {
+ int rc, max_delay_cs;
+- struct ctl_table dummy = *table;
++ spl_ctl_table dummy = *table;
+ long d;
+ SENTRY;
+
+@@ -355,7 +361,7 @@ enum {
+ SPL_PROC_HANDLER(proc_console_min_delay_cs)
+ {
+ int rc, min_delay_cs;
+- struct ctl_table dummy = *table;
++ spl_ctl_table dummy = *table;
+ long d;
+ SENTRY;
+
+@@ -387,7 +393,7 @@ enum {
+ SPL_PROC_HANDLER(proc_console_backoff)
+ {
+ int rc, backoff;
+- struct ctl_table dummy = *table;
++ spl_ctl_table dummy = *table;
+ SENTRY;
+
+ dummy.data = &backoff;
+@@ -417,7 +423,7 @@ enum {
+ {
+ int rc = 0;
+ unsigned long min = 0, max = ~0, val;
+- struct ctl_table dummy = *table;
++ spl_ctl_table dummy = *table;
+ SENTRY;
+
+ dummy.data = &val;
+@@ -444,7 +450,7 @@ enum {
+ {
+ int rc = 0;
+ unsigned long min = 0, max = ~0, val = 0, mask;
+- struct ctl_table dummy = *table;
++ spl_ctl_table dummy = *table;
+ spl_kmem_cache_t *skc;
+ SENTRY;
+
+--
diff --git a/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch b/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch
new file mode 100644
index 000000000000..42f1f59c7299
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.1-fix-delay.patch
@@ -0,0 +1,33 @@
+From ab59be7bc752481db64df07c821e2ae6bf2ae71b Mon Sep 17 00:00:00 2001
+From: Brian Behlendorf <behlendorf1@llnl.gov>
+Date: Wed, 1 May 2013 16:20:28 -0700
+Subject: [PATCH] Fix delay()
+
+Somewhat amazingly it went unnoticed that the delay() function
+doesn't actually cause the task to block. Since the task state
+is never changed from TASK_RUNNING before schedule_timeout() the
+scheduler allows to task to continue running without any delay.
+Using schedule_timeout_interruptible() resolves the issue by
+correctly setting TASK_UNINTERRUPTIBLE.
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
+---
+ include/sys/timer.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/sys/timer.h b/include/sys/timer.h
+index 13ef404..2542510 100644
+--- a/include/sys/timer.h
++++ b/include/sys/timer.h
+@@ -35,7 +35,7 @@
+ #define ddi_get_lbolt() ((clock_t)jiffies)
+ #define ddi_get_lbolt64() ((int64_t)get_jiffies_64())
+
+-#define delay(ticks) schedule_timeout((long)(ticks))
++#define delay(ticks) schedule_timeout_uninterruptible(ticks)
+
+ #define SEC_TO_TICK(sec) ((sec) * HZ)
+ #define MSEC_TO_TICK(ms) msecs_to_jiffies(ms)
+--
+1.8.1.6
+
diff --git a/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch b/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch
new file mode 100644
index 000000000000..aac1c926bbb4
--- /dev/null
+++ b/sys-kernel/spl/files/spl-0.6.1-linux-3.10-compat.patch
@@ -0,0 +1,426 @@
+diff --git a/config/spl-build.m4 b/config/spl-build.m4
+index 8a8e3ba..da179e3 100644
+--- a/config/spl-build.m4
++++ b/config/spl-build.m4
+@@ -33,6 +33,8 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
+ SPL_AC_TASK_CURR
+ SPL_AC_CTL_UNNUMBERED
+ SPL_AC_CTL_NAME
++ SPL_AC_VMALLOC_INFO
++ SPL_AC_PDE_DATA
+ SPL_AC_FLS64
+ SPL_AC_DEVICE_CREATE
+ SPL_AC_5ARGS_DEVICE_CREATE
+@@ -1358,6 +1360,43 @@ AC_DEFUN([SPL_AC_GET_VMALLOC_INFO],
+ ])
+
+ dnl #
++dnl # 3.10 API change,
++dnl # struct vmalloc_info is now declared in linux/vmalloc.h
++dnl #
++AC_DEFUN([SPL_AC_VMALLOC_INFO], [
++ AC_MSG_CHECKING([whether struct vmalloc_info is declared])
++ SPL_LINUX_TRY_COMPILE([
++ #include <linux/vmalloc.h>
++ struct vmalloc_info { void *a; };
++ ],[
++ return 0;
++ ],[
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_VMALLOC_INFO, 1, [yes])
++ ])
++])
++
++dnl #
++dnl # 3.10 API change,
++dnl # PDE is replaced by PDE_DATA
++dnl #
++AC_DEFUN([SPL_AC_PDE_DATA], [
++ AC_MSG_CHECKING([whether PDE_DATA() is available])
++ SPL_LINUX_TRY_COMPILE_SYMBOL([
++ #include <linux/proc_fs.h>
++ ], [
++ PDE_DATA(NULL);
++ ], [PDE_DATA], [], [
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_PDE_DATA, 1, [yes])
++ ],[
++ AC_MSG_RESULT(no)
++ ])
++])
++
++dnl #
+ dnl # 2.6.17 API change
+ dnl # The helper functions first_online_pgdat(), next_online_pgdat(), and
+ dnl # next_zone() are introduced to simplify for_each_zone(). These symbols
+diff --git a/include/linux/proc_compat.h b/include/linux/proc_compat.h
+index 434ffa3..7b044e7 100644
+--- a/include/linux/proc_compat.h
++++ b/include/linux/proc_compat.h
+@@ -43,9 +43,6 @@
+ #endif
+
+ extern struct proc_dir_entry *proc_spl_kstat;
+-struct proc_dir_entry *proc_dir_entry_find(struct proc_dir_entry *root,
+- const char *str);
+-int proc_dir_entries(struct proc_dir_entry *root);
+
+ int spl_proc_init(void);
+ void spl_proc_fini(void);
+diff --git a/include/sys/kstat.h b/include/sys/kstat.h
+index 9275c1e..da3c589 100644
+--- a/include/sys/kstat.h
++++ b/include/sys/kstat.h
+@@ -83,6 +83,13 @@ struct kstat_s;
+ typedef int kid_t; /* unique kstat id */
+ typedef int kstat_update_t(struct kstat_s *, int); /* dynamic update cb */
+
++typedef struct kstat_module {
++ char ksm_name[KSTAT_STRLEN+1]; /* module name */
++ struct list_head ksm_module_list; /* module linkage */
++ struct list_head ksm_kstat_list; /* list of kstat entries */
++ struct proc_dir_entry *ksm_proc; /* proc entry */
++} kstat_module_t;
++
+ typedef struct kstat_s {
+ int ks_magic; /* magic value */
+ kid_t ks_kid; /* unique kstat ID */
+@@ -102,6 +109,7 @@ typedef struct kstat_s {
+ void *ks_private; /* private data */
+ kmutex_t ks_lock; /* kstat data lock */
+ struct list_head ks_list; /* kstat linkage */
++ kstat_module_t *ks_owner; /* kstat module linkage */
+ } kstat_t;
+
+ typedef struct kstat_named_s {
+diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h
+index 9c52d28..34aea2b 100644
+--- a/include/sys/vmsystm.h
++++ b/include/sys/vmsystm.h
+@@ -74,10 +74,12 @@ extern size_t vmem_size(vmem_t *vmp, int typemask);
+ #ifndef HAVE_GET_VMALLOC_INFO
+ #ifdef CONFIG_MMU
+
++#ifndef HAVE_VMALLOC_INFO
+ struct vmalloc_info {
+ unsigned long used;
+ unsigned long largest_chunk;
+ };
++#endif
+
+ typedef void (*get_vmalloc_info_t)(struct vmalloc_info *);
+ extern get_vmalloc_info_t get_vmalloc_info_fn;
+diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c
+index b7e4b94..4e900c0 100644
+--- a/module/spl/spl-kstat.c
++++ b/module/spl/spl-kstat.c
+@@ -33,9 +33,12 @@
+ #endif
+
+ #define SS_DEBUG_SUBSYS SS_KSTAT
++#ifndef HAVE_PDE_DATA
++#define PDE_DATA(x) (PDE(x)->data)
++#endif
+
+-static spinlock_t kstat_lock;
+-static struct list_head kstat_list;
++static kmutex_t kstat_module_lock;
++static struct list_head kstat_module_list;
+ static kid_t kstat_id;
+
+ static void
+@@ -348,6 +351,47 @@ static struct seq_operations kstat_seq_ops = {
+ .stop = kstat_seq_stop,
+ };
+
++static kstat_module_t *
++kstat_find_module(char *name)
++{
++ kstat_module_t *module;
++
++ list_for_each_entry(module, &kstat_module_list, ksm_module_list)
++ if (strncmp(name, module->ksm_name, KSTAT_STRLEN) == 0)
++ return (module);
++
++ return (NULL);
++}
++
++static kstat_module_t *
++kstat_create_module(char *name)
++{
++ kstat_module_t *module;
++ struct proc_dir_entry *pde;
++
++ pde = proc_mkdir(name, proc_spl_kstat);
++ if (pde == NULL)
++ return (NULL);
++
++ module = kmem_alloc(sizeof (kstat_module_t), KM_SLEEP);
++ module->ksm_proc = pde;
++ strlcpy(module->ksm_name, name, KSTAT_STRLEN+1);
++ INIT_LIST_HEAD(&module->ksm_kstat_list);
++ list_add_tail(&module->ksm_module_list, &kstat_module_list);
++
++ return (module);
++
++}
++
++static void
++kstat_delete_module(kstat_module_t *module)
++{
++ ASSERT(list_empty(&module->ksm_kstat_list));
++ remove_proc_entry(module->ksm_name, proc_spl_kstat);
++ list_del(&module->ksm_module_list);
++ kmem_free(module, sizeof(kstat_module_t));
++}
++
+ static int
+ proc_kstat_open(struct inode *inode, struct file *filp)
+ {
+@@ -359,7 +403,7 @@ proc_kstat_open(struct inode *inode, struct file *filp)
+ return rc;
+
+ f = filp->private_data;
+- f->private = PDE(inode)->data;
++ f->private = PDE_DATA(inode);
+
+ return rc;
+ }
+@@ -390,10 +434,10 @@ __kstat_create(const char *ks_module, int ks_instance, const char *ks_name,
+ if (ksp == NULL)
+ return ksp;
+
+- spin_lock(&kstat_lock);
++ mutex_enter(&kstat_module_lock);
+ ksp->ks_kid = kstat_id;
+ kstat_id++;
+- spin_unlock(&kstat_lock);
++ mutex_exit(&kstat_module_lock);
+
+ ksp->ks_magic = KS_MAGIC;
+ mutex_init(&ksp->ks_lock, NULL, MUTEX_DEFAULT, NULL);
+@@ -456,71 +500,64 @@ EXPORT_SYMBOL(__kstat_create);
+ void
+ __kstat_install(kstat_t *ksp)
+ {
+- struct proc_dir_entry *de_module, *de_name;
++ kstat_module_t *module;
+ kstat_t *tmp;
+- int rc = 0;
+- SENTRY;
+-
+- spin_lock(&kstat_lock);
+
+- /* Item may only be added to the list once */
+- list_for_each_entry(tmp, &kstat_list, ks_list) {
+- if (tmp == ksp) {
+- spin_unlock(&kstat_lock);
+- SGOTO(out, rc = -EEXIST);
+- }
+- }
++ ASSERT(ksp);
+
+- list_add_tail(&ksp->ks_list, &kstat_list);
+- spin_unlock(&kstat_lock);
++ mutex_enter(&kstat_module_lock);
+
+- de_module = proc_dir_entry_find(proc_spl_kstat, ksp->ks_module);
+- if (de_module == NULL) {
+- de_module = proc_mkdir(ksp->ks_module, proc_spl_kstat);
+- if (de_module == NULL)
+- SGOTO(out, rc = -EUNATCH);
++ module = kstat_find_module(ksp->ks_module);
++ if (module == NULL) {
++ module = kstat_create_module(ksp->ks_module);
++ if (module == NULL)
++ goto out;
+ }
+
+- de_name = create_proc_entry(ksp->ks_name, 0444, de_module);
+- if (de_name == NULL)
+- SGOTO(out, rc = -EUNATCH);
++ /*
++ * Only one entry by this name per-module, on failure the module
++ * shouldn't be deleted because we know it has at least one entry.
++ */
++ list_for_each_entry(tmp, &module->ksm_kstat_list, ks_list)
++ if (strncmp(tmp->ks_name, ksp->ks_name, KSTAT_STRLEN) == 0)
++ goto out;
++
++ list_add_tail(&ksp->ks_list, &module->ksm_kstat_list);
+
+ mutex_enter(&ksp->ks_lock);
+- ksp->ks_proc = de_name;
+- de_name->proc_fops = &proc_kstat_operations;
+- de_name->data = (void *)ksp;
++ ksp->ks_owner = module;
++ ksp->ks_proc = proc_create_data(ksp->ks_name, 0444,
++ module->ksm_proc, &proc_kstat_operations, (void *)ksp);
++ if (ksp->ks_proc == NULL) {
++ list_del_init(&ksp->ks_list);
++ if (list_empty(&module->ksm_kstat_list))
++ kstat_delete_module(module);
++ }
+ mutex_exit(&ksp->ks_lock);
+ out:
+- if (rc) {
+- spin_lock(&kstat_lock);
+- list_del_init(&ksp->ks_list);
+- spin_unlock(&kstat_lock);
+- }
+-
+- SEXIT;
++ mutex_exit(&kstat_module_lock);
+ }
+ EXPORT_SYMBOL(__kstat_install);
+
+ void
+ __kstat_delete(kstat_t *ksp)
+ {
+- struct proc_dir_entry *de_module;
++ kstat_module_t *module = ksp->ks_owner;
+
+- spin_lock(&kstat_lock);
+- list_del_init(&ksp->ks_list);
+- spin_unlock(&kstat_lock);
++ mutex_enter(&kstat_module_lock);
++ list_del_init(&ksp->ks_list);
++ mutex_exit(&kstat_module_lock);
+
+- if (ksp->ks_proc) {
+- de_module = ksp->ks_proc->parent;
+- remove_proc_entry(ksp->ks_name, de_module);
++ if (ksp->ks_proc) {
++ remove_proc_entry(ksp->ks_name, module->ksm_proc);
+
+- /* Remove top level module directory if it's empty */
+- if (proc_dir_entries(de_module) == 0)
+- remove_proc_entry(de_module->name, de_module->parent);
++ /* Remove top level module directory if it's empty */
++ if (list_empty(&module->ksm_kstat_list))
++ kstat_delete_module(module);
+ }
+
+ if (!(ksp->ks_flags & KSTAT_FLAG_VIRTUAL))
+- kmem_free(ksp->ks_data, ksp->ks_data_size);
++ kmem_free(ksp->ks_data, ksp->ks_data_size);
+
+ mutex_destroy(&ksp->ks_lock);
+ kmem_free(ksp, sizeof(*ksp));
+@@ -533,8 +570,8 @@ int
+ spl_kstat_init(void)
+ {
+ SENTRY;
+- spin_lock_init(&kstat_lock);
+- INIT_LIST_HEAD(&kstat_list);
++ mutex_init(&kstat_module_lock, NULL, MUTEX_DEFAULT, NULL);
++ INIT_LIST_HEAD(&kstat_module_list);
+ kstat_id = 0;
+ SRETURN(0);
+ }
+@@ -543,7 +580,8 @@ void
+ spl_kstat_fini(void)
+ {
+ SENTRY;
+- ASSERT(list_empty(&kstat_list));
++ ASSERT(list_empty(&kstat_module_list));
++ mutex_destroy(&kstat_module_lock);
+ SEXIT;
+ }
+
+diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
+index cd4fa1b..b8379d0 100644
+--- a/module/spl/spl-proc.c
++++ b/module/spl/spl-proc.c
+@@ -1120,39 +1120,6 @@ static struct ctl_table spl_root[] = {
+ { 0 }
+ };
+
+-static int
+-proc_dir_entry_match(int len, const char *name, struct proc_dir_entry *de)
+-{
+- if (de->namelen != len)
+- return 0;
+-
+- return !memcmp(name, de->name, len);
+-}
+-
+-struct proc_dir_entry *
+-proc_dir_entry_find(struct proc_dir_entry *root, const char *str)
+-{
+- struct proc_dir_entry *de;
+-
+- for (de = root->subdir; de; de = de->next)
+- if (proc_dir_entry_match(strlen(str), str, de))
+- return de;
+-
+- return NULL;
+-}
+-
+-int
+-proc_dir_entries(struct proc_dir_entry *root)
+-{
+- struct proc_dir_entry *de;
+- int i = 0;
+-
+- for (de = root->subdir; de; de = de->next)
+- i++;
+-
+- return i;
+-}
+-
+ int
+ spl_proc_init(void)
+ {
+@@ -1174,11 +1141,11 @@ spl_proc_init(void)
+ if (proc_spl_kmem == NULL)
+ SGOTO(out, rc = -EUNATCH);
+
+- proc_spl_kmem_slab = create_proc_entry("slab", 0444, proc_spl_kmem);
++ proc_spl_kmem_slab = proc_create_data("slab", 0444,
++ proc_spl_kmem, &proc_slab_operations, NULL);
+ if (proc_spl_kmem_slab == NULL)
+ SGOTO(out, rc = -EUNATCH);
+
+- proc_spl_kmem_slab->proc_fops = &proc_slab_operations;
+ #endif /* DEBUG_KMEM */
+
+ proc_spl_kstat = proc_mkdir("kstat", proc_spl);
+diff --git a/module/splat/splat-atomic.c b/module/splat/splat-atomic.c
+index df3b38f..f702196 100644
+--- a/module/splat/splat-atomic.c
++++ b/module/splat/splat-atomic.c
+@@ -26,6 +26,7 @@
+
+ #include <sys/atomic.h>
+ #include <sys/thread.h>
++#include <linux/slab.h>
+ #include "splat-internal.h"
+
+ #define SPLAT_ATOMIC_NAME "atomic"
+diff --git a/module/splat/splat-thread.c b/module/splat/splat-thread.c
+index a1e70db..e55acd0 100644
+--- a/module/splat/splat-thread.c
++++ b/module/splat/splat-thread.c
+@@ -26,6 +26,7 @@
+
+ #include <sys/thread.h>
+ #include <sys/random.h>
++#include <linux/slab.h>
+ #include "splat-internal.h"
+
+ #define SPLAT_THREAD_NAME "thread"
+diff --git a/module/splat/splat-time.c b/module/splat/splat-time.c
+index ca60c45..cd513c9 100644
+--- a/module/splat/splat-time.c
++++ b/module/splat/splat-time.c
+@@ -25,6 +25,7 @@
+ \*****************************************************************************/
+
+ #include <sys/time.h>
++#include <linux/slab.h>
+ #include "splat-internal.h"
+
+ #define SPLAT_TIME_NAME "time"
diff --git a/sys-kernel/spl/metadata.xml b/sys-kernel/spl/metadata.xml
new file mode 100644
index 000000000000..758e445e8e26
--- /dev/null
+++ b/sys-kernel/spl/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ryao@gentoo.org</email>
+ <name>Richard Yao</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>fearedbliss@gentoo.org</email>
+ <name>Jonathan Vasquez</name>
+ </maintainer>
+ <use>
+ <flag name="debug-log">Enable additional diagnostics</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">zfsonlinux/spl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild b/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild
new file mode 100644
index 000000000000..0f727fa171fa
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ MY_PV=$(replace_version_separator 3 '-')
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz"
+ S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 3 8 || die "Linux 3.8 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die
+
+ if [ ${PV} != "9999" ]
+ then
+ # Fix on_each_cpu autotools to work correctly
+ epatch "${FILESDIR}/${P}-fix-on_each_cpu-autotools-check.patch"
+
+ # Fix soft lockup regression
+ epatch "${FILESDIR}/${P}-fix-soft-lockup.patch"
+
+ # Fix x86 build failures on Linux 3.4 and later, bug #450646
+ epatch "${FILESDIR}/${PN}-0.6.0_rc14-fix-atomic64-checks.patch"
+
+ # Fix autotools check that fails on ~ppc64
+ epatch "${FILESDIR}/${PN}-0.6.0_rc14-fix-mutex-owner-check.patch"
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ $(use_enable debug-log)
+ )
+ autotools-utils_src_configure
+}
+
+src_test() {
+ if [[ ! -e /proc/modules ]]
+ then
+ die "Missing /proc/modules"
+ elif [[ $UID -ne 0 ]]
+ then
+ ewarn "Cannot run make check tests with FEATURES=userpriv."
+ ewarn "Skipping make check tests."
+ elif grep -q '^spl ' /proc/modules
+ then
+ ewarn "Cannot run make check tests with module spl loaded."
+ ewarn "Skipping make check tests."
+ else
+ autotools-utils_src_test
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild b/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild
new file mode 100644
index 000000000000..c18cad215004
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.0_rc14-r3.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ MY_PV=$(replace_version_separator 3 '-')
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz"
+ S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 3 9 || die "Linux 3.9 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die
+
+ if [ ${PV} != "9999" ]
+ then
+ # Fix x86 build failures on Linux 3.4 and later, bug #450646
+ epatch "${FILESDIR}/${P}-fix-atomic64-checks.patch"
+
+ # Fix autotools check that fails on ~ppc64
+ epatch "${FILESDIR}/${P}-fix-mutex-owner-check.patch"
+
+ # Linux 3.9 Support
+ epatch "${FILESDIR}/${P}-linux-3.9-compat.patch"
+
+ # Free memory under load quickly
+ epatch "${FILESDIR}/${P}-no-cond_resched.patch"
+ fi
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ $(use_enable debug-log)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc AUTHORS DISCLAIMER README.markdown
+
+ # Provide /usr/src/spl symlink for lustre
+ dosym "$(basename $(echo "${ED}/usr/src/spl-"*))/${KV_FULL}" /usr/src/spl
+}
+
+src_test() {
+ if [[ ! -e /proc/modules ]]
+ then
+ die "Missing /proc/modules"
+ elif [[ $UID -ne 0 ]]
+ then
+ ewarn "Cannot run make check tests with FEATURES=userpriv."
+ ewarn "Skipping make check tests."
+ elif grep -q '^spl ' /proc/modules
+ then
+ ewarn "Cannot run make check tests with module spl loaded."
+ ewarn "Skipping make check tests."
+ else
+ autotools-utils_src_test
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.1-r3.ebuild b/sys-kernel/spl/spl-0.6.1-r3.ebuild
new file mode 100644
index 000000000000..cae6622f754d
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.1-r3.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ MY_PV=$(replace_version_separator 3 '-')
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz"
+ S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !UIDGID_STRICT_TYPE_CHECKS
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 3 10 || die "Linux 3.10 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die
+
+ if [ ${PV} != "9999" ]
+ then
+ # Be more like FreeBSD and Illumos when handling hostids
+ epatch "${FILESDIR}/${PN}-0.6.0_rc14-simplify-hostid-logic.patch"
+
+ # Block tasks properly
+ epatch "${FILESDIR}/${PN}-0.6.1-fix-delay.patch"
+
+ # Linux 3.10 Compatibility
+ epatch "${FILESDIR}/${PN}-0.6.1-linux-3.10-compat.patch"
+
+ # Fix kernel builtin support
+ epatch "${FILESDIR}/${PN}-0.6.1-builtin-fix.patch"
+
+ # Support recent hardened kernels
+ if kernel_is ge 3 8
+ then
+ epatch "${FILESDIR}/${PN}-0.6.1-constify-ctl_table.patch"
+ fi
+ fi
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ $(use_enable debug-log)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc AUTHORS DISCLAIMER README.markdown
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.2-r5.ebuild b/sys-kernel/spl/spl-0.6.2-r5.ebuild
new file mode 100644
index 000000000000..5a152da27c55
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.2-r5.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ MY_PV=$(replace_version_separator 3 '-')
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz
+ https://dev.gentoo.org/~ryao/dist/${PN}-${MY_PV}-p4.tar.xz"
+ S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 3 14 || die "Linux 3.14 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" scripts/check.sh || die
+
+ if [ ${PV} != "9999" ]
+ then
+ # Apply patch set
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/${PN}-${MY_PV}-patches"
+ fi
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ $(use_enable debug-log)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc AUTHORS DISCLAIMER README.markdown
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.3-r1.ebuild b/sys-kernel/spl/spl-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..645d48179d8f
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.3-r1.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz
+ https://dev.gentoo.org/~ryao/dist/${P}-patches-${PR}.tar.xz"
+ S="${WORKDIR}/${PN}-${P}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 26 || die "Linux 2.6.26 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 3 17 || die "Linux 3.17 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ if [ ${PV} != "9999" ]
+ then
+ # Apply patch set
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/${P}-patches"
+ fi
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ $(use_enable debug-log)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+ dodoc AUTHORS DISCLAIMER README.markdown
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.4.2.ebuild b/sys-kernel/spl/spl-0.6.4.2.ebuild
new file mode 100644
index 000000000000..246a8c052365
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.4.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${P}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug debug-log"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 1 || die "Linux 4.1 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+ dodoc AUTHORS DISCLAIMER README.markdown
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.10.ebuild b/sys-kernel/spl/spl-0.6.5.10.ebuild
new file mode 100644
index 000000000000..1a3984b06ec7
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.10.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 12 || die "Linux 4.12 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.11.ebuild b/sys-kernel/spl/spl-0.6.5.11.ebuild
new file mode 100644
index 000000000000..1a3984b06ec7
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.11.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 12 || die "Linux 4.12 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.2.ebuild b/sys-kernel/spl/spl-0.6.5.2.ebuild
new file mode 100644
index 000000000000..a365223f4c3f
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+AUTOTOOLS_AUTORECONF="1"
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+else
+ inherit eutils versionator
+ SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${P}"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_HIDESYM
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 3 || die "Linux 4.3 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+ dodoc AUTHORS DISCLAIMER README.markdown
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.3-r1.ebuild b/sys-kernel/spl/spl-0.6.5.3-r1.ebuild
new file mode 100644
index 000000000000..cefedbe27d4f
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.3-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz
+ https://dev.gentoo.org/~ryao/dist/${P}-patches-p0.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_RANDSTRUCT
+ KALLSYMS
+ MODULES
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 4 || die "Linux 4.4 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ if [ ${PV} != "9999" ]
+ then
+ # Apply patch set
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/${P}-patches"
+ fi
+
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.3.ebuild b/sys-kernel/spl/spl-0.6.5.3.ebuild
new file mode 100644
index 000000000000..3863709af2b8
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.3.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 3 || die "Linux 4.3 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.4-r1.ebuild b/sys-kernel/spl/spl-0.6.5.4-r1.ebuild
new file mode 100644
index 000000000000..5563bd29c255
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.4-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz
+ https://dev.gentoo.org/~ryao/dist/${P}-patches-p${PR#r}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_RANDSTRUCT
+ KALLSYMS
+ MODULES
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 4 || die "Linux 4.4 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ if [ ${PV} != "9999" ]
+ then
+ # Apply patch set
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/${P}-patches"
+ fi
+
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.4.ebuild b/sys-kernel/spl/spl-0.6.5.4.ebuild
new file mode 100644
index 000000000000..03153ad984c8
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.4.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 3 || die "Linux 4.3 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.6.ebuild b/sys-kernel/spl/spl-0.6.5.6.ebuild
new file mode 100644
index 000000000000..e9b4054db990
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.6.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 5 || die "Linux 4.5 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.7.ebuild b/sys-kernel/spl/spl-0.6.5.7.ebuild
new file mode 100644
index 000000000000..d596d575af31
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.7.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 6 || die "Linux 4.6 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.8.ebuild b/sys-kernel/spl/spl-0.6.5.8.ebuild
new file mode 100644
index 000000000000..a8e210883ead
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.8.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 8 || die "Linux 4.8 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.6.5.9.ebuild b/sys-kernel/spl/spl-0.6.5.9.ebuild
new file mode 100644
index 000000000000..30a56d6506ce
--- /dev/null
+++ b/sys-kernel/spl/spl-0.6.5.9.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 10 || die "Linux 4.10 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.7.0.ebuild b/sys-kernel/spl/spl-0.7.0.ebuild
new file mode 100644
index 000000000000..1a3984b06ec7
--- /dev/null
+++ b/sys-kernel/spl/spl-0.7.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 12 || die "Linux 4.12 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-0.7.1.ebuild b/sys-kernel/spl/spl-0.7.1.ebuild
new file mode 100644
index 000000000000..1a3984b06ec7
--- /dev/null
+++ b/sys-kernel/spl/spl-0.7.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS=" ~amd64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ MODULES
+ KALLSYMS
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ !PAX_SIZE_OVERFLOW
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 12 || die "Linux 4.12 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/spl/spl-9999.ebuild b/sys-kernel/spl/spl-9999.ebuild
new file mode 100644
index 000000000000..074b776b6d04
--- /dev/null
+++ b/sys-kernel/spl/spl-9999.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+if [[ ${PV} == "9999" ]] ; then
+ AUTOTOOLS_AUTORECONF="1"
+ EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="custom-cflags debug"
+RESTRICT="debug? ( strip ) test"
+
+COMMON_DEPEND="dev-lang/perl
+ virtual/awk"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-devel/spl"
+
+AT_M4DIR="config"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER README.markdown )
+
+pkg_setup() {
+ linux-info_pkg_setup
+ CONFIG_CHECK="
+ !DEBUG_LOCK_ALLOC
+ !GRKERNSEC_RANDSTRUCT
+ KALLSYMS
+ MODULES
+ !PAX_KERNEXEC_PLUGIN_METHOD_OR
+ ZLIB_DEFLATE
+ ZLIB_INFLATE
+ "
+
+ use debug && CONFIG_CHECK="${CONFIG_CHECK}
+ FRAME_POINTER
+ DEBUG_INFO
+ !DEBUG_INFO_REDUCED
+ "
+
+ kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
+
+ [ ${PV} != "9999" ] && \
+ { kernel_is le 4 3 || die "Linux 4.3 is the latest supported version."; }
+
+ check_extra_config
+}
+
+src_prepare() {
+ # Workaround for hard coded path
+ sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
+ die "Cannot patch check.sh"
+
+ # splat is unnecessary unless we are debugging
+ use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
+
+ # Set module revision number
+ [ ${PV} != "9999" ] && \
+ { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use custom-cflags || strip-flags
+ filter-ldflags -Wl,*
+
+ set_arch_to_kernel
+ local myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --sbindir="${EPREFIX}/sbin"
+ --with-config=all
+ --with-linux="${KV_DIR}"
+ --with-linux-obj="${KV_OUT_DIR}"
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # Remove old modules
+ if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
+ then
+ ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
+ ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
+ ewarn "Automatically removing old modules to avoid problems."
+ rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
+ rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
+ fi
+}
diff --git a/sys-kernel/tuxonice-sources/Manifest b/sys-kernel/tuxonice-sources/Manifest
new file mode 100644
index 000000000000..0de33fb2f379
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/Manifest
@@ -0,0 +1,122 @@
+DIST genpatches-3.10-105.base.tar.xz 1375752 SHA256 c437175adcb0135ca69ef08e6439f9d5996a792e709b84d425f489e41ab5a711 SHA512 3b32142e08bb4e3f8dca2764283326ce659eecb28c43a669e276eec65400aa4194fdab434b29352e8b70dc01e443fea35534171bf99a270fa3b757068e2b0c90 WHIRLPOOL d114c64ec2ceac597494774b18b6e6e73c7fddbb3cbba4c34f19f40cdc6dceef00a231e8d0a242cca320bb2f3be32556e0b188160d16177b09edf940c537a67c
+DIST genpatches-3.10-105.experimental.tar.xz 60156 SHA256 855c1e33dc01d02b83360882e73fc8b074fe08812c2d937b0a44296d558d48f3 SHA512 0f7e22170170c18c4037400ce9de6298aec39bd20a37f05bd2cc25d638ac9f35a6d29fdcf6fddaae5ffbc05c3d591be9815e7bfa6f003a7bd4d134412e3f4868 WHIRLPOOL a090f08a555aac35ff98f0c132ba82f39ff2d670eafaaf3308bed3294cd6366deb44c3e0f4bcffcfbf1e21c3a7cf69e32db9b26508c06d09ba94f2c7e0f79833
+DIST genpatches-3.10-105.extras.tar.xz 17832 SHA256 8c1be1873d2f220c9186fa5a1c65549220e5831ab3e27b044590186ba315e1bd SHA512 3659c3c5f00602cc902aeef2f4d1ca46ea4b4ae1ad947fc0fb2774d0299a5475caf56815026e40867eb1b12f4ebb3fef85fc4cc682a08fd6743fa0125f53bdf9 WHIRLPOOL 15a97ff6f24d9a14480a11d6ff0be90b7ed63c1165864812837750b466ed7b53a9eae3a1f8ba513c63fc895983f6b65e67b04dd7cdd48e0ca26b1be7be62a1cd
+DIST genpatches-3.10-106.base.tar.xz 1383744 SHA256 c98068b044a0d304bf07e3f673ba8e5da867cb6d9a5d35a61368e4b767d0b3ba SHA512 46c938deed26a295fb66cede7e753d9b6c5a7e484c953a3cba25d8a6e3199716be85139878e417cae97e854a34da0136872a1311a0778ba5c7acc34f752732e5 WHIRLPOOL 0def5ae5cbe1321b4d2554a005d1528fae674efbdc41d5642b727fce315a820553625eb385069689cfd74bb961a505f0a981a24fdb6667253f599c354e7d24e1
+DIST genpatches-3.10-106.experimental.tar.xz 60156 SHA256 855c1e33dc01d02b83360882e73fc8b074fe08812c2d937b0a44296d558d48f3 SHA512 0f7e22170170c18c4037400ce9de6298aec39bd20a37f05bd2cc25d638ac9f35a6d29fdcf6fddaae5ffbc05c3d591be9815e7bfa6f003a7bd4d134412e3f4868 WHIRLPOOL a090f08a555aac35ff98f0c132ba82f39ff2d670eafaaf3308bed3294cd6366deb44c3e0f4bcffcfbf1e21c3a7cf69e32db9b26508c06d09ba94f2c7e0f79833
+DIST genpatches-3.10-106.extras.tar.xz 17832 SHA256 8c1be1873d2f220c9186fa5a1c65549220e5831ab3e27b044590186ba315e1bd SHA512 3659c3c5f00602cc902aeef2f4d1ca46ea4b4ae1ad947fc0fb2774d0299a5475caf56815026e40867eb1b12f4ebb3fef85fc4cc682a08fd6743fa0125f53bdf9 WHIRLPOOL 15a97ff6f24d9a14480a11d6ff0be90b7ed63c1165864812837750b466ed7b53a9eae3a1f8ba513c63fc895983f6b65e67b04dd7cdd48e0ca26b1be7be62a1cd
+DIST genpatches-3.12-53.base.tar.xz 1623416 SHA256 e7b342187a55e740d117762763c25294a6c891258c2433ce979b46eab1c4726d SHA512 823445cd4d2738013b4d10272df3fe3256015e5cce7ab9ae54aff44932253b3ff3d64fc12ee84e602d431ab9554e2be0ff0b5de2869b555ef7184784d08982d7 WHIRLPOOL 6ec4436f8e86786e3fa5deef0ac72331c6d671347656b428800f486fbe865754f1581883bb80af6cf90410f092b3cddee8be7450f42a12ddef73f9bd957c79fc
+DIST genpatches-3.12-53.experimental.tar.xz 46540 SHA256 04a304ad40a76ce89f24a8c70bfd914a02d1f4e70b88448c11b4ddc22b8f04cf SHA512 8471d2e40ab801714414badbcc00284b31f62d1309cb687d4cc09bb1d41c12e90aa8d9b0988202dafbe5405fced85ad8b7cc17dce2450e63954a9d772ad814f2 WHIRLPOOL b4c19303e9dada432956170facdf486d2a72add65c4555b6240a9487f4adbe39872a6937ce4debcd45ab7a919b0955a6bc79d4b233ca1c2c411ec85808cef6e9
+DIST genpatches-3.12-53.extras.tar.xz 18232 SHA256 8f451469c4dc1d0194856d29b9fda0ff257042a83e8b7b28240dd3f0ab8c768e SHA512 dfcd477899997a1cb5b44ab2eb5e1139eff21eb06f1ac7f14f36fd926955588320cb7398bcaa8c9bc83477bf413b7b7b29e91d940cbb4b88f3bdcd7f96e45cb1 WHIRLPOOL 76c856b7456e327dc1e79f9769858f3139166da866847a2ddb488a26e10c0a9db395b04f17a8d8275df4750ec279cdd9b62ebfd44c162cd5100eb34a3e836520
+DIST genpatches-3.12-55.base.tar.xz 1665580 SHA256 3c3bfa0eb8f94287cab4e329aec6bb473d63aa65a333fe05018e23b3e080f994 SHA512 3aa80debf369385583ad1999c16d36bcc171b488b4e8393d03c8e408c40144e367d4cfeda00cddd32739cd3b49a69062e6b5893abc4b0698ecbe98ec09b4dec3 WHIRLPOOL aca2cec640cd133610099d6898e57ae4c44bc9ca33abfa6214d471c84a9b28706a860fe424a53d0674a143a0272c2cb1013fe51451e86004e6666865f1490c41
+DIST genpatches-3.12-55.experimental.tar.xz 46532 SHA256 210372665b5760fc3752de496e5fffc21fb2a633738d907536a9f92792bb69ba SHA512 55107c3ebf5690f19b24d774115f05da70a0c9bdadeac4a312429dc250544714312ecb98fb7b825173bf5616ec8827d42ea1507adf54eb092df36735e1a8195a WHIRLPOOL 1a197d20287576b8f4441a0752733f9478ee4eda302bc267e22d86e6df4cd77973363db05e2d8154a3ce4b7e213dab35cf893ac5b45ca6cacab8b9fb655ab638
+DIST genpatches-3.12-55.extras.tar.xz 18224 SHA256 31561fe630fe1d46df4688b0f75adc392180ab1f898e1ef380ed61a87b3e86ea SHA512 adf04d50dfeb6ae3c1a13c49aace9477c954b820a69128ff9eadbb0ff2387a3e3f2aa9c089a247db7f1e02cc41c31afec783230918cc4ee24e0eb0d593724dd7 WHIRLPOOL 63f59b1e756b8df2789329cf6d425e5ff906d9c20b035fc8e9530495fde6c894b3075ac5f47eaaaa32264276086a3970016e34f772aa5bef7ed3777a51808241
+DIST genpatches-3.12-59.base.tar.xz 1699752 SHA256 2073115ec6a54b2bde1d4de599f4e9771e8a7e98b427373af06c671f53aee69f SHA512 83d7c443fdb2c58c15ae5c47d22d0d6fbc2a7b50cfd519425043bd600b0d66920cecda77b3fbe8e5cb7e52eb7e2cf4801386351363773f0038b9df19f7d886b2 WHIRLPOOL 654b1761c599a56858253e791b9c8b9a160d240cb4e5d5e1914661e79280d89432e0e7573cf717704749c1d288d6c8827fa9c0bc8ec67607e7c0a3e507fed7ee
+DIST genpatches-3.12-59.experimental.tar.xz 46520 SHA256 0d4c5c22f65bc52909c63e60efed08007dd58296db4c8f19309a01da5f8a0b68 SHA512 53a4b195703ff3d91c6c43c26a7028933442f80fc31d7f4b1216ae1005783cf26bfff1655b937d9ffae193ccf563366e196732155f792d1d23dee855db074323 WHIRLPOOL c08ea27cc4986fc4a03fe37c3ce162647592370575325569deb352a3392b9d0500f4e02bee53e5a22af3a213152cb636706ea667f148d5fa22478c52213cd1df
+DIST genpatches-3.12-59.extras.tar.xz 18236 SHA256 544b0f36cb7fa0394810d6c92e29840743f16b61cf64f90dc454ee36e51d8f74 SHA512 905519bcd6c9a77cef8682a96605a4dc9735b964498730b7c3ecba2078e68aae2c9b56922d2b47fa57fbdab2c1f4dfb67cb704feb0c634ab215b09cd5e768725 WHIRLPOOL f5c53704859e9f95f8b38f0617eb2695daed9f09619754aa19631a96fcdb8edd51e602a682b4b7b26cda1cb3b392a0586a0b2a39582d3382ce0e48a84c41ab78
+DIST genpatches-3.14-71.base.tar.xz 1213408 SHA256 f3fb5a05b4577e0554d3d5dd41924e4421ce8c1200d740b54e2fe15ef56fdbfa SHA512 75cbfe9f4b40ef5541ce28cab4fe33d2e15ed3747f4efd74cc7d3dd01fc5b453c3d81822111039dc2646b6cf1a36247ac2c0226d0353c4a28223610b33bc6144 WHIRLPOOL 57c44deeb42b408905c951d5454f6ec09bcf9d99df13d4172d38134792b526da560c3148cf310e4c1bc7b5671ec2d914af2ff3b108839c2c9c11e909b1b16d35
+DIST genpatches-3.14-71.experimental.tar.xz 60312 SHA256 3689fbf3a40ab79577f952b445dd13fa386c1a26197d37d40ae3c588a3ee9996 SHA512 ae770259c6c4d7c6ff3d05c5d31502d038857d80c1ece73eb92e7ac6ee03ed830e84f9dfe38cf1216a466dcd47bcdbb328dfb0f172af641ee5f0a149f6696aa3 WHIRLPOOL 8168dfe27b903bee30c1edd64ecc697d7bc267b57cc6a240d011350315320c0d27e435c53064f742bbd275914d48b17403d5d048a9a78ada986ee5ef737dbfff
+DIST genpatches-3.14-71.extras.tar.xz 18252 SHA256 e60c221626703cd62b45fe1f876c075929ab14ab8033bcd78953aa36e9c437d3 SHA512 0830c92ffe2503c07b009f12947c474b211d307f47492050cf0d16aad77521e8fc1a9818b42b55e2e1b8ffe3be69926e0347ef5a8da82b63cd0cceb430f5c015 WHIRLPOOL 004232fe2999259c74eee472ebd937adb6cce2984e9d2f97348370efd8451a9ef2decf755cc7d85061d7c9d35ae0bb7b2da1f3160ba0ed69c3d74466e2f13757
+DIST genpatches-3.14-74.base.tar.xz 1243396 SHA256 9d599dfc142c10685235ba6f3b9ddec2f29168249867946c446e07231c7c3250 SHA512 87528eca7536060c0e3110060e9971a82d81b2c92450fe1b499614868858711b64362b6f59382ff3ea2d5070e119803bc7a004f64eb10293f48097f6d41580be WHIRLPOOL e29ea68a95136a8943cb8bd862519f7532a610951140072090c8ca5f407495fdca36cccf3862cae57fbefe2eaf84d0a940eec6067b98261f5b58190489453e73
+DIST genpatches-3.14-74.experimental.tar.xz 60288 SHA256 640a99636a2318044fb0b88f03328d3ee25575d41b6b9023cf2299fe6e641817 SHA512 e2b6c8c8f031edc58e8acaf24a2115b13916aa9631ac87297c8c5274ed292f053ded923148f1c5d575b4dbf034be2e99da9154db44def7cd411a12e7d60c2828 WHIRLPOOL e07bbdc3b5e9b88eefb51cbd2989cb1d87077b12c6a3022abac9ac1f8380f457b0136f453e18f7bc6bd308bdc34465f6980186a0546ce536dac0a3aba0319c99
+DIST genpatches-3.14-74.extras.tar.xz 18256 SHA256 46176515b313e4509fc764c22831fe01c8791c489fb3270e053491c2acb05fcf SHA512 f5c2e37cdf8f92807d68e666deba75daf49a2e278408b06ccef7f36f292863e6a7509fc6cf2bab9efec4fc6b7f9247cf10011844cd7abb3df2e4e61ead1ede18 WHIRLPOOL 1bede717d10f75c6f77f782f110c8742099b590bd2f5b050103f64f4032e1e1830d863c6213b2e1829a03977526821240c2a4bc00f2378d2f6a0c74c834c8394
+DIST genpatches-3.14-77.base.tar.xz 1259316 SHA256 db309543258c9077543cf1888d9ccbcfc2a7366cbea2fc636fee0c5864e00e56 SHA512 5a404ae28a380a98b4b8beda5c06ce2bc10d1fb86eea392cf48bbab17476be37e6ac53cc02f167768c46c39e46912dcb077f96e0651685438f32b9057939b731 WHIRLPOOL 6810b3abe59c1ccfacc1978a5c82d2e7a0a013141c2245acde71df5b97dd959835c66133bea52f2265cfc2cf21b5a9d20b1122c7df780a5bf3bdd568ab8360dc
+DIST genpatches-3.14-77.experimental.tar.xz 60292 SHA256 44bc6afb6af5db8d7da0628c519acba0f2565c1f67335309f7aca2416570f27d SHA512 7c4c8aeae9cf4fe69ea55214229f3790b8ad782d3eb0c220c7c84ba113d153e06e232779aef98f583484f40c9afc026e7a45e0859c0e54c28ff163d0471563d7 WHIRLPOOL a13db6a5b8c6ea41ab5291f9536500de8057c15e8d09476095ffbe5d9c94b861c4e3f94168fb497307ffad6a815ed37c6a331e7c4f90bf71959418379b60ca66
+DIST genpatches-3.14-77.extras.tar.xz 18252 SHA256 f191ee0fcc046e004737147c51d3370f2e1e43b0c9536ca45ae67d5eb24df668 SHA512 bfa3d7ca662dcc9d711665e8eabcfcd1b73af5e41dc65dc5c48ecbb92a6d10160db0ae078531efc250f680526ff7645f79670d17692f870d94442e0f7cfe2f7b WHIRLPOOL 62e5d0193e590e271e6ad74bb61b1c81fe4733ba2f62041e91aac90f47fa028bcb3f41679fd5674ccd18718a1926d19ff09fd476cda5df68105448b542d47d29
+DIST genpatches-3.18-29.base.tar.xz 852488 SHA256 4ed8283703e5e04ea37a78d6963fea7cef64a0fd597a317243198458a04bd834 SHA512 7c5c64af789d34657ebbd1a935fc4cb8776abbc553464f7c1db8d37f40f5ab98353b0059680ca3b0ba8818ee17bf1f92762007be7dde9b46b200c4121af5c024 WHIRLPOOL 4fe7604db3f46afde79d97ebcb6a6aebd8c26351906d5f24d171a8677b500ebe588d36bc435f033cb20b740e145bf73ea543371b79b70c77347d3f8df2ee6da9
+DIST genpatches-3.18-29.experimental.tar.xz 61616 SHA256 b8e29b1b0c5fa2296c19d97c6ac8120ab0c82f1b1757a6108237bc1828cbe1d4 SHA512 03bf2c10db34bf5d9272bc2a67ca9a44accca88c6cf95ad9048fa327ce6e0dd1f287c1cec67aa6328947c5e4c76230ba4651105142e7c8622d085777227846b2 WHIRLPOOL f43ed71e0974cd6f7377bbd3841d7ab7c2c474beb5fe243371bf7a676a3748fb468dd8d8de72923ef5e81dda455e67b073de737f1a82ebd2ee0a2ea2a68ddd23
+DIST genpatches-3.18-29.extras.tar.xz 16188 SHA256 c61b357d33623eb5f7ab23d5f7bb6723fd57f088f7d9d1ab7b5d17b7d3272a2a SHA512 3067d8a224f347d77ba62b938217cfabe5d4991cbcaf52602ecef939ada9dd723126088c92c232f1bb73f81d0f4480cbcf2fab11bd109b2bc4a59afad7558965 WHIRLPOOL 0540b005c4ec987ebae1a0e74eb5d8c38388c4c86483f819b26b82bafa90474d6c24dc903038af1d021889bb41a3077d506a5983c0a99eb9a40b884dfe77e5eb
+DIST genpatches-3.18-32.base.tar.xz 924968 SHA256 e7eee3593049c30fe5a956c4575d0c4285e2fa36339c447ae73edc0c37d3cb90 SHA512 39c46963dbbb6eb60345cffbff7748389894f3464eca78ba01ca72c95e70132e193babafa7a9e958c3f67af1e4ba4846cb132cda948719367dfc6159f653a477 WHIRLPOOL 13ad5fe96c48083c2041f8e874a4d9b8dfcf75f566fea3a6276f9ddd46001be2488329675a67a4a5cb30745cde8aa896fc1a076c7fb79e9fb66be1e541405f0c
+DIST genpatches-3.18-32.experimental.tar.xz 61620 SHA256 a1efa05802be33231e54ef1653da15923d219229e7e1d50a4b19396403554845 SHA512 4f97dacdd7be51c8be1567baa7296eaf6b5abe68a905e94a7fe2901b88377f54f7b9efc2a23e70accae8bf8823d4c9af18da31e5825b649dc6f74f991d22873d WHIRLPOOL eea0c5950b0c1f6c9d3f15c0f9460eae82e7e9de2d0451cd33bcb1ab2136584d57722507f38494b7ce84c5fe1e8991e78f468c3d4df69d1eda8638b78565e3c3
+DIST genpatches-3.18-32.extras.tar.xz 16184 SHA256 25193cdecb894bc1db12f0be25b29a158145618382c00f31f061e3acc6bca97e SHA512 0f0819e680506b8135606d0dd6f9ec9b1bac62b881fc082f0d30dd0fa7526a244949c3f70396e0950f0016c463211990860e62930654536c176d272024c5ae18 WHIRLPOOL b4ce40eb9f9540809bfaa98f16ee8884ca842813aedf8c2abb0860045c67a0f446dab256cb25cbb3cc7a32ec19557cfdc9fe8d240b8519c20423348673294bf7
+DIST genpatches-3.18-34.base.tar.xz 955368 SHA256 06276eeb381cb4ac17e2c34937befe5b666d67b514c1087103de54ffbfd88acb SHA512 cfe1edfba6d4b2ac13b8b338b4eac163f93d1859c5eefa1d5addb2fcb431349fe902f2b407133b9ebf405cf57cd719177e5a899d50db7921eec650633650d694 WHIRLPOOL 34bec6f26863cd7927c5b12a4a5a056006b3592c36244d879d7293d78e092d172a0f35c58ec9a991952e2ba056ce9f52f4d296032352d843c0092a192f8e57b5
+DIST genpatches-3.18-34.experimental.tar.xz 61632 SHA256 bae4d7a3205806a9d7e4beda9c09683af43f77aac919c47c291d564cef2b07b4 SHA512 60398350b09698886d4402742809aeabf7ba9102fdac121de4bb1bcef2737294b5b7e22948158dde3205d03e722b15623ec2db92a243da0d68c48a7232c8b5fd WHIRLPOOL 701796835da1850ef0274922f701b690c4a9c4016d569630c14442769dc7233cf4e8ce7b5705e78c2f7cd8b3807a94bfa83db553a1d7f72f38bac83a9496918e
+DIST genpatches-3.18-34.extras.tar.xz 16184 SHA256 286b48e55e1c3fb3562ee60e9653e1ba7a827c497a1ea3a27c20719661b93931 SHA512 265c77c8299601de56315a90913bcb9367fddfa91af78bf5812c292e1609655a6d58e925d476335476eb260cac2d94ae359766a79d022525bf2efd5574f3bd86 WHIRLPOOL 9805d525ce9832467b5c2ae72897b075e0f65c451c9ce8d52bde85d5541416f3bf5692987341b0b66a28d17bf378176e3dd31e02c0d454f34120f6fac716ba55
+DIST genpatches-3.4-93.base.tar.xz 1412220 SHA256 dce2f6bce8058560fb4f005729a29fee9c6846147bca986b8b44d1554b78f0eb SHA512 0f0cf52185a8a49f639a1f9d3ff302a72fd7cbf4403f7f5626c9f39c3f4e2e5ea69f402df429b0b3341655d9b7a4779b738f5d5fc6ecde3799861e0b6efb8cf4 WHIRLPOOL ac2b82b6e749b945b79d2c21dc3081eaf399aafef80a3fc49ee71dc1f7ee753bf406d6e93bf2142ee4b25447e0304800de0adb9911274dc37172a9a9c63d624f
+DIST genpatches-3.4-93.extras.tar.xz 18236 SHA256 c59bbc018e3c7e71fb655c5e33cbbcc3077dedee08553c287624b175c83d0811 SHA512 61e74164a8de8646d4d0c1cd1592eaeb8f5747f0e03557a78349d8cd2df7e924f012ae4904e14210ab56eb3f1f04e8610818ee05e4b5a51b325a42ded9876e66 WHIRLPOOL 42876d70dadac671875e7dc129020ed04c91ea99f40972cf87554accbe1d5e1651cca02f5e16e30654dabdfc1d15771eab8908a64376402c3b1639164b10258f
+DIST genpatches-3.4-94.base.tar.xz 1442072 SHA256 293f0f2df75ccbee6e2ea2c4b20b618d47921d9e0801cbe6f80d47b728b3af0d SHA512 3980eb6b57729a14ee08f804787c11b41992d3ab5fe5d318aa2e811dea0ac465e2605a02badeaf76f503bd7ecbf3657f02985621faec5d2e3eba99b0785a074c WHIRLPOOL 2031c8d4ec1513db5b8c40ecbd7d584faca0466db38d207b46442c54bdece16198c6f85fe30f7215a14521bc0fa9b5241de621a4c69472d3dbe23ffac2a01b8c
+DIST genpatches-3.4-94.extras.tar.xz 18224 SHA256 3f4602a3fea5533108a09063968a5812d819767b7741978cac7a8faf9a2e3835 SHA512 eacfad1cf5e081dbf8406ee1ba423e2f0856a1b31c7e379f182154068e854ab9750c451910eb427fde65359241ebb959e156428428ae459ada9579e6faad8982 WHIRLPOOL f42921453bcadce7457a1d44583e20c156bc73d05454060399f1cf9759b007c520ca6cca9525e04139541fef1ee6195213cfe87faafb7eeaf57ac33003131c8c
+DIST genpatches-3.4-95.base.tar.xz 1463092 SHA256 9863107c059d597e5126ec025b464d6af167125b6a72f02cfbdb462198d7a193 SHA512 7e0fb0c5ee1b60cc99d6ac233db551f65e2518d1133aa8c58dc33c3096a31e7ea73b7ac12b6f7072083a601a24d394e4594ee1615b8eb20173cde07b44db0b50 WHIRLPOOL afc6555e409152658bd919bff1e7828c1a86f4df146aefbce40e1a85740692c11f573863f7da8034c6da184ffc02c22854e2024cd8673d8891c966d0264222fa
+DIST genpatches-3.4-95.extras.tar.xz 18232 SHA256 93a4cf21c8ade507bcfb0500fb7b1e73e324a817b906e5060ff46be18bcd485f SHA512 12ae9f224970cc92eede0b87cca2db9b67d093fd0228105ad4fb4a3914206dba6d10299a5d6a0073521f03141456b4a5be795d54d9d3aa5ed346c014a8fc356b WHIRLPOOL 599c698e464ab7bfe641ca1fa2ddab6be087ea67dc055e43971908d2e860b150f8625335f3648ec9dc0553f6fb92928d8c2a3308c73744b73c39a02d3a6f014a
+DIST genpatches-4.1-24.base.tar.xz 620668 SHA256 14d5324609a89e6636a3aab39a95f81b26e701f63fa4beb54220ca8f3549dadd SHA512 a4e8c4edf15b478af710e782ea3ac96cfae866cc48620577d9f9e54749927b9c2c8292d9340fc4ee48b8da2454c113075f9769507d045a7ca1f49096eeabef96 WHIRLPOOL 0bd26706d679d061f4c3b198d24f25b419da6f3205f9a773d421b701a59ee706e724c142e720d5714e80ca9d452c969832f7b70ee2e7673d445bf629b6665329
+DIST genpatches-4.1-24.experimental.tar.xz 61620 SHA256 0f831673b641250e8d0476b9929585d4c7d026a57e116ebb33d6468142bb069a SHA512 e8af23ee0e311f5318a7154fc21115d4317874ce432e3e81a15864dfe63df4c2a91e952978137b66f29c6e0e8ab55ba263f11dc373df67cc5dd42c3b6b11a256 WHIRLPOOL 5991370e7b3b9cc0572e70ed16383bb54673a058c0c5da33aef01c2d404847bbc8f7b14cc5a21cd42ad3e9430ba59e13d8607c6792a9636ad1845ed60480f04f
+DIST genpatches-4.1-24.extras.tar.xz 16168 SHA256 90240374d40cb005f497b93a4417b849911a4006767caf8e75c5629864d101c2 SHA512 144cdb740f1d35dd5b61628081c29fe7fa7a1655192fdfbce1aeb279583dfcb532134f64e4a4daaffed782d1bebec04ba9838e624a59dac8d78776bcdeccf8ba WHIRLPOOL 1a265e06d2707c222fd7f36938374afba695b7938cbeccf50646f9a036253b478495fdd22ae052e4bc5e9afabf9de9bbdc35e6a453ee43abfc064047ef0f63ee
+DIST genpatches-4.1-27.base.tar.xz 722704 SHA256 b0ffbc22416f07a7d6e9596908327d2cf20d5da1301072eef26aca6368eff343 SHA512 42ba344b4563060c12255d175931874a4894fade2f4277563393779ac6ffbe7e518ef0167f59d3fed3c6bc8572d2ae6930db064047c228fbe5d74194ced20e58 WHIRLPOOL 6041b94868f45d2dccc5a5e11e3080a32f4fea56d0e83fd3da7dce57220d00586dd73ddac6c1a23b9017eead31fd5ca0b54a5ddd135f3ca6913b64de3a3f7c62
+DIST genpatches-4.1-27.experimental.tar.xz 61632 SHA256 4bb92ffeea910c385e7461bff112db5c1285394908947043932f1c8d8d97751c SHA512 416ffe679342798b6bea83f15e4fec240eb60a77b563f8f77e79a7e8bd34f86da334aa74f8c74871cc6a66b1bbe5fa7db592991eaf2b1c458b0148b9b8a3ef09 WHIRLPOOL a47a9740d879a4bf6a27f9779bb503ea7b5f0cf4c727a093bec6f8f3025e7a24b3266b3e9ada6c8e54d4f87f5223ad4a5889918df46bec307fc592db91ccaee9
+DIST genpatches-4.1-27.extras.tar.xz 16172 SHA256 ec43f541ac011977a4ca00d911c2a5b0a1570234ae5e215d7a42327632fa3a46 SHA512 ae6d1b446c1cca749fff8f2f9500b0efb101465397ec475bec2dd1af6955c0927a43cc926452fbcac459c4653b31ad428c28d76311e6486ba117e43334609a27 WHIRLPOOL c6a02bea4133cb23d7451b2b94cf40736a40dec2072814d44ca73a6adb3ad43718f19f276f563a76b3366450119ac1234208832eb2ae8ccbbc2d5389514f0ca9
+DIST genpatches-4.1-29.base.tar.xz 744040 SHA256 8a5980de83fb5c0e979bfc9ea098641f9b40b6e17b4fde471f3e28c96331b1c0 SHA512 dc0e9b2ed535e3808f855e3dc0548f312af29b2ba1af53a57f20285e7bd6b22108e144c5cb0df6de4627f5cb24f4038ab97abeba45105cfb7c59f3eb4511def1 WHIRLPOOL 24ae5b638e08a59b3369c24195ccdeb836c953f3b6f437f70ed5efdbd3366fd5837ef5662500faa3affcb5a13605f7de287fd51ce025677405eca68c5cf48c18
+DIST genpatches-4.1-29.experimental.tar.xz 61644 SHA256 1b6c252f27e837c48a1a3a22221d407a44cfa9c04e62a4718170efae6d95fd6d SHA512 4c39df5c6e7df8f58fa1c98fea95733ff3a13ea1019172a8a8b525ab3034a778bdcaf81a24fcd67fbad5bf5da254d7498b37e49b8cc5fcbe26849b6ba16cf3a9 WHIRLPOOL 1b58e16723e527fa840f17a831584615b40c5222254ba0f21c5e9793693ac0d506d20f2be806e352dc82d61f5f4943d6eae3066cfb36b9b49b838bd8ed4a2439
+DIST genpatches-4.1-29.extras.tar.xz 16276 SHA256 8bbfc785c2831243d8c7f03f16f2d87156aa02c45fbe21d9b9870fc56bec5c02 SHA512 a960f8fe88a7aefbe848d802130f5176562f37e8812be7283ed4972354680afb05af101612f045e1f99641fd43fa410142695718d5bcadca25d5a7749449246f WHIRLPOOL 4b1e9eb7b4b61d57c24e2a9103bae8b8817bd702d9f063aba9778921fc40e77ca61b322bbf4368f5d431f3c885b363cdbe09188230263527650d6c66bf698cbf
+DIST genpatches-4.2-11.base.tar.xz 274904 SHA256 0407b8f542450e6c1a0af439b04b6fdb9668efbfb6a70da08fc08917b543b9a3 SHA512 ec4f0bc1a53ad19329ccd3000968eadfc9411ef890e8a342c5bbbb810ad1a1abdda430354f85d3fa4a158d330023dff3ec9a02f8228720d5a339806eb9374ec4 WHIRLPOOL 375134e742a18d874212a084cb949daddbf2cb833f8480857a1c65897845e6c8cc88761a4f3bf8858081dc5131710ce1bbe2316134888ba970eb0b98f51d3e24
+DIST genpatches-4.2-11.experimental.tar.xz 61620 SHA256 10111c0a06a30d661b90af17c5d50ce1ae533f55e419d253109a4a313c31121b SHA512 ecdb6aa5a53599d427f38915fb6f8955ee0dd9e9b3744de01e5eaa073e890124e6096cde67596dc853877cf39b227c8115605a71c40665d689febb02f6d193c0 WHIRLPOOL 4fcfc1aa68a6d95a3d3a91ed3d6b47308e17c433b95b0cc2bddfdf5e3dd394f5dd089b66145a4f853300cd18a6bce42e166fcec4ca1fd5a15b77724d99379dba
+DIST genpatches-4.2-11.extras.tar.xz 16188 SHA256 d88c39902511c8bd0e4b80761bef8d85471f08cdea3b7eec3c7e57e63fb4d33a SHA512 83ed872b30caf21f5cbeac892cf00b7633b2957708aa40d1e92b9c7b47c0e1eb72c8a3fd7c8711de3b1c1f9e39699c8d85df93c6db0165a8e8df6d2380fd5792 WHIRLPOOL 7a2deb7718ec4ecdf44fe4e810c973b6d3bf153a9a244bb5b7b5882212a3134f893460f0665a5c655f7ce73a3e90cfc63c8d2cc5c2a502706b5d35f1884899d3
+DIST genpatches-4.3-8.base.tar.xz 196548 SHA256 9246ac430ca198817f177093cdb628bb3eea3fad8ac0723adb38a02502cfb89a SHA512 ce2dd67fa2fba9583b9cd309d68e63b937e718cfabd9f3eb882ebc23b3139d59ff3c84beb3cf770dca367284fff6ca2bc85cf9e114da4621b7f6865b2d69dc0e WHIRLPOOL 0c5640f03d44b1219c23a7eff655b8f1749e20b30b89473c06c3a6fb0f34d30094534382ee1a1e4b5fbdffbbcce20dbe4e377410e390b8b5586ad1da9efb57fa
+DIST genpatches-4.3-8.experimental.tar.xz 61636 SHA256 8f1297df01d21d8ff121549061b8a8cfb463130edb1a873c6daba6ad8c3d7894 SHA512 19df4ca02e4552befbadef8f0824eb09cccfe10fc00e48d1e684bc7e7761f4d896e605f0153c5ad7d8f96575166c4823f08d9a5f7be3df23128b39d97a685c57 WHIRLPOOL 4d6661b13be1002d9610bbd19618d77f251f6672e286ecdd9a19fccc335ccf0c3dbc9572e60919f50b562249b9589082786762cae0b961a92f056da206b17dbc
+DIST genpatches-4.3-8.extras.tar.xz 16280 SHA256 6752a91afa4c10417ab561e8b93c92c2e56e42695730a1004266b025d91dbfa2 SHA512 3513947ec3ff2a959a92c6f45ab6482d57ddf218e9ee9af70c896bfb7773135b72eed64ba7548100acc044e8e82c9a66c3dfc34757f7ef15271be65f086947a8 WHIRLPOOL 56d8afd3b28f607c3646328822f8e24da8c57f778fd1b7af61ae4a873fc980559e072447d40f6238c95a2b96a011d0e28c78d6652a759bf32121648c5b9e1d44
+DIST genpatches-4.4-10.base.tar.xz 342516 SHA256 4de20ee2b1cb8c33d4a6c431cef4dc3ab4a3365ad2ca905ccc47bf29455da8d0 SHA512 ea4f51afb3f85af9ee3742d703360cdea2f585017268fa3cb16a2d86a3a2e6df0ee46a0d52cc550fb99cbba7e4973676bbd8dc6cbb2b265af842939d3fdbe109 WHIRLPOOL 28a0fef05bc1b91592244a69cf1fbc15257f62f7b2dacb31b556aa9cdb5cb4d25c1b0a83e2c3518f8d08162ed57bfe50f26e081a23403adc4a3c96c1151498f6
+DIST genpatches-4.4-10.experimental.tar.xz 62612 SHA256 29ba528a6a7f0298607ed12b204ae31cc1c0a1a559e93383dc4ead57f58f52fa SHA512 e5205462b47dabec0b1798388d2aeace5bfa342e56e9857863ca445212ad627934365cd51c2c1cc5d1b38b6235b473b8e516f2eacce7e27c482d3f990f69e991 WHIRLPOOL 74952df3fe17878eb1d08d64f1c295ca59b8d22a8ae66bdff7aa4fca8c0615e693848ffd8090f01719741d25f19a706c08c6e7932f2e357b8981b1e91e608c78
+DIST genpatches-4.4-10.extras.tar.xz 16280 SHA256 68c15831b7d7fff7e49d163fac43205b4749b01f0b8e03b0fe17d919a1c00a60 SHA512 1336406a10934fc76c7281e0dd4634fce0c102ee0d086f033618c974395eb71789b153b48dce25f9d8e654f84b01b8db0639d87b3254a7536dc6f9cfed7606be WHIRLPOOL 4a45e581557f7338d45e74bddd3fb0240f35bcae18b6ade28a066e1e91570632e7d0a0066c5e7b67035accc5580bf75e7db3136fd50bb18b4f2836d89fdbf0f7
+DIST genpatches-4.4-13.base.tar.xz 424132 SHA256 357a305b5a2cd9a92fe5f545f03083d9ac474924572a2339a8fb8135f911849d SHA512 f1d091e79d796cef490ae70bd7cc064e59c63605a18646e23c5ab894f3d9f35962814a44326734257ed587c78cd88d2a0b04dc0d6463451f11921ec268ae524b WHIRLPOOL 9c1ff6560f252e567d0fb9ef5a8e744f47384d6eb4d995225523dabaa2febac9060ce29bb7e37ef150f9fccc0e92349d45639e1484b1183d4879fe25c9d22719
+DIST genpatches-4.4-13.experimental.tar.xz 62604 SHA256 3fa2f9df9d9ae2fd6a0609a66505eb6cdd6a6d677bfed5878e99910f15650e5f SHA512 cf4afc94c470e61df572a540e5f32de74daba2227203d789cb6b8c7695ce82aed860d9f0cf4dfbe4a001e1144287ff1033b3b6d5c629fbee424f74ee020b1c23 WHIRLPOOL 61605366523dff8b7886acd2d43d34257d77cf188a875bfa6ca9847d28ede22155fe33f5bd7076f6af3de3011c3dbdef6959cef115f891cd5c7a5e619d98a4c8
+DIST genpatches-4.4-13.extras.tar.xz 16284 SHA256 87c90c4654e5beb16eb1f207bf10123d4cc7fe7d2d9c3bf1162d6c289c639d05 SHA512 7764462df82acb9bd0f4ce140ad5fd657f1ca733a7dcab08e41bf0f943de9e64f27cc57fa0a2380c228f040578677b383fca04df81bb049e0e6ccbe2ffd75880 WHIRLPOOL f02829377323678cb073ba2185ee66e57c84c836d2e04ef2d0383302082a1a6755dec0eac73a800d90911393b1fee02619c7b99e8395e8eca5e91d2269cc663f
+DIST genpatches-4.4-7.base.tar.xz 230312 SHA256 c4b81ebfd4300225b03da67d9eaf6dd86dbf26b75822185730466475418e611b SHA512 b3a87cf20df63e605ab0fe4da147772ab00b2047eb2e281f5d57ea93975dccaf06ebc29fc4461ef32ed655fbf37e56d03b2c28c3a1033e80163e12bfc9433b5f WHIRLPOOL 5ea531abd39fa750ff9c7afc830369ab94206c253849205929fdacac59a12aae99f6017c0dc648f81addbe643efae6dc12ebe769007b53845c9f75efce351d7b
+DIST genpatches-4.4-7.experimental.tar.xz 62608 SHA256 1309cb0d5b1c315efe137ad4f681edae9fa0b7052d2f2543c21e54e397c5dc48 SHA512 67fc39a311456d4aaf0eeb4147f748234baa976447f7020a83a78d25866c8920f1696b188fe1005f31598f992271667e25ece68d0460bae6ba0521c39ca2e509 WHIRLPOOL c9b792aceda96dfaa5df67c1940a24c154598be8b073c435354fa2945ba3c7b3a7462b5ab1e62ec1be800fb1b142e8424018c1d1af48f6cf9ecde544377de787
+DIST genpatches-4.4-7.extras.tar.xz 16276 SHA256 49c64f547ea45150af5994075d95caf3dd398250d0c5ca434889cfacbf0f0ebe SHA512 b9012a924b8ff3e43b2258c34d92ee7df44b4f2af0b7903424331b9fc496ae2067edcb19b4fbdef2d116fbf1661f67ce79d886e32eea833a313f5175fadc76e7 WHIRLPOOL 7483cdfe4a4cf32083765d09b0d3ca7ed2a56ac3ca238b84357498de3708245c61cb762ae111596404e35fc7b3beabc914ee69f80c32591713ce775601ee783c
+DIST genpatches-4.5-4.base.tar.xz 119048 SHA256 35c7a70b8adca62fc3567cb5f854284c5f1bdd3e550cdc8a126c54546aded946 SHA512 6ecff7bcc76607f12cd19fb57aa5041b87076da5f1f6028d7dae644adb98e5f484e160e427e2b03bd9cb99cdbdcfbed4355e8cd4bef0e0d43eb325ad536cfd90 WHIRLPOOL af686b1c36f10f439eec19fbf01c0d0c88c3c96b0e8127aae2cd72fa10ed9b3eb0e045f98f92f58012313e555fc2067646cf7e9c386b23bc91ae857c1e48378b
+DIST genpatches-4.5-4.experimental.tar.xz 4892 SHA256 a90e846c57490a1be566c9191a0b7968d0bacdb1633b0566014c9a7b5d72047d SHA512 464b76282f0ff228cb3b5f3a41f62bf2f2cf7fbc688dee71f8694b997386433113cec356686f19a325eb81ac5891ad5f970208612a8eba11666841e2821dc56a WHIRLPOOL befcccce20e3c6d6e388a064dacc4d768da219596296a83794521bcd688e77f61bd9cf85edec78edfb5685c2db735e3238f8c8cb5f70c4304c0117ed9b9f7f1c
+DIST genpatches-4.5-4.extras.tar.xz 16280 SHA256 68c15831b7d7fff7e49d163fac43205b4749b01f0b8e03b0fe17d919a1c00a60 SHA512 1336406a10934fc76c7281e0dd4634fce0c102ee0d086f033618c974395eb71789b153b48dce25f9d8e654f84b01b8db0639d87b3254a7536dc6f9cfed7606be WHIRLPOOL 4a45e581557f7338d45e74bddd3fb0240f35bcae18b6ade28a066e1e91570632e7d0a0066c5e7b67035accc5580bf75e7db3136fd50bb18b4f2836d89fdbf0f7
+DIST genpatches-4.5-6.base.tar.xz 196608 SHA256 8d02f770e29b1a2f9527f94bc402eafeb095d6961c447fac3255103160373ffb SHA512 a42fd5572657f1d3b633ec29370646203a1151dd95afb5acdd121407eada9c6fea93c15f259a7b954ac77c6a069de9108799861b8d7db969ff983608fc9a2cb4 WHIRLPOOL 20606f6dcf5526158c218c468081f620e7722c73c1f6b1d9e619aa8f3bdf69de9b40edcafa9184688439a06abfd308a34635bb827016f79e56c270f353bd496f
+DIST genpatches-4.5-6.experimental.tar.xz 4896 SHA256 722cab044f52b7dfc687f9a8e4fee4e00dad9dc10febef14517f485253e9797c SHA512 09f29ace738532b45b5a52ae2e3275004c6dc3fb5911d625d9ac5ba94b828806b663fee11caf8c7b94641c41e8f021685e37efec10355608af466c1ae07aca36 WHIRLPOOL 9dc21c9e8e658f4ecd12aa305002dea45cfddf37f4d7d948849c7d5afed76ae609bd7b34a4631c0a430aa2b0b9f64471f48fdb298f515345dae3fc174cccfc76
+DIST genpatches-4.5-6.extras.tar.xz 16276 SHA256 5e9d9ebc82cf1809de8419e815c68b041598dfd3dc839e582026bfdd5588e478 SHA512 c49430fcd6ed1c9b6b4a72d8e4a0f6760cd25c48b20599826036a943993e736404569937403fb349b45f29aec15dd3afcf65068936125eed1dc443adcfbd4d4c WHIRLPOOL 4abf9d0d33fc66389fb08911afa01a570295bb18905924f95d1cba1ef2d86208aeda81b5085982d78ae5aedf6cbd91efad9ad9b0f08cdab72977eeaf6d8921a9
+DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053
+DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417
+DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41
+DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
+DIST linux-3.4.tar.xz 66748028 SHA256 ff3dee6a855873d12487a6f4070ec2f7996d073019171361c955639664baa0c6 SHA512 1c49b336750c9c2b49d21e54126f22a800367296be0d57e6df28b1532cbeba7fc3bdf4cfe27d9810576e76c2db2e9c2493f0804451c915137cb78d7aa61f236c WHIRLPOOL a36e62fe197ba7c08d498a79034da58091a94348f69542241067c9ebef683f86371b2c0a3b3fb6c4611e2fb885d9b74eee5c1f46a493c72dfb76c5665f0b8a6a
+DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.2.tar.xz 85507784 SHA256 cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb SHA512 a87bbce3c0c6d810a41bbba1c0dcaae80dc38dded9f8571e97fa4ee5a468d655daf52d260911412f7c7da3171a5114e89d63da14b1753b9a3eb2cc38fd89b9ee WHIRLPOOL 2058e664ee287cc03119ff3dd0155b7018b9c789a13a1012f190e516172f845dcb2d977c8e6a6951e9bd720e5e8cdfa3b888cce392c9b02780520e77475870d0
+DIST linux-4.3.tar.xz 86920812 SHA256 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae SHA512 d25812043850530fdcfdb48523523ee980747f3c2c1266149330844dae2cba0d056d4ddd9c0f129f570f5d1f6df5c20385aec5f6a2e0755edc1e2f5f93e2c6bc WHIRLPOOL e3f131443acc14d4f67bbd3f4e1c57af3d822c41c85a112564d54667a591c8619dce42327fd8166d30a2d7adfaf433c2e2134d4995c91c08f65ac0cc2190f935
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.5.tar.xz 88375040 SHA256 a40defb401e01b37d6b8c8ad5c1bbab665be6ac6310cdeed59950c96b31a519c SHA512 cb0d5f30baff37dfea40fbc1119a1482182f95858c883e019ee3f81055c8efbdb9dba7dfc02ebcc4216db38f03ece58688e69efc0fce1dade359af30bd5426de WHIRLPOOL 8faa0b02c5733fc45dbe61f82a7022e9246b9b1665f27541d4afa5d14c310b9dce7a8532dfac8273898edf8c6923654ee2fbcf2cec1ec2a220f4c9f926f2b333
+DIST tuxonice-for-linux-3.10.95-2016-01-24.patch.bz2 129189 SHA256 e36debb9185fecc2aabfead502c5c2fd679eb51bc48bc0d7d2389cda73a3a6c4 SHA512 0fbf76b2559f1d441ce05577aacc5cfb3dd507be7a3fb52cf8ce307084a87ec538a438738e21888393823cf7289cdfd4d552ffe78f6af201e2a6f727d462c3ab WHIRLPOOL b5bbbb913601197d1e6f2122bb6f84f8c29726e2e616a488f09db909a8b6e7787359c9c4a841de79aceeeff4a616c01524b39c683761ee12888bc597bca4551d
+DIST tuxonice-for-linux-3.12.52-2016-01-24.patch.bz2 129310 SHA256 32d7f3f20e06b2a1c4c415cce7b2c16ecfe07d83a6cb64303a9e8b9249afdc5c SHA512 ebb9092b7194949cfc611fc9447f27f8f9d6513a56eb89d063eaf61b5795526e5e76294a9bd9fb654467e87ea03d5550240a87531bc8091f5125c6563156e433 WHIRLPOOL de25f82f3afa30620a5e0759de68628f61334039ee6c5b824881b21f7b4b12c7694910d4d31ad6912a56c8303c6c17b804fa60dd5971d51fd00dba13688c4418
+DIST tuxonice-for-linux-3.12.58-2016-04-21.patch.bz2 129209 SHA256 592780d4b58fe0336e121ca65c5645390f5e1506aa5721db0db4bd5787fa643e SHA512 17e3315b46a3777aef21818f5150680bc51533d77bbaddc5ddb80254679a9b902e8adf8f39599be5da56dd6030ae48a30c56b47ca00d930aff2a0702b8ab097e WHIRLPOOL 42fa4ecca1f9de574d006f6d692cae8e1f3f3792ddf99092c1ebfcb3d09551c9a5e3778b4d8edf5cf82fa4fe703007158f937a98988da5d4a6503bcc41d4d513
+DIST tuxonice-for-linux-3.14.59-2016-01-24.patch.bz2 129722 SHA256 2bcf13883a618e82d661fab4b43202b78653d49425f2d231918db6b955653e9d SHA512 cdeb7e95bde80ca8c766342a3d730442316d83009b60109d26f849f510ccc3ae5d9bfa42ee45b7eba299a6c9630c213e27a39d9469e6720f37d74456c7106d21 WHIRLPOOL e03db1d4e6f85e07cd68d84c360f302178151fa768d348824a799e718c1c80826b43e8116423a3ff5079d9e5b515feae15042082da076ed1108066961c41f3c7
+DIST tuxonice-for-linux-3.14.67-2016-04-21.patch.bz2 129424 SHA256 c58ac4b6a01b04807ea789a8f7384cc976dd93310752facfe855298d304d9df6 SHA512 b0934bb494fc7ccb1de4a59bac86dd4b26b471a1aaf6969952eb7bdb8770bca3b7f661445ce4d2ff5b38bababedf4488fc0e1a75a85a64f4a137df3811a14a93 WHIRLPOOL 22a5463503b30ca442fae8268e8a7d2f924294b158a0d07bfc3d4106eac7c99fdac3d9609c2f67a82346eaefb5c4a2f2668b0e7a954f88942fce662567b6c92d
+DIST tuxonice-for-linux-3.18.25-2015-12-18.patch.bz2 127492 SHA256 d213ebe58d2119dcda6e12bb0af6c83a67e96b31ee642e774e8f413e5f725124 SHA512 2da98ae2ed51d4ca1a998c1ad7acd08a9baaf0b5600149c8e231ece0c28be708b6719d77776cb095922729aad2eff5b4d4246d9946bf857ee1c15ada13900a75 WHIRLPOOL 3261c5e7901a32e5af3295f2b729d69f3d20057663a0c3af37a03b603ae1461e9bf4765730db9be3346b18c73d7e224dae6f3a92f7361dca30839256357e5a35
+DIST tuxonice-for-linux-3.18.31-2016-04-21.patch.bz2 127585 SHA256 4b76a089e60f64be6bbc7740e462206e36ab0ce06a631ff82d3a8ca2d44fa90e SHA512 a2b626aec105f59101d6c52e8e990cb4cb46049ed1b900e36515ed6aa84e3ace8dd51307db7fa15750b4facbc158b879f06454a021ffe5231c33e754d59ed3d5 WHIRLPOOL 1fd2e9d6518dac5c2850c35c76c99668b48ab323285ed1f7dbf922d818b849e2c79313139f310f94c3b556099489bcaf798a6c8cfa1e54506e11cb505fc719b7
+DIST tuxonice-for-linux-3.4.110-2015-10-30.patch.bz2 131521 SHA256 560c01b65d68b9679111f83e6de40878594c323de09a6c3d86b4d57b3cd07d8a SHA512 7245467dea585fcd3c0d44c60202e15c038e4e7d17e37efa0decf7db92bdc385568ba50fc70c85bdf6f97ef3346fed3fc49e7edf25773713fdd239e618ef159b WHIRLPOOL 00f387c6e3f01c3d89ae5eaf2d3d49914a9cb30f07c1845bebb8b6883aa74e3f0dca0626c84f6233cdc2b05fbcbaac4158319c21d67d85d7dfd9132e106a70db
+DIST tuxonice-for-linux-3.4.111-2016-04-21.patch.bz2 131368 SHA256 75628feb3cf3a5dbdd3ac8e39094855b191dcbd7df9067a343695ffebf60b0e1 SHA512 0ebbbedfa89483636a64ddd7e19387cf1879e7c46b3c2347b30af947656e5bb5c2dcb30984c59b365bf3bfa975585b4a9f8376bf1e099b5b5b2bf8bbff82197e WHIRLPOOL b2c07098d11123d6203f18891010eb172b742c21fec81c4a1d3edc97485703428f2a942d70db285ff7a56efb4f1b2d0609c742ce6ec83ccea2663763fc15f6fb
+DIST tuxonice-for-linux-4.1.16-2016-01-24.patch.bz2 133960 SHA256 0562b40fd3b154c4046398a6c095d5dc804357f115d7a02d3adbdbca93452899 SHA512 35d4f53bd4614ce08098d1246df963b564725d3b2390a5b2474ba855f0f263306a4d857c90c9f986d15966eb2e57609215bf7d3f8f5c35cf04b6c2636dd2454a WHIRLPOOL 96014dd874a87afdc1fe88f49bdc13ac77a96bf50f3bee8011924c7aa2fadd5eb38ec278fa75d4e24ff058cb34959a904a1fb9785c935f3cbfb74c2b2a2154ff
+DIST tuxonice-for-linux-4.1.22-2016-04-21.patch.bz2 134098 SHA256 8ff40ea9cb24758ae4f0358d53261c205ee474b33a045016dcc595b21cf675ec SHA512 a5e33efc9775c8908e35c05c192c70e3b939da679a3c2f93f876d6fdbf6e413b5d57f1107938a148bafdebc3dbc5d687c7d19b6e9c803650cd83daef2d732467 WHIRLPOOL 3cac471be73f93d191b294ff01fe0155e316efe472ac575f341426a7a7274ff3e70a4b55289366ec10b3832af4139f54e0ba11ae9b0f9a92cc17e556b7619d9d
+DIST tuxonice-for-linux-4.2.8-2015-12-18.patch.bz2 133534 SHA256 eed2e0b113989fedbb8aa3f8184c674595773680261ea1d42f742a805c2f967d SHA512 d79bcafe0f1d92408b9fa752098e631c5415ba62fb9af6101e7a6ac9cfa5e9b7d29941f7218a9709d3457d0ec574658ff8ac4ccafc4b51bbe3e4b18ab8bc62c0 WHIRLPOOL f1de53e11e600a9eccf2753803078303ad9cad522381f2ba5e6d8df12bbf34353229b5391fb1bf3b397d76e508964fbf8fd440f1ea7baf0b92b5b65ce734001f
+DIST tuxonice-for-linux-4.3.4-2016-01-24.patch.bz2 133453 SHA256 7b82218d17001ab54691552fd87f38482afa4a2923cfdab104381ca0efce8ae0 SHA512 07f349938f34eba8a4da3eec18325be5aa01067a46290d818b453b170acf66b214802b9cc3b25175b3b478839a6611b4c1862b2271401da396a8bc9a52837787 WHIRLPOOL 133e9b38850a82e52faac6eba16dc6b0445e803c5035fe2da38317ad11a581d266a3ba731fb6db589b0bd2f030aa2e7bedeefa7ebc4e5278acc81f197f4acb8a
+DIST tuxonice-for-linux-4.4.8-2016-04-21.patch.bz2 134124 SHA256 22afc18b8922c232f3a99b3e2d93c8cbc618472def22337d6ec47ddda7053e02 SHA512 f80441e8d29885f526d39ef5994ab49d24c04ca68a0fcfe3db1e643c551d5aec3bb0f5fb66c72d7914c01d5a75f613061c279127152d16fb176e61897cac3580 WHIRLPOOL 17f3eda12de09f1f2266d12c4895b1591b61b7a63bac172d479416db7b459b41f945be1d846c27f3d927395e5d0ca3d6104fc5f9c7ba97a86604be63b7fa4023
+DIST tuxonice-for-linux-4.5.2-2016-04-21.patch.bz2 134430 SHA256 806ce4284e2a6c3b751786be783fd82a95afaa4a928ab28ff91c8f49f7c0d326 SHA512 c2d80705acf9fb5c665b05a60614dfea37c194a91f5cc3086066d046c9ade19908adf0badad4230ea266a06e1048824fcb4fe12dbb32292324786b635a64e87e WHIRLPOOL 96bb81560fff557406b9d9a124f4fa9046ac12bb7aeabbda6d8fa62f77c09f6bd1d9ffa223d16c1b8c5cd86e150229e5a4c1528c9218799ef2fe9f1cce152cd5
+DIST tuxonice-for-linux-head-4.4.0-rc7-2016-01-01.patch.bz2 133487 SHA256 e68d737a78c9f73b2e5fd1b2ce4344a9085a6461415b6ed18217e6ebc25bd671 SHA512 9ecdcd2ad3172a674d0a75a082a1f083d92f7397d46d9f1af57aebc109c724d0e697a65f3dc53f8bcf4604465106f42fed5f206e12cedc4e70d6df36a35f3df3 WHIRLPOOL 9c770523b6272e84e73a39b9fa49551d6842b88a6d343e5abf266b7b1448f807caacac01a51ea6f63687fb57dbdf3d47fe3265110402a61c98d698f00f54710a
+EBUILD tuxonice-sources-3.10.100.ebuild 1158 SHA256 69b73a3e134d00a4161e2e93fc65b249d5fe0152e84e3d14642d263e6418f002 SHA512 118f2cce6c75e4a8e0d832f68e78cbeec4f870e1575aeb8ac0b4efd0156657a7d8abf688e79770eb6d80414f19230917c103a51713894a8dfcb0eac274965260 WHIRLPOOL 91c76cd5ef9176c813d0e0b6bdfc783e4aa62368e8a533c290e9b1d10a0a9d9f7adb343ef07a5dcbf0aed21c773b4b4604ac13c970acdd68eaaf584cc00e5385
+EBUILD tuxonice-sources-3.10.101.ebuild 1158 SHA256 316828e97e7c30c0250b3a3674f6bd4ceea29ef3597e3f81045e1e726df959ee SHA512 41668a85c7ea0f13baea01cfcc9d38c01d5901b10a1c139e906e71c53bf8e4c9c11c4cf6501cc26873b3f72eab147e0a79288a6ca5b538201c80e8ce3c24fa51 WHIRLPOOL 06c09737a4a83ef764bbad77c73a94ed17a8f739ee8f7e3cc69de243ff4a44beb45a23c49f03913a7b79ffcfe018bcbfba303ccca95a00ddc495a31ee116f40e
+EBUILD tuxonice-sources-3.12.56.ebuild 1157 SHA256 439623cb7ab3dbbcf9ff4cfcfa18c8bb8532d3f8b88c1bcdf2567b839e762655 SHA512 b22887ceac5856fe6a3267b3933668c072e0f8f57f8c58a371463ca1aefc413972dd0c3a09e03760aae1c22741c9ab98c44d5862737b8cffd5d0523ab14c0755 WHIRLPOOL 34ee34f7f606d1b282a06ec2a9fbf4fc533364563cf64368efb5c900282ffd7612bf6aa9629dd31cba86be688f00f9c324c420b6f76e512dc5545c2f2170a1ce
+EBUILD tuxonice-sources-3.12.58.ebuild 1157 SHA256 a9c3561b880e1ed37ba2d0cd37c731a2f310d317759b4f349387a4f1669cc6f9 SHA512 ceb14640c28f6c8d4b690148bca1fdce4b8c28caeef729459fac69ba80c2e444060815ffb49691d025d885e2ea3ae57ac4c8b02cffb5dde28e92efd938ec1e64 WHIRLPOOL 0ec89dc2287f4d17ea488bc9afa32dca654a1587451439093a7af7d7f78c4031fa405f24266986f92dae5f88430b87e1dea6589c987840279d809fd8498f10ca
+EBUILD tuxonice-sources-3.12.60.ebuild 1157 SHA256 7e001e75d32e381b295dc4914750735f121996950c2c99f2d02bb495c3205671 SHA512 4cd950ef53189fbfcdfb860cc743ffa142c554e9b1f2c21134867d46e831111c2502e7ff52d04fff49d8f7c9f5fd8095babefafe875acdcec4eeee1427c0118d WHIRLPOOL e9d6ef1c764684602e3d6124842eeb7805df4603fae68c6670b42de81493ef27fddc987d7dbc079230d67f86117293bf4143c8d2844466776cdb926ba935abcc
+EBUILD tuxonice-sources-3.14.64.ebuild 1157 SHA256 ae55c513d270464e0cda4ecec093c2e2d6b5f560994483aa52a38734274ab61e SHA512 61770cd46923503fc36291ec464b9105852b39c0ea3c8d96ecf3e40cc21bf34b12c3a21acbf6fd29243650b0071746643a6bd6b777d196ac2f2b426e1448d6a2 WHIRLPOOL 87913e9fa63dbb5422f95d59bc0cb4eb37c4f22ec3e4e82769f3757ea150ed7eb386dc0ff7b1e231ef3485686fc7415f457e2ebd7303396c6bd144f470c8f2dc
+EBUILD tuxonice-sources-3.14.67.ebuild 1157 SHA256 cf4921d8266979499988b4b7685395755f8d70e0ab403f086d78b9bc3102deeb SHA512 423f32849faeb1e1ec0897aa78fd30be928919f596b59f7a5557bde4ed5870bcf6b38bdb861fbf7e614ec5e5039e2c330bfa0ce551c482f6b34cc113e572c298 WHIRLPOOL 219f416cc40f684d98481f3e70d7bed3b096a91e6245075d79f929d51c7c478d0e8005a316778f5fffac433db053852798a4efe542ea55c9a63efe8bed680b5d
+EBUILD tuxonice-sources-3.14.70.ebuild 1157 SHA256 29d17e189ae9f28137f61e27d626e5a192b8c8a2fc5f948ca4f4dd5584fb5a4c SHA512 413eb53498a6ba8d42a0632f2e3a32d0b95a49116f6183fb730d3e5a8d0962bfcd426411d3360495617f3ae5b2a8d015243fad3667f7fb70841bef356af573ef WHIRLPOOL 81460afccd6bf0f60c24abcfa0332090bc9daede2f418cab34ed08970ec07484da5663dac1c33ce29f2fc6d0cfb05bf0339fa502081c1f94d07bb84e21313f4b
+EBUILD tuxonice-sources-3.18.28.ebuild 1157 SHA256 92a9cd1540f3d4d1c675f7bc53a6438799bbebbbff6a30e166cd7e3ab3721c27 SHA512 a57dbf66b8722be3f19504992ac99168eedf6b4a675ad15ac1ccb2737f00a90e907059ec28b4dcaeefb5a0cbf5aee1eeb94982919de34e1b01ff54d75bf40b93 WHIRLPOOL 320a87c137e31aff007b399ca2aa561b30a34f937eaaa9408f92ad752ad32094cbc3a2f08a6d256d80eb0724f76ad0d4d4d6007fe2b1afc5ebf3aae49923aff8
+EBUILD tuxonice-sources-3.18.31.ebuild 1157 SHA256 ab7807d5a228ccb3eee77f893fd91334cf4a161b8ecbca6cab96a21c8fd519d2 SHA512 4dedf0ff694ddd3204caba27b11434f203d3dba1a69e2e3f08197f3d275231b12fdf5bd202d7e9efb3ff26c4fcea61054dfe139c2efc0cce55899fa50d6e7a0a WHIRLPOOL 8c7dfb78a03e22acad43560a7b03ac42ae86953d76a77b22aad9fd03bef13a1b63c825ac2c208656b9cd3b425bb422775098acb202301aa83ad370698cf7bb8e
+EBUILD tuxonice-sources-3.18.34.ebuild 1157 SHA256 fd34cc6817af36c500427318b78e9cffad3f748f26c277be7a809b08dd1d0b5c SHA512 a72d1bd2eef3af7edf8fd4a02376065bdf7ab7920b9fce85e6d6c8f213c078a6e2953416fa8bdfeeda752016d75888dc82f562b44585894d901b02ab534a8755 WHIRLPOOL fd7994e4bc9ee67b7c3c059c8257fe57f55c300f6c4464de8d167c1e856ed04a08e2778fc74708b4f3783f641f504acde4e3e0f4907ab52be72641a7d0465efc
+EBUILD tuxonice-sources-3.4.110.ebuild 1124 SHA256 a3dc9256d10aaa608a9c80b1005ed03c038f6f8c0802372975a99737aec9e016 SHA512 c861f140c8cfe3f0e0c3369f5ad68ac4ea911da22c0007785c756d1b7f6f3063bf25c433f0332942ceab88c1f9219dd6daf5766c27cc073f923aa8ef62e7fe16 WHIRLPOOL a05c7db2814d8dd47c537e36bd282c75bf0ab32778c294b367fb2098dee8f5d299a97e62ee304ebdb8795f4c91e8f349d85270a262556fc5c8a4b16b44ff9213
+EBUILD tuxonice-sources-3.4.111.ebuild 1124 SHA256 05251415119a49e8829e37864262ec4b15d7aa7a8927033fa51921fd281b0314 SHA512 d4375adc0b7ba4f5abb006027272a20856e1036d8c4986875ed43b522afff26967b76bd2f310f20d1ec9d2f6b2cb3926816bebe1507d897a67e959430041d18c WHIRLPOOL e623acdf47c425ea6b402291b1ef844cae8225edf6954397989aa8e499c7a08d37bb47a6a91dffd51605bb34da00d70090865ddeb7f527d898578eee43b0fea4
+EBUILD tuxonice-sources-3.4.112.ebuild 1124 SHA256 27675ffa14dc9266a1ccf7a444f088f58abd104309d0df1184b9716b81ad781e SHA512 53c3120fdbd5d176986cc03e53820ba8e33ada374c56258074148055b24c84227d0fd5a68769098711421fac66d5132cbb83f3a40ae23868a5487319284dc752 WHIRLPOOL 1ced80f37730324f672ad5224d06afe3c3e71f797931b0bbcd96f7a14eba9c844f8f3f0b747bf0d6f949328a4833806f40c82e0e2d468988b0b9b17ae74e5c83
+EBUILD tuxonice-sources-4.1.19.ebuild 1156 SHA256 29f9018a2a9cc86708916510cfa932c44866671640d687428aab2ca1bebd62fc SHA512 dfc73569c1c44216f1bafa5ae398bd30c7a2d4c05f6ea29b662fb23307ff5a00be34c16427a313a9c0e4ba31648621dbf42a082a4b79c3327992e22611f003c6 WHIRLPOOL a90266ecb23f846a68258fcccb01903e0fae80822f6a7b546f03ea43f79f88154ee6f6a03df96a064c21966d52672343e2f7ec99430d01d855b79f23a4f10fba
+EBUILD tuxonice-sources-4.1.22.ebuild 1156 SHA256 39df613832e9fe7536ec95f142bcf290fc65eda26590d33b4a242679fa2fdfb4 SHA512 27cf07640a5344ed071df334af47b300d9d7975e87db3c66a914aec243cc0a50f51ba52edd97a989ead3dc8052e40abf92d9667053ad4d27a5aad4d5da6268f5 WHIRLPOOL 1a2bfe4fb9a22d4404a5b4a867e994396e6b645063e4e8410ddd74ce099973c0a556b5da71fa72433c2283da0cfcc56c40d12505dafecc8fe499ac6208aff758
+EBUILD tuxonice-sources-4.1.24.ebuild 1156 SHA256 1a6dfa04ba82191953fe2045208a0a1ca6e46595d233bc6d33d519c0bc1f1165 SHA512 cd79302d0e03a1a3ecb4db12b19f31e7daa5fd5ba85e6696b99bd938dc9ac237f51e26b2deade52b53404e43bd041588d8474461cd692fc1cb822d3aa99e131b WHIRLPOOL 2f9a820f72c0d7c566e4226eb43aa3cf67d1d6c3e05c0532d4b300cfe95b750965002497bb5fcb27804be90d9aaad107108e3d00c9d4beab56caad18fd9f5001
+EBUILD tuxonice-sources-4.2.8.ebuild 1155 SHA256 5d255873a77d5ece0a7f333b19ade208f5fa4a294ef35974a1c3e6c421b89e14 SHA512 4b50c439ab0e3391f5f9f23cc8a7cb0827edc8d148117da56fddf93829277b9069b48a2ed670661a2fad7cf96a84b0afe98f6409f777ea683534c8b3c8da4f1d WHIRLPOOL 106aff1430471589b4ab1688c986948bc7db4e26b502b47b02e0c059e3ac0be241fc644e499a39f4cfc55af34cc46d11ef9dbbf7d53841dd5564bd65c6091b26
+EBUILD tuxonice-sources-4.3.6.ebuild 1154 SHA256 f5158352fb1857ce1a0f73a501b7cc37b2939bad5bb511213ab375d35a8cba30 SHA512 cdca7063b42b0f712c9ff00fa26b2db6dcbae694025260fd9d81347fb3dbb3ae1182b0cd2df0f2c5f01874362812c885bb96938b8e0864d414f908ae138de781 WHIRLPOOL 6e94249c1ea898c805f1e5d55cc9f99eb87f53d709249ff21ab0b473f9e6da15147ab9a527bff1ce784631a4bbdcbdd29015a9e21d030a271cdccb480e2f35a8
+EBUILD tuxonice-sources-4.4.11.ebuild 1155 SHA256 3ea75a2d455df3e35710aee51f809ddf7a6c9b6846998f1c8c67e5ee525ced42 SHA512 fe9cb63d0e5913489125f6334ccc610cd837bcd88e56fab7096bb6b6bcbb9be91ef8fbb2207ae78d9a8b90611a3c1ced9efccc29304ff91b980acb22939c2ecb WHIRLPOOL a9b07cc5210372366b86bb799ab5757884f7b3d1c7c940bf8e37a842ceb16bd27b13d55449b607425491b18dc583924133842f8a18150ea5826b503fa6e41dd1
+EBUILD tuxonice-sources-4.4.5.ebuild 1163 SHA256 143dc2c188f5a867bb52f78b11e141b7cc78d48800753fef06782d64d8bf725b SHA512 a4b635299c7c364822fd5055e5bf693b49d12e6637e3fe1b88c04aff4b9f8d438c612381ae265d823bc5b1dc6b525181c4c37179361b1b60ec6041d5e7a9e1fb WHIRLPOOL 2656387f77e5a636d89d74b9f90cf0eef8367939d7442600f77e8c692cb5f42071f9662dc00a8084ef45471a14f86b49d5f2de0ec17a34c584c3c170d0c7afd1
+EBUILD tuxonice-sources-4.4.8.ebuild 1155 SHA256 085c6c2b8ae8cf1938295a7f6642edd6b95cc1caf3969ba20da44c99413dec01 SHA512 eb1642f1b98d4daf54ad07d37b4e5bb422665e5004374ad35f25ed5c979ced7ada17701eeef13cd87843616da657173a6b8e55b8467c519799d1bfdd5935c90b WHIRLPOOL ee7bf9eaaf7f62c35f44df111704e01616f547bba0a991193b4eff953279869167774e217f40b1d002aaacf036a44fede4f24fb1c376ba1ad890679390c31506
+EBUILD tuxonice-sources-4.5.2.ebuild 1154 SHA256 336077de74e90b0dfe0a3b072dda65d2369e6cbf6a2810d90ed9047010d98774 SHA512 600a883fcad3b9a0a2849d41d3e4b0e672d0f21b395c0c559301ad10d5adbc1331dcfb110e5dd1b1497c8c9202592672c44361cdd819f9f34244f4982851d17d WHIRLPOOL 83562d5c9cc79fc73dd2cb41ff6799c7f629a5cd2939ffc206858180f41f2a2a75f10ca49740fdee5c78c5e5e02a4acc96f56a4fe6788782bf1396b44d66eb35
+EBUILD tuxonice-sources-4.5.4.ebuild 1154 SHA256 2aeef36fa3563fca8d00e6873cf93823dce2a64c1a523c6e6e90657770a4c03f SHA512 82a1fc85d353fe6b2b1e6a54281ebe158a46c0a3171ba33d12e11f35ba0bb8b2808cb9bbb1a0fe5ae724e442d43f3e7d186c8f974397f173c17bb78b4dcf54ec WHIRLPOOL 104fc0667280e59871e2e3e8a492352f1d6ca4fefe81c92a5e18bfbbd46d3dfff765336d7362045e2df3b8435ab9ecbff40c10f25a2ab01f7e4e405743e094c7
+MISC ChangeLog 12873 SHA256 37270dc446a5036d864c534506d457bc82444e358fce566dc21872ac94bfc323 SHA512 d4dec86296329531ca3e8ab4e5d2cedc568e406148664de92f6148ffd41313e571b89a1ba8563a670cec76c8f5e7ac445c5f6987281914dfa624cdd67b13fa9b WHIRLPOOL 0112f8e33f9c096f2a972a09fb4443fbacb03736e08611b8161cca2a994b05719229c58767bfcbc3f0a0e896076bd21d8c4c0fdef0514d5716c5d8edda7b1b93
+MISC ChangeLog-2015 89763 SHA256 812913e999249ee4ffce21f0652f70c5bf44931abd5ea942b2da44f12d63996c SHA512 b558df84cf56c643fabd154ae0fdeb6e7adedb37c37894bfdca02a25599010f682c41477b47a61cf91906dd2cbcae197735ab8cb0713eb46c913de75242ba08a WHIRLPOOL 952a3fe917b1176dd0dc7de564efcdea2c99270d469e5cf0f8717020965e21560995a4ef4ebc9098d7c12bcee0e917e3ea329cba914e594fba7624427b83928c
+MISC metadata.xml 828 SHA256 b4d8180753b2f1decf582e514a94dc0cac772456ae741f1b2bc4f93f84a9ea36 SHA512 c178f32d0fa4adf7cef8409839348e1e29eb7a36320120143b9b9f0cc06c03e42930d6a7ad51e785f143c9dfcc68a43049c8601d00902cc0e2d3a85ccf247794 WHIRLPOOL 00ade75034d87614b50f0f49d685fcedec5a07603f15838265884d30fa9b0b047c0d9a34bf2f719aa0816bf192345f4c65830c7837c78f828b8cc4c411e9ecf4
diff --git a/sys-kernel/tuxonice-sources/metadata.xml b/sys-kernel/tuxonice-sources/metadata.xml
new file mode 100644
index 000000000000..596d245297c5
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arfrever.fta@gmail.com</email>
+ <name>Arfrever Frehtes Taifersar Arahesis</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo Kernel Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <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">NigelCunningham/tuxonice-kernel</remote-id>
+ </upstream>
+ <use>
+ <flag name="experimental">Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.100.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.100.ebuild
new file mode 100644
index 000000000000..b913ad2185d6
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.100.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="105"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.10.95"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.101.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.101.ebuild
new file mode 100644
index 000000000000..97cd5738a56a
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.10.101.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="106"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.10.95"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.56.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.56.ebuild
new file mode 100644
index 000000000000..96b99ed7d9d8
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.56.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="53"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.12.52"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.58.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.58.ebuild
new file mode 100644
index 000000000000..018960c9acc9
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.58.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="55"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.12.58"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.60.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.60.ebuild
new file mode 100644
index 000000000000..a2a7471c1484
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.12.60.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="59"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.12.58"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.64.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.64.ebuild
new file mode 100644
index 000000000000..7dd3ff27f24f
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.64.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="71"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.14.59"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.67.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.67.ebuild
new file mode 100644
index 000000000000..d64211fb075e
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.67.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="74"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.14.67"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.70.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.70.ebuild
new file mode 100644
index 000000000000..a5329ba6982e
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.14.70.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="77"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.14.67"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.28.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.28.ebuild
new file mode 100644
index 000000000000..45ce281bdc88
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.28.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="29"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.18.25"
+TUXONICE_DATE="2015-12-18"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.31.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.31.ebuild
new file mode 100644
index 000000000000..7fc9d2bfb0b3
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.31.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="32"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.18.31"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.34.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.34.ebuild
new file mode 100644
index 000000000000..c8126fcbe1ec
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.18.34.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="34"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.18.31"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.110.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.110.ebuild
new file mode 100644
index 000000000000..5c4ea57a4a87
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.110.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="93"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.4.110"
+TUXONICE_DATE="2015-10-30"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.111.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.111.ebuild
new file mode 100644
index 000000000000..365a7df06bfe
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.111.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="94"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.4.111"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.112.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.112.ebuild
new file mode 100644
index 000000000000..871f270a8070
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-3.4.112.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="95"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="3.4.111"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.19.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.19.ebuild
new file mode 100644
index 000000000000..12ceabe0e0d4
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.19.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="24"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.1.16"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.22.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.22.ebuild
new file mode 100644
index 000000000000..6a808abb8ae8
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.22.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="27"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.1.22"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.24.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.24.ebuild
new file mode 100644
index 000000000000..64eee93fa4f8
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.1.24.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="29"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.1.22"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.2.8.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.2.8.ebuild
new file mode 100644
index 000000000000..6357ee924a37
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.2.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="11"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.2.8"
+TUXONICE_DATE="2015-12-18"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.3.6.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.3.6.ebuild
new file mode 100644
index 000000000000..c0df9bea331c
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.3.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="8"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.3.4"
+TUXONICE_DATE="2016-01-24"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.11.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.11.ebuild
new file mode 100644
index 000000000000..0724eb4598e5
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.11.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="13"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.4.8"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.5.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.5.ebuild
new file mode 100644
index 000000000000..395a7b6b3af2
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="7"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="head-4.4.0-rc7"
+TUXONICE_DATE="2016-01-01"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.8.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.8.ebuild
new file mode 100644
index 000000000000..65ccd8b7b515
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.4.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="10"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.4.8"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.2.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.2.ebuild
new file mode 100644
index 000000000000..51fe335807cd
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="4"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.5.2"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.4.ebuild b/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.4.ebuild
new file mode 100644
index 000000000000..9197e2294fd5
--- /dev/null
+++ b/sys-kernel/tuxonice-sources/tuxonice-sources-4.5.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="6"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel"
+
+TUXONICE_PV="4.5.2"
+TUXONICE_DATE="2016-04-21"
+
+TUXONICE_PATCH="tuxonice-for-linux-${TUXONICE_PV}-${TUXONICE_DATE}.patch.bz2"
+TUXONICE_URI="http://tuxonice.nigelcunningham.com.au/downloads/all/${TUXONICE_PATCH}"
+UNIPATCH_LIST="${DISTDIR}/${TUXONICE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI}"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="experimental"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="If there are issues with this kernel, please direct any queries to the tuxonice-users mailing list:
+http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
+K_SECURITY_UNSUPPORTED="1"
diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest
new file mode 100644
index 000000000000..edf19ab7d310
--- /dev/null
+++ b/sys-kernel/vanilla-sources/Manifest
@@ -0,0 +1,28 @@
+DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053
+DIST linux-3.16.tar.xz 80501624 SHA256 4813ad7927a7d92e5339a873ab16201b242b2748934f12cb5df9ba2cfe1d77a0 SHA512 64033e741d3f42ed06010e63e69d66e1d3d9414ef20f76834508878d4218b72619541a18ef4fd377204af2859e52198310998109b20ed9b67722586b28c9a231 WHIRLPOOL 69e5e367751185ff4e8d7c1f23c6f1e8f547fe782f581f6cf5f0bde301fa922185c8b996b815cf19fb7f14ca64042e264e87d321872ee3096adad02b1015769b
+DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17
+DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
+DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375
+DIST linux-4.13.tar.xz 100579888 SHA256 2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 WHIRLPOOL d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05
+DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+DIST patch-3.10.107.xz 1492988 SHA256 cc71150009ec821a2bdb45acca6243961dd51f207744bd4358219680c7920eb5 SHA512 209a2c659df3419578bb8248774b6d24dff1c233e8a2475c54a916df1f3bdcfb307b7342263ff97f04e42b30a277659c23675b658a602ec64cece40a899e7da8 WHIRLPOOL b815f57d4ed6b12d7997faeeb536f34bc8bdbb260472e39817725fc1a825cd016eebd964395fe203b817ef605cac46a0f3c8c312db4b1b96a4ea49e8106af474
+DIST patch-3.16.48.xz 1671496 SHA256 9491aa27c3efaa65008b929762343f0746fccebf6299fff51cd9246501fd3149 SHA512 1143c41a1692540e49b0e2b6ff06f06bcf9b91a5570c8a3d0d0dd297870c74189f8fac194dd458307fdc23fe592121070f708925976f66c6e4252c11c357ac1f WHIRLPOOL 7418574b0c0aae4bba7a56ed6378f26645d9b0be52e51704bec70c5b797060134a3b29fdf951a00b9f775ea9c0d3237c7a90fbd20ee186e0442d938877c12e15
+DIST patch-3.2.93.xz 1773072 SHA256 c836f9a91dc4647d19e7489a702676055f5b221f79f2f7f7d8d66af8a0bed778 SHA512 6d28b598867e63da4a48e08445804cafec8034df6c3770630565585530f29c0031e0a7e11f0670c8691f4f2585bf5aa8392c7b659c5d1175ad0e405fadf4a845 WHIRLPOOL 1846f23f0bfabfebb78da6ff1f742f0cddf42cbd7a79b6684106ae617d1d73fa83dd05e45df7e01637a9c7736f80299ba97e6f4d337d013fa70a2b8ddca77ef1
+DIST patch-4.1.44.xz 1171508 SHA256 e4af9c7bbcc7b8315ef59f8d5c950d330d387118ccee4e96049dc67b30ddc976 SHA512 8ab36ac700eaf4e54ed5aad56038c67de7127c72c107f7d3f86ba992ef770eb7869eddb581f0ff2e0435a9a4273144505256b0cf1ddf80ce3fff9d845bc560c4 WHIRLPOOL ac01a884cad4f10fe92b0203e618997107662ebe2d8e1335def112b108375353fbd4e4e8435178b0ab883694ebb136a75ffabed6fa905cdb9101b27f6b2ef8aa
+DIST patch-4.12.14.xz 237356 SHA256 999f3e0d97e1b9e7a09c8c0889f020ac9e342ec2391d0458521d4b8bff1cf945 SHA512 8bef19b2a87147b4ac7c5852d6cac0281c7df7deb84460c6462c981b9213d288061c19535bd9a4da03db73f8a9fd2fb76bf9c6d42b0b6ad1f30c97d5ee0964d1 WHIRLPOOL cd7c1173430eea9a33386fdfca10e1112ee90a5420180f30c0f375d7fb3ddfa657eae93cbae1a1d2b1a1a5d442eaf402e6565028ffeff79fc78a08b6334b1873
+DIST patch-4.13.5.xz 120108 SHA256 ba0cf285525e24850917c2f5cc7c2283b6509e2185bb70108f140f7ec695d57d SHA512 de55b07e52e88e3bc5af54c619933a81f535393f20712f38000bffa77ded22c7a16e70e43c28daf576bcc6cd3ad39387b8e1f430e3d22222f572113d2345df48 WHIRLPOOL cf0e094ef73563e464128d9e080b3653ea059dc8ae60f55581bbf20483ada96b71144c0862f95e15cf2281cf359c75b9be91c0b246c192ec0f5bb8b918287506
+DIST patch-4.4.91.xz 1365724 SHA256 d96bdc4da126aa93b33614c80c9e15fa6c6a42c225cf72927fb4ba0a3929c159 SHA512 44fab88ed7aba8f663ea01449fe7ce21e6ca0e472652dc61852402cf555ba9c7b9a48fa40a27e8da9612e9bf716b1e0ae761b6233363c6666fab8c7a54590bb7 WHIRLPOOL aa555dd9cb55ceb1c69db746b9f4b35b4f422dc8280e05fe460098a1bea5305d0044814835ccd70e7118d654819fe93f08ed300a13a1ea48122ad69b591ca439
+DIST patch-4.9.54.xz 1037212 SHA256 709621455ef17e98a2f7c3c0400f7875fa45ee672a29e005c9470fabd50304a8 SHA512 8ce2dbab8b8a94ef593eb40fc07b236c7b746a0eb099509fbe23ecde213384d535ad8ff4695b9cef2c5a78ecd6590fa8ded6e36c7ee17ef8dadb649ec5c074e2 WHIRLPOOL 4d2a6101e484f2736328cd67133db3ef113cb4f0084700104829b917c18f13849928747e44646fa954bf9dcd9ac9127b1e214ad916ca9252bf18a89f8b48b590
+EBUILD vanilla-sources-3.10.107.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-3.16.48.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-3.2.93.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-4.1.44.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-4.12.14.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-4.13.5.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-4.4.91.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+EBUILD vanilla-sources-4.9.54.ebuild 426 SHA256 d51336070bcfb81da63984fed8e0a90505b5281cd2794f7dc1eddcb333855b54 SHA512 61c2bff9920b131b34aff6713441ce702cd84532a04a60b7b59ae17c65618d56637bc9aa106657596fda25197df41cc64f4d62e231493b78fd44c01afc70070a WHIRLPOOL a966c069ad56880712804cef6a447cebe006ecd4ddf033bbd9042afc5a679b705f556c4fa8779bbf77c52ae0acc9dd8d92449bab5af90cf9fc3997e168b048df
+MISC ChangeLog 48866 SHA256 5e96c40666532838415dc80201535a16e22c7513cce19c979effe9592694c294 SHA512 06ee49f4aa7730f7c92a4ca500f6fcc105591d6b4ab7431e77a77b29821b81d7b882852370ac800461d2ca2efa68519e64504367534ef2e94dcd0da21b2fd9a0 WHIRLPOOL 31715105c3f96167303a5884816f10983a03213fb66fd96e032eb4b0cfbfeb98ab1ac662c585143e60f7a0f85dd465554498b4b03ff35887e5061fd1f2b8be60
+MISC ChangeLog-2013 104895 SHA256 3ad2bcc0b59ccc0f293134875f35690751b160483a3f010b6c3b95174df96471 SHA512 35c725d7c676a1ae6ebac12647004988b0b1e2b87fb7cbce95c101b8ad7b1e9527cc23a6bbc4a27fe11c47813d3743ba35223dfb8b546dd1f204943939172c47 WHIRLPOOL b250875b50ea9f08f26f3f92c45960fc317e7495b70fbf053f9586e75924b6478eafbd2ba54a2cf1c983d49b0341e63a15b2d46ff135f8945c3b61e3e87eabc5
+MISC ChangeLog-2015 43787 SHA256 aae0d19a00913935885696dbc734946b05091c72d5c32e1f57925b76da4fc9fd SHA512 0a63afa2ce400c72c57c796c3dd4b8fe257d0d827b62b77cbeb1561a3cc99d7c04d9039ee9523edfe8bca8f4f197e91a58282b91909cb5b272685a9a4c5db8b0 WHIRLPOOL 6b940c705250ec86a7d0c0792f797279a88aa9fe0e63ae32d01bab9ad22ffc4a8f955aea6f0afad15ccfba945e70a3e8ed10ce46016c44da5691605ed098e97d
+MISC metadata.xml 642 SHA256 c74ed095520a30329a8589b100aba86026e220160cdc1e21b0bf93d97f4a8cc1 SHA512 b7e1d4e4e6a4a75046ace025fa1b42a38068dcbdafddf2b468287e9280832173617202c036b1ad1fb42c2f2e16920c44f0580039e3844cbb73402143361f764e WHIRLPOOL 5429f07681b3be80675b4cfe45c57a3e7cfc17ce8783f2d843f62b9c7a406f77bcc10e3ee0963e2c70997d5af51699dd52fdf82f07fb5bdfb1ed9058be6d0c10
diff --git a/sys-kernel/vanilla-sources/metadata.xml b/sys-kernel/vanilla-sources/metadata.xml
new file mode 100644
index 000000000000..23dc09210a3e
--- /dev/null
+++ b/sys-kernel/vanilla-sources/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo kernel team</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>ago@gentoo.org</email>
+ <name>Agostino Sarubbo</name>
+ <description>CC/Assign to me the version bump request</description>
+ </maintainer>
+ <longdescription>
+ Vanilla prepatch/rc sources, for people who like to have the latest kernel available
+ </longdescription>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.10.107.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.10.107.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-3.10.107.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.16.48.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.16.48.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-3.16.48.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.2.93.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.2.93.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-3.2.93.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.1.44.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.1.44.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-4.1.44.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.12.14.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.12.14.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-4.12.14.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.13.5.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.13.5.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-4.13.5.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.4.91.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.4.91.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-4.4.91.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-4.9.54.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-4.9.54.ebuild
new file mode 100644
index 000000000000..20e2c109b44b
--- /dev/null
+++ b/sys-kernel/vanilla-sources/vanilla-sources-4.9.54.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
diff --git a/sys-kernel/xbox-sources/Manifest b/sys-kernel/xbox-sources/Manifest
new file mode 100644
index 000000000000..a5616a5205f1
--- /dev/null
+++ b/sys-kernel/xbox-sources/Manifest
@@ -0,0 +1,7 @@
+DIST linux-2.6.16-xbox.patch.gz 114525 SHA256 c8c3bd4b506f2c5a534d43efa6121e701aa5268a63ce4f35855c7a00b4d4f5f7 SHA512 003fd833a5fe6f96f6a3ac187cfd5083486ffa3472cb73f118b33b74a0b236a15f1bee8b28f7a08fed508ea57d78717f5834de8b77847a07c3a14e8b8ca9d076 WHIRLPOOL 1c8eedfa5263a9751e44c14239c9f9e6220e485182702c9f965297cd996edaa7d22a85513b0fc79637f2d9d33c203e7834c9752f6598e07dfc00ac5d482bbd79
+DIST linux-2.6.16.tar.xz 33178492 SHA256 6851eabcdd9da0d79f6d7c62da941547da963fa916c3d30ac5e8d70367cdc75a SHA512 7df52017beeedb9c0abe2f3ea0054141153d10acdd20935b60f357ee795c04f4235477776dbe6b81f34e33f4451325202c5f6d41201de299e69b653cbef7c9a1 WHIRLPOOL 3ec1f4cfd265b1b177d65959d24b89781af471f8a6b7be616ed8f88e7d531e2d25b6e7a8626bdb4ada5844843a912bbef37d9a5d25e283811cdc7803351fdb50
+DIST patch-2.6.16.26.xz 58504 SHA256 b280b662a3bc92e11b28a825582d7046d8064c30c342707e76f7f0c5a3ab7715 SHA512 5c088557e788a25aa6dfe4b60e80af0cb0a1cb09e5d17fcdfd7912dadd7810381425931ac42de35e13c51b8349cf5c134dbb2feb5726131725bae99d35caa4ce WHIRLPOOL f1383cac82ce5dd4a6767bae37ae3add551ccb3cae1e8583585cb00e276ec6dfdab7cec5d6f55e8cdc304801dbd8548569572914964c67c7cc2d147a667ea767
+EBUILD xbox-sources-2.6.16.26.ebuild 538 SHA256 3cac302f8f0646c41281179d8fd43d035799fd36e3bff84f0b15a8295f2fff6e SHA512 5b773c08ddad43050832a32f166b72fe644daa2c7fd869b7deba7c86b216daed097e5885ccfe3c1ef98cbf947f3be9f44338722488a18b1efe257121c378b015 WHIRLPOOL c72d13574708f7bc99db8342e5e27001ea22d7d0bfbba37c0b82043161340e1a0389be13c16c1f956380c316a5827b984a845974897f9df191806e4b20b85b60
+MISC ChangeLog 2452 SHA256 d73e41c7ab45a2412ccd855a9f53d3254ce8015c101dc9d2fcc13cd80e30b91b SHA512 da72503d824d89f6610084afd24b395710c77e2446ed2ccf6a91c3ff8f7738dcfceaf3303536e75b130ea9c8d9e37040007d4705e5dbc79cc7f66b26f553ed5c WHIRLPOOL 8b236a577594f1201da9237cf6ae3bc79c15889e57730a5cb649b3494bd236f0445cda224ac03240d0b8fe8524d97e92f7744be143f73e2d6c0096bb83e8d51e
+MISC ChangeLog-2015 13052 SHA256 c4857807b0467103787c4dd04ea31fee263c6e06719164d72624544f0e7f81f6 SHA512 b902de42e1d9ea30fb2147d55b45a689f06c6a93c54132a09aefa6ed5ffc4a5598da808177982bda5e3d6523e304cb47b96114ba7e118f851f1046f38ad9550e WHIRLPOOL bba3d52dfd6051e5b449f01d4518f0f82ce9eef98d6f127b09fed25c671c551e092c74f268e62cda7704e2dd67b0eff2362dda501830592ceb3c1136df98932c
+MISC metadata.xml 550 SHA256 fb503faac78b84df94ef2242eb79a0a08a4d534878a02eab27228c9c1173e516 SHA512 b8c74a92b773bdca0ede486790b336451ef22d0973420eadf1f6637235fdb974519643220046fc7bce712e92486448c2a6adc87fd8c40a6e1addd0257f92121e WHIRLPOOL c198d8de6d716b4bf074dfccd61d6272363186e98e543fc6ec1fe6077e991e2b0f9d92add9f84ad90c5f7d26c08afd3ccf3c52e2b87dc48c287da19eabb843f1
diff --git a/sys-kernel/xbox-sources/metadata.xml b/sys-kernel/xbox-sources/metadata.xml
new file mode 100644
index 000000000000..f1450dae9eaa
--- /dev/null
+++ b/sys-kernel/xbox-sources/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kernel@gentoo.org</email>
+ <name>Gentoo Kernel Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>vapier@gentoo.org</email>
+ </maintainer>
+ <longdescription>Full sources for the Xbox Linux kernel</longdescription>
+ <upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+ <remote-id type="sourceforge">xbox-linux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild b/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild
new file mode 100644
index 000000000000..9abd75e79ab4
--- /dev/null
+++ b/sys-kernel/xbox-sources/xbox-sources-2.6.16.26.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+ETYPE='sources'
+K_SECURITY_UNSUPPORTED="1"
+inherit kernel-2
+detect_arch
+detect_version
+
+# version of gentoo patchset
+XBOX_PATCHES=linux-2.6.16-xbox.patch.gz
+
+KEYWORDS="~x86 -*"
+UNIPATCH_LIST="
+ ${ARCH_PATCH}
+ ${DISTDIR}/${XBOX_PATCHES}"
+DESCRIPTION="Full sources for the Xbox Linux kernel"
+SRC_URI="${KERNEL_URI}
+ ${ARCH_URI}
+ mirror://sourceforge/xbox-linux/${XBOX_PATCHES}"
diff --git a/sys-kernel/zen-sources/Manifest b/sys-kernel/zen-sources/Manifest
new file mode 100644
index 000000000000..e89b835831aa
--- /dev/null
+++ b/sys-kernel/zen-sources/Manifest
@@ -0,0 +1,9 @@
+EBUILD zen-sources-3.10.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+EBUILD zen-sources-3.11.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+EBUILD zen-sources-3.12.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+EBUILD zen-sources-3.13.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+EBUILD zen-sources-3.8.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+EBUILD zen-sources-3.9.9999.ebuild 923 SHA256 3d17e611d0281618858983e1200818c5dad6d52e3d04b8a366e658a8d9a2bcac SHA512 1e4f8d847c721b2e80e200acf1f9e47c7a0b3b614cb471976809151b06026c040ce789b29f0c90bbf1cdef4b89fefade6470e50d43fd7764fb47c531f161fc44 WHIRLPOOL ed9625869b3a24dea43b0ef4f0d79b75e0de9f1949d5df594782b2f679056de4e1ca8b6b0225baeb0448183806e6bde5dd82bfd2bc326f10e97c0a3aed2e8e1d
+MISC ChangeLog 3162 SHA256 a9170e0d0678fba7daf294745ba14611b11f7f66cf0e8cc8662e965d6b662eb8 SHA512 bd70d61fc76c69864e3352dd4c22d7a2ac2311d60ac9b94abf8820db41138e76e76dce730df90a828bee233dc23e89f2a465a77620e9664f00d5f7da2ee3e5b3 WHIRLPOOL 0a697656c8bb68ef0f383d87405c1e506baafb666c3c6ab7cf9febb52dc7d88473babad0fe070194020834bc8c40ce08c233f885a7b41bd54c5d787d224942d2
+MISC ChangeLog-2015 15313 SHA256 09dd1783d1020c65484c61b2a0a805320fd18da6a25463bb6f18bb14211fae9b SHA512 901d154d5f681f36be1001338e962446e24c08624a4307d12a52bc4ccb05dd180f83d26a1d0d028b8091d921f1f3ad89bfc7f4d683b2dfb66079cee99b600166 WHIRLPOOL fe5635335286b7da16c27a3d94d2b130e5d28fb680306ceafb6ee31f3805eb40ba99260bab93373655bccbf23e1c5dbbaaac8a94eeec3b54edabff641f1246d9
+MISC metadata.xml 500 SHA256 8ff550b16eaf0af68acce2a8d34c1275c105ca0d978da3080eacaf04acaf9f35 SHA512 8ea9aa3f68ed79382a56128ea603f6e66b59ed462d884f330c1a2498e9fed958089b59eeb597da74f789a782ca5535d70f5f277d0f17098c377eb149324db550 WHIRLPOOL c1a56629bca982c5cfcd28ffa34ffaf1a2f0224846c332b91d74e77a33e541e332c6338ca51506dc77ad70e95fb81337a9030769b287fd3325f6d540cac9095a
diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml
new file mode 100644
index 000000000000..2c1f5c7532e4
--- /dev/null
+++ b/sys-kernel/zen-sources/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>vicegentoo@gmail.com</email>
+ <name>Daniel Weiss</name>
+ <description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.10.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}
diff --git a/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.11.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}
diff --git a/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.12.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}
diff --git a/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.13.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}
diff --git a/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.8.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}
diff --git a/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild b/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild
new file mode 100644
index 000000000000..70f5e180384d
--- /dev/null
+++ b/sys-kernel/zen-sources/zen-sources-3.9.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+K_PREPATCHED="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE=0
+CKV="${PV/99/}"
+
+ETYPE="sources"
+
+EGIT_BRANCH="${PV/.9999/}/master"
+EGIT_REPO_URI="https://github.com/damentz/zen-kernel.git"
+
+inherit kernel-2 git-2
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+DESCRIPTION="The Zen Kernel Live Sources"
+HOMEPAGE="https://zen-kernel.org"
+
+IUSE=""
+
+KEYWORDS=""
+
+K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
+${HOMEPAGE}, also go to #zen-sources on freenode"
+
+pkg_setup(){
+ ewarn "Be carefull!! You are about to install live kernel sources."
+ ewarn "Git zen-sources are extremely unsupported, even from the upstream"
+ ewarn "developers. Use them at your own risk and don't bite us if your"
+ ewarn "system explodes"
+ kernel-2_pkg_setup
+}