diff options
Diffstat (limited to 'sys-apps/psmisc')
-rw-r--r-- | sys-apps/psmisc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/psmisc/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/psmisc/files/digest-psmisc-21.4 | 1 | ||||
-rw-r--r-- | sys-apps/psmisc/psmisc-21.4.ebuild | 61 |
4 files changed, 74 insertions, 5 deletions
diff --git a/sys-apps/psmisc/ChangeLog b/sys-apps/psmisc/ChangeLog index 42138cf3ad05..e5d0fcd1ae2e 100644 --- a/sys-apps/psmisc/ChangeLog +++ b/sys-apps/psmisc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/psmisc # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/ChangeLog,v 1.29 2004/03/22 01:25:09 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/ChangeLog,v 1.30 2004/03/24 16:30:00 mholzer Exp $ + +*psmisc-21.4 (24 Mar 2004) + + 24 Mar 2004; Martin Holzer <mholzer@gentoo.org> psmisc-21.4.ebuild: + Version bumped. Closes 45251 21 Mar 2004; Joshua Kinard <kumba@gentoo.org> psmisc-21.2-r4.ebuild: Added gnuconfig support for mips64 hosts diff --git a/sys-apps/psmisc/Manifest b/sys-apps/psmisc/Manifest index 1679493a01df..cea1f1c139b4 100644 --- a/sys-apps/psmisc/Manifest +++ b/sys-apps/psmisc/Manifest @@ -1,9 +1,11 @@ -MD5 5c83ffec7dd6e0cad3ad43a64715e4c7 ChangeLog 4081 +MD5 f9773cb523dfb8aa7f1e2181b0836562 psmisc-21.4.ebuild 1971 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 ffb45e09433aa9365af241edd95f9578 psmisc-21.2-r3.ebuild 1168 +MD5 5c83ffec7dd6e0cad3ad43a64715e4c7 ChangeLog 4081 MD5 24bbe573ea6bb9a2476b57892724d131 psmisc-21.2-r4.ebuild 1944 +MD5 ffb45e09433aa9365af241edd95f9578 psmisc-21.2-r3.ebuild 1168 +MD5 c3fc900b7ebf1f4231b1ea416d908ce2 files/psmisc-21.2-fix-realloc.patch 368 +MD5 b27975d795b1253e70ef1133dde797d0 files/digest-psmisc-21.4 63 MD5 056073bdd75042db6a6484fab28f6210 files/digest-psmisc-21.2-r3 63 MD5 056073bdd75042db6a6484fab28f6210 files/digest-psmisc-21.2-r4 63 -MD5 c3fc900b7ebf1f4231b1ea416d908ce2 files/psmisc-21.2-fix-realloc.patch 368 -MD5 b3c372e1b1ef54a8798b8526a2aa92d1 files/psmisc-21.2-gcc33.patch 547 MD5 75e16053b4cd5c14c747413ee46dbaa1 files/psmisc-21.2-selinux.diff.bz2 10102 +MD5 b3c372e1b1ef54a8798b8526a2aa92d1 files/psmisc-21.2-gcc33.patch 547 diff --git a/sys-apps/psmisc/files/digest-psmisc-21.4 b/sys-apps/psmisc/files/digest-psmisc-21.4 new file mode 100644 index 000000000000..02473e3d27d3 --- /dev/null +++ b/sys-apps/psmisc/files/digest-psmisc-21.4 @@ -0,0 +1 @@ +MD5 8449269fdc8ae5d7d494df745e1180d3 psmisc-21.4.tar.gz 384112 diff --git a/sys-apps/psmisc/psmisc-21.4.ebuild b/sys-apps/psmisc/psmisc-21.4.ebuild new file mode 100644 index 000000000000..26d7acffc676 --- /dev/null +++ b/sys-apps/psmisc/psmisc-21.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/psmisc-21.4.ebuild,v 1.1 2004/03/24 16:30:00 mholzer Exp $ + +inherit eutils gnuconfig + +SELINUX_PATCH="psmisc-21.2-selinux.diff.bz2" + +DESCRIPTION="A set of tools that use the proc filesystem" +HOMEPAGE="http://psmisc.sourceforge.net/" +SRC_URI="mirror://sourceforge/psmisc/${P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~ppc64 ~s390" +IUSE="nls selinux" + +DEPEND=">=sys-libs/ncurses-5.2-r2 + selinux? ( sys-libs/libselinux )" + +src_unpack() { + unpack ${A} + cd ${S} + +# if use selinux; then + # Necessary selinux patch +# epatch ${FILESDIR}/${SELINUX_PATCH} +# fi +} + +src_compile() { + # Detect mips systems properly + use mips && gnuconfig_update + + local myconf="--with-gnu-ld" + use nls || myconf="${myconf} --disable-nls" + use selinux && myconf="${myconf} --enable-flask" + + econf ${myconf} || die + emake || die +} + +src_install() { + einstall || die + dosym killall /usr/bin/pidof + + # Some packages expect these to use /usr, others to use / + dodir /bin + mv ${D}/usr/bin/* ${D}/bin/ + cd ${D}/bin + for f in * ; do + dosym /bin/${f} /usr/bin/${f} + done + + # We use pidof from baselayout. + rm -f ${D}/bin/pidof + dosym ../sbin/pidof /bin/pidof + + dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README +} |