From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-boot/aboot/Manifest | 11 + sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild | 86 ++++++ .../aboot-define_stat_only_in_userspace.patch | 35 +++ sys-boot/aboot/files/aboot-gcc-3.4.patch | 31 +++ sys-boot/aboot/files/aboot-pt_note.patch | 308 +++++++++++++++++++++ sys-boot/aboot/files/aboot.conf | 10 + sys-boot/aboot/metadata.xml | 11 + sys-boot/arcload/Manifest | 8 + sys-boot/arcload/arcload-0.50-r1.ebuild | 83 ++++++ sys-boot/arcload/arcload-0.50-r3.ebuild | 128 +++++++++ sys-boot/arcload/files/arcload.8 | 65 +++++ sys-boot/arcload/metadata.xml | 11 + sys-boot/bootcreator/Manifest | 6 + sys-boot/bootcreator/bootcreator-1.1.ebuild | 29 ++ sys-boot/bootcreator/bootcreator-1.2.ebuild | 29 ++ sys-boot/bootcreator/metadata.xml | 8 + sys-boot/colo/Manifest | 8 + sys-boot/colo/colo-1.22.ebuild | 117 ++++++++ sys-boot/colo/files/default.colo | 25 ++ sys-boot/colo/files/menu.colo | 60 ++++ sys-boot/colo/files/simple.colo | 19 ++ sys-boot/colo/metadata.xml | 12 + sys-boot/cromwell-bin/Manifest | 7 + sys-boot/cromwell-bin/cromwell-bin-2.31-r1.ebuild | 27 ++ sys-boot/cromwell-bin/cromwell-bin-2.40-r1.ebuild | 27 ++ sys-boot/cromwell-bin/metadata.xml | 11 + sys-boot/cromwell/Manifest | 7 + sys-boot/cromwell/cromwell-2.40-r3.ebuild | 37 +++ .../cromwell/files/cromwell-2.40-gcc-4.6.patch | 39 +++ sys-boot/cromwell/metadata.xml | 8 + sys-boot/dvhtool/Manifest | 9 + sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 43 +++ .../dvhtool-1.0.1-add-raid-lvm-parttypes.patch | 24 ++ .../dvhtool-1.0.1-debian-warn_type_guess.diff | 12 + .../files/dvhtool-1.0.1-debian-xopen_source.diff | 11 + sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff | 135 +++++++++ sys-boot/dvhtool/metadata.xml | 8 + sys-boot/efibootmgr/Manifest | 7 + sys-boot/efibootmgr/efibootmgr-14.ebuild | 28 ++ sys-boot/efibootmgr/efibootmgr-15.ebuild | 29 ++ sys-boot/efibootmgr/metadata.xml | 17 ++ sys-boot/elilo/Manifest | 19 ++ sys-boot/elilo/elilo-3.10.ebuild | 70 +++++ sys-boot/elilo/elilo-3.12.ebuild | 70 +++++ sys-boot/elilo/elilo-3.16.ebuild | 85 ++++++ sys-boot/elilo/elilo-3.6_p20060314.ebuild | 86 ++++++ sys-boot/elilo/files/elilo-3.16-elilo-loop.patch | 15 + sys-boot/elilo/files/elilo.conf.sample | 9 + sys-boot/elilo/files/elilo.sh-chkspace.patch | 15 + sys-boot/elilo/files/elilo.sh-vmm.patch | 43 +++ sys-boot/elilo/metadata.xml | 11 + sys-boot/getdvhoff/Manifest | 5 + sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild | 36 +++ sys-boot/getdvhoff/metadata.xml | 12 + sys-boot/gnu-efi/Manifest | 9 + sys-boot/gnu-efi/gnu-efi-3.0.2.ebuild | 53 ++++ sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild | 78 ++++++ sys-boot/gnu-efi/gnu-efi-3.0.6-r1.ebuild | 90 ++++++ sys-boot/gnu-efi/metadata.xml | 15 + sys-boot/grub-static/Manifest | 15 + sys-boot/grub-static/grub-static-0.96-r1.ebuild | 17 ++ sys-boot/grub-static/grub-static-0.97-r10.ebuild | 175 ++++++++++++ sys-boot/grub-static/grub-static-0.97-r12.ebuild | 179 ++++++++++++ sys-boot/grub-static/grub-static-0.97-r6.ebuild | 135 +++++++++ sys-boot/grub-static/grub-static-0.97-r9.ebuild | 171 ++++++++++++ sys-boot/grub-static/grub-static-0.97.ebuild | 75 +++++ sys-boot/grub-static/metadata.xml | 8 + sys-boot/grub/Manifest | 19 ++ sys-boot/grub/files/gfxpayload.patch | 29 ++ ...97-Add-esp-to-list-of-clobbered-registers.patch | 53 ++++ .../grub/files/grub-0.97-ncurses-pkgconfig.patch | 18 ++ .../grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch | 67 +++++ sys-boot/grub/files/grub.conf.gentoo | 16 ++ sys-boot/grub/files/grub.default-3 | 73 +++++ sys-boot/grub/grub-0.97-r16.ebuild | 301 ++++++++++++++++++++ sys-boot/grub/grub-0.97-r17.ebuild | 293 ++++++++++++++++++++ sys-boot/grub/grub-2.02.ebuild | 298 ++++++++++++++++++++ sys-boot/grub/grub-9999.ebuild | 298 ++++++++++++++++++++ sys-boot/grub/metadata.xml | 42 +++ sys-boot/lilo/Manifest | 22 ++ .../lilo/files/lilo-22.8-correct-usage-info.patch | 12 + sys-boot/lilo/files/lilo-22.8-makefile.patch | 42 +++ sys-boot/lilo/files/lilo-22.8-nodevmapper.patch | 13 + sys-boot/lilo/files/lilo-22.8-novga.patch | 11 + sys-boot/lilo/files/lilo-24.0-novga.patch | 12 + sys-boot/lilo/files/lilo-24.1-novga.patch | 12 + sys-boot/lilo/files/lilo.conf | 72 +++++ sys-boot/lilo/lilo-22.8-r2.ebuild | 179 ++++++++++++ sys-boot/lilo/lilo-23.2-r2.ebuild | 180 ++++++++++++ sys-boot/lilo/lilo-24.0-r1.ebuild | 175 ++++++++++++ sys-boot/lilo/lilo-24.1.ebuild | 182 ++++++++++++ sys-boot/lilo/lilo-24.2.ebuild | 182 ++++++++++++ sys-boot/lilo/metadata.xml | 16 ++ sys-boot/makebootfat/Manifest | 5 + sys-boot/makebootfat/makebootfat-1.4.ebuild | 24 ++ sys-boot/makebootfat/metadata.xml | 10 + sys-boot/mbr-gpt/Manifest | 5 + sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild | 51 ++++ sys-boot/mbr-gpt/metadata.xml | 11 + sys-boot/mbr/Manifest | 5 + sys-boot/mbr/mbr-1.1.11.ebuild | 32 +++ sys-boot/mbr/metadata.xml | 5 + sys-boot/metadata.xml | 36 +++ sys-boot/milo/Manifest | 15 + sys-boot/milo/files/README-gentoo | 98 +++++++ sys-boot/milo/files/linux-2.2.25-gcc3-milo.diff | 123 ++++++++ sys-boot/milo/files/milo-2.2-18-gcc3-gentoo.diff | 174 ++++++++++++ sys-boot/milo/files/mkserial_no.c | 45 +++ sys-boot/milo/files/objstrip.c | 282 +++++++++++++++++++ sys-boot/milo/metadata.xml | 17 ++ sys-boot/milo/milo-2.4.18.ebuild | 231 ++++++++++++++++ sys-boot/netboot/Manifest | 6 + .../netboot/files/netboot-0.10.2-ldflags.patch | 38 +++ sys-boot/netboot/metadata.xml | 8 + sys-boot/netboot/netboot-0.10.2.ebuild | 50 ++++ sys-boot/nettrom/Manifest | 5 + sys-boot/nettrom/metadata.xml | 8 + sys-boot/nettrom/nettrom-2.3.3.ebuild | 21 ++ sys-boot/os-prober/Manifest | 9 + sys-boot/os-prober/metadata.xml | 12 + sys-boot/os-prober/os-prober-1.71.ebuild | 74 +++++ sys-boot/os-prober/os-prober-1.73.ebuild | 74 +++++ sys-boot/os-prober/os-prober-1.74.ebuild | 76 +++++ sys-boot/palo/Manifest | 10 + sys-boot/palo/files/99palo | 3 + sys-boot/palo/files/palo-1.96-toolchain.patch | 31 +++ sys-boot/palo/files/palo-9999-toolchain.patch | 23 ++ sys-boot/palo/files/palo.conf | 8 + sys-boot/palo/metadata.xml | 11 + sys-boot/palo/palo-1.99.ebuild | 42 +++ sys-boot/palo/palo-9999.ebuild | 47 ++++ sys-boot/plymouth-openrc-plugin/Manifest | 5 + sys-boot/plymouth-openrc-plugin/metadata.xml | 8 + .../plymouth-openrc-plugin-0.1.2.ebuild | 41 +++ sys-boot/plymouth/Manifest | 12 + .../files/0.9.2-systemdsystemunitdir.patch | 18 ++ .../plymouth/files/0.9.3-glibc-sysmacros.patch | 45 +++ sys-boot/plymouth/metadata.xml | 28 ++ sys-boot/plymouth/plymouth-0.9.2-r1.ebuild | 100 +++++++ sys-boot/plymouth/plymouth-0.9.3-r1.ebuild | 99 +++++++ sys-boot/plymouth/plymouth-0.9.3.ebuild | 95 +++++++ sys-boot/plymouth/plymouth-9999.ebuild | 96 +++++++ sys-boot/psoload/Manifest | 5 + sys-boot/psoload/metadata.xml | 5 + sys-boot/psoload/psoload-2.0.ebuild | 25 ++ sys-boot/quik/Manifest | 7 + sys-boot/quik/files/headers.patch | 33 +++ sys-boot/quik/files/md-fix.diff | 11 + sys-boot/quik/metadata.xml | 8 + sys-boot/quik/quik-2.1.6.ebuild | 43 +++ sys-boot/raincoat/Manifest | 8 + sys-boot/raincoat/files/raincoat-0.11-build.patch | 13 + sys-boot/raincoat/metadata.xml | 11 + sys-boot/raincoat/raincoat-0.11.ebuild | 25 ++ sys-boot/raincoat/raincoat-0.5.ebuild | 25 ++ sys-boot/raspberrypi-firmware/Manifest | 19 ++ .../raspberrypi-firmware-0_p20130711-cmdline.txt | 1 + .../raspberrypi-firmware-0_p20130711-config.txt | 81 ++++++ .../files/raspberrypi-firmware-0_p20130711-envd | 2 + sys-boot/raspberrypi-firmware/metadata.xml | 11 + .../raspberrypi-firmware-1.20160209.ebuild | 47 ++++ .../raspberrypi-firmware-1.20160309.ebuild | 47 ++++ .../raspberrypi-firmware-1_pre20130807.ebuild | 61 ++++ .../raspberrypi-firmware-9999.ebuild | 53 ++++ sys-boot/raspberrypi-mkimage/Manifest | 9 + ...rrypi-mkimage-0_p20120201-args-uncompressed.txt | 12 + ...rrypi-mkimage-0_p20120201-boot-uncompressed.txt | 17 ++ ..._p20120201-imagetool-uncompressed-python3.patch | 11 + ...kimage-0_p20120201-imagetool-uncompressed.patch | 48 ++++ ...i-mkimage-0_p20120201-imagetool-uncompressed.py | 45 +++ sys-boot/raspberrypi-mkimage/metadata.xml | 11 + .../raspberrypi-mkimage-0_p20120201.ebuild | 56 ++++ sys-boot/refind/Manifest | 6 + sys-boot/refind/metadata.xml | 69 +++++ sys-boot/refind/refind-0.10.4-r2.ebuild | 197 +++++++++++++ sys-boot/refind/refind-0.10.8.ebuild | 197 +++++++++++++ sys-boot/sgibootcd/Manifest | 5 + sys-boot/sgibootcd/metadata.xml | 12 + sys-boot/sgibootcd/sgibootcd-0.12.ebuild | 28 ++ sys-boot/shlilo-lantank/Manifest | 6 + sys-boot/shlilo-lantank/files/lilo.conf | 16 ++ sys-boot/shlilo-lantank/metadata.xml | 8 + .../shlilo-lantank/shlilo-lantank-20040408.ebuild | 32 +++ sys-boot/silo/Manifest | 13 + sys-boot/silo/files/silo-e2fsprogs-1.4.14.patch | 54 ++++ sys-boot/silo/metadata.xml | 11 + sys-boot/silo/silo-1.4.14_p20100228.ebuild | 69 +++++ sys-boot/silo/silo-1.4.14_p20120226.ebuild | 69 +++++ sys-boot/silo/silo-1.4.14_p20120819.ebuild | 63 +++++ sys-boot/syslinux/Manifest | 16 ++ sys-boot/syslinux/files/syslinux-3.86-nopie.patch | 12 + sys-boot/syslinux/files/syslinux-4.05-nopie.patch | 12 + .../syslinux/files/syslinux-6.03-sysmacros.patch | 34 +++ sys-boot/syslinux/metadata.xml | 11 + sys-boot/syslinux/syslinux-3.86.ebuild | 55 ++++ sys-boot/syslinux/syslinux-4.07.ebuild | 68 +++++ sys-boot/syslinux/syslinux-5.10.ebuild | 82 ++++++ sys-boot/syslinux/syslinux-6.03.ebuild | 112 ++++++++ sys-boot/syslinux/syslinux-6.04_pre1.ebuild | 112 ++++++++ sys-boot/systemd-boot/Manifest | 5 + .../233-Force-libsystemd-shared-to-be-static.patch | 25 ++ sys-boot/systemd-boot/metadata.xml | 11 + sys-boot/systemd-boot/systemd-boot-233.ebuild | 111 ++++++++ sys-boot/systemrescuecd-x86-grub/Manifest | 5 + .../files/systemrescuecd.default | 21 ++ .../files/systemrescuecd.grub | 64 +++++ sys-boot/systemrescuecd-x86-grub/metadata.xml | 17 ++ .../systemrescuecd-x86-grub-0.1.ebuild | 32 +++ sys-boot/tboot/Manifest | 8 + .../tboot/files/tboot-1.9.5-genkernel-path.patch | 60 ++++ sys-boot/tboot/metadata.xml | 14 + sys-boot/tboot/tboot-1.9.5-r1.ebuild | 71 +++++ sys-boot/tboot/tboot-1.9.6.ebuild | 71 +++++ sys-boot/udk/Manifest | 6 + sys-boot/udk/files/2015-makefile.template | 54 ++++ sys-boot/udk/files/2015-tools_def.template | 42 +++ sys-boot/udk/metadata.xml | 23 ++ sys-boot/udk/udk-2015.ebuild | 247 +++++++++++++++++ sys-boot/unetbootin/Manifest | 11 + .../unetbootin/files/unetbootin-581-desktop.patch | 24 ++ .../files/unetbootin-647-frebootbutton.patch | 10 + sys-boot/unetbootin/metadata.xml | 12 + sys-boot/unetbootin/unetbootin-625.ebuild | 90 ++++++ sys-boot/unetbootin/unetbootin-647.ebuild | 89 ++++++ sys-boot/unetbootin/unetbootin-655.ebuild | 88 ++++++ sys-boot/vboot-utils/Manifest | 13 + .../vboot-utils-42_p20150219-cgpt-static.patch | 36 +++ .../files/vboot-utils-42_p20150219-sysmacros.patch | 43 +++ sys-boot/vboot-utils/metadata.xml | 15 + .../vboot-utils/vboot-utils-1.0_p20130222.ebuild | 74 +++++ .../vboot-utils/vboot-utils-42_p20150219.ebuild | 85 ++++++ .../vboot-utils/vboot-utils-51_p20160427.ebuild | 84 ++++++ .../vboot-utils/vboot-utils-59_p20170413.ebuild | 85 ++++++ sys-boot/winusb/Manifest | 5 + sys-boot/winusb/metadata.xml | 4 + sys-boot/winusb/winusb-1.0.11.ebuild | 40 +++ sys-boot/yaboot-static/Manifest | 11 + .../yaboot-static/files/new-ofpath-devspec.patch | 30 ++ sys-boot/yaboot-static/files/sysfs-ofpath.patch | 105 +++++++ sys-boot/yaboot-static/metadata.xml | 8 + .../yaboot-static/yaboot-static-1.3.14-r1.ebuild | 43 +++ .../yaboot-static/yaboot-static-1.3.16-r1.ebuild | 37 +++ .../yaboot-static/yaboot-static-1.3.17-r1.ebuild | 41 +++ sys-boot/yaboot/Manifest | 18 ++ sys-boot/yaboot/files/chrpfix.patch | 23 ++ sys-boot/yaboot/files/new-ofpath | 143 ++++++++++ sys-boot/yaboot/files/new-ofpath-devspec.patch | 28 ++ sys-boot/yaboot/files/sysfs-ofpath.patch | 105 +++++++ sys-boot/yaboot/files/yaboot-1.3.16-memalign.patch | 41 +++ .../yaboot/files/yaboot-1.3.17-nopiessp-gcc4.patch | 38 +++ sys-boot/yaboot/files/yaboot-nopiessp-gcc4.patch | 38 +++ sys-boot/yaboot/files/yaboot-stubfuncs.patch | 231 ++++++++++++++++ sys-boot/yaboot/files/yabootconfig-1.3.13.patch | 42 +++ sys-boot/yaboot/metadata.xml | 8 + sys-boot/yaboot/yaboot-1.3.14-r2.ebuild | 47 ++++ sys-boot/yaboot/yaboot-1.3.16.ebuild | 56 ++++ sys-boot/yaboot/yaboot-1.3.17-r2.ebuild | 59 ++++ 257 files changed, 12937 insertions(+) create mode 100644 sys-boot/aboot/Manifest create mode 100644 sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild create mode 100644 sys-boot/aboot/files/aboot-define_stat_only_in_userspace.patch create mode 100644 sys-boot/aboot/files/aboot-gcc-3.4.patch create mode 100644 sys-boot/aboot/files/aboot-pt_note.patch create mode 100644 sys-boot/aboot/files/aboot.conf create mode 100644 sys-boot/aboot/metadata.xml create mode 100644 sys-boot/arcload/Manifest create mode 100644 sys-boot/arcload/arcload-0.50-r1.ebuild create mode 100644 sys-boot/arcload/arcload-0.50-r3.ebuild create mode 100644 sys-boot/arcload/files/arcload.8 create mode 100644 sys-boot/arcload/metadata.xml create mode 100644 sys-boot/bootcreator/Manifest create mode 100644 sys-boot/bootcreator/bootcreator-1.1.ebuild create mode 100644 sys-boot/bootcreator/bootcreator-1.2.ebuild create mode 100644 sys-boot/bootcreator/metadata.xml create mode 100644 sys-boot/colo/Manifest create mode 100644 sys-boot/colo/colo-1.22.ebuild create mode 100644 sys-boot/colo/files/default.colo create mode 100644 sys-boot/colo/files/menu.colo create mode 100644 sys-boot/colo/files/simple.colo create mode 100644 sys-boot/colo/metadata.xml create mode 100644 sys-boot/cromwell-bin/Manifest create mode 100644 sys-boot/cromwell-bin/cromwell-bin-2.31-r1.ebuild create mode 100644 sys-boot/cromwell-bin/cromwell-bin-2.40-r1.ebuild create mode 100644 sys-boot/cromwell-bin/metadata.xml create mode 100644 sys-boot/cromwell/Manifest create mode 100644 sys-boot/cromwell/cromwell-2.40-r3.ebuild create mode 100644 sys-boot/cromwell/files/cromwell-2.40-gcc-4.6.patch create mode 100644 sys-boot/cromwell/metadata.xml create mode 100644 sys-boot/dvhtool/Manifest create mode 100644 sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild create mode 100644 sys-boot/dvhtool/files/dvhtool-1.0.1-add-raid-lvm-parttypes.patch create mode 100644 sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff create mode 100644 sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff create mode 100644 sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff create mode 100644 sys-boot/dvhtool/metadata.xml create mode 100644 sys-boot/efibootmgr/Manifest create mode 100644 sys-boot/efibootmgr/efibootmgr-14.ebuild create mode 100644 sys-boot/efibootmgr/efibootmgr-15.ebuild create mode 100644 sys-boot/efibootmgr/metadata.xml create mode 100644 sys-boot/elilo/Manifest create mode 100644 sys-boot/elilo/elilo-3.10.ebuild create mode 100644 sys-boot/elilo/elilo-3.12.ebuild create mode 100644 sys-boot/elilo/elilo-3.16.ebuild create mode 100644 sys-boot/elilo/elilo-3.6_p20060314.ebuild create mode 100644 sys-boot/elilo/files/elilo-3.16-elilo-loop.patch create mode 100644 sys-boot/elilo/files/elilo.conf.sample create mode 100644 sys-boot/elilo/files/elilo.sh-chkspace.patch create mode 100644 sys-boot/elilo/files/elilo.sh-vmm.patch create mode 100644 sys-boot/elilo/metadata.xml create mode 100644 sys-boot/getdvhoff/Manifest create mode 100644 sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild create mode 100644 sys-boot/getdvhoff/metadata.xml create mode 100644 sys-boot/gnu-efi/Manifest create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.2.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.6-r1.ebuild create mode 100644 sys-boot/gnu-efi/metadata.xml create mode 100644 sys-boot/grub-static/Manifest create mode 100644 sys-boot/grub-static/grub-static-0.96-r1.ebuild create mode 100644 sys-boot/grub-static/grub-static-0.97-r10.ebuild create mode 100644 sys-boot/grub-static/grub-static-0.97-r12.ebuild create mode 100644 sys-boot/grub-static/grub-static-0.97-r6.ebuild create mode 100644 sys-boot/grub-static/grub-static-0.97-r9.ebuild create mode 100644 sys-boot/grub-static/grub-static-0.97.ebuild create mode 100644 sys-boot/grub-static/metadata.xml create mode 100644 sys-boot/grub/Manifest create mode 100644 sys-boot/grub/files/gfxpayload.patch create mode 100644 sys-boot/grub/files/grub-0.97-Add-esp-to-list-of-clobbered-registers.patch create mode 100644 sys-boot/grub/files/grub-0.97-ncurses-pkgconfig.patch create mode 100644 sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch create mode 100644 sys-boot/grub/files/grub.conf.gentoo create mode 100644 sys-boot/grub/files/grub.default-3 create mode 100644 sys-boot/grub/grub-0.97-r16.ebuild create mode 100644 sys-boot/grub/grub-0.97-r17.ebuild create mode 100644 sys-boot/grub/grub-2.02.ebuild create mode 100644 sys-boot/grub/grub-9999.ebuild create mode 100644 sys-boot/grub/metadata.xml create mode 100644 sys-boot/lilo/Manifest create mode 100644 sys-boot/lilo/files/lilo-22.8-correct-usage-info.patch create mode 100644 sys-boot/lilo/files/lilo-22.8-makefile.patch create mode 100644 sys-boot/lilo/files/lilo-22.8-nodevmapper.patch create mode 100644 sys-boot/lilo/files/lilo-22.8-novga.patch create mode 100644 sys-boot/lilo/files/lilo-24.0-novga.patch create mode 100644 sys-boot/lilo/files/lilo-24.1-novga.patch create mode 100644 sys-boot/lilo/files/lilo.conf create mode 100644 sys-boot/lilo/lilo-22.8-r2.ebuild create mode 100644 sys-boot/lilo/lilo-23.2-r2.ebuild create mode 100644 sys-boot/lilo/lilo-24.0-r1.ebuild create mode 100644 sys-boot/lilo/lilo-24.1.ebuild create mode 100644 sys-boot/lilo/lilo-24.2.ebuild create mode 100644 sys-boot/lilo/metadata.xml create mode 100644 sys-boot/makebootfat/Manifest create mode 100644 sys-boot/makebootfat/makebootfat-1.4.ebuild create mode 100644 sys-boot/makebootfat/metadata.xml create mode 100644 sys-boot/mbr-gpt/Manifest create mode 100644 sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild create mode 100644 sys-boot/mbr-gpt/metadata.xml create mode 100644 sys-boot/mbr/Manifest create mode 100644 sys-boot/mbr/mbr-1.1.11.ebuild create mode 100644 sys-boot/mbr/metadata.xml create mode 100644 sys-boot/metadata.xml create mode 100644 sys-boot/milo/Manifest create mode 100644 sys-boot/milo/files/README-gentoo create mode 100644 sys-boot/milo/files/linux-2.2.25-gcc3-milo.diff create mode 100644 sys-boot/milo/files/milo-2.2-18-gcc3-gentoo.diff create mode 100644 sys-boot/milo/files/mkserial_no.c create mode 100644 sys-boot/milo/files/objstrip.c create mode 100644 sys-boot/milo/metadata.xml create mode 100644 sys-boot/milo/milo-2.4.18.ebuild create mode 100644 sys-boot/netboot/Manifest create mode 100644 sys-boot/netboot/files/netboot-0.10.2-ldflags.patch create mode 100644 sys-boot/netboot/metadata.xml create mode 100644 sys-boot/netboot/netboot-0.10.2.ebuild create mode 100644 sys-boot/nettrom/Manifest create mode 100644 sys-boot/nettrom/metadata.xml create mode 100644 sys-boot/nettrom/nettrom-2.3.3.ebuild create mode 100644 sys-boot/os-prober/Manifest create mode 100644 sys-boot/os-prober/metadata.xml create mode 100644 sys-boot/os-prober/os-prober-1.71.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.73.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.74.ebuild create mode 100644 sys-boot/palo/Manifest create mode 100644 sys-boot/palo/files/99palo create mode 100644 sys-boot/palo/files/palo-1.96-toolchain.patch create mode 100644 sys-boot/palo/files/palo-9999-toolchain.patch create mode 100644 sys-boot/palo/files/palo.conf create mode 100644 sys-boot/palo/metadata.xml create mode 100644 sys-boot/palo/palo-1.99.ebuild create mode 100644 sys-boot/palo/palo-9999.ebuild create mode 100644 sys-boot/plymouth-openrc-plugin/Manifest create mode 100644 sys-boot/plymouth-openrc-plugin/metadata.xml create mode 100644 sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.2.ebuild create mode 100644 sys-boot/plymouth/Manifest create mode 100644 sys-boot/plymouth/files/0.9.2-systemdsystemunitdir.patch create mode 100644 sys-boot/plymouth/files/0.9.3-glibc-sysmacros.patch create mode 100644 sys-boot/plymouth/metadata.xml create mode 100644 sys-boot/plymouth/plymouth-0.9.2-r1.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.9.3-r1.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.9.3.ebuild create mode 100644 sys-boot/plymouth/plymouth-9999.ebuild create mode 100644 sys-boot/psoload/Manifest create mode 100644 sys-boot/psoload/metadata.xml create mode 100644 sys-boot/psoload/psoload-2.0.ebuild create mode 100644 sys-boot/quik/Manifest create mode 100644 sys-boot/quik/files/headers.patch create mode 100644 sys-boot/quik/files/md-fix.diff create mode 100644 sys-boot/quik/metadata.xml create mode 100644 sys-boot/quik/quik-2.1.6.ebuild create mode 100644 sys-boot/raincoat/Manifest create mode 100644 sys-boot/raincoat/files/raincoat-0.11-build.patch create mode 100644 sys-boot/raincoat/metadata.xml create mode 100644 sys-boot/raincoat/raincoat-0.11.ebuild create mode 100644 sys-boot/raincoat/raincoat-0.5.ebuild create mode 100644 sys-boot/raspberrypi-firmware/Manifest create mode 100644 sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt create mode 100644 sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt create mode 100644 sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd create mode 100644 sys-boot/raspberrypi-firmware/metadata.xml create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160209.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160309.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild create mode 100644 sys-boot/raspberrypi-mkimage/Manifest create mode 100644 sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-args-uncompressed.txt create mode 100644 sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-boot-uncompressed.txt create mode 100644 sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch create mode 100644 sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed.patch create mode 100644 sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed.py create mode 100644 sys-boot/raspberrypi-mkimage/metadata.xml create mode 100644 sys-boot/raspberrypi-mkimage/raspberrypi-mkimage-0_p20120201.ebuild create mode 100644 sys-boot/refind/Manifest create mode 100644 sys-boot/refind/metadata.xml create mode 100644 sys-boot/refind/refind-0.10.4-r2.ebuild create mode 100644 sys-boot/refind/refind-0.10.8.ebuild create mode 100644 sys-boot/sgibootcd/Manifest create mode 100644 sys-boot/sgibootcd/metadata.xml create mode 100644 sys-boot/sgibootcd/sgibootcd-0.12.ebuild create mode 100644 sys-boot/shlilo-lantank/Manifest create mode 100644 sys-boot/shlilo-lantank/files/lilo.conf create mode 100644 sys-boot/shlilo-lantank/metadata.xml create mode 100644 sys-boot/shlilo-lantank/shlilo-lantank-20040408.ebuild create mode 100644 sys-boot/silo/Manifest create mode 100644 sys-boot/silo/files/silo-e2fsprogs-1.4.14.patch create mode 100644 sys-boot/silo/metadata.xml create mode 100644 sys-boot/silo/silo-1.4.14_p20100228.ebuild create mode 100644 sys-boot/silo/silo-1.4.14_p20120226.ebuild create mode 100644 sys-boot/silo/silo-1.4.14_p20120819.ebuild create mode 100644 sys-boot/syslinux/Manifest create mode 100644 sys-boot/syslinux/files/syslinux-3.86-nopie.patch create mode 100644 sys-boot/syslinux/files/syslinux-4.05-nopie.patch create mode 100644 sys-boot/syslinux/files/syslinux-6.03-sysmacros.patch create mode 100644 sys-boot/syslinux/metadata.xml create mode 100644 sys-boot/syslinux/syslinux-3.86.ebuild create mode 100644 sys-boot/syslinux/syslinux-4.07.ebuild create mode 100644 sys-boot/syslinux/syslinux-5.10.ebuild create mode 100644 sys-boot/syslinux/syslinux-6.03.ebuild create mode 100644 sys-boot/syslinux/syslinux-6.04_pre1.ebuild create mode 100644 sys-boot/systemd-boot/Manifest create mode 100644 sys-boot/systemd-boot/files/233-Force-libsystemd-shared-to-be-static.patch create mode 100644 sys-boot/systemd-boot/metadata.xml create mode 100644 sys-boot/systemd-boot/systemd-boot-233.ebuild create mode 100644 sys-boot/systemrescuecd-x86-grub/Manifest create mode 100644 sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.default create mode 100644 sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub create mode 100644 sys-boot/systemrescuecd-x86-grub/metadata.xml create mode 100644 sys-boot/systemrescuecd-x86-grub/systemrescuecd-x86-grub-0.1.ebuild create mode 100644 sys-boot/tboot/Manifest create mode 100644 sys-boot/tboot/files/tboot-1.9.5-genkernel-path.patch create mode 100644 sys-boot/tboot/metadata.xml create mode 100644 sys-boot/tboot/tboot-1.9.5-r1.ebuild create mode 100644 sys-boot/tboot/tboot-1.9.6.ebuild create mode 100644 sys-boot/udk/Manifest create mode 100644 sys-boot/udk/files/2015-makefile.template create mode 100644 sys-boot/udk/files/2015-tools_def.template create mode 100644 sys-boot/udk/metadata.xml create mode 100644 sys-boot/udk/udk-2015.ebuild create mode 100644 sys-boot/unetbootin/Manifest create mode 100644 sys-boot/unetbootin/files/unetbootin-581-desktop.patch create mode 100644 sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch create mode 100644 sys-boot/unetbootin/metadata.xml create mode 100644 sys-boot/unetbootin/unetbootin-625.ebuild create mode 100644 sys-boot/unetbootin/unetbootin-647.ebuild create mode 100644 sys-boot/unetbootin/unetbootin-655.ebuild create mode 100644 sys-boot/vboot-utils/Manifest create mode 100644 sys-boot/vboot-utils/files/vboot-utils-42_p20150219-cgpt-static.patch create mode 100644 sys-boot/vboot-utils/files/vboot-utils-42_p20150219-sysmacros.patch create mode 100644 sys-boot/vboot-utils/metadata.xml create mode 100644 sys-boot/vboot-utils/vboot-utils-1.0_p20130222.ebuild create mode 100644 sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild create mode 100644 sys-boot/vboot-utils/vboot-utils-51_p20160427.ebuild create mode 100644 sys-boot/vboot-utils/vboot-utils-59_p20170413.ebuild create mode 100644 sys-boot/winusb/Manifest create mode 100644 sys-boot/winusb/metadata.xml create mode 100644 sys-boot/winusb/winusb-1.0.11.ebuild create mode 100644 sys-boot/yaboot-static/Manifest create mode 100644 sys-boot/yaboot-static/files/new-ofpath-devspec.patch create mode 100644 sys-boot/yaboot-static/files/sysfs-ofpath.patch create mode 100644 sys-boot/yaboot-static/metadata.xml create mode 100644 sys-boot/yaboot-static/yaboot-static-1.3.14-r1.ebuild create mode 100644 sys-boot/yaboot-static/yaboot-static-1.3.16-r1.ebuild create mode 100644 sys-boot/yaboot-static/yaboot-static-1.3.17-r1.ebuild create mode 100644 sys-boot/yaboot/Manifest create mode 100644 sys-boot/yaboot/files/chrpfix.patch create mode 100644 sys-boot/yaboot/files/new-ofpath create mode 100644 sys-boot/yaboot/files/new-ofpath-devspec.patch create mode 100644 sys-boot/yaboot/files/sysfs-ofpath.patch create mode 100644 sys-boot/yaboot/files/yaboot-1.3.16-memalign.patch create mode 100644 sys-boot/yaboot/files/yaboot-1.3.17-nopiessp-gcc4.patch create mode 100644 sys-boot/yaboot/files/yaboot-nopiessp-gcc4.patch create mode 100644 sys-boot/yaboot/files/yaboot-stubfuncs.patch create mode 100644 sys-boot/yaboot/files/yabootconfig-1.3.13.patch create mode 100644 sys-boot/yaboot/metadata.xml create mode 100644 sys-boot/yaboot/yaboot-1.3.14-r2.ebuild create mode 100644 sys-boot/yaboot/yaboot-1.3.16.ebuild create mode 100644 sys-boot/yaboot/yaboot-1.3.17-r2.ebuild (limited to 'sys-boot') diff --git a/sys-boot/aboot/Manifest b/sys-boot/aboot/Manifest new file mode 100644 index 000000000000..6c8296a7fb85 --- /dev/null +++ b/sys-boot/aboot/Manifest @@ -0,0 +1,11 @@ +AUX aboot-define_stat_only_in_userspace.patch 930 SHA256 ba7b34d1361ff4635e0f4aa7118295d4b93fc8716333a23bbc8a4dbe4ddea5de SHA512 b219d941943e0780030e402773a5ca3d9d2b3779b0162ad464d636c06268d37fa99f80ab9f7585013ffdfb8e13c1661f533ff6dad08451b5fe778d0a3fa9bd4e WHIRLPOOL e1184bba6b69b340e1c6989175c873d5fc9cd2d33b0ee5f2a83b40924856d7f07883614b1f607f1507d094bab36746997e69fe5f7e81305005e0fe6a441d0705 +AUX aboot-gcc-3.4.patch 830 SHA256 9757c85226ec5355a849a24a71415604569a7de06036bcfb3e4814fa448b5d18 SHA512 9e5f95a18b7d2eac6ab589f86f0e7a7ba189642b5cf0b302324ea0e2de243bf0379f119c79d44a9aa6b59096a582878438d0a1b42c0b626650ba908777bf0760 WHIRLPOOL b2ed3e55f3be60c698396cc638036234811bff399f1322506b10fe5fac18f232d10539dabba8a575180436081255adcb0481fe6dbe3729d5c4cc4a443671cef6 +AUX aboot-pt_note.patch 8966 SHA256 ef8a8e20bf482d0aa2cd4da09c867f021018fde486f6c631d7c236d790d81a2b SHA512 0df0be83d4f487ab899a37be494e90c926311dd39b49c953ab9fa97ac70a6430d697b62d8c12315fd6dcb0c7790d27eb6391754acecf440cbe0c363b050b5479 WHIRLPOOL bab6f78b9f6379f9ffd92478d9225b1ac8c4eda7f183de32a7407c9aa505554b21bfde38b0f73a6724e8aa9989f360d34fb0e369a225160e9a8d7111e7e24e6b +AUX aboot.conf 295 SHA256 41372b883807cbd871a5c8f17c4787273f2107ba10be127f73ca9e445ce72ebd SHA512 2dc56371223f6dfa19d13feaa9e33655997f571309ba9158e265051b5b9fe3e2f79ccf66385bde8433cf8b5cd0cb95b3036de43f93392c31a95638039f658e30 WHIRLPOOL f1f9d7ca909c7adaa8a1a7a98219763cde16f619abb5f117a837f8aab389a683e33fdd9e308df4bfc4ff78813156ba089349697668104f4161461b8af015dc53 +DIST aboot-1.0_pre20040408.tar.bz2 115062 SHA256 a8ae8f2bf549c1cc79ea66a0a11c8db5c0257ce0d94b97418eb1c658723b12d2 SHA512 b1fff7ce806336f89efe8239108a8547053f22727cba93cea742995432c4f35133f8dc619588390ba6e0d114e2fd62b80b730443e6c18900aa2a8832ddd4ebfc WHIRLPOOL 74d6d72c0d6802682b10fb9a6505b95365ce5b784c0a2377d922604467129a6812f6ab00d579d511d93e3c40ba40627ad7f2f49eb6e08a0de10f7549aa09997e +DIST aboot_gentoo.diff.bz2 9527 SHA256 6b141b7c90560d07ad740cfb8660a26935acfa96376e73439271d1fa9c6d0730 SHA512 868a73fee56e9bf6d986175a6a4dc321ed12fb78d74dfb8f1a3e35274577ddc9ea0820768b44836403587b3976ad8dacdcf6562a9ce5c45981c752670901155f WHIRLPOOL b621387b6a6d04db8e2d1c3554c6615c782d783c9f42f854160e40ec1a2969ba1e5cff4be72e631379f485d5d0780f5dee87e81c67a1c313480bcf0b0d261937 +DIST gentoo-headers-base-2.6.22.tar.bz2 4700338 SHA256 da57d0d8d12a59b05f0d3851e6d2f67c413baece046f4ec03831aa70df88710a SHA512 99849928eede0c4b101ddc9179c0974cac6b4f18803dc98b72dcbe80cea88d3062f709beaa1b890edbed9c147be0dd516065d4cee945164b5d9f19f7a3cf249d WHIRLPOOL cf35281fc5558c14a134bd4018e70a8cca589972c90980786669892a23aff4b1236f0c69586dfad4836bcdac7b75c5a902e15b88cc835adbcff16bbb5ded7181 +EBUILD aboot-1.0_pre20040408-r3.ebuild 2498 SHA256 9e623b875cfb0ea00710d6740c9b780c5f071e333eda169ee5a4c4b3d94d9e64 SHA512 9e129427a16ff0260e86887bfba3b7b8858572bc978acb0a1e588fe9039771e23d1724ef294134c9836f5be11d63b924c75d285e80f27d8775812e1bf4cf1446 WHIRLPOOL 606bbf85a01148cb32a438d973c1768a113f08462288ca7a0bc7539071524ca0182f222338ff16325fadcc13f388c369fbf2a9fc08e7ac033409d03a714a9ac1 +MISC ChangeLog 3159 SHA256 e70a31951e7d67c38528b57bfea930c6e23e92cf5dc93a8431e75e050d82df1a SHA512 fda7ddba86eaf9d19c776583c7a8ef8dca19b7247bde7ccdb7d18f7a24f8cd55108df9ddbc9ca619b62bb810af31ba2fe9a206af25473bbb123cf856f53c8402 WHIRLPOOL 66d0f207a6e3468ebec8f737583dea5429c93fdc1179ffba006e9758f46713fad3e021f5eb3c5cc0acb4d69c253c9c8ec0c20d073a58d4b1cb8908fc0f365bdd +MISC ChangeLog-2015 3427 SHA256 fa51abbcb5b7563a23e2c2701e0aebded0d48fb33317c07590c7c52ae7b185df SHA512 d49bb6daabf4ba3fd3059b8ca6e034068169e7bb57ad56abf7867431ecac73b57e081ab1fb43ed943d23b9e8dfc1ee2835133b7f5636ddbde66f152f400f4bb0 WHIRLPOOL bc084937f3825018590ffdfca87fc72f7c8237f1ce7daa3474e7dc2e1fb7f543ffcc95e3f826ca1545645c389202b1af71b92331ab8bacab93d29a5b514cebd3 +MISC metadata.xml 338 SHA256 d2ffec8c65393ef6c8498f6c5ef174726de59289d3a02da2604bf95795e97e6b SHA512 2c9c87a850f9900d030fd37a4f59308136f478db254fbfd8e37d4f3c16ab33c74d1ef4119b74f4e0b34310ef066ffb53f89e2a4013cfca4a7b56f690e2aa7faf WHIRLPOOL 9be9da3ec0b475e9660be666228fb88b29e80b45d95c0c58d146ac382bdb98d65498a27518bb9bc7e67e54d9d25858810025554d35dee47e5f3c1941280d50a9 diff --git a/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild b/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild new file mode 100644 index 000000000000..9fcd14b1d0ff --- /dev/null +++ b/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +KERN_VER="2.6.22" + +DESCRIPTION="Alpha Linux boot loader for SRM" +HOMEPAGE="http://aboot.sourceforge.net/" +SRC_URI="http://aboot.sourceforge.net/tarballs/${P}.tar.bz2 + mirror://gentoo/gentoo-headers-base-${KERN_VER}.tar.bz2 + mirror://gentoo/${PN}_gentoo.diff.bz2 + https://dev.gentoo.org/~armin76/dist/${PN}_gentoo.diff.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* alpha" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + # setup local copies of kernel headers since we rely so + # heavily on linux internals. + mv gentoo-headers-base-${KERN_VER}/include/{linux,asm-generic,asm-alpha} "${S}"/include/ || die + cd "${S}"/include + ln -s asm-alpha asm || die + touch linux/config.h || die + cd "${S}" + epatch "${FILESDIR}/aboot-gcc-3.4.patch" + epatch "${FILESDIR}/aboot-pt_note.patch" + # Bug 364697 + epatch "${FILESDIR}/aboot-define_stat_only_in_userspace.patch" + + # Modified patch from Debian to add netboot support + epatch "${WORKDIR}"/aboot_gentoo.diff +} + +src_compile() { + # too many problems with parallel building + emake -j1 || die "emake failed" +} + +src_install() { + dodir /boot /sbin /usr/share/man/man{1,5,8} + make \ + root="${D}" \ + bindir="${D}"/sbin \ + bootdir="${D}"/boot \ + mandir="${D}"/usr/share/man \ + install + + insinto /boot + doins net_aboot.nh + dobin netabootwrap + dodoc ChangeLog INSTALL README TODO aboot.conf + + insinto /etc + newins "${FILESDIR}"/aboot.conf aboot.conf.example + +} + +pkg_postinst() { + einfo "To make aboot install a new bootloader on your harddisk follow" + einfo "these steps:" + einfo "" + einfo " - edit the file /etc/aboot.conf" + einfo " - cd /boot" + einfo " - swriteboot -c2 /dev/sda bootlx" + einfo " This will install a new bootsector on /dev/sda and aboot will" + einfo " use the second partition on this device to lookup kernel and " + einfo " initrd (as described in the aboot.conf file)" + einfo "" + einfo "IMPORTANT :" + einfo "" + einfo "The partition table of your boot device has to contain " + einfo "a BSD-DISKLABEL and the first 12 megabytes of your boot device" + einfo "must not be part of a partition as aboot will write its bootloader" + einfo "in there and not as with most x86 bootloaders into the " + einfo "master boot sector. If your partition table does not reflect this" + einfo "you are going to destroy your installation !" + einfo "Also note that aboot currently only supports ext2/3 partitions" + einfo "to boot from." +} diff --git a/sys-boot/aboot/files/aboot-define_stat_only_in_userspace.patch b/sys-boot/aboot/files/aboot-define_stat_only_in_userspace.patch new file mode 100644 index 000000000000..5b0b5e0efedf --- /dev/null +++ b/sys-boot/aboot/files/aboot-define_stat_only_in_userspace.patch @@ -0,0 +1,35 @@ +# Patch by Sergei Trofimovich +# http://bugs.gentoo.org/364697 + +diff --git a/Makefile b/Makefile +index bbe3b60..b4245af 100644 +--- a/Makefile ++++ b/Makefile +@@ -138,10 +138,10 @@ distclean: clean + find . -name \*~ | xargs rm -f + + lib/%: +- make -C lib $* CPPFLAGS="$(CPPFLAGS)" TESTING="$(TESTING)" ++ make -C lib $* CPPFLAGS="$(CPPFLAGS) -D__KERNEL__" TESTING="$(TESTING)" + + tools/%: +- make -C tools $* CPPFLAGS="$(CPPFLAGS)" ++ make -C tools $* CPPFLAGS="$(CPPFLAGS) -U__KERNEL__" + + sdisklabel/%: + make -C sdisklabel $* CPPFLAGS="$(CPPFLAGS)" +diff --git a/include/isolib.h b/include/isolib.h +index 392327a..0ef6e2a 100644 +--- a/include/isolib.h ++++ b/include/isolib.h +@@ -7,7 +7,10 @@ + # define fd_set kernel_fd_set + #endif + ++#ifdef __KERNEL__ ++/* userspace stuff has it's own struct stat */ + #include ++#endif + + extern int iso_read_super (void * data, int quiet); + extern int iso_open (const char * filename); diff --git a/sys-boot/aboot/files/aboot-gcc-3.4.patch b/sys-boot/aboot/files/aboot-gcc-3.4.patch new file mode 100644 index 000000000000..24da18ce8190 --- /dev/null +++ b/sys-boot/aboot/files/aboot-gcc-3.4.patch @@ -0,0 +1,31 @@ +--- aboot-1.0_pre20040408/cons.c ++++ aboot-1.0_pre20040408/cons.c +@@ -20,7 +20,6 @@ + #endif + + long cons_dev; /* console device */ +-extern long int dispatch(); /* Need the full 64 bit return here...*/ + + long + cons_puts(const char *str, long len) +--- aboot-1.0_pre20040408/fs/ext2.c ++++ aboot-1.0_pre20040408/fs/ext2.c +@@ -6,6 +6,7 @@ + * This file has been ported from the DEC 32-bit Linux version + * by David Mosberger (davidm@cs.arizona.edu). + */ ++#include + #include + #include + #include +--- aboot-1.0_pre20040408/include/cons.h ++++ aboot-1.0_pre20040408/include/cons.h +@@ -3,7 +3,7 @@ + + extern long cons_dev; /* console device */ + +-extern long dispatch(long proc, ...); ++extern long int dispatch(long proc, ...); + + #ifdef TESTING + #define STRINGIFY(sym) #sym diff --git a/sys-boot/aboot/files/aboot-pt_note.patch b/sys-boot/aboot/files/aboot-pt_note.patch new file mode 100644 index 000000000000..d28527ad5b0c --- /dev/null +++ b/sys-boot/aboot/files/aboot-pt_note.patch @@ -0,0 +1,308 @@ +Recent build changes have added a PT_NOTE entry to the kernel's +ELF header. A perfectly valid change, but Alpha's aboot loader +is none too bright about examining these headers. + +The following patch to aboot-1.0_pre20040408.tar.bz2 makes it +so that only PT_LOAD entries are considered for loading, as well +as several other changes required to get the damned thing to +build again. + +--- aboot-1.0_pre20040408/Makefile ++++ aboot-1.0_pre20040408/Makefile +@@ -32,15 +32,15 @@ export + # + LOADADDR = 20000000 + +-ABOOT_LDFLAGS = -static -N -Taboot.lds ++ABOOT_LDFLAGS = -static -N -Taboot.lds --relax + + CC = gcc + TOP = $(shell pwd) + ifeq ($(TESTING),) +-CPPFLAGS = $(CFGDEFS) -I$(TOP)/include +-CFLAGS = $(CPPFLAGS) -D__KERNEL__ -Os -Wall -fno-builtin -mno-fp-regs -ffixed-8 ++CPPFLAGS = $(CFGDEFS) -I$(TOP)/include -I$(KSRC)/include ++CFLAGS = $(CPPFLAGS) -D__KERNEL__ -Os -Wall -fno-builtin -mno-fp-regs + else +-CPPFLAGS = -DTESTING $(CFGDEFS) -I$(TOP)/include ++CPPFLAGS = -DTESTING $(CFGDEFS) -I$(TOP)/include -I$(KSRC)/include + CFLAGS = $(CPPFLAGS) -O -g3 -Wall -D__KERNEL__ -ffixed-8 + endif + ASFLAGS = $(CPPFLAGS) + +--- aboot-1.0_pre20040408/aboot.c ++++ aboot-1.0_pre20040408/aboot.c +@@ -19,7 +19,6 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#include + #include + #include + +@@ -27,6 +26,7 @@ + #include + #include + ++#include + #include + #include + +@@ -37,16 +37,6 @@ + #include "utils.h" + #include "string.h" + +-#ifndef elf_check_arch +-# define aboot_elf_check_arch(e) 1 +-#else +-# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) +-# define aboot_elf_check_arch(e) elf_check_arch(e) +-# else +-# define aboot_elf_check_arch(e) elf_check_arch(e->e_machine) +-# endif +-#endif +- + struct bootfs * bfs = 0; /* filesystem to boot from */ + char * dest_addr = 0; + jmp_buf jump_buffer; +@@ -83,77 +73,89 @@ static unsigned long entry_addr = START_ADDR; + long + first_block (const char *buf, long blocksize) + { +- struct elfhdr *elf; +- struct elf_phdr *phdrs; ++ Elf64_Ehdr *elf; ++ Elf64_Phdr *phdrs; ++ int i, j; + +- elf = (struct elfhdr *) buf; ++ elf = (Elf64_Ehdr *) buf; + +- if (elf->e_ident[0] == 0x7f +- && strncmp(elf->e_ident + 1, "ELF", 3) == 0) +- { +- int i; +- /* looks like an ELF binary: */ +- if (elf->e_type != ET_EXEC) { +- printf("aboot: not an executable ELF file\n"); +- return -1; +- } +- if (!aboot_elf_check_arch(elf)) { +- printf("aboot: ELF executable not for this machine\n"); +- return -1; +- } +- if (elf->e_phoff + elf->e_phnum * sizeof(*phdrs) > (unsigned) blocksize) { +- printf("aboot: " +- "ELF program headers not in first block (%ld)\n", +- (long) elf->e_phoff); ++ if (elf->e_ident[0] != 0x7f ++ || elf->e_ident[1] != 'E' ++ || elf->e_ident[2] != 'L' ++ || elf->e_ident[3] != 'F') { ++ /* Fail silently, it might be a compressed file */ ++ return -1; ++ } ++ if (elf->e_ident[EI_CLASS] != ELFCLASS64 ++ || elf->e_ident[EI_DATA] != ELFDATA2LSB ++ || elf->e_machine != EM_ALPHA) { ++ printf("aboot: ELF executable not for this machine\n"); ++ return -1; ++ } ++ ++ /* Looks like an ELF binary. */ ++ if (elf->e_type != ET_EXEC) { ++ printf("aboot: not an executable ELF file\n"); ++ return -1; ++ } ++ ++ if (elf->e_phoff + elf->e_phnum * sizeof(*phdrs) ++ > (unsigned) blocksize) { ++ printf("aboot: ELF program headers not in first block (%ld)\n", ++ (long) elf->e_phoff); ++ return -1; ++ } ++ ++ phdrs = (struct elf_phdr *) (buf + elf->e_phoff); ++ chunks = malloc(sizeof(struct segment) * elf->e_phnum); ++ start_addr = phdrs[0].p_vaddr; /* assume they are sorted */ ++ entry_addr = elf->e_entry; ++ ++ for (i = j = 0; i < elf->e_phnum; ++i) { ++ int status; ++ ++ if (phdrs[i].p_type != PT_LOAD) ++ continue; ++ ++ chunks[j].addr = phdrs[i].p_vaddr; ++ chunks[j].offset = phdrs[i].p_offset; ++ chunks[j].size = phdrs[i].p_filesz; ++ printf("aboot: PHDR %d vaddr %#lx offset %#lx size %#lx\n", ++ i, chunks[j].addr, chunks[j].offset, chunks[j].size); ++ ++ status = check_memory(chunks[j].addr, chunks[j].size); ++ if (status) { ++ printf("aboot: Can't load kernel.\n" ++ " Memory at %lx - %lx (PHDR %i) " ++ "is %s\n", ++ chunks[j].addr, ++ chunks[j].addr + chunks[j].size - 1, ++ i, ++ (status == -ENOMEM) ? ++ "Not Found" : ++ "Busy (Reserved)"); + return -1; + } +- phdrs = (struct elf_phdr *) (buf + elf->e_phoff); +- chunks = malloc(sizeof(struct segment) * elf->e_phnum); +- nchunks = elf->e_phnum; +- start_addr = phdrs[0].p_vaddr; /* assume they are sorted */ +- entry_addr = elf->e_entry; +-#ifdef DEBUG +- printf("aboot: %d program headers, start address %#lx, entry %#lx\n", +- nchunks, start_addr, entry_addr); +-#endif +- for (i = 0; i < elf->e_phnum; ++i) { +- int status; +- +- chunks[i].addr = phdrs[i].p_vaddr; +- chunks[i].offset = phdrs[i].p_offset; +- chunks[i].size = phdrs[i].p_filesz; +-#ifdef DEBUG +- printf("aboot: segment %d vaddr %#lx offset %#lx size %#lx\n", +- i, chunks[i].addr, chunks[i].offset, chunks[i].size); +-#endif +- +-#ifndef TESTING +- status = check_memory(chunks[i].addr, chunks[i].size); +- if (status) { ++ ++ if (phdrs[i].p_memsz > phdrs[i].p_filesz) { ++ if (bss_size > 0) { + printf("aboot: Can't load kernel.\n" +- " Memory at %lx - %lx (chunk %i) " +- "is %s\n", +- chunks[i].addr, +- chunks[i].addr + chunks[i].size - 1, +- i, +- (status == -ENOMEM) ? +- "Not Found" : +- "Busy (Reserved)"); ++ " Multiple BSS segments" ++ " (PHDR %d)\n", i); + return -1; + } +-#endif ++ ++ bss_start = (char *) (phdrs[i].p_vaddr + ++ phdrs[i].p_filesz); ++ bss_size = phdrs[i].p_memsz - phdrs[i].p_filesz; ++ + } +- bss_start = (char *) (phdrs[elf->e_phnum - 1].p_vaddr + +- phdrs[elf->e_phnum - 1].p_filesz); +- bss_size = (phdrs[elf->e_phnum - 1].p_memsz - +- phdrs[elf->e_phnum - 1].p_filesz); +-#ifdef DEBUG +- printf("aboot: bss at 0x%p, size %#lx\n", bss_start, bss_size); +-#endif +- } else { +- /* Fail silently, it might be a compressed file */ +- return -1; ++ ++ j++; + } ++ ++ nchunks = j; ++ printf("aboot: bss at 0x%p, size %#lx\n", bss_start, bss_size); + + return 0; + } + +--- aboot-1.0_pre20040408/aboot.lds ++++ aboot-1.0_pre20040408/aboot.lds +@@ -1,22 +1,25 @@ + OUTPUT_FORMAT("elf64-alpha") + ENTRY(__start) ++PHDRS { kernel PT_LOAD; } + SECTIONS + { + . = 0x20000000; +- .text : { *(.text) } ++ .text : { *(.text) } :kernel + _etext = .; + PROVIDE (etext = .); +- .rodata : { *(.rodata) } +- .data : { *(.data) CONSTRUCTORS } +- .got : { *(.got) } +- .sdata : { *(.sdata) } ++ .rodata : { *(.rodata*) } :kernel ++ .data : { *(.data*) } :kernel ++ .got : { *(.got) } :kernel ++ .sdata : { *(.sdata) } :kernel + _edata = .; + PROVIDE (edata = .); +- .sbss : { *(.sbss) *(.scommon) } +- .bss : { *(.bss) *(COMMON) } ++ .sbss : { *(.sbss) *(.scommon) } :kernel ++ .bss : { *(.bss) *(COMMON) } :kernel + _end = . ; + PROVIDE (end = .); + ++ /DISCARD/ : { *(.eh_frame) } ++ + .mdebug 0 : { *(.mdebug) } + .note 0 : { *(.note) } + .comment 0 : { *(.comment) } + +--- aboot-1.0_pre20040408/cons.c ++++ aboot-1.0_pre20040408/cons.c +@@ -82,7 +81,7 @@ cons_getenv(long index, char *envval, long maxlen) + * allocated on the stack (which guaranteed to by 8 byte + * aligned). + */ +- char * tmp = alloca(maxlen); ++ char tmp[maxlen]; + long len; + + len = dispatch(CCB_GET_ENV, index, tmp, maxlen - 1); + +--- aboot-1.0_pre20040408/disk.c ++++ aboot-1.0_pre20040408/disk.c +@@ -113,7 +113,7 @@ int + load_uncompressed (int fd) + { + long nread, nblocks; +- unsigned char *buf; ++ char *buf; + int i; + + buf = malloc(bfs->blocksize); +@@ -131,7 +131,7 @@ load_uncompressed (int fd) + + for(i = 0; i < 16; i++) { + for (j = 0; j < 16; j++) +- printf("%02X ", buf[j+16*i]); ++ printf("%02X ", (unsigned char) buf[j+16*i]); + for(j = 0; j < 16; j++) { + c = buf[j+16*i]; + printf("%c", (c >= ' ') ? c : ' '); + +--- aboot-1.0_pre20040408/head.S ++++ aboot-1.0_pre20040408/head.S +@@ -19,8 +19,7 @@ __start: + .quad 0,0,0,0,0,0,0,0 + 1: br $27,2f + 2: ldgp $29,0($27) +- lda $27,main_ +- jsr $26,($27),main_ ++ bsr $26,main_ !samegp + call_pal PAL_halt + .end __start + +@@ -170,4 +169,4 @@ run_kernel: + mov $16,$27 + mov $17,$30 + jmp $31,($27) +- .end run_kernel +\ No newline at end of file ++ .end run_kernel diff --git a/sys-boot/aboot/files/aboot.conf b/sys-boot/aboot/files/aboot.conf new file mode 100644 index 000000000000..02114138e938 --- /dev/null +++ b/sys-boot/aboot/files/aboot.conf @@ -0,0 +1,10 @@ +# +# aboot default configurations +# +0:3/vmlinux.gz ro root=/dev/sda2 +1:3/vmlinux.old.gz ro root=/dev/sda2 +2:3/vmlinux.new.gz ro root=/dev/sda2 +3:3/vmlinux ro root=/dev/sda2 +8:- ro root=/dev/sda2 # fs less boot of raw kernel +9:0/- ro root=/dev/sda2 # fs less boot of (compressed) ECOFF kernel +- diff --git a/sys-boot/aboot/metadata.xml b/sys-boot/aboot/metadata.xml new file mode 100644 index 000000000000..297c7b4b4d3d --- /dev/null +++ b/sys-boot/aboot/metadata.xml @@ -0,0 +1,11 @@ + + + + + alpha@gentoo.org + Gentoo Linux Alpha Development + + + aboot + + diff --git a/sys-boot/arcload/Manifest b/sys-boot/arcload/Manifest new file mode 100644 index 000000000000..549ea47fa641 --- /dev/null +++ b/sys-boot/arcload/Manifest @@ -0,0 +1,8 @@ +AUX arcload.8 2068 SHA256 8aff3d9e0f2f476ada1e9564558ed7a032d98f4687f3f9ed95e99aa970b3696e SHA512 1b62e8116174d6909e947d88ef1a0ad0214b988c48f579eb9310984ad4e73b7c686e644be2b09dbab7dc2053fc36b1d80d272765c168dd8a662a6420e5ffcd75 WHIRLPOOL a86f92e6c5bc6d34785f60b60d3746f94aa1ac7a3f092df3f8e0f7ddf6db3635d66bb7a69178c4ccd19829e1fc8a16ab17d0d4fe7526ce24f24fae043c9ea5af +DIST arcload-0.5.tar.bz2 47690 SHA256 69cc45f7d27b30256875ccda115b6f74dd3bd894033f0f81b6f87ea1d8f7a0ac SHA512 b4f7186a6e75baa0cde06451a8011769f200d4cc353495dbfeb9c9ffe3ac09b8bbba357e83441e1fe2344c651068fafda7881864d8bf09f221ddae8170cc7b2e WHIRLPOOL 2320614f813518ca324d705c885e3ead247d40ffc05bea2fca401fb23020a0c10e1a4779dcf16cc9bd0b1ce2af4e92ee98e6508098c3e8a918b3a228e66bc6cf +DIST arcload-0.50-patches-v1.tar.xz 10320 SHA256 161ef360576e3af354022e1a7398ba3af2111f81bb6b6575db5e4c3cd93ce631 SHA512 7687b08bc70a96f8db9a620976b466ff4bb70c8ed77b0c241d060feb8dcab6019d753ac3b182a74139331c9d33f27e090897a0c7c41c1663e16575fef6e21bdf WHIRLPOOL 77b2e51035dcdc9c4f5cd621d2ad44023752e57e6fe7bc1589b365de473c3979eef85aa5391f6e6679993c67036b81895845338c35b1e23406a282b354bb1378 +EBUILD arcload-0.50-r1.ebuild 2779 SHA256 fffae6f42cbc0a61756f1f1d9946d8780c1d52a54435ef13b465e2437f567aca SHA512 986f50a541899947bebf62870086ba54d7599279b18caeaabbb170eb0672908244e63fe44f7f5e45d5b902f55b5b213ea9a67742c01ea443f7027b3216e6bad2 WHIRLPOOL 6e4ffbfcdecba2d7d55910797b83ca1ac8dd49a579346a7879aad6859807d8746544da6e420f8a638844ea3396ea87abb7761d4be4cc248a2027c432eaad21ec +EBUILD arcload-0.50-r3.ebuild 4300 SHA256 c6cb7dd0188d37509bd8f4a4534016b70cada65f3cde613f616cc1565633e4ad SHA512 e7df8a5eeac49354e73c513aba5a1797df65b9f6f385a14d962f80d367c86f11ffa833eb079c0e8e089b00117b9f1836be8a78196b1bf012c71af2665be42651 WHIRLPOOL 088acd245c7838ba7d8b623128883484745a6de187e3f24866deaea9aa624fda1a4df45d92fba1dff4af0c30ae377ba80cdd9dc31c0388a6e8f04dd3f3c2c59e +MISC ChangeLog 3005 SHA256 ec548fe7671234935693001923979129f37af844727ae9c97f71bbbe75054191 SHA512 330c6826774ff1c15ded73b275ca36f278d13d40457960224869bf64ee6416beef4061c0858f4df1c3a688a447c5bead9976d697b214f6018f39bdc04faf1f76 WHIRLPOOL b2d49a83427f6b3c23be66a523528c7388f06b28a3e37b3b1b8ea4a08a4434ab52c1e1d46d6cb33c1217db946b71bb7a5417cd0814d93ca8b85d16f758769753 +MISC ChangeLog-2015 4077 SHA256 55db2282abd07bdc29a3576607339da940d251da3b76c7e1957facf6c805c86e SHA512 6eb5f9ccbd76cc34affb807de94784e9cdadb88c61879dc143d944612ab5fedfe83ca5c7645b4ec8216e2b32039cbbfa13885c68cb31bff25e013ae4a510c3cf WHIRLPOOL 49df6f44f23f69961bd465637a4d7c5f1af93011180f7006156c3b562ed561e88dc66bc8896ea1dc60b5861d9218ffa0ae2d7b9c16093c356dda9fd23fba8c3f +MISC metadata.xml 367 SHA256 ec04970f9193dd9a6fc1583708bb313469cd411b4d18fa606f968ca1dc559485 SHA512 018ab20b1b8015dc4dfec36ef67701ad0c02f7487b8c57db09eb98c5d4d38bcd3ab74434959f051c396e5b995c3a109e9b53ccc7db5c8680333de4cf2b2b82a7 WHIRLPOOL 5b244aa8998b2176394bb47e008fedab768b87e45be9062851ca90609c04c024682710c9c1605c961b109dee95d93c16e05fb843d98da588b40f66651e7edd92 diff --git a/sys-boot/arcload/arcload-0.50-r1.ebuild b/sys-boot/arcload/arcload-0.50-r1.ebuild new file mode 100644 index 000000000000..75fa0d8b009b --- /dev/null +++ b/sys-boot/arcload/arcload-0.50-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs versionator + +# Hack until upstream renames from 0.5 to 0.50 +MY_PV="${PV/50/5}" + +DESCRIPTION="ARCLoad - SGI Multi-bootloader. Able to bootload many different SGI Systems" +HOMEPAGE="https://www.linux-mips.org/wiki/ARCLoad" +SRC_URI="https//www.linux-mips.org/pub/linux/mips/people/skylark/arcload-${MY_PV}.tar.bz2" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="-* ~mips" +IUSE="" +DEPEND="sys-boot/dvhtool" +RDEPEND="" +RESTRICT="strip" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + # For gcc-4.x, quiet down some of the warnings + $(version_is_at_least "4.0" "$(gcc-version)") && \ + epatch "${FILESDIR}"/${P}-shut-gcc4x-up.patch + + # Redefine the targets in the primary Makefile to give us + # finer control over building the tools. This is for properly + # cross-compiling arcload + epatch "${FILESDIR}"/${P}-makefile-targets.patch +} + +src_compile() { + # Build the wreckoff tool first. It converts a 32bit MIPS ELF + # into a relocatable ECOFF image. We call for BUILD_CC + # on the offchance that we're cross-compiling. + echo -e "" + einfo ">>> Building the 'wreckoff' utility with $(tc-getBUILD_CC) ..." + emake CC=$(tc-getBUILD_CC) tools_clean tools + + # 32bit copy (sashARCS for IP22/IP32) + echo -e "" + einfo ">>> Building 32-bit version (sashARCS) for IP22/IP32 ..." + cd "${S}" + emake MODE=M32 bootloader_clean + emake CC=$(tc-getCC) LD=$(tc-getLD) MODE=M32 bootloader + cp "${S}"/arcload.ecoff "${WORKDIR}"/sashARCS + + # 64bit copy (sash64 for IP27/IP28/IP30) + echo -e "" + einfo ">>> Building 64-bit version (sash64) for IP27/IP28/IP30 ..." + emake MODE=M64 bootloader_clean + emake CC=$(tc-getCC) LD=$(tc-getLD) MODE=M64 bootloader + cp "${S}"/arcload "${WORKDIR}"/sash64 +} + +src_install() { + dodir /usr/lib/arcload + cp "${WORKDIR}"/sashARCS "${D}"/usr/lib/arcload + cp "${WORKDIR}"/sash64 "${D}"/usr/lib/arcload + cp "${S}"/arc.cf-bootcd "${D}"/usr/lib/arcload/arc-bootcd.cf + cp "${S}"/arc.cf-octane "${D}"/usr/lib/arcload/arc-octane.cf +} + +pkg_postinst() { + echo -e "" + einfo "ARCLoad binaries copied to: /usr/lib/arcload" + echo -e "" + einfo "Use of ARCLoad is relatively easy:" + einfo "\t1) Determine which version you need" + einfo "\t\tA) sashARCS for IP22/IP32" + einfo "\t\tB) sash64 for IP27/IP28/IP30" + einfo "\t2) Copy that to the volume header using 'dvhtool'" + einfo "\t3) Edit /usr/lib/arcload/arc-*.cf to fit your specific system" + einfo "\t (See ${HOMEPAGE} for" + einfo "\t an explanation of the format of the config file)" + einfo "\t4) Copy the config file to the volume header with 'dvhtool' as 'arc.cf'" + einfo "\t5) Copy any kernels to the volume header that you want to be bootable" + einfo "\t6) Reboot, and enjoy!" + echo -e "" +} diff --git a/sys-boot/arcload/arcload-0.50-r3.ebuild b/sys-boot/arcload/arcload-0.50-r3.ebuild new file mode 100644 index 000000000000..b35a574efcf1 --- /dev/null +++ b/sys-boot/arcload/arcload-0.50-r3.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs versionator + +# Hack until upstream renames from 0.5 to 0.50 +MY_PV="${PV/50/5}" + +PATCHREV="1" +DESCRIPTION="ARCLoad - SGI Multi-bootloader. Able to bootload many different SGI Systems" +HOMEPAGE="https://www.linux-mips.org/wiki/ARCLoad" +SRC_URI="https://www.linux-mips.org/pub/linux/mips/people/skylark/${PN}-${MY_PV}.tar.bz2 + mirror://gentoo/${P}-patches-v${PATCHREV}.tar.xz" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="-* ~mips" +IUSE="abi_mips_o32" +DEPEND="sys-boot/dvhtool + abi_mips_o32? ( sys-devel/kgcc64 )" +RDEPEND="" +RESTRICT="strip" + +S="${WORKDIR}/${PN}-${MY_PV}" +PATCHDIR="${WORKDIR}/${P}-patches" + +src_prepare() { + # For gcc-4.x, quiet down some of the warnings + epatch "${PATCHDIR}"/${P}-shut-gcc4x-up.patch + + # Redefine the targets in the primary Makefile to give us + # finer control over building the tools. This is for properly + # cross-compiling arcload + epatch "${PATCHDIR}"/${P}-makefile-targets.patch + + # Patches borrowed from Debian: + # - Load ELF64 images on 32-bit systems - XXX: #543978 + # - Pass an arcload label name directly on the PROM cmdline. + # - Look for arc.cf in /etc and fallback to /. +# epatch "${PATCHDIR}"/${P}_deb-elf64-on-m32.patch + epatch "${PATCHDIR}"/${P}_deb-cmdline-config.patch + epatch "${PATCHDIR}"/${P}_deb-config-in-etc.patch + + # Building arcload on different MIPS ABIs can be difficult, + # so we include specific bits from standard system headers + # to make the compiler happy. These should rarely, if ever, + # change... + epatch "${PATCHDIR}"/${P}-local-elf_h.patch + + # Patch wreckoff.c to handle the new .MIPS.abiflags section. + epatch "${PATCHDIR}"/${P}-wreckoff-abiflags-fix.patch + + # In order to convert from ELF to ECOFF, we need to disable + # SSP, as that adds additional program headers that I don't + # know how to handle in wreckoff.c. + epatch "${PATCHDIR}"/${P}-disable-ssp.patch + + # The code is old and has a lot of issues. But it's just a + # simple bootloader, so silence the various warnings until + # it can be re-written. + epatch "${PATCHDIR}"/${P}-silence-warnings.patch +} + +src_compile() { + local myCC myCC64 myLD myLD64 + + myCC="$(tc-getCC)" + myLD="$(tc-getLD)" + if use abi_mips_o32; then + myCC64=${myCC/mips/mips64} + myLD64=${myLD/mips/mips64} + else + myCC64=${myCC} + myLD64=${myLD} + fi + + # Build the wreckoff tool first. It converts a 32bit MIPS ELF + # into a relocatable ECOFF image. We call for BUILD_CC + # on the offchance that we're cross-compiling. + echo -e "" + einfo ">>> Building the 'wreckoff' utility with $(tc-getBUILD_CC) ..." + emake CC=$(tc-getBUILD_CC) tools_clean tools + + # 32bit copy (sashARCS for IP22/IP32) + echo -e "" + einfo ">>> Building 32-bit version (sashARCS) for IP22/IP32 with ${myCC} ..." + cd "${S}" + emake MODE=M32 bootloader_clean + emake CC=${myCC} LD=${myLD} MODE=M32 bootloader + cp "${S}"/arcload.ecoff "${WORKDIR}"/sashARCS + + # 64bit copy (sash64 for IP27/IP28/IP30) + echo -e "" + einfo ">>> Building 64-bit version (sash64) for IP27/IP28/IP30 ${myCC/mips/mips64} ..." + emake MODE=M64 bootloader_clean + emake CC=${myCC64} LD=${myLD64} MODE=M64 bootloader + cp "${S}"/arcload "${WORKDIR}"/sash64 +} + +src_install() { + dodir /usr/lib/arcload + cp "${WORKDIR}"/sashARCS "${D}"/usr/lib/arcload + cp "${WORKDIR}"/sash64 "${D}"/usr/lib/arcload + cp "${S}"/arc.cf-bootcd "${D}"/usr/lib/arcload/arc-bootcd.cf + cp "${S}"/arc.cf-octane "${D}"/usr/lib/arcload/arc-octane.cf + + # Add a manpage for arcload(8) from the Debian Project. + doman "${FILESDIR}/arcload.8" +} + +pkg_postinst() { + echo -e "" + einfo "ARCLoad binaries copied to: /usr/lib/arcload" + echo -e "" + einfo "Use of ARCLoad is relatively easy:" + einfo "\t1) Determine which version you need" + einfo "\t\tA) sashARCS for IP22/IP32" + einfo "\t\tB) sash64 for IP27/IP28/IP30" + einfo "\t2) Copy that to the volume header using 'dvhtool'" + einfo "\t3) Edit /usr/lib/arcload/arc-*.cf to fit your specific system" + einfo "\t (See ${HOMEPAGE} for" + einfo "\t an explanation of the format of the config file)" + einfo "\t4) Copy the config file to the volume header with 'dvhtool' as 'arc.cf'" + einfo "\t5) Copy any kernels to the volume header that you want to be bootable" + einfo "\t6) Reboot, and enjoy!" + echo -e "" +} diff --git a/sys-boot/arcload/files/arcload.8 b/sys-boot/arcload/files/arcload.8 new file mode 100644 index 000000000000..6d72dd5c5d78 --- /dev/null +++ b/sys-boot/arcload/files/arcload.8 @@ -0,0 +1,65 @@ +.TH "ARCLOAD" "8" "25 November 2007" "" "" +.SH NAME +arcload \- bootloader for SGI/ARCS machines +.SH SYNOPSIS + +\fBarcload\fR \fIdevice\fR + +.SH "DESCRIPTION" +.PP +\fBarcload\fR is a bootloader designed to load any Linux kernel on any +SGI/ARCS machine. It supports booting the kernel from a variety of +filesystems; currently, the following filesystems are supported: +\fBext2\fR (\fBext3\fR), \fBfat\fR, \fBiso9660\fR, \fBjfs\fR, +\fBminix\fR, \fBufs\fR, \fBxfs\fR and the \fB*arcfs\fR +pseudo-filesystem. + +\fBarcload\fP usually resides in the volume header of a disk with an +SGI disklabel. +.SH "USAGE" +.PP +\fIdevice\fR is the device name of the disk containing the volume header +\fBarcload\fR should go into. To use \fBarcload\fR you have to modify +the following PROM variables: +.P +\fIsetenv OSLoader arcload\fR +.P +\fIsetenv SystemPartition dksc(c,d,8)\fR +.P +\fIsetenv OSLoadPartition dksc(c,d,p)\fR +.P +\fIsetenv OSLoadFilename label(option1,option2,...)\fR +.P +where \fIc\fR is the ID of the SCSI controller, \fId\fR the SCSI ID +of the disk \fBarcload\fR resides on and \fIp\fR the partition number +of the partition \fBarc.cf\fR and the kernels reside on (counting +from 0). Note that \fBarc.cf\fR and the directory your kernels are in +(usually / or /boot) have to be on the same partition. On boot, +\fBarcload\fR looks at the \fIOSLoadFilename\fR PROM variable and +tries to find a label with the same name in \fBarc.cf\fR. + +\fBarc.cf\fP can reside either in /etc or at the root of the partition pointed +to by the \fIOSLoadFilename\fP variable. + +.SH "NOTES" +\fBarcload\fR only loads ELF kernels. + +.SH "FILES" +.BR /arc.cf +\fBarcload\fR's configuration file +.P +.BR /usr/share/doc/arcload/examples +configuration file examples +.P +.BR /usr/share/doc/arcload/README.Debian +some notes about arcload for Debian +.PP +.SH "SEE ALSO" +.PP +dvhtool(1) + +.SH "AUTHORS" +ARCLoad was written by Stanislaw Skowronek +. This manual page was written by Julien +BLACHE for the Debian Project (but may be used by +others), based on the arcboot(8) manpage. diff --git a/sys-boot/arcload/metadata.xml b/sys-boot/arcload/metadata.xml new file mode 100644 index 000000000000..210fdb4244e4 --- /dev/null +++ b/sys-boot/arcload/metadata.xml @@ -0,0 +1,11 @@ + + + + + mips@gentoo.org + Gentoo/MIPS Port + + + ARCLoad - SGI Multi-bootloader. Able to bootload many different SGI Systems. + + diff --git a/sys-boot/bootcreator/Manifest b/sys-boot/bootcreator/Manifest new file mode 100644 index 000000000000..89aa735c7718 --- /dev/null +++ b/sys-boot/bootcreator/Manifest @@ -0,0 +1,6 @@ +DIST bootcreator-src.tar.gz 18881 SHA256 d1a1b581b65c468415867d005916cb898fc11788660819568434245cc162e3cb SHA512 53a17cc6b6ec9eea06b4162f32068d5f6c86ff066cc152e30c346010b197a88f3266315295c90b7123a68e81fb4ee95e4b0b341ef666df2eaa230ac762892d0e WHIRLPOOL 070f84fd33e5dcaad21d922a69a5b632f3882b6cd3fe90b046aa11f608536b662bb6869a30c9c8e5ceeb04db67aaf6e041f29912fcbaac4b4156aad6bbdad2e9 +EBUILD bootcreator-1.1.ebuild 557 SHA256 efcf4febeabb24c5d9e79852f183ad4cc9462d48ba8da8f1fba4e087e84c16dd SHA512 1417c14f8245ce28a96e04ef4c18a1d84edb661fc45ebc3820da75fc579f12825702058ce8fe3dce2c6af18982693f6d3eec0a81043b2cb5fae26af29e9f76b6 WHIRLPOOL 712ea5259d33b3d44019ad8e870d88035bb4e16c04c66dc7b86ca3845cf41936cfc6f4e694fe6baa606d1c4b200227260414925554192a898ab892878b452a3d +EBUILD bootcreator-1.2.ebuild 557 SHA256 efcf4febeabb24c5d9e79852f183ad4cc9462d48ba8da8f1fba4e087e84c16dd SHA512 1417c14f8245ce28a96e04ef4c18a1d84edb661fc45ebc3820da75fc579f12825702058ce8fe3dce2c6af18982693f6d3eec0a81043b2cb5fae26af29e9f76b6 WHIRLPOOL 712ea5259d33b3d44019ad8e870d88035bb4e16c04c66dc7b86ca3845cf41936cfc6f4e694fe6baa606d1c4b200227260414925554192a898ab892878b452a3d +MISC ChangeLog 2491 SHA256 0ab75f7bd47a25bf630e357c47e7f45cf54b892ca71b975b698ae8f7546371f4 SHA512 8a1c1dc7841432177a46c458417a6afdeb5017f08520c4b6f20d5fffd3fa2a4c8f24b5dd3947ad8c975be8b5b9f1b66f8453fe871c38968e5430619be2eaec40 WHIRLPOOL 7a6d3fb5f8cd7a9f5595aae32c469c67b8f33314d425f571f7c2d25bc8afa635087eca3fc92af1f8b1dfe7af47d231b53b09956339e3846da35f0ba0fe7f94d2 +MISC ChangeLog-2015 1160 SHA256 f235cfb05cf4757defcbbc4661b6a50a2bcbf80da6e74615b662e0837ad907c7 SHA512 e5590cf371eea1a64db2c4d62a01a7b1925095e4c2c8b6c4311d2cb13eafcba911ee703c09edbc649b318608b7ba3be4ac9f2cfd5921d2f44e8f6c6c5059fff0 WHIRLPOOL 3906e3f0a6a750fc47ca2b1a0ebc1f14af94a710ed1a8d23d70079559dadc00a909d106421b0f042584466ca8822a3407aa9b131c386972e35da2f762545ce98 +MISC metadata.xml 263 SHA256 bc3ed66da9a359018966a0a199721a238e033433a289439c60668e6f3802f874 SHA512 f72954ee8887da0e1b3e59effb6eb40294102e91b1060c2d736fa47a3a12513d959b44e77fc62f881408e38d30a47f1c5b1c4a0d9c3646b5fb75118e5295ea5d WHIRLPOOL f8c00193f85a48eb02651a6baeff8bab0acd7878475cd28ff9e29858bd10979f95d441318e34f5917687f45e2aa0533d5ab2083b5d2bb2b87df414de5567ad11 diff --git a/sys-boot/bootcreator/bootcreator-1.1.ebuild b/sys-boot/bootcreator/bootcreator-1.1.ebuild new file mode 100644 index 000000000000..6c39fd7daa63 --- /dev/null +++ b/sys-boot/bootcreator/bootcreator-1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos machines" +HOMEPAGE="http://tbs-software.com/morgoth/projects.html" +SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc -*" +IUSE="" + +DEPEND="" + +S=${WORKDIR} + +src_compile() { + emake all +} + +src_install() { + dosbin src/bootcreator + dodoc doc/README + + insinto /etc + newins examples/example.bc bootmenu.example +} diff --git a/sys-boot/bootcreator/bootcreator-1.2.ebuild b/sys-boot/bootcreator/bootcreator-1.2.ebuild new file mode 100644 index 000000000000..6c39fd7daa63 --- /dev/null +++ b/sys-boot/bootcreator/bootcreator-1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos machines" +HOMEPAGE="http://tbs-software.com/morgoth/projects.html" +SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc -*" +IUSE="" + +DEPEND="" + +S=${WORKDIR} + +src_compile() { + emake all +} + +src_install() { + dosbin src/bootcreator + dodoc doc/README + + insinto /etc + newins examples/example.bc bootmenu.example +} diff --git a/sys-boot/bootcreator/metadata.xml b/sys-boot/bootcreator/metadata.xml new file mode 100644 index 000000000000..0d70baf208e1 --- /dev/null +++ b/sys-boot/bootcreator/metadata.xml @@ -0,0 +1,8 @@ + + + + + ppc@gentoo.org + Gentoo Linux PowerPC Development + + diff --git a/sys-boot/colo/Manifest b/sys-boot/colo/Manifest new file mode 100644 index 000000000000..98e91a01f787 --- /dev/null +++ b/sys-boot/colo/Manifest @@ -0,0 +1,8 @@ +AUX default.colo 840 SHA256 00e33293a9bef9f3b1503c3f17a0de149efa38a89be8785bec35ff0090533c33 SHA512 fdf82c9a6adaa5711d8d2c0efc6dc051158ed815f6b870b516eec497d8ce17608fd01dc795e35aaa22cc33c97bc9458803976f5265a196adbb5a89457e88e2b0 WHIRLPOOL 30178e5658c9fdd8dcce63470e12a01552e7a8c4b54d1c369b2043f22d664548202130f987fb787a207da7f00a24d20a071d6066bb70b94a30b4099d84239611 +AUX menu.colo 1517 SHA256 a113b65fe188f1e24dfe0c3892101ed8dcee8d66910de236e71558661d7f326f SHA512 a7357e176f45d5d352ea450349986ae5493900d60b363f688371348b727859d7be9b2a732e5210beba5216bfa8b8e6c861f2433573a009aabb71569eefcc5eaa WHIRLPOOL f61a29132cd3c4092afbcf611699249fd1b27f6d63443c17a2a2906b97ca4142ad09cd2c7269f7ccdc6c34be59b55664b24fa52d4d84bc3f4ccc7537f4bb4966 +AUX simple.colo 539 SHA256 8d97a3efcb96c3f807f1e18d794a78e4a4a3d1195a8c6fc20eb9f640d9096cd8 SHA512 38b3481adbad50c344f87cfd9a5346a78158cfd298194f715b40ad582d5fad9ad6e16f773004a8732e673bc8b3791dde39da10ac85c72a8e236837ca82a91d1a WHIRLPOOL 6c08194cc5e2aba013a441a6af5562a186a7c70f8c8313db198a80912faf8f15e0a698bf58c04502f07ee420e8d4bb95415ee4ef6e3dffc72879902c8c960139 +DIST colo-1.22.tar.gz 257968 SHA256 ec51237286be9581d6be1ff3e43c9a654aaf4e1414d1bb194f02032e57119163 SHA512 c983f36991a6275d4864cbd12e00f4e73d3b722746b3d3c8442afc8fe00d5432772c93007999858afb0993e1a4917f94bc9803f017ace3e65535cad7e8fb9b1e WHIRLPOOL 5145a72c8a08f032cbd57ce8bb283dcda4d9d7902644b0dadeeaafd533b9de69ad75a467f647d995fde37b0f70c07dcc6879616952044186e59260d2b7dc3303 +EBUILD colo-1.22.ebuild 3678 SHA256 a9248ef875ba39ed0169b29a813af3ea29516129b034f9377bb8297fe3664ec5 SHA512 71e8b182907f377fd5b83aed7726af614a6640768ed2b8cef0083f08cf3820033564c53b25c15a370809ba41e409bd5f80e8b530c1f8908b7566440ef7912b72 WHIRLPOOL cf2d38fffebcfc66dc9d20520cf97ccef66cec2972901fd72cac9e2790cae87437f341becc55c887bdf6aee2af8d20d02ce8bdaa76fd5e0fb428468ddf65f687 +MISC ChangeLog 2868 SHA256 2bd56df4c64e48a856a87152d4929634515f86df1b8e31bb0538e5c2ca591b84 SHA512 9772eb1a03dad3ba88aa171331622d94da2d030df35e7a0e5f0afdbc89eefc9c279b55b6317ccb253135af3af686e4759c33e6dc4422f97b86a99c218c2c949d WHIRLPOOL 4c16a38c107b7ba49453f729bf2e6711b91aed022ee2d6c2beee2b2e23989b57f53baa93b7e15d60ec906bb5182b14878a762777ad868ec995ed4eb9d6330686 +MISC ChangeLog-2015 3884 SHA256 bc3cece21fdfde45734607e79c394987c8bc1c995c8c1e3dcd7f71cbe37a2de1 SHA512 19c8493bab3fd52a01e94ed224a6116418c97e0b3bc67e37c0b14375ff953c7a0d6b4f2807fa5ff4c5b6c9c571f1ffcbaccbfd8e29297ad372598f22db519227 WHIRLPOOL ed75405887d81fc1c7c3d10385237678fe05492b41f41e54b783e3321aace9c0c02cd3734bcea25a20b9e04731fa50e12ca9bf8831441c7325314ae54734655b +MISC metadata.xml 359 SHA256 4f3a96f14c1b5cccefa551616ce25f7e0557e3c8ad6191f9f0abf62096df1970 SHA512 5471afe51705e3499f4820e3a9e6af18166075fec78eee0f60866ce844b06f73148663630f9aedbb4f300f26608d8135385135a142533553939ed2924e97826f WHIRLPOOL 8568e33d0619a50fbd96021ea1d0188c16c00aa13adbf35a88c0e1952487ea91a632c4d8ced39975b8decb15ec81e5f086e7c43233fffa655ec3d2db589e27c9 diff --git a/sys-boot/colo/colo-1.22.ebuild b/sys-boot/colo/colo-1.22.ebuild new file mode 100644 index 000000000000..94a56a3c4d50 --- /dev/null +++ b/sys-boot/colo/colo-1.22.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="CObalt LOader - Modern bootloader for Cobalt MIPS machines" +HOMEPAGE="http://www.colonel-panic.org/cobalt-mips/" +SRC_URI="http://www.colonel-panic.org/cobalt-mips/colo/colo-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~mips" +IUSE="" +DEPEND="" +RDEPEND="" +RESTRICT="strip" + +src_unpack() { + unpack ${A} +} + +src_compile() { + echo -e "" + einfo ">>> Building the CoLo Bootloader ..." + + # Remove -Werror from CFLAGS + # gcc-4.3.x is more strict; We'll go back and fix later + cd "${S}" + for x in $(grep -rl "Werror" "${S}"/*); do + sed -i -e 's/\-Werror//g' "${x}" + done + + # Keep elf2rfx from automatically building via the Makefile + sed -i -e 's/tools\/elf2rfx //' "${S}"/Makefile + + # Build it first with BUILD_CC in case of cross-compiles + cd "${S}"/tools/elf2rfx + make CC="$(tc-getBUILD_CC)" || die + + # Build the rest + cd "${S}" + make clean || die # emake breaks the build + make CC="$(tc-getCC)" OBJCOPY="$(tc-getOBJCOPY)" \ + STRIP="$(tc-getSTRIP)" || die + + # Now rebuild elf2rfx again with CC so it can be installed + cd "${S}"/tools/elf2rfx + make clean || die + make CC="$(tc-getCC)" || die +} + +src_install() { + # bins + dodir /usr/lib/colo + cp binaries/colo-chain.elf "${D}"/usr/lib/colo + cp binaries/colo-rom-image.bin "${D}"/usr/lib/colo + + # docs + dodoc CHANGES INSTALL README README.{restore,shell,netcon} tools/README.tools TODO + + # all tools except lcdtools (see below) + local tool + for tool in flash-tool colo-perm copy-rom elf2rfx; do + + einfo "Installing ${tool} binary to ${D}/usr/sbin" + dosbin tools/${tool}/${tool} + if [ -f tools/${tool}/${tool}.8 ]; then + einfo "Installing ${tool} manpage to ${D}/usr/share/man" + doman tools/flash-tool/flash-tool.8 + fi + + done + + # lcdtools + for tool in paneld putlcd e2fsck-lcd; do + einfo "Installing ${tool} binary and manpage to ${D}/usr/sbin" + dosbin tools/lcdtools/${tool}/${tool} + doman tools/lcdtools/${tool}/${tool}.8 + done + dolib.a tools/lcdtools/liblcd/liblcd.a + + # bootscripts + dodir /usr/lib/colo/scripts + cp "${FILESDIR}"/*.colo "${D}"/usr/lib/colo/scripts +} + +pkg_postinst() { + echo -e "" + einfo "Install locations:" + einfo " Binaries:\t/usr/lib/${PN}" + einfo " Docs:\t/usr/share/doc/${PF}" + einfo " Tools:\t/usr/sbin/{flash-tool,colo-perm,copy-rom," + einfo " \tputlcd,paneld,e2fsck-lcd,elf2rfx}" + einfo " Scripts:\t/usr/lib/${PN}/scripts" + echo -e "" + einfo "Please read the docs to fully understand the behavior of this bootloader, and" + einfo "edit the boot scripts to suit your needs." + echo -e "" + ewarn "Users installing ${PN} for the first time need to be aware that newer" + ewarn "versions of ${PN} disable the serial port by default. If the serial port" + ewarn "is needed, select it from the boot menu. Users using the example boot" + ewarn "scripts provided will have the serial port automatically enabled." + echo -e "" + ewarn "Note: It is HIGHLY recommended that you use the chain" + ewarn "bootloader (colo-chain.elf) first before attempting to" + ewarn "write the bootloader to the flash chip to verify that" + ewarn "it will work for you. It is also recommended that" + ewarn "you read the documentation in /usr/share/doc/${PF}" + ewarn "as it explains how to properly use this package." + echo -e "" + eerror "Warning: Make sure that IF you plan on flashing the" + eerror "bootloader into the flash chip that you are using a" + eerror "modern 2.4 Linux kernel (i.e., >2.4.18), otherwise" + eerror "you run a risk of destroying the contents of the" + eerror "flash chip and rendering the machine unusable." + echo -e "" + echo -e "" +} diff --git a/sys-boot/colo/files/default.colo b/sys-boot/colo/files/default.colo new file mode 100644 index 000000000000..676a038388d1 --- /dev/null +++ b/sys-boot/colo/files/default.colo @@ -0,0 +1,25 @@ +#:CoLo:# + +# Turn on the serial port +-serial on + +# Generate a menu to select the appropriate kernel image on the LCD Screen +# Format is: +# menu ""