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/psmisc/
Date: Sat, 06 Feb 2021 15:18:28
Message-Id: 1612624444.42ec29cedd3cee39a5783fc0cb7fead648b22864.polynomial-c@gentoo
1 commit: 42ec29cedd3cee39a5783fc0cb7fead648b22864
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 6 15:14:04 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 6 15:14:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ec29ce
7
8 sys-process/psmisc: Bump to version 23.4
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/psmisc/Manifest | 1 +
14 sys-process/psmisc/psmisc-23.4.ebuild | 45 +++++++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest
18 index 92748aa3b22..1230542d82c 100644
19 --- a/sys-process/psmisc/Manifest
20 +++ b/sys-process/psmisc/Manifest
21 @@ -1,3 +1,4 @@
22 DIST psmisc-23.1.tar.xz 296136 BLAKE2B e53f7b80f1106622d652dad772d4236a62a1eb58e277f078cf0392d5a0bd7963c66805e28f6d1300999f2e2e5dcb692b1ecb3f6d39cefa77ebbc87302cd730be SHA512 f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95
23 DIST psmisc-23.2.tar.xz 303820 BLAKE2B 6c63a54b91e1e31f812bc47c10937e8767fa2990bef66ee779bf44887625719e7342da05137222a6636df7a0e520c39318faba3e7a1022c54fd9f3f172ecc851 SHA512 a8d4e91443b66de1c4418fd74b5eb6dd42caddc937e75dfb35a4e49b9b35236db779e2a480c1693bcc7feaf0957b1028850134040685e88e6ff7ffcb572e20e8
24 DIST psmisc-23.3.tar.xz 311896 BLAKE2B f38360dfb037a758633a8ff25af1de70be83ae5b2f2afe856ce237ade7bd2720f7c270c5af884313177022aa70f408dfce0c39e5d847057a6fdba98e3363561c SHA512 791ffef78d87b092d653da98710b338017466a9e1e1935968b9f0194ccef8da941317aa0c39d821d46b20d95d6539ccf78e5ebb71ad1032ae62337a397180d58
25 +DIST psmisc-23.4.tar.xz 370000 BLAKE2B e762171c4d3252421a49b352fadb3e892f66862f003a313a0cc692f973364b06d2652a51d331314462784d94ad55189e74c4d7a023d5d7c917c5e5c05009f46b SHA512 b05781fdb283a6f132bd385d64437f8080e6bc0e11cd2e3e02227678682bb67b3c89edec34a6d067d77312811d072dc60b47ebb32b168c4c69bbc36df643a471
26
27 diff --git a/sys-process/psmisc/psmisc-23.4.ebuild b/sys-process/psmisc/psmisc-23.4.ebuild
28 new file mode 100644
29 index 00000000000..9724f8dfb31
30 --- /dev/null
31 +++ b/sys-process/psmisc/psmisc-23.4.ebuild
32 @@ -0,0 +1,45 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="A set of tools that use the proc filesystem"
39 +HOMEPAGE="http://psmisc.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +IUSE="ipv6 nls selinux X"
46 +
47 +RDEPEND=">=sys-libs/ncurses-5.7-r7:0=
48 + nls? ( virtual/libintl )
49 + selinux? ( sys-libs/libselinux )"
50 +DEPEND="${RDEPEND}"
51 +BDEPEND=">=sys-devel/libtool-2.2.6b
52 + nls? ( sys-devel/gettext )"
53 +
54 +DOCS=( AUTHORS ChangeLog NEWS README )
55 +
56 +src_configure() {
57 + local myeconfargs=(
58 + --disable-harden-flags
59 + $(use_enable ipv6)
60 + $(use_enable nls)
61 + $(use_enable selinux)
62 + )
63 + econf "${myeconfargs[@]}"
64 +}
65 +
66 +src_install() {
67 + default
68 +
69 + use X || rm -f "${ED}"/usr/bin/pstree.x11
70 +
71 + [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd
72 + [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1
73 +
74 + # fuser is needed by init.d scripts; use * wildcard for #458250
75 + dodir /bin
76 + mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
77 +}