git: d7f10130e0f3 - main - mail/mlmmj: add a patch to disable bounce probe
Baptiste Daroussin
bapt at FreeBSD.org
Mon May 24 09:22:18 UTC 2021
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f10130e0f3e48c29d71f14d963076bdd5bf979
commit d7f10130e0f3e48c29d71f14d963076bdd5bf979
Author: Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-05-24 09:19:21 +0000
Commit: Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-05-24 09:19:21 +0000
mail/mlmmj: add a patch to disable bounce probe
---
mail/mlmmj/Makefile | 2 +-
mail/mlmmj/files/patch-nobounceprobe | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/mail/mlmmj/Makefile b/mail/mlmmj/Makefile
index 68246d50377c..56d557d7f4b1 100644
--- a/mail/mlmmj/Makefile
+++ b/mail/mlmmj/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mlmmj
PORTVERSION= 1.3.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://mlmmj.org/releases/
diff --git a/mail/mlmmj/files/patch-nobounceprobe b/mail/mlmmj/files/patch-nobounceprobe
new file mode 100644
index 000000000000..d0548d25f8d9
--- /dev/null
+++ b/mail/mlmmj/files/patch-nobounceprobe
@@ -0,0 +1,15 @@
+diff --git src/mlmmj-maintd.c src/mlmmj-maintd.c
+index 02cfd16..5ac35da 100644
+--- src/mlmmj-maintd.c
++++ src/mlmmj-maintd.c
+@@ -601,6 +601,10 @@ int probe_bouncers(const char *listdir, const char *mlmmjbounce)
+ pid_t pid, childpid;
+ int status;
+
++ if (statctrl(listdir, "nobounceprobe")) {
++ return 0;
++ }
++
+ if(chdir(dirname) < 0) {
+ log_error(LOG_ARGS, "Could not chdir(%s)", dirname);
+ myfree(dirname);
More information about the dev-commits-ports-all
mailing list