Merge pull request #39634 from matthewbauer/remove-openbsd-netcat

Replace netcat-openbsd with libressl
This commit is contained in:
Matthew Justin Bauer
2018-04-29 14:48:22 -05:00
committed by GitHub
5 changed files with 12 additions and 57 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, lib }:
let
@@ -11,13 +11,20 @@ let
inherit sha256;
};
configureFlags = [ "--enable-nc" ];
enableParallelBuilding = true;
outputs = [ "bin" "dev" "out" "man" ];
outputs = [ "bin" "dev" "out" "man" "nc" ];
postFixup = ''
moveToOutput "bin/nc" "$nc"
moveToOutput "share/man/man1/nc.1${lib.optionalString (!dontGzipMan) ".gz"}" "$nc"
'';
dontGzipMan = if stdenv.isDarwin then true else null; # not sure what's wrong
meta = with stdenv.lib; {
meta = with lib; {
description = "Free TLS/SSL implementation";
homepage = "http://www.libressl.org";
platforms = platforms.all;