From nobody Mon Sep 02 13:00:12 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wy84F05Cqz5TMfM; Mon, 02 Sep 2024 13:00:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wy84D598hz4b37; Mon, 2 Sep 2024 13:00:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725282012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NwHFcY+u9pODDtqoRD+nXOx3d0ATM/4kC4KxCCePdcA=; b=irM/+Xn0YfJMGmAZ2p2g7gm5fx+DE0sKLJoZlWNe0iUVsGOcr5QfYH404tph3/VwiUp1IP R2TvJRsXcNjgNgDlE336Wh3lpxWF/2aHssP3NG+NaWyrVy3tT0DeZo8GdpgsVe4OzBGqO/ te3mkGno8VGlMNJbAQal0ocMO1N+MtwG3zkKneqTboaoBm02QYm5w2WCHQUZvh3GlTeVda f57mMf74WMb7KjMteweJRd7QM2/7NnXFiTu9ZYxpXmw5BSVX05jd8xK039umBMc68bkhr+ xhTd5ao8+hi1R6z+2uaqBu9bCTfX686vVSX5Icq0fFaWWBOKg49bHZEypw7axQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725282012; a=rsa-sha256; cv=none; b=LA1lkE1TmHub74rvZbfiqTuVtCE63N4sKzKgf6eTWR3rgQB/idlF5z6OeP8pw84u0BnMDH bDaNRoFaczmdZce9C9jYbfjydwE7qB+feoJIPwJDz/wimyW1gNJOLsNeyfJgdyVGJUTu6E /zKddCEo7DN/2oP96Rer5DB/WRpvoBsgtWg5hS5TZCWIyyKbVu05Iz3msd8V6Sy1pDV7au Cwg2xJBAXh+16FpGF5IjoDawd745IeWGZlK/PFZ5FawPPT8eb9qay7JeI7f0imX5cj/LXE XAju6UNkUUdMVzVhEgPGoGoeWnJmKGRnDBZ6R9RS66KQJ0lrYrClt8xf8uv8MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725282012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NwHFcY+u9pODDtqoRD+nXOx3d0ATM/4kC4KxCCePdcA=; b=x6WicWxJZyaqH4enUS5gvv3fTNwXI4SKZU7vlP5PfZYVrJ2goqW8Qzqy03wPhnOM53cgYk Uw3HVQwqWu26JiA1R5MKkfGPvnht7/nPAMl2bCZPmDqXfAtLKzZUyGJxILAxJALbjEB8NK ii/Dc9tXshZjj0DlUBjCo99jE211s87IoOwT9JDfS760VIJypC8I3U5yytF+g0u1VdyHqh j7I2dGwlPwMfcm3yQS0n31xkwpCqA5Du/ePN2LQSZ9RVOSNz55iJDgFVlhwyxgMO3rAYTB OPPzmgWmQ1fciJL+NK/je+TMgwa76DGSVVPdDS/LHcm5zgfwiUQj6eodigmH3A== 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 4Wy84D4S20z1CVK; Mon, 2 Sep 2024 13:00:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 482D0CFe030118; Mon, 2 Sep 2024 13:00:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 482D0Cg3030106; Mon, 2 Sep 2024 13:00:12 GMT (envelope-from git) Date: Mon, 2 Sep 2024 13:00:12 GMT Message-Id: <202409021300.482D0Cg3030106@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Larry Rosenman Subject: git: 1de999acff01 - 2024Q3 - mail/dovecot: add patch from upstream to silence "time moved forwards" List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: 1de999acff01a9c7d916c63522c6a447f4f6e487 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=1de999acff01a9c7d916c63522c6a447f4f6e487 commit 1de999acff01a9c7d916c63522c6a447f4f6e487 Author: Larry Rosenman AuthorDate: 2024-09-01 18:04:00 +0000 Commit: Larry Rosenman CommitDate: 2024-09-02 13:00:10 +0000 mail/dovecot: add patch from upstream to silence "time moved forwards" Patch from Timo Sirainen (via dovecot list) PR: 280929 Reported by: trashcan@ellael.org (cherry picked from commit eae4d9b6062a7f15a533a00c173d7b66f91ec675) --- mail/dovecot/Makefile | 1 + mail/dovecot/files/patch-src-lib-ioloop.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 44f42b27f94f..958da8355dc7 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -10,6 +10,7 @@ PORTNAME= dovecot DISTVERSION= 2.3.21.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= https://dovecot.org/releases/2.3/ diff --git a/mail/dovecot/files/patch-src-lib-ioloop.c b/mail/dovecot/files/patch-src-lib-ioloop.c new file mode 100644 index 000000000000..e2606e515d96 --- /dev/null +++ b/mail/dovecot/files/patch-src-lib-ioloop.c @@ -0,0 +1,25 @@ +--- src/lib/ioloop.c.orig 2024-08-31 16:00:42.168389000 +0200 ++++ src/lib/ioloop.c 2024-08-31 16:04:14.978513000 +0200 +@@ -18,6 +18,7 @@ + Dovecot generally doesn't have very important short timeouts, so to avoid + logging many warnings about this, use a rather high value. */ + #define IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS (100000) ++#define IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS_LARGE (1000000) + + time_t ioloop_time = 0; + struct timeval ioloop_timeval; +@@ -654,9 +655,13 @@ + /* the callback may have slept, so check the time again. */ + i_gettimeofday(&ioloop_timeval); + } else { ++ int max_diff = diff_usecs < IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS_LARGE ? ++ IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS : ++ IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS_LARGE; ++ + diff_usecs = timeval_diff_usecs(&ioloop->next_max_time, + &ioloop_timeval); +- if (unlikely(-diff_usecs >= IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS)) { ++ if (unlikely(-diff_usecs >= max_diff)) { + io_loops_timeouts_update(-diff_usecs); + /* time moved forwards */ + ioloop->time_moved_callback(&ioloop->next_max_time,