diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-03-08 07:16:17 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-21 02:38:23 +0000 |
commit | 7b55a97c53158dcedf8e7b8d3fd521c28089549a (patch) | |
tree | b5e3f4a5c12023bbbad0b4516fe9edb49ee489e2 /sys-process/minicoredumper | |
parent | dev-libs/libsecp256k1: fix build when CC is overridden to clang (diff) | |
download | gentoo-7b55a97c53158dcedf8e7b8d3fd521c28089549a.tar.gz gentoo-7b55a97c53158dcedf8e7b8d3fd521c28089549a.tar.bz2 gentoo-7b55a97c53158dcedf8e7b8d3fd521c28089549a.zip |
sys-process/minicoredumper: add 2.0.7
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/minicoredumper')
-rw-r--r-- | sys-process/minicoredumper/Manifest | 1 | ||||
-rw-r--r-- | sys-process/minicoredumper/minicoredumper-2.0.7.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-process/minicoredumper/Manifest b/sys-process/minicoredumper/Manifest index 66c67036523e..ad5fa1c05292 100644 --- a/sys-process/minicoredumper/Manifest +++ b/sys-process/minicoredumper/Manifest @@ -1,2 +1,3 @@ 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/minicoredumper-2.0.7.ebuild b/sys-process/minicoredumper/minicoredumper-2.0.7.ebuild new file mode 100644 index 000000000000..ccd45d42a61d --- /dev/null +++ b/sys-process/minicoredumper/minicoredumper-2.0.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 2020-2024 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" + +DEPEND=" + dev-libs/json-c:= + virtual/libelf +" + +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +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 +} |