summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/Manifest.gzbin32060 -> 32063 bytes
-rw-r--r--app-admin/mcelog/Manifest2
-rw-r--r--app-admin/mcelog/mcelog-194.ebuild51
3 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index 4570f6857fed..d18dc5b23a7d 100644
--- a/app-admin/Manifest.gz
+++ b/app-admin/Manifest.gz
Binary files differ
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index d81083b69325..a62e261162d1 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -3,6 +3,8 @@ AUX mcelog-129-debugflags.patch 416 BLAKE2B 97aa6da3146380b40013966bb109de412158
AUX mcelog.init-r1 349 BLAKE2B 17f8a28dc1174fa62d50cb0d6dcae7bf4755ea99ff380d42a5beb16ab6ca07f1dbfcf7783ecb3b8f85f714357c39b0a333630c69e0bef5af32ba602686117cfd SHA512 a43f0efe7eb5007e9422ca2eba43b666d5110696c8b049b74990849e200b89b99e3d22707803e21e4452b0e75bbacdec0526ed933b234301ebbbb19d700df0d4
DIST mcelog-192.tar.gz 317443 BLAKE2B 071c9e29aa049a2b559feb692d258df0685baaec614c4866d09cc8e9c8e8dad1e5064e661215c179649792cf3375e98aaa70fbe2629f5ba2b51b489ed9198b20 SHA512 dbdab35a4d3d2a3d395adb6384143d6ce53a2f598a9868e8777bd0588837621f7be74fdf6299b9949a4195ab6b242d9069686d07fe14fe23447d13e2dcfe7966
DIST mcelog-193.tar.gz 317427 BLAKE2B cd83a671e79549ecf38908de6ae5f2561ef48d0d210d26786f6f0299c31ee5c712df8a37a9e0969f3a88e43c9ec092befb599dca3a72eb2f5368daa6d110d882 SHA512 d0854222ce651ef583d0ebc8ec5cdeb8a06354c514a9e1465dd96b9bc914a32b6e730e8cd2dff71b08cd20a7a5ef13c8e191b47955cdcbbe9eee3ae9906491ec
+DIST mcelog-194.tar.gz 317449 BLAKE2B 68124209247ab0545d2f33c703bc6c10a6225275b929fe035cdad49f30d0ed2e8e5b30968b29f95c537a406b6aaca322adeaa22f1dc33c5f6dc92526f707b003 SHA512 b253b96bac2b6abe6c112f26b0b2d7cfc7720235fa0eec85bd60b1670d36d4032c8c9b27b9e0e22d77b4247ac661bf9278cf0bd43f196fd446ca3e04a41b65ed
EBUILD mcelog-192.ebuild 1129 BLAKE2B 5dcdcbf6d07baca3a81624ffa61d9bb083713c399abd04ffaa1c6c0c8bb21855e8cbfdf969c2f03bd78f3aa03196ca22059f2dc3ee5c5bc8ae7ec5a067d85b11 SHA512 1af01c906c6110b9fffbfe0e564a31b4b2bff60cd321b622ffdd04ea1d6eb4782e7b0a5ff25018c5d72af98f534b0a1c80e08619f11244472251a08fee872330
EBUILD mcelog-193.ebuild 1131 BLAKE2B 10eccf37a64cee135911a7c33d10a27fbdebff2940f67b7bc52b662977168390cbbc8c5ce978286f207bb6a905f66a3c6f1c6809ee0396c59615588c2d0b2959 SHA512 66301d1517a74ee22f94b3627f49b1af176b2d26d39e35665fadc461e0cd6d6cfd15026e98386d5dc8939dcea5b70198f45609f4a01f888f48eee5f5a8271934
+EBUILD mcelog-194.ebuild 1131 BLAKE2B 10eccf37a64cee135911a7c33d10a27fbdebff2940f67b7bc52b662977168390cbbc8c5ce978286f207bb6a905f66a3c6f1c6809ee0396c59615588c2d0b2959 SHA512 66301d1517a74ee22f94b3627f49b1af176b2d26d39e35665fadc461e0cd6d6cfd15026e98386d5dc8939dcea5b70198f45609f4a01f888f48eee5f5a8271934
MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc
diff --git a/app-admin/mcelog/mcelog-194.ebuild b/app-admin/mcelog/mcelog-194.ebuild
new file mode 100644
index 000000000000..7d504ed20d59
--- /dev/null
+++ b/app-admin/mcelog/mcelog-194.ebuild
@@ -0,0 +1,51 @@
+# 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"
+
+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() {
+ eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
+ "${FILESDIR}"/${PN}-129-debugflags.patch
+ eapply_user
+ 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
+}