diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 16:53:14 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 16:53:14 +0000 |
commit | ba36f9a8fd23c8ef396c34e73dca3a3660a10ce1 (patch) | |
tree | a091e7ef784a9616163553109d0d15797476e395 /sys-process/procps | |
parent | Added ~ppc64 to KEYWORDS (diff) | |
download | gentoo-2-ba36f9a8fd23c8ef396c34e73dca3a3660a10ce1.tar.gz gentoo-2-ba36f9a8fd23c8ef396c34e73dca3a3660a10ce1.tar.bz2 gentoo-2-ba36f9a8fd23c8ef396c34e73dca3a3660a10ce1.zip |
Moved from sys-apps/procps to sys-process/procps.
Diffstat (limited to 'sys-process/procps')
19 files changed, 995 insertions, 0 deletions
diff --git a/sys-process/procps/ChangeLog b/sys-process/procps/ChangeLog new file mode 100644 index 000000000000..631b51978f07 --- /dev/null +++ b/sys-process/procps/ChangeLog @@ -0,0 +1,486 @@ +# ChangeLog for sys-apps/procps +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/ChangeLog,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +*procps-3.2.4-r3 (03 Mar 2005) + + 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +files/3.2.4-64bit-display.patch, +files/3.2.4-linux26-slab.patch, + +files/3.2.5-top-sort.patch, +files/procps-3.2.5-proc-mount.patch, + +files/procps-mips-define-pagesize.patch, + +files/procps-mips-n32_isnt_usable_on_mips64_yet.patch, + +procps-3.2.3-r1.ebuild, +procps-3.2.4-r2.ebuild, +procps-3.2.4-r3.ebuild, + +procps-3.2.5-r1.ebuild, +procps-3.2.5.ebuild: + Moved from sys-apps/procps to sys-process/procps. + +*procps-3.2.4-r3 (27 Feb 2005) + + 27 Feb 2005; Joshua Kinard <kumba@gentoo.org> + +files/procps-mips-n32_isnt_usable_on_mips64_yet.patch, + procps-3.2.4-r2.ebuild, +procps-3.2.4-r3.ebuild, +procps-3.2.5-r1.ebuild, + procps-3.2.5.ebuild: + Added a patch to disable a check in proc/procps.h for n32 ABI on mips64 + systems. This check set KLONG=8, and broke several mips64 systems running o32 + userland. This is needed until n32 userland becomes a fully-functional + userland replacement for o32. Those on the n32 profile won't have this patch + applied. Revbumped to force an upgrade on affected mips systems. + +*procps-3.2.5 (01 Feb 2005) + + 01 Feb 2005; Mike Frysinger <vapier@gentoo.org> +files/3.2.5-top-sort.patch, + +procps-3.2.5.ebuild: + Version bump with patch to fix sorted top display #80296 by Andreas Kling. + +*procps-3.2.4-r2 (26 Jan 2005) + + 26 Jan 2005; Mike Frysinger <vapier@gentoo.org> : + Add patch to fix display on 64bit systems. Also make sure we dont + pointlessly run ldconfig. + + 18 Jan 2005; Joshua Kinard <kumba@gentoo.org> procps-3.2.4-r1.ebuild: + Marked stable on mips. + +*procps-3.2.4-r1 (12 Jan 2005) + + 12 Jan 2005; Mike Frysinger <vapier@gentoo.org> + +files/3.2.4-linux26-slab.patch, +procps-3.2.4-r1.ebuild, + -procps-3.2.4.ebuild: + Add patch from upstream to fix newer slab version #77301 by regala. + + 10 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> procps-3.2.4.ebuild: + Stable on sparc + + 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 08 Dec 2004; Daniel Black <dragonheart@gentoo.org> procps-3.2.4.ebuild: + ppc stable to fix bug #73239 + + 05 Nov 2004; Luca Barbato <lu_zero@gentoo.org> procps-3.2.4.ebuild: + Removing -m64 on ppc + +*procps-3.2.4 (04 Nov 2004) + + 04 Nov 2004; Brandon Low <lostlogic@gentoo.org> +procps-3.2.4.ebuild: + New unstable version, adds utf-8 support and other bugs and stuff + + 20 Oct 2004; Chris Bainbridge <chrb@gentoo.org> procps-3.2.3-r1.ebuild: + fix compile error when $NAME is set + + 06 Oct 2004; Guy Martin <gmsoft@gentoo.org> procps-3.2.3-r1.ebuild: + Stable on hppa. + + 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> procps-3.2.3-r1.ebuild: + Stable on alpha. + + 27 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> procps-3.2.3-r1.ebuild: + Marked stable on amd64. + + 25 Sep 2004; Joshua Kinard <kumba@gentoo.org> procps-3.2.3-r1.ebuild: + Marked stable on mips. + + 16 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> procps-3.2.3-r1.ebuild: + Stable on sparc + + 15 Sep 2004; Brandon Low <lostlogic@gentoo.org> procps-3.2.3-r1.ebuild: + No outstanding procps bugs, moving to stable + + 15 Sep 2004; Robin H. Johnson <robbat2@gentoo.org> procps-3.2.3-r1.ebuild: + Make this compile with GCC3.4. + + 14 Sep 2004; Brandon Low <lostlogic@gentoo.org> + -files/procps-3.1.11-multipids.patch, -files/procps-3.1.12-selinux.diff.bz2, + -procps-3.1.12-r1.ebuild, -procps-3.1.13-r1.ebuild: + Clean up a bit + +*procps-3.2.3-r1 (14 Sep 2004) + + 14 Sep 2004; Brandon Low <lostlogic@gentoo.org> +procps-3.2.3-r1.ebuild: + Add the include files to the installation + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + procps-3.1.12-r1.ebuild, procps-3.2.0.ebuild, procps-3.2.1.ebuild, + procps-3.2.2-r1.ebuild, procps-3.2.3.ebuild: + Masked procps-3.2.3.ebuild stable for ppc + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + procps-3.1.12-r1.ebuild, procps-3.2.0.ebuild, procps-3.2.1.ebuild, + procps-3.2.2-r1.ebuild: + Masked procps-3.2.2-r1.ebuild stable for ppc + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + procps-3.1.12-r1.ebuild, procps-3.2.0.ebuild, procps-3.2.1.ebuild: + Masked procps-3.2.1.ebuild stable for ppc + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + procps-3.1.12-r1.ebuild, procps-3.2.0.ebuild: + Masked procps-3.2.0.ebuild stable for ppc + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + procps-3.1.12-r1.ebuild: + Masked procps-3.1.12-r1.ebuild stable for ppc + + 20 Aug 2004; Joshua Kinard <kumba@gentoo.org> + files/procps-mips-define-pagesize.patch: + Found an instance of PAGE_SIZE being defined in minimal.c to a set value if it + wasn't previously defined in asm/page.h; changed to use sysconf() to fetch the + size if not defined instead. + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> procps-3.2.2-r1.ebuild: + stable on alpha and ia64 + + 17 Aug 2004; Joshua Kinard <kumba@gentoo.org> + files/procps-mips-define-pagesize.patch: + Tweak patch to add #ifndef lines. + + 13 Aug 2004; Brandon Low <lostlogic@gentoo.org> procps-3.2.3.ebuild: + Make the sysctl.conf a doc not an /etc file + + 12 Aug 2004; Joshua Kinard <kumba@gentoo.org> + +files/procps-mips-define-pagesize.patch, procps-3.2.2-r1.ebuild, + procps-3.2.3.ebuild: + Added patch for mips that sets the value of PAGE_SIZE via a call to sysconf + due to changes in mips-headers. + +*procps-3.2.3 (10 Aug 2004) + + 10 Aug 2004; Brandon Low <lostlogic@gentoo.org> +procps-3.2.3.ebuild: + Some ebuild fixed, thanks _very much_ to Albert Cahalan <albert@users.sf.net> + who maintains procps for taking the time to read our ebuild and give me info + on what needed fixing. Hopefully this will be an improvement for our users. + +*procps-3.2.2-r1 (21 Jul 2004) + + 21 Jul 2004; Brandon Low <lostlogic@gentoo.org> + -files/procps-3.2.2-selinux-E.diff, -procps-3.2.2.ebuild: + Turns out that the new -Z option is the same as the old -Z patch option, so + removing the new -E option. + +*procps-3.2.2 (20 Jul 2004) + + 20 Jul 2004; Brandon Low <lostlogic@gentoo.org> + +files/procps-3.2.2-selinux-E.diff, +procps-3.2.2.ebuild: + Bump, and I had to change the SELinux -Z option to -E for ps because -Z was + taken. Hopefully this works for you SELinux people, otherwise mask it out or + something + + 05 Jun 2004; Travis Tilley <lv@gentoo.org> procps-3.2.1.ebuild: + stable on amd64 + + 27 May 2004; Aron Griffis <agriffis@gentoo.org> procps-3.2.1.ebuild: + Stable on alpha and ia64 + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> procps-3.1.12-r1.ebuild, + procps-3.1.15.ebuild: + Add inherit eutils + + 09 Apr 2004; Travis Tilley <lv@gentoo.org> procps-3.1.15.ebuild: + stable on amd64 + + 02 Apr 2004; Brian Jackson <iggy@gentoo.org> procps-3.2.0.ebuild, + procps-3.2.1.ebuild: + add s390 to keywords + + 30 Mar 2004; Chris PeBenito <pebenito@gentoo.org> procps-3.2.1.ebuild: + Add back the SELinux -Z patch. + +*procps-3.2.1 (30 Mar 2004) + + 30 Mar 2004; Martin Holzer <mholzer@gentoo.org> procps-3.2.1.ebuild: + Version bumped. + + 21 Mar 2004; Mike Frysinger <vapier@gentoo.org> : + Add custom LDFLAGS to the makefile as well as remove the --strip from + the install command (let portage handle that). Also, dont install COPYING + files since they're just $LICENSE. + + 09 Mar 2004; <agriffis@gentoo.org> procps-3.1.15.ebuild: + stable on alpha and ia64 + + 07 Mar 2004; Joshua Kinard <kumba@gentoo.org> procps-2.0.16-r1.ebuild, + procps-3.1.13-r1.ebuild, procps-3.1.15.ebuild: + Marked stable on mips, copyright header fixes. + + 24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> procps-3.2.0.ebuild, + files/procps-3.2.0-selinux-Z.diff: + Add patch for -Z ps option for SELinux. + +*procps-3.2.0 (23 Feb 2004) + + 23 Feb 2004; Brandon Low <lostlogic@gentoo.org> procps-3.2.0.ebuild: + Bump + + 09 Feb 2004; <gustavoz@gentoo.org> procps-3.1.15.ebuild: + stable on sparc + + 08 Feb 2004; Mike Frysinger <vapier@gentoo.org> procps-3.1.12-r1.ebuild + procps-3.1.13-r1.ebuild procps-3.1.15.ebuild : + Prune out gettext DEPEND #39040. + + 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org> procps-3.1.15.ebuild: + Bump to stable for x86. + + 03 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> procps-3.1.15.ebuild: + set ppc in keywords + + 28 Jan 2004; Aron Griffis <agriffis@gentoo.org> procps-3.1.12-r1.ebuild: + stable on alpha and ia64 + + 15 Jan 2004; Jon Portnoy <avenj@gentoo.org> procps-3.1.12-r1.ebuild : + Stable on AMD64. + + 28 Dec 2003; Joshua Kinard <kumba@gentoo.org> procps-3.1.12-r1.ebuild: + Move to mips stable (~mips -> mips) + + 24 Dec 2003; Chris PeBenito <pebenito@gentoo.org> procps-3.1.15.ebuild, + files/procps-3.1.15-fix_attr.diff: + Add patch to make SELinux contexts work on 2.4 kernels, not just 2.6. + +*procps-3.1.15 (24 Dec 2003) + + 24 Dec 2003; Martin Holzer <mholzer@gentoo.org> procps-3.1.15.ebuild: + Version bumped. + + 20 Dec 2003; Christian Birchinger <joker@gentoo.org> + procps-3.1.12-r1.ebuild: + Added sparc stable keyword + +*procps-3.1.14-r1 (08 Dec 2003) +*procps-3.1.13-r1 (08 Dec 2003) +*procps-3.1.12-r1 (08 Dec 2003) + + 08 Dec 2003; Seemant Kulleen <seemant@gentoo.org> procps-2.0.16-r1.ebuild, + procps-2.0.16.ebuild, procps-3.1.12-r1.ebuild, procps-3.1.12.ebuild, + procps-3.1.13-r1.ebuild, procps-3.1.13.ebuild, procps-3.1.14-r1.ebuild, + procps-3.1.14.ebuild, procps-3.1.8.ebuild, procps-3.1.9-r1.ebuild, + procps-3.1.9.ebuild: + version bump procps to make sure it owns kill and uptime, instead of coreutils + + 28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> procps-3.1.11-r1.ebuild, + procps-3.1.12.ebuild, procps-3.1.13.ebuild, procps-3.1.14.ebuild, + procps-3.1.8.ebuild, procps-3.1.9.ebuild, + files/procps-3.1.12-selinux.diff.bz2: + Switch SELinux patch from old API to new API. + +*procps-3.1.14 (22 Oct 2003) + + 24 Oct 2003; Martin Holzer <mholzer@gentoo.org> procps-3.1.14.ebuild: + Version bumped.. Thread support is now fully working in ps. Closes #30514. + + 24 Sep 2003; Chris PeBenito <pebenito@gentoo.org> procps-3.1.12.ebuild: + Fix 3.1.12 SELinux patch. + +*procps-2.0.16 (23 Sep 2003) + + 23 Sep 2003; Brandon Low <lostlogic@gentoo.org> procps-2.0.16.ebuild: + Bump the 2.x version of procps because RML and Riel have been doing some work + on it again. + +*procps-3.1.13 (24 Sep 2003) + + 24 Sep 2003; Martin Holzer <mholzer@gentoo.org> procps-3.1.13.ebuild: + Version bumped. + +*procps-3.1.12 (23 Sep 2003) + + 23 Sep 2003; Martin Holzer <mholzer@gentoo.org> procps-3.1.12.ebuild: + Version bumped. + +*procps-3.1.11-r1 (06 Sep 2003) + + 06 Sep 2003; Alastair Tse <liquidx@gentoo.org> procps-3.1.11-r1.ebuild: + adds one-line patch to fix command line options parsing for top. patch thanks + to James Harlow <gentoo-bugzilla@james.is.never.wrong.nu> (#26090) + +*procps-3.1.11 (14 Jul 2003) + + 14 Jul 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.10.ebuild, + procps-3.1.11.ebuild: + Another bump, this one repairs gcc-2.95 functionality + +*procps-3.1.10 (13 Jul 2003) + + 13 Jul 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.10.ebuild: + Bumpage, minor stuff only, moving to stable ... fairly soon + + 24 Jun 2003; Aron Griffis <agriffis@gentoo.org> procps-3.1.9.ebuild: + Mark stable on alpha + +*procps-3.1.9 (31 May 2003) + + 06 Jul 2003; Guy Martin <gmsoft@gentoo.org> procps-3.1.9.ebuild : + Marked stable on hppa. + + 22 Jun 2003; Joshua Kinard <kumba@gentoo.org> procps-3.1.9.ebuild: + Changed ~sparc & ~mips to sparc & mips + + 08 Jun 2003; Todd Berman <tberman@gentoo.org> procps-3.1.8.ebuild, + procps-3.1.9.ebuild: + replacing -O3 with -O2 for gcc-3.3 + + 31 May 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.9.ebuild: + Bump + +*procps-3.1.8 (20 Mar 2003) + + 26 Apr 2003; Christian Birchinger <joker@gentoo.org> procps-3.1.8.ebuild: + Added stable sparc keyword + + 17 Apr 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.8.ebuild: + x86 keyword + + 22 Mar 2003; Joshua Brindle <Method@gentoo.org> procps-3.1.8.ebuild: + added selinux support Thanks to sindian + + 20 Mar 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.7.ebuild, + procps-3.1.7.ebuild, procps-3.1.8.ebuild: + Minor bug fix over 3.1.7 + +*procps-3.1.7 (18 Mar 2003) + + 18 Mar 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.7.ebuild: + Mostly a bugfix release + +*procps-3.1.6 (16 Feb 2003) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> procps-3.1.6.ebuild : + Marked as testing for mips. + + 20 Feb 2003; Zach Welch <zwelch@gentoo.org> : + Added arm to keywords. + + 16 Feb 2003; Brandon Low <lostlogic@gentoo.org> procps-3.1.6.ebuild : + + Upstream bump, nothing major. + +*procps-3.1.5 (21 Dec 2002) + + 09 Feb 2003; Seemant Kulleen <seemant@gentoo.org> *.ebuild : + + Changed sed expression delimiters to : where applicable, closing bug + #15006 by Blu3 <david+gentoo.org@blue-labs.org> + + 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> : + Added hppa to keywords. + + 21 Dec 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.5.ebuild : + + Upstream bump... + +*procps-3.1.4 (15 Dec 2002) + + 15 Dec 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.4.ebuild : + + Amazing what happens if I report bugs to the right places for us :) + This release should fix the %CPU reporting, AND the 3 eating bug, + please test, and if it does, comment on the bug in bugzilla so I + can start pushing to move this to stable :) + +*procps-3.1.3 (12 Dec 2002) + + 12 Dec 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.3.ebuild : + + You get a big shrug here, Albert doesn't seem to be having the top + issues some gentoo-ers are, so I'll e-mail him about them later. + +*procps-2.0.11 (12 Dec 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> procps-2.0.11.ebuild : + Marked as stable for mips. + + 12 Dec 2002; Brandon Low <lostlogic@gentoo.org> procps-2.0.11.ebuild + files/digest-procps-2.0.11 : + + Version bump. Set keywords to ~. + +*procps-3.1.2 (08 Dec 2002) + + 08 Dec 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.2.ebuild : + + Bump, still unstable, but this one adds back in the sorting quick keys + to top, apparently we weren't the only ones annoyed about it. + Keep me updated on quirkiness in this version! :) + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*procps-3.1.1 (20 Nov 2002) + + 20 Nov 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.1.ebuild : + + Bump, still unstable, hopefully Albert will fix the issues people are + having... please let me know about the quirkyness of the new top. + +*procps-3.1.0 (16 Nov 2002) + + 16 Nov 2002; Brandon Low <lostlogic@gentoo.org> procps-3.1.0.ebuild : + + Well this should be an interesting experiment. I'm putting into + unstable the most recent procps from the sf.net procps project. This + procps tree has some very nice new features, and SHOULD actually be + more stable than the 2.0.X tree we were using which was maintained by + Rik Van Riel. The reason we waited until now for this move was that + some of the features of the gentoo-sources and development-sources + kernels weren't supported by this procps, HOPEFULLY the sf.net project + will continue from here on to keep up with support for the latest + kernel features AND remainthe more stable tree. + + Of course I also did my usual round of ebuild cleanups that goes + with a major version bump. Enjoy. + + 05 Nov 2002; J Robert Ray <jrray@gentoo.org> procps-2.0.10-r1.ebuild : + Combine both sed calls into one, avoiding attempt to overwrite 0444 + perm'd file (fakeroot issue). + +*procps-2.0.10-r1 (31 Oct 2002) + + 18 Jan 2003; Jan Seidel <tuxus@gentoo.org> : + Added mips to keywords + + 31 Oct 2002; Brad Cowan <bcowan@gentoo.org> procps-2.0.10-r1.ebuild : + + Added einfo about threads default behavior thanks to j2ee. + + 31 Oct 2002; Brandon Low <lostlogic@gentoo.org> procps-2.0.10-r1.ebuild : + + Fix /lib/libproc.so symlink. + +*procps-2.0.10 (11 Oct 2002) + + 11 Oct 2002; Brandon Low <lostlogic@gentoo.org> procps-2.0.10.ebuild + files/digest-procps-2.0.10 : + + Version bump. Set keywords to ~. + +*procps-2.0.9 (30 Sep 2002) + + 30 Sep 2002; Brandon Low <lostlogic@gentoo.org> procps-2.0.9.ebuild + files/digest-procps-2.0.9 : + + New version released today by Rik Van Riel, many patches added from + the Debian tree and lots of good stuff. + +*procps-2.0.8 (27 Sep 2002) + + 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> procps-2.0.8.ebuild + files/digest-procps-2.0.8 : + + Version bump with many bugfixes. Removed patches as they have been + added to the main tree + +*procps-2.0.7-r6 (26 Sep 2002) + + 27 Sep 2002; Daniel Ahlberg <aliz@gentoo.org> : + Cleaned out old diff files from files/. + + 26 Sep 2002; Daniel Ahlberg <aliz@gentoo.org> procps-2.0.7-r6.ebuild : + Fixed sandbox violation. + +*procps-2.0.7-r6 (1 Feb 2002) + + 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/procps/Manifest b/sys-process/procps/Manifest new file mode 100644 index 000000000000..ef3fa80f1efa --- /dev/null +++ b/sys-process/procps/Manifest @@ -0,0 +1,18 @@ +MD5 9840a31498b7cec463afdef6e9f3d43c ChangeLog 16716 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 687bb08f11338030eabaca147372217f procps-3.2.3-r1.ebuild 1492 +MD5 e6169375867580935c6ac0c7ff9d4a9c procps-3.2.5.ebuild 1851 +MD5 689ca666fafc899146884f6e787cf305 procps-3.2.4-r3.ebuild 2360 +MD5 65a8f39eae9ce70acfd49b829415ccb6 procps-3.2.4-r2.ebuild 1956 +MD5 40d9f3412ca030b8b1f084ad2fefa48e procps-3.2.5-r1.ebuild 2260 +MD5 7455bab26f4331ffc66d62113bc973db files/digest-procps-3.2.3-r1 64 +MD5 f4e5ac4b1eaf4acdbf0dc9573cdf5438 files/digest-procps-3.2.5 64 +MD5 7ba1d9bd2f1c46766282250643ab9ebd files/procps-mips-define-pagesize.patch 1028 +MD5 7e94d86add2921b1262479b92f51da27 files/3.2.4-linux26-slab.patch 521 +MD5 eb892816cc3a56418f4157eb67e18fa6 files/3.2.5-top-sort.patch 1384 +MD5 a26e86ab1efcb58809f0f46aa735ef07 files/digest-procps-3.2.4-r2 64 +MD5 5557c7fb6275f031e3770c70993baf69 files/3.2.4-64bit-display.patch 1566 +MD5 191c6f4fbc82aa4aab187014367e8015 files/procps-3.2.5-proc-mount.patch 270 +MD5 a26e86ab1efcb58809f0f46aa735ef07 files/digest-procps-3.2.4-r3 64 +MD5 f4e5ac4b1eaf4acdbf0dc9573cdf5438 files/digest-procps-3.2.5-r1 64 +MD5 5fdac6b265f6ff3866056fb2d97d2a0c files/procps-mips-n32_isnt_usable_on_mips64_yet.patch 431 diff --git a/sys-process/procps/files/3.2.4-64bit-display.patch b/sys-process/procps/files/3.2.4-64bit-display.patch new file mode 100644 index 000000000000..aca21f6de8f5 --- /dev/null +++ b/sys-process/procps/files/3.2.4-64bit-display.patch @@ -0,0 +1,34 @@ +Index: proc/escape.c +=================================================================== +RCS file: /cvsroot/procps/procps/proc/escape.c,v +retrieving revision 1.5 +retrieving revision 1.6 +diff -u -r1.5 -r1.6 +--- proc/escape.c 4 Nov 2004 20:50:59 -0000 1.5 ++++ proc/escape.c 5 Jan 2005 21:11:21 -0000 1.6 +@@ -159,7 +159,7 @@ + // escape an argv or environment string array + // + // bytes arg means sizeof(buf) +-int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, size_t *cells){ ++int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, int *cells){ + size_t i = 0; + + for(;;){ +Index: proc/escape.h +=================================================================== +RCS file: /cvsroot/procps/procps/proc/escape.h,v +retrieving revision 1.4 +retrieving revision 1.5 +diff -u -r1.4 -r1.5 +--- proc/escape.h 4 Nov 2004 20:50:59 -0000 1.4 ++++ proc/escape.h 5 Jan 2005 21:11:21 -0000 1.5 +@@ -12,7 +12,7 @@ + #define ESC_BRACKETS 0x2 // if using cmd, put '[' and ']' around it + #define ESC_DEFUNCT 0x4 // mark zombies with " <defunct>" + +-extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, size_t *cells); ++extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, int *cells); + extern int escape_str(char *restrict dst, const char *restrict src, int bufsize, int *maxcells); + extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, int *cells, unsigned flags); + diff --git a/sys-process/procps/files/3.2.4-linux26-slab.patch b/sys-process/procps/files/3.2.4-linux26-slab.patch new file mode 100644 index 000000000000..d2d0ab0ceaae --- /dev/null +++ b/sys-process/procps/files/3.2.4-linux26-slab.patch @@ -0,0 +1,17 @@ +Index: proc/slab.c +=================================================================== +RCS file: /cvsroot/procps/procps/proc/slab.c,v +retrieving revision 1.4 +retrieving revision 1.5 +diff -u -r1.4 -r1.5 +--- proc/slab.c 5 Jan 2005 21:46:22 -0000 1.4 ++++ proc/slab.c 10 Jan 2005 05:59:41 -0000 1.5 +@@ -293,7 +294,7 @@ + return 1; + } + +- if (major == 2 && minor == 0) ++ if (major == 2) + ret = parse_slabinfo20(list, stats, slabfile); + else if (major == 1 && minor == 1) + ret = parse_slabinfo11(list, stats, slabfile); diff --git a/sys-process/procps/files/3.2.5-top-sort.patch b/sys-process/procps/files/3.2.5-top-sort.patch new file mode 100644 index 000000000000..b160bcc301a9 --- /dev/null +++ b/sys-process/procps/files/3.2.5-top-sort.patch @@ -0,0 +1,39 @@ +Under certain conditions, top's display can break. +This patch is by Curtis Doty, updated by Andreas Kling for 3.2.5. + +To reproduce bug: + - run top + - turn on color mode ('z') + - highlight sort column ('x') + - move sort column all the way to the left ('<') + - get drunk + +procps e-mail: http://sourceforge.net/mailarchive/forum.php?thread_id=6042978&forum_id=12454 +Redhat bug: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=140975 +Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=80296 + +--- procps-3.2.5/top.c~ 2005-01-26 06:15:18.000000000 +0100 ++++ procps-3.2.5/top.c 2005-02-01 09:23:35.000000000 +0100 +@@ -2952,12 +2952,10 @@ + for (x = 0; x < q->maxpflgs; x++) { + char cbuf[ROWBUFSIZ], _z[ROWBUFSIZ]; + FLG_t i = q->procflags[x]; // support for our field/column +- const char *f = Fieldstab[i].fmts; // macro AND sometimes the fmt ++ const char *f = Fieldstab[i].fmts + ((x==0) && !Rc.mode_altscr); + unsigned s = Fieldstab[i].scale; // string must be altered ! + unsigned w = Fieldstab[i].width; + +- int advance = (x==0) && !Rc.mode_altscr; +- + switch (i) { + case P_CMD: + { char tmp[ROWBUFSIZ]; +@@ -3069,7 +3067,7 @@ + + } /* end: switch 'procflag' */ + +- rp = scat(rp, cbuf+advance); ++ rp = scat(rp, cbuf); + } /* end: for 'maxpflgs' */ + + PUFF( diff --git a/sys-process/procps/files/digest-procps-3.2.3-r1 b/sys-process/procps/files/digest-procps-3.2.3-r1 new file mode 100644 index 000000000000..175dcab7099b --- /dev/null +++ b/sys-process/procps/files/digest-procps-3.2.3-r1 @@ -0,0 +1 @@ +MD5 5389800bf413e70365d982bac9438d31 procps-3.2.3.tar.gz 271136 diff --git a/sys-process/procps/files/digest-procps-3.2.4-r2 b/sys-process/procps/files/digest-procps-3.2.4-r2 new file mode 100644 index 000000000000..2bf5f1226db4 --- /dev/null +++ b/sys-process/procps/files/digest-procps-3.2.4-r2 @@ -0,0 +1 @@ +MD5 1bec6740b385b3f73800827437f14f85 procps-3.2.4.tar.gz 275861 diff --git a/sys-process/procps/files/digest-procps-3.2.4-r3 b/sys-process/procps/files/digest-procps-3.2.4-r3 new file mode 100644 index 000000000000..2bf5f1226db4 --- /dev/null +++ b/sys-process/procps/files/digest-procps-3.2.4-r3 @@ -0,0 +1 @@ +MD5 1bec6740b385b3f73800827437f14f85 procps-3.2.4.tar.gz 275861 diff --git a/sys-process/procps/files/digest-procps-3.2.5 b/sys-process/procps/files/digest-procps-3.2.5 new file mode 100644 index 000000000000..0f9fb90c8e34 --- /dev/null +++ b/sys-process/procps/files/digest-procps-3.2.5 @@ -0,0 +1 @@ +MD5 cde0e3612d1d7c68f404d46f01c44fb4 procps-3.2.5.tar.gz 277365 diff --git a/sys-process/procps/files/digest-procps-3.2.5-r1 b/sys-process/procps/files/digest-procps-3.2.5-r1 new file mode 100644 index 000000000000..0f9fb90c8e34 --- /dev/null +++ b/sys-process/procps/files/digest-procps-3.2.5-r1 @@ -0,0 +1 @@ +MD5 cde0e3612d1d7c68f404d46f01c44fb4 procps-3.2.5.tar.gz 277365 diff --git a/sys-process/procps/files/procps-3.2.5-proc-mount.patch b/sys-process/procps/files/procps-3.2.5-proc-mount.patch new file mode 100644 index 000000000000..958ade4d6162 --- /dev/null +++ b/sys-process/procps/files/procps-3.2.5-proc-mount.patch @@ -0,0 +1,6 @@ +--- proc/readproc.c ++++ proc/readproc.c +@@ -858,2 +858,2 @@ + if(file2str("/proc/self", "stat", sbuf, sizeof sbuf) == -1){ +- fprintf(stderr, "Error, do this: mount -t proc none /proc\n"); ++ fprintf(stderr, "Error, do this: mount -t proc proc /proc\n"); diff --git a/sys-process/procps/files/procps-mips-define-pagesize.patch b/sys-process/procps/files/procps-mips-define-pagesize.patch new file mode 100644 index 000000000000..3802f4ccecfb --- /dev/null +++ b/sys-process/procps/files/procps-mips-define-pagesize.patch @@ -0,0 +1,29 @@ +diff -Naurp procps-3.2.3.orig/minimal.c procps-3.2.3/minimal.c +--- procps-3.2.3.orig/minimal.c 2004-05-04 20:26:14.000000000 -0400 ++++ procps-3.2.3/minimal.c 2004-08-20 02:01:35.868100752 -0400 +@@ -68,8 +68,8 @@ + /////////////////////////////////////////////////////////// + + #ifndef PAGE_SIZE +-#warning PAGE_SIZE not defined, assuming it is 4096 +-#define PAGE_SIZE 4096 ++#warning PAGE_SIZE not defined, using sysconf() to determine correct value ++#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) + #endif + + +diff -Naurp procps-3.2.3.orig/ps/common.h procps-3.2.3/ps/common.h +--- procps-3.2.3.orig/ps/common.h 2004-04-25 17:03:18.000000000 -0400 ++++ procps-3.2.3/ps/common.h 2004-08-20 02:00:59.228670792 -0400 +@@ -16,6 +16,11 @@ + #include "../proc/readproc.h" + #include <asm/page.h> /* looks safe for glibc, we need PAGE_SIZE */ + ++#ifndef PAGE_SIZE ++#warning PAGE_SIZE not defined, using sysconf() to determine correct value ++#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) ++#endif ++ + #if 0 + #define trace(args...) printf(## args) + #else diff --git a/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch b/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch new file mode 100644 index 000000000000..472e9c0acf89 --- /dev/null +++ b/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch @@ -0,0 +1,12 @@ +diff -Naurp procps-3.2.4.orig/proc/procps.h procps-3.2.4/proc/procps.h +--- procps-3.2.4.orig/proc/procps.h 2004-08-20 18:40:13 -0400 ++++ procps-3.2.4/proc/procps.h 2005-02-28 10:38:05 -0500 +@@ -31,7 +31,7 @@ + // + // Unknown: PA-RISC and zSeries + // +-#if defined(k64test) || defined(_ABIN32) ++#if defined(k64test) + #define KLONG long long // not typedef; want "unsigned KLONG" to work + #define KLF "L" + #define STRTOUKL strtoull diff --git a/sys-process/procps/metadata.xml b/sys-process/procps/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-process/procps/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/procps/procps-3.2.3-r1.ebuild b/sys-process/procps/procps-3.2.3-r1.ebuild new file mode 100644 index 000000000000..48ab8ce93444 --- /dev/null +++ b/sys-process/procps/procps-3.2.3-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.3-r1.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="Standard informational utilities and process-handling tools" +HOMEPAGE="http://procps.sourceforge.net/" +SRC_URI="http://${PN}.sf.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Clean up the makefile + # firstly we want to control stripping + # and secondly these gcc flags have changed + sed -i Makefile \ + -e '/install/s: --strip : :' \ + -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ + -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' + + # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in + # userspace anymore, so this patch instructs procps to get the + # value from sysconf(). + use mips && epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch + +} + +src_compile() { + replace-flags -O3 -O2 + unset NAME + emake -e || die +} + +src_install() { + einstall -e DESTDIR="${D}"|| die + + insinto /usr/include/proc + doins proc/*.h + + dodoc sysctl.conf BUGS NEWS TODO ps/HACKING +} + +pkg_postinst() { + einfo "NOTE: With NPTL \"ps\" and \"top\" no longer" + einfo "show threads. You can use any of: -m m -L -T H" + einfo "in ps or the H key in top to show them" +} diff --git a/sys-process/procps/procps-3.2.4-r2.ebuild b/sys-process/procps/procps-3.2.4-r2.ebuild new file mode 100644 index 000000000000..459ac75c7fee --- /dev/null +++ b/sys-process/procps/procps-3.2.4-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.4-r2.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Standard informational utilities and process-handling tools" +HOMEPAGE="http://procps.sourceforge.net/" +SRC_URI="http://${PN}.sf.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ia64 -mips ppc ~ppc64 s390 sh sparc x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Upstream patch to support newer linux #77301 + epatch "${FILESDIR}"/${PV}-linux26-slab.patch + # Upstream patch to fix display on 64bit systems + epatch "${FILESDIR}"/${PV}-64bit-display.patch + + # Clean up the makefile + # firstly we want to control stripping + # and secondly these gcc flags have changed + sed -i \ + -e '/install/s: --strip : :' \ + -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ + -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \ + Makefile || die "sed Makefile" + use ppc && sed -i -e 's:-m64::g' Makefile + + # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in + # userspace anymore, so this patch instructs procps to get the + # value from sysconf(). + use mips && epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch +} + +src_compile() { + replace-flags -O3 -O2 + emake \ + lib64="$(get_libdir)" \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "make failed" +} + +src_install() { + make install ldconfig="true" DESTDIR="${D}" || die "install failed" + + insinto /usr/include/proc + doins proc/*.h || die "doins include" + + dodoc sysctl.conf BUGS NEWS TODO ps/HACKING +} + +pkg_postinst() { + einfo "NOTE: With NPTL \"ps\" and \"top\" no longer" + einfo "show threads. You can use any of: -m m -L -T H" + einfo "in ps or the H key in top to show them" +} diff --git a/sys-process/procps/procps-3.2.4-r3.ebuild b/sys-process/procps/procps-3.2.4-r3.ebuild new file mode 100644 index 000000000000..13bb2be4bff6 --- /dev/null +++ b/sys-process/procps/procps-3.2.4-r3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.4-r3.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Standard informational utilities and process-handling tools" +HOMEPAGE="http://procps.sourceforge.net/" +SRC_URI="http://procps.sf.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" +IUSE="n32" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Upstream patch to support newer linux #77301 + epatch "${FILESDIR}"/${PV}-linux26-slab.patch + # Upstream patch to fix display on 64bit systems + epatch "${FILESDIR}"/${PV}-64bit-display.patch + # Pretty up the /proc mount error message + epatch "${FILESDIR}"/procps-3.2.5-proc-mount.patch + + # Clean up the makefile + # firstly we want to control stripping + # and secondly these gcc flags have changed + sed -i \ + -e '/install/s: --strip : :' \ + -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ + -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \ + Makefile || die "sed Makefile" + use ppc && sed -i -e 's:-m64::g' Makefile + + # mips patches + if use mips; then + # mips 2.4.23+ headers (and 2.6.x) don't allow PAGE_SIZE to be defined in + # userspace anymore, so this patch instructs procps to get the + # value from sysconf(). + epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch + + # n32 isn't completly reliable of an ABI on mips64 at the current + # time. Eventually, it will be, but for now, we need to make sure + # procps doesn't try to force it on us. + if ! use n32; then + epatch ${FILESDIR}/${PN}-mips-n32_isnt_usable_on_mips64_yet.patch + fi + fi +} + +src_compile() { + replace-flags -O3 -O2 + emake \ + lib64="$(get_libdir)" \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "make failed" +} + +src_install() { + make install ldconfig="true" DESTDIR="${D}" || die "install failed" + + insinto /usr/include/proc + doins proc/*.h || die "doins include" + + dodoc sysctl.conf BUGS NEWS TODO ps/HACKING +} + +pkg_postinst() { + einfo "NOTE: With NPTL \"ps\" and \"top\" no longer" + einfo "show threads. You can use any of: -m m -L -T H" + einfo "in ps or the H key in top to show them" +} diff --git a/sys-process/procps/procps-3.2.5-r1.ebuild b/sys-process/procps/procps-3.2.5-r1.ebuild new file mode 100644 index 000000000000..2062ea912874 --- /dev/null +++ b/sys-process/procps/procps-3.2.5-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.5-r1.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Standard informational utilities and process-handling tools" +HOMEPAGE="http://procps.sourceforge.net/" +SRC_URI="http://procps.sf.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="n32" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix terminal breakage when sorting first column in top #80296 + epatch "${FILESDIR}"/${PV}-top-sort.patch + # Pretty up the /proc mount error message + epatch "${FILESDIR}"/procps-3.2.5-proc-mount.patch + + # Clean up the makefile + # - we do stripping ourselves + # - punt fugly gcc flags + sed -i \ + -e '/install/s: --strip : :' \ + -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ + -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \ + Makefile || die "sed Makefile" + use ppc && sed -i -e 's:-m64::g' Makefile + + # mips patches + if use mips; then + # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in + # userspace anymore, so this patch instructs procps to get the + # value from sysconf(). + epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch + + # n32 isn't completly reliable of an ABI on mips64 at the current + # time. Eventually, it will be, but for now, we need to make sure + # procps doesn't try to force it on us. + if ! use n32; then + epatch ${FILESDIR}/${PN}-mips-n32_isnt_usable_on_mips64_yet.patch + fi + fi +} + +src_compile() { + replace-flags -O3 -O2 + emake \ + lib64="$(get_libdir)" \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "make failed" +} + +src_install() { + make install ldconfig="true" DESTDIR="${D}" || die "install failed" + + insinto /usr/include/proc + doins proc/*.h || die "doins include" + + dodoc sysctl.conf BUGS NEWS TODO ps/HACKING +} + +pkg_postinst() { + einfo "NOTE: With NPTL \"ps\" and \"top\" no longer" + einfo "show threads. You can use any of: -m m -L -T H" + einfo "in ps or the H key in top to show them" +} diff --git a/sys-process/procps/procps-3.2.5.ebuild b/sys-process/procps/procps-3.2.5.ebuild new file mode 100644 index 000000000000..9592453f2cce --- /dev/null +++ b/sys-process/procps/procps-3.2.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.5.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Standard informational utilities and process-handling tools" +HOMEPAGE="http://procps.sourceforge.net/" +SRC_URI="http://${PN}.sf.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix terminal breakage when sorting first column in top #80296 + epatch "${FILESDIR}"/${PV}-top-sort.patch + + # Clean up the makefile + # - we do stripping ourselves + # - punt fugly gcc flags + sed -i \ + -e '/install/s: --strip : :' \ + -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ + -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \ + Makefile || die "sed Makefile" + use ppc && sed -i -e 's:-m64::g' Makefile + + # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in + # userspace anymore, so this patch instructs procps to get the + # value from sysconf(). + use mips && epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch +} + +src_compile() { + replace-flags -O3 -O2 + emake \ + lib64="$(get_libdir)" \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "make failed" +} + +src_install() { + make install ldconfig="true" DESTDIR="${D}" || die "install failed" + + insinto /usr/include/proc + doins proc/*.h || die "doins include" + + dodoc sysctl.conf BUGS NEWS TODO ps/HACKING +} + +pkg_postinst() { + einfo "NOTE: With NPTL \"ps\" and \"top\" no longer" + einfo "show threads. You can use any of: -m m -L -T H" + einfo "in ps or the H key in top to show them" +} |