public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcelog/
Date: Thu, 30 Jun 2022 16:14:43 +0000 (UTC)	[thread overview]
Message-ID: <1656605676.562ad899d67fbbce3083efc5567613a4e5730cc7.bkohler@gentoo> (raw)

commit:     562ad899d67fbbce3083efc5567613a4e5730cc7
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 16:14:26 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 16:14:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562ad899

app-admin/mcelog: add 183

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 app-admin/mcelog/Manifest          |  1 +
 app-admin/mcelog/mcelog-183.ebuild | 51 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
index db417ba9409a..38a457f6d202 100644
--- a/app-admin/mcelog/Manifest
+++ b/app-admin/mcelog/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/app-admin/mcelog/mcelog-183.ebuild b/app-admin/mcelog/mcelog-183.ebuild
new file mode 100644
index 000000000000..b95ec9cf6b31
--- /dev/null
+++ b/app-admin/mcelog/mcelog-183.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
+}


             reply	other threads:[~2022-06-30 16:14 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-30 16:14 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-21 15:50 [gentoo-commits] repo/gentoo:master commit in: app-admin/mcelog/ Ben Kohler
2024-07-12 18:18 Ben Kohler
2024-07-12 18:18 Ben Kohler
2024-06-19 19:26 Ben Kohler
2024-05-23 11:36 Ben Kohler
2024-05-20 12:02 Ben Kohler
2024-03-28 18:09 Ben Kohler
2024-03-28 18:09 Ben Kohler
2024-03-28 18:09 Ben Kohler
2024-01-12 15:00 Ben Kohler
2023-11-01 12:27 Ben Kohler
2023-10-12 15:04 Ben Kohler
2023-10-12 15:04 Ben Kohler
2023-09-08 16:47 Ben Kohler
2023-07-18 13:16 Ben Kohler
2023-07-16 13:11 Ben Kohler
2023-05-19 12:02 Ben Kohler
2023-05-19 12:02 Ben Kohler
2023-04-09 12:03 Ben Kohler
2023-04-04 12:45 Ben Kohler
2023-04-04 12:45 Ben Kohler
2023-04-04 12:45 Ben Kohler
2023-03-13 13:09 Ben Kohler
2023-01-13 13:23 Ben Kohler
2023-01-10 16:11 Ben Kohler
2022-12-30 15:56 Ben Kohler
2022-11-06 13:04 Ben Kohler
2022-09-26 15:24 Ben Kohler
2022-09-26 15:24 Ben Kohler
2022-08-26 12:04 Ben Kohler
2022-08-15 12:52 Ben Kohler
2022-08-12 12:20 Ben Kohler
2022-08-09 10:55 Ben Kohler
2022-07-25 14:26 Ben Kohler
2022-07-25 14:26 Ben Kohler
2022-07-19 14:18 Ben Kohler
2022-07-01 15:57 Ben Kohler
2022-05-24 13:24 Ben Kohler
2022-05-23 16:29 Ben Kohler
2022-05-23 16:29 Ben Kohler
2022-04-19 15:11 Ben Kohler
2022-01-18 13:09 Ben Kohler
2021-12-15 19:27 Ben Kohler
2021-12-15 19:10 Ben Kohler
2021-12-11 13:51 Ben Kohler
2021-11-07 11:42 Ben Kohler
2021-10-04 11:35 Ben Kohler
2021-08-11 10:55 Ben Kohler
2021-08-11 10:55 Ben Kohler
2021-07-22 12:19 Ben Kohler
2021-07-13 14:23 Ben Kohler
2021-07-07 20:41 Ben Kohler
2021-02-27 14:06 Ben Kohler
2021-02-25  4:29 Matt Turner
2021-02-08 21:07 Ben Kohler
2021-01-09 14:40 Ben Kohler
2021-01-07 21:53 Ben Kohler
2020-12-23 18:49 Ben Kohler
2020-11-09 17:35 Ben Kohler
2020-10-20 13:52 Ben Kohler
2020-09-24 12:07 Ben Kohler
2020-09-18 12:09 Ben Kohler
2020-06-30 17:09 Ben Kohler
2020-05-29 11:01 Ben Kohler
2020-05-29 11:01 Ben Kohler
2020-04-24 12:54 Ben Kohler
2020-02-01  0:11 Matt Turner
2020-02-01  0:11 Matt Turner
2020-02-01  0:11 Matt Turner
2020-01-10 16:19 Ben Kohler
2019-12-14 13:17 Ben Kohler
2019-11-13 20:52 Ben Kohler
2019-10-23 16:51 Ben Kohler
2019-08-07 13:32 Ben Kohler
2019-08-06 17:50 Matt Turner
2019-08-06 17:50 Matt Turner
2019-02-06 13:39 Ben Kohler
2018-11-27 22:04 Matt Turner
2018-11-27 22:04 Matt Turner
2018-11-27 21:55 Thomas Deutschmann
2018-09-25 12:01 Ben Kohler
2018-08-11 12:16 Ben Kohler
2018-06-25  1:54 Ben Kohler
2018-06-25  1:34 Ben Kohler
2018-05-11 20:58 Matt Turner
2018-01-29 22:41 Matt Turner
2017-11-11 18:00 Thomas Deutschmann
2017-11-09 18:59 Manuel Rüger
2017-10-23  4:05 Matt Turner
2017-10-23  4:05 Matt Turner
2017-08-25 23:49 Matt Turner
2017-06-10  1:46 Matt Turner
2017-04-07  7:07 Matt Turner
2017-03-28 16:23 Matt Turner
2017-03-08 19:20 Matt Turner
2016-04-04  9:00 Ian Delaney
2015-08-14 23:10 Julian Ospald
2015-08-14 23:10 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656605676.562ad899d67fbbce3083efc5567613a4e5730cc7.bkohler@gentoo \
    --to=bkohler@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox