mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/minicoredumper: add 2.0.8
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/964 Merges: https://codeberg.org/gentoo/gentoo/pulls/964 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
dba3468496
commit
b2c33e0a3a
@@ -1 +1,3 @@
|
||||
DIST minicoredumper-2.0.7.tar.xz 304304 BLAKE2B d59b0e9c7bca8e3638ff0f9e0281c1458f1aa0c64952999a2021b4daf8682a5400ae5f827835703f5da84650bd1784dca3b14ba52266154b7ade4adec2f8b495 SHA512 de4b6e79091f16c7e821d8d0ff22cc3d656616b444ee50cd873713963f6ff9c5b42a033f137d65e7ece72b690cbd692393eacad0ae17c00cc43e80fbc67e7308
|
||||
DIST minicoredumper-2.0.8.tar.xz 309592 BLAKE2B c33ad586526cf60b7af0a3fca24226922074be68e11e2b5ec1aaa964ef28db52a769fff6c10d1ba6124ce169d005fd51b9e23e6a24d560409420bf69fba74e32 SHA512 0a6fdba39b74846ce8834f184683bca372f553b06e6fc33f22110b7b88fe12d99f17e4e6040f48215cb36bc97c6afc6ecae3e3b299cfbc0c9b591662584d7ae4
|
||||
DIST minicoredumper-2.0.8.tar.xz.asc 265 BLAKE2B 379b70b19d3e53c20b146f648b9ee22cc7ff6b9b2f85c665649b0aceb473214b8eff73de4796b4035241134a738e7e8c5191a5c9ae670c7229016f92b8676af3 SHA512 8496c7dfc1a90dbdd25eb2257cb3bbe61a06399fc281092fbb955fd62b76c776a2e15a270614c0afec7a93bf53841812a9602ca3d68e9c74ef28298123ab2412
|
||||
|
||||
64
sys-process/minicoredumper/minicoredumper-2.0.8.ebuild
Normal file
64
sys-process/minicoredumper/minicoredumper-2.0.8.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
inherit verify-sig
|
||||
|
||||
DESCRIPTION="Core dump file processor"
|
||||
HOMEPAGE="https://linutronix.de/minicoredumper"
|
||||
SRC_URI="
|
||||
https://linutronix.de/minicoredumper/files/${P}.tar.xz
|
||||
verify-sig? ( https://linutronix.de/minicoredumper/files/${P}.tar.xz.asc )
|
||||
"
|
||||
|
||||
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
|
||||
verify-sig? (
|
||||
sec-keys/openpgp-keys-johnogness
|
||||
)
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/johnogness.asc
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user