first 3.0.4 thing: ELF note warning
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -18,9 +18,9 @@
 | 
			
		||||
 | 
			
		||||
VERSION      := 3
 | 
			
		||||
SUBVERSION   := 0
 | 
			
		||||
MINORVERSION := 3
 | 
			
		||||
TARVERSION   := 3.0.3
 | 
			
		||||
LIBVERSION   := 3.0.3
 | 
			
		||||
MINORVERSION := 4
 | 
			
		||||
TARVERSION   := 3.0.4
 | 
			
		||||
LIBVERSION   := 3.0.4
 | 
			
		||||
 | 
			
		||||
############ vars
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -106,7 +106,7 @@ MINORVERSION = $(shell awk '/^%define revision/ { print $$3 }' < procps.spec)
 | 
			
		||||
# Note: LIBVERSION may be less than $(VERSION).$(SUBVERSION).$(MINORVERSION)
 | 
			
		||||
# LIBVERSION is only set to current $(VERSION).$(SUBVERSION).$(MINORVERSION)
 | 
			
		||||
# when an incompatible change is made in libproc.
 | 
			
		||||
LIBVERSION   =  3.0.3
 | 
			
		||||
LIBVERSION   =  3.0.4
 | 
			
		||||
ifdef MINORVERSION
 | 
			
		||||
LIBPROCPASS  =  SHARED=$(SHARED) SHLIBDIR=$(SHLIBDIR) VERSION=$(VERSION) SUBVERSION=$(SUBVERSION) MINORVERSION=$(MINORVERSION) LIBVERSION=$(LIBVERSION)
 | 
			
		||||
else
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								NEWS
									
									
									
									
									
								
							@@ -1,3 +1,7 @@
 | 
			
		||||
procps-3.0.3 --> procps-3.0.4
 | 
			
		||||
 | 
			
		||||
only Linux 2.4.0 supply the ELF note
 | 
			
		||||
 | 
			
		||||
procps-3.0.2 --> procps-3.0.3
 | 
			
		||||
 | 
			
		||||
more "make install" fixes
 | 
			
		||||
 
 | 
			
		||||
@@ -127,7 +127,6 @@ static void old_Hertz_hack(void){
 | 
			
		||||
  unsigned h;
 | 
			
		||||
  char *savelocale;
 | 
			
		||||
 | 
			
		||||
  fprintf(stderr, "ELF note not found - report to albert@users.sf.net\n");
 | 
			
		||||
  savelocale = setlocale(LC_NUMERIC, NULL);
 | 
			
		||||
  setlocale(LC_NUMERIC, "C");
 | 
			
		||||
  do{
 | 
			
		||||
@@ -195,8 +194,12 @@ static void init_libproc(void){
 | 
			
		||||
  smp_num_cpus = sysconf(_SC_NPROCESSORS_CONF); // or _SC_NPROCESSORS_ONLN
 | 
			
		||||
  if(smp_num_cpus<1) smp_num_cpus=1; /* SPARC glibc is buggy */
 | 
			
		||||
 | 
			
		||||
  Hertz = find_elf_note(AT_CLKTCK);
 | 
			
		||||
  if(Hertz==42) old_Hertz_hack();
 | 
			
		||||
  if(linux_version_code > LINUX_VERSION(2, 4, 0)){ 
 | 
			
		||||
    Hertz = find_elf_note(AT_CLKTCK);
 | 
			
		||||
    if(Hertz!=42) return;
 | 
			
		||||
    fprintf(stderr, "2.4 kernel w/o ELF notes? -- report to albert@users.sf.net\n");
 | 
			
		||||
  }
 | 
			
		||||
  old_Hertz_hack();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/***********************************************************************
 | 
			
		||||
 
 | 
			
		||||
@@ -1,15 +1,15 @@
 | 
			
		||||
Begin4
 | 
			
		||||
Title: procps
 | 
			
		||||
Version: 3.0.3
 | 
			
		||||
Entered-date: 2002-10-14
 | 
			
		||||
Version: 3.0.4
 | 
			
		||||
Entered-date: 2002-10-15
 | 
			
		||||
Description: Linux system utilities
 | 
			
		||||
Keywords: procps /proc libproc sysctl
 | 
			
		||||
	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/
 | 
			
		||||
	230kB procps-3.0.3.tar.gz
 | 
			
		||||
	230kB procps-3.0.4.tar.gz
 | 
			
		||||
Alternate-site: http://www.debian.org/Packages/unstable/base/procps.html
 | 
			
		||||
	230kB procps-3.0.3.tar.gz
 | 
			
		||||
	230kB procps-3.0.4.tar.gz
 | 
			
		||||
Copying-policy: mixed
 | 
			
		||||
End
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ Summary: Utilities for monitoring your system and processes on your system.
 | 
			
		||||
Name: procps
 | 
			
		||||
%define major_version 3
 | 
			
		||||
%define minor_version 0
 | 
			
		||||
%define revision 3
 | 
			
		||||
%define revision 4
 | 
			
		||||
%define version %{major_version}.%{minor_version}.%{revision}
 | 
			
		||||
Version: %{version}
 | 
			
		||||
Release: 1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user