devel/chkrootkit chkrootkit-0.45-includes.patch, NONE, 1.1 chkrootkit.spec, 1.8, 1.9

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Mar 17 17:37:49 UTC 2005


Author: mschwendt

Update of /cvs/extras/devel/chkrootkit
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20246

Modified Files:
	chkrootkit.spec 
Added Files:
	chkrootkit-0.45-includes.patch 
Log Message:
- Make GCC4 shut up by including more C headers in chkproc.c/chkwtmp.c



chkrootkit-0.45-includes.patch:

--- NEW FILE chkrootkit-0.45-includes.patch ---
diff -Nur chkrootkit-0.45-orig/chkproc.c chkrootkit-0.45/chkproc.c
--- chkrootkit-0.45-orig/chkproc.c	2004-09-13 20:39:29.000000000 +0200
+++ chkrootkit-0.45/chkproc.c	2005-03-17 16:48:48.000000000 +0100
@@ -48,6 +48,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <signal.h>
+#include <string.h>
 #if defined(__sun)
 #include <procfs.h>
 #include <fcntl.h>
diff -Nur chkrootkit-0.45-orig/chkwtmp.c chkrootkit-0.45/chkwtmp.c
--- chkrootkit-0.45-orig/chkwtmp.c	2004-09-06 21:24:56.000000000 +0200
+++ chkrootkit-0.45/chkwtmp.c	2005-03-17 16:49:01.000000000 +0100
@@ -17,7 +17,7 @@
    Nelson Murilo, nelson at pangeia.com.br
 */
 
-
+#include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/extras/devel/chkrootkit/chkrootkit.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- chkrootkit.spec	3 Mar 2005 20:08:36 -0000	1.8
+++ chkrootkit.spec	17 Mar 2005 17:37:47 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           chkrootkit
 Version:        0.45
-Release:        1
+Release:        2
 Summary:        Tool to locally check for signs of a rootkit
 
 Group:          Applications/System
@@ -14,6 +14,7 @@
 Source5:        chkrootkit.pam
 Patch1:         chkrootkit-0.44-getCMD.patch
 Patch2:         chkrootkit-0.44-inetd.patch
+Patch3:         chkrootkit-0.45-includes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -39,6 +40,7 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1 -b .getCMD
 %patch2 -p1 -b .inetd
+%patch3 -p1 -b .includes
 
 
 %build
@@ -104,6 +106,9 @@
 
 
 %changelog
+* Thu Mar 17 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.45-2
+- Make GCC4 shut up by including more C headers in chkproc.c/chkwtmp.c
+
 * Thu Feb 24 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.45-1
 - Update to 0.45, trim description.
 




More information about the fedora-extras-commits mailing list