From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBDF71584AD for ; Wed, 07 May 2025 16:38:30 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C60103431A2 for ; Wed, 07 May 2025 16:38:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 668B01103C0; Wed, 07 May 2025 16:38:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5C9471103C0 for ; Wed, 07 May 2025 16:38:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D67AD34314E for ; Wed, 07 May 2025 16:38:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A32A281D for ; Wed, 07 May 2025 16:38:22 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1746635896.5256f7ae838a16609da5232e8febeece1c27484a.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcelog/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/mcelog/Manifest app-admin/mcelog/mcelog-206.ebuild X-VCS-Directories: app-admin/mcelog/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 5256f7ae838a16609da5232e8febeece1c27484a X-VCS-Branch: master Date: Wed, 07 May 2025 16:38:22 +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: 9f0267f0-0b7a-4d30-9b95-f82a20349cef X-Archives-Hash: b1669a80e5c131119dbe670e70584dd5 commit: 5256f7ae838a16609da5232e8febeece1c27484a Author: Ben Kohler gentoo org> AuthorDate: Wed May 7 16:32:59 2025 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed May 7 16:38:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5256f7ae app-admin/mcelog: add 206 Signed-off-by: Ben Kohler gentoo.org> app-admin/mcelog/Manifest | 1 + app-admin/mcelog/mcelog-206.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest index 4cd614c25f78..0c12743bcdfc 100644 --- a/app-admin/mcelog/Manifest +++ b/app-admin/mcelog/Manifest @@ -2,3 +2,4 @@ DIST mcelog-200.tar.gz 316893 BLAKE2B 66b6f25720d09760aab79d0b410287e73087551ab5 DIST mcelog-201.tar.gz 316983 BLAKE2B dae9cb88d7d05e7151886e717d5a5b41b5bbb3adc2a4aec87bb716461641b8579e1ad4e3febeaf5af48e82934e96e96d728d81cf19d2995a747ad8618ff3fdc2 SHA512 d91cc85337a0ebd1ccb66b936bf7db80384bd5255b0a18117dcb6121e272ff12547d41246ee548f768934b6e7a0b1219c03e84f3a5290d49d0f6960764a7c078 DIST mcelog-202.tar.gz 317033 BLAKE2B c50d12dd620609c57e935a136666608acaee1b29b4807d77ff9033477382747d122b263aa57e3b604b4cb4000bac413ad60fb91a1feb8f0409c4095b2608f491 SHA512 3240958e467757913759b904ef780630735e741a657b4e37689e61de91400581cfac22753b651c6204bab8e073ff0a3a1d110d01ea1b44081f01aeaa90ee25ac DIST mcelog-204.tar.gz 317229 BLAKE2B 1ea98f27bb5b5c435252295cc17223007e6f8fa23f476bbe8d59f70cef923bfe55704b2def35a9a8c084af4f4da59d12c7727ba1c71a5ca18d391caa661c11c5 SHA512 135b330c2e09b1146faf015d97270cbf1df779b325676a231eb7af2df2bc1b91283f586af26868e9ebaa4e34b3756141f44da0e9263754e43d36fa3568c1a12f +DIST mcelog-206.tar.gz 317364 BLAKE2B 39d78b0fb430cd5d3d518983809a7ff5d5c644a9e3234424a1a08ab0f1e241e469d17ce3e064481c14fa849fa63448d3f2084c04dd8ef411fb7365ef1267e3c3 SHA512 ec49e884e8722844c908494108ab8a7261dfafe91f39848371bb9532ad70d982bf3edc7d2008210eb3b0c9d26d53e54759544de7116f1c84c46921e118367ffc diff --git a/app-admin/mcelog/mcelog-206.ebuild b/app-admin/mcelog/mcelog-206.ebuild new file mode 100644 index 000000000000..8506a52b69e7 --- /dev/null +++ b/app-admin/mcelog/mcelog-206.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit linux-info python-any-r1 systemd toolchain-funcs + +DESCRIPTION="A tool to log and decode Machine Check Exceptions" +HOMEPAGE="http://mcelog.org/" +SRC_URI="https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-mcelog )" +DEPEND="${PYTHON_DEPS}" + +# TODO: add mce-inject to the tree to support test phase +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch + "${FILESDIR}"/${PN}-129-debugflags.patch +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + local CONFIG_CHECK="~X86_MCE" + kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY" + check_extra_config + fi +} + +src_prepare() { + default + tc-export CC + python_fix_shebang genconfig.py +} + +src_install() { + default + + insinto /etc/logrotate.d/ + newins ${PN}.logrotate ${PN} + + newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} + systemd_dounit ${PN}.service + + dodoc *.pdf +}