summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2010-02-12 23:59:52 +0000
committerHanno Böck <hanno@gentoo.org>2010-02-12 23:59:52 +0000
commit4c9586d666d2becfe1bb46ec256c3e4681dc8181 (patch)
treeae265234466964a42382e55393180bbaa3bc11b9 /app-admin/mcelog
parentAdd a separate java-pkg_get-bootclasspath function and make java-pkg_rewrite-... (diff)
downloadgentoo-2-4c9586d666d2becfe1bb46ec256c3e4681dc8181.tar.gz
gentoo-2-4c9586d666d2becfe1bb46ec256c3e4681dc8181.tar.bz2
gentoo-2-4c9586d666d2becfe1bb46ec256c3e4681dc8181.zip
mcelog bump
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r--app-admin/mcelog/ChangeLog9
-rw-r--r--app-admin/mcelog/mcelog-1.0_pre3.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/app-admin/mcelog/ChangeLog b/app-admin/mcelog/ChangeLog
index df0841d9bb65..12d418ed7214 100644
--- a/app-admin/mcelog/ChangeLog
+++ b/app-admin/mcelog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/mcelog
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/ChangeLog,v 1.19 2008/11/02 11:03:53 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/ChangeLog,v 1.20 2010/02/12 23:59:52 hanno Exp $
+
+*mcelog-1.0_pre3 (12 Feb 2010)
+
+ 12 Feb 2010; Hanno Boeck <hanno@gentoo.org> +mcelog-1.0_pre3.ebuild:
+ Version bump, kernel API changed.
02 Nov 2008; Markus Meier <maekke@gentoo.org> mcelog-0.7.ebuild,
mcelog-0.8_pre1.ebuild:
diff --git a/app-admin/mcelog/mcelog-1.0_pre3.ebuild b/app-admin/mcelog/mcelog-1.0_pre3.ebuild
new file mode 100644
index 000000000000..478ca81862ca
--- /dev/null
+++ b/app-admin/mcelog/mcelog-1.0_pre3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-1.0_pre3.ebuild,v 1.1 2010/02/12 23:59:52 hanno Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PV="${PV/_/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A tool to log and decode Machine Check Exceptions"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/cpu/mce/"
+SRC_URI="mirror://kernel/linux/utils/cpu/mce/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/cron"
+
+S="${WORKDIR}/${MY_P}"
+
+# test suite needs mce-inject, we don't have a package for it yet
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.8_pre1-timestamp-mcelog.patch
+
+ sed -i \
+ -e 's:-g:${CFLAGS}:g' \
+ -e 's:\tgcc:\t$(CC):g' Makefile || die "sed makefile failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dosbin mcelog || die
+ doman mcelog.8
+
+ exeinto /etc/cron.daily
+ newexe mcelog.cron mcelog || die
+
+ insinto /etc/logrotate.d/
+ newins mcelog.logrotate mcelog || die
+
+ dodoc CHANGES README TODO *.pdf
+}