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_pre24.ebuild syslinux-3.84.ebuild
Date: Thu, 18 Feb 2010 21:52:07
Message-Id: E1NiEI1-0005sG-Ox@stork.gentoo.org
1 chithanh 10/02/18 21:52:05
2
3 Modified: ChangeLog syslinux-3.84.ebuild
4 Added: syslinux-4.00_pre24.ebuild
5 Log:
6 syslinux-4.00_pre24 version bump
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.53 sys-boot/syslinux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.53&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.53&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.52&r2=1.53
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v
19 retrieving revision 1.52
20 retrieving revision 1.53
21 diff -u -r1.52 -r1.53
22 --- ChangeLog 18 Feb 2010 18:27:52 -0000 1.52
23 +++ ChangeLog 18 Feb 2010 21:52:04 -0000 1.53
24 @@ -1,6 +1,13 @@
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.52 2010/02/18 18:27:52 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.53 2010/02/18 21:52:04 chithanh Exp $
29 +
30 +*syslinux-4.00_pre24 (18 Feb 2010)
31 +
32 + 18 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
33 + syslinux-3.84.ebuild, +syslinux-4.00_pre24.ebuild,
34 + +files/syslinux-4.00-nopie.patch:
35 + version bump, drop nostrip patches (bug #305783)
36
37 18 Feb 2010; Jeroen Roovers <jer@g.o> syslinux-3.84.ebuild:
38 Switch to IUSE=custom-cflags (bug #305783).
39
40
41
42 1.4 sys-boot/syslinux/syslinux-3.84.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?r1=1.3&r2=1.4
47
48 Index: syslinux-3.84.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- syslinux-3.84.ebuild 18 Feb 2010 18:27:52 -0000 1.3
55 +++ syslinux-3.84.ebuild 18 Feb 2010 21:52:04 -0000 1.4
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2010 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.3 2010/02/18 18:27:52 jer Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.4 2010/02/18 21:52:04 chithanh Exp $
61
62 inherit eutils toolchain-funcs
63
64 @@ -29,8 +29,6 @@
65 unpack ${A}
66 cd "${S}"
67 epatch "${FILESDIR}"/${PN}-3.72-nopie.patch
68 - # Don't prestrip, makes portage angry
69 - epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch
70
71 rm -f gethostip #bug 137081
72
73
74
75
76 1.1 sys-boot/syslinux/syslinux-4.00_pre24.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-4.00_pre24.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-4.00_pre24.ebuild?rev=1.1&content-type=text/plain
80
81 Index: syslinux-4.00_pre24.ebuild
82 ===================================================================
83 # Copyright 1999-2010 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-4.00_pre24.ebuild,v 1.1 2010/02/18 21:52:04 chithanh Exp $
86
87 inherit eutils toolchain-funcs
88
89 DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
90 HOMEPAGE="http://syslinux.zytor.com/"
91 SRC_URI="mirror://kernel/linux/utils/boot/syslinux/Testing/${P/_/-}.tar.bz2"
92
93 LICENSE="GPL-2"
94 SLOT="0"
95 KEYWORDS="-* ~amd64 ~x86"
96 IUSE="custom-cflags"
97
98 RDEPEND="sys-fs/mtools
99 dev-perl/Crypt-PasswdMD5
100 dev-perl/Digest-SHA1"
101 DEPEND="${RDEPEND}
102 dev-lang/nasm"
103
104 S=${WORKDIR}/${P/_/-}
105
106 # This ebuild is a departure from the old way of rebuilding everything in syslinux
107 # This departure is necessary since hpa doesn't support the rebuilding of anything other
108 # than the installers.
109
110 # removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
111
112 src_unpack() {
113 unpack ${A}
114 cd "${S}"
115 # Fix building on hardened
116 epatch "${FILESDIR}"/${PN}-4.00-nopie.patch
117
118 rm -f gethostip #bug 137081
119
120 # Don't prestrip or override user LDFLAGS, bug #305783
121 local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \
122 sample/Makefile utils/Makefile"
123 sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed"
124
125 if use custom-cflags; then
126 sed -i ${SYSLINUX_MAKEFILES} \
127 -e 's|-g -Os||g' \
128 -e 's|-Os||g' \
129 -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
130 || die "sed custom-cflags failed"
131 fi
132
133 }
134
135 src_compile() {
136 emake CC=$(tc-getCC) installer || die
137 }
138
139 src_install() {
140 emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die
141 dodoc README NEWS doc/* || die
142 }