mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-boot/syslinux: remove old
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
DIST syslinux-3.86.tar.bz2 3735823 SHA256 82a8d2a242f869cb4c34b3a074871f472762343e1879a4dca23d7ce5c4dcd06d SHA512 6231f233e5f5ac26aa7e4bfd2704e2a4081350a3f3f21b5ec88a13cf992528c2796dbdfdf6cc2cc7a9543828650ae46de3685e5e55fac3a6ad520430220d1073 WHIRLPOOL 985efd16587ac3f00dc1b75563dc12e5abfeb14b42b64accdadda087f6c9a61c8f5cc149a2b9ce8dd1368d1083720340c20240a4b7d7ea3bf51ff65512d1bd3e
|
||||
DIST syslinux-4.07.tar.bz2 5761877 SHA256 1240a4e4219b518bdaef78931b6e901befeff35e6894ac6db785115848a7a05a SHA512 8efbd14803ec74c5ee699a754b4727e4b975c08afd4dbb39f4b7ccdb90743e4459cd4609c6f1065c7b7efaa26c9d465806254891795d363758f35a2fe5704ae5 WHIRLPOOL b68966ed87055a157812f36f2881b4a86797eacef1894b70c1a063327547264daa4b4ca1ea52ccb286ab86332c2163e57004d3503215497278e073b48583a9dc
|
||||
DIST syslinux-5.10.tar.xz 5315660 SHA256 4b52d7647d5584c69764c06a836e0d524e5246bf2e94f68cf86342c415508422 SHA512 56422e14b4aa53ca1a5811da0582dbbb349aa52b9e78868bbedc24c67ef2420c4d0ac63fd68c7f0adc2c22606196276265d503b5b6f9d3d796d9ce42845bbdb5 WHIRLPOOL 77d73bdc1cd75a3ad9f58de8a9fa31a1c4247d579ac8c849e8d0dacc7cd1b9e02b2cf0737f1be1c2bc2e974f4ded3955857588a8a07d6cf35997c57f47d9b583
|
||||
DIST syslinux-6.02.tar.xz 6471080 SHA256 afa31b7cbf72e1c0c1752a0636ba724ce01c0e374366e46e61db6862b4685478 SHA512 919d165e9cba2b964cec8b015f0a4281a5f90e908f247441d6edefe289170e697b933554d12fa90e698b6d2e8b5b40fdb3b7a95d746a41c580e3a44f8859818f WHIRLPOOL 98d7552f8c66be7689166e7d7a7b5499af0a974711e7ca1f01e1538250c533ceed6d80cec0ac189ff66ea243e22ff1add62c2e3392945d4b7e1586f38c1b6a1d
|
||||
DIST syslinux-6.03.tar.xz 6855224 SHA256 26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e SHA512 dd2b2916962b9e93bc1e714182e3ca2a727a229b8afabe913050bcfdd43ee2af51ee3acf79121d8c20caf434583efaa7f3196871e0e07c04d82191323a50fe31 WHIRLPOOL c3abf6dd84610f2265ce94ce0991e200e3f7fcf2cf2926d46c389c7235544e959ee52aef4a510258b861da2233fd38696d3164a7d0e75f0060a18cc13f23b546
|
||||
DIST syslinux-6.04-pre1.tar.xz 5283272 SHA256 3f6d50a57f3ed47d8234fd0ab4492634eb7c9aaf7dd902f33d3ac33564fd631d SHA512 7927dd39be8e2dcf4138a6fea33def67d19d938379d694f15b48fdd2f5924c028b7a9e7bd71d0c7c6630c203e9e2a54296628e530632ad5e6f55b1ebefe8fc98 WHIRLPOOL d8d3765b974122a1265ca95470379c577108a6aba755c19c1f0373f3986d117c1cfaf1f3f2a9477d2558e66f82db3de980ab12d66c721396154dea7ee1edc28a
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
|
||||
HOMEPAGE="http://www.syslinux.org/"
|
||||
SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${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() {
|
||||
epatch "${FILESDIR}"/${P}-add-fno-stack-protector.patch
|
||||
rm -f gethostip #bug 137081
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
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.06 ${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
|
||||
}
|
||||
Reference in New Issue
Block a user