summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-12-21 10:24:09 +0800
committerYixun Lan <dlan@gentoo.org>2021-12-21 10:25:54 +0800
commit33db295d6c95e4be7e5e90152e33d8800aafeb05 (patch)
treee4b5809d33266d81ce427a6cf28540f0381ff1f7 /dev-util
parentMove {app-emulation -> app-containers}/lxc (diff)
downloadgentoo-33db295d6c95e4be7e5e90152e33d8800aafeb05.tar.gz
gentoo-33db295d6c95e4be7e5e90152e33d8800aafeb05.tar.bz2
gentoo-33db295d6c95e4be7e5e90152e33d8800aafeb05.zip
dev-util/crash: version bump 7.3.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/crash/Manifest1
-rw-r--r--dev-util/crash/crash-7.3.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index 9e18d8722fcc..9a271c6144a6 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -1,3 +1,4 @@
DIST crash-7.2.9.tar.gz 1324947 BLAKE2B dac5485742119fce1cdcab37a87a2a417e408108a73bffdd6fa215587e4c5dec29508d5f11285dbe2a21cd8365cee437296168b85f2f43dc743461061fd0a26e SHA512 57b7b7780ad71bad09d962bfb2d5ad729dd167d9aaffd86f7b5467c98f52e8cb2c6ebb317bf1ad285dcb78ffa300b5dd733c63efd7aaa4ef03ddfe076c269984
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 gdb-7.6.tar.gz 31437633 BLAKE2B fb8cb9f0c33f360c864c5776c3dd0233ad534d376a9df8157c7bc9f1c4ccfc8698933409561700f134705c0107038d8bfa23844e512cd3a08e24925d37a1ce58 SHA512 02d9c62fa73bcb79138d14c7fc182443f0ca82d4545b4d260b67d3f0074ed75f899a657814a56727e601032a668b0ddd7b48aabd49215fc012eeea6077bca368
diff --git a/dev-util/crash/crash-7.3.1.ebuild b/dev-util/crash/crash-7.3.1.ebuild
new file mode 100644
index 000000000000..24b0d3f6115c
--- /dev/null
+++ b/dev-util/crash/crash-7.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 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
+ mirror://gnu/gdb/gdb-7.6.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"
+
+src_prepare() {
+ sed -i -e "s|ar -rs|\${AR} -rs|g" Makefile || die
+ ln -s "${DISTDIR}"/gdb-7.6.tar.gz . || die
+ default
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}