diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-12 19:10:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-12 19:10:40 +0000 |
commit | 4fc30e4e13ecfbe29fbef3b5caf96218eab30b68 (patch) | |
tree | 76daccda237a1d7020464e1de2c699391c86cf92 /app-admin/mcelog | |
parent | 4c4e8e9bf6d1ef49be600d77fcbbd7be716aece7 (diff) |
gentoo auto-resync : 12:01:2024 - 19:10:40
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r-- | app-admin/mcelog/Manifest | 2 | ||||
-rw-r--r-- | app-admin/mcelog/mcelog-197.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest index 8d04e524a8e9..a0cedf5b202f 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-195.tar.gz 318965 BLAKE2B aebfcac2a5e5aab43cf3b08d169c75469c81d8724d2e907890bb5b947e1dbea8e418fdf4c00512112ddc67d1ddcc3a014409c7a546bd60c8e36b2e7af72480c7 SHA512 45436f5859a3ffd1c0eaf998282910ad317b85d03f15130a66a2d4e32e2653dbd86b2033db7f6b321a4b9692354adb92773c26958eb5d474954e12c9ab4a9cda DIST mcelog-196.tar.gz 318951 BLAKE2B 50871cd7a3c4dd6f4c4d613c7db4528d972ca37ba17b0a5aa4876d8fc92d4478c2247ea65748310ad6d4b950d1abc9bd0ea40193e72b36d38334547382477849 SHA512 37d14dac84792b4668cb38883cd59b7642c37abc89b783cf19c20b2664a13334372370c9a3718f26d7baf5a02344f80de9e6c6e3ff7386b9585c9dc5f332c011 +DIST mcelog-197.tar.gz 319167 BLAKE2B cbeac1b29ab0b9b7d23470213f5b186f1c1c2a1095617436ccb9a29824fbf6d461642df32e69f7d743a2b3dfce5e06fcffbe5af3cc90a99c00bf9ba4796514b7 SHA512 4975f533fa6546b956190a33f51974614911aa8b707e07f73abf1e0055cd13997eeacaeedaf84762debcea9fd9b95e7d537befc0f818ba29873dd72be4ceed1a EBUILD mcelog-195.ebuild 1128 BLAKE2B f68d0ab92db7f01fa8ae10b583e65a9a720b70e2bd8aa5dcc6ee9a1bb4baaa918390bc32b86fd8434c60d058d16e034d14896c6b2e6029fa1ec82aed8d0f4584 SHA512 7203aa8fd67d61cb324d622af8d9b0c58719d55f30d7929645f46fdc320e4573554e53a81d1476cd4b5e5cc36e77b1fba722fc6916988d8ab25dfb7a219150cf EBUILD mcelog-196.ebuild 1130 BLAKE2B 2c5ba913d5aae88ad4aba6ae01e2c1649067c03450d1f752b8f314444fc39848cd54e52b95748313118b31e88500199790f5e6ca14ded5b5ea7d687b5b11927a SHA512 8b7d7edb24129f73ccd8c9dca9b0ff3bcce1ae82c32dc436a7283656afda42351bf70a8c1a74ee748f0ef9ddeea9fbc5d47a5b5687b121fb34d9256061b9eebe +EBUILD mcelog-197.ebuild 1136 BLAKE2B 739f6d8bd55c6db402aab6750aed9ed2b80ac17424f7961b2cc9c366a0a932143c1c90d3c91dbda1179970c0a21a75326705f3f4ca8dcc86c9587b533c6fbfce SHA512 f8cc9551e7deed1fde45c4a0c49722b9cf802fbc7c911e31489cef76401b79d258f84971eb127a14f95ae88a13c0523fbd1b36e398dd78862592a07eb862422a MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc diff --git a/app-admin/mcelog/mcelog-197.ebuild b/app-admin/mcelog/mcelog-197.ebuild new file mode 100644 index 000000000000..07d93a66d81f --- /dev/null +++ b/app-admin/mcelog/mcelog-197.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 +} |