1 |
flameeyes 12/07/02 11:00:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: memtest86-4.0s.ebuild |
5 |
Removed: memtest86-3.5.ebuild memtest86-3.4.ebuild |
6 |
Log: |
7 |
Cleanup old; bump to version 4.0s (also called 4.0b) and make the ebuild almost identical to memtest86+; install a grub2 configuration file as well. |
8 |
|
9 |
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.41 sys-apps/memtest86/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?rev=1.41&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?rev=1.41&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?r1=1.40&r2=1.41 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v |
21 |
retrieving revision 1.40 |
22 |
retrieving revision 1.41 |
23 |
diff -u -r1.40 -r1.41 |
24 |
--- ChangeLog 15 Jun 2011 05:02:34 -0000 1.40 |
25 |
+++ ChangeLog 2 Jul 2012 11:00:47 -0000 1.41 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for sys-apps/memtest86 |
28 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.40 2011/06/15 05:02:34 jer Exp $ |
30 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.41 2012/07/02 11:00:47 flameeyes Exp $ |
32 |
+ |
33 |
+*memtest86-4.0s (02 Jul 2012) |
34 |
+ |
35 |
+ 02 Jul 2012; Diego E. Pettenò <flameeyes@g.o> +memtest86-4.0s.ebuild, |
36 |
+ -files/memtest86-3.4-build.patch, -files/memtest86-3.5-build.patch, |
37 |
+ -memtest86-3.4.ebuild, -memtest86-3.5.ebuild: |
38 |
+ Cleanup old; bump to version 4.0s (also called 4.0b) and make the ebuild |
39 |
+ almost identical to memtest86+; install a grub2 configuration file as well. |
40 |
|
41 |
15 Jun 2011; Jeroen Roovers <jer@g.o> files/memtest86-4.0-build.patch: |
42 |
Clean up patch. |
43 |
|
44 |
|
45 |
|
46 |
1.1 sys-apps/memtest86/memtest86-4.0s.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/memtest86-4.0s.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/memtest86-4.0s.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: memtest86-4.0s.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/memtest86-4.0s.ebuild,v 1.1 2012/07/02 11:00:47 flameeyes Exp $ |
56 |
|
57 |
EAPI=4 |
58 |
|
59 |
inherit mount-boot eutils toolchain-funcs |
60 |
|
61 |
DESCRIPTION="A stand alone memory test for x86 computers" |
62 |
HOMEPAGE="http://www.memtest86.com/" |
63 |
SRC_URI="http://www.memtest86.com/${P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="-* ~amd64 ~x86" |
68 |
IUSE="serial" |
69 |
|
70 |
BOOTDIR=/boot/memtest86 |
71 |
|
72 |
src_prepare() { |
73 |
epatch "${FILESDIR}"/${PN}-4.0-build.patch #66630 |
74 |
|
75 |
sed -i -e 's,0x10000,0x100000,' memtest.lds || die |
76 |
|
77 |
if use serial ; then |
78 |
sed -i \ |
79 |
-e '/^#define SERIAL_CONSOLE_DEFAULT/s:0:1:' \ |
80 |
config.h \ |
81 |
|| die "sed failed" |
82 |
fi |
83 |
|
84 |
cat - > "${T}"/39_${PN} <<EOF |
85 |
#!/bin/sh |
86 |
exec tail -n +3 \$0 |
87 |
|
88 |
menuentry "${PN} ${PV}" { |
89 |
linux16 ${BOOTDIR}/memtest |
90 |
} |
91 |
EOF |
92 |
|
93 |
tc-export AS CC LD |
94 |
} |
95 |
|
96 |
src_test() { :; } |
97 |
|
98 |
src_install() { |
99 |
insinto ${BOOTDIR} |
100 |
newins memtest.bin memtest |
101 |
dosym memtest ${BOOTDIR}/memtest.bin |
102 |
|
103 |
exeinto /etc/grub.d |
104 |
doexe "${T}"/39_${PN} |
105 |
|
106 |
dodoc README README.build-process README.background |
107 |
} |
108 |
|
109 |
pkg_postinst() { |
110 |
mount-boot_pkg_postinst |
111 |
elog |
112 |
elog "memtest has been installed in ${BOOTDIR}/" |
113 |
elog "You may wish to update your bootloader configs" |
114 |
elog "by adding these lines:" |
115 |
elog " - For grub2 just run grub-mkconfig, a configuration file is installed" |
116 |
elog " as /etc/grub/39_${PN}" |
117 |
elog " - For grub legacy: (replace '?' with correct numbers for your boot partition)" |
118 |
elog " > title=${PN}" |
119 |
elog " > root (hd?,?)" |
120 |
elog " > kernel ${BOOTDIR}/memtest" |
121 |
elog " - For lilo:" |
122 |
elog " > image = ${BOOTDIR}/memtest" |
123 |
elog " > label = ${PN}" |
124 |
elog |
125 |
} |