]> git.pld-linux.org Git - packages/chkrootkit.git/commitdiff
53a0d56d8b5bd1300237fc448c0b37eb chkrootkit-0.38.tar.gz
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Sat, 4 Jan 2003 09:20:14 +0000 (09:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    chkrootkit-names.patch -> 1.4
    chkrootkit-nostrip.patch -> 1.2

chkrootkit-names.patch
chkrootkit-nostrip.patch

index 0600779d7d7f2fe921ea537580c72acee432e3bd..f77b8d2f18f247bffd4d623f6393025e52f7d592 100644 (file)
@@ -1,14 +1,14 @@
-diff -Nur chkrootkit-0.37.orig/chkrootkit chkrootkit-0.37/chkrootkit
---- chkrootkit-0.37.orig/chkrootkit    Tue Sep 17 01:03:11 2002
-+++ chkrootkit-0.37/chkrootkit Thu Sep 19 13:12:20 2002
-@@ -125,22 +125,22 @@
+diff -Naur chkrootkit-0.38/chkrootkit chkrootkit-0.38-p/chkrootkit
+--- chkrootkit-0.38/chkrootkit Sat Dec 21 00:03:27 2002
++++ chkrootkit-0.38-p/chkrootkit       Sat Jan  4 10:13:24 2003
+@@ -130,22 +130,22 @@
         return ${NOT_TESTED}
      fi
  
 -    if [ ! -x ./ifpromisc ]; then
 -      echo "not tested: can't exec ./ifpromisc"
 +    if [ ! -x /usr/bin/chkrootkit-ifpromisc ]; then
-+      echo "not tested: can't exec ./chkrootkit-ifpromisc"
++      echo "not tested: can't exec /usr/bin/chkrootkit-ifpromisc"
        return ${NOT_TESTED}
      fi
  
@@ -30,7 +30,7 @@ diff -Nur chkrootkit-0.37.orig/chkrootkit chkrootkit-0.37/chkrootkit
        return ${NOT_TESTED}
      fi
  
-@@ -148,31 +148,31 @@
+@@ -153,31 +153,31 @@
      LASTLOG=`loc lastlog lastlog "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
  
      if [ "${EXPERT}" = "t" ]; then
@@ -70,7 +70,7 @@ diff -Nur chkrootkit-0.37.orig/chkrootkit chkrootkit-0.37/chkrootkit
               then
               if [ "${QUIET}" != "t" ]; then \
                  echo "nothing deleted in /var/adm/wtmpx"; fi
-@@ -183,11 +183,11 @@
+@@ -188,11 +188,11 @@
      WTMP=`loc wtmp wtmp "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
  
      if [ "${EXPERT}" = "t" ]; then
@@ -84,26 +84,28 @@ diff -Nur chkrootkit-0.37.orig/chkrootkit chkrootkit-0.37/chkrootkit
      then
        if [ "${QUIET}" != "t" ]; then echo "nothing deleted"; fi
      fi
-@@ -225,15 +225,15 @@
- {
+@@ -231,8 +231,9 @@
+     prog=""
      if [ \( "${SYSTEM}" = "Linux"  -o \( "${SYSTEM}" = "FreeBSD" -a \
         ${V} -gt 43 \) \) -a "${ROOTDIR}" = "/" ]; then
--      if [ ! -x ./chkproc ]; then
--        echo "not tested: can't exec ./chkproc"
-+      if [ ! -x /usr/bin/chkrootkit-chkproc ]; then
-+        echo "not tested: can't exec /usr/bin/chkrootkit-chkproc"
+-      [ ! -x ./chkproc ] && prog="./chkproc"
+-      [ ! -x ./chkdirs ] && prog="$prog ./chkdirs"
++      [ ! -x /usr/bin/chkrootkit-chkproc ] && prog="/usr/bin/chkrootkiy-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}
-       fi
+@@ -241,7 +242,7 @@
        if [ "${EXPERT}" = "t" ]; then
-          [ -r /proc/ksyms ] &&  ${egrep} -i adore < /proc/ksyms 2>/dev/null
+          [ -r /proc/ksyms ] &&  ${egrep} -i "adore|sebek" < /proc/ksyms 2>/dev/null
           [ -d /proc/knark ] &&  ${ls} -la /proc/knark 2> /dev/null
 -          expertmode_output "./chkproc -v"
 +          expertmode_output "/usr/bin/chkrootkit-chkproc -v"
            return 5
        fi
  
-@@ -248,7 +248,7 @@
+@@ -262,7 +263,7 @@
           echo "Warning: Knark LKM installed"
        fi
  
@@ -112,7 +114,7 @@ diff -Nur chkrootkit-0.37.orig/chkrootkit chkrootkit-0.37/chkrootkit
        then
             if [ "${QUIET}" != "t" ]; then echo "nothing detected"; fi
        else
-@@ -1293,18 +1293,18 @@
+@@ -1344,18 +1345,18 @@
  
     if [ "${SYSTEM}" = "Linux" ]
     then
index 1b75fdf58a9b6f93df942780c210d7d6620209c6..7daa5afc623201a6a1091785b2f2932115843a78 100644 (file)
@@ -1,37 +1,35 @@
-diff -Nru chkrootkit-0.35/Makefile chkrootkit-0.35-new/Makefile
---- chkrootkit-0.35/Makefile   Fri Jan 18 18:06:09 2002
-+++ chkrootkit-0.35-new/Makefile       Tue Feb 12 22:55:46 2002
-@@ -29,27 +29,27 @@
+diff -Naur chkrootkit-0.38/Makefile chkrootkit-0.38-p/Makefile
+--- chkrootkit-0.38/Makefile   Sat Jan  4 10:04:15 2003
++++ chkrootkit-0.38-p/Makefile Sat Jan  4 10:08:33 2003
+@@ -35,31 +35,24 @@
  
  chklastlog:   chklastlog.c
        ${CC} ${CFLAGS} -o $@ chklastlog.c
 -      @strip $@
-+
  
  chkwtmp:   chkwtmp.c
        ${CC} ${CFLAGS} -o $@ chkwtmp.c
 -      @strip $@
-+
  
  ifpromisc:   ifpromisc.c
        ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ifpromisc.c
 -      @strip $@
-+
  
  chkproc:   chkproc.c
        ${CC} ${LDFLAGS} -o $@ chkproc.c
 -      @strip $@
-+
+ chkdirs:   chkdirs.c
+       ${CC} ${LDFLAGS} -o $@ chkdirs.c
+-      @strip $@
  
  check_wtmpx:   check_wtmpx.c
        ${CC} ${LDFLAGS} -o $@ check_wtmpx.c
 -      @strip $@
-+
  
  strings:   strings.c
        ${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c
 -      @strip $@
-+
  
  clean:
-       rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc check_wtmpx strings
+       rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings
This page took 0.126693 seconds and 4 git commands to generate.