Merge pull request #75107 from matthewbauer/disable-native-tests-john
Disable native tests for john the ripper
This commit is contained in:
commit
ceb1e92173
@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
|
|||||||
export AS=$CC
|
export AS=$CC
|
||||||
export LD=$CC
|
export LD=$CC
|
||||||
'';
|
'';
|
||||||
configureFlags = [ "--disable-native-macro" ];
|
configureFlags = [
|
||||||
|
"--disable-native-tests"
|
||||||
|
"--with-systemwide"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ];
|
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ];
|
||||||
nativeBuildInputs = [ gcc python3Packages.wrapPython perl makeWrapper ];
|
nativeBuildInputs = [ gcc python3Packages.wrapPython perl makeWrapper ];
|
||||||
@ -44,8 +47,6 @@ stdenv.mkDerivation rec {
|
|||||||
# gcc: error: memdbg.o: No such file or directory
|
# gcc: error: memdbg.o: No such file or directory
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-DJOHN_SYSTEMWIDE=1" ];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john" "$out/share/john/rules"
|
mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john" "$out/share/john/rules"
|
||||||
find -L ../run -mindepth 1 -maxdepth 1 -type f -executable \
|
find -L ../run -mindepth 1 -maxdepth 1 -type f -executable \
|
||||||
@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "John the Ripper password cracker";
|
description = "John the Ripper password cracker";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
homepage = https://github.com/magnumripper/JohnTheRipper/;
|
homepage = https://github.com/magnumripper/JohnTheRipper/;
|
||||||
maintainers = with maintainers; [ offline ];
|
maintainers = with maintainers; [ offline matthewbauer ];
|
||||||
platforms = [ "x86_64-linux" "x86_64-darwin"];
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user