git: 0bde6ccd9cce - main - sysutils/ansible: security update to 7.6.0

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sun, 28 May 2023 07:24:39 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0bde6ccd9cceae61c7ac1099654dc736c23344dd

commit 0bde6ccd9cceae61c7ac1099654dc736c23344dd
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-05-27 11:24:35 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-05-28 07:18:42 +0000

    sysutils/ansible: security update to 7.6.0
    
    Use python 3.9+ following upstream and ansible-core
    
    Delete CONFLICTS -- conflicting ports were mostly removed in 2020 and
    2021 with the last being removed at the end of last year.
    
    Security:       f418cd50-561a-49a2-a133-965d03ede72a
    Security:       e1b77733-a982-442e-8796-a200571bfcf2
    PR:             271679
    Approved by:    0mp (maintainer)
---
 sysutils/ansible/Makefile | 14 +++-----------
 sysutils/ansible/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 4aaf65e6cb0d..d03d202bbf90 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ansible
-DISTVERSION=	7.1.0
+DISTVERSION=	7.6.0
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ansible-core>0:sysutils/py-ansible-core@${PY_FLAVOR}
 
-USES=		ansible:env cpe python:3.6+ shebangfix
+USES=		ansible:env cpe python:3.9+ shebangfix
 CPE_VENDOR=	redhat
 USE_PYTHON=	autoplist concurrent distutils
 
@@ -32,19 +32,11 @@ SHEBANG_FILES=	ansible_collections/community/zabbix/roles/zabbix_proxy/files/ins
 SHEBANG_REGEX=	(([^/])|(/[^m])|(/m[^o])|(/mo[^d])|(/mod[^u])|(/modu[^l])|(/modul[^e])|(/module[^s])|(/modules[^/]))*\.(py|sh|build.py.generic)
 python_OLD_CMD=	/Users/kbreit/Documents/Programming/ansible_collections/cisco/meraki/venv/bin/python
 
-CONFLICTS_INSTALL=	${_ANSIBLE_PACKAGES:N${PKGBASE}}
-
 NO_ARCH=	yes
 
-DO_MAKE_TEST=	ansible -m ping
+DO_MAKE_TEST=	env LC_ALL=C.UTF-8 ansible -m ping
 TEST_TARGET=	localhost
 
-_ANSIBLE_VERSIONS=	1 2 23 24 25 26 27 28 4
-_ANSIBLE_PACKAGES=	${PYTHON_PKGNAMEPREFIX}ansible
-.for version in ${_ANSIBLE_VERSIONS}
-_ANSIBLE_PACKAGES+=	${PYTHON_PKGNAMEPREFIX}ansible${version}
-.endfor
-
 post-patch:
 	${FIND} ${WRKSRC} -type f -exec ${GREP} --null -El '(/etc/ansible|/usr/share/ansible)' {} + | ${XARGS} -n 500 -0 ${REINPLACE_CMD} \
 		-e 's|/etc/ansible|${ETCDIR}|g' \
diff --git a/sysutils/ansible/distinfo b/sysutils/ansible/distinfo
index b7aae8737b97..d70cf531f1cb 100644
--- a/sysutils/ansible/distinfo
+++ b/sysutils/ansible/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678487687
-SHA256 (ansible-7.1.0.tar.gz) = 1e47238c4aa9e68c0c5367a3fd707ba6c3949b4aaf912b06440ad78dd2bf018d
-SIZE (ansible-7.1.0.tar.gz) = 36277542
+TIMESTAMP = 1685094757
+SHA256 (ansible-7.6.0.tar.gz) = 4159a266f2caf91adf16daca6a23d132b987ce3acde9c0f2f3089e80d8048f2e
+SIZE (ansible-7.6.0.tar.gz) = 38452799