Merge pull request #190318 from elohmeier/sslscan-tlscompression

This commit is contained in:
Sandro 2023-02-18 01:24:32 +01:00 committed by GitHub
commit ef3fd36f5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl, buildPackages, perl, coreutils
, withCryptodev ? false, cryptodev
, withZlib ? false, zlib
, enableSSL2 ? false
, enableSSL3 ? false
, static ? stdenv.hostPlatform.isStatic
@ -75,7 +76,8 @@ let
buildInputs = lib.optional withCryptodev cryptodev
# perl is included to allow the interpreter path fixup hook to set the
# correct interpreter in c_rehash.
++ lib.optional withPerl perl;
++ lib.optional withPerl perl
++ lib.optional withZlib zlib;
# TODO(@Ericson2314): Improve with mass rebuild
configurePlatforms = [];
@ -142,6 +144,7 @@ let
# This introduces a reference to the CTLOG_FILE which is undesired when
# trying to build binaries statically.
++ lib.optional static "no-ct"
++ lib.optional withZlib "zlib"
;
makeFlags = [

View file

@ -12253,7 +12253,9 @@ with pkgs;
sshpass = callPackage ../tools/networking/sshpass { };
sslscan = callPackage ../tools/security/sslscan { };
sslscan = callPackage ../tools/security/sslscan {
openssl = openssl.override { withZlib = true; };
};
sslmate = callPackage ../development/tools/sslmate { };