[packages/chkrootkit] rediff

arekm arekm at pld-linux.org
Tue Mar 3 00:14:01 CET 2026


commit 1e1164ee10dbe97d8cf1a5d1c3c824714940efd2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 3 00:13:52 2026 +0100

    rediff

 chkrootkit-CC.patch      |  9 ++++-----
 chkrootkit-usebash.patch |  8 ++++----
 chkrootkit-wtmp.patch    | 16 ++++++++--------
 3 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/chkrootkit-CC.patch b/chkrootkit-CC.patch
index 3604fff..046a78b 100644
--- a/chkrootkit-CC.patch
+++ b/chkrootkit-CC.patch
@@ -1,8 +1,7 @@
-diff -Nru chkrootkit-0.37/Makefile chkrootkit-0.37-new/Makefile
---- chkrootkit-0.37/Makefile	Fri Jan 18 18:06:09 2002
-+++ chkrootkit-0.37-new/Makefile	Tue Feb 12 22:43:10 2002
-@@ -2,7 +2,7 @@
- # Makefile for chkrootkit
+diff -urNp -x '*.orig' chkrootkit-0.52.org/Makefile chkrootkit-0.52/Makefile
+--- chkrootkit-0.52.org/Makefile	2017-01-04 23:54:00.000000000 +0100
++++ chkrootkit-0.52/Makefile	2026-03-03 00:12:24.918792950 +0100
+@@ -3,7 +3,7 @@
  # (C) 1997-2007 Nelson Murilo, Pangeia Informatica, AMS Foundation and others.
  #
  
diff --git a/chkrootkit-usebash.patch b/chkrootkit-usebash.patch
index bffd8b0..166cb73 100644
--- a/chkrootkit-usebash.patch
+++ b/chkrootkit-usebash.patch
@@ -1,9 +1,9 @@
-diff -Nur chkrootkit-0.41.orig/chkrootkit chkrootkit-0.41/chkrootkit
---- chkrootkit-0.41.orig/chkrootkit	Sun Aug 24 19:33:41 2003
-+++ chkrootkit-0.41/chkrootkit	Sun Aug 24 19:33:47 2003
+diff -urNp -x '*.orig' chkrootkit-0.52.org/chkrootkit chkrootkit-0.52/chkrootkit
+--- chkrootkit-0.52.org/chkrootkit	2026-03-03 00:13:28.455134967 +0100
++++ chkrootkit-0.52/chkrootkit	2026-03-03 00:13:28.518722998 +0100
 @@ -1,4 +1,4 @@
 -#! /bin/sh
 +#! /bin/bash
  # -*- Shell-script -*-
  
- # $Id: chkrootkit, v 0.41 2003/06/20
+ # $Id: chkrootkit, v 0.52 2017/03/13
diff --git a/chkrootkit-wtmp.patch b/chkrootkit-wtmp.patch
index e34f119..d6d6e4c 100644
--- a/chkrootkit-wtmp.patch
+++ b/chkrootkit-wtmp.patch
@@ -1,7 +1,7 @@
-diff -Nur chkrootkit-0.39a.orig/chkrootkit chkrootkit-0.39a/chkrootkit
---- chkrootkit-0.39a.orig/chkrootkit	Thu Jan 30 23:45:57 2003
-+++ chkrootkit-0.39a/chkrootkit	Sat Feb  8 16:51:03 2003
-@@ -149,7 +149,7 @@
+diff -urNp -x '*.orig' chkrootkit-0.52.org/chkrootkit chkrootkit-0.52/chkrootkit
+--- chkrootkit-0.52.org/chkrootkit	2026-03-03 00:13:08.029230175 +0100
++++ chkrootkit-0.52/chkrootkit	2026-03-03 00:13:08.095991729 +0100
+@@ -217,7 +217,7 @@ z2 () {
        return ${NOT_TESTED}
      fi
  
@@ -9,13 +9,13 @@ diff -Nur chkrootkit-0.39a.orig/chkrootkit chkrootkit-0.39a/chkrootkit
 +    WTMP=`loc wtmpx wtmpx "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
      LASTLOG=`loc lastlog lastlog "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
  
-     if [ "${EXPERT}" = "t" ]; then
-@@ -184,7 +184,7 @@
-           fi
+     if [ ! -f $WTMP -a ! -f $LASTLOG ]; then
+@@ -259,7 +259,7 @@ wted () {
+ 	  fi
         fi
     else
 -       WTMP=`loc wtmp wtmp "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
 +       WTMP=`loc wtmpx wtmpx "${ROOTDIR}var/log ${ROOTDIR}var/adm"`
  
         if [ "${EXPERT}" = "t" ]; then
-           expertmode_output "./chkwtmp -f ${WTMP}"
+           expertmode_output "/usr/bin/chkrootkit-chkwtmp -f ${WTMP}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chkrootkit.git/commitdiff/1e1164ee10dbe97d8cf1a5d1c3c824714940efd2



More information about the pld-cvs-commit mailing list