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