Merge pull request #33152 from dtzWill/fix/chkrootkit-relative-paths
chkrootkit: fixup relative path usage
This commit is contained in:
commit
1a2ffbcf2f
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
# TODO: a lazy work-around for linux build failure ...
|
# TODO: a lazy work-around for linux build failure ...
|
||||||
makeFlags = [ "STATIC=" ];
|
makeFlags = [ "STATIC=" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace chkrootkit \
|
||||||
|
--replace " ./" " $out/bin/"
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/sbin
|
mkdir -p $out/sbin
|
||||||
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
||||||
|
Loading…
Reference in New Issue
Block a user