diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 16:24:36 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 16:24:36 +0000 |
commit | c626f927cc9356e20f566169ccf7c5bbb01f49a3 (patch) | |
tree | f9cb26cbf18289c7251ee7a6684724d042663fbf /sys-process | |
parent | Moved sys-apps/watchpid to sys-process/watchpid (diff) | |
download | historical-c626f927cc9356e20f566169ccf7c5bbb01f49a3.tar.gz historical-c626f927cc9356e20f566169ccf7c5bbb01f49a3.tar.bz2 historical-c626f927cc9356e20f566169ccf7c5bbb01f49a3.zip |
Moved from sys-apps/psmisc to sys-process/psmisc.
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/psmisc/ChangeLog | 183 | ||||
-rw-r--r-- | sys-process/psmisc/Manifest | 19 | ||||
-rw-r--r-- | sys-process/psmisc/files/digest-psmisc-21.4 | 1 | ||||
-rw-r--r-- | sys-process/psmisc/files/digest-psmisc-21.5 | 1 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-21.4-no-nls.patch | 46 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-21.4-selinux.diff.bz2 | bin | 0 -> 7720 bytes | |||
-rw-r--r-- | sys-process/psmisc/files/psmisc-21.5-selinux.diff.bz2 | bin | 0 -> 7783 bytes | |||
-rw-r--r-- | sys-process/psmisc/metadata.xml | 5 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-21.4.ebuild | 61 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-21.5.ebuild | 54 |
10 files changed, 370 insertions, 0 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog new file mode 100644 index 000000000000..1cc58e329b16 --- /dev/null +++ b/sys-process/psmisc/ChangeLog @@ -0,0 +1,183 @@ +# ChangeLog for sys-apps/psmisc +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.1 2005/03/03 16:24:36 ciaranm Exp $ + +*psmisc-21.5 (03 Mar 2005) + + 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +files/psmisc-21.4-no-nls.patch, +files/psmisc-21.4-selinux.diff.bz2, + +files/psmisc-21.5-selinux.diff.bz2, +psmisc-21.4.ebuild, + +psmisc-21.5.ebuild: + Moved from sys-apps/psmisc to sys-process/psmisc. + + 07 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> psmisc-21.5.ebuild: + Stable on sparc + + 04 Jan 2005; Chris PeBenito <pebenito@gentoo.org> + +files/psmisc-21.5-selinux.diff.bz2, psmisc-21.5.ebuild: + Add missing SELinux patch for 21.5. + +*psmisc-21.5 (01 Jan 2005) + + 01 Jan 2005; Mike Frysinger <vapier@gentoo.org> +psmisc-21.5.ebuild: + Version bump. + + 01 Jan 2005; Mike Frysinger <vapier@gentoo.org> + -files/psmisc-21.4-no-nls-selinux.patch, files/psmisc-21.4-no-nls.patch, + files/psmisc-21.4-selinux.diff.bz2, psmisc-21.4.ebuild: + Clean up the patches #76230 by Milus János. + + 07 Dec 2004; Mike Frysinger <vapier@gentoo.org> psmisc-21.4.ebuild: + Remove C++ requirement #73632. + + 22 Oct 2004; Chris PeBenito <pebenito@gentoo.org> psmisc-21.4.ebuild: + Add libtool to selinux dep to fix #59196. + + 27 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> psmisc-21.4.ebuild: + Marked stable on amd64. + + 25 Sep 2004; Joshua Kinard <kumba@gentoo.org> psmisc-21.4.ebuild: + Marked stable on mips. + + 09 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> psmisc-21.4.ebuild: + Stable on sparc + + 25 Jun 2004; <solar@gentoo.org> psmisc-21.4.ebuild, + files/psmisc-21.4-no-nls-selinux.patch: + no-nls patch was failing with USE='selinux -nls', added offset patch from bug + #55115 + + 15 Jun 2004; <solar@gentoo.org> psmisc-21.2-r4.ebuild, psmisc-21.4.ebuild, + files/psmisc-21.2-no-nls.patch, files/psmisc-21.4-no-nls.patch: + added patch to allow the disabling of nls for psmisc + + 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> psmisc-21.4.ebuild: + Stable on alpha. + + 27 Apr 2004; Michael McCabe <randy@gentoo.org> psmisc-21.4.ebuild: + Marked stable on s390 + + 09 Apr 2004; Travis Tilley <lv@gentoo.org> psmisc-21.2-r4.ebuild: + stable on amd64 + + 29 Mar 2004; Jon Portnoy <avenj@gentoo.org> psmisc-21.4.ebuild : + Removed RESTRICT=nomirror. + + 25 Mar 2004; Martin Holzer <mholzer@gentoo.org> psmisc-21.4.ebuild, + files/psmisc-21.4-selinux.diff.bz2: + adding selinux patch. + +*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 + + 20 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> psmisc-21.2-r3.ebuild, + psmisc-21.2-r4.ebuild: + inherit eutils for epatch + + 07 Mar 2004; Joshua Kinard <kumba@gentoo.org> psmisc-21.2-r3.ebuild, + psmisc-21.2-r4.ebuild: + Marked stable on mips, copyright header fixes. + + 02 Mar 2004; Brian Jackson <iggy@gentoo.org> psmisc-21.2-r4.ebuild: + adding initial s390 support + + 03 Feb 2004; <gustavoz@gentoo.org> psmisc-21.2-r4.ebuild: + marked stable on sparc + + 02 Feb 2004; Chris PeBenito <pebenito@gentoo.org> psmisc-21.2-r4.ebuild: + Mark x86 stable. + + 03 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> psmisc-21.2-r4.ebuild: + set ppc in keywords + +*psmisc-21.2-r4 (28 Oct 2003) + + 03 Feb 2003; Guy Martin <gmsoft@gentoo.org> psmisc-21.2-r4.ebuild : + Marked stable on hppa. + + 28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> psmisc-21.2-r3.ebuild, + psmisc-21.2-r4.ebuild, files/psmisc-21.2-selinux.diff.bz2: + Switch SELinux patch from old API to new API. + + 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org> : + Killall segfault if an command is longer than 128 bytes, as the realloc call + is not done in such an way to update the pointer that is used, thanks to bug + (bug #28234) submitted by Grant McDorman <grant.mcdorman@sympatico.ca>. + +*psmisc-21.2-r3 (04 Aug 2003) + + 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org> psmisc-21.2-r3.ebuild: + We use pidof from baselayout, bug #21191 + + 24 Jun 2003; Aron Griffis <agriffis@gentoo.org> psmisc-21.2-r2.ebuild: + Mark stable on alpha + +*psmisc-21.2-r2 (19 May 2003) + + 06 Jul 2003; Guy Martin <gmsoft@gentoo.org> psmisc-21.2-r2.ebuild : + Marked stable on hppa. + + 22 Jun 2003; Joshua Kinard <kumba@gentoo.org> psmisc-21.2-r2.ebuild: + Changed ~sparc & ~mips to sparc & mips + + 19 May 2003; Martin Schlemmer <azarah@gentoo.org> psmisc-21.2-r2.ebuild, + files/psmisc-21.2-gcc33.patch: + Fix gcc-3.3 compile issues, bug #21212. + +*psmisc-21.2-r1 (20 Mar 2003) + + 25 Mar 2003; Joshua Brindle <method@gentoo.org> psmisc-21.2-r1.ebuild: + added selinux support, thanks sindian + + 20 Mar 2003; Seemant Kulleen <seemant@gentoo.org> psmisc-19-r3.ebuild, + psmisc-19-r3.ebuild, psmisc-21.2-r1.ebuild: + removed pic cruft + +*psmisc-21.2 (19 Nov 2002) + + 20 Mar 2003; Seemant Kulleen <seemant@gentoo.org> psmisc-19-r3.ebuild, + psmisc-19-r3.ebuild, psmisc-21.2.ebuild: + removed pic cruft + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> psmisc-21.2.ebuild : + Marked as stable for mips. + + 20 Feb 2003; Zach Welch <zwelch@gentoo.org> psmisc-21.2.ebuild : + Added arm to keywords. + + 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> psmisc-21.2.ebuild : + Added hppa to keywords. + + 01 Jan 2003; Mike Frysinger <vapier@gentoo.org> : + Unmasked KEYWORDS for all arch's + + 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump, enhancements, change to use psmisc source + +*psmisc-19-r3 (1 Feb 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> psmisc-19-r3.ebuild : + Marked as stable for mips. + + 09 Feb 2003; Seemant Kulleen <seemant@gentoo.org> psmisc-19-r3.ebuild : + + Sed delimiters are now : instead of /, closing bug #15006 by Blu3 + <david+gentoo.org@blue-labs.org> + + 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Removed bootcd USE flag + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> psmisc-19-r3.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest new file mode 100644 index 000000000000..e2660ece3b14 --- /dev/null +++ b/sys-process/psmisc/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 5870a7af95a7600520d66f26ae4d8f3d ChangeLog 6189 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 d37acee1925ec2a9e7b9850b37e527a2 psmisc-21.5.ebuild 1187 +MD5 ab88999e6ea9d394da1d8be8f541e64f psmisc-21.4.ebuild 1362 +MD5 b94603b23b078474476ccd9da16cb675 files/digest-psmisc-21.5 63 +MD5 277920d9195611033bc0e32e98474466 files/psmisc-21.5-selinux.diff.bz2 7783 +MD5 b27975d795b1253e70ef1133dde797d0 files/digest-psmisc-21.4 63 +MD5 429eeb81b4aaa5515cfa08f533e5123d files/psmisc-21.4-no-nls.patch 1360 +MD5 f8a6de9ef42d405c6ac24373df5c5f74 files/psmisc-21.4-selinux.diff.bz2 7720 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFCB6e4KRy60XGEcJIRArYZAKCjVJkFQXn3Wah5NOvhKJWGDs6XtACeNHnF +Gxi1QZQ5kOEOeLziO0aMu74= +=kni3 +-----END PGP SIGNATURE----- diff --git a/sys-process/psmisc/files/digest-psmisc-21.4 b/sys-process/psmisc/files/digest-psmisc-21.4 new file mode 100644 index 000000000000..02473e3d27d3 --- /dev/null +++ b/sys-process/psmisc/files/digest-psmisc-21.4 @@ -0,0 +1 @@ +MD5 8449269fdc8ae5d7d494df745e1180d3 psmisc-21.4.tar.gz 384112 diff --git a/sys-process/psmisc/files/digest-psmisc-21.5 b/sys-process/psmisc/files/digest-psmisc-21.5 new file mode 100644 index 000000000000..18d588766026 --- /dev/null +++ b/sys-process/psmisc/files/digest-psmisc-21.5 @@ -0,0 +1 @@ +MD5 c62b09ad5129e2f7e4611019d1d3d4b8 psmisc-21.5.tar.gz 382603 diff --git a/sys-process/psmisc/files/psmisc-21.4-no-nls.patch b/sys-process/psmisc/files/psmisc-21.4-no-nls.patch new file mode 100644 index 000000000000..4832e73aae18 --- /dev/null +++ b/sys-process/psmisc/files/psmisc-21.4-no-nls.patch @@ -0,0 +1,46 @@ +diff -ur psmisc-21.4.orig/src/fuser.c psmisc-21.4/src/fuser.c +--- psmisc-21.4.orig/src/fuser.c 2005-01-01 16:10:44.601397328 -0500 ++++ psmisc-21.4/src/fuser.c 2005-01-01 16:11:22.884577400 -0500 +@@ -31,3 +31,7 @@ ++#ifdef USE_NLS + #include <libintl.h> + #include <locale.h> + #define _(String) gettext (String) ++#else ++#define _(String) (String) ++#endif +@@ -1006,4 +1010,6 @@ ++#ifdef USE_NLS + /* Setup the i18n */ + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif +diff -ur psmisc-21.4.orig/src/killall.c psmisc-21.4/src/killall.c +--- psmisc-21.4.orig/src/killall.c 2005-01-01 16:10:44.602397176 -0500 ++++ psmisc-21.4/src/killall.c 2005-01-01 16:11:54.860716288 -0500 +@@ -25,3 +25,7 @@ ++#ifdef USE_NLS + #include <libintl.h> + #include <locale.h> + #define _(String) gettext (String) ++#else ++#define _(String) (String) ++#endif +@@ -466,4 +470,6 @@ ++#ifdef USE_NLS + /* Setup the i18n */ + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif +diff -ur psmisc-21.4.orig/src/pstree.c psmisc-21.4/src/pstree.c +--- psmisc-21.4.orig/src/pstree.c 2005-01-01 16:10:44.602397176 -0500 ++++ psmisc-21.4/src/pstree.c 2005-01-01 16:12:14.659706384 -0500 +@@ -22,2 +22,6 @@ ++#ifdef USE_NLS + #include <libintl.h> + #define _(String) gettext (String) ++#else ++#define _(String) (String) ++#endif diff --git a/sys-process/psmisc/files/psmisc-21.4-selinux.diff.bz2 b/sys-process/psmisc/files/psmisc-21.4-selinux.diff.bz2 Binary files differnew file mode 100644 index 000000000000..78b287f55d2d --- /dev/null +++ b/sys-process/psmisc/files/psmisc-21.4-selinux.diff.bz2 diff --git a/sys-process/psmisc/files/psmisc-21.5-selinux.diff.bz2 b/sys-process/psmisc/files/psmisc-21.5-selinux.diff.bz2 Binary files differnew file mode 100644 index 000000000000..43c0f5ac9901 --- /dev/null +++ b/sys-process/psmisc/files/psmisc-21.5-selinux.diff.bz2 diff --git a/sys-process/psmisc/metadata.xml b/sys-process/psmisc/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-process/psmisc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-process/psmisc/psmisc-21.4.ebuild b/sys-process/psmisc/psmisc-21.4.ebuild new file mode 100644 index 000000000000..fe17f0425656 --- /dev/null +++ b/sys-process/psmisc/psmisc-21.4.ebuild @@ -0,0 +1,61 @@ +# 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.4.ebuild,v 1.1 2005/03/03 16:24:36 ciaranm Exp $ + +inherit eutils gnuconfig + +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} + + use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} + use nls || epatch ${FILESDIR}/${P}-no-nls.patch + + epunt_cxx #73632 +} + +src_compile() { + local myconf="" + use selinux && myconf="${myconf} --enable-flask" + econf \ + $(use_enable nls) \ + ${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 AUTHORS ChangeLog NEWS README +} diff --git a/sys-process/psmisc/psmisc-21.5.ebuild b/sys-process/psmisc/psmisc-21.5.ebuild new file mode 100644 index 000000000000..bbe221e646f5 --- /dev/null +++ b/sys-process/psmisc/psmisc-21.5.ebuild @@ -0,0 +1,54 @@ +# 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.5.ebuild,v 1.1 2005/03/03 16:24:36 ciaranm 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 + 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 +} |