From 71d10d3a49474320a1d894e6b19a1c93bd68398d Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 4 Jun 2011 19:40:29 +0200 Subject: [PATCH] name change: procps -> procps-ng Signed-off-by: Sami Kerola --- BUGS | 4 ++-- NEWS | 5 +++++ README | 12 +++++------- TODO | 4 ++-- autogen.sh | 10 +++++----- configure.ac | 2 +- free.c | 2 +- kill.1 | 2 +- pgrep.1 | 5 +---- pmap.1 | 6 ++---- proc/procps.h | 2 +- proc/version.c | 4 ++-- proc/version.h | 4 ++-- procps.lsm | 15 -------------- procps.spec | 52 ------------------------------------------------- ps/display.c | 2 +- ps/parser.c | 4 ++-- ps/ps.1 | 8 ++++---- ps/sortformat.c | 4 ++-- pwdx.1 | 2 +- skill.1 | 5 +++-- slabtop.1 | 6 ++---- uptime.1 | 2 +- w.1 | 2 +- 24 files changed, 47 insertions(+), 117 deletions(-) delete mode 100644 procps.lsm delete mode 100644 procps.spec diff --git a/BUGS b/BUGS index ec45bde6..49722d9f 100644 --- a/BUGS +++ b/BUGS @@ -3,7 +3,7 @@ BUG REPORTS Please read this file before sending in a bug report or patch. Also, PLEASE read the documentation first. 90% of the mail I get -complaining about procps is due to the sender not having read the +complaining about procps-ng is due to the sender not having read the documentation! @@ -49,7 +49,7 @@ are kind of usable, and standard diffs (diff) are more useless than a generic text description of what you did. Just use diff -Naurd oldfile newfile or - diff -Naurd old-procps-dir new-procps-dir + diff -Naurd old-procps-ng-dir new-procps-ng-dir to create your diffs and you will make me happy. Also make sure to include a description of what the diff is for or I'm likely to ignore it because of general lack of time... diff --git a/NEWS b/NEWS index e51c91d5..669a9685 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +procps-3.2.9 --> procps-ng-3.3.0 + +Debian, Fedora and openSUSE fork of procps. +https://gitorious.org/procps + procps-3.2.8 --> procps-3.2.9 top: fix an aliasing problem -- thanks David Owen diff --git a/README b/README index fd761349..2ca616a4 100644 --- a/README +++ b/README @@ -10,7 +10,7 @@ INSTALLATION make install Only the second ("make install") is needed if you just - want to build and install procps in the normal way. + want to build and install procps-ng in the normal way. If you wish to test before installing, use the scripts named t, v, and p to ensure that the correct libproc @@ -21,7 +21,7 @@ INSTALLATION make SKIP='/bin/kill /usr/share/man/man1/kill.1' install - Use SHARED=0 to build procps without shared libraries. + Use SHARED=0 to build procps-ng without shared libraries. This may be useful for installing in your home directory. make SHARED=0 DESTDIR=$HOME install @@ -46,7 +46,7 @@ PACKAGING Send patches in regularly. Many patches made by vendors have been buggy, some quite severely so. Sending in a patch will at least get it reviewed, - if not included. There is a procps test suite that must be passed. + if not included. There is a procps-ng test suite that must be passed. Forward all bug reports. If your bug database is public and busy enough to bother with, please make this known. Follow Debian's lead in making the bug database easy to comment on via email w/o need for an account. @@ -54,7 +54,7 @@ PACKAGING Do not change the user interface. Many of the programs are intended to be compatible with Solaris, FreeBSD, AIX, IRIX, Tru64, and the UNIX standard. Your nice new command options WILL BE BROKEN as needed to ensure that - procps remains compatible with the rest of the world. Sysadmins hate to + procps-ng remains compatible with the rest of the world. Sysadmins hate to deal with incompatible behavior. If you need a new option, ask for it. For normal packages, ensure that you do not add debugging flags @@ -67,6 +67,4 @@ PACKAGING BUG REPORTS - Debian users should use the Debian bug tracking system. - Email to albert@users.sf.net or csmall@debian.org or - procps-feedback@lists.sf.net will also work. + Email to procps@freelists.org. diff --git a/TODO b/TODO index 7831ea04..46ac1270 100644 --- a/TODO +++ b/TODO @@ -6,8 +6,8 @@ Implement /usr/proc/bin tools like Solaris has. The prstat command is interesting, like top in batch mode. SCO has a pstat command. -Don't these really belong in the procps package? - killall pstree fuser lsof who +Don't these really belong in the procps-ng package? + killall pstree fuser lsof who (they are maintained elsewhere, which causes version problems) OpenBSD has a pfind command. diff --git a/autogen.sh b/autogen.sh index 6704036d..b842ba0f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,33 +12,33 @@ DIE=0 test -f top.c || { echo - echo "You must run this script in the top-level procps directory" + echo "You must run this script in the top-level procps-ng directory" echo DIE=1 } (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have autoconf installed to generate procps build system." + echo "You must have autoconf installed to generate procps-ng build system." echo DIE=1 } (autoheader --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have autoheader installed to generate procps build system." + echo "You must have autoheader installed to generate procps-ng build system." echo "The autoheader command is part of the GNU autoconf package." echo DIE=1 } (libtool --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have libtool-2 installed to generate procps build system." + echo "You must have libtool-2 installed to generate procps-ng build system." echo DIE=1 } (automake --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have automake installed to generate procps build system." + echo "You must have automake installed to generate procps-ng build system." echo DIE=1 } diff --git a/configure.ac b/configure.ac index 5220f949..4e84ed96 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.64]) AC_CONFIG_MACRO_DIR([m4]) -AC_INIT([procps], +AC_INIT([procps-ng], [3.3.0], [procps@freelists.org],,[http://gitorious.org/procps]) AM_INIT_AUTOMAKE diff --git a/free.c b/free.c index e485f196..d281c95f 100644 --- a/free.c +++ b/free.c @@ -1,6 +1,6 @@ /* * free.c - free(1) - * procps utility to display free memory information + * procps-ng utility to display free memory information * * Mostly new, Sami Kerola 15 Apr 2011 * All new, Robert Love 18 Nov 2002 diff --git a/kill.1 b/kill.1 index df1bdd78..5df66a14 100644 --- a/kill.1 +++ b/kill.1 @@ -103,4 +103,4 @@ Albert Cahalan wrote kill in 1999 to replace a bsdutils one that was not standards compliant. The util-linux one might also work correctly. -Please send bug reports to +Please send bug reports to diff --git a/pgrep.1 b/pgrep.1 index aca84abe..eba694bb 100644 --- a/pgrep.1 +++ b/pgrep.1 @@ -174,7 +174,4 @@ implementation is fully compatible. .SH AUTHOR Kjetil Torgrim Homme -Albert Cahalan is the current maintainer of -the procps package. - -Please send bug reports to +Please send bug reports to diff --git a/pmap.1 b/pmap.1 index 3b6dcc01..9327c6bc 100644 --- a/pmap.1 +++ b/pmap.1 @@ -37,7 +37,5 @@ lB l l. .SH STANDARDS No standards apply, but pmap looks an awful lot like a SunOS command. -.SH AUTHOR -Albert Cahalan wrote pmap in 2002, and is the current -maintainer of the procps collection. Please send bug reports -to . +.SH BUG REPORTS +Please send bug reports to diff --git a/proc/procps.h b/proc/procps.h index a70e9257..42d02b45 100644 --- a/proc/procps.h +++ b/proc/procps.h @@ -78,7 +78,7 @@ #define STRINGIFY_ARG(a) #a #define STRINGIFY(a) STRINGIFY_ARG(a) -// marks old junk, to warn non-procps library users +// marks old junk, to warn non-procps-ng library users #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3 #define OBSOLETE __attribute__((deprecated)) #else diff --git a/proc/version.c b/proc/version.c index 3f084929..8cc2598e 100644 --- a/proc/version.c +++ b/proc/version.c @@ -1,4 +1,4 @@ -/* Suite version information for procps utilities +/* Suite version information for procps-ng utilities * Copyright (c) 1995 Martin Schulze * Ammended by cblake to only export the function symbol. * @@ -18,7 +18,7 @@ void display_version(void) { fprintf(stdout, "%s\n", procps_version); } -/* Linux kernel version information for procps utilities +/* Linux kernel version information for procps-ng utilities * Copyright (c) 1996 Charles Blake */ #include diff --git a/proc/version.h b/proc/version.h index 04a75e94..e7baa971 100644 --- a/proc/version.h +++ b/proc/version.h @@ -3,9 +3,9 @@ #include "procps.h" -/* Suite version information for procps utilities +/* Suite version information for procps-ng utilities * Copyright (c) 1995 Martin Schulze - * Linux kernel version information for procps utilities + * Linux kernel version information for procps-ng utilities * Copyright (c) 1996 Charles Blake * Distributable under the terms of the GNU Library General Public License * diff --git a/procps.lsm b/procps.lsm deleted file mode 100644 index f2b80647..00000000 --- a/procps.lsm +++ /dev/null @@ -1,15 +0,0 @@ -Begin4 -Title: procps -Version: 3.2.7 -Entered-date: 2006-06-25 -Description: Linux system utilities -Keywords: procps /proc libproc sysctl pmap ps uptime tload slabtop - free w top vmstat watch skill snice kill pgrep pkill -Author: Albert Cahalan, Michael K. Johnson, Jim Warner, etc. -Maintained-by: various -Primary-site: http://procps.sf.net/ - 281kB procps-3.2.7.tar.gz -Alternate-site: http://www.debian.org/Packages/unstable/base/procps.html - 281kB procps-3.2.7.tar.gz -Copying-policy: mixed -End diff --git a/procps.spec b/procps.spec deleted file mode 100644 index 5ac1be94..00000000 --- a/procps.spec +++ /dev/null @@ -1,52 +0,0 @@ -URL: http://procps.sf.net/ -Summary: System and process monitoring utilities -Name: procps -%define major_version 3 -%define minor_version 2 -%define revision 8 -%define version %{major_version}.%{minor_version}.%{revision} -Version: %{version} -Release: 1 -License: LGPL, GPL, BSD-like -Group: Applications/System -Source: http://procps.sf.net/procps-%{version}.tar.gz -BuildRoot: %{_tmppath}/procps-root -Packager: - -%description -The procps package contains a set of system utilities which provide -system information. Procps includes ps, free, sysctl, skill, snice, -tload, top, uptime, vmstat, w, and watch. You need some of these. - -%prep -%setup - -%build -make SKIP="/bin/kill /usr/share/man/man1/kill.1" CFLAGS="$RPM_OPT_FLAGS" - -%install -rm -rf $RPM_BUILD_ROOT -make SKIP="/bin/kill /usr/share/man/man1/kill.1" DESTDIR=$RPM_BUILD_ROOT ldconfig=echo install="install -D" lib="$RPM_BUILD_ROOT/%{_lib}/" install - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -# add libproc to the cache -/sbin/ldconfig - -%files -%defattr(0644,root,root,755) -%doc NEWS BUGS TODO COPYING COPYING.LIB README.top README AUTHORS sysctl.conf -%attr(555,root,root) /lib*/libproc*.so* -%attr(555,root,root) /bin/* -%attr(555,root,root) /sbin/* -%attr(555,root,root) /usr/bin/* - -%attr(0644,root,root) /usr/share/man/man1/* -%attr(0644,root,root) /usr/share/man/man5/* -%attr(0644,root,root) /usr/share/man/man8/* - -%changelog -* Fri Apr 14 09:23:45 PDT 2006 Jesse Brandeburg -- fix missing trailing slash in %install to fix builds on x86_64 diff --git a/ps/display.c b/ps/display.c index 035a8840..e2ff1982 100644 --- a/ps/display.c +++ b/ps/display.c @@ -46,7 +46,7 @@ static void signal_handler(int signo){ fprintf(stderr, "\n\n" "Signal %d (%s) caught by ps (%s).\n" - "Please send bug reports to or \n", + "Please send bug reports to \n", signo, signal_number_to_name(signo), procps_version diff --git a/ps/parser.c b/ps/parser.c index 5ad9035c..90ccc21b 100644 --- a/ps/parser.c +++ b/ps/parser.c @@ -1156,7 +1156,7 @@ static const char *thread_option_check(void){ if(thread_flags&(TF_B_m|TF_U_m|TF_B_H)){ // Got a thread style, so format modification is a requirement? // Maybe -T/-L has H thread style though. (sorting interaction?) - //return "Huh? Tell procps-feedback@lists.sf.net what you expected."; + //return "Huh? Tell procps@freelists.org what you expected."; thread_flags |= TF_must_use; }else{ // using -L/-T thread style, so format from elsewhere is OK @@ -1228,7 +1228,7 @@ try_bsd: // out the friendly warning. Cut-over is likely to be in 2005. if(!(personality & PER_FORCE_BSD)) fprintf(stderr, "Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html\n"); - // Remember: contact albert@users.sf.net or procps-feedback@lists.sf.net + // Remember: contact procps@freelists.org // if you should feel tempted. Be damn sure you understand all // the issues. The same goes for other stuff too, BTW. Please ask. // I'm happy to justify various implementation choices. diff --git a/ps/ps.1 b/ps/ps.1 index 6ce6e0f2..d3362a77 100644 --- a/ps/ps.1 +++ b/ps/ps.1 @@ -643,13 +643,13 @@ Print debugging info. List all format specifiers. .opt V -Print the procps version. +Print the procps-ng version. .opt \-V -Print the procps version. +Print the procps-ng version. .opt \-\-version -Print the procps version. +Print the procps-ng version. .\" """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .PD @@ -1534,5 +1534,5 @@ Mossberger\-Tang wrote the generic BFD support for psupdate. Albert Cahalan rewrote ps for full Unix98 and BSD support, along with some ugly hacks for obsolete and foreign syntax. -Please send bug reports to . +Please send bug reports to . No\ subscription is required or suggested. diff --git a/ps/sortformat.c b/ps/sortformat.c index 80427e55..36d5d435 100644 --- a/ps/sortformat.c +++ b/ps/sortformat.c @@ -800,7 +800,7 @@ const char *process_sf_options(int localbroken){ // with sorting. Do the threads remain grouped, with sorting // by process, or do the threads get sorted by themselves? if(sort_list && (thread_flags&TF_no_sort)){ - return "Tell procps-feedback@lists.sf.net what you expected."; + return "Tell procps@freelists.org what you expected."; } // If nothing else, try to use $PS_FORMAT before the default. @@ -810,7 +810,7 @@ const char *process_sf_options(int localbroken){ if(tmp && *tmp){ const char *err; sf_node sfn; - if(thread_flags&TF_must_use) return "Tell procps-feedback@sf.net what you want. (-L/-T, -m/m/H, and $PS_FORMAT)"; + if(thread_flags&TF_must_use) return "Tell procps@freelists.org what you want. (-L/-T, -m/m/H, and $PS_FORMAT)"; sfn.sf = tmp; sfn.f_cooked = NULL; err = format_parse(&sfn); diff --git a/pwdx.1 b/pwdx.1 index 728157d5..8491fefa 100644 --- a/pwdx.1 +++ b/pwdx.1 @@ -34,4 +34,4 @@ No standards apply, but pwdx looks an awful lot like a SunOS command. .SH AUTHOR Nicholas Miell wrote pwdx in 2004. Please send bug -reports to . +reports to diff --git a/skill.1 b/skill.1 index bc4846f6..9289cc19 100644 --- a/skill.1 +++ b/skill.1 @@ -124,5 +124,6 @@ No standards apply. .SH AUTHOR Albert Cahalan wrote skill and snice in 1999 as a -replacement for a non-free version, and is the current maintainer of the -procps collection. Please send bug reports to . +replacement for a non-free version. + +Please send bug reports to . diff --git a/slabtop.1 b/slabtop.1 index 7e27980b..08d8ec5e 100644 --- a/slabtop.1 +++ b/slabtop.1 @@ -1,4 +1,4 @@ -.\" slabtop.1 - manpage for the slabtop(1) utility, part of procps +.\" slabtop.1 - manpage for the slabtop(1) utility, part of procps-ng .\" .\" Copyright (C) 2003 Chris Rivera .\" Licensed under the terms of the GNU Library General Public License, v2 @@ -124,6 +124,4 @@ Written by Chris Rivera and Robert Love. .B slabtop was inspired by Martin Bligh's perl script, .BR vmtop . -The procps package is maintained by Albert Cahalan . - -Please send bug reports to . +Please send bug reports to . diff --git a/uptime.1 b/uptime.1 index a3da7c7c..c635f950 100644 --- a/uptime.1 +++ b/uptime.1 @@ -39,7 +39,7 @@ process information was written by Larry Greenfield and Michael K. Johnson . -Please send bug reports to +Please send bug reports to .SH "SEE ALSO" .BR ps (1), .BR top (1), diff --git a/w.1 b/w.1 index 0238baf0..d35be87c 100644 --- a/w.1 +++ b/w.1 @@ -81,4 +81,4 @@ was re-written almost entirely by Charles Blake, based on the version by Larry Greenfield and Michael K. Johnson . -Please send bug reports to +Please send bug reports to