summaryrefslogtreecommitdiff
path: root/app-admin/mcelog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
commitb49088575eb777ced2551f484da86317332d6087 (patch)
treebf9a151cf2d61956340d555659ffc098ee1da466 /app-admin/mcelog
parent514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff)
gentoo resync : 24.07.2021
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r--app-admin/mcelog/Manifest2
-rw-r--r--app-admin/mcelog/mcelog-178.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index fba530ccb6df..8d043fa5ca45 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -3,7 +3,9 @@ AUX mcelog-129-debugflags.patch 416 BLAKE2B 97aa6da3146380b40013966bb109de412158
AUX mcelog.init-r1 349 BLAKE2B 17f8a28dc1174fa62d50cb0d6dcae7bf4755ea99ff380d42a5beb16ab6ca07f1dbfcf7783ecb3b8f85f714357c39b0a333630c69e0bef5af32ba602686117cfd SHA512 a43f0efe7eb5007e9422ca2eba43b666d5110696c8b049b74990849e200b89b99e3d22707803e21e4452b0e75bbacdec0526ed933b234301ebbbb19d700df0d4
DIST mcelog-175.tar.gz 315350 BLAKE2B a324af0f4961fb0f6f2af1b198e07a34c24fb5874edd550ca9bdfe452d84cf48d9565530a290a3cdba51eb4ad57f3bbe3d3c9b2beb6d3411195d6dccdb9dfd64 SHA512 992789817a3963a3f118121149bf9b217609f54d85a71c2adb671728cf04777ccb062033df68793afff5fb6a0080b50b4e6fa89cbcd0970d92ca4246155ea13a
DIST mcelog-177.tar.gz 315474 BLAKE2B 8c6920b01ba836460067f322a17e5a69c2a9a447127ae583ddd151f3cd290aca039a63e95601789cd71c4ef75d4213e39918e08b600aeda3e06bb800119209c5 SHA512 b73d103c7b326e6aa2cb22a05b7df29e24f5b8f9e564a9d2d05627e0af80ee581d62b422e35a68cf3e43a3e1aaf905cccb08a65286c9f77c8c8c2ac41e880fbf
+DIST mcelog-178.tar.gz 315460 BLAKE2B 65d424f70c615a694dfb18a0d7049965280141858a2c527fbe1db806d675785a0edba161dd6ac4bf6660e1bb2334d394f98bc85058c17d79b2c25106297ae95e SHA512 f024908c877b489148e23bbb8b34d587d1b88e13e43bb401b4594eafb577a24a4b478fd4aa7e221d2d9e633b509b641123418dc36a52425193083d26d2ca60bb
EBUILD mcelog-175.ebuild 1353 BLAKE2B d6b73b5c2cba965f04baa24493349a8a9e20b584f36056d68905bf0072f53dc25dbf53096ff2484b501a2e143b7110718c8a97e983270350e72ac3d81523b36f SHA512 50587acc615805ef2b615ced31b64de5a614cd72afb5aa5953a03652fb98bb6d947deb3c86116ebb6c8db4822bbcb0e8a693c9d17cd1e36a25baab4ba9a6d295
EBUILD mcelog-177-r1.ebuild 1160 BLAKE2B 09d326e4b1e37b94cd1b31d9632a375632e9297315e82ae91c33af8915e93ce8f96ef173afc074632b8fef2d44320307743362d463e62b8c36e91416aa13a1ec SHA512 d11bb734c6474a25246a0e74ad4be087990a34e68bd8a91a894798aa4d379f03c63e8e061d6408a32fb53b473e736e3fef1497f6941cc87e96ec4f36f2dc23e4
EBUILD mcelog-177.ebuild 1355 BLAKE2B c1c875cfb1efeae3e9818a0c1393cca8e05e2444861c426959f212e3a6ffbe1efc3a6b5ad0bdee4f14e8eb0cbfa06fcccd87a8fa8d0cce112ad79a1474d17a76 SHA512 07f1dee935160cafe5a52ec266744b7911095d012eb91d403863e3a4996768c24ea7cf15cacf6600184ba02fec380d3c8bb7390ca92eb9d4066b34bb3fd16595
+EBUILD mcelog-178.ebuild 1160 BLAKE2B 09d326e4b1e37b94cd1b31d9632a375632e9297315e82ae91c33af8915e93ce8f96ef173afc074632b8fef2d44320307743362d463e62b8c36e91416aa13a1ec SHA512 d11bb734c6474a25246a0e74ad4be087990a34e68bd8a91a894798aa4d379f03c63e8e061d6408a32fb53b473e736e3fef1497f6941cc87e96ec4f36f2dc23e4
MISC metadata.xml 537 BLAKE2B 565ccc3c3b497c157bad02578153aa33529089d8147f70d1e8efd88531ff3b5e615c7733780e6b991b1e7adc3a15c37d79076185141c0f5942958cdab89d84ca SHA512 e63aa74914714bbc4419369a567180acbcb40e162b3d0fa3998ee36e898982401a59f82bc4a848906b8f12de5e87f48114d7c1c1e0dfffe6e656af491c92af25
diff --git a/app-admin/mcelog/mcelog-178.ebuild b/app-admin/mcelog/mcelog-178.ebuild
new file mode 100644
index 000000000000..2ed1d04cc6aa
--- /dev/null
+++ b/app-admin/mcelog/mcelog-178.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info 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 )"
+
+# 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
+}
+
+src_install() {
+ default
+
+ insinto /etc/logrotate.d/
+ newins ${PN}.logrotate ${PN}
+
+ newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
+ systemd_dounit ${PN}.service
+
+ dodoc *.pdf
+}
+
+pkg_postinst() {
+ einfo "The default configuration set is now installed in /etc/${PN}"
+ einfo "you might want to edit those files."
+}