diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-25 10:08:09 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-25 10:09:48 +0200 |
commit | 45b609dcf96128dbc8ae427b29438854b45b8400 (patch) | |
tree | 9421e8b08f051902295302bbce8a305059492e9c /sys-process | |
parent | profiles/package.mask: mask rails 5.1 for removal (diff) | |
download | gentoo-45b609dcf96128dbc8ae427b29438854b45b8400.tar.gz gentoo-45b609dcf96128dbc8ae427b29438854b45b8400.tar.bz2 gentoo-45b609dcf96128dbc8ae427b29438854b45b8400.zip |
sys-process/psmisc: Bump to version 23.3
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/psmisc/Manifest | 1 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-23.3.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest index 7d43e8db0876..7fe0ebeb1d42 100644 --- a/sys-process/psmisc/Manifest +++ b/sys-process/psmisc/Manifest @@ -1,2 +1,3 @@ DIST psmisc-23.1.tar.xz 296136 BLAKE2B e53f7b80f1106622d652dad772d4236a62a1eb58e277f078cf0392d5a0bd7963c66805e28f6d1300999f2e2e5dcb692b1ecb3f6d39cefa77ebbc87302cd730be SHA512 f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95 DIST psmisc-23.2.tar.xz 303820 BLAKE2B 6c63a54b91e1e31f812bc47c10937e8767fa2990bef66ee779bf44887625719e7342da05137222a6636df7a0e520c39318faba3e7a1022c54fd9f3f172ecc851 SHA512 a8d4e91443b66de1c4418fd74b5eb6dd42caddc937e75dfb35a4e49b9b35236db779e2a480c1693bcc7feaf0957b1028850134040685e88e6ff7ffcb572e20e8 +DIST psmisc-23.3.tar.xz 306668 BLAKE2B 871ac8b4cbd12b17f932e0a317ea9af9f0ebe12e1adb012a8cbd19f13cb8bcfb42268f577c39307ab615c42f8fa71b355877938481b04ca092a3f8ab9c80f5a2 SHA512 84e99ecb1d8125cb0adf34a76da21f75ed8498003a27941af0c1315853a95d3a0519d58ed21cc51c32327515670e745778a7eca02125d687498ee8ab1db4d238 diff --git a/sys-process/psmisc/psmisc-23.3.ebuild b/sys-process/psmisc/psmisc-23.3.ebuild new file mode 100644 index 000000000000..f63e7ae0019d --- /dev/null +++ b/sys-process/psmisc/psmisc-23.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A set of tools that use the proc filesystem" +HOMEPAGE="http://psmisc.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="ipv6 nls selinux X" + +RDEPEND=">=sys-libs/ncurses-5.7-r7:0= + nls? ( virtual/libintl ) + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2.6b + nls? ( sys-devel/gettext )" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_configure() { + local myeconfargs=( + --disable-harden-flags + $(use_enable ipv6) + $(use_enable nls) + $(use_enable selinux) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + # peekfd is a fragile crap hack #330631 + nonfatal emake -C src peekfd || touch src/peekfd{.o,} + emake +} + +src_install() { + default + + use X || rm -f "${ED}"/usr/bin/pstree.x11 + + [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd + [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 + + # fuser is needed by init.d scripts; use * wildcard for #458250 + dodir /bin + mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die +} |