mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/mcelog: add 204
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST mcelog-200.tar.gz 316893 BLAKE2B 66b6f25720d09760aab79d0b410287e73087551ab54eaf7dc31c0f7f5c56a40583e933f9e6dae9b91c5594f5bdf51701c37328e76f930c937b448aaac7acd262 SHA512 70b075d3db2f0cb587e3e8ac8b74d840b6bb777ee89c9428f70f037f67e25a02ae87889b9f998431ef229e56705a27431df016b59ab0f1ebf5485a9d38665c7b
|
||||
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
|
||||
|
||||
54
app-admin/mcelog/mcelog-204.ebuild
Normal file
54
app-admin/mcelog/mcelog-204.ebuild
Normal file
@@ -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..12} )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user