Opened 11 years ago

Closed 11 years ago

#951 closed feature request (fixed)

Replace Procps with Procps-ng

Reported by: William Harrington Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…

Description (last modified by William Harrington)

This is a ticket for the migration from legacy procps tools to procps-ng (next generation procps tools).

Old (legacy) procps tools had no updates for several years and that led to a massive code split caused by a local-only application of distribution specific patches, which were not merged upstream. The project became hardly maintainable since some of the newly written patches were incompatible with sources maintained by other distributors. A similar incompatibility could be noticed in the applications behaviour and their command line switches. This inevitable update can be understood as an effort to unify the procps tools across all Linux distributions.

The benefits are better maintainability, lower resource consumption, NLS support, many bugfixes and improvements.

The ChangeLog states to see the git log for a list of changes:

https://gitorious.org/procps/procps/commits/master

I do not know if we need to move psmisc before procps-ng or leave as is. Configuring will install what is properly needed:

32bit and Pure 64bit: ./configure --prefix=/usr --exec-prefix= --libdir=/usr/lib --docdir=/usr/share/doc/procps-ng-3.3.8 --disable-skill --disable-kill

Multilib 64bit:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --exec-prefix= --libdir=/usr/lib64 --docdir=/usr/share/doc/procps-ng-3.3.8 --disable-skill --disable-kill

Multilib 32bit:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --exec-prefix= --libdir=/usr/lib --docdir=/usr/share/doc/procps-ng-3.3.8 --disable-skill --disable-kill

Multilib N32bit:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --exec-prefix= --libdir=/usr/lib32 --docdir=/usr/share/doc/procps-ng-3.3.8 --disable-skill --disable-kill

Of course, in the BOOK xml replace procps with procps-ng, update descriptions/installed programs and libraries, and update package entries for download location, size, md5 hash, version, and update rationale and dependencies.

http://sourceforge.net/projects/procps-ng http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.9.tar.xz

Change History (5)

comment:1 by William Harrington, 11 years ago

Description: modified (diff)

Remove --disable-static

comment:2 by William Harrington, 11 years ago

When editing the book (namely the systemd book as this is where this update will go) these need to be looked at:

installed programs between procps and procps-ng

Removed in procps-ng: skill snice

Added in procps-ng: pidof

Also, libprocps is now libprocps.so.3 instead of libprocps.so.1

Also, the fix HZ and ps cgroup patches are no longer needed. Those changes are in procps-ng. Can verify by looking at the source.

comment:3 by William Harrington, 11 years ago

Summary: Relace Procps with Procps-ngReplace Procps with Procps-ng

comment:4 by William Harrington, 11 years ago

I'm going to leave this ticket open after I push the changes to the systemd branch. If anyone finds problems with the procps-ng installation instructions or any of the text. Please reference this ticket in the mailing list at clfs-dev or if you have a trac account, post info here and the devs will get it fixed.

As of now, procps-ng is in the systemd branch.

comment:5 by William Harrington, 11 years ago

Resolution: fixed
Status: newclosed

All is well and has been tested for a long time. I'm closing this as no errors have cropped up in 5 months.

commit 413f061597b4f14376b80db00206364426d83077 starts this migration commit d6db500f0e4ccabbced4dabb073db3b7761ee250 finishes this migration

Last edited 11 years ago by William Harrington (previous) (diff)
Note: See TracTickets for help on using tickets.