From nobody Wed Feb 19 04:34:02 2025 X-Original-To: dev-commits-ports-branches@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 4YyNnk6GkLz5nkdx; Wed, 19 Feb 2025 04:34:02 +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 4YyNnk5dFVz3Nv9; Wed, 19 Feb 2025 04:34:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739939642; 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=ex0fxZUuwwFMvV+FivsP1A1/2GrcZ15LZ/al/falMPU=; b=PNny4rpTN5zMuBxK7iblIGnn4lYQ5RzK4cFS7xIpgLTm8RtWmYg6MrdmlAmZjTIJTqiI/9 lkjC6eVnUqBra6546MTL5XrtpfP6HyrgdJLdtD0Y12v9lArwy9ZPQFbKUpE4sgwGaqp7x9 M//UlSAhC0+8Fo+Xtiw5AYapFdfh+XIeRQTDIs818iQT4EIu6wKimshEyVNmKnwrcziU9b OPTSWKLAd/gL61kop3aa3YADhe3rElQXgih25Tgv0oLYNmujnAFYA+Uw/sqhaExgKE4Zbx haz/aaPF05jZnrzkyc9AZpSeh4pAHTxs6UdNwPQ183/Mbp7oXd5KU/AVz8i3CQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739939642; a=rsa-sha256; cv=none; b=k96UZovGjsuHrpV7hoxVAnFZHN+3I3tzUhjvO8pJWBFeVh7NUE8xJFQJ6MVUAdX/hAWr1i v64GTfLj+bTTIgSz2s3Uw+HGhC8OMN5Ryxnnm1vb0It1HDmJtVipNY4XowlzLHCz7AA8PT +sUy+G4ebHx1K3/1mBP6xRk3SFy3IY+jcEIhXej5EK8qM6hYf6+Ym+FZeJm90PjASQSCqx ivkaWzXS7noj5fBAF4ZMEL9+8t6I8vhv277ViVlUcu3ju67Af/TWAh1w3ppTNrSn5eUDAk xC8cDLpG4zt521myNbIjGFdXhc4TDWBVEPh3I7CA29VfwIPlz9h1qYAxQqcs9A== 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=1739939642; 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=ex0fxZUuwwFMvV+FivsP1A1/2GrcZ15LZ/al/falMPU=; b=aUZ3xMIsd2ZffBYEdxjqBuwlqWAZCCSo6vIo7dQp+ILEF11/1DLe1sw7BGqNTAT4e12eZO qjjQXWW1YZDhGb+hCl5Vk1tZRmAnwLmH7iu7qLIHmrfJjNaMNkKzXGt7bwMo4u+vUaCufk ho928gQutRWChbxjhFZ/mbmWlyLJklPEjzRXoas84D54SGdB4ZIjQWJhv9gcF59yFbPq5z WI1cM7hQxRWAqY00PgOozkrjw0dfRAtAbMT4E8SFdfqsyt4HRvRJvIPV0oip4cO2bY+r/3 /h9C0oPhPCD6JtOnSRcFvA7eC+JDGWp5YnKhNW1Bv13hu5eXJr2ELTgyWu6V+Q== 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 4YyNnk595gzrF7; Wed, 19 Feb 2025 04:34:02 +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 51J4Y2Vr037483; Wed, 19 Feb 2025 04:34:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51J4Y2m4037480; Wed, 19 Feb 2025 04:34:02 GMT (envelope-from git) Date: Wed, 19 Feb 2025 04:34:02 GMT Message-Id: <202502190434.51J4Y2m4037480@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: 17bf9810cc0a - 2025Q1 - net/ntp: ntpd does not connect to NTP server with link local IPv6 address List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: 17bf9810cc0a94d3606b2a70b09a36d424e7d160 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=17bf9810cc0a94d3606b2a70b09a36d424e7d160 commit 17bf9810cc0a94d3606b2a70b09a36d424e7d160 Author: Cy Schubert AuthorDate: 2025-02-19 03:33:23 +0000 Commit: Cy Schubert CommitDate: 2025-02-19 03:58:05 +0000 net/ntp: ntpd does not connect to NTP server with link local IPv6 address Upstream bug 3943 (https://bugs.ntp.org/show_bug.cgi?id=3943) discusses: Starting with 4.2.8p18 ntp does not synchronize or even connect to the configured NTP server any more. ntp stays in .INIT. state indefinitely and checking the network traffic shows that ntp does not attempt to contact the NTP server. This is regression introduced by the fix for upstream bug 3913. This is a similar bug I reported upstream (ntp bug 3841). Obtained from: src 381956e26756 (cherry picked from commit 453bd9639bae31c05fa0eda782af0926a12a8b42) --- net/ntp/Makefile | 2 +- net/ntp/files/patch-ntpd_ntp__io.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net/ntp/Makefile b/net/ntp/Makefile index eedd057fd5d4..c48eccfe6046 100644 --- a/net/ntp/Makefile +++ b/net/ntp/Makefile @@ -1,6 +1,6 @@ PORTNAME= ntp PORTVERSION= 4.2.8p18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ diff --git a/net/ntp/files/patch-ntpd_ntp__io.c b/net/ntp/files/patch-ntpd_ntp__io.c new file mode 100644 index 000000000000..b2bbf0fee058 --- /dev/null +++ b/net/ntp/files/patch-ntpd_ntp__io.c @@ -0,0 +1,11 @@ +--- ntpd/ntp_io.c.orig 2024-05-07 04:21:17.000000000 -0700 ++++ ntpd/ntp_io.c 2025-02-18 19:31:18.434141000 -0800 +@@ -3205,7 +3205,7 @@ + } + + do { +- if (INT_LL_OF_GLOB & src->flags) { ++ if (ismcast && INT_LL_OF_GLOB & src->flags) { + /* avoid duplicate multicasts on same IPv6 net */ + goto loop; + }