summaryrefslogtreecommitdiff
path: root/app-admin/mcelog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-08 22:31:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-08 22:31:44 +0100
commit07e5258263817a33e6c141c7f2626f909688bdb1 (patch)
tree672db8f3d96096edfd3ef013d3869640a9856a0d /app-admin/mcelog
parent5e2dc8e9ee14034d872c67b64a63af413f63ad47 (diff)
gentoo auto-resync : 08:09:2023 - 22:31:44
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r--app-admin/mcelog/Manifest2
-rw-r--r--app-admin/mcelog/mcelog-195.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index 21c0ed70f13a..b4af6ab99721 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -3,5 +3,7 @@ AUX mcelog-129-debugflags.patch 416 BLAKE2B 97aa6da3146380b40013966bb109de412158
AUX mcelog-194-musl-fix.patch 531 BLAKE2B 011d06596a0f74078547701bfe0215ed96a027b4f3450b6bd14d2ddb29444f81c1776e1c968a56b1b7d64999a9ea6185d44d17cd876db9f64595d1b22337bfb9 SHA512 aff5916df652c33489c2af9631fcc3441554e64cf053d1d9b8e456fb6e2d5b5b6e3814e57518fe19963a0be65b3a38679343b7e620eb1c91a3ea0bfe3033747e
AUX mcelog.init-r1 349 BLAKE2B 17f8a28dc1174fa62d50cb0d6dcae7bf4755ea99ff380d42a5beb16ab6ca07f1dbfcf7783ecb3b8f85f714357c39b0a333630c69e0bef5af32ba602686117cfd SHA512 a43f0efe7eb5007e9422ca2eba43b666d5110696c8b049b74990849e200b89b99e3d22707803e21e4452b0e75bbacdec0526ed933b234301ebbbb19d700df0d4
DIST mcelog-194.tar.gz 317449 BLAKE2B 68124209247ab0545d2f33c703bc6c10a6225275b929fe035cdad49f30d0ed2e8e5b30968b29f95c537a406b6aaca322adeaa22f1dc33c5f6dc92526f707b003 SHA512 b253b96bac2b6abe6c112f26b0b2d7cfc7720235fa0eec85bd60b1670d36d4032c8c9b27b9e0e22d77b4247ac661bf9278cf0bd43f196fd446ca3e04a41b65ed
+DIST mcelog-195.tar.gz 318965 BLAKE2B aebfcac2a5e5aab43cf3b08d169c75469c81d8724d2e907890bb5b947e1dbea8e418fdf4c00512112ddc67d1ddcc3a014409c7a546bd60c8e36b2e7af72480c7 SHA512 45436f5859a3ffd1c0eaf998282910ad317b85d03f15130a66a2d4e32e2653dbd86b2033db7f6b321a4b9692354adb92773c26958eb5d474954e12c9ab4a9cda
EBUILD mcelog-194-r1.ebuild 1168 BLAKE2B ee2a38c3fdaa257a8638f2149c9876517b9c837349912da0df94ca27f63d755140d080ced6df6ef8b8e1fc77214877380e8966c41655a625f1d96612b449f35f SHA512 143798de0b1db65be5ba81c5b5b8715ee257b8a43b50aa0d68a2152ba51aa5169357c634b6b3b1a393f6fb41593d673f6658494ad968cdf6bfae713b9b3c770c
+EBUILD mcelog-195.ebuild 1130 BLAKE2B 2c5ba913d5aae88ad4aba6ae01e2c1649067c03450d1f752b8f314444fc39848cd54e52b95748313118b31e88500199790f5e6ca14ded5b5ea7d687b5b11927a SHA512 8b7d7edb24129f73ccd8c9dca9b0ff3bcce1ae82c32dc436a7283656afda42351bf70a8c1a74ee748f0ef9ddeea9fbc5d47a5b5687b121fb34d9256061b9eebe
MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc
diff --git a/app-admin/mcelog/mcelog-195.ebuild b/app-admin/mcelog/mcelog-195.ebuild
new file mode 100644
index 000000000000..88e6cd7ea15e
--- /dev/null
+++ b/app-admin/mcelog/mcelog-195.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+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://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${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
+}