1 |
chithanh 14/07/01 15:57:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: syslinux-6.03_pre18.ebuild |
5 |
Removed: syslinux-6.03_pre17.ebuild |
6 |
Log: |
7 |
Bump to latest prerelease. |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.110 sys-boot/syslinux/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.110&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.110&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.109&r2=1.110 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v |
21 |
retrieving revision 1.109 |
22 |
retrieving revision 1.110 |
23 |
diff -u -r1.109 -r1.110 |
24 |
--- ChangeLog 17 Jun 2014 10:53:32 -0000 1.109 |
25 |
+++ ChangeLog 1 Jul 2014 15:57:17 -0000 1.110 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-boot/syslinux |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.109 2014/06/17 10:53:32 chithanh Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.110 2014/07/01 15:57:17 chithanh Exp $ |
31 |
+ |
32 |
+*syslinux-6.03_pre18 (01 Jul 2014) |
33 |
+ |
34 |
+ 01 Jul 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
35 |
+ +syslinux-6.03_pre18.ebuild, -syslinux-6.03_pre17.ebuild: |
36 |
+ Bump to latest prerelease. |
37 |
|
38 |
*syslinux-6.03_pre17 (17 Jun 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-boot/syslinux/syslinux-6.03_pre18.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-6.03_pre18.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/syslinux/syslinux-6.03_pre18.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: syslinux-6.03_pre18.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-6.03_pre18.ebuild,v 1.1 2014/07/01 15:57:17 chithanh Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils toolchain-funcs |
57 |
|
58 |
DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders" |
59 |
HOMEPAGE="http://www.syslinux.org/" |
60 |
SRC_URI="mirror://kernel/linux/utils/boot/syslinux/Testing/${PV:0:4}/${P/_/-}.tar.xz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="-* ~amd64 ~x86" |
65 |
IUSE="custom-cflags" |
66 |
|
67 |
RDEPEND="sys-fs/mtools |
68 |
dev-perl/Crypt-PasswdMD5 |
69 |
dev-perl/Digest-SHA1" |
70 |
DEPEND="${RDEPEND} |
71 |
dev-lang/nasm |
72 |
>=sys-boot/gnu-efi-3.0u |
73 |
virtual/os-headers" |
74 |
|
75 |
S=${WORKDIR}/${P/_/-} |
76 |
|
77 |
# This ebuild is a departure from the old way of rebuilding everything in syslinux |
78 |
# This departure is necessary since hpa doesn't support the rebuilding of anything other |
79 |
# than the installers. |
80 |
|
81 |
# These are executables which come precompiled and are run by the boot loader |
82 |
QA_PREBUILT="usr/share/${PN}/*.c32" |
83 |
|
84 |
# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore |
85 |
|
86 |
src_prepare() { |
87 |
rm -f gethostip #bug 137081 |
88 |
|
89 |
# Don't prestrip or override user LDFLAGS, bug #305783 |
90 |
local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \ |
91 |
sample/Makefile utils/Makefile" |
92 |
sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed" |
93 |
|
94 |
if use custom-cflags; then |
95 |
sed -i ${SYSLINUX_MAKEFILES} \ |
96 |
-e 's|-g -Os||g' \ |
97 |
-e 's|-Os||g' \ |
98 |
-e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \ |
99 |
|| die "sed custom-cflags failed" |
100 |
else |
101 |
QA_FLAGS_IGNORED=" |
102 |
/sbin/extlinux |
103 |
/usr/bin/memdiskfind |
104 |
/usr/bin/gethostip |
105 |
/usr/bin/isohybrid |
106 |
/usr/bin/syslinux |
107 |
" |
108 |
fi |
109 |
case ${ARCH} in |
110 |
amd64) loaderarch="efi64" ;; |
111 |
x86) loaderarch="efi32" ;; |
112 |
*) ewarn "Unsupported architecture, building installers only." ;; |
113 |
esac |
114 |
} |
115 |
|
116 |
src_compile() { |
117 |
# build system abuses the LDFLAGS variable to pass arguments to ld |
118 |
unset LDFLAGS |
119 |
if [[ ! -z ${loaderarch} ]]; then |
120 |
emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} |
121 |
fi |
122 |
emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} installer |
123 |
} |
124 |
|
125 |
src_install() { |
126 |
# parallel install fails sometimes |
127 |
einfo "loaderarch=${loaderarch}" |
128 |
emake -j1 LD=$(tc-getLD) INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install |
129 |
dodoc README NEWS doc/*.txt |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
# print warning for users upgrading from the previous stable version |
134 |
if has 4.06 ${REPLACING_VERSIONS}; then |
135 |
ewarn "syslinux now uses dynamically linked ELF executables. Before you reboot," |
136 |
ewarn "ensure that needed dependencies are fulfilled. For example, run from your" |
137 |
ewarn "syslinux directory:" |
138 |
ewarn |
139 |
ewarn "LD_LIBRARY_PATH=\".\" ldd menu.c32" |
140 |
fi |
141 |
} |