summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-11 21:49:26 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-11 21:49:26 +0000
commit493addf4408acd8503b17d4d50a537721e440a75 (patch)
tree4970cc633ed10ad451012ee0b685343574005729 /sys-process
parentalpha/ia64/x86 stable wrt #184815 (diff)
downloadgentoo-2-493addf4408acd8503b17d4d50a537721e440a75.tar.gz
gentoo-2-493addf4408acd8503b17d4d50a537721e440a75.tar.bz2
gentoo-2-493addf4408acd8503b17d4d50a537721e440a75.zip
Keep all binaries in /usr/bin except for fuser #184969 by spiritus.
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/psmisc/ChangeLog7
-rw-r--r--sys-process/psmisc/files/digest-psmisc-22.5-r13
-rw-r--r--sys-process/psmisc/psmisc-22.5-r1.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog
index 70bd6a2bc9f2..65cd2d29cce0 100644
--- a/sys-process/psmisc/ChangeLog
+++ b/sys-process/psmisc/ChangeLog
@@ -1,6 +1,11 @@
# 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.60 2007/07/04 21:27:43 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.61 2007/07/11 21:49:26 vapier Exp $
+
+*psmisc-22.5-r1 (11 Jul 2007)
+
+ 11 Jul 2007; Mike Frysinger <vapier@gentoo.org> +psmisc-22.5-r1.ebuild:
+ Keep all binaries in /usr/bin except for fuser #184969 by spiritus.
04 Jul 2007; Roy Marples <uberlord@gentoo.org> psmisc-22.5.ebuild:
Don't install pstree.x11 unless USE X, #184226 thanks to Patrick van Staveren.
diff --git a/sys-process/psmisc/files/digest-psmisc-22.5-r1 b/sys-process/psmisc/files/digest-psmisc-22.5-r1
new file mode 100644
index 000000000000..43c6bd8484d3
--- /dev/null
+++ b/sys-process/psmisc/files/digest-psmisc-22.5-r1
@@ -0,0 +1,3 @@
+MD5 09c20fd899c2c1bd2dce02a510f99fab psmisc-22.5.tar.gz 277404
+RMD160 315e02a601b8729696244379038885365978ebbe psmisc-22.5.tar.gz 277404
+SHA256 f1cfe0b3b85cf06ef67d4648b59b896abce1a3f2a810d694567aff7e33273c02 psmisc-22.5.tar.gz 277404
diff --git a/sys-process/psmisc/psmisc-22.5-r1.ebuild b/sys-process/psmisc/psmisc-22.5-r1.ebuild
new file mode 100644
index 000000000000..e958db8c5910
--- /dev/null
+++ b/sys-process/psmisc/psmisc-22.5-r1.ebuild
@@ -0,0 +1,47 @@
+# 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.5-r1.ebuild,v 1.1 2007/07/11 21:49:26 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}-user-header.patch
+}
+
+src_compile() {
+ econf \
+ $(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}"/usr/bin/pstree.x11
+ # fuser is needed by init.d scripts
+ dodir /bin
+ mv "${D}"/usr/bin/fuser "${D}"/bin/ || die
+ # easier to do this than forcing regen of autotools
+ [[ -e ${D}/usr/bin/peekfd ]] || rm -f "${D}"/usr/share/man/man1/peekfd.1
+}