Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/memtest86: memtest86-4.3.3-r2.ebuild ChangeLog
Date: Sun, 31 Aug 2014 03:06:07
Message-Id: 20140831030602.7F6DB44E2@oystercatcher.gentoo.org
1 floppym 14/08/31 03:06:02
2
3 Modified: ChangeLog
4 Added: memtest86-4.3.3-r2.ebuild
5 Log:
6 Add a more robust grub config generator, bug 456308.
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.45 sys-apps/memtest86/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 18 Oct 2013 19:13:43 -0000 1.44
24 +++ ChangeLog 31 Aug 2014 03:06:02 -0000 1.45
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/memtest86
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.44 2013/10/18 19:13:43 blueness Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.45 2014/08/31 03:06:02 floppym Exp $
31 +
32 +*memtest86-4.3.3-r2 (31 Aug 2014)
33 +
34 + 31 Aug 2014; Mike Gilbert <floppym@g.o> +files/39_memtest86,
35 + +memtest86-4.3.3-r2.ebuild:
36 + Add a more robust grub config generator, bug 456308.
37
38 18 Oct 2013; Anthony G. Basile <blueness@g.o>
39 files/memtest86-4.3.3-build-nopie.patch:
40
41
42
43 1.1 sys-apps/memtest86/memtest86-4.3.3-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/memtest86-4.3.3-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86/memtest86-4.3.3-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: memtest86-4.3.3-r2.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-apps/memtest86/memtest86-4.3.3-r2.ebuild,v 1.1 2014/08/31 03:06:02 floppym Exp $
53
54 EAPI=5
55
56 inherit mount-boot eutils toolchain-funcs
57
58 DESCRIPTION="A stand alone memory test for x86 computers"
59 HOMEPAGE="http://www.memtest86.com/"
60 SRC_URI="http://www.memtest86.com/downloads/${P}-src.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="-* ~amd64 ~x86"
65 IUSE="serial"
66 S="${WORKDIR}/src"
67
68 BOOTDIR=/boot/memtest86
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-build-nopie.patch #66630 + #206726
72
73 sed -i -e 's,0x10000,0x100000,' memtest.lds || die
74
75 if use serial ; then
76 sed -i \
77 -e '/^#define SERIAL_CONSOLE_DEFAULT/s:0:1:' \
78 config.h \
79 || die "sed failed"
80 fi
81
82 tc-export AS CC LD
83 }
84
85 src_test() { :; }
86
87 src_install() {
88 insinto ${BOOTDIR}
89 newins memtest.bin memtest
90 dosym memtest ${BOOTDIR}/memtest.bin
91
92 exeinto /etc/grub.d
93 doexe "${FILESDIR}"/39_memtest86
94
95 dodoc README README.build-process README.background
96 }
97
98 pkg_postinst() {
99 mount-boot_pkg_postinst
100 elog
101 elog "memtest has been installed in ${BOOTDIR}/"
102 elog "You may wish to update your bootloader configs"
103 elog "by adding these lines:"
104 elog " - For grub2 just run grub-mkconfig, a configuration file is installed"
105 elog " as /etc/grub/39_${PN}"
106 elog " - For grub legacy: (replace '?' with correct numbers for your boot partition)"
107 elog " > title=${PN}"
108 elog " > root (hd?,?)"
109 elog " > kernel ${BOOTDIR}/memtest"
110 elog " - For lilo:"
111 elog " > image = ${BOOTDIR}/memtest"
112 elog " > label = ${PN}"
113 elog
114 }