public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/
@ 2020-02-16 14:27 Yixun Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Yixun Lan @ 2020-02-16 14:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2677b873e57aceaf816d5ba7ec8d7cbbe3d2411d
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 14:26:07 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 14:27:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2677b873

dev-util/crash: drop old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/crash/Manifest                            |  1 -
 dev-util/crash/crash-7.2.5.ebuild                  | 22 ----------------------
 dev-util/crash/files/crash-5.1.1-install-fix.patch | 12 ------------
 3 files changed, 35 deletions(-)

diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index 46d40545c14..bea69854cdc 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -1,3 +1,2 @@
-DIST crash-7.2.5.tar.gz 32214678 BLAKE2B 1d19bdb0ead372b4df6f4715f9fc26218d7060ad2a3f774cdf6069d6fe7a85a24968766e6eab19042c1208716e871318bbc44be04012b7ef8527a7f536edd5d9 SHA512 6d07c4aa2bccafafe66567e2022250208ffdd5f0e64aad1aefb4c8d7c10df49464ad772e2ffe0d1067f324dd351e9186841d501680a181c79d7b9b58464d6987
 DIST crash-7.2.7.tar.gz 32249495 BLAKE2B 410f851afc8b4f5a4685985b58236efb6f88ae82465dbe553c8f2133cc5ca14013dc8e0efd242b3fb1b8fdd6cf0de85fabb5308252306e8c9831f9f9eb6ad56e SHA512 14e0c5842b752faa7f2c5667517c9cb214a172cea5b779df5cd38feec6472eb6fd6508346c1c4eec02d4565fd6dade270e851ebf571e778023f32ac7f82836b7
 DIST crash-7.2.8.tar.gz 32253097 BLAKE2B 26a8a07749cb62947053992ba761b541ba5d06f0f3bf67312d8228c9d851f51edf1201e732574f7f2f2768d6087324b8dd1f843ea47916bd9f95e514df967589 SHA512 3269760a50b49f25af0e1c43d60432e603036793aa542f8ccfb0b8019376da45afa7c053d3860ae2130b6471f3ac72cff78f1096e9ffa8c6f1d34afb52208e70

diff --git a/dev-util/crash/crash-7.2.5.ebuild b/dev-util/crash/crash-7.2.5.ebuild
deleted file mode 100644
index 1fc81e1cf58..00000000000
--- a/dev-util/crash/crash-7.2.5.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils
-
-DESCRIPTION="Red Hat crash utility; used for analyzing kernel core dumps"
-HOMEPAGE="https://people.redhat.com/anderson/"
-SRC_URI="https://people.redhat.com/anderson/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="-* ~alpha ~amd64 ~arm ~ia64 ~ppc64 ~s390 ~x86"
-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=(
-	"${FILESDIR}/${PN}-5.1.1-install-fix.patch"
-)

diff --git a/dev-util/crash/files/crash-5.1.1-install-fix.patch b/dev-util/crash/files/crash-5.1.1-install-fix.patch
deleted file mode 100644
index 98b86759361..00000000000
--- a/dev-util/crash/files/crash-5.1.1-install-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur crash-5.1.1/Makefile crash-5.1.1-fixes//Makefile
---- crash-5.1.1/Makefile	2010-12-23 12:59:44.000000000 -0600
-+++ crash-5.1.1-fixes//Makefile	2011-01-26 13:17:11.000000000 -0600
-@@ -322,7 +322,7 @@
- 	cc -c ${CRASH_CFLAGS} build_data.c ${WARNING_OPTIONS} ${WARNING_ERROR}
- 
- install:
--	/usr/bin/install ${PROGRAM} ${INSTALLDIR}
-+	/usr/bin/install -D ${PROGRAM} ${INSTALLDIR}/${PROGRAM}
- #	/usr/bin/install ${PROGRAM}d ${INSTALLDIR}
- 
- unconfig: make_configure


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/
@ 2024-05-09  3:05 Yixun Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Yixun Lan @ 2024-05-09  3:05 UTC (permalink / raw
  To: gentoo-commits

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

dev-util/crash: drop 8.0.3-r1

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

 dev-util/crash/Manifest                        |  1 -
 dev-util/crash/crash-8.0.3-r1.ebuild           | 74 --------------------------
 dev-util/crash/files/crash-8.0.3-strlcpy.patch | 26 ---------
 3 files changed, 101 deletions(-)

diff --git a/dev-util/crash/Manifest b/dev-util/crash/Manifest
index f687d1798ab0..9b6aa7c2fdcf 100644
--- a/dev-util/crash/Manifest
+++ b/dev-util/crash/Manifest
@@ -1,5 +1,4 @@
 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.3-r1.ebuild b/dev-util/crash/crash-8.0.3-r1.ebuild
deleted file mode 100644
index a7ffd58cb9a5..000000000000
--- a/dev-util/crash/crash-8.0.3-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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}/${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"
-
-PATCHES=(
-	# bug 911929, patch already in upstream, drop in next version bump
-	"${FILESDIR}/${P}-strlcpy.patch"
-)
-
-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}"
-}

diff --git a/dev-util/crash/files/crash-8.0.3-strlcpy.patch b/dev-util/crash/files/crash-8.0.3-strlcpy.patch
deleted file mode 100644
index 0701f99470a8..000000000000
--- a/dev-util/crash/files/crash-8.0.3-strlcpy.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/defs.h b/defs.h
-index 8f7d1fa..26afe23 100644
---- a/defs.h
-+++ b/defs.h
-@@ -5553,7 +5553,7 @@ uint32_t swap32(uint32_t, int);
- uint64_t swap64(uint64_t, int);
- ulong *get_cpumask_buf(void);
- int make_cpumask(char *, ulong *, int, int *);
--size_t strlcpy(char *, char *, size_t);
-+size_t strlcpy(char *, const char *, size_t) __attribute__ ((__weak__));
- struct rb_node *rb_first(struct rb_root *);
- struct rb_node *rb_parent(struct rb_node *, struct rb_node *);
- struct rb_node *rb_right(struct rb_node *, struct rb_node *);
-diff --git a/tools.c b/tools.c
-index 392a797..0f2db10 100644
---- a/tools.c
-+++ b/tools.c
-@@ -6795,7 +6795,7 @@ make_cpumask_error:
-  * always be NULL-terminated.
-  */
- size_t 
--strlcpy(char *dest, char *src, size_t size)
-+strlcpy(char *dest, const char *src, size_t size)
- {
- 	size_t ret = strlen(src);
- 


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/
@ 2023-08-09 23:09 Yixun Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Yixun Lan @ 2023-08-09 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     82b92c8a4bdbe7a31407a436f19a16d3470f229f
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 22:25:39 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 23:09:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b92c8a

dev-util/crash: fix strlcpy() issue for glibc-2.38

Closes: https://bugs.gentoo.org/911929
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/crash/crash-8.0.3-r1.ebuild           | 67 ++++++++++++++++++++++++++
 dev-util/crash/files/crash-8.0.3-strlcpy.patch | 26 ++++++++++
 2 files changed, 93 insertions(+)

diff --git a/dev-util/crash/crash-8.0.3-r1.ebuild b/dev-util/crash/crash-8.0.3-r1.ebuild
new file mode 100644
index 000000000000..e2c69feeeb4e
--- /dev/null
+++ b/dev-util/crash/crash-8.0.3-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 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"
+
+PATCHES=(
+	# bug 911929, patch already in upstream, drop in next version bump
+	"${FILESDIR}/${P}-strlcpy.patch"
+)
+
+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/files/crash-8.0.3-strlcpy.patch b/dev-util/crash/files/crash-8.0.3-strlcpy.patch
new file mode 100644
index 000000000000..0701f99470a8
--- /dev/null
+++ b/dev-util/crash/files/crash-8.0.3-strlcpy.patch
@@ -0,0 +1,26 @@
+diff --git a/defs.h b/defs.h
+index 8f7d1fa..26afe23 100644
+--- a/defs.h
++++ b/defs.h
+@@ -5553,7 +5553,7 @@ uint32_t swap32(uint32_t, int);
+ uint64_t swap64(uint64_t, int);
+ ulong *get_cpumask_buf(void);
+ int make_cpumask(char *, ulong *, int, int *);
+-size_t strlcpy(char *, char *, size_t);
++size_t strlcpy(char *, const char *, size_t) __attribute__ ((__weak__));
+ struct rb_node *rb_first(struct rb_root *);
+ struct rb_node *rb_parent(struct rb_node *, struct rb_node *);
+ struct rb_node *rb_right(struct rb_node *, struct rb_node *);
+diff --git a/tools.c b/tools.c
+index 392a797..0f2db10 100644
+--- a/tools.c
++++ b/tools.c
+@@ -6795,7 +6795,7 @@ make_cpumask_error:
+  * always be NULL-terminated.
+  */
+ size_t 
+-strlcpy(char *dest, char *src, size_t size)
++strlcpy(char *dest, const char *src, size_t size)
+ {
+ 	size_t ret = strlen(src);
+ 


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/
@ 2016-04-21  4:51 Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2016-04-21  4:51 UTC (permalink / raw
  To: gentoo-commits

commit:     ccf5020ee562d493f8b3ff77c498ecf9e8311f5d
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 04:51:11 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 04:51:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf5020e

dev-util/crash: fix build w/newer glibc #580244

 dev-util/crash/crash-7.1.4.ebuild                |  1 +
 dev-util/crash/files/crash-7.1.4-sysmacros.patch | 27 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-util/crash/crash-7.1.4.ebuild b/dev-util/crash/crash-7.1.4.ebuild
index 91e7fb0..6583d7e 100644
--- a/dev-util/crash/crash-7.1.4.ebuild
+++ b/dev-util/crash/crash-7.1.4.ebuild
@@ -16,4 +16,5 @@ IUSE=""
 
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-5.1.1-install-fix.patch
+	epatch "${FILESDIR}"/${PN}-7.1.4-sysmacros.patch #580244
 }

diff --git a/dev-util/crash/files/crash-7.1.4-sysmacros.patch b/dev-util/crash/files/crash-7.1.4-sysmacros.patch
new file mode 100644
index 0000000..6e6d40c
--- /dev/null
+++ b/dev-util/crash/files/crash-7.1.4-sysmacros.patch
@@ -0,0 +1,27 @@
+From f22dabb45448e5a8d2df85703fd72b0f83fe7eda Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 21 Apr 2016 00:44:04 -0400
+Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev
+
+These funcs are defined in the sys/sysmacros.h header, not sys/types.h.
+Linux C libraries are updating to drop the implicit include, so we need
+to include it explicitly.
+---
+ filesys.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/filesys.c b/filesys.c
+index 2ed25f4..9b59998 100644
+--- a/filesys.c
++++ b/filesys.c
+@@ -16,6 +16,7 @@
+  */
+ 
+ #include "defs.h"
++#include <sys/sysmacros.h>
+ #include <linux/major.h>
+ #include <regex.h>
+ #include <sys/utsname.h>
+-- 
+2.7.4
+


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-09  3:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-16 14:27 [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/ Yixun Lan
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09  3:05 Yixun Lan
2023-08-09 23:09 Yixun Lan
2016-04-21  4:51 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox