summaryrefslogtreecommitdiff
path: root/app-admin/mcelog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
commitd6ca4e4f90cb75c323b5988eefa96a04c0d36908 (patch)
tree8197fc88451976470c871e991b75a9d40c240270 /app-admin/mcelog
parente8df704cf9b5e9e517317b8912377c0a8ca0d11e (diff)
gentoo auto-resync : 20:06:2024 - 00:10:56
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r--app-admin/mcelog/Manifest2
-rw-r--r--app-admin/mcelog/mcelog-200.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index edee1fb3d34c..b0503128cc5d 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -4,7 +4,9 @@ AUX mcelog.init-r1 349 BLAKE2B 17f8a28dc1174fa62d50cb0d6dcae7bf4755ea99ff380d42a
DIST mcelog-197.tar.gz 319167 BLAKE2B cbeac1b29ab0b9b7d23470213f5b186f1c1c2a1095617436ccb9a29824fbf6d461642df32e69f7d743a2b3dfce5e06fcffbe5af3cc90a99c00bf9ba4796514b7 SHA512 4975f533fa6546b956190a33f51974614911aa8b707e07f73abf1e0055cd13997eeacaeedaf84762debcea9fd9b95e7d537befc0f818ba29873dd72be4ceed1a
DIST mcelog-198.tar.gz 319372 BLAKE2B c1a6eed5b77843cd3963ac82d20270ed915562b3e2940ee685f4aa827b6e05c656eb55b57e380d582c8fda2f3d1ee3d13ff40c0771fd410d504d03e62f71eaeb SHA512 5168a1d1d83c7fa69438412db4b5f559528439f84ad65348b147117c7fdfe689c9ab3273350ff5321ed351ef0fe17065ee9073aac5115e87cf27878b8e2ff7df
DIST mcelog-199.tar.gz 316883 BLAKE2B 522cdb663936e17f0be7de008127f8dce9e5abd3b01f89c41123e72dc65d0764185fffd14ecf6546aea2aea83cf94bc652f4e1cff0b7430f1fe414220aeef075 SHA512 5b6a5ff85f100532d4417bca0885bc8cfb83a583a079b57dbcda17fb457263e12e9e736a51969be88e58d9b98db79cc23f6f6a313fd508ee9fd60d71e5c02fbb
+DIST mcelog-200.tar.gz 316893 BLAKE2B 66b6f25720d09760aab79d0b410287e73087551ab54eaf7dc31c0f7f5c56a40583e933f9e6dae9b91c5594f5bdf51701c37328e76f930c937b448aaac7acd262 SHA512 70b075d3db2f0cb587e3e8ac8b74d840b6bb777ee89c9428f70f037f67e25a02ae87889b9f998431ef229e56705a27431df016b59ab0f1ebf5485a9d38665c7b
EBUILD mcelog-197.ebuild 1134 BLAKE2B b898257049311155048b0cbc0d1ef36b0aa0fd969db4f2cea532ea8a6c79a5ec82ab51884c294aa550719c4dee7e3684c34893ed793d7a08c07a78b5dc4f06df SHA512 ac7b0085f9cb7030933ca4986510352620ef16025b68c275106eac7bc3d51a34dc06784665e8d2b1a8d039b0d8a31b6a72a170d3d39512dbe5f6a01d3f4285df
EBUILD mcelog-198.ebuild 1134 BLAKE2B b898257049311155048b0cbc0d1ef36b0aa0fd969db4f2cea532ea8a6c79a5ec82ab51884c294aa550719c4dee7e3684c34893ed793d7a08c07a78b5dc4f06df SHA512 ac7b0085f9cb7030933ca4986510352620ef16025b68c275106eac7bc3d51a34dc06784665e8d2b1a8d039b0d8a31b6a72a170d3d39512dbe5f6a01d3f4285df
EBUILD mcelog-199.ebuild 1136 BLAKE2B 739f6d8bd55c6db402aab6750aed9ed2b80ac17424f7961b2cc9c366a0a932143c1c90d3c91dbda1179970c0a21a75326705f3f4ca8dcc86c9587b533c6fbfce SHA512 f8cc9551e7deed1fde45c4a0c49722b9cf802fbc7c911e31489cef76401b79d258f84971eb127a14f95ae88a13c0523fbd1b36e398dd78862592a07eb862422a
+EBUILD mcelog-200.ebuild 1136 BLAKE2B 739f6d8bd55c6db402aab6750aed9ed2b80ac17424f7961b2cc9c366a0a932143c1c90d3c91dbda1179970c0a21a75326705f3f4ca8dcc86c9587b533c6fbfce SHA512 f8cc9551e7deed1fde45c4a0c49722b9cf802fbc7c911e31489cef76401b79d258f84971eb127a14f95ae88a13c0523fbd1b36e398dd78862592a07eb862422a
MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc
diff --git a/app-admin/mcelog/mcelog-200.ebuild b/app-admin/mcelog/mcelog-200.ebuild
new file mode 100644
index 000000000000..07d93a66d81f
--- /dev/null
+++ b/app-admin/mcelog/mcelog-200.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 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
+}