]> git.pld-linux.org Git - packages/chkrootkit.git/commitdiff
- up to 0.48
authorzbyniu <zbyniu@pld-linux.org>
Thu, 27 Dec 2007 02:13:56 +0000 (02:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    chkrootkit-names.patch -> 1.14
    chkrootkit.spec -> 1.49

chkrootkit-names.patch
chkrootkit.spec

index 4df1330e539e66b444b803f5441099ea2cdb323b..fbca4b819fe1d4f1940b1add88dea7715f5861a6 100644 (file)
      then
        if [ "${QUIET}" != "t" ]; then echo "chkwtmp: nothing deleted"; fi
      fi
-@@ -267,8 +267,8 @@
+@@ -275,8 +275,8 @@
      prog=""
      if [  \( "${SYSTEM}" = "Linux"  -o \( "${SYSTEM}" = "FreeBSD" -a \
-        `echo ${V} | ${awk} '{ if ($1 > 4.3) print 1; else print 0 }'` -eq 1 \) \) -a "${ROOTDIR}" = "/" ]; then
--      [ ! -x ./chkproc ] && prog="./chkproc"
--      [ ! -x ./chkdirs ] && prog="$prog ./chkdirs"
-+      [ ! -x /usr/bin/chkrootkit-chkproc ] && prog="/usr/bin/chkrootkit-chkproc"
-+      [ ! -x /usr/bin/chkrootkit-chkdirs ] && prog="$prog /usr/bin/chkrootkit-chkdirs"
-       if [ "$prog" != "" ]; then
#        echo "not tested: can't exec $prog"
-         return ${NOT_TESTED}
+        `echo ${V} | ${awk} '{ if ($1 > 4.3 || $1 < 6.0) print 1; else print 0 }'` -eq 1 \) \) -a "${ROOTDIR}" = "/" ]; then
+-      [  -x ./chkproc -a "`find /proc | wc -l`" -gt 1 ] && prog="./chkproc"
+-      [  -x ./chkdirs ] && prog="$prog ./chkdirs"
++      [  -x /usr/bin/chkrootkit-chkproc -a "`find /proc | wc -l`" -gt 1 ] && prog="/usr/bin/chkrootkit-chkproc"
++      [  -x /usr/bin/chkrootkit-chkdirs ] && prog="$prog /usr/bin/chkrootkit-chkdirs"
+       if [ "$prog" = "" ]; then
         echo "not tested: can't exec $prog"
+          return ${NOT_TESTED}
 @@ -280,7 +280,7 @@
           PV=`$ps -V 2>/dev/null| $cut -d " " -f 3 |$awk -F . '{ print $1 "." $2 $3 }' | ${awk} '{ if ($0 > 3.19) print 2; else print 1 }'`
           [ "$PV" = "" ] &&  PV=1
           return 5
        fi
  
-@@ -306,7 +306,7 @@
+@@ -315,7 +315,7 @@
        if [ "${DEBUG}" = "t" ]; then
             ${echo} "*** PV=$PV ***"
        fi
--      if ./chkproc -p ${PV}
-+      if /usr/bin/chkrootkit-chkproc -p ${PV}
-       then
-            if [ "${QUIET}" != "t" ]; then echo "chkproc: nothing detected"; fi
+-      if ./chkproc -p ${PV}; then
++      if /usr/bin/chkrootkit-chkproc -p ${PV}; then
+          if [ "${QUIET}" != "t" ]; then echo "chkproc: nothing detected"; fi
        else
+          echo "chkproc: Warning: Possible LKM Trojan installed"
 @@ -1582,18 +1582,18 @@
  
     if [ "${SYSTEM}" = "Linux" ]
index a2b683296311ce05bfe12b5a6f2a124e2840a47e..2218fdbb95123c0b6a10668496e88d799ecfab8a 100644 (file)
@@ -3,12 +3,12 @@
 Summary:       chkrootkit - locally checks for signs of a rootkit
 Summary(pl.UTF-8):     chkrootkit - narzędzie do lokalnego szukania oznak rootkitów
 Name:          chkrootkit
-Version:       0.47
+Version:       0.48
 Release:       1
 License:       AMS (BSD like; look at COPYRIGHT)
 Group:         Applications/Networking
 Source0:       ftp://ftp.pangeia.com.br/pub/seg/pac/%{name}-%{version}.tar.gz
-# Source0-md5: 4c6455d202cef35395a673386e4bf01a
+# Source0-md5: de8b8b5013e7faa2b66c0e33c59677e8
 Source1:       %{name}-check
 Source2:       %{name}.sysconfig
 Patch0:                %{name}-CC.patch
This page took 0.093862 seconds and 4 git commands to generate.