Date: Mon, 24 May 2021 09:22:18 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d7f10130e0f3 - main - mail/mlmmj: add a patch to disable bounce probe Message-ID: <202105240922.14O9MIZO019982@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f10130e0f3e48c29d71f14d963076bdd5bf979 commit d7f10130e0f3e48c29d71f14d963076bdd5bf979 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-05-24 09:19:21 +0000 Commit: Baptiste Daroussin <bapt@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105240922.14O9MIZO019982>