summaryrefslogtreecommitdiff
path: root/dev-util/crash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-19 07:47:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-19 07:47:44 +0000
commitfcefa9aa213e0ff26901b351fccd47393113ae5d (patch)
tree16ff06e1d47c8dc06b954f726f24cd6f941e3596 /dev-util/crash
parent8bb75334c4b9f91e9f95784e986ed31b4bc11f92 (diff)
gentoo auto-resync : 19:12:2022 - 07:47:44
Diffstat (limited to 'dev-util/crash')
-rw-r--r--dev-util/crash/Manifest5
-rw-r--r--dev-util/crash/crash-8.0.2.ebuild62
-rw-r--r--dev-util/crash/metadata.xml3
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index e06bec994c97..277d5e6afd11 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -3,10 +3,13 @@ DIST crash-8.0.0-patches-1.tar.xz 38880 BLAKE2B b1b22a55f07e7c23c90d13769cdf0db9
DIST crash-8.0.0.tar.gz 1281026 BLAKE2B bb86bc64d04ce136295bf57097674e96d29e5c934b2fc55f2bd5fa331f2d0086929e1fc7ce60b75b4df1ded128e71048e555bffc3321f6f860d00a8fae8bc09e SHA512 c52afab6c8187dc0c44a13b2a5b33bd7df33d9ee12bcecc6b7e94e8bc98d9470c134cb0fbe941b750f36a66028aad718bfd6f1a00524ad38ce43d1f278048a3b
DIST crash-8.0.1-extra-0.tar.xz 19152 BLAKE2B 60e40fa646f19fe1c5c120812f25c9b1ca3ace975decdeda3c4914ee730a15faf374c6400419ec5d2923c6c79a13d4c63b03fbc4410b2bef5b166015560e63e6 SHA512 1797f6200b7ef9c9bd1e3c1efe499f5d9c5fe70213f0adac55a763f3b8675e4eccf04a62223e321c5d23a426e214860205222e78ce6f36c0dab2f7bafc141824
DIST crash-8.0.1.tar.gz 1293336 BLAKE2B 97c2e6e9f8407d6f310afb120c9609f845fb4395543634dfca5bf1278aecacb2fb30ead890f72ac476674ffd9df189e26e4261f09c577e0fcaaaacfe120fe6f1 SHA512 ef9fe84dd5efa1b0570f71a8dd7af398a2ff35e9dc9fbcbeafd0f5ff503c7c4da93a33ffddfbac672fe12788dd3712808d6726ba9161ce282a7c76c3e2dc0793
+DIST crash-8.0.2-extra-0.tar.xz 19716 BLAKE2B a87e499314f80babb249c45e613f890b7d157e40ffb42a728cc96913b46c81deee91b79b296b1153ce6c69bb96d22123ad5c54481153ed5bc6be74965a76b298 SHA512 00eeab3fa73e2cc4283d6263fd3d743832dc66a705207a3cb347d1c4735d9f2ba8bcbd3e9739a20878d3b8438cec9d12742049186a9f1d4ac0bfb7a27b4c31bd
+DIST crash-8.0.2.tar.gz 1298881 BLAKE2B 120b68cfd0ae07b9f1e302a549f2095c2d9cd83cd5281b55b7d3e96242c6ce85db94afb6980f89ee14dc395d5d48dec0514349142e7dd33665ef331ed2bd987b SHA512 9ff24d1206e9376e83690f76c817a48a68ff6adce677fad70335a73550a59c9af6e4753c1199f22eafa60c137156313244bbf98ed01bc2b066f41d324738ef6b
DIST gdb-10.2.tar.gz 40267550 BLAKE2B cee3ab45a52ed378fc718e49c4d153393200fd1b85306888e4085919ab27277bb85d66f9297e6d0aaa1fb47d65fc31d4b97a2fc476e2ccedd4dba0fbec778ab4 SHA512 aa89caf47c1c84366020377d47e7c51ddbc48e5b7686f244e38797c8eb88411cf57fcdc37eb669961efb41ceeac4181747f429625fd1acce7712cb9a1fea9c41
DIST gdb-7.6.tar.gz 31437633 BLAKE2B fb8cb9f0c33f360c864c5776c3dd0233ad534d376a9df8157c7bc9f1c4ccfc8698933409561700f134705c0107038d8bfa23844e512cd3a08e24925d37a1ce58 SHA512 02d9c62fa73bcb79138d14c7fc182443f0ca82d4545b4d260b67d3f0074ed75f899a657814a56727e601032a668b0ddd7b48aabd49215fc012eeea6077bca368
EBUILD crash-7.3.1.ebuild 1049 BLAKE2B 87fac2ac007629723f10c252808eb104bb3b90695cb9c847c35b169103fcc8b652619eb789a58c5232142fb56350404c0b3d2f3ff9f893ef148cdd4ba6c745f7 SHA512 6d705509862b013b9882194520691958abf108a45ff4828f98c1392b54ff1a33f51e45dd69e3aa2fb71a156d1ec9fa371186a760c1773df5e4521f403b3161da
EBUILD crash-8.0.0-r1.ebuild 1179 BLAKE2B 50d3e7be37ea782f0c02e64d6ab2274f3b1348eeeb93d72e9e8c8c2e44383038fd5b196a3478cbc5400cdea72a05b35f5da1596492949ec7e5b7ec0a03173cda SHA512 689bda50c66921eb02b0abf0788e4befe92e3b98fe527d5881ee4f8a479df9d4c67055be714d8df7b12fcb2e842f1376b33aacaf6574efc6da0c96a665c5a10b
EBUILD crash-8.0.1.ebuild 1675 BLAKE2B cafb83bb7a1fffa4bcac72bac03f6f521bc87c4753ee1b1a971d95b0cc1b8c119337968ce766afed42fccc2ffcf87df8802b72f6584890ced95488c524befc08 SHA512 805a982d7872efe4343f1571170712a69a9f5e409fbc15ca398d5eec862fdf809141276795442a3d655eee77012190c842dcb21faa864f503c8138f7bd820388
+EBUILD crash-8.0.2.ebuild 1675 BLAKE2B cafb83bb7a1fffa4bcac72bac03f6f521bc87c4753ee1b1a971d95b0cc1b8c119337968ce766afed42fccc2ffcf87df8802b72f6584890ced95488c524befc08 SHA512 805a982d7872efe4343f1571170712a69a9f5e409fbc15ca398d5eec862fdf809141276795442a3d655eee77012190c842dcb21faa864f503c8138f7bd820388
EBUILD crash-9999.ebuild 1051 BLAKE2B dc00010d83da71a08cc149a223e512689db4904a68e7dcfe0316becbb1ba4cee349f013805559a1d2326d7be77005f0dc8b953d497e5f0b8f90669992cedf07b SHA512 865d0b6d2ce1ccb6924326772607ca5f60635a31e53730a69a8f5394902a1738b29bda934e22dbdf0ab02dc17c64e91d9f24ab780e73f3fd24dff98673c1ac0f
-MISC metadata.xml 641 BLAKE2B 48301b1c1db0805eb7514f7c41f40f31535652ef57e09c227b939470259c891333bb96a288b1eee725f9b93c3640efd28df94eccf2f8996e3e85412c7b015181 SHA512 2aefb1422f38b6532a11bfb508c1c13c1ca85931ebbe47d93f2f193df5f7a4e622283425b68d898ce7921c301d8d5937c2c5c848917e5a0e3f2f13de03ab310d
+MISC metadata.xml 725 BLAKE2B aa1069adb8920a1a083071898391a4544489b3ba5d177160e2e0bf53c1bf88da930fe6da700dfca263f4bb381d01194da156b28b6e05d251bd3e9d3b45f6aa21 SHA512 6d5757aae00249a9f62c67c15ac032c9b3275068b14c02f4edeb425910ce1cfaf8a135ef49356e78ba2c836c627b576f4b45bdc8b8f8131d38175d9e22660912
diff --git a/dev-util/crash/crash-8.0.2.ebuild b/dev-util/crash/crash-8.0.2.ebuild
new file mode 100644
index 000000000000..eea9dfb346d1
--- /dev/null
+++ b/dev-util/crash/crash-8.0.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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}/${P}-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_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
diff --git a/dev-util/crash/metadata.xml b/dev-util/crash/metadata.xml
index 31bbffaa9268..733de0aacc7f 100644
--- a/dev-util/crash/metadata.xml
+++ b/dev-util/crash/metadata.xml
@@ -12,4 +12,7 @@
combines the kernel-specific nature of the traditional UNIX crash
utility with the source code level debugging capabilities of gdb.
</longdescription>
+ <upstream>
+ <remote-id type="github">crash-utility/crash</remote-id>
+ </upstream>
</pkgmetadata>