rpms/chkrootkit/devel chkrootkit-0.47-warnings.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 chkrootkit.spec, 1.15, 1.16 sources, 1.5, 1.6 chkrootkit-0.46a-warnings.patch, 1.1, NONE

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri Oct 20 12:47:42 UTC 2006


Author: mschwendt

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

Modified Files:
	.cvsignore chkrootkit.spec sources 
Added Files:
	chkrootkit-0.47-warnings.patch 
Removed Files:
	chkrootkit-0.46a-warnings.patch 
Log Message:
* Fri Oct 20 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.47-1
- Update to 0.47.
- mark PAM and consolehelper files in /etc as config


chkrootkit-0.47-warnings.patch:

--- NEW FILE chkrootkit-0.47-warnings.patch ---
diff -Nur chkrootkit-0.47-orig/chklastlog.c chkrootkit-0.47/chklastlog.c
--- chkrootkit-0.47-orig/chklastlog.c	2006-02-11 18:02:48.000000000 +0100
+++ chkrootkit-0.47/chklastlog.c	2006-10-20 14:31:43.000000000 +0200
@@ -164,7 +164,7 @@
             {
                 if (*uid > MAX_ID)
                 {
-                   fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid );
+                    fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", (long int)MAX_ID, (long int)*uid );
                    exit (1);
 
                 }
diff -Nur chkrootkit-0.47-orig/chkproc.c chkrootkit-0.47/chkproc.c
--- chkrootkit-0.47-orig/chkproc.c	2006-07-25 16:55:21.000000000 +0200
+++ chkrootkit-0.47/chkproc.c	2006-10-20 14:34:12.000000000 +0200
@@ -180,10 +180,8 @@
    if (pv < 1 || pv > PS_MAX)
       pv = 1;
    pscmd = ps_cmds[pv];
-/*  printf("pv = %d\n\r", pv); /* -- DEBUG */
 #endif
 
-/* printf("pscmd = %s\n\r", pscmd); /* -- DEBUG */ 
    if (!(ps = popen(pscmd, "r")))
    {
        perror("ps");
@@ -228,7 +226,6 @@
           p++;
       while (isspace(*p)) /* Skip spaces */
           p++;
-/*  printf(">>%s<<\n", p);  /* -- DEBUG */
       ret = atol(p);
       if ( ret < 0 || ret > MAX_PROCESSES )
       {
@@ -263,7 +260,6 @@
       }
 #endif
 
-/*      printf("%s\n", tmp_d_name); /* -- DEBUG */
       dirproc[atol(tmp_d_name)] = 1;
    }
    closedir(proc);


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	10 Nov 2005 21:17:14 -0000	1.5
+++ .cvsignore	20 Oct 2006 12:47:12 -0000	1.6
@@ -1 +1,2 @@
-chkrootkit-0.46a.tar.gz
+chkrootkit-0.47.tar.gz
+chkrootkit-0.47.tar.gz.sig


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/devel/chkrootkit.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- chkrootkit.spec	28 Aug 2006 00:12:08 -0000	1.15
+++ chkrootkit.spec	20 Oct 2006 12:47:12 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           chkrootkit
-Version:        0.46a
-Release: 3%{?dist}
+Version:        0.47
+Release: 1%{?dist}
 Summary:        Tool to locally check for signs of a rootkit
 Group:          Applications/System
 License:        BSD-like
@@ -14,7 +14,7 @@
 Patch1:         chkrootkit-0.44-getCMD.patch
 Patch2:         chkrootkit-0.44-inetd.patch
 Patch3:         chkrootkit-0.45-includes.patch
-Patch4:         chkrootkit-0.46a-warnings.patch
+Patch4:         chkrootkit-0.47-warnings.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -100,14 +100,18 @@
 %{_sbindir}/chkrootkit
 %{_bindir}/chkrootkit
 %{_bindir}/chkrootkitX
-%{_sysconfdir}/pam.d/chkrootkit
-%{_sysconfdir}/security/console.apps/chkrootkit
+%config(noreplace) %{_sysconfdir}/pam.d/chkrootkit
+%config(noreplace) %{_sysconfdir}/security/console.apps/chkrootkit
 %{_libdir}/%{name}-%{version}
 %{_datadir}/applications/fedora-chkrootkit.desktop
 %{_datadir}/pixmaps/chkrootkit.png
 
 
 %changelog
+* Fri Oct 20 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.47-1
+- Update to 0.47.
+- mark PAM and consolehelper files in /etc as config
+
 * Mon Aug 28 2006 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	10 Nov 2005 21:17:14 -0000	1.5
+++ sources	20 Oct 2006 12:47:12 -0000	1.6
@@ -1 +1,2 @@
-b73fb9e365d2edcd031d65b16e965a18  chkrootkit-0.46a.tar.gz
+4c6455d202cef35395a673386e4bf01a  chkrootkit-0.47.tar.gz
+39d898c13e094d884237f7ad9f343895  chkrootkit-0.47.tar.gz.sig


--- chkrootkit-0.46a-warnings.patch DELETED ---




More information about the scm-commits mailing list