Diff minicoredumper-2.0.1-r1 with a minicoredumper-2.0.2
/usr/portage/sys-process/minicoredumper/minicoredumper-2.0.2.ebuild 2023-10-09 14:52:35.580368504 +0300 | ||
---|---|---|
1 |
# Copyright 2020 Gentoo Authors |
|
1 |
# Copyright 2020-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
DESCRIPTION="Core dump file processor" |
7 | 7 |
HOMEPAGE="https://linutronix.de/minicoredumper" |
... | ... | |
20 | 20 |
RDEPEND="${DEPEND}" |
21 | 21 |
BDEPEND="virtual/pkgconfig" |
22 | 22 | |
23 |
PATCHES=( "${FILESDIR}"/${PV}-readme.patch ) |
|
24 | ||
23 | 25 |
src_configure() { |
24 |
# TODO: regd daemon is disabled as there are no known consumers |
|
26 |
# regd daemon is disabled as there are no known consumers |
|
25 | 27 |
local myconf=( |
26 |
--enable-static=no |
|
27 | 28 |
--runstatedir="${EPREFIX}/run" |
28 |
--without-werror |
|
29 |
--without-minicoredumper_trigger |
|
29 |
--with-coreinject |
|
30 |
--with-libminicoredumper |
|
31 |
--with-minicoredumper |
|
32 |
--without-minicoredumper_demo |
|
30 | 33 |
--without-minicoredumper_regd |
34 |
--without-minicoredumper_trigger |
|
35 |
--without-werror |
|
31 | 36 |
MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}" |
32 | 37 |
) |
33 | 38 |
econf ${myconf[@]} |
... | ... | |
40 | 45 | |
41 | 46 |
# systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf |
42 | 47 |
insinto /usr/lib/sysctl.d |
43 |
doins "${FILESDIR}"/60-minicoredumper.conf |
|
48 |
newins "${FILESDIR}"/60-minicoredumper.conf-r1 60-minicoredumper.conf |
|
44 | 49 | |
45 |
# it installs some files/dirs we don't want |
|
50 |
# some files/dirs we don't want |
|
46 | 51 |
rmdir -v "${ED}/run" || die |
47 | 52 |
rm -rv "${ED}"/etc/{init.d,default} || die |
48 | 53 |