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.07.ebuild ChangeLog
Date: Tue, 30 Jul 2013 15:11:03
Message-Id: 20130730151057.7B7972171C@flycatcher.gentoo.org
1 chithanh 13/07/30 15:10:57
2
3 Modified: ChangeLog
4 Added: syslinux-4.07.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.101 sys-boot/syslinux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.101&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.101&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.100&r2=1.101
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v
20 retrieving revision 1.100
21 retrieving revision 1.101
22 diff -u -r1.100 -r1.101
23 --- ChangeLog 30 Jul 2013 14:48:26 -0000 1.100
24 +++ ChangeLog 30 Jul 2013 15:10:57 -0000 1.101
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-boot/syslinux
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.100 2013/07/30 14:48:26 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.101 2013/07/30 15:10:57 chithanh Exp $
30 +
31 +*syslinux-4.07 (30 Jul 2013)
32 +
33 + 30 Jul 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + +syslinux-4.07.ebuild:
35 + Version bump.
36
37 *syslinux-6.02_pre15 (30 Jul 2013)
38
39
40
41
42 1.1 sys-boot/syslinux/syslinux-4.07.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.07.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.07.ebuild?rev=1.1&content-type=text/plain
46
47 Index: syslinux-4.07.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.07.ebuild,v 1.1 2013/07/30 15:10:57 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/${PV:0:1}.xx/${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 virtual/os-headers"
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.05-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/*.txt || die
109 }