Date: Wed, 26 Jan 2022 10:08:56 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: cc13dc6f0946 - main - sysutils/ansible4: Repocopy sysutils/ansible Message-ID: <202201261008.20QA8uQZ062905@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc13dc6f0946f685a3a421fae1243cea1c367242 commit cc13dc6f0946f685a3a421fae1243cea1c367242 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-01-26 09:23:05 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-01-26 10:08:45 +0000 sysutils/ansible4: Repocopy sysutils/ansible sysutils/ansible will be updated to version 5 soon. Version 4 is still supported so let's keep it in the tree for a bit longer. --- sysutils/ansible4/Makefile | 50 +++++++++++++++++++++++++++++++++++++++++++++ sysutils/ansible4/distinfo | 3 +++ sysutils/ansible4/pkg-descr | 4 ++++ 3 files changed, 57 insertions(+) diff --git a/sysutils/ansible4/Makefile b/sysutils/ansible4/Makefile new file mode 100644 index 000000000000..ad95195c5087 --- /dev/null +++ b/sysutils/ansible4/Makefile @@ -0,0 +1,50 @@ +PORTNAME= ansible +DISTVERSION= 4.10.0 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Radically simple IT automation + +LICENSE= GPLv3+ +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 +CPE_VENDOR= redhat +USE_PYTHON= autoplist concurrent distutils + +SHEBANG_FILES= ansible_collections/community/zabbix/roles/zabbix_proxy/files/install_semodule.bsx \ + ansible_collections/community/zabbix/roles/zabbix_server/files/install_semodule.bsx \ + ansible_collections/cyberark/conjur/ci/build_release \ + ansible_collections/cyberark/conjur/ci/publish_to_galaxy \ + ansible_collections/ovirt/ovirt/roles/disaster_recovery/files/ovirt-dr +SHEBANG_GLOB= *.py *.sh + +CONFLICTS_INSTALL= ${_ANSIBLE_PACKAGES:N${PKGBASE}} + +NO_ARCH= yes + +DO_MAKE_TEST= ansible -m ping +TEST_TARGET= localhost + +_ANSIBLE_VERSIONS= 1 2 23 24 25 26 27 28 +_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' \ + -e 's|/usr/share/ansible|${DATADIR}|g' + ${FIND} ${WRKSRC} -type f -name "*.bak" -delete + +.include <bsd.port.mk> + +# Make sure that we override the unique DATADIR and ETCDIR set +# by the implicit USES=uniquefiles. +DATADIR= ${ANSIBLE_DATADIR} +ETCDIR= ${ANSIBLE_ETCDIR} diff --git a/sysutils/ansible4/distinfo b/sysutils/ansible4/distinfo new file mode 100644 index 000000000000..0108429e6fdd --- /dev/null +++ b/sysutils/ansible4/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1643130968 +SHA256 (ansible-4.10.0.tar.gz) = 88af9479e81a3931bb3a1b8c4eeb252cd4f38c03daafd6a5aa120d6b0d70d45c +SIZE (ansible-4.10.0.tar.gz) = 36832606 diff --git a/sysutils/ansible4/pkg-descr b/sysutils/ansible4/pkg-descr new file mode 100644 index 000000000000..1ecc93bba0cf --- /dev/null +++ b/sysutils/ansible4/pkg-descr @@ -0,0 +1,4 @@ +Ansible is a radically simple configuration-management, deployment, +task-execution, and multinode orchestration framework. + +WWW: https://www.ansible.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201261008.20QA8uQZ062905>