commit: 6feb18a9349da1ced86faf2e759f6797f74510ff
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 05:05:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 05:05:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6feb18a9
app-admin/mcelog: fix logrotate file syntax
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../mcelog/files/mcelog-179-fix-logrotate.patch | 21 +++++++++++++++++++++
.../{mcelog-179.ebuild => mcelog-179-r1.ebuild} | 3 ++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/app-admin/mcelog/files/mcelog-179-fix-logrotate.patch
b/app-admin/mcelog/files/mcelog-179-fix-logrotate.patch
new file mode 100644
index 00000000000..66978d02247
--- /dev/null
+++ b/app-admin/mcelog/files/mcelog-179-fix-logrotate.patch
@@ -0,0 +1,21 @@
+Should be in the next release:
+https://github.com/andikleen/mcelog/commit/2261c74a88f9bc9e87c9ffaae5a98261087730ae.patch
+
+From: Andi Kleen <[email protected]>
+Date: Sat, 6 Nov 2021 07:22:24 -0700
+Subject: [PATCH] Fix logrotate syntax
+
+Fixes #102
+
+Signed-off-by: Andi Kleen <[email protected]>
+--- a/mcelog.logrotate
++++ b/mcelog.logrotate
+@@ -3,7 +3,7 @@
+ dateext
+ maxage 365
+ rotate 99
+- size=+2048k
++ size +2048k
+ notifempty
+ missingok
+ copytruncate
diff --git a/app-admin/mcelog/mcelog-179.ebuild
b/app-admin/mcelog/mcelog-179-r1.ebuild
similarity index 91%
rename from app-admin/mcelog/mcelog-179.ebuild
rename to app-admin/mcelog/mcelog-179-r1.ebuild
index c8833103e6e..147b65e40b9 100644
--- a/app-admin/mcelog/mcelog-179.ebuild
+++ b/app-admin/mcelog/mcelog-179-r1.ebuild
@@ -29,7 +29,8 @@ pkg_pretend() {
src_prepare() {
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
- "${FILESDIR}"/${PN}-129-debugflags.patch
+ "${FILESDIR}"/${PN}-129-debugflags.patch \
+ "${FILESDIR}"/${PN}-179-fix-logrotate.patch
eapply_user
tc-export CC
}