summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-11-10 03:27:49 +0000
committerTim Harder <radhermit@gentoo.org>2013-11-10 03:27:49 +0000
commit4cd16f235444a2d8b1344ca5181114ab9e6caf61 (patch)
tree1e37a0e8bafc1ccb2e628d870ccb5d2689dd331b /sys-process/psmisc
parentVersion bump. (diff)
downloadgentoo-2-4cd16f235444a2d8b1344ca5181114ab9e6caf61.tar.gz
gentoo-2-4cd16f235444a2d8b1344ca5181114ab9e6caf61.tar.bz2
gentoo-2-4cd16f235444a2d8b1344ca5181114ab9e6caf61.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-process/psmisc')
-rw-r--r--sys-process/psmisc/ChangeLog7
-rw-r--r--sys-process/psmisc/psmisc-22.21.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog
index a0e34f4ce255..d30eb5d17f34 100644
--- a/sys-process/psmisc/ChangeLog
+++ b/sys-process/psmisc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/psmisc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.154 2013/02/24 17:53:00 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.155 2013/11/10 03:27:49 radhermit Exp $
+
+*psmisc-22.21 (10 Nov 2013)
+
+ 10 Nov 2013; Tim Harder <radhermit@gentoo.org> +psmisc-22.21.ebuild:
+ Version bump.
24 Feb 2013; Agostino Sarubbo <ago@gentoo.org> psmisc-22.20.ebuild:
Stable for sh, wrt bug #456390
diff --git a/sys-process/psmisc/psmisc-22.21.ebuild b/sys-process/psmisc/psmisc-22.21.ebuild
new file mode 100644
index 000000000000..fcc161ee57c6
--- /dev/null
+++ b/sys-process/psmisc/psmisc-22.21.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.21.ebuild,v 1.1 2013/11/10 03:27:49 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="A set of tools that use the proc filesystem"
+HOMEPAGE="http://psmisc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
+IUSE="ipv6 nls selinux X"
+
+RDEPEND=">=sys-libs/ncurses-5.7-r7
+ 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() {
+ econf \
+ $(use_enable selinux) \
+ --disable-harden-flags \
+ $(use_enable ipv6) \
+ $(use_enable nls)
+}
+
+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
+}