public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/, sys-process/minicoredumper/files/
@ 2020-01-14  3:58 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2020-01-14  3:58 UTC (permalink / raw
  To: gentoo-commits

commit:     b80df23c42a129155440203e3b98e80116399e9e
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 03:47:26 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 03:58:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80df23c

sys-process/minicoredumper: new package

utility to process coredump files, similar to systemd-coredump

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-process/minicoredumper/Manifest                |  1 +
 .../minicoredumper/files/60-minicoredumper.conf    |  1 +
 sys-process/minicoredumper/metadata.xml            | 13 ++++++
 .../minicoredumper/minicoredumper-2.0.1.ebuild     | 47 ++++++++++++++++++++++
 4 files changed, 62 insertions(+)

diff --git a/sys-process/minicoredumper/Manifest b/sys-process/minicoredumper/Manifest
new file mode 100644
index 00000000000..2654ac98b7c
--- /dev/null
+++ b/sys-process/minicoredumper/Manifest
@@ -0,0 +1 @@
+DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6 SHA512 1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2

diff --git a/sys-process/minicoredumper/files/60-minicoredumper.conf b/sys-process/minicoredumper/files/60-minicoredumper.conf
new file mode 100644
index 00000000000..e862e20e9cc
--- /dev/null
+++ b/sys-process/minicoredumper/files/60-minicoredumper.conf
@@ -0,0 +1 @@
+kernel.core_pattern = |/usr/sbin/minicoredumper %P %u %g %s %t %h %e

diff --git a/sys-process/minicoredumper/metadata.xml b/sys-process/minicoredumper/metadata.xml
new file mode 100644
index 00000000000..c514535249c
--- /dev/null
+++ b/sys-process/minicoredumper/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gyakovlev@gentoo.org</email>
+		<name>Georgy Yakovlev</name>
+	</maintainer>
+	<longdescription lang="en">
+		minicoredumper is a program that handles the creation of core dump files on Linux.
+		It can produce much smaller core dump files by making use of sparse files, compression,
+		and allowing the user to configure what parts of the process memory image should be dumped. 
+	</longdescription>
+</pkgmetadata>

diff --git a/sys-process/minicoredumper/minicoredumper-2.0.1.ebuild b/sys-process/minicoredumper/minicoredumper-2.0.1.ebuild
new file mode 100644
index 00000000000..8795d2b0b94
--- /dev/null
+++ b/sys-process/minicoredumper/minicoredumper-2.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Core dump file processor"
+HOMEPAGE="https://linutronix.de/minicoredumper"
+SRC_URI="https://linutronix.de/minicoredumper/files/${P}.tar.xz"
+
+LICENSE="BSD BSD-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-libs/json-c:=
+	virtual/libelf
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+	# TODO: regd daemon is disabled as there are no known consumers
+	local myconf=(
+		--runstatedir="${EPREFIX}/run"
+		--without-werror
+		--without-minicoredumper_trigger
+		--without-minicoredumper_regd
+		MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}"
+	)
+	econf ${myconf[@]}
+}
+
+src_install() {
+	default
+
+	keepdir /var/lib/minicoredumper
+
+	# systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf
+	insinto /usr/lib/sysctl.d
+	doins "${FILESDIR}"/60-minicoredumper.conf
+
+	# it installs some files/dirs we don't want
+	rmdir -v "${ED}/run" || die
+	rm -rv "${ED}"/etc/{init.d,default} || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/, sys-process/minicoredumper/files/
@ 2023-01-04  0:31 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2023-01-04  0:31 UTC (permalink / raw
  To: gentoo-commits

commit:     15860b1c3ff8962cd6e3b835572cfd042110aa41
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 00:29:47 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 00:30:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15860b1c

sys-process/minicoredumper: add 2.0.2

update sysctl file with recommendations.
EAPI 7>8
misc cleanup

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-process/minicoredumper/Manifest                |  1 +
 .../minicoredumper/files/2.0.2-readme.patch        | 26 ++++++++++
 .../minicoredumper/files/60-minicoredumper.conf-r1 |  3 ++
 .../minicoredumper/minicoredumper-2.0.2.ebuild     | 55 ++++++++++++++++++++++
 4 files changed, 85 insertions(+)

diff --git a/sys-process/minicoredumper/Manifest b/sys-process/minicoredumper/Manifest
index 2654ac98b7c8..66c67036523e 100644
--- a/sys-process/minicoredumper/Manifest
+++ b/sys-process/minicoredumper/Manifest
@@ -1 +1,2 @@
 DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6 SHA512 1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2
+DIST minicoredumper-2.0.2.tar.xz 303764 BLAKE2B 50e57aa2928b36cbade64795a2a721345bda1d5b7c9699ff2415c207f5a286560ff1f83b2d9964c69feca8a16323208945315545441fb54f3aebad91f524583d SHA512 1a511229f0784003a52bd54219a305dad72e97f7e1897f9512e38d443c377928657df6eae7383d9127c307c4098eead19de197327a675137d2962eee3b1ba395

diff --git a/sys-process/minicoredumper/files/2.0.2-readme.patch b/sys-process/minicoredumper/files/2.0.2-readme.patch
new file mode 100644
index 000000000000..ee012da65f74
--- /dev/null
+++ b/sys-process/minicoredumper/files/2.0.2-readme.patch
@@ -0,0 +1,26 @@
+From f5cf83a74dee47625c28f25980a857917faf1282 Mon Sep 17 00:00:00 2001
+From: John Ogness <john.ogness@linutronix.de>
+Date: Wed, 30 Nov 2022 15:23:49 +0106
+Subject: [PATCH] docs: mention setting kernel.core_pipe_limit
+
+It is recommended to set kernel.core_pipe_limit to the maximum
+value. Show that in the documentation.
+
+Signed-off-by: John Ogness <john.ogness@linutronix.de>
+---
+ README                                | 1 +
+ website/src/installation.content.html | 3 ++-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/README b/README
+index aea079d..5a768a0 100644
+--- a/README
++++ b/README
+@@ -39,6 +39,7 @@ Installation
+ 
+       $ echo '|/usr/sbin/minicoredumper %P %u %g %s %t %h %e' | \
+              sudo tee /proc/sys/kernel/core_pattern
++      $ echo 0x7fffffff | sudo tee /proc/sys/kernel/core_pipe_limit
+ 
+ Documentation
+ -------------

diff --git a/sys-process/minicoredumper/files/60-minicoredumper.conf-r1 b/sys-process/minicoredumper/files/60-minicoredumper.conf-r1
new file mode 100644
index 000000000000..c938d64df395
--- /dev/null
+++ b/sys-process/minicoredumper/files/60-minicoredumper.conf-r1
@@ -0,0 +1,3 @@
+kernel.core_pattern = |/usr/sbin/minicoredumper %P %u %g %s %t %h %e
+kernel.core_pipe_limit = 0x7fffffff
+fs.suid_dumpable=2

diff --git a/sys-process/minicoredumper/minicoredumper-2.0.2.ebuild b/sys-process/minicoredumper/minicoredumper-2.0.2.ebuild
new file mode 100644
index 000000000000..abb2db17ff6a
--- /dev/null
+++ b/sys-process/minicoredumper/minicoredumper-2.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Core dump file processor"
+HOMEPAGE="https://linutronix.de/minicoredumper"
+SRC_URI="https://linutronix.de/minicoredumper/files/${P}.tar.xz"
+
+LICENSE="BSD BSD-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-libs/json-c:=
+	virtual/libelf
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( ${FILESDIR}/${PV}-readme.patch )
+
+src_configure() {
+	# regd daemon is disabled as there are no known consumers
+	local myconf=(
+		--runstatedir="${EPREFIX}/run"
+		--with-coreinject
+		--with-libminicoredumper
+		--with-minicoredumper
+		--without-minicoredumper_demo
+		--without-minicoredumper_regd
+		--without-minicoredumper_trigger
+		--without-werror
+		MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}"
+	)
+	econf ${myconf[@]}
+}
+
+src_install() {
+	default
+
+	keepdir /var/lib/minicoredumper
+
+	# systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf
+	insinto /usr/lib/sysctl.d
+	newins "${FILESDIR}"/60-minicoredumper.conf-r1 60-minicoredumper.conf
+
+	# some files/dirs we don't want
+	rmdir -v "${ED}/run" || die
+	rm -rv "${ED}"/etc/{init.d,default} || die
+
+	find "${ED}" -name '*.la' -delete || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/, sys-process/minicoredumper/files/
@ 2024-03-21  2:41 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-03-21  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     c7b368aa2764444caedcf3b5ffa809a24e23b874
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Mar  8 05:16:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 02:38:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b368aa

sys-process/minicoredumper: drop 2.0.1-r1

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35706
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/minicoredumper/Manifest                |  1 -
 .../minicoredumper/files/60-minicoredumper.conf    |  1 -
 .../minicoredumper/minicoredumper-2.0.1-r1.ebuild  | 50 ----------------------
 3 files changed, 52 deletions(-)

diff --git a/sys-process/minicoredumper/Manifest b/sys-process/minicoredumper/Manifest
index ad5fa1c05292..9b9e3b1aae37 100644
--- a/sys-process/minicoredumper/Manifest
+++ b/sys-process/minicoredumper/Manifest
@@ -1,3 +1,2 @@
-DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6 SHA512 1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2
 DIST minicoredumper-2.0.2.tar.xz 303764 BLAKE2B 50e57aa2928b36cbade64795a2a721345bda1d5b7c9699ff2415c207f5a286560ff1f83b2d9964c69feca8a16323208945315545441fb54f3aebad91f524583d SHA512 1a511229f0784003a52bd54219a305dad72e97f7e1897f9512e38d443c377928657df6eae7383d9127c307c4098eead19de197327a675137d2962eee3b1ba395
 DIST minicoredumper-2.0.7.tar.xz 304304 BLAKE2B d59b0e9c7bca8e3638ff0f9e0281c1458f1aa0c64952999a2021b4daf8682a5400ae5f827835703f5da84650bd1784dca3b14ba52266154b7ade4adec2f8b495 SHA512 de4b6e79091f16c7e821d8d0ff22cc3d656616b444ee50cd873713963f6ff9c5b42a033f137d65e7ece72b690cbd692393eacad0ae17c00cc43e80fbc67e7308

diff --git a/sys-process/minicoredumper/files/60-minicoredumper.conf b/sys-process/minicoredumper/files/60-minicoredumper.conf
deleted file mode 100644
index e862e20e9ccc..000000000000
--- a/sys-process/minicoredumper/files/60-minicoredumper.conf
+++ /dev/null
@@ -1 +0,0 @@
-kernel.core_pattern = |/usr/sbin/minicoredumper %P %u %g %s %t %h %e

diff --git a/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild b/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild
deleted file mode 100644
index 95f848707730..000000000000
--- a/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Core dump file processor"
-HOMEPAGE="https://linutronix.de/minicoredumper"
-SRC_URI="https://linutronix.de/minicoredumper/files/${P}.tar.xz"
-
-LICENSE="BSD BSD-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE=""
-
-DEPEND="
-	dev-libs/json-c:=
-	virtual/libelf
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_configure() {
-	# TODO: regd daemon is disabled as there are no known consumers
-	local myconf=(
-		--enable-static=no
-		--runstatedir="${EPREFIX}/run"
-		--without-werror
-		--without-minicoredumper_trigger
-		--without-minicoredumper_regd
-		MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}"
-	)
-	econf ${myconf[@]}
-}
-
-src_install() {
-	default
-
-	keepdir /var/lib/minicoredumper
-
-	# systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf
-	insinto /usr/lib/sysctl.d
-	doins "${FILESDIR}"/60-minicoredumper.conf
-
-	# it installs some files/dirs we don't want
-	rmdir -v "${ED}/run" || die
-	rm -rv "${ED}"/etc/{init.d,default} || die
-
-	find "${ED}" -name '*.la' -delete || die
-}


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

end of thread, other threads:[~2024-03-21  2:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04  0:31 [gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/, sys-process/minicoredumper/files/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2024-03-21  2:41 Sam James
2020-01-14  3:58 Georgy Yakovlev

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