diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-14 05:44:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-14 05:44:38 +0000 |
commit | 82acac1ae251f60c474c1f7c2df50d5c52649053 (patch) | |
tree | 5e4e85dcf78a449079b00108ecae717226b1de1f /sys-process | |
parent | add desktop entry support with patch from Josh Nichols (bug #85149) (diff) | |
download | gentoo-2-82acac1ae251f60c474c1f7c2df50d5c52649053.tar.gz gentoo-2-82acac1ae251f60c474c1f7c2df50d5c52649053.tar.bz2 gentoo-2-82acac1ae251f60c474c1f7c2df50d5c52649053.zip |
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/psmisc/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/psmisc/files/digest-psmisc-21.6 | 1 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-21.6-nonls.patch | 14 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-21.6.ebuild | 55 |
4 files changed, 77 insertions, 1 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog index 902e3d1058e1..7a6dbd41fbde 100644 --- a/sys-process/psmisc/ChangeLog +++ b/sys-process/psmisc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/psmisc # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.2 2005/03/03 19:48:12 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.3 2005/03/14 05:44:38 vapier Exp $ + +*psmisc-21.6 (14 Mar 2005) + + 14 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +files/psmisc-21.6-nonls.patch, +psmisc-21.6.ebuild: + Version bump. *psmisc-21.5 (03 Mar 2005) diff --git a/sys-process/psmisc/files/digest-psmisc-21.6 b/sys-process/psmisc/files/digest-psmisc-21.6 new file mode 100644 index 000000000000..903beece2258 --- /dev/null +++ b/sys-process/psmisc/files/digest-psmisc-21.6 @@ -0,0 +1 @@ +MD5 6994f227b38b09cb3f3bdd3bc5fc65fe psmisc-21.6.tar.gz 222454 diff --git a/sys-process/psmisc/files/psmisc-21.6-nonls.patch b/sys-process/psmisc/files/psmisc-21.6-nonls.patch new file mode 100644 index 000000000000..4d282e3423a6 --- /dev/null +++ b/sys-process/psmisc/files/psmisc-21.6-nonls.patch @@ -0,0 +1,14 @@ +--- psmisc-21.6/src/i18n.h 2004-11-09 06:25:15.000000000 -0500 ++++ psmisc-21.6.nonls/src/i18n.h 2005-03-14 00:21:53.000000000 -0500 +@@ -13,6 +13,11 @@ + #define _(String) gettext (String) + #else + #define _(String) (String) ++#define rpmatch(x) \ ++ ( (line == NULL) ? -1 : \ ++ (*line == 'y' || *line == 'Y') ? 1 : \ ++ (*line == 'n' || *line == 'N') ? 0 : \ ++ -1 ) + #endif + + #endif diff --git a/sys-process/psmisc/psmisc-21.6.ebuild b/sys-process/psmisc/psmisc-21.6.ebuild new file mode 100644 index 000000000000..8943e44f824e --- /dev/null +++ b/sys-process/psmisc/psmisc-21.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-21.6.ebuild,v 1.1 2005/03/14 05:44:38 vapier Exp $ + +inherit eutils + +SELINUX_PATCH="${P}-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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls selinux" + +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}" + if use selinux ; then + epatch "${FILESDIR}"/${SELINUX_PATCH} + libtoolize --copy --force + fi + epatch "${FILESDIR}"/${P}-nonls.patch + epunt_cxx #73632 +} + +src_compile() { + econf \ + --bindir=/bin \ + $(use_enable selinux) \ + $(use_enable nls) \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + + # Some packages expect these to use /usr, others to use / + dodir /usr/bin + cd "${D}"/bin + for f in * ; do + dosym /bin/${f} /usr/bin/${f} + done + + dodoc AUTHORS ChangeLog NEWS README +} |