Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288211 Details for
Bug 384917
sys-boot/syslinux-4.xx fix for boot crash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild to compile fixed syslinux
syslinux-4.04.ebuild (text/plain), 1.79 KB, created by
Jan Safrata
on 2011-09-29 11:02:00 UTC
(
hide
)
Description:
ebuild to compile fixed syslinux
Filename:
MIME Type:
Creator:
Jan Safrata
Created:
2011-09-29 11:02:00 UTC
Size:
1.79 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-4.04.ebuild,v 1.3 2011/07/13 08:47:59 tomka Exp $ > >inherit eutils toolchain-funcs > >DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders" >HOMEPAGE="http://syslinux.zytor.com/" >SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${P/_/-}.tar.bz2" > >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" > >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. > ># removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore > >src_unpack() { > unpack ${A} > cd "${S}" > # Fix building on hardened > epatch "${FILESDIR}"/${PN}-4.00-nopie.patch > epatch "${FILESDIR}"/${P}-crash-fix.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" > export LDFLAGS="" > > 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" > fi > > emake CC=$(tc-getCC) spotless || die >} > >src_compile() { > #emake CC=$(tc-getCC) installer || die > emake CC=$(tc-getCC) || die >} > >src_install() { > emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die > dodoc README NEWS doc/* || die >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 384917
: 288211