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: Sat,  2 Apr 2022 08:24:08 +0000 (UTC)	[thread overview]
Message-ID: <1648887821.53a18b3469994b032ddb6b199aaba3e67872f700.dlan@gentoo> (raw)

commit:     53a18b3469994b032ddb6b199aaba3e67872f700
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 08:21:31 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 08:23:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a18b34

dev-util/crash: fix un-resolvable sys_open symbol issue

always pull upstream's latest fixes/patches
thanks "Pierre Asselin" for reporting this

Closes: https://bugs.gentoo.org/836329
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/crash/Manifest              |  1 +
 dev-util/crash/crash-8.0.0-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index b5137def4ef9..6a041926cf92 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -1,5 +1,6 @@
 DIST crash-7.3.0.tar.gz 1326319 BLAKE2B 7a775c3a8b81f986fc3444939b30db7245c5573556ab3e07e2b7762c75ccbf2b9d828d75bde8dc4b8d8df8532b3dfb6dba500723f2c2cb02e2d4166749c92705 SHA512 bc288821892c3d7ecbf192d9fe6ea9e73216f8074a24d12a00fbcaf967a1faa38ee69c4a5a97aa93bf75426293f5b275f5ab496c154b4e7be265ba0e263b2bc8
 DIST crash-7.3.1.tar.gz 1329499 BLAKE2B 9c9fd88d7f8874557b99a173b4bd615bb5d41d35b051ee6e82c10a8928b150861dbfdecb3ba94e1367c62c6bb8583c85d39ce7015945d4983d3ce1e1d86dac78 SHA512 018fc33daa144906a29120660951755856169be3df123bcf2bec9c1c4586a18f528c14634f794e658d3dab308419b7a6a7f56b9b0ac5aad68b5ff18ae442f63b
+DIST crash-8.0.0-patches-1.tar.xz 38880 BLAKE2B b1b22a55f07e7c23c90d13769cdf0db92d3015d5aa5af20bef85394013635bb393c4bbc36fb0af2a925b59b98289e33b3c092ca39c9c90c7213ba5e4b9af8b74 SHA512 17f638c4a5d2cff472a75f58d82d3b7325e6cf9444641c85ec6a3be5b4980aae90ec19dae66ae4b5022f938faae6876b4b50c0b791087fbd20629745b9909ac6
 DIST crash-8.0.0.tar.gz 1281026 BLAKE2B bb86bc64d04ce136295bf57097674e96d29e5c934b2fc55f2bd5fa331f2d0086929e1fc7ce60b75b4df1ded128e71048e555bffc3321f6f860d00a8fae8bc09e SHA512 c52afab6c8187dc0c44a13b2a5b33bd7df33d9ee12bcecc6b7e94e8bc98d9470c134cb0fbe941b750f36a66028aad718bfd6f1a00524ad38ce43d1f278048a3b
 DIST gdb-10.2.tar.gz 40267550 BLAKE2B cee3ab45a52ed378fc718e49c4d153393200fd1b85306888e4085919ab27277bb85d66f9297e6d0aaa1fb47d65fc31d4b97a2fc476e2ccedd4dba0fbec778ab4 SHA512 aa89caf47c1c84366020377d47e7c51ddbc48e5b7686f244e38797c8eb88411cf57fcdc37eb669961efb41ceeac4181747f429625fd1acce7712cb9a1fea9c41
 DIST gdb-7.6.tar.gz 31437633 BLAKE2B fb8cb9f0c33f360c864c5776c3dd0233ad534d376a9df8157c7bc9f1c4ccfc8698933409561700f134705c0107038d8bfa23844e512cd3a08e24925d37a1ce58 SHA512 02d9c62fa73bcb79138d14c7fc182443f0ca82d4545b4d260b67d3f0074ed75f899a657814a56727e601032a668b0ddd7b48aabd49215fc012eeea6077bca368

diff --git a/dev-util/crash/crash-8.0.0-r1.ebuild b/dev-util/crash/crash-8.0.0-r1.ebuild
new file mode 100644
index 000000000000..13cee473e98b
--- /dev/null
+++ b/dev-util/crash/crash-8.0.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/crash-utility/crash.git"
+	SRC_URI="http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz"
+	EGIT_BRANCH="master"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/crash-utility/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+		https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-8.0.0-patches-1.tar.xz
+		mirror://gnu/gdb/gdb-10.2.tar.gz"
+	KEYWORDS="-* ~alpha ~amd64 ~arm ~ia64 ~ppc64 ~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"
+
+PATCHES=( "${WORKDIR}"/${P}-patches/ )
+
+src_prepare() {
+	default
+	sed -i -e "s|ar -rs|\${AR} -rs|g" Makefile || die
+	ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}


             reply	other threads:[~2022-04-02  8:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-02  8:24 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-02 10:07 [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/ Yixun Lan
2024-05-09  3:05 Yixun Lan
2024-05-09  3:05 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
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=1648887821.53a18b3469994b032ddb6b199aaba3e67872f700.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