Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/procps/
Date: Tue, 09 Feb 2021 15:42:22
Message-Id: 1612885336.4d8c0c5e2f8d338a904dd99e69560892b33e9828.polynomial-c@gentoo
1 commit: 4d8c0c5e2f8d338a904dd99e69560892b33e9828
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 15:41:40 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 15:42:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8c0c5e
7
8 sys-process/procps: Bump to version 3.3.17
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-process/procps/Manifest | 1 +
14 sys-process/procps/procps-3.3.17.ebuild | 86 +++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
18 index 8314da21d26..7c9362d1b1c 100644
19 --- a/sys-process/procps/Manifest
20 +++ b/sys-process/procps/Manifest
21 @@ -1 +1,2 @@
22 DIST procps-ng-3.3.16.tar.xz 859736 BLAKE2B fbacc1edb0711cda0fecbf5f589c8cc18bd74f0430866e946f7c4612b78f383b9299840ab7fa5bbc65c581cc9484dbb37b111c493cf88f55ba247a343fd0c80d SHA512 d83da472df256b188c32082632202e7f8ebd1b161082387760876ae34d50221b3682299a2816a7d6a29afb40322743c31b87d92ca299c2944a6b55e50736d367
23 +DIST procps-ng-3.3.17.tar.xz 1008428 BLAKE2B 43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3 SHA512 59e9a5013430fd9da508c4655d58375dc32e025bb502bb28fb9a92a48e4f2838b3355e92b4648f7384b2050064d17079bf4595d889822ebb5030006bc154a1a7
24
25 diff --git a/sys-process/procps/procps-3.3.17.ebuild b/sys-process/procps/procps-3.3.17.ebuild
26 new file mode 100644
27 index 00000000000..17a604bc6f0
28 --- /dev/null
29 +++ b/sys-process/procps/procps-3.3.17.ebuild
30 @@ -0,0 +1,86 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit toolchain-funcs flag-o-matic multilib-minimal usr-ldscript
37 +
38 +DESCRIPTION="standard informational utilities and process-handling tools"
39 +HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps"
40 +SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0/8" # libprocps.so
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode"
46 +RESTRICT="!test? ( test )"
47 +
48 +COMMON_DEPEND="
49 + elogind? ( sys-auth/elogind )
50 + ncurses? ( >=sys-libs/ncurses-5.7-r7:=[unicode?] )
51 + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
52 + systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
53 +"
54 +DEPEND="${COMMON_DEPEND}
55 + elogind? ( virtual/pkgconfig )
56 + ncurses? ( virtual/pkgconfig )
57 + systemd? ( virtual/pkgconfig )
58 + test? ( dev-util/dejagnu )"
59 +RDEPEND="
60 + ${COMMON_DEPEND}
61 + kill? (
62 + !sys-apps/coreutils[kill]
63 + !sys-apps/util-linux[kill]
64 + )
65 + !<app-i18n/man-pages-de-2.12-r1
66 + !<app-i18n/man-pages-pl-0.7-r1
67 +"
68 +
69 +#S="${WORKDIR}/${PN}-ng-${PV}"
70 +
71 +PATCHES=(
72 + "${FILESDIR}"/${PN}-3.3.11-sysctl-manpage.patch # 565304
73 + "${FILESDIR}"/${PN}-3.3.12-proc-tests.patch # 583036
74 +
75 + # Upstream fixes
76 +)
77 +
78 +multilib_src_configure() {
79 + # http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
80 + append-lfs-flags #471102
81 + local myeconfargs=(
82 + $(multilib_native_use_with elogind) # No elogind multilib support
83 + $(multilib_native_use_enable kill)
84 + $(multilib_native_use_enable modern-top)
85 + $(multilib_native_use_with ncurses)
86 + $(use_enable nls)
87 + $(use_enable selinux libselinux)
88 + $(use_enable static-libs static)
89 + $(use_with systemd)
90 + $(use_enable unicode watch8bit)
91 + )
92 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
93 +}
94 +
95 +multilib_src_test() {
96 + emake check </dev/null #461302
97 +}
98 +
99 +multilib_src_install() {
100 + default
101 + dodoc "${S}"/sysctl.conf
102 +
103 + if multilib_is_native_abi ; then
104 + dodir /bin
105 + mv "${ED}"/usr/bin/ps "${ED}"/bin/ || die
106 + if use kill ; then
107 + mv "${ED}"/usr/bin/kill "${ED}"/bin/ || die
108 + fi
109 +
110 + gen_usr_ldscript -a procps
111 + fi
112 +}
113 +
114 +multilib_src_install_all() {
115 + find "${ED}" -type f -name '*.la' -delete || die
116 +}