diff options
Diffstat (limited to 'app-admin/mcelog')
-rw-r--r-- | app-admin/mcelog/Manifest | 2 | ||||
-rw-r--r-- | app-admin/mcelog/mcelog-188.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest index ac33acbfa09b..752c27a06b26 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-182.tar.gz 314857 BLAKE2B fc0716a468ce3eb4fd08806913c7e5e7481f0181f1217bf6e7bc6d675651dd04adac3cd0927428a6f88b15ddd919fbb1c26a4cfd977c3d902906fc09170bb1b3 SHA512 546fd30d16b00efb79e0df49c4c2d7cff08280762f04c4f67c3ceed500dcd19ba63a6eeb55f6ee444f9bbae04431745eb8aa3ded609c10e6be69cf5dd7722443 DIST mcelog-187.tar.gz 314380 BLAKE2B bc9ea27af67c9dfe5efc9b47d392d25b87e6da781b04bfa9553119f78a524200222c95236f30281414434b97e0d99d2d4cd231275d86d51fe718571bf102e3ff SHA512 dc9c7279e115ca9f2611b80662b015044ecfe43602b17681ef6f3211902bfbc3fc58a7490f65ec46448ec9a1c0a80f018b45ae53d56c96789e41ae5186d0b0e3 +DIST mcelog-188.tar.gz 314373 BLAKE2B 379ff871026de9c1c6bfd474ccf2a9a670af8e97027811ac30f27172759b809d6b00c38d2f473860482936ede3e566f25b23e707b38715ea33e2720da8e89ae7 SHA512 6d06671649a40327a1d6e27c5df5b46d5696c9d38b7f39273835db7f4a74530df96a83fec63a84c593ba5043a0b11b3d947d4e7ec7c3d5e7483577938b70cfb3 EBUILD mcelog-182.ebuild 1129 BLAKE2B c145537c454aa41c2bfababeda876d349e6c0cc82a52c7c03e09c323562d801f329956c4f7241744aad82c0cea2c653c37b35eee04af104bd35acf66d11246e9 SHA512 2ebe74e82511c423be28db3054d5c348f8d712dfabe165cc624377da94b39cb9d8460f48cfb5b8b7acc7a3f135b689e0666b615f057e0b82a9bf76eceb31e35b EBUILD mcelog-187.ebuild 1131 BLAKE2B 10fdc1add27c2d0fa69e9846520ecbeb31f78a2921b8d0d49259fc9262dc4e64c34ea1f35c15617401fed6c33ebffd5c70f4feea47656cebdfe21a04ff65ea5f SHA512 458587b0894d1f6e038f6fbb269c2d0993e4436c602ba621a53b8e67330ac92e0975021fa85a067207b99fc19727d448bba43c59fa2b5bc61e3f4c934d00ae46 +EBUILD mcelog-188.ebuild 1131 BLAKE2B 10fdc1add27c2d0fa69e9846520ecbeb31f78a2921b8d0d49259fc9262dc4e64c34ea1f35c15617401fed6c33ebffd5c70f4feea47656cebdfe21a04ff65ea5f SHA512 458587b0894d1f6e038f6fbb269c2d0993e4436c602ba621a53b8e67330ac92e0975021fa85a067207b99fc19727d448bba43c59fa2b5bc61e3f4c934d00ae46 MISC metadata.xml 538 BLAKE2B 02cb85b3717b287e5e6a02db8c5485d52d1a5f7c9f927fad728ea8c313a93ebdb1aac5ac070cb852f18aae2cfebf5096ddb2c298948bc60180e4093c532aa899 SHA512 865e9e806a9fcf1d21ae7cd15c0e65196b3ccf7f866dc69237594908f020e224eca35d2d49fe70bef1e4d38b084ec8558e849148e470d3e22959f85177545bdc diff --git a/app-admin/mcelog/mcelog-188.ebuild b/app-admin/mcelog/mcelog-188.ebuild new file mode 100644 index 000000000000..b365ebd24343 --- /dev/null +++ b/app-admin/mcelog/mcelog-188.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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 +} |