From nobody Wed May 15 22:05:20 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 4VfnN06953z4t9p5; Wed, 15 May 2024 22:05:20 +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 4VfnN04gFvz4CLn; Wed, 15 May 2024 22:05:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715810720; 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=ymVJYDmlIpCafuIpynpTGxS1t5mu+FTFCw77tvLeY7Y=; b=FpXHZlD3g+wdbnioLY2zv6YP8Wtf3kpR2J/o3pNbHAXmuEn49M7P6AdiFtm7qc/5t550JQ baKK3X7Hx0/O4l5WgCbDuk2T5VYK8ZgD5n/e0gYqzjmlOPDGEAmhLU2wcl0AHhjhJwlOal GE423q/YhB+kp7ePrU3f1O2MT2e4bV58ZiDfR72OR2pLj5Pfq/gjV1RVS4J9qm9ugE3rf2 KMxJXl6Ra3cf4hvk7bbsjkpE0NlMH3k3T7VeqwBgDJU/rZL50hkEcIFBF9ZfwgKI3TLWjQ SItMuV34eJTR15DUAJ0YumUS49moSl8HqgQ0sd16dBR2AeEOQAhwsp0Y31g67A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715810720; a=rsa-sha256; cv=none; b=jdgIzr4CisnBESzJ7JoTlQQ93FPGjjQ1+aU4R7maSsxZfrZlWBwTkxy16j/YHSTUo1bBA1 /Ahlnom64HWHMyy2bFL90ovC6fmBHi7y1dtBknwPLKJgugLjbvhSRcxDjSVng6+P2g/5jo bVrGrBtSRfp1sFME1k7lrfYgAm/0FGVb0tdq8XsGSZZVoCL/b4lLdmkOww2KsrFpzxNB5u d3wfeIxXLMqAe42yirXPjKO68uulg+uZ7SVDgFsmpgvSHABOl1NPKFSuvOvRQ8E0cuNu2y z1+1mdT5+cFEXL504yUlwknAJLrv3eNxQtBw2gxYflk8CahY5O1Ttqm7SIp2VQ== 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=1715810720; 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=ymVJYDmlIpCafuIpynpTGxS1t5mu+FTFCw77tvLeY7Y=; b=wYi/eEGyT5uqmcbuxQsiCtmob3sWMgr8dWfsfVIWTnMARKouZxsLrRZIg4+6GIGAJFivRR ZtVaF8XgEDMyOqIWcgqspfBpya7AZ4KWKhDM/mdx2A+YrmzeNAUEWrTO9lnB9bLQclxkgd Tbkg5FGKrtUPHKCnkphTuHX3b9ineDou5TORHczY2uv6BqBdzwPVWX4aTy/Qp0Blo03KHb kTqauDONJB9BZ26QisBOD80ROxEVsHY5E4CtDu6n+TXg0b6oMZd1mvZMVgdq8q8e4hNQBC Z1WPSnKDo4f44Pcc1iBRkY0DSKX5ApTzEjGWosd6StQFmDR2TCEpEOodc+rA5g== 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 4VfnN04FqzzYSM; Wed, 15 May 2024 22:05:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44FM5K9H084020; Wed, 15 May 2024 22:05:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44FM5Kxb084017; Wed, 15 May 2024 22:05:20 GMT (envelope-from git) Date: Wed, 15 May 2024 22:05:20 GMT Message-Id: <202405152205.44FM5Kxb084017@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 698ed6d9b681 - main - sysutils/ansible: Chase 58df5a82adc40a6959e9b22c, net/py-netaddr update 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: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 698ed6d9b68169e3a5549fe2abf1a13bad5a653b Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=698ed6d9b68169e3a5549fe2abf1a13bad5a653b commit 698ed6d9b68169e3a5549fe2abf1a13bad5a653b Author: Cy Schubert AuthorDate: 2024-05-15 18:00:36 +0000 Commit: Cy Schubert CommitDate: 2024-05-15 22:05:14 +0000 sysutils/ansible: Chase 58df5a82adc40a6959e9b22c, net/py-netaddr update net/py-netaddr 1.2.1 deprecated and removed the is_private method. This breaks ansible-collections which is bundled this port's tarball. The upstream patch uses the is_global methhod instead. Reported by: Einar Bjarni Halldorsson Obtained from: https://github.com/ansible-collections/ansible.utils/pull/338 --- sysutils/ansible/Makefile | 1 + ..._utils_plugins_plugin__utils_base_ipaddr_utils.py | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile index d8c4c8e2bcac..e0d5c757c25c 100644 --- a/sysutils/ansible/Makefile +++ b/sysutils/ansible/Makefile @@ -1,5 +1,6 @@ PORTNAME= ansible DISTVERSION= 8.5.0 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/ansible/files/patch-ansible__collections_ansible_utils_plugins_plugin__utils_base_ipaddr_utils.py b/sysutils/ansible/files/patch-ansible__collections_ansible_utils_plugins_plugin__utils_base_ipaddr_utils.py new file mode 100644 index 000000000000..e89669b4830c --- /dev/null +++ b/sysutils/ansible/files/patch-ansible__collections_ansible_utils_plugins_plugin__utils_base_ipaddr_utils.py @@ -0,0 +1,20 @@ +--- ansible_collections/ansible/utils/plugins/plugin_utils/base/ipaddr_utils.py.orig 2023-09-07 02:17:47.000000000 -0700 ++++ ansible_collections/ansible/utils/plugins/plugin_utils/base/ipaddr_utils.py 2024-05-15 08:23:34.190190000 -0700 +@@ -289,7 +289,7 @@ + + + def _private_query(v, value): +- if v.is_private(): ++ if not v.ip.is_global(): + return value + + +@@ -298,7 +298,7 @@ + if all( + [ + v_ip.is_unicast(), +- not v_ip.is_private(), ++ v_ip.is_global(), + not v_ip.is_loopback(), + not v_ip.is_netmask(), + not v_ip.is_hostmask(),