public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/
Date: Thu,  9 May 2024 03:05:30 +0000 (UTC)	[thread overview]
Message-ID: <1715221990.d79f5af107cbb4f66ffb974b80be7236fb333a4a.dlan@gentoo> (raw)

commit:     d79f5af107cbb4f66ffb974b80be7236fb333a4a
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 02:33:10 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu May  9 02:33:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79f5af1

dev-util/crash: add 8.0.5

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/crash/Manifest           |  1 +
 dev-util/crash/crash-8.0.5.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index 7c911d7cc3a0..f687d1798ab0 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -1,4 +1,5 @@
 DIST crash-8.0.3-extra-0.tar.xz 696 BLAKE2B 1a90e1b7ba87188cd438e8f9ca17276986b6fdeee00804a3dadf2979bfab0769bcf7df3bedaba75bdf9297eeb013929ba6ea0b98b228fa51d9a7fa09a77c01cf SHA512 c0f29c3b13ccbbc8a0c3366ec75797501c141e3c9c1085dbea1bec89e1b35b837528fabf0fe031e0cb2d725780bffb71e1f27657e75dd9aa2f0c4bc625d251b2
 DIST crash-8.0.3.tar.gz 1330456 BLAKE2B 0e277033ff16f2080af630fded3a2d458d580c9aafe1303e5cc291d39ca33a10fe942eb8f33308b2734494ad83913df45e8c192a2aab47f4473dffad777b57a2 SHA512 1ce7fda89274051cea02a049a674f2ca43fc02e00121f951af0d4c23c7b74cc79949ec376bb6737f82b95fec0cbe495b53a09df7e5f1f31ee5a829c1d53d0ba0
 DIST crash-8.0.4.tar.gz 1339636 BLAKE2B e383e40e16f54c0a0b34d30be784d7c7306b2922e8505067eaf31519707f514fc07dffcfc868b9dd21c6baaa68f9ae3bb6b3e363fa02a7260e1a090649082293 SHA512 a08589026515990eee555af6eeba0457433fe41263512ed67dfcac1cf49a8f61dc794081f4984700d8dfed228440a1d7928fdd1f5cf4ae8a45cf39eb49d3470b
+DIST crash-8.0.5.tar.gz 1436933 BLAKE2B a3e940167a83b901d3842d10add29e55f49188a0cc6430f975242c8365742cbb75d7f5f36f26eff51e5bc1a9ac2e893de4631378814cc2b27da3241f5062b788 SHA512 0e199899fcc479eeebd1177a88dfe26725d9f63361d5ff7dbf9cb0f8425d3c6b8d60aada0a4312f61eecfe0ed0cca346034e12accbf5896446db8d9fb7d55e05
 DIST gdb-10.2.tar.gz 40267550 BLAKE2B cee3ab45a52ed378fc718e49c4d153393200fd1b85306888e4085919ab27277bb85d66f9297e6d0aaa1fb47d65fc31d4b97a2fc476e2ccedd4dba0fbec778ab4 SHA512 aa89caf47c1c84366020377d47e7c51ddbc48e5b7686f244e38797c8eb88411cf57fcdc37eb669961efb41ceeac4181747f429625fd1acce7712cb9a1fea9c41

diff --git a/dev-util/crash/crash-8.0.5.ebuild b/dev-util/crash/crash-8.0.5.ebuild
new file mode 100644
index 000000000000..2e850186dedf
--- /dev/null
+++ b/dev-util/crash/crash-8.0.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+GDB_VERSION=10.2
+UPSTREAM_VER=
+EXTRA_VER=0
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/crash-utility/crash.git"
+	SRC_URI="mirror://gnu/gdb/gdb-${GDB_VERSION}.tar.gz"
+	EGIT_BRANCH="master"
+	inherit git-r3
+else
+	[[ -n ${UPSTREAM_VER} ]] && \
+		UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${P}-patches-${UPSTREAM_VER}.tar.xz"
+
+	[[ -n ${EXTRA_VER} ]] && \
+		EXTRA_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-8.0.3-extra-${EXTRA_VER}.tar.xz"
+
+	SRC_URI="https://github.com/crash-utility/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+		${UPSTREAM_PATCHSET_URI} ${EXTRA_PATCHSET_URI}
+		mirror://gnu/gdb/gdb-${GDB_VERSION}.tar.gz"
+	KEYWORDS="-* ~alpha ~amd64 ~arm ~ia64 ~ppc64 ~riscv ~s390 ~x86"
+fi
+
+DESCRIPTION="Red Hat crash utility; used for analyzing kernel core dumps"
+HOMEPAGE="https://crash-utility.github.io/"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+# there is no "make test" target, but there is a test.c so the automatic
+# make rules catch it and tests fail
+RESTRICT="test"
+
+src_prepare() {
+	default
+
+	if [[ -n ${UPSTREAM_VER} ]]; then
+		einfo "Try to apply Crash's Upstream patch set"
+		eapply "${WORKDIR}"/patches-upstream
+	fi
+
+	if [[ -n ${EXTRA_VER} ]]; then
+		einfo "Try to apply Crash's Extra patch set"
+		eapply "${WORKDIR}"/patches-extra
+	fi
+
+	sed -i -e "s|ar -rs|\${AR} -rs|g" Makefile || die
+	ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die
+}
+
+src_configure() {
+	# bug #858344
+	filter-lto
+
+	default
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}


             reply	other threads:[~2024-05-09  3:05 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09  3:05 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09  3:05 [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/ Yixun Lan
2024-03-05  6:57 Sam James
2023-11-23 12:39 Yixun Lan
2023-11-23 12:27 Yixun Lan
2023-11-23 12:27 Yixun Lan
2023-08-09 23:09 Yixun Lan
2023-05-12 12:36 Yixun Lan
2023-05-12 12:36 Yixun Lan
2022-12-19  2:40 Yixun Lan
2022-08-24 14:28 Yixun Lan
2022-08-24 14:28 Yixun Lan
2022-07-28  3:33 Yixun Lan
2022-04-27  9:08 Yixun Lan
2022-04-27  9:07 Yixun Lan
2022-04-09 10:59 Yixun Lan
2022-04-09  2:35 Sam James
2022-04-02 10:59 Yixun Lan
2022-04-02  8:24 Yixun Lan
2022-04-02  8:24 Yixun Lan
2021-12-21  8:41 Yixun Lan
2021-12-21  2:26 Yixun Lan
2021-12-21  2:26 Yixun Lan
2021-05-15  9:02 Yixun Lan
2021-01-26  3:41 Yixun Lan
2021-01-26  3:41 Yixun Lan
2021-01-15 21:28 Yixun Lan
2020-06-03  3:05 Yixun Lan
2020-06-03  3:05 Yixun Lan
2020-02-16 14:27 Yixun Lan
2019-10-21  1:39 Yixun Lan
2019-10-21  0:01 Thomas Deutschmann
2019-10-20  6:19 Yixun Lan
2019-10-20  1:08 Yixun Lan
2019-04-09  0:02 Doug Goldstein
2018-03-10 21:44 Doug Goldstein
2017-05-10  7:28 Yixun Lan
2016-04-21  4:51 Mike Frysinger

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=1715221990.d79f5af107cbb4f66ffb974b80be7236fb333a4a.dlan@gentoo \
    --to=dlan@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