diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-22 19:35:31 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-22 19:35:31 +0000 |
commit | 8df0ae8a7a38cfdeffe4deed8ccac17358da4356 (patch) | |
tree | 8c718fdb5357a3382e1e28c75e863c1780f7e320 | |
parent | remove old versions (diff) | |
download | historical-8df0ae8a7a38cfdeffe4deed8ccac17358da4356.tar.gz historical-8df0ae8a7a38cfdeffe4deed8ccac17358da4356.tar.bz2 historical-8df0ae8a7a38cfdeffe4deed8ccac17358da4356.zip |
Add timestamps to MCE output.
Package-Manager: portage-2.1.4.4
-rw-r--r-- | app-admin/mcelog/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/mcelog/Manifest | 5 | ||||
-rw-r--r-- | app-admin/mcelog/files/mcelog-0.8_pre1-timestamp-mcelog.patch | 8 | ||||
-rw-r--r-- | app-admin/mcelog/mcelog-0.8_pre1.ebuild | 8 |
4 files changed, 23 insertions, 4 deletions
diff --git a/app-admin/mcelog/ChangeLog b/app-admin/mcelog/ChangeLog index a3443dc96b5d..e9258d558a41 100644 --- a/app-admin/mcelog/ChangeLog +++ b/app-admin/mcelog/ChangeLog @@ -1,6 +1,10 @@ # 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.15 2008/02/22 05:31:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/ChangeLog,v 1.16 2008/02/22 19:35:30 robbat2 Exp $ + + 22 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> + +files/mcelog-0.8_pre1-timestamp-mcelog.patch, mcelog-0.8_pre1.ebuild: + Add timestamps to MCE output. 22 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> mcelog-0.8_pre1.ebuild: Fix it now that zmedico has a good bug report. diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest index c2de2cff01d8..a821c71fb787 100644 --- a/app-admin/mcelog/Manifest +++ b/app-admin/mcelog/Manifest @@ -1,6 +1,7 @@ +AUX mcelog-0.8_pre1-timestamp-mcelog.patch 425 RMD160 8075f6f024441ce87141d74217d3d41a948b8e01 SHA1 d8a9d2a840fefbb7d1ee0ca9afce20d5d73b1299 SHA256 7ead10c71b0941950e7c69b1211a0643360c725f923c9b0336ba39c38bba7780 DIST mcelog-0.7.tar.gz 13094 RMD160 930836860956eca286ad2c2d116448a20712b961 SHA1 d58c9aad768561dd148306185086a52f4c6b6d37 SHA256 8eb6072d6ad947f21f3c56a9d20b48d1d9490a32a2375ed786a717944234dc1b DIST mcelog-0.8pre.tar.gz 126876 RMD160 fea7ceb63a1fbc1f2f73545ee2922cb4791fdf00 SHA1 edd3cc6a1c6a05b94354c7ee3cd54f583080cf6c SHA256 795e7c9c96590f6fce9e16fa2a936b8bf9889af7590c4b4d2642bdf20fad0d64 EBUILD mcelog-0.7.ebuild 677 RMD160 d705cd1ea7f5df32c89d201df84057850488f83e SHA1 1aa9fd16a62e273a353194bec15de21aee9f0ecd SHA256 a7cb5190341f94f2ac1fc59304a2248681af2212f2bbc94aa6d4ff05bf50c1b2 -EBUILD mcelog-0.8_pre1.ebuild 817 RMD160 df8b59b3642e894ffccce1f0df1f2f599e43cae3 SHA1 eb13db4a7605b53536415e27e7a65528df4cde5c SHA256 43539714a4b6538618708899e7400bf3b2843e1a8c92cc1298655b6441f02e90 -MISC ChangeLog 2015 RMD160 b72af162b2786daad2529bef81b0b6fcd97be713 SHA1 7f9497e4120f2c7b5126d3591106688c072b6739 SHA256 a6ecf15d00df681c85dc02734d8fc2d203aef40d335d6fb0a598b978875939ac +EBUILD mcelog-0.8_pre1.ebuild 909 RMD160 50203881228a45e38a67ac2011cebad7edfcd4c9 SHA1 c9a0fc489fc8aa67731d2e4e13bc392c982b096d SHA256 aa43bc5a06c305ed0127fee3a7f938063756e42a72c955517374ffcf90b83bdf +MISC ChangeLog 2174 RMD160 aa7160b76c972ce29e0a780c4f2fd7dda0f0d576 SHA1 698fb5e065f7139d918d57b82d8cb464f4261382 SHA256 65d12f62565d8a54f91c99e3a089fa6f7635e7930809d7601d43264a98d16528 MISC metadata.xml 372 RMD160 537857814eb2d424e7373982e64b4fc73e76fb08 SHA1 d1c7008a5eebab7497a4881413d25b1b2e1595bc SHA256 da5f70d80e23db4036635ab9b90d5d3aa32fd91244003d12fe98b7d76898e63f diff --git a/app-admin/mcelog/files/mcelog-0.8_pre1-timestamp-mcelog.patch b/app-admin/mcelog/files/mcelog-0.8_pre1-timestamp-mcelog.patch new file mode 100644 index 000000000000..d24afdbfe00e --- /dev/null +++ b/app-admin/mcelog/files/mcelog-0.8_pre1-timestamp-mcelog.patch @@ -0,0 +1,8 @@ +diff -Nuar mcelog-0.8pre.orig/mcelog.cron mcelog-0.8pre/mcelog.cron +--- mcelog-0.8pre.orig/mcelog.cron 2006-02-08 05:09:03.000000000 -0800 ++++ mcelog-0.8pre/mcelog.cron 2008-02-22 11:32:06.717012502 -0800 +@@ -1,2 +1,3 @@ + #!/bin/bash +-/usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog ++header="$(date +"%b %d %H:%M:%S") $(hostname) " ++/usr/sbin/mcelog --ignorenodev --filter | sed "s,^,$header,g" >> /var/log/mcelog diff --git a/app-admin/mcelog/mcelog-0.8_pre1.ebuild b/app-admin/mcelog/mcelog-0.8_pre1.ebuild index 25dedfc02b5b..b6b9cb3f1c3a 100644 --- a/app-admin/mcelog/mcelog-0.8_pre1.ebuild +++ b/app-admin/mcelog/mcelog-0.8_pre1.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-0.8_pre1.ebuild,v 1.5 2008/02/22 05:31:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-0.8_pre1.ebuild,v 1.6 2008/02/22 19:35:30 robbat2 Exp $ MY_PV="${PV/_pre1/pre}" MY_P="${PN}-${MY_PV}" + DESCRIPTION="A tool to log and decode Machine Check Exceptions" HOMEPAGE="ftp://ftp.x86-64.org/pub/linux/tools/mcelog/" SRC_URI="ftp://ftp.x86-64.org/pub/linux/tools/${PN}/${MY_P}.tar.gz" @@ -20,6 +21,11 @@ RDEPEND="virtual/cron" S="${WORKDIR}/${MY_P}" +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${PN}-0.8_pre1-timestamp-mcelog.patch +} + src_install() { dosbin mcelog dbquery doman mcelog.8 |