2021-12-05 13:32:39 +01:00
|
|
|
{ lib, stdenv, fetchurl, openssl, pam, fetchpatch }:
|
2016-04-10 17:53:07 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 23:53:02 +02:00
|
|
|
pname = "pure-ftpd";
|
2021-12-05 00:45:05 +01:00
|
|
|
version = "1.0.50";
|
2016-04-10 17:53:07 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-25 23:53:02 +02:00
|
|
|
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
|
2021-12-05 00:45:05 +01:00
|
|
|
sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb";
|
2016-04-10 17:53:07 +02:00
|
|
|
};
|
|
|
|
|
2021-12-05 13:32:39 +01:00
|
|
|
buildInputs = [ openssl pam ];
|
2017-05-25 21:10:55 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--with-tls" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-04-10 17:53:07 +02:00
|
|
|
description = "A free, secure, production-quality and standard-conformant FTP server";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.pureftpd.org";
|
2016-04-10 19:48:01 +02:00
|
|
|
license = licenses.isc; # with some parts covered by BSD3(?)
|
2021-05-07 15:35:21 +02:00
|
|
|
maintainers = [ ];
|
2021-12-05 13:32:39 +01:00
|
|
|
platforms = platforms.unix;
|
2016-04-10 17:53:07 +02:00
|
|
|
};
|
|
|
|
}
|