Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/syslinux: syslinux-4.00.ebuild ChangeLog syslinux-4.00_pre55.ebuild
Date: Tue, 29 Jun 2010 21:59:51
Message-Id: 20100629215947.0C7C62C621@corvid.gentoo.org
1 chithanh 10/06/29 21:59:46
2
3 Modified: ChangeLog
4 Added: syslinux-4.00.ebuild
5 Removed: syslinux-4.00_pre55.ebuild
6 Log:
7 Version bump. Adds support for booting from ext4 and btrfs, as well as booting from GPT >2TB.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.69 sys-boot/syslinux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 22 Jun 2010 13:11:19 -0000 1.68
24 +++ ChangeLog 29 Jun 2010 21:59:46 -0000 1.69
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-boot/syslinux
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.68 2010/06/22 13:11:19 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.69 2010/06/29 21:59:46 chithanh Exp $
30 +
31 +*syslinux-4.00 (29 Jun 2010)
32 +
33 + 29 Jun 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + -syslinux-4.00_pre55.ebuild, +syslinux-4.00.ebuild:
35 + Version bump. Adds support for booting from ext4 and btrfs, as well as
36 + booting from GPT >2TB.
37
38 *syslinux-4.00_pre55 (22 Jun 2010)
39
40
41
42
43 1.1 sys-boot/syslinux/syslinux-4.00.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.00.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.00.ebuild?rev=1.1&content-type=text/plain
47
48 Index: syslinux-4.00.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-4.00.ebuild,v 1.1 2010/06/29 21:59:46 chithanh Exp $
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
57 HOMEPAGE="http://syslinux.zytor.com/"
58 SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${P/_/-}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="-* ~amd64 ~x86"
63 IUSE="custom-cflags"
64
65 RDEPEND="sys-fs/mtools
66 dev-perl/Crypt-PasswdMD5
67 dev-perl/Digest-SHA1"
68 DEPEND="${RDEPEND}
69 dev-lang/nasm"
70
71 S=${WORKDIR}/${P/_/-}
72
73 # This ebuild is a departure from the old way of rebuilding everything in syslinux
74 # This departure is necessary since hpa doesn't support the rebuilding of anything other
75 # than the installers.
76
77 # removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 # Fix building on hardened
83 epatch "${FILESDIR}"/${PN}-4.00-nopie.patch
84
85 rm -f gethostip #bug 137081
86
87 # Don't prestrip or override user LDFLAGS, bug #305783
88 local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \
89 sample/Makefile utils/Makefile"
90 sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed"
91
92 if use custom-cflags; then
93 sed -i ${SYSLINUX_MAKEFILES} \
94 -e 's|-g -Os||g' \
95 -e 's|-Os||g' \
96 -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
97 || die "sed custom-cflags failed"
98 fi
99
100 }
101
102 src_compile() {
103 emake CC=$(tc-getCC) installer || die
104 }
105
106 src_install() {
107 emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die
108 dodoc README NEWS doc/* || die
109 }