diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /sys-boot | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-8e8120eabdd28020aa69c7a60505cce2edd20adc.tar.gz baldeagleos-repo-8e8120eabdd28020aa69c7a60505cce2edd20adc.tar.xz baldeagleos-repo-8e8120eabdd28020aa69c7a60505cce2edd20adc.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'sys-boot')
19 files changed, 28 insertions, 554 deletions
diff --git a/sys-boot/bootcreator/bootcreator-1.1.ebuild b/sys-boot/bootcreator/bootcreator-1.1.ebuild deleted file mode 100644 index 6d1b742d529e..000000000000 --- a/sys-boot/bootcreator/bootcreator-1.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="https://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/grub/metadata.xml b/sys-boot/grub/metadata.xml index 89f7c8dea463..3916d5558898 100644 --- a/sys-boot/grub/metadata.xml +++ b/sys-boot/grub/metadata.xml @@ -27,7 +27,6 @@ <flag name="truetype">Build and install grub-mkfont conversion utility</flag> </use> <upstream> - <remote-id type="sourceforge">dejavu</remote-id> <remote-id type="cpe">cpe:/a:gnu:grub</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest index d3c403304eee..cc5d02da506f 100644 --- a/sys-boot/palo/Manifest +++ b/sys-boot/palo/Manifest @@ -1,3 +1 @@ -DIST palo-2.12.tar.gz 124911 BLAKE2B 79fa572e118e77114dcb3b888abc65163bd56cb44cf69cd25bcaa33a7c6151b8254bf00c459ad17ca1d948f9b440378133f048e2add123a757908c108b802703 SHA512 6ea20490b84bf18a1d1e8037de453f5f480cba8403b267d4d63fceceffb39e18545c6d20c8dd7b07044ff5567eedd2c58b2a626971b53d1d35c5b3a4e8fefbf0 -DIST palo-2.13.tar.gz 125108 BLAKE2B 9c73e66be7950ae6e7fd0a5dcb9cf460dfcb469580a25c121eb7ffc41aaf4a0b67d7f77ddf7a12479718c6ffc64a3a9327ab8c92cc73e79cffad07d61c6fd120 SHA512 6ecde0720fcf672cd7baf71bb04e16f2a1412d958ec35c4e2c9a7a3b372dab1a12ce6e47198ac8500aca750cbbb7190c3476ea626007c3418eb6c23f06011d37 DIST palo-2.14.tar.gz 125207 BLAKE2B fcbc7e59552d83828c07acb055429c1155b738dd12e22c9fc81759b9f84382e3ea793e957421d420c93fa5818d5ad8f12b5317cfe6d5d45d95fc15b272c6fe8c SHA512 9d22ea2826a69a9bb661a4c17aaa78d648f0684b96c2dc0f164d2086f48fc85207e40c69227dd76d153dd171574dd62f6e5e90dd415209de372b4d7d8ab40f57 diff --git a/sys-boot/palo/files/palo-2.12-gcc10.patch b/sys-boot/palo/files/palo-2.12-gcc10.patch deleted file mode 100644 index 7832fbeac942..000000000000 --- a/sys-boot/palo/files/palo-2.12-gcc10.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/ipl/Makefile -+++ b/ipl/Makefile -@@ -39,7 +39,7 @@ endif - VPATH=../lib:. - - AFLAGS = -I../lib --CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks -+CFLAGS = -DIPL_LOADER -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall -fno-delete-null-pointer-checks -fno-builtin - LDFLAGS = -N --section-start .init=0x60000 -e '$$START$$' - - all: iplelf diff --git a/sys-boot/palo/palo-2.12-r1.ebuild b/sys-boot/palo/palo-2.12-r1.ebuild deleted file mode 100644 index d70ff006ceac..000000000000 --- a/sys-boot/palo/palo-2.12-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="PALO : PArisc Linux Loader" -HOMEPAGE="https://parisc-linux.org/ https://parisc.wiki.kernel.org/" -SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* hppa" - -PATCHES=( - "${FILESDIR}"/${PN}-2.00-toolchain.patch - "${FILESDIR}"/${PN}-2.12-gcc10.patch -) - -src_compile() { - local target - for target in '-C palo' '-C ipl' 'iplboot'; do - emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target} - done -} - -src_install() { - into / - dosbin palo/palo - - insinto /usr/share/palo - doins iplboot - - insinto /etc - doins "${FILESDIR}"/palo.conf - - insinto /etc/kernel/postinst.d - insopts -m 0744 - doins "${FILESDIR}"/99palo - - doman palo.8 - - dodoc TODO debian/changelog README.html -} diff --git a/sys-boot/palo/palo-2.13.ebuild b/sys-boot/palo/palo-2.13.ebuild deleted file mode 100644 index 21e570525738..000000000000 --- a/sys-boot/palo/palo-2.13.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="PALO : PArisc Linux Loader" -HOMEPAGE="https://parisc-linux.org/ https://parisc.wiki.kernel.org/" -SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~hppa" - -PATCHES=( - "${FILESDIR}"/${PN}-2.00-toolchain.patch -) - -src_compile() { - local target - for target in '-C palo' '-C ipl' 'iplboot'; do - emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target} - done -} - -src_install() { - into / - dosbin palo/palo - - insinto /usr/share/palo - doins iplboot - - insinto /etc - doins "${FILESDIR}"/palo.conf - - insinto /etc/kernel/postinst.d - insopts -m 0744 - doins "${FILESDIR}"/99palo - - doman palo.8 - - dodoc TODO debian/changelog README.html -} diff --git a/sys-boot/palo/palo-2.14.ebuild b/sys-boot/palo/palo-2.14.ebuild index 21e570525738..80e08367e3ef 100644 --- a/sys-boot/palo/palo-2.14.ebuild +++ b/sys-boot/palo/palo-2.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapsh LICENSE="GPL-2" SLOT="0" -KEYWORDS="-* ~hppa" +KEYWORDS="-* hppa" PATCHES=( "${FILESDIR}"/${PN}-2.00-toolchain.patch diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest index 982d64a04bf3..e02e56bbc2f2 100644 --- a/sys-boot/raspberrypi-firmware/Manifest +++ b/sys-boot/raspberrypi-firmware/Manifest @@ -1,3 +1,2 @@ -DIST raspberrypi-firmware-1.20190925.tar.gz 185571086 BLAKE2B c3a9b2760fa853fbd1dd09bc4048c9e78594f88da5af608c3a761554d4046a4c869db8981c64140a24e82e0a61b8dc776bb8d895df60c6424e44780f78b18cb0 SHA512 4b7b29cc6c2a33d7a37987c492034d9afbb2220364c50cf265e0adf8e5f393c2275dcffaa77c89b3f43b2e98d199741b67590cb60ff8beae8ef677852f63b4a0 DIST raspberrypi-firmware-1.20201022.tar.gz 189827375 BLAKE2B 94c38f60d688c8e3ebab830912daccbb6c04bdd3d88f6ca0d07d85be0a6b12c53f0266b4c258ed4694f30bad5db30fb6d30feabfd0b7668735a9a806b820d325 SHA512 876758179df27109984b6c3f4849fdcdc6bdcc2769495fcc83c97fc3ff4d07b9f3cd58086be877503f72c9e5417d2be6d6c33bce4cbb3b862055117c9cc26db8 DIST raspberrypi-firmware-1.20201201.tar.gz 189332299 BLAKE2B b3ec91f07b4713d26c29be5412d018a220129eef7ddf7c5c09d85e645c2c5754a95f13be7e690ab40648a982e3974cc760aa5b33c76612da836227d38c4ee3a5 SHA512 a7f4591552718956bd7f2d0d377234277e2e6f18cc9714ea30fe13f26d5ae1164b982f39dcf72ae4a18663369ef06d0187d8182713763262371c13107aac4c65 diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt deleted file mode 100644 index 39112a2dba61..000000000000 --- a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt +++ /dev/null @@ -1 +0,0 @@ -ipv6.disable=0 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt deleted file mode 100644 index 9401530925de..000000000000 --- a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt +++ /dev/null @@ -1,81 +0,0 @@ -#from archlinux arm sdcard image -# uncomment if you get no picture on HDMI for a default "safe" mode -#hdmi_safe=1 - -# uncomment this if your display has a black border of unused pixels visible -# and your display can output without overscan -#disable_overscan=1 - -# uncomment the following to adjust overscan. Use positive numbers if console -# goes off screen, and negative if there is too much border -#overscan_left=16 -#overscan_right=16 -#overscan_top=16 -#overscan_bottom=16 - -# uncomment to force a console size. By default it will be display's size minus -# overscan. -#framebuffer_width=1280 -#framebuffer_height=720 - -# uncomment if hdmi display is not detected and composite is being output -#hdmi_force_hotplug=1 - -# uncomment to force a specific HDMI mode (this will force VGA) -#hdmi_group=1 -#hdmi_mode=1 - -# uncomment to force a HDMI mode rather than DVI. This can make audio work in -# DMT (computer monitor) modes -#hdmi_drive=2 - -# uncomment to increase signal to HDMI, if you have interference, blanking, or -# no display -#config_hdmi_boost=4 - -# uncomment for composite PAL -#sdtv_mode=2 - -#uncomment to overclock the arm. 700 MHz is the default. -#arm_freq=800 - -# for more options see http://elinux.org/RPi_config.txt - -## Some over clocking settings, govenor already set to ondemand - -##None -#arm_freq=700 -#core_freq=250 -#sdram_freq=400 -#over_voltage=0 - -##Modest -#arm_freq=800 -#core_freq=300 -#sdram_freq=400 -#over_voltage=0 - -##Medium -#arm_freq=900 -#core_freq=333 -#sdram_freq=450 -#over_voltage=2 - -##High -#arm_freq=950 -#core_freq=450 -#sdram_freq=450 -#over_voltage=6 - -##Turbo -#arm_freq=1000 -#core_freq=500 -#sdram_freq=500 -#over_voltage=6 - -gpu_mem_512=316 -gpu_mem_256=128 -cma_lwm=16 -cma_hwm=32 -cma_offline_start=16 - diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild deleted file mode 100644 index 3b499cf2ad55..000000000000 --- a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit mount-boot readme.gentoo-r1 - -DESCRIPTION="Raspberry Pi (all versions) bootloader and GPU firmware" -HOMEPAGE="https://github.com/raspberrypi/firmware" -LICENSE="GPL-2 raspberrypi-videocore-bin" -SLOT="0" - -# Temporary safety measure to prevent ending up with a pair of -# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware -# none of which installed device tree files. -# Remove when the mentioned version and all older ones are deleted. -RDEPEND="!<=sys-kernel/raspberrypi-image-4.19.57_p20190709" - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/raspberrypi/firmware" - EGIT_CLONE_TYPE="shallow" -else - SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="-* ~arm ~arm64" - S="${WORKDIR}/firmware-${PV}" -fi - -RESTRICT="binchecks strip" - -pkg_preinst() { - if [ -z "${REPLACING_VERSIONS}" ] ; then - local msg="" - if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then - msg+="/boot/cmdline.txt " - fi - if [ -e "${D}"/boot/config.txt -a -e /boot/config.txt ] ; then - msg+="/boot/config.txt " - fi - if [ -n "${msg}" ] ; then - msg="This package installs following files: ${msg}." - msg="${msg} Please remove(backup) your copies durning install" - msg="${msg} and merge settings afterwards." - msg="${msg} Further updates will be CONFIG_PROTECTed." - die "${msg}" - fi - fi -} - -src_install() { - insinto /boot - cd boot || die - doins bootcode.bin fixup*.dat start*elf - newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt - newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt - newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} - -DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" diff --git a/sys-boot/refind/refind-0.11.4.ebuild b/sys-boot/refind/refind-0.11.4.ebuild index 139bf622501d..37ad051eba4d 100644 --- a/sys-boot/refind/refind-0.11.4.ebuild +++ b/sys-boot/refind/refind-0.11.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -99,9 +99,9 @@ src_compile() { EFILIB="/usr/$(get_libdir)" EFICRT0="/usr/$(get_libdir)" EDK2BASE="${UDK_WORKSPACE}" - EDK2_DRIVER_BASENAMES="${fs_names[@]}" - FILESYSTEMS="${fs_names[@]}" - FILESYSTEMS_GNUEFI="${fs_names[@]}" + EDK2_DRIVER_BASENAMES="${fs_names[*]}" + FILESYSTEMS="${fs_names[*]}" + FILESYSTEMS_GNUEFI="${fs_names[*]}" ) if use custom-cflags; then make_flags=(CFLAGS="${CFLAGS}" "${make_flags[@]}") diff --git a/sys-boot/refind/refind-0.12.0-r1.ebuild b/sys-boot/refind/refind-0.12.0-r1.ebuild index f63a0cbd3243..c1d166f0b4d8 100644 --- a/sys-boot/refind/refind-0.12.0-r1.ebuild +++ b/sys-boot/refind/refind-0.12.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -77,9 +77,9 @@ src_compile() { EFILIB="/usr/$(get_libdir)" EFICRT0="/usr/$(get_libdir)" EDK2BASE="${UDK_WORKSPACE}" - EDK2_DRIVER_BASENAMES="${fs_names[@]}" - FILESYSTEMS="${fs_names[@]}" - FILESYSTEMS_GNUEFI="${fs_names[@]}" + EDK2_DRIVER_BASENAMES="${fs_names[*]}" + FILESYSTEMS="${fs_names[*]}" + FILESYSTEMS_GNUEFI="${fs_names[*]}" ) if use custom-cflags; then make_flags=(CFLAGS="${CFLAGS} -fno-tree-loop-distribute-patterns" "${make_flags[@]}") diff --git a/sys-boot/silo/Manifest b/sys-boot/silo/Manifest index 70de039c9579..21a7b23314ec 100644 --- a/sys-boot/silo/Manifest +++ b/sys-boot/silo/Manifest @@ -1,4 +1 @@ -DIST silo-1.4.14_p20170829.tar.gz 183612 BLAKE2B 88fb4b0ce4e9b8fa9518bcb6226f4fe9ec7011bf3f73d9f0f1562ff837217ca8d54ee783eed0b50096b009fc56527be8e4211623f5b0e4ef5372c38c0fe304f1 SHA512 bda31084ba2ee5b01d331fd390cbccf039dc812debe25f3af97dd5d2855668cbe7e160dee4ca45c16af1fa4aa86224daf3b474fd49b22a8b7f453584a12f3c2b DIST silo-1.4.14_p20200602.tar.gz 183668 BLAKE2B e229cdb9fbc5f0111aa49919f4b3b91c0770492fa06f91bda15c65af160b728b9409365c3ff0a93091b1e3011c60d0b0bec1101ffabaddbaef7e1083158830b1 SHA512 7a70fe25c1bb3ce655e4fbb85b00fe0d29fe0a6f98b80c1b8267b72bc9324ac0749cd050921163cc286e094f7d9bc81315d63ff02d2442b5c30ce350a537fcc1 -DIST silo_1.4.14+git20120819-1.diff.gz 10711 BLAKE2B c44a0204e3aece4eec8355f88b3a195c1ba7019c0aa648cc4e28ff6cb85fc6d96634bd282e5aaea9123dbc5835820acf2fc15054c91842d6b1040fc13cb0033b SHA512 60719b672a0f1dd2a005e763efd232bbf7aeb00198e0b46827208b78f1b32acc3a730d43944382dec4b95fddfbb373b1eb69dc911ad28ec9d1d1e6c45d84db20 -DIST silo_1.4.14+git20120819.orig.tar.gz 755510 BLAKE2B f1185086671c12c901704c2aa1f582a4e983d2d4a2d5ec18194aebcd43a7bdf9e7ad329efebaf4911d40f8a417ff8c8566b61be4eac5fea13235ac44d0edf852 SHA512 2d1dd8f805fb0a272877b5e8e19e5a645aa9fe02cf2b5ef43b5d2894c0c6a5a82483a0e41556af50f01dc795dc5e43350ae92139485c19d64cda75c2aca01a38 diff --git a/sys-boot/silo/silo-1.4.14_p20120819-r1.ebuild b/sys-boot/silo/silo-1.4.14_p20120819-r1.ebuild deleted file mode 100644 index 946707a29471..000000000000 --- a/sys-boot/silo/silo-1.4.14_p20120819-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit mount-boot flag-o-matic toolchain-funcs eutils - -DEB_PL="1" -MY_PV="${PV##*_p}" -MY_GIT="git${MY_PV%%_*}" -MY_PV="${PV%%_*}" -MY_P="${PN}_${MY_PV}+${MY_GIT}" - -DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" -SRC_URI="mirror://debian/pool/main/s/${PN}/${MY_P}.orig.tar.gz - mirror://debian/pool/main/s/${PN}/${MY_P}-${DEB_PL}.diff.gz" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="-* sparc" -IUSE="" - -DEPEND="sys-fs/e2fsprogs - sys-apps/sparc-utils" -RDEPEND="" - -ABI_ALLOW="sparc32" - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${FILESDIR}"/${P}-gnu90-inline.patch -) - -src_prepare() { - default - - #Set the correct version - sed -i -e "s/1.4.14/1.4.14_git20120819_p1/g" Rules.make || die - - # Fix build failure - # -fno-PIC is needed to shrink silo size back to manageable on - # profiles where gcc has -fPIC default (via --enable-default-pie). - sed -i -e "s/-fno-strict-aliasing/-fno-strict-aliasing -U_FORTIFY_SOURCE -mcpu=v9 -fno-PIC/g" Rules.make || die -} - -src_compile() { - filter-flags "-fstack-protector" - - emake CC="$(tc-getCC)" -} - -src_install() { - default - - dodoc first-isofs/README.SILO_ISOFS docs/README* - - # Fix maketilo manpage - rm "${D}"/usr/share/man/man1/maketilo.1 - dosym tilo.1 /usr/share/man/man1/maketilo.1 -} - -pkg_postinst() { - mount-boot_pkg_postinst - ewarn "NOTE: If this is an upgrade to an existing SILO install," - ewarn " you will need to re-run silo as the /boot/second.b" - ewarn " file has changed, else the system will fail to load" - ewarn " SILO at the next boot." - ewarn -} diff --git a/sys-boot/silo/silo-1.4.14_p20170829.ebuild b/sys-boot/silo/silo-1.4.14_p20170829.ebuild deleted file mode 100644 index 9fe244c7d56f..000000000000 --- a/sys-boot/silo/silo-1.4.14_p20170829.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit mount-boot flag-o-matic toolchain-funcs vcs-snapshot - -MY_SNAPSHOT="${PN}-2506051d55dd5cb9fe10b4e978e22fa00363044b" - -DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" -SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/davem/silo.git/snapshot/${MY_SNAPSHOT}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="-* sparc" -IUSE="" - -DEPEND="sys-fs/e2fsprogs - sys-apps/sparc-utils" -RDEPEND="" - -ABI_ALLOW="sparc32" - -src_prepare() { - default - - # Set the correct version - sed -i -e "s/1.4.14/1.4.14_git20170829/g" Rules.make || die - - # Fix build failure - # -fno-PIC is needed to shrink silo size back to manageable on - # profiles where gcc has -fPIC default (via --enable-default-pie). - sed -i -e "s/-fno-strict-aliasing/-fno-strict-aliasing -U_FORTIFY_SOURCE -mcpu=v9 -fno-PIC/g" Rules.make || die - - # Don't strip ieee32.b during compile - sed -i -e '/^ $(STRIP) ieee32.b/d' first/Makefile || die -} - -src_compile() { - filter-flags "-fstack-protector" - - emake CC="$(tc-getCC)" \ - STRIP="$(tc-getSTRIP)" \ - NM="$(tc-getNM)" \ - LD="$(tc-getLD)" -} - -src_install() { - default - - dodoc first-isofs/README.SILO_ISOFS docs/README* - - # Fix maketilo manpage - rm "${D}"/usr/share/man/man1/maketilo.1 - dosym tilo.1 /usr/share/man/man1/maketilo.1 -} - -pkg_postinst() { - mount-boot_pkg_postinst - ewarn "NOTE: If this is an upgrade to an existing SILO install," - ewarn " you will need to re-run silo as the /boot/second.b" - ewarn " file has changed, else the system will fail to load" - ewarn " SILO at the next boot." - ewarn -} diff --git a/sys-boot/silo/silo-1.4.14_p20200602.ebuild b/sys-boot/silo/silo-1.4.14_p20200602.ebuild index deeed7b293d6..bb1eadd65f27 100644 --- a/sys-boot/silo/silo-1.4.14_p20200602.ebuild +++ b/sys-boot/silo/silo-1.4.14_p20200602.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary" SLOT="0" LICENSE="GPL-2" -KEYWORDS="-* ~sparc" +KEYWORDS="-* sparc" IUSE="tilo-only" DEPEND="sys-fs/e2fsprogs @@ -33,24 +33,30 @@ src_prepare() { sed -i -e '/^ $(STRIP) ieee32.b/d' first/Makefile || die } +_emake() { + # We inject '-m32' / '-m elf32_sparc' to follow 'Rules.make' defaults. + + emake \ + HOSTCC="$(tc-getBUILD_CC)" \ + CC="$(tc-getCC) -m32" \ + STRIP="$(tc-getSTRIP)" \ + NM="$(tc-getNM)" \ + LD="$(tc-getLD) -m elf32_sparc" \ + TILO_ONLY=$(usex tilo-only yes no) \ + \ + "$@" +} + src_compile() { filter-flags "-fstack-protector" - CC="$(tc-getCC)" \ - STRIP="$(tc-getSTRIP)" \ - NM="$(tc-getNM)" \ - LD="$(tc-getLD)" \ - emake $(usex tilo-only '-C tilo' '') + _emake } src_install() { - default + _emake DESTDIR="${D}" install dodoc first-isofs/README.SILO_ISOFS docs/README* - - # Fix maketilo manpage - rm "${D}"/usr/share/man/man1/maketilo.1 - dosym tilo.1 /usr/share/man/man1/maketilo.1 } pkg_postinst() { diff --git a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild index 52aaa1653ef6..170f9004ac00 100644 --- a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild +++ b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/boot/syslinux/${SRC_URI_DIR}/${P LICENSE="GPL-2" SLOT="0" -KEYWORDS="-* ~amd64 x86" +KEYWORDS="-* amd64 x86" IUSE="custom-cflags" RDEPEND="sys-fs/mtools diff --git a/sys-boot/syslinux/syslinux-6.04_pre1.ebuild b/sys-boot/syslinux/syslinux-6.04_pre1.ebuild deleted file mode 100644 index 3fb6b3a94cc3..000000000000 --- a/sys-boot/syslinux/syslinux-6.04_pre1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils toolchain-funcs - -DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders" -HOMEPAGE="https://www.syslinux.org/" -# Final releases in 6.xx/$PV.tar.* (literal "xx") -# Testing releases in Testing/$PV/$PV.tar.* -SRC_URI_DIR=${PV:0:1}.xx -SRC_URI_TESTING=Testing/${PV:0:4} -[[ ${PV/_alpha} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_beta} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_pre} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_rc} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -SRC_URI="https://www.kernel.org/pub/linux/utils/boot/syslinux/${SRC_URI_DIR}/${P/_/-}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="custom-cflags" - -RDEPEND="sys-fs/mtools - dev-perl/Crypt-PasswdMD5 - dev-perl/Digest-SHA1" -DEPEND="${RDEPEND} - dev-lang/nasm - >=sys-boot/gnu-efi-3.0u - virtual/os-headers" - -S=${WORKDIR}/${P/_/-} - -# This ebuild is a departure from the old way of rebuilding everything in syslinux -# This departure is necessary since hpa doesn't support the rebuilding of anything other -# than the installers. - -# These are executables which come precompiled and are run by the boot loader -QA_PREBUILT="usr/share/${PN}/*.c32" - -# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore - -src_prepare() { - rm -f gethostip #bug 137081 - - epatch "${FILESDIR}"/${PN}-6.03-sysmacros.patch #579928 - epatch "${FILESDIR}"/${P}-singleloadsegment.patch #662678 - - # Don't prestrip or override user LDFLAGS, bug #305783 - local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \ - sample/Makefile utils/Makefile" - sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed" - - if use custom-cflags; then - sed -i ${SYSLINUX_MAKEFILES} \ - -e 's|-g -Os||g' \ - -e 's|-Os||g' \ - -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \ - || die "sed custom-cflags failed" - else - QA_FLAGS_IGNORED=" - /sbin/extlinux - /usr/bin/memdiskfind - /usr/bin/gethostip - /usr/bin/isohybrid - /usr/bin/syslinux - " - fi - case ${ARCH} in - amd64) loaderarch="efi64" ;; - x86) loaderarch="efi32" ;; - *) ewarn "Unsupported architecture, building installers only." ;; - esac - - # building with ld.gold causes problems, bug #563364 - if tc-ld-is-gold; then - ewarn "Building syslinux with the gold linker may cause problems, see bug #563364" - if [[ -z "${I_KNOW_WHAT_I_AM_DOING}" ]]; then - tc-ld-disable-gold - ewarn "set I_KNOW_WHAT_I_AM_DOING=1 to override this." - else - ewarn "Continuing anyway as requested." - fi - fi - - epatch_user -} - -src_compile() { - # build system abuses the LDFLAGS variable to pass arguments to ld - unset LDFLAGS - if [[ ! -z ${loaderarch} ]]; then - emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} - fi - emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} installer -} - -src_install() { - # parallel install fails sometimes - einfo "loaderarch=${loaderarch}" - emake -j1 LD="$(tc-getLD)" INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install - dodoc README NEWS doc/*.txt -} - -pkg_postinst() { - # print warning for users upgrading from the previous stable version - if has 4.07 ${REPLACING_VERSIONS}; then - ewarn "syslinux now uses dynamically linked ELF executables. Before you reboot," - ewarn "ensure that needed dependencies are fulfilled. For example, run from your" - ewarn "syslinux directory:" - ewarn - ewarn "LD_LIBRARY_PATH=\".\" ldd menu.c32" - fi -} |
