satisfy GPL section 2a and LGPL section 2b name+date requirement

This commit is contained in:
albert 2002-12-15 00:30:17 +00:00
parent 19574230de
commit 3e67b58ec2
35 changed files with 82 additions and 59 deletions

View File

@ -3,6 +3,7 @@ procps-3.1.3 --> procps-3.1.4
top: was trashing every "3" in a command name
top: when killing a process, the PID was cut at a "3"
top: more reliable %CPU
update copyright dates (GPL & LGPL require this)
procps-3.1.2 --> procps-3.1.3

1
NEWS
View File

@ -3,6 +3,7 @@ procps-3.1.3 --> procps-3.1.4
top: was trashing every "3" in a command name
top: when killing a process, the PID was cut at a "3"
top: more reliable %CPU
update copyright dates (GPL & LGPL require this)
procps-3.1.2 --> procps-3.1.3

View File

@ -6,6 +6,9 @@
*
* May be distributed under the conditions of the
* GNU General Public License; a copy is in COPYING
*
* Changes by Albert Cahalan, 2002.
*
*/

2
pmap.c
View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights reserved.
* Copyright 2002 by Albert Cahalan; all rights reserved.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,10 +1,10 @@
/***********************************************************************\
* Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com *
* *
* This file is placed under the conditions of the GNU Library *
* General Public License, version 2, or any later version. *
* See file COPYING for information on distribution conditions. *
\***********************************************************************/
// Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com
// Copyright 2002 Albert Cahalan
//
// This file is placed under the conditions of the GNU Library
// General Public License, version 2, or any later version.
// See file COPYING for information on distribution conditions.
#include <stdlib.h>
#include <stdio.h>
#include "alloc.h"

View File

@ -5,6 +5,7 @@
* under the conditions of the GNU Library General Public License.
* See the file COPYING for details.
*
* Copyright 2002 Albert Cahalan
*/
#include <string.h> /* for strcmp */

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights reserved.
* Copyright 1998-2002 by Albert Cahalan; all rights reserved.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,7 +1,8 @@
/*
Some output conversion routines for libproc
Copyright (C) 1996, Charles Blake. See COPYING for details.
*/
// Some output conversion routines for libproc
// Copyright (C) 1996, Charles Blake. See COPYING for details.
//
// Copyright 2002, Albert Cahalan
#include <stdio.h>
#include <ctype.h>
#include <string.h>

View File

@ -1,10 +1,11 @@
/***********************************************************************\
* Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com *
* *
* This file is placed under the conditions of the GNU Library *
* General Public License, version 2, or any later version. *
* See file ../COPYING for information on distribution conditions. *
\***********************************************************************/
// Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com
// Note: most likely none of his code remains
//
// Copyright 2002, Albert Cahalan
//
// This file is placed under the conditions of the GNU Library
// General Public License, version 2, or any later version.
// See file COPYING for information on distribution conditions.
#include <stdio.h>
#include <sys/types.h>

View File

@ -2,6 +2,7 @@
* New Interface to Process Table -- PROCTAB Stream (a la Directory streams)
* Copyright (C) 1996 Charles L. Blake.
* Copyright (C) 1998 Michael K. Johnson
* Copyright 1998-2002 Albert Cahalan
* May be distributed under the conditions of the
* GNU Library General Public License; a copy is in COPYING
*/

View File

@ -2,8 +2,9 @@
#define PROCPS_PROC_READPROC_H
/*
* New Interface to Process Table -- PROCTAB Stream (a la Directory streams)
* Copyright (C) 1996 Charles L. Blake.
* Copyright (C) 1998 Michael K. Johnson
* Copyright 1996 Charles L. Blake.
* Copyright 1998 Michael K. Johnson
* Copyright 1998-2002 Albert Cahalan
* May be distributed under the terms of the
* GNU Library General Public License, a copy of which is provided
* in the file COPYING

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,7 +1,7 @@
#ifndef PROC_SIG_H
#define PROC_SIG_H
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,11 +1,9 @@
/***********************************************************************\
* Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com *
* *
* This file is placed under the conditions of the GNU Library *
* General Public License, version 2, or any later version. *
* See file COPYING for information on distribution conditions. *
\***********************************************************************/
// Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com
// Copyright 2002 Albert Cahalan
//
// This file is placed under the conditions of the GNU Library
// General Public License, version 2, or any later version.
// See file COPYING for information on distribution conditions.
#include "procps.h"
#include "readproc.h"

View File

@ -1,10 +1,9 @@
/***********************************************************************\
* Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com *
* *
* This file is placed under the conditions of the GNU Library *
* General Public License, version 2, or any later version. *
* See file COPYING for information on distribution conditions. *
\***********************************************************************/
// Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com
// Copyright 1998-2002 Albert Cahalan
//
// This file is placed under the conditions of the GNU Library
// General Public License, version 2, or any later version.
// See file COPYING for information on distribution conditions.
/* File for parsing top-level /proc entities. */

View File

@ -1,6 +1,9 @@
/* Suite version information for procps utilities
* Copyright (c) 1995 Martin Schulze <joey@infodrom.north.de>
* Ammended by cblake to only export the function symbol.
*
* Modified by Albert Cahalan
*
* Redistributable under the terms of the
* GNU Library General Public License; see COPYING
*/

View File

@ -8,6 +8,8 @@
* Linux kernel version information for procps utilities
* Copyright (c) 1996 Charles Blake <cblake@bbn.com>
* Distributable under the terms of the GNU Library General Public License
*
* Copyright 2002 Albert Cahalan
*/
EXTERN_C_BEGIN

View File

@ -1,15 +1,15 @@
Begin4
Title: procps
Version: 3.1.3
Entered-date: 2002-12-11
Version: 3.1.4
Entered-date: 2002-12-14
Description: Linux system utilities
Keywords: procps /proc libproc sysctl pmap
ps uptime tload free w top vmstat watch skill snice kill pgrep pkill
Author: Albert Cahalan, Michael K. Johnson, Jim Warner, etc.
Maintained-by: various <procps-feedback@lists.sf.net>
Primary-site: http://procps.sf.net/
236kB procps-3.1.3.tar.gz
236kB procps-3.1.4.tar.gz
Alternate-site: http://www.debian.org/Packages/unstable/base/procps.html
236kB procps-3.1.3.tar.gz
236kB procps-3.1.4.tar.gz
Copying-policy: mixed
End

View File

@ -3,7 +3,7 @@ Summary: System and process monitoring utilities
Name: procps
%define major_version 3
%define minor_version 1
%define revision 3
%define revision 4
%define version %{major_version}.%{minor_version}.%{revision}
Version: %{version}
Release: 1

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights reserved.
* Copyright 1998-2002 by Albert Cahalan; all rights reserved.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1999 by Albert Cahalan; all rights resered.
* Copyright 1999-2002 by Albert Cahalan; all rights reserved.
*
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights reserved.
* Copyright 1998-2002 by Albert Cahalan; all rights reserved.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* Copyright 1998-2002 by Albert Cahalan; all rights resered.
* This file may be used subject to the terms and conditions of the
* GNU Library General Public License Version 2, or any later version
* at your option, as published by the Free Software Foundation.

View File

@ -15,6 +15,8 @@
* Changelog:
* v1.01:
* - added -p <preload> to preload values from a file
*
* Changes by Albert Cahalan, 2002.
*/

6
top.c
View File

@ -12,10 +12,12 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*/
/* For their contributions to this program, the author wishes to thank:
*
* For their contributions to this program, the author wishes to thank:
* Albert D. Cahalan, <albert@users.sf.net>
* Craig Small, <csmall@small.dropbear.id.au>
*
* Changes by Albert Cahalan, 2002.
*/
#include <sys/ioctl.h>
#include <sys/resource.h>

7
top.h
View File

@ -12,11 +12,14 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*/
/* For their contributions to this program, the author wishes to thank:
*
* For their contributions to this program, the author wishes to thank:
* Albert D. Cahalan, <albert@users.sf.net>
* Craig Small, <csmall@small.dropbear.id.au>
*
* Changes by Albert Cahalan, 2002.
*/
#ifndef _Itop
#define _Itop

2
w.c
View File

@ -2,6 +2,8 @@
* scratch by Charles Blake circa June 1996. Some vestigal traces of the
* original may exist. That was done in 1993 by Larry Greenfield with some
* fixes by Michael K. Johnson.
*
* Changes by Albert Cahalan, 2002.
*/
#include "proc/version.h"
#include "proc/whattime.h"

View File

@ -6,6 +6,8 @@
* Substantially reworked, new features (differences option, SIGWINCH
* handling, unlimited command length, long line handling) added Apr 1999 by
* Mike Coleman <mkc@acm.org>.
*
* Changes by Albert Cahalan, 2002.
*/
#define VERSION "0.2.0"