rpms/chkrootkit/EL-5 chkrootkit-0.49-chkproc-psver.patch, NONE, 1.1 chkrootkit-0.49-chkutmp-outofbounds.patch, NONE, 1.1 chkrootkit-0.49-nophpcheck.patch, NONE, 1.1 chkrootkit-0.49-warnings.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 chkrootkit.desktop, 1.1, 1.2 chkrootkit.spec, 1.20, 1.21 sources, 1.10, 1.11

Manuel Wolfshant wolfy at fedoraproject.org
Fri Jul 2 08:45:53 UTC 2010


Author: wolfy

Update of /cvs/pkgs/rpms/chkrootkit/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12863

Modified Files:
	.cvsignore chkrootkit.desktop chkrootkit.spec sources 
Added Files:
	chkrootkit-0.49-chkproc-psver.patch 
	chkrootkit-0.49-chkutmp-outofbounds.patch 
	chkrootkit-0.49-nophpcheck.patch 
	chkrootkit-0.49-warnings.patch 
Log Message:
- sync with rawhide. includes the following changes:
    Thu Mar 18 2010 Jon Ciesla <limb at jcomserv.net> 0.49-1
  - New upstream, including upstreamed patches.



chkrootkit-0.49-chkproc-psver.patch:
 chkproc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE chkrootkit-0.49-chkproc-psver.patch ---
--- chkproc.c~	2009-07-30 07:38:20.000000000 -0500
+++ chkproc.c	2010-03-18 17:00:23.953071633 -0500
@@ -146,7 +146,7 @@
    psinfo_t psbuf;
 #endif
 
-   pv = verbose = 0;
+   pv = 3; verbose = 0;
 
    if (!proc)
    {

chkrootkit-0.49-chkutmp-outofbounds.patch:
 chkutmp.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE chkrootkit-0.49-chkutmp-outofbounds.patch ---
--- chkutmp.c~	2009-07-22 08:09:41.000000000 -0500
+++ chkutmp.c	2009-07-22 08:11:17.000000000 -0500
@@ -60,3 +60,3 @@
-    char ps_tty[UT_LINESIZE];
-    char ps_user[UT_NAMESIZE];
-    char ps_args[MAXLENGTH];
+    char ps_tty[UT_LINESIZE+2];
+    char ps_user[UT_NAMESIZE+2];
+    char ps_args[MAXLENGTH+2];
@@ -66 +66 @@
-    char ut_tty[UT_LINESIZE];
+    char ut_tty[UT_LINESIZE+2];

chkrootkit-0.49-nophpcheck.patch:
 chkrootkit |   19 -------------------
 1 file changed, 19 deletions(-)

--- NEW FILE chkrootkit-0.49-nophpcheck.patch ---
--- chkrootkit~	2010-03-18 16:56:19.000000000 -0500
+++ chkrootkit	2010-03-18 16:57:56.887321601 -0500
@@ -1126,25 +1126,6 @@
    fi
 
    ###
-   ### Suspect PHP files
-   ###
-   if [ "${QUIET}" != "t" ]; then
-      printn "Searching for suspect PHP files... "; fi
-      files="`${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -name '*.php' 2> /dev/null`"
-if [ `echo abc | head -n 1` = "abc" ]; then
-      fileshead="`${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -type f -exec head -n 1 {} \; | $egrep '#!.*php' 2> /dev/null`"
-else
-      fileshead="`${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -type f -exec head -1 {} \; | grep '#!.*php' 2> /dev/null`"
-fi
-   if [ "${files}" = "" -a "${fileshead}" = "" ]; then
-      if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi
-   else
-     echo
-     echo "${files}"
-     echo "${fileshead}"
-   fi
-
-   ###
    ### shell history anomalies
    ###
    if [ "${QUIET}" != "t" ]; then \

chkrootkit-0.49-warnings.patch:
 chkrootkit-0.47/chkproc.c |    2 --
 chkrootkit-0.48/chkdirs.c |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

--- NEW FILE chkrootkit-0.49-warnings.patch ---
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");
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
@@ -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: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/EL-5/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- .cvsignore	2 Oct 2009 20:53:32 -0000	1.10
+++ .cvsignore	2 Jul 2010 08:45:53 -0000	1.11
@@ -1,2 +1 @@
-chkrootkit-0.48.tar.gz
-chkrootkit-0.48.tar.gz.sig
+chkrootkit-0.49.tar.gz


Index: chkrootkit.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/EL-5/chkrootkit.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- chkrootkit.desktop	8 Nov 2004 04:09:04 -0000	1.1
+++ chkrootkit.desktop	2 Jul 2010 08:45:53 -0000	1.2
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Encoding=UTF-8
 Name=chkrootkit
-Comment=locally check for signs of a rootkit
-Icon=chkrootkit.png
+Comment=Locally check for signs of a rootkit
+Icon=chkrootkit
 Exec=chkrootkitX
 Terminal=true
 Type=Application


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/EL-5/chkrootkit.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- chkrootkit.spec	2 Oct 2009 20:32:57 -0000	1.20
+++ chkrootkit.spec	2 Jul 2010 08:45:53 -0000	1.21
@@ -1,6 +1,6 @@
 Name:           chkrootkit
-Version:        0.48
-Release:        14%{?dist}
+Version:        0.49
+Release:        1%{?dist}
 Summary:        Tool to locally check for signs of a rootkit
 Group:          Applications/System
 License:        BSD and GPLv2+ and Python
@@ -14,13 +14,13 @@ Source5:        chkrootkit.pam
 Source6:        README.false_positives
 Patch1:         chkrootkit-0.44-getCMD.patch
 Patch2:         chkrootkit-0.44-inetd.patch
-Patch3:         chkrootkit-0.45-includes.patch
-Patch4:         chkrootkit-0.47-warnings.patch
+#Patch3:         chkrootkit-0.45-includes.patch
+#Patch4:         chkrootkit-0.49-warnings.patch
 Patch6:         chkrootkit-0.47-chklastlog.patch
-Patch7:         chkrootkit-0.48-anomalies.patch
-Patch8:         chkrootkit-0.48-nophpcheck.patch
-Patch9:         chkrootkit-0.48-chkproc-psver.patch
-Patch10:	chkrootkit-0.48-chkutmp-outofbounds.patch
+#Patch7:         chkrootkit-0.48-anomalies.patch
+Patch8:         chkrootkit-0.49-nophpcheck.patch
+Patch9:         chkrootkit-0.49-chkproc-psver.patch
+Patch10:	chkrootkit-0.49-chkutmp-outofbounds.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -51,12 +51,12 @@ It contains:
 %setup -q -n %{name}-%{version}
 %patch1 -p1 -b .getCMD
 %patch2 -p1 -b .inetd
-%patch3 -p1 -b .includes
-%patch4 -p1 -b .warnings
+#%patch3 -p1 -b .includes
+#%patch4 -p1 -b .warnings
 %patch6 -p1 -b .chklastlog
-%patch7 -p1 -b .anomalies
-%patch8 -p1 -b .nophpcheck
-%patch9 -p1 -b .chkproc-psver
+#%patch7 -p1 -b .anomalies
+%patch8 -p0 -b .nophpcheck
+%patch9 -p0 -b .chkproc-psver
 %patch10 -p0
 sed -i -e 's!\s\+ at strip.*!!g' Makefile
 
@@ -102,7 +102,6 @@ ln -s strings-static ${RPM_BUILD_ROOT}%{
 
 desktop-file-install --vendor fedora                   \
   --dir ${RPM_BUILD_ROOT}%{_datadir}/applications      \
-  --add-category X-Fedora                              \
   %{SOURCE3}
 
 install -p -m0644 %{SOURCE6} .
@@ -126,6 +125,11 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Fri Jul 02 2010 Manuel "lonely wolf" Wolfshant <wolfy at fedoraproject.org> - 0.49 -1
+- sync with rawhide. includes the following changes:
+    Thu Mar 18 2010 Jon Ciesla <limb at jcomserv.net> 0.49-1
+  - New upstream, including upstreamed patches.
+
 * Fri Oct 02 2009 Manuel "lonely wolf" Wolfshant <wolfy at fedoraproject.org> - 0.48-14
 - sync with rawhide. includes the following changes:
     Wed Jul 22 2009 Jon Ciesla <limb at jcomserv.net> 0.48-13


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/EL-5/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- sources	2 Oct 2009 20:53:33 -0000	1.10
+++ sources	2 Jul 2010 08:45:53 -0000	1.11
@@ -1,2 +1 @@
-de8b8b5013e7faa2b66c0e33c59677e8  chkrootkit-0.48.tar.gz
-b98238251eda3c743c97e1d0ac8dd598  chkrootkit-0.48.tar.gz.sig
+304d840d52840689e0ab0af56d6d3a18  chkrootkit-0.49.tar.gz



More information about the scm-commits mailing list