diff options
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/Manifest.gz | bin | 9954 -> 9959 bytes | |||
-rw-r--r-- | sys-process/minicoredumper/Manifest | 4 | ||||
-rw-r--r-- | sys-process/minicoredumper/files/2.0.2-readme.patch | 26 | ||||
-rw-r--r-- | sys-process/minicoredumper/files/60-minicoredumper.conf-r1 | 3 | ||||
-rw-r--r-- | sys-process/minicoredumper/minicoredumper-2.0.2.ebuild | 55 |
5 files changed, 88 insertions, 0 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex 0347428dbb02..99d5b7aa2bcf 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/minicoredumper/Manifest b/sys-process/minicoredumper/Manifest index c175f9939528..837c2b04bd36 100644 --- a/sys-process/minicoredumper/Manifest +++ b/sys-process/minicoredumper/Manifest @@ -1,4 +1,8 @@ +AUX 2.0.2-readme.patch 861 BLAKE2B ea04ba8915f07087b6a317ecd712ca2bc7d20bce836dc5678e69125c2b043dca93ef1101d6a2cbe1c7f3234d0088c903889eef104b9673210e35dc493caceff5 SHA512 72c28409762ddae1d74f2140b4427a3be5773def42fb56c3ac3b32e095be355d7ac1b7bcf471bd1cd447f8e8e4f8da59e657bb6565f1aa809bf54244a29cee03 AUX 60-minicoredumper.conf 69 BLAKE2B 8f7de1c7c78f2a4660a49005fb882ae9486c834e9c6e0184ec7f16085408387fe5bdcb853785056364721b1402e4284e8367d4b9bf54b0676d4eb8bec5b03b83 SHA512 b605f552433485a90515604dd07d85e55b6c88ed8ccffe5efd254528322befed124281b8141d376c154f386101546d05a785d6ee232779b44d5b4e442be3b463 +AUX 60-minicoredumper.conf-r1 124 BLAKE2B 8064ed37598ebf7f58c063d02c44918aa2024da658c9247807561deb804706a362b1d1647e9b387c8de47c2dc7ef3dbec974e0afbb6648258e63efbcfe85823a SHA512 edf3cbcb50cd9b53c9927d00d20b51fa6a2d8435109a7f9b5ec7710ec4d951a140491d5cbe47e0b8a2a24a7ab56564668b4dc3927e1725b454352c13fe259d7c DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6 SHA512 1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2 +DIST minicoredumper-2.0.2.tar.xz 303764 BLAKE2B 50e57aa2928b36cbade64795a2a721345bda1d5b7c9699ff2415c207f5a286560ff1f83b2d9964c69feca8a16323208945315545441fb54f3aebad91f524583d SHA512 1a511229f0784003a52bd54219a305dad72e97f7e1897f9512e38d443c377928657df6eae7383d9127c307c4098eead19de197327a675137d2962eee3b1ba395 EBUILD minicoredumper-2.0.1-r1.ebuild 1104 BLAKE2B e6e695ba50cc8d05b02f7d73ccfd5905d89055d91e3b85efacd271a8b7d6ccd290ec5a4c03c514fbaf5596d37db68ee16686ed3a140d5fed42df31ad05148cdc SHA512 08d1d71ea9678cd9fcb9ce21f22d54a52ae4bfc342b52812beb8bc0203b4edc36794f9ead1d3beac527780785805e6ec01ceff255bf0a69ecfee6e820923ce65 +EBUILD minicoredumper-2.0.2.ebuild 1246 BLAKE2B 877c6a0a2155adf24ca4ce5d6bf32a342116ae788ba48857249b0729a592df98d5c786100d707f6e1bc56a606dd3654439d7b2db334c8895caf84b40c7727bf3 SHA512 f6dd71a00a8219826a4730c55b1feeea902af58b140da83db8cd3d794d2b5255fbcf5f7c6018b36f5f4f1d10469608d6a7f2d14563de9dfa800e219aa5210732 MISC metadata.xml 657 BLAKE2B 2e4712912b53f6fe3e371f98bfab83b92ff93849ea9c83dc571fe2b03da770e34cecd88460037acb3f04c09672489dad303ab0f4eb0f52e799fe6b9a0f3ece78 SHA512 7cc2abb2e98a34f016f20fe95f5908728bae5f283fc2d67d4460a6d4505c198e94fbddca31e8fc6c8fbf1bbfc71af296f79a43254494b4a31e7aa1b8cd7a9781 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..b7ce48ede654 --- /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 +} |