Created attachment 382582 [details] mcelog.init mcelog-102 is out since July 4th. I took the liberty to add a rewritten init script which makes use of default start/stop functions from openrc (which should save us up some bytes in size).
(In reply to Lars Wendler (Polynomial-C) from comment #0) > Created attachment 382582 [details] > mcelog.init > > mcelog-102 is out since July 4th. > > I took the liberty to add a rewritten init script which makes use of default > start/stop functions from openrc (which should save us up some bytes in > size). If you use it, just add yourself as maintainer. I am merely proxying for bkohler.
Unfortunately I cannot really use it. Funny story, each time I want to check my MCE logs I wonder why I don't have the package installed. After installation the first run remembers me why: # mcelog mcelog: AMD Processor family 16: Please load edac_mce_amd module. : Success CPU is unsupported But I always forget about this. Today was at least the fith time I installed mcelog just to get rememberd why I don't need it on my systems... :-/
103 was just released, it's a trivial ebuild bump, but I went ahead and also tested with Poly-C's new init script (filename bumped to -r1), works well. --- /usr/portage/app-admin/mcelog/mcelog-100.ebuild 2014-06-15 19:01:02.000000000 -0500 +++ mcelog-103.ebuild 2014-09-08 16:34:19.163578484 -0500 @@ -38,7 +38,7 @@ insinto /etc/logrotate.d/ newins ${PN}.logrotate ${PN} - newinitd "${FILESDIR}"/${PN}.init ${PN} + newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} systemd_dounit "${FILESDIR}"/${PN}.service insinto /etc/${PN}
Created attachment 384420 [details, diff] ~/mcelog-init-simplify.patch To be thorough, here are Poly-C's init script changes in diff form.
(In reply to Ben Kohler from comment #3) > 103 was just released, it's a trivial ebuild bump, but I went ahead and also > tested with Poly-C's new init script (filename bumped to -r1), works well. > > --- /usr/portage/app-admin/mcelog/mcelog-100.ebuild 2014-06-15 > 19:01:02.000000000 -0500 > +++ mcelog-103.ebuild 2014-09-08 16:34:19.163578484 -0500 > @@ -38,7 +38,7 @@ > insinto /etc/logrotate.d/ > newins ${PN}.logrotate ${PN} > > - newinitd "${FILESDIR}"/${PN}.init ${PN} > + newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} > systemd_dounit "${FILESDIR}"/${PN}.service > > insinto /etc/${PN} Not that I would expect you to forget this, hasufell, but I should have reset keywords to ~arch for the above patch, forgot 100 was stable already. Thanks!
+*mcelog-103 (09 Sep 2014) + + 09 Sep 2014; Julian Ospald <hasufell@gentoo.org> +mcelog-103.ebuild, + +files/mcelog.init-r1: + version bump by Ben Kohler and Lars Wendler wrt #519494