1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## workingdir.dpatch by unknown
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: the base chkrootkit is designed to be run from it's build directory,
## DP: therefor it uses "./" as a prefix to all it's executables. we need to
## DP: change to /usr/lib/chkrootkit to keep this working
@DPATCH@
--- chkrootkit-0.48.orig/chkrootkit
+++ chkrootkit-0.48/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
|