summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-18 13:21:19 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-18 13:21:19 +0000
commitac4603ebcde040cbe0fd857d491cea562e58de88 (patch)
tree6b8f3c4dfd849dc7081232f24f7cfb9c9ffb9268 /sys-process/psmisc
parentStable on sparc wrt #175040 (diff)
downloadgentoo-2-ac4603ebcde040cbe0fd857d491cea562e58de88.tar.gz
gentoo-2-ac4603ebcde040cbe0fd857d491cea562e58de88.tar.bz2
gentoo-2-ac4603ebcde040cbe0fd857d491cea562e58de88.zip
Version bump.
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-process/psmisc')
-rw-r--r--sys-process/psmisc/ChangeLog8
-rw-r--r--sys-process/psmisc/files/digest-psmisc-22.43
-rw-r--r--sys-process/psmisc/files/psmisc-22.4-no-peekfd.patch17
-rw-r--r--sys-process/psmisc/psmisc-22.4.ebuild43
4 files changed, 70 insertions, 1 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog
index 65b896792f88..98fe3694ff33 100644
--- a/sys-process/psmisc/ChangeLog
+++ b/sys-process/psmisc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/psmisc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.49 2007/04/16 08:07:35 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.50 2007/04/18 13:21:19 vapier Exp $
+
+*psmisc-22.4 (18 Apr 2007)
+
+ 18 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/psmisc-22.4-no-peekfd.patch, +psmisc-22.4.ebuild:
+ Version bump.
16 Apr 2007; Markus Rothe <corsair@gentoo.org> psmisc-22.3.ebuild:
Stable on ppc64
diff --git a/sys-process/psmisc/files/digest-psmisc-22.4 b/sys-process/psmisc/files/digest-psmisc-22.4
new file mode 100644
index 000000000000..7e777c63e2ed
--- /dev/null
+++ b/sys-process/psmisc/files/digest-psmisc-22.4
@@ -0,0 +1,3 @@
+MD5 793587f2418c1bd63d7571fbe195f4f1 psmisc-22.4.tar.gz 275856
+RMD160 86188fab6633869d83f35f1ba34ca79727944963 psmisc-22.4.tar.gz 275856
+SHA256 e3d26a38703e347ed54b2643f12973bf2e26278a122d0cc3a51e5452785300ca psmisc-22.4.tar.gz 275856
diff --git a/sys-process/psmisc/files/psmisc-22.4-no-peekfd.patch b/sys-process/psmisc/files/psmisc-22.4-no-peekfd.patch
new file mode 100644
index 000000000000..70703b63308d
--- /dev/null
+++ b/sys-process/psmisc/files/psmisc-22.4-no-peekfd.patch
@@ -0,0 +1,17 @@
+peekfd only compiles/runs on x86 (because it pokes around in the processor's
+register file), plus it doesn't build on newer kernel headers, so let's just
+disable it and be done.
+
+http://sourceforge.net/tracker/index.php?func=detail&aid=1702927&group_id=15273&atid=115273
+
+--- src/Makefile.in
++++ src/Makefile.in
+@@ -33,7 +33,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ bin_PROGRAMS = fuser$(EXEEXT) killall$(EXEEXT) pstree$(EXEEXT) \
+- oldfuser$(EXEEXT) peekfd$(EXEEXT)
++ oldfuser$(EXEEXT)
+ subdir = src
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/sys-process/psmisc/psmisc-22.4.ebuild b/sys-process/psmisc/psmisc-22.4.ebuild
new file mode 100644
index 000000000000..5baf6b57b7fd
--- /dev/null
+++ b/sys-process/psmisc/psmisc-22.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.4.ebuild,v 1.1 2007/04/18 13:21:19 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="A set of tools that use the proc filesystem"
+HOMEPAGE="http://psmisc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/psmisc/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ipv6 nls selinux X"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2
+ selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-22.2-gcc2.patch
+ epatch "${FILESDIR}"/${P}-no-peekfd.patch
+}
+
+src_compile() {
+ econf \
+ --bindir=/bin \
+ $(use_enable selinux) \
+ $(use_enable nls) \
+ $(use_enable ipv6) \
+ || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+ use X || rm "${D}"/bi/pstree.x11
+}