public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Januszewski (spock)" <spock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/memtest86+: memtest86+-2.11.ebuild ChangeLog
Date: Sat, 03 Jan 2009 12:38:55 +0000	[thread overview]
Message-ID: <E1LJ5mJ-000578-Ne@stork.gentoo.org> (raw)

spock       09/01/03 12:38:55

  Modified:             ChangeLog
  Added:                memtest86+-2.11.ebuild
  Log:
  Version bump.
  (Portage version: 2.1.6.4/cvs/Linux 2.6.28-rc8 x86_64)

Revision  Changes    Path
1.46                 sys-apps/memtest86+/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/ChangeLog?rev=1.46&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/ChangeLog?rev=1.46&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/ChangeLog?r1=1.45&r2=1.46

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- ChangeLog	27 Nov 2008 13:04:04 -0000	1.45
+++ ChangeLog	3 Jan 2009 12:38:55 -0000	1.46
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/memtest86+
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/ChangeLog,v 1.45 2008/11/27 13:04:04 spock Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/ChangeLog,v 1.46 2009/01/03 12:38:55 spock Exp $
+
+*memtest86+-2.11 (03 Jan 2009)
+
+  03 Jan 2009; Michał Januszewski <spock@gentoo.org>
+  +files/memtest86+-2.11-hardcoded_cc.patch, +memtest86+-2.11.ebuild:
+  Version bump.
 
 *memtest86+-2.10 (27 Nov 2008)
 



1.1                  sys-apps/memtest86+/memtest86+-2.11.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/memtest86+-2.11.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/memtest86+/memtest86+-2.11.ebuild?rev=1.1&content-type=text/plain

Index: memtest86+-2.11.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/memtest86+-2.11.ebuild,v 1.1 2009/01/03 12:38:55 spock Exp $

inherit mount-boot eutils

DESCRIPTION="Memory tester based on memtest86"
HOMEPAGE="http://www.memtest.org/"
SRC_URI="http://www.memtest.org/download/${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="serial"
RESTRICT="test"

DEPEND=""

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-2.11-hardcoded_cc.patch
	epatch "${FILESDIR}"/${PN}-1.70-gnu_hash.patch

	if use serial ; then
		sed -e 's/#define SERIAL_CONSOLE_DEFAULT 0/#define SERIAL_CONSOLE_DEFAULT 1/' -i config.h
	fi
}

src_compile() {
	emake || die
}

src_install() {
	insinto /boot/memtest86plus
	doins memtest.bin || die
	dodoc README README.build-process
}

pkg_postinst() {
	einfo
	einfo "memtest.bin has been installed in /boot/memtest86plus/"
	einfo "You may wish to update your bootloader configs"
	einfo "by adding these lines:"

	# a little magic to make users' life as easy as possible ;)
	local fstab=${ROOT}/etc/fstab
	local root="(hd0,0)"
	local res=$(awk '$2 == "/boot" {print $1}' "${fstab}")
	if [[ -z ${res} ]] ; then
		res=$(awk '$2 == "/" {print $1}' "${fstab}")
	fi
	if [[ -n ${res} ]] ; then
		# transform /dev/hd* magic into grub naming ...
		#        /dev/hda1   ->         a1          ->      01
		root=$(echo "${res}" | grep -o '[a-z][0-9]' | tr -t a-z 0123456789)
		root="(hd${root:0:1},$((${root:1:1}-1)))"
	fi
	einfo " - For grub:"
	einfo "    > title=Memtest86Plus"
	einfo "    > root ${root}"
	einfo "    > kernel /boot/memtest86plus/memtest.bin"

	einfo " - For lilo:"
	einfo "    > image  = /boot/memtest86plus/memtest.bin"
	einfo "    > label  = Memtest86Plus"
	einfo
}






             reply	other threads:[~2009-01-03 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-03 12:38 Michael Januszewski (spock) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-05 20:16 [gentoo-commits] gentoo-x86 commit in sys-apps/memtest86+: memtest86+-2.11.ebuild ChangeLog Michael Januszewski (spock)
2009-06-12 14:28 Diego Petteno (flameeyes)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LJ5mJ-000578-Ne@stork.gentoo.org \
    --to=spock@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox