| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
|
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
|
6 |
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/craigsmall.asc
|
|
7 |
inherit autotools flag-o-matic multilib-minimal verify-sig toolchain-funcs
|
| 7 |
8 |
|
| 8 |
9 |
DESCRIPTION="Standard informational utilities and process-handling tools"
|
| 9 |
10 |
HOMEPAGE="https://gitlab.com/procps-ng/procps"
|
| 10 |
11 |
# Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.5, the dist tarballs
|
| 11 |
12 |
# are still hosted on SF.
|
| 12 |
|
SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz"
|
|
13 |
SRC_URI="
|
|
14 |
https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz
|
|
15 |
verify-sig? ( https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz.asc )
|
|
16 |
"
|
| 13 |
17 |
S="${WORKDIR}"/${PN}-ng-${PV}
|
| 14 |
18 |
|
| 15 |
19 |
# See bug #913210
|
| ... | ... | |
| 41 |
45 |
ncurses? ( virtual/pkgconfig )
|
| 42 |
46 |
systemd? ( virtual/pkgconfig )
|
| 43 |
47 |
test? ( dev-util/dejagnu )
|
|
48 |
verify-sig? ( sec-keys/openpgp-keys-craigsmall )
|
| 44 |
49 |
"
|
| 45 |
50 |
|
| 46 |
51 |
# bug #898830
|
| ... | ... | |
| 49 |
54 |
PATCHES=(
|
| 50 |
55 |
"${FILESDIR}"/${PN}-4.0.4-xfail-pmap-test.patch
|
| 51 |
56 |
"${FILESDIR}"/${PN}-4.0.5-sysctl-manpage.patch # bug #565304
|
| 52 |
|
"${FILESDIR}"/${PN}-4.0.5-fix-tests-multilib.patch
|
| 53 |
|
"${FILESDIR}"/${PN}-4.0.5-top-legacy-config-vuln.patch # bug #958286
|
| 54 |
|
"${FILESDIR}"/${PN}-4.0.5-macos.patch
|
| 55 |
|
"${FILESDIR}"/${PN}-4.0.5-pgrep-old-linux-headers.patch # bug #911375
|
| 56 |
|
"${FILESDIR}"/${PN}-4.0.5-pidwait-half.patch # bug #959706
|
| 57 |
|
"${FILESDIR}"/${PN}-4.0.5-pgrep-pidwait.patch
|
| 58 |
|
"${FILESDIR}"/${PN}-4.0.5-sysctl-ignore_failure.patch # bug #969014
|
|
57 |
"${FILESDIR}"/${PN}-4.0.6-sysctl-ignore_failure.patch
|
|
58 |
"${FILESDIR}"/${PN}-4.0.6-pid-off-by-one.patch
|
| 59 |
59 |
)
|
| 60 |
60 |
|
| 61 |
61 |
src_prepare() {
|
| ... | ... | |
| 70 |
70 |
# bug #471102
|
| 71 |
71 |
append-lfs-flags
|
| 72 |
72 |
|
| 73 |
|
# Workaround for bug #947680, can be dropped w/ >4.0.5
|
|
73 |
# Workaround for bug 969592
|
| 74 |
74 |
if use elibc_musl ; then
|
| 75 |
75 |
append-cflags "$($(tc-getPKG_CONFIG) --cflags error-standalone)"
|
| 76 |
76 |
append-libs "$($(tc-getPKG_CONFIG) --libs error-standalone)"
|