mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/psmisc: Bump to version 23.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -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
|
||||
|
||||
53
sys-process/psmisc/psmisc-23.0.ebuild
Normal file
53
sys-process/psmisc/psmisc-23.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user