From 9145b386b65cc3da758d32b6b4e9d8123177f880 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Thu, 25 May 2017 21:10:55 +0200 Subject: [PATCH] pure-ftpd: enable tls support For encrypted command & data channels. --- pkgs/servers/ftp/pure-ftpd/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/ftp/pure-ftpd/default.nix b/pkgs/servers/ftp/pure-ftpd/default.nix index b805c691e12e..38b3e565e86c 100644 --- a/pkgs/servers/ftp/pure-ftpd/default.nix +++ b/pkgs/servers/ftp/pure-ftpd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, openssl }: stdenv.mkDerivation rec { name = "pure-ftpd-1.0.46"; @@ -8,6 +8,10 @@ stdenv.mkDerivation rec { sha256 = "0p0arcaz63fbb03fkavbc8z6m1f90p5vbnxb8mqlvpma6mrq0286"; }; + buildInputs = [ openssl ]; + + configureFlags = [ "--with-tls" ]; + meta = with stdenv.lib; { description = "A free, secure, production-quality and standard-conformant FTP server"; homepage = https://www.pureftpd.org;