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/proftpd | |
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/proftpd')
-rw-r--r-- | pkgs/proftpd/default.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/pkgs/proftpd/default.nix b/pkgs/proftpd/default.nix deleted file mode 100644 index af9d6c6..0000000 --- a/pkgs/proftpd/default.nix +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | { pkgs ? import <nixpkgs> {} }: | ||
2 | with pkgs; | ||
3 | |||
4 | stdenv.mkDerivation rec { | ||
5 | pname = "proftpd"; | ||
6 | version = "1.3.7c"; | ||
7 | src = fetchurl { | ||
8 | url = "https://github.com/proftpd/proftpd/archive/refs/tags/v${version}.tar.gz"; | ||
9 | sha256 = "1nh02j00ly814fk885wn9zx1lb63cqd8qv3mgz719xkckf5rcw3h"; | ||
10 | }; | ||
11 | postPatch = '' | ||
12 | sed -i -e "s@/usr/bin/file@${file}/bin/file@" configure | ||
13 | ''; | ||
14 | dontDisableStatic = 1; | ||
15 | configureFlags = "--enable-openssl --with-modules=mod_ldap:mod_sftp:mod_tls --with-includes=${libsodium.dev}/include --with-libraries=${libsodium}/lib"; | ||
16 | preInstall = '' | ||
17 | installFlagsArray=(INSTALL_USER=$(id -u) INSTALL_GROUP=$(id -g)) | ||
18 | ''; | ||
19 | buildInputs = [ openssl libsodium ncurses cyrus_sasl openldap pkg-config ]; | ||
20 | postInstall = '' | ||
21 | rmdir $out/var $out/libexec $out/lib/proftpd $out/share/locale | ||
22 | ''; | ||
23 | } | ||