summaryrefslogtreecommitdiff
path: root/app-admin/mcelog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-13 17:49:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-13 17:49:19 +0000
commit06bb974d894b86598af155dc76a6fbd76c4fa30c (patch)
tree363e323b416b8141cedf7b17e890e743d41c4c8a /app-admin/mcelog
parente45f0df9d7f9f5260e69235b8c7c6e00153747f0 (diff)
gentoo auto-resync : 13:01:2023 - 17:49:18
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r--app-admin/mcelog/Manifest2
-rw-r--r--app-admin/mcelog/mcelog-191.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index dc4ea14bf600..a3b1ce801d74 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -2,5 +2,7 @@ AUX mcelog-0.8_pre1-timestamp-mcelog.patch 425 BLAKE2B 5952e26c668fb71f712fc70b3
AUX mcelog-129-debugflags.patch 416 BLAKE2B 97aa6da3146380b40013966bb109de41215890cb4b6431ad694c2684f498d13287e385119304a816270f470ff26529967701c92bfc845a8aac698a0aa0f67271 SHA512 cda86c3e74f56fcd9d8771b26ca91c32ccc33e6bcd6dd0fcf856c14096daa619257d237e1e187e7820d6a0a0553ae6fd9ec160ea59e237b4e05ebca4e6656e20
AUX mcelog.init-r1 349 BLAKE2B 17f8a28dc1174fa62d50cb0d6dcae7bf4755ea99ff380d42a5beb16ab6ca07f1dbfcf7783ecb3b8f85f714357c39b0a333630c69e0bef5af32ba602686117cfd SHA512 a43f0efe7eb5007e9422ca2eba43b666d5110696c8b049b74990849e200b89b99e3d22707803e21e4452b0e75bbacdec0526ed933b234301ebbbb19d700df0d4
DIST mcelog-190.tar.gz 314409 BLAKE2B 287b5ccba24ef7afe4b2653f2ab8ddd9ae94451e1131941d61031042a039cb9ed633f75b0ddf0035f3fef023cdf67c5c0b01169d0afac4ae47f9badcc55d16ef SHA512 26347d5255c602189961c63f8bf44f0c73b8f7fb0d455108c604a84e73e00303646961759101aab42157d12a7678f8c47277829b0460b0832a64c8b5c913d952
+DIST mcelog-191.tar.gz 317354 BLAKE2B a02df41304aac994a37f4abd7be65408bd19d72e2aa20a15a3b55b6b152aebfad09309c9bfbb710e6bde493da980004a9f664ca71efeaf5ccd2ca0f0e1452adf SHA512 8716c2a63660d61da0fc9f1f8c5065cacc77c696456eed2167cd451e74e665e838bf5ab1d865d073379cb2fda2ff7c71e946cb74e905585d6c5d714159603a78
EBUILD mcelog-190.ebuild 1129 BLAKE2B 9ff00a93a582ceed3b42c5ce28b7e23099f345cca9e4411f35f32d70fe2e46bed47265fd6a48bfac773512faac5281e778130403135b0514c6bcea5fcfa19657 SHA512 13a6cf3907e5b5e0813504bf9a6a877e612fcfe392fd8a4ff34774058ec0abfbecbeaf1bea014db29f1d59e5a3afe02460c9683566b4fc42d776a217bab11e46
+EBUILD mcelog-191.ebuild 1131 BLAKE2B 10eccf37a64cee135911a7c33d10a27fbdebff2940f67b7bc52b662977168390cbbc8c5ce978286f207bb6a905f66a3c6f1c6809ee0396c59615588c2d0b2959 SHA512 66301d1517a74ee22f94b3627f49b1af176b2d26d39e35665fadc461e0cd6d6cfd15026e98386d5dc8939dcea5b70198f45609f4a01f888f48eee5f5a8271934
MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc
diff --git a/app-admin/mcelog/mcelog-191.ebuild b/app-admin/mcelog/mcelog-191.ebuild
new file mode 100644
index 000000000000..7d504ed20d59
--- /dev/null
+++ b/app-admin/mcelog/mcelog-191.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
+}