Package: chkrootkit / 0.52-3

02_workingdir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: the base chkrootkit is designed to be run from it's build directory,
therefore it uses "./" as a prefix to all it's executables.  we need to
change to /usr/lib/chkrootkit to keep this working
Author: unknown
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/chkrootkit
+++ b/chkrootkit
@@ -17,6 +17,8 @@
 unalias ps > /dev/null 2>&1
 unalias dirname > /dev/null 2>&1
 
+cd /usr/lib/chkrootkit
+
 # Workaround for recent GNU coreutils
 _POSIX2_VERSION=199209
 export _POSIX2_VERSION