diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-07-01 10:56:16 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-07-01 10:56:19 -0500 |
commit | 1961f280cedc37559b898cd63622b7c4c2f3024d (patch) | |
tree | 638a5a8494bc12e4e5417948afed6f2585811ea5 /app-admin | |
parent | app-backup/borgmatic: add 1.6.5, drop 1.6.4 (diff) | |
download | gentoo-1961f280cedc37559b898cd63622b7c4c2f3024d.tar.gz gentoo-1961f280cedc37559b898cd63622b7c4c2f3024d.tar.bz2 gentoo-1961f280cedc37559b898cd63622b7c4c2f3024d.zip |
app-admin/mcelog: add 184
Bug: https://bugs.gentoo.org/855392
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/mcelog/Manifest | 1 | ||||
-rw-r--r-- | app-admin/mcelog/mcelog-184.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest index 38a457f6d202..b1a4711249c4 100644 --- a/app-admin/mcelog/Manifest +++ b/app-admin/mcelog/Manifest @@ -1,3 +1,4 @@ DIST mcelog-181.tar.gz 314690 BLAKE2B 4e182c84ae15abf3673e0210940830c66377b275e05c0bf88ff2199ef1b87bf1e9bcff12ebd9c07e5af00d763369c96aae37c274174563fb3ae0db7bbd7306de SHA512 70f0a923bfc0a941b2a70501dd89b8634be52f51c98ab482b212e337684620165f71420205bd779039fe7704e230eb35e47c77802109242dc401803613393bb9 DIST mcelog-182.tar.gz 314857 BLAKE2B fc0716a468ce3eb4fd08806913c7e5e7481f0181f1217bf6e7bc6d675651dd04adac3cd0927428a6f88b15ddd919fbb1c26a4cfd977c3d902906fc09170bb1b3 SHA512 546fd30d16b00efb79e0df49c4c2d7cff08280762f04c4f67c3ceed500dcd19ba63a6eeb55f6ee444f9bbae04431745eb8aa3ded609c10e6be69cf5dd7722443 DIST mcelog-183.tar.gz 314338 BLAKE2B f1a9999e938fc6fdb22407b08f54b07bfe45d5dd3660c5b9b6d757a6a0becb811130aa0240fbc7aa0ede0334095c80e2d28dce3b1b3940068c918bcf960d4ae7 SHA512 fc9a3fe5eeaedc7957af99fcb91ca16e4a6ea2467fa36e8ffc2152a717f3bd018aa68c67aaaa6e5c12b740d740555013f0d198cb1a3d050817b0e5f7bf3e18cf +DIST mcelog-184.tar.gz 314339 BLAKE2B 2eaceb5acd8bca9afb458541ad49bb8cd11e9bc55962a8506cfc3b5beb8d469a7ef0bd0ba44e5b845d17c18b05d897838372dd32e9dda181ea24c00eaba80c70 SHA512 b5ec84632a4c103e3e198956e219a32f4687251b3c6fa1fbc14a55bb26c4371fc993b423e715d4fb691b9d6e6c686dc6602c351ad45a8f09363166b16832e3ad diff --git a/app-admin/mcelog/mcelog-184.ebuild b/app-admin/mcelog/mcelog-184.ebuild new file mode 100644 index 000000000000..b95ec9cf6b31 --- /dev/null +++ b/app-admin/mcelog/mcelog-184.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..10} ) + +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 +} |