From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5EBD158086 for ; Fri, 12 Nov 2021 05:05:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B121F2BC051; Fri, 12 Nov 2021 05:05:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91DF02BC051 for ; Fri, 12 Nov 2021 05:05:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 810CF342DCB for ; Fri, 12 Nov 2021 05:05:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6FC51C0 for ; Fri, 12 Nov 2021 05:05:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1636693513.6feb18a9349da1ced86faf2e759f6797f74510ff.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcelog/, app-admin/mcelog/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/mcelog/files/mcelog-179-fix-logrotate.patch app-admin/mcelog/mcelog-179-r1.ebuild app-admin/mcelog/mcelog-179.ebuild X-VCS-Directories: app-admin/mcelog/files/ app-admin/mcelog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6feb18a9349da1ced86faf2e759f6797f74510ff X-VCS-Branch: master Date: Fri, 12 Nov 2021 05:05:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c06905f-8394-4d18-8bd9-437fd566dd4e X-Archives-Hash: 155ca7b07bde6fa4400a7b81b2c2163a commit: 6feb18a9349da1ced86faf2e759f6797f74510ff Author: Sam James gentoo org> AuthorDate: Fri Nov 12 05:05:02 2021 +0000 Commit: Sam James gentoo 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 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 +Date: Sat, 6 Nov 2021 07:22:24 -0700 +Subject: [PATCH] Fix logrotate syntax + +Fixes #102 + +Signed-off-by: Andi Kleen +--- 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 }