diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /pkgs/pure-ftpd | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
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
Diffstat (limited to 'pkgs/pure-ftpd')
-rw-r--r-- | pkgs/pure-ftpd/default.nix | 30 |
1 files changed, 0 insertions, 30 deletions
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 @@ | |||
1 | { ldapFtpId ? null | ||
2 | , stdenv, fetchurl, openssl, postgresql, openldap }: | ||
3 | |||
4 | stdenv.mkDerivation rec { | ||
5 | name = "pure-ftpd-1.0.47"; | ||
6 | |||
7 | src = fetchurl { | ||
8 | url = "https://download.pureftpd.org/pub/pure-ftpd/releases/${name}.tar.gz"; | ||
9 | sha256 = "1b97ixva8m10vln8xrfwwwzi344bkgxqji26d0nrm1yzylbc6h27"; | ||
10 | }; | ||
11 | |||
12 | preConfigure = stdenv.lib.optionalString (!isNull ldapFtpId) '' | ||
13 | sed -i -e "s#FTPuid#${ldapFtpId}Uid#" src/log_ldap.h | ||
14 | sed -i -e "s#FTPgid#${ldapFtpId}Gid#" src/log_ldap.h | ||
15 | ''; | ||
16 | postConfigure = '' | ||
17 | sed -i 's/define MAX_DATA_SIZE (40/define MAX_DATA_SIZE (70/' src/ftpd.h | ||
18 | ''; | ||
19 | buildInputs = [ openssl postgresql openldap ]; | ||
20 | |||
21 | configureFlags = [ "--with-everything" "--with-tls" "--with-pgsql" "--with-ldap" ]; | ||
22 | |||
23 | meta = with stdenv.lib; { | ||
24 | description = "A free, secure, production-quality and standard-conformant FTP server"; | ||
25 | homepage = https://www.pureftpd.org; | ||
26 | license = licenses.isc; # with some parts covered by BSD3(?) | ||
27 | maintainers = [ maintainers.lethalman ]; | ||
28 | platforms = platforms.linux; | ||
29 | }; | ||
30 | } | ||