rpms/chkrootkit/EL-5 chkrootkit-0.48-anomalies.patch, NONE, 1.1 chkrootkit-0.48-nophpcheck.patch, NONE, 1.1

Manuel Wolfshant (wolfy) fedora-extras-commits at redhat.com
Wed Apr 16 23:49:38 UTC 2008


Author: wolfy

Update of /cvs/pkgs/rpms/chkrootkit/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2075

Added Files:
	chkrootkit-0.48-anomalies.patch 
	chkrootkit-0.48-nophpcheck.patch 
Log Message:
as said before, we really need all the patches to be in


chkrootkit-0.48-anomalies.patch:

--- NEW FILE chkrootkit-0.48-anomalies.patch ---
diff -Nur chkrootkit-0.48-orig/chkrootkit chkrootkit-0.48/chkrootkit
--- chkrootkit-0.48-orig/chkrootkit	2007-12-17 19:54:42.000000000 +0100
+++ chkrootkit-0.48/chkrootkit	2008-02-12 10:10:39.000000000 +0100
@@ -1129,7 +1129,7 @@
         echo "Warning: \`${files}' file size is zero"
       files1=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' \( -links 2 -o -type l \)`
       [ ! -z "${files1}" ] && \
-        echo "Warning: \`${files}' is linked to another file"
+        echo "Warning: \`${files1}' is linked to another file"
    fi
    if [ -z "${files}" -a -z "${files1}" ]; then
       if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi

chkrootkit-0.48-nophpcheck.patch:

--- NEW FILE chkrootkit-0.48-nophpcheck.patch ---
diff -Nur chkrootkit-0.48-orig/chkrootkit chkrootkit-0.48/chkrootkit
--- chkrootkit-0.48-orig/chkrootkit	2007-12-17 19:54:42.000000000 +0100
+++ chkrootkit-0.48/chkrootkit	2008-03-18 21:04:58.000000000 +0100
@@ -1103,21 +1103,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`"
-      fileshead="`${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -type f -exec head -1 {} \; | grep php 2> /dev/null`"
-
-   if [ "${files}" = "" -a "${fileshead}" = "" ]; then
-      if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi
-   else
-     echo "${files}"
-     echo "${fileshead}"
-   fi
-
-   ###
    ### shell history anomalies
    ###
    if [ "${QUIET}" != "t" ]; then \




More information about the fedora-extras-commits mailing list