1 |
chithanh 10/07/28 20:13:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: syslinux-4.02.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.71 sys-boot/syslinux/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.71&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.71&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.70&r2=1.71 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v |
19 |
retrieving revision 1.70 |
20 |
retrieving revision 1.71 |
21 |
diff -u -r1.70 -r1.71 |
22 |
--- ChangeLog 2 Jul 2010 21:36:41 -0000 1.70 |
23 |
+++ ChangeLog 28 Jul 2010 20:13:24 -0000 1.71 |
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.70 2010/07/02 21:36:41 chithanh Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.71 2010/07/28 20:13:24 chithanh Exp $ |
29 |
+ |
30 |
+*syslinux-4.02 (28 Jul 2010) |
31 |
+ |
32 |
+ 28 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
33 |
+ +syslinux-4.02.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*syslinux-4.01 (02 Jul 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-boot/syslinux/syslinux-4.02.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.02.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-4.02.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: syslinux-4.02.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-4.02.ebuild,v 1.1 2010/07/28 20:13:24 chithanh Exp $ |
51 |
|
52 |
inherit eutils toolchain-funcs |
53 |
|
54 |
DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders" |
55 |
HOMEPAGE="http://syslinux.zytor.com/" |
56 |
SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${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 |
S=${WORKDIR}/${P/_/-} |
70 |
|
71 |
# This ebuild is a departure from the old way of rebuilding everything in syslinux |
72 |
# This departure is necessary since hpa doesn't support the rebuilding of anything other |
73 |
# than the installers. |
74 |
|
75 |
# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
# Fix building on hardened |
81 |
epatch "${FILESDIR}"/${PN}-4.00-nopie.patch |
82 |
|
83 |
rm -f gethostip #bug 137081 |
84 |
|
85 |
# Don't prestrip or override user LDFLAGS, bug #305783 |
86 |
local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \ |
87 |
sample/Makefile utils/Makefile" |
88 |
sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed" |
89 |
|
90 |
if use custom-cflags; then |
91 |
sed -i ${SYSLINUX_MAKEFILES} \ |
92 |
-e 's|-g -Os||g' \ |
93 |
-e 's|-Os||g' \ |
94 |
-e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \ |
95 |
|| die "sed custom-cflags failed" |
96 |
fi |
97 |
|
98 |
} |
99 |
|
100 |
src_compile() { |
101 |
emake CC=$(tc-getCC) installer || die |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die |
106 |
dodoc README NEWS doc/* || die |
107 |
} |