rpms/chkrootkit/F-7 chkrootkit-0.45-includes.patch, 1.1, 1.2 chkrootkit-0.47-warnings.patch, 1.1, 1.2 chkrootkit.spec, 1.26, 1.27
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Tue Feb 12 09:52:11 UTC 2008
Author: mschwendt
Update of /cvs/extras/rpms/chkrootkit/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2866/F-7
Modified Files:
chkrootkit-0.45-includes.patch chkrootkit-0.47-warnings.patch
chkrootkit.spec
Log Message:
- Initialise two variables in chkdirs.c to silence compiler.
chkrootkit-0.45-includes.patch:
Index: chkrootkit-0.45-includes.patch
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/F-7/chkrootkit-0.45-includes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- chkrootkit-0.45-includes.patch 17 Mar 2005 17:37:47 -0000 1.1
+++ chkrootkit-0.45-includes.patch 12 Feb 2008 09:51:27 -0000 1.2
@@ -21,3 +21,15 @@
#include <stdio.h>
#include <unistd.h>
#include <string.h>
+diff -Nur chkrootkit-0.48-orig/strings.c chkrootkit-0.48/strings.c
+--- chkrootkit-0.48-orig/strings.c 2006-10-18 20:00:29.000000000 +0200
++++ chkrootkit-0.48/strings.c 2008-02-12 10:29:10.000000000 +0100
+@@ -10,7 +10,7 @@
+ */
+
+ #include <stdio.h>
+-#include <strings.h>
++#include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <ctype.h>
chkrootkit-0.47-warnings.patch:
Index: chkrootkit-0.47-warnings.patch
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/F-7/chkrootkit-0.47-warnings.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- chkrootkit-0.47-warnings.patch 20 Oct 2006 12:47:12 -0000 1.1
+++ chkrootkit-0.47-warnings.patch 12 Feb 2008 09:51:27 -0000 1.2
@@ -40,3 +40,24 @@
dirproc[atol(tmp_d_name)] = 1;
}
closedir(proc);
+diff -Nur chkrootkit-0.48-orig/chkdirs.c chkrootkit-0.48/chkdirs.c
+--- chkrootkit-0.48-orig/chkdirs.c 2007-08-10 23:22:52.000000000 +0200
++++ chkrootkit-0.48/chkdirs.c 2008-02-12 10:36:40.000000000 +0100
+@@ -60,7 +60,7 @@
+
+ char *make_pathname (char *path, char *dir, char **buffer)
+ {
+- int plen, pathname_len, bufsize, offs;
++ int plen, pathname_len, bufsize = 0, offs;
+
+ plen = strlen(path);
+ pathname_len = plen + strlen(dir) + 2;
+@@ -237,7 +237,7 @@
+ int main (int argc, char **argv)
+ {
+ int norecurse = 0;
+- int i, retval;
++ int i, retval = 1;
+ char c;
+
+ opterr = 0;
Index: chkrootkit.spec
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/F-7/chkrootkit.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- chkrootkit.spec 12 Feb 2008 09:17:48 -0000 1.26
+++ chkrootkit.spec 12 Feb 2008 09:51:27 -0000 1.27
@@ -1,6 +1,6 @@
Name: chkrootkit
Version: 0.48
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Tool to locally check for signs of a rootkit
Group: Applications/System
License: BSD-like
@@ -115,8 +115,9 @@
%changelog
-* Tue Feb 12 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 0.48-4
+* Tue Feb 12 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 0.48-5
- Fix the empty warning of the shell history files anomalies check.
+- Initialise two variables in chkdirs.c to silence compiler.
* Fri Feb 08 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 0.48-3
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
More information about the fedora-extras-commits
mailing list