diff options
Diffstat (limited to 'pkgs/dovecot/plugins')
3 files changed, 0 insertions, 48 deletions
diff --git a/pkgs/dovecot/plugins/deleted_to_trash/default.nix b/pkgs/dovecot/plugins/deleted_to_trash/default.nix deleted file mode 100644 index db1afb5..0000000 --- a/pkgs/dovecot/plugins/deleted_to_trash/default.nix +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | { stdenv, fetchurl, dovecot, mylibs, fetchpatch }: | ||
2 | |||
3 | stdenv.mkDerivation (mylibs.fetchedGithub ./dovecot-deleted_to_trash.json // rec { | ||
4 | buildInputs = [ dovecot ]; | ||
5 | patches = [ | ||
6 | (fetchpatch { | ||
7 | name = "fix-dovecot-2.3.diff"; | ||
8 | url = "https://github.com/lexbrugman/dovecot_deleted_to_trash/commit/c52a3799a96104a603ade33404ef6aa1db647b2f.diff"; | ||
9 | sha256 = "0pld3rdcjp9df2qxbp807k6v4f48lyk0xy5q508ypa57d559y6dq"; | ||
10 | }) | ||
11 | ./fix_mbox.patch | ||
12 | ]; | ||
13 | preConfigure = '' | ||
14 | substituteInPlace Makefile --replace \ | ||
15 | "/usr/include/dovecot" \ | ||
16 | "${dovecot}/include/dovecot" | ||
17 | substituteInPlace Makefile --replace \ | ||
18 | "/usr/lib/dovecot/modules" \ | ||
19 | "$out/lib/dovecot" | ||
20 | ''; | ||
21 | }) | ||
diff --git a/pkgs/dovecot/plugins/deleted_to_trash/dovecot-deleted_to_trash.json b/pkgs/dovecot/plugins/deleted_to_trash/dovecot-deleted_to_trash.json deleted file mode 100644 index 2987a02..0000000 --- a/pkgs/dovecot/plugins/deleted_to_trash/dovecot-deleted_to_trash.json +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | { | ||
2 | "tag": "81b0754-master", | ||
3 | "meta": { | ||
4 | "name": "dovecot-deleted_to_trash", | ||
5 | "url": "https://github.com/lexbrugman/dovecot_deleted_to_trash", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "lexbrugman", | ||
10 | "repo": "dovecot_deleted_to_trash", | ||
11 | "rev": "81b07549accfc36467bf8527a53c295c7a02dbb9", | ||
12 | "sha256": "1b3k31g898s4fa0a9l4kvjsdyds772waaay84sjdxv09jw6mqs0f", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||
diff --git a/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch b/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch deleted file mode 100644 index 0060fb4..0000000 --- a/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | diff --git a/src/deleted-to-trash-plugin.c b/src/deleted-to-trash-plugin.c | ||
2 | index bb4cc78..66bad53 100644 | ||
3 | --- a/src/deleted-to-trash-plugin.c | ||
4 | +++ b/src/deleted-to-trash-plugin.c | ||
5 | @@ -82,6 +82,7 @@ static struct mailbox *mailbox_open_or_create(struct mailbox_list *list, const c | ||
6 | *error_r = mail_storage_get_last_error(mailbox_get_storage(box), &error); | ||
7 | if (error != MAIL_ERROR_NOTFOUND) | ||
8 | { | ||
9 | + i_error("%s", *error_r); | ||
10 | mailbox_free(&box); | ||
11 | return NULL; | ||
12 | } | ||