From owner-dev-commits-ports-all@freebsd.org Mon May 24 09:22:18 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C54F5631357; Mon, 24 May 2021 09:22:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FpWvG5GC8z4SVb; Mon, 24 May 2021 09:22:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C66427674; Mon, 24 May 2021 09:22:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14O9MIvP019983; Mon, 24 May 2021 09:22:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14O9MIZO019982; Mon, 24 May 2021 09:22:18 GMT (envelope-from git) Date: Mon, 24 May 2021 09:22:18 GMT Message-Id: <202105240922.14O9MIZO019982@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: d7f10130e0f3 - main - mail/mlmmj: add a patch to disable bounce probe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7f10130e0f3e48c29d71f14d963076bdd5bf979 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 09:22:18 -0000 The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f10130e0f3e48c29d71f14d963076bdd5bf979 commit d7f10130e0f3e48c29d71f14d963076bdd5bf979 Author: Baptiste Daroussin AuthorDate: 2021-05-24 09:19:21 +0000 Commit: Baptiste Daroussin 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);