From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-boot/aboot/Manifest | 3 + sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild | 87 +++++ .../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 | 5 + sys-boot/arcload/Manifest | 2 + sys-boot/arcload/arcload-0.50-r1.ebuild | 84 ++++ sys-boot/arcload/arcload-0.50-r3.ebuild | 129 +++++++ sys-boot/arcload/files/arcload.8 | 65 ++++ sys-boot/arcload/metadata.xml | 9 + sys-boot/bootcreator/Manifest | 1 + sys-boot/bootcreator/bootcreator-1.1.ebuild | 36 ++ sys-boot/bootcreator/bootcreator-1.2.ebuild | 36 ++ sys-boot/bootcreator/metadata.xml | 5 + sys-boot/colo/Manifest | 1 + sys-boot/colo/colo-1.22.ebuild | 118 ++++++ sys-boot/colo/files/default.colo | 25 ++ sys-boot/colo/files/menu.colo | 61 +++ sys-boot/colo/files/simple.colo | 20 + sys-boot/colo/metadata.xml | 14 + sys-boot/cromwell-bin/Manifest | 2 + sys-boot/cromwell-bin/cromwell-bin-2.31.ebuild | 23 ++ sys-boot/cromwell-bin/cromwell-bin-2.40.ebuild | 23 ++ sys-boot/cromwell-bin/metadata.xml | 9 + sys-boot/cromwell/Manifest | 2 + sys-boot/cromwell/cromwell-2.40-r3.ebuild | 38 ++ .../cromwell/files/cromwell-2.40-gcc-4.6.patch | 39 ++ sys-boot/cromwell/metadata.xml | 6 + sys-boot/dvhtool/Manifest | 1 + sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 44 +++ .../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 | 5 + sys-boot/efibootmgr/Manifest | 4 + sys-boot/efibootmgr/efibootmgr-0.11.0.ebuild | 36 ++ sys-boot/efibootmgr/efibootmgr-0.12.ebuild | 36 ++ sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild | 44 +++ sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild | 39 ++ sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild | 41 ++ .../files/efibootmgr-error-reporting.patch | 40 ++ sys-boot/efibootmgr/metadata.xml | 19 + sys-boot/elilo/Manifest | 6 + sys-boot/elilo/elilo-3.10.ebuild | 71 ++++ sys-boot/elilo/elilo-3.12.ebuild | 71 ++++ sys-boot/elilo/elilo-3.6_p20060314.ebuild | 87 +++++ 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 | 8 + sys-boot/getdvhoff/Manifest | 1 + sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild | 37 ++ sys-boot/getdvhoff/metadata.xml | 14 + sys-boot/gnu-efi/Manifest | 8 + .../gnu-efi/files/gnu-efi-3.0a-lds-redhat.patch | 42 ++ sys-boot/gnu-efi/files/gnu-efi-3.0a-lds.patch | 55 +++ sys-boot/gnu-efi/gnu-efi-3.0.2.ebuild | 49 +++ sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild | 37 ++ sys-boot/gnu-efi/gnu-efi-3.0g.ebuild | 36 ++ sys-boot/gnu-efi/gnu-efi-3.0i.ebuild | 42 ++ sys-boot/gnu-efi/gnu-efi-3.0s.ebuild | 60 +++ sys-boot/gnu-efi/gnu-efi-3.0u.ebuild | 58 +++ sys-boot/gnu-efi/metadata.xml | 8 + sys-boot/grub-static/Manifest | 6 + sys-boot/grub-static/grub-static-0.96-r1.ebuild | 18 + sys-boot/grub-static/grub-static-0.97-r10.ebuild | 176 +++++++++ sys-boot/grub-static/grub-static-0.97-r12.ebuild | 180 +++++++++ sys-boot/grub-static/grub-static-0.97-r6.ebuild | 136 +++++++ sys-boot/grub-static/grub-static-0.97-r9.ebuild | 172 +++++++++ sys-boot/grub-static/grub-static-0.97.ebuild | 76 ++++ sys-boot/grub-static/metadata.xml | 5 + sys-boot/grub/Manifest | 12 + sys-boot/grub/files/grub-2.00-freetype-2.5.1.patch | 24 ++ sys-boot/grub/files/grub-2.02_beta2-libzfs.patch | 19 + sys-boot/grub/files/grub.conf.gentoo | 16 + sys-boot/grub/files/grub.default-2 | 46 +++ sys-boot/grub/files/grub.default-3 | 74 ++++ sys-boot/grub/grub-0.97-r14.ebuild | 289 ++++++++++++++ sys-boot/grub/grub-2.00_p5107-r2.ebuild | 306 +++++++++++++++ sys-boot/grub/grub-2.02_beta2-r3.ebuild | 313 +++++++++++++++ sys-boot/grub/grub-2.02_beta2-r6.ebuild | 319 ++++++++++++++++ sys-boot/grub/grub-2.02_beta2-r7.ebuild | 314 +++++++++++++++ sys-boot/grub/grub-9999-r1.ebuild | 309 +++++++++++++++ sys-boot/grub/metadata.xml | 36 ++ sys-boot/gummiboot/Manifest | 1 + sys-boot/gummiboot/gummiboot-45.ebuild | 33 ++ sys-boot/gummiboot/gummiboot-9999.ebuild | 33 ++ sys-boot/gummiboot/metadata.xml | 8 + sys-boot/lilo/Manifest | 6 + .../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-23.0-make.patch | 103 +++++ 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 | 73 ++++ sys-boot/lilo/lilo-22.8-r2.ebuild | 180 +++++++++ sys-boot/lilo/lilo-23.2-r1.ebuild | 173 +++++++++ sys-boot/lilo/lilo-23.2-r2.ebuild | 181 +++++++++ sys-boot/lilo/lilo-24.0-r1.ebuild | 176 +++++++++ sys-boot/lilo/lilo-24.0.ebuild | 176 +++++++++ sys-boot/lilo/lilo-24.1.ebuild | 183 +++++++++ sys-boot/lilo/metadata.xml | 14 + sys-boot/makebootfat/Manifest | 1 + sys-boot/makebootfat/makebootfat-1.4.ebuild | 25 ++ sys-boot/makebootfat/metadata.xml | 10 + sys-boot/mbr-gpt/Manifest | 1 + sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild | 52 +++ sys-boot/mbr-gpt/metadata.xml | 8 + sys-boot/mbr/Manifest | 1 + sys-boot/mbr/mbr-1.1.11.ebuild | 33 ++ sys-boot/mbr/metadata.xml | 7 + sys-boot/metadata.xml | 36 ++ sys-boot/milo/Manifest | 6 + sys-boot/milo/files/README-gentoo | 99 +++++ 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 | 14 + sys-boot/milo/milo-2.4.18.ebuild | 232 +++++++++++ sys-boot/netboot/Manifest | 1 + .../netboot/files/netboot-0.10.2-ldflags.patch | 38 ++ sys-boot/netboot/metadata.xml | 10 + sys-boot/netboot/netboot-0.10.2.ebuild | 51 +++ sys-boot/nettrom/Manifest | 1 + sys-boot/nettrom/metadata.xml | 5 + sys-boot/nettrom/nettrom-2.3.3.ebuild | 22 ++ sys-boot/os-prober/Manifest | 4 + sys-boot/os-prober/metadata.xml | 14 + sys-boot/os-prober/os-prober-1.53.ebuild | 68 ++++ sys-boot/os-prober/os-prober-1.57-r1.ebuild | 73 ++++ sys-boot/os-prober/os-prober-1.62.ebuild | 77 ++++ sys-boot/os-prober/os-prober-1.65.ebuild | 79 ++++ sys-boot/palo/Manifest | 2 + sys-boot/palo/files/99palo | 3 + sys-boot/palo/files/palo-1.92-toolchain.patch | 20 + sys-boot/palo/files/palo-1.95-toolchain.patch | 27 ++ sys-boot/palo/files/palo.conf | 8 + sys-boot/palo/metadata.xml | 8 + sys-boot/palo/palo-1.92.ebuild | 47 +++ sys-boot/palo/palo-1.95.ebuild | 44 +++ sys-boot/palo/palo-9999.ebuild | 44 +++ sys-boot/plymouth-openrc-plugin/Manifest | 1 + sys-boot/plymouth-openrc-plugin/metadata.xml | 11 + .../plymouth-openrc-plugin-0.1.2.ebuild | 42 ++ sys-boot/plymouth/Manifest | 4 + ...8.3-drm-reduce-minimum-build-requirements.patch | 422 +++++++++++++++++++++ sys-boot/plymouth/files/0.8.3-gentoo-fb-path.patch | 25 ++ ...-image-replace-deprecated-libpng-function.patch | 24 ++ .../files/0.8.8-initrd-binaries-paths.patch | 32 ++ .../files/0.9.2-systemdsystemunitdir.patch | 18 + sys-boot/plymouth/metadata.xml | 25 ++ sys-boot/plymouth/plymouth-0.8.8-r4.ebuild | 90 +++++ sys-boot/plymouth/plymouth-0.8.8-r5.ebuild | 94 +++++ sys-boot/plymouth/plymouth-0.9.0.ebuild | 96 +++++ sys-boot/plymouth/plymouth-0.9.2.ebuild | 101 +++++ sys-boot/plymouth/plymouth-9999.ebuild | 97 +++++ sys-boot/psoload/Manifest | 1 + sys-boot/psoload/metadata.xml | 7 + sys-boot/psoload/psoload-2.0.ebuild | 26 ++ sys-boot/quik/Manifest | 1 + sys-boot/quik/files/headers.patch | 33 ++ sys-boot/quik/files/md-fix.diff | 11 + sys-boot/quik/metadata.xml | 5 + sys-boot/quik/quik-2.1.6.ebuild | 44 +++ sys-boot/raincoat/Manifest | 2 + sys-boot/raincoat/files/raincoat-0.11-build.patch | 13 + sys-boot/raincoat/metadata.xml | 6 + sys-boot/raincoat/raincoat-0.11.ebuild | 26 ++ sys-boot/raincoat/raincoat-0.5.ebuild | 26 ++ sys-boot/raspberrypi-firmware/Manifest | 28 ++ .../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-0_p20130722.ebuild | 62 +++ .../raspberrypi-firmware-0_p20130815.ebuild | 62 +++ .../raspberrypi-firmware-1_pre20130801.ebuild | 62 +++ .../raspberrypi-firmware-1_pre20130807.ebuild | 62 +++ ...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 | 49 +++ ...i-mkimage-0_p20120201-imagetool-uncompressed.py | 45 +++ sys-boot/raspberrypi-mkimage/metadata.xml | 11 + .../raspberrypi-mkimage-0_p20120201.ebuild | 55 +++ sys-boot/sgibootcd/Manifest | 1 + sys-boot/sgibootcd/metadata.xml | 14 + sys-boot/sgibootcd/sgibootcd-0.12.ebuild | 29 ++ sys-boot/shlilo-lantank/Manifest | 1 + sys-boot/shlilo-lantank/files/lilo.conf | 16 + sys-boot/shlilo-lantank/metadata.xml | 5 + .../shlilo-lantank/shlilo-lantank-20040408.ebuild | 33 ++ sys-boot/silo/Manifest | 6 + sys-boot/silo/files/silo-e2fsprogs-1.4.14.patch | 54 +++ sys-boot/silo/metadata.xml | 8 + sys-boot/silo/silo-1.4.14_p20100228.ebuild | 70 ++++ sys-boot/silo/silo-1.4.14_p20120226.ebuild | 70 ++++ sys-boot/silo/silo-1.4.14_p20120819.ebuild | 64 ++++ sys-boot/syslinux/Manifest | 5 + sys-boot/syslinux/files/syslinux-3.86-nopie.patch | 12 + sys-boot/syslinux/files/syslinux-4.05-nopie.patch | 12 + .../syslinux-6.02-add-fno-stack-protector.patch | 20 + sys-boot/syslinux/metadata.xml | 9 + sys-boot/syslinux/syslinux-3.86.ebuild | 56 +++ sys-boot/syslinux/syslinux-4.07.ebuild | 69 ++++ sys-boot/syslinux/syslinux-5.10.ebuild | 83 ++++ sys-boot/syslinux/syslinux-6.02.ebuild | 93 +++++ sys-boot/syslinux/syslinux-6.03.ebuild | 100 +++++ sys-boot/tboot/Manifest | 1 + .../tboot/files/tboot-1.8.2-disable-pcid.patch | 26 ++ .../tboot/files/tboot-1.8.2-genkernel_arch.patch | 57 +++ .../tboot/files/tboot-1.8.2-stack-check-no.patch | 11 + sys-boot/tboot/metadata.xml | 14 + sys-boot/tboot/tboot-1.8.3.ebuild | 72 ++++ sys-boot/unetbootin/Manifest | 2 + .../unetbootin/files/unetbootin-581-desktop.patch | 24 ++ sys-boot/unetbootin/metadata.xml | 11 + sys-boot/unetbootin/unetbootin-608.ebuild | 89 +++++ sys-boot/unetbootin/unetbootin-619.ebuild | 89 +++++ sys-boot/vboot-utils/Manifest | 2 + .../vboot-utils-42_p20150219-cgpt-static.patch | 36 ++ sys-boot/vboot-utils/metadata.xml | 15 + .../vboot-utils/vboot-utils-1.0_p20130222.ebuild | 75 ++++ .../vboot-utils/vboot-utils-42_p20150219.ebuild | 82 ++++ sys-boot/winusb/Manifest | 1 + sys-boot/winusb/metadata.xml | 10 + sys-boot/winusb/winusb-1.0.11.ebuild | 41 ++ sys-boot/yaboot-static/Manifest | 3 + .../yaboot-static/files/new-ofpath-devspec.patch | 30 ++ sys-boot/yaboot-static/files/sysfs-ofpath.patch | 105 +++++ sys-boot/yaboot-static/metadata.xml | 5 + .../yaboot-static/yaboot-static-1.3.14-r1.ebuild | 44 +++ .../yaboot-static/yaboot-static-1.3.16-r1.ebuild | 38 ++ .../yaboot-static/yaboot-static-1.3.17-r1.ebuild | 42 ++ sys-boot/yaboot/Manifest | 3 + 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 | 6 + sys-boot/yaboot/yaboot-1.3.14-r2.ebuild | 48 +++ sys-boot/yaboot/yaboot-1.3.16.ebuild | 57 +++ sys-boot/yaboot/yaboot-1.3.17-r2.ebuild | 60 +++ 254 files changed, 13030 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.ebuild create mode 100644 sys-boot/cromwell-bin/cromwell-bin-2.40.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-0.11.0.ebuild create mode 100644 sys-boot/efibootmgr/efibootmgr-0.12.ebuild create mode 100644 sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild create mode 100644 sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild create mode 100644 sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild create mode 100644 sys-boot/efibootmgr/files/efibootmgr-error-reporting.patch 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.6_p20060314.ebuild 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/files/gnu-efi-3.0a-lds-redhat.patch create mode 100644 sys-boot/gnu-efi/files/gnu-efi-3.0a-lds.patch create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.2.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0g.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0i.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0s.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0u.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/grub-2.00-freetype-2.5.1.patch create mode 100644 sys-boot/grub/files/grub-2.02_beta2-libzfs.patch create mode 100644 sys-boot/grub/files/grub.conf.gentoo create mode 100644 sys-boot/grub/files/grub.default-2 create mode 100644 sys-boot/grub/files/grub.default-3 create mode 100644 sys-boot/grub/grub-0.97-r14.ebuild create mode 100644 sys-boot/grub/grub-2.00_p5107-r2.ebuild create mode 100644 sys-boot/grub/grub-2.02_beta2-r3.ebuild create mode 100644 sys-boot/grub/grub-2.02_beta2-r6.ebuild create mode 100644 sys-boot/grub/grub-2.02_beta2-r7.ebuild create mode 100644 sys-boot/grub/grub-9999-r1.ebuild create mode 100644 sys-boot/grub/metadata.xml create mode 100644 sys-boot/gummiboot/Manifest create mode 100644 sys-boot/gummiboot/gummiboot-45.ebuild create mode 100644 sys-boot/gummiboot/gummiboot-9999.ebuild create mode 100644 sys-boot/gummiboot/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-23.0-make.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-r1.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.0.ebuild create mode 100644 sys-boot/lilo/lilo-24.1.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.53.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.57-r1.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.62.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.65.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.92-toolchain.patch create mode 100644 sys-boot/palo/files/palo-1.95-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.92.ebuild create mode 100644 sys-boot/palo/palo-1.95.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.8.3-drm-reduce-minimum-build-requirements.patch create mode 100644 sys-boot/plymouth/files/0.8.3-gentoo-fb-path.patch create mode 100644 sys-boot/plymouth/files/0.8.3-image-replace-deprecated-libpng-function.patch create mode 100644 sys-boot/plymouth/files/0.8.8-initrd-binaries-paths.patch create mode 100644 sys-boot/plymouth/files/0.9.2-systemdsystemunitdir.patch create mode 100644 sys-boot/plymouth/metadata.xml create mode 100644 sys-boot/plymouth/plymouth-0.8.8-r4.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.8.8-r5.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.9.0.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.9.2.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-0_p20130722.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-0_p20130815.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130801.ebuild create mode 100644 sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild 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/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.02-add-fno-stack-protector.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.02.ebuild create mode 100644 sys-boot/syslinux/syslinux-6.03.ebuild create mode 100644 sys-boot/tboot/Manifest create mode 100644 sys-boot/tboot/files/tboot-1.8.2-disable-pcid.patch create mode 100644 sys-boot/tboot/files/tboot-1.8.2-genkernel_arch.patch create mode 100644 sys-boot/tboot/files/tboot-1.8.2-stack-check-no.patch create mode 100644 sys-boot/tboot/metadata.xml create mode 100644 sys-boot/tboot/tboot-1.8.3.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/metadata.xml create mode 100644 sys-boot/unetbootin/unetbootin-608.ebuild create mode 100644 sys-boot/unetbootin/unetbootin-619.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/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/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 100755 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..556cf2ca60a0 --- /dev/null +++ b/sys-boot/aboot/Manifest @@ -0,0 +1,3 @@ +DIST aboot-1.0_pre20040408.tar.bz2 115062 RMD160 7ba6619e6cee1d570b5df806a1dbd23b2918303b SHA1 7275dd8435ba4c36aa37e77eebea8b561751d4d4 SHA256 a8ae8f2bf549c1cc79ea66a0a11c8db5c0257ce0d94b97418eb1c658723b12d2 +DIST aboot_gentoo.diff.bz2 9527 RMD160 7e70f37a20f2de262ae8136d65c59c384ba700b0 SHA1 534dc10c6d720a06a3f79b0533e3e2624f8a980a SHA256 6b141b7c90560d07ad740cfb8660a26935acfa96376e73439271d1fa9c6d0730 +DIST gentoo-headers-base-2.6.22.tar.bz2 4700338 RMD160 0742adecc4cf093a2df13c61c3d11e7566f08a9d SHA1 15d4b0508dd871032fe46e15074297f956c768e6 SHA256 da57d0d8d12a59b05f0d3851e6d2f67c413baece046f4ec03831aa70df88710a 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..e921eda8361d --- /dev/null +++ b/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + http://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..2a4ac3c58808 --- /dev/null +++ b/sys-boot/aboot/metadata.xml @@ -0,0 +1,5 @@ + + + +alpha + diff --git a/sys-boot/arcload/Manifest b/sys-boot/arcload/Manifest new file mode 100644 index 000000000000..cf1c249dae85 --- /dev/null +++ b/sys-boot/arcload/Manifest @@ -0,0 +1,2 @@ +DIST arcload-0.5.tar.bz2 47690 SHA256 69cc45f7d27b30256875ccda115b6f74dd3bd894033f0f81b6f87ea1d8f7a0ac +DIST arcload-0.50-patches-v1.tar.xz 10320 SHA256 161ef360576e3af354022e1a7398ba3af2111f81bb6b6575db5e4c3cd93ce631 SHA512 7687b08bc70a96f8db9a620976b466ff4bb70c8ed77b0c241d060feb8dcab6019d753ac3b182a74139331c9d33f27e090897a0c7c41c1663e16575fef6e21bdf WHIRLPOOL 77b2e51035dcdc9c4f5cd621d2ad44023752e57e6fe7bc1589b365de473c3979eef85aa5391f6e6679993c67036b81895845338c35b1e23406a282b354bb1378 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..3da4e0e26d6d --- /dev/null +++ b/sys-boot/arcload/arcload-0.50-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="http://www.linux-mips.org/wiki/index.php/ARCLoad" +SRC_URI="ftp://ftp.linux-mips.org/pub/linux/mips/people/skylark/${PN}-${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..f6d5a225b92c --- /dev/null +++ b/sys-boot/arcload/arcload-0.50-r3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="http://www.linux-mips.org/wiki/index.php/ARCLoad" +SRC_URI="ftp://ftp.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="" +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..776ed4fa58a6 --- /dev/null +++ b/sys-boot/arcload/metadata.xml @@ -0,0 +1,9 @@ + + + + mips + + 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..253686685a81 --- /dev/null +++ b/sys-boot/bootcreator/Manifest @@ -0,0 +1 @@ +DIST bootcreator-src.tar.gz 18881 RMD160 fe92ab793032dc3b0219ec55933e42bd939d1b07 SHA1 2d21c44af3cd6c037663f0257b33956d15f4e556 SHA256 d1a1b581b65c468415867d005916cb898fc11788660819568434245cc162e3cb diff --git a/sys-boot/bootcreator/bootcreator-1.1.ebuild b/sys-boot/bootcreator/bootcreator-1.1.ebuild new file mode 100644 index 000000000000..f6ab266b50a2 --- /dev/null +++ b/sys-boot/bootcreator/bootcreator-1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +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}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + mv examples/example.bc examples/bootmenu.example +} + +src_compile() { + cd ${S} + make all || die "Can't compile bootmenu" +} + +src_install() { + cd ${S} + dosbin src/bootcreator + insinto /etc + doins examples/bootmenu.example + dodoc doc/README doc/COPYING +} diff --git a/sys-boot/bootcreator/bootcreator-1.2.ebuild b/sys-boot/bootcreator/bootcreator-1.2.ebuild new file mode 100644 index 000000000000..f29c1c08ce35 --- /dev/null +++ b/sys-boot/bootcreator/bootcreator-1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +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_unpack() { + unpack ${A} + cd ${S} + mv examples/example.bc examples/bootmenu.example +} + +src_compile() { + cd ${S} + make all || die "Can't compile bootmenu" +} + +src_install() { + cd ${S} + dosbin src/bootcreator + insinto /etc + doins examples/bootmenu.example + dodoc doc/README doc/COPYING +} diff --git a/sys-boot/bootcreator/metadata.xml b/sys-boot/bootcreator/metadata.xml new file mode 100644 index 000000000000..e75d5a5857f0 --- /dev/null +++ b/sys-boot/bootcreator/metadata.xml @@ -0,0 +1,5 @@ + + + + ppc + diff --git a/sys-boot/colo/Manifest b/sys-boot/colo/Manifest new file mode 100644 index 000000000000..f486c8994f5e --- /dev/null +++ b/sys-boot/colo/Manifest @@ -0,0 +1 @@ +DIST colo-1.22.tar.gz 257968 RMD160 4a07cfe5050f395a8eb7c7d5fe71748877377084 SHA1 079e0409f662be9cac8b645c972f013f3f17af92 SHA256 ec51237286be9581d6be1ff3e43c9a654aaf4e1414d1bb194f02032e57119163 diff --git a/sys-boot/colo/colo-1.22.ebuild b/sys-boot/colo/colo-1.22.ebuild new file mode 100644 index 000000000000..c57d0f8661ce --- /dev/null +++ b/sys-boot/colo/colo-1.22.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ""