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