cleanup: Remove expired ports:

2022-09-30 sysutils/py-ansible-core211: Depends on expired security/py-pycrypto
2022-12-31 sysutils/ansible4: Depends on expired security/py-pycrypto (via sysutils/py-ansible-core211)

Also, Ansible 4 is end-of-life upstream, see e.g.
- https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-community-changelogs
- https://endoflife.date/ansible
This commit is contained in:
Rene Ladan 2022-12-31 15:47:31 +01:00
parent 0a7ac5cfb5
commit 9850ae48b0
8 changed files with 2 additions and 177 deletions

2
MOVED
View file

@ -17740,3 +17740,5 @@ x11-toolkits/wxgtk28-contrib||2022-12-31|Has expired: Upstream support ended
x11-toolkits/wxgtk28-common||2022-12-31|Has expired: Upstream support ended
x11-toolkits/wxgtk28|x11-toolkits/wxgtk30|2022-12-31|Has expired: Upstream support ended, use wx 3.x
www/py-txrequests|www/py-requests-futures|2022-12-31|Has expired: Use www/py-requests-futures as upstream is unmaintained since 2018
sysutils/py-ansible-core211||2022-12-31|Has expired: Depends on expired security/py-pycrypto
sysutils/ansible4||2022-12-31|Has expired: Depends on expired security/py-pycrypto (via sysutils/py-ansible-core211)

View file

@ -45,7 +45,6 @@
SUBDIR += ansible-kld
SUBDIR += ansible-sshjail
SUBDIR += ansible-sysrc
SUBDIR += ansible4
SUBDIR += anvil
SUBDIR += apache-mesos
SUBDIR += apachetop
@ -1055,7 +1054,6 @@
SUBDIR += pxp-agent
SUBDIR += py-ansible-compat
SUBDIR += py-ansible-core
SUBDIR += py-ansible-core211
SUBDIR += py-ansible-lint
SUBDIR += py-ansible-runner
SUBDIR += py-azure-cli

View file

@ -1,55 +0,0 @@
PORTNAME= ansible
DISTVERSION= 4.10.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 4
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Radically simple IT automation
WWW= https://www.ansible.com/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Depends on expired security/py-pycrypto (via sysutils/py-ansible-core211)
EXPIRATION_DATE=2022-12-31
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core211>0:sysutils/py-ansible-core211@${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 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' \
-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}

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1643130968
SHA256 (ansible-4.10.0.tar.gz) = 88af9479e81a3931bb3a1b8c4eeb252cd4f38c03daafd6a5aa120d6b0d70d45c
SIZE (ansible-4.10.0.tar.gz) = 36832606

View file

@ -1,2 +0,0 @@
Ansible is a radically simple configuration-management, deployment,
task-execution, and multinode orchestration framework.

View file

@ -1,107 +0,0 @@
PORTNAME= ansible-core
DISTVERSION= 2.11.10
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 211
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Radically simple IT automation
WWW= https://www.ansible.com/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Depends on expired security/py-pycrypto
EXPIRATION_DATE=2022-09-30
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}resolvelib05>=0.5.3<0.6:devel/py-resolvelib05@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
USES= ansible:env cpe gmake python:3.6+ shebangfix
CPE_VENDOR= redhat
CPE_PRODUCT= ansible
USE_PYTHON= autoplist concurrent distutils
SHEBANG_REGEX= [.]/test/.*[.]py
TEST_ARGS= VERSION=${DISTVERSION} \
PYTHON=${PYTHON_CMD} \
DATE=
TEST_ENV= PYTHON_VERSION=${PYTHON_VER}
TEST_TARGET= tests
CONFLICTS= py*-ansible-base py*-ansible-core py*-ansible2
NO_ARCH= yes
PLIST_FILES= share/man/man1/ansible-config.1.gz \
share/man/man1/ansible-console.1.gz \
share/man/man1/ansible-doc.1.gz \
share/man/man1/ansible-galaxy.1.gz \
share/man/man1/ansible-inventory.1.gz \
share/man/man1/ansible-playbook.1.gz \
share/man/man1/ansible-pull.1.gz \
share/man/man1/ansible-vault.1.gz \
share/man/man1/ansible.1.gz
PORTEXAMPLES= ansible.cfg hosts
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
# Preserve the original paths in
# test/units/cli/galaxy/test_execute_list_collection.py.
# Replacing /usr/share/ansible breaks tests.
${FIND} ${WRKSRC} -not -regex '${WRKSRC}/test/units/cli/galaxy/test_execute_list_collection.py' -type f -print0 | \
${XARGS} -0 ${REINPLACE_CMD} \
-e 's|/etc/ansible|${ETCDIR}|g' \
-e 's|/usr/share/ansible|${DATADIR}|g'
${FIND} ${WRKSRC} -type f -name "*.bak" -delete
post-install:
@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR}
post-stage:
${FIND} ${STAGEDIR}${PREFIX}/bin -type l -name ansible-\* -lname ansible \
-execdir ${RLN} ansible-${PYTHON_VER} {} \;
# USE_PYTHON=autoplist doesn't add this file to pkg-plist.
${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ansible_test/_data/injector/ansible-inventory
pre-test:
# This one file does not get its paths replaced correctly in post-patch.
${REINPLACE_CMD} 's|"/etc"|"${ETCDIR:H}"|g' \
${WRKSRC}/test/units/playbook/test_helpers.py
# This test constructs a Python script inline and uses an invalid path to it.
${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' \
${WRKSRC}/test/units/modules/test_async_wrapper.py
# Skip the SELinux tests, it's not present on FreeBSD.
${RM} ${WRKSRC}/test/units/module_utils/basic/test_selinux.py
# Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1.
${RM} ${WRKSRC}/test/units/utils/test_display.py
.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}

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1648646322
SHA256 (ansible-core-2.11.10.tar.gz) = a0fba319963ff83c249bd0531b0b87d67e3ac0723f9cbf24b96790ff3774a897
SIZE (ansible-core-2.11.10.tar.gz) = 7116288

View file

@ -1,5 +0,0 @@
Ansible is a radically simple configuration-management, deployment,
task-execution, and multinode orchestration framework.
ansible-core contains the core engine, modules and plugins. It does not contain
community and partner supported Ansible Collections of modules and plugins.