From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E2F0139695 for ; Tue, 13 Jun 2017 07:32:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FED921C07C; Tue, 13 Jun 2017 07:32:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2627DE0BE6 for ; Tue, 13 Jun 2017 07:32:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7024341914 for ; Tue, 13 Jun 2017 07:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79C4B746A for ; Tue, 13 Jun 2017 07:32:27 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1497339133.3050939beb49bbfbbc98cf6ec001bcee5854afa2.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/psmisc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/psmisc/Manifest sys-process/psmisc/psmisc-23.0.ebuild X-VCS-Directories: sys-process/psmisc/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 3050939beb49bbfbbc98cf6ec001bcee5854afa2 X-VCS-Branch: master Date: Tue, 13 Jun 2017 07:32:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8c2ad74a-6dce-46ce-9102-ab83f09007fc X-Archives-Hash: 34d0f112df075e85843e3a1f1447d150 commit: 3050939beb49bbfbbc98cf6ec001bcee5854afa2 Author: Lars Wendler gentoo org> AuthorDate: Tue Jun 13 07:16:37 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Jun 13 07:32:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3050939b sys-process/psmisc: Bump to version 23.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-process/psmisc/Manifest | 1 + sys-process/psmisc/psmisc-23.0.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest index e25cc4f1869..810ab7740ef 100644 --- a/sys-process/psmisc/Manifest +++ b/sys-process/psmisc/Manifest @@ -1 +1,2 @@ DIST psmisc-22.21.tar.gz 457702 SHA256 97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a SHA512 766aeb45687090b88b17176c5117a603e83fe92a13c013aea72c8ee80048adf02e18c7daa52ddfb8b2135f7c9a1bcae38896cdfb8d0158728d85a446c5e0d5ae WHIRLPOOL cbd4af3e54ce01f43558184b57a24e44dfb6e05d8438bd11e2308ee62535bb93dc417b08e66603966cc5912d7fa88c29df1529995a42e2a8b7c3da663b01681f +DIST psmisc-23.0.tar.xz 295128 SHA256 7553318c5ecf021d3b98de0a200761e1a5898397832499201c1aa191a053f04c SHA512 334d625202fccd741363787c3f1d750515d63e2b5322b8ada5979144c8d841f505244c569bae9b63ce332aeace41b7caacd5354014c0301b56aca720a227f10d WHIRLPOOL 160e2d3d3eaf5482d5fee7a8966cf5c2620a4cb5551a4d9b673f2decd3e39480ca3b7e74c49cf28bb285fc1e3ae34f2de9df36aef036463ee00d458f92edfd7f diff --git a/sys-process/psmisc/psmisc-23.0.ebuild b/sys-process/psmisc/psmisc-23.0.ebuild new file mode 100644 index 00000000000..b2ccbcd6c3e --- /dev/null +++ b/sys-process/psmisc/psmisc-23.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +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 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-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=( + $(use_enable selinux) + --disable-harden-flags + $(use_enable ipv6) + $(use_enable nls) + ) + 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 +}