From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- pkgs/pure-ftpd/default.nix | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 pkgs/pure-ftpd/default.nix (limited to 'pkgs/pure-ftpd') diff --git a/pkgs/pure-ftpd/default.nix b/pkgs/pure-ftpd/default.nix deleted file mode 100644 index 32a7a91..0000000 --- a/pkgs/pure-ftpd/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ ldapFtpId ? null -, stdenv, fetchurl, openssl, postgresql, openldap }: - -stdenv.mkDerivation rec { - name = "pure-ftpd-1.0.47"; - - src = fetchurl { - url = "https://download.pureftpd.org/pub/pure-ftpd/releases/${name}.tar.gz"; - sha256 = "1b97ixva8m10vln8xrfwwwzi344bkgxqji26d0nrm1yzylbc6h27"; - }; - - preConfigure = stdenv.lib.optionalString (!isNull ldapFtpId) '' - sed -i -e "s#FTPuid#${ldapFtpId}Uid#" src/log_ldap.h - sed -i -e "s#FTPgid#${ldapFtpId}Gid#" src/log_ldap.h - ''; - postConfigure = '' - sed -i 's/define MAX_DATA_SIZE (40/define MAX_DATA_SIZE (70/' src/ftpd.h - ''; - buildInputs = [ openssl postgresql openldap ]; - - configureFlags = [ "--with-everything" "--with-tls" "--with-pgsql" "--with-ldap" ]; - - meta = with stdenv.lib; { - description = "A free, secure, production-quality and standard-conformant FTP server"; - homepage = https://www.pureftpd.org; - license = licenses.isc; # with some parts covered by BSD3(?) - maintainers = [ maintainers.lethalman ]; - platforms = platforms.linux; - }; -} -- cgit v1.2.3