update sysutils/ansible to 2.3.0.0

This is a major release!

https://raw.githubusercontent.com/ansible/ansible/v2.3.0.0-1/CHANGELOG.md

o stop "fixing" default interpreter of /usr/bin/python
o remove NETADDR option and depend on py-netaddr unconditionally

Differential Revision:	https://reviews.freebsd.org/D10165
This commit is contained in:
Nikolai Lifanov 2017-04-12 15:51:13 +00:00
parent cd3a45672c
commit ed84edccde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438364
4 changed files with 29 additions and 28 deletions

View File

@ -5,6 +5,20 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20170412:
AFFECTS: users of sysutils/ansible
AUTHOR: lifanov@FreeBSD.org
The default value for ansible_python_interpreter has been changed
to match the upstream /usr/bin/python. If managing FreeBSD systems,
adjust the hosts database to explicitly set a valid python interpreter:
[freebsd]
host1
[freebsd_vars]
ansible_python_interpreter=/usr/local/bin/python2.7
20170411:
AFFECTS: users of security/libressl
AUTHOR: brnrd@FreeBSD.org

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ansible
PORTVERSION?= 2.2.2.0
PORTVERSION?= 2.3.0.0
PORTREVISION?= 0
CATEGORIES= sysutils python
MASTER_SITES= http://releases.ansible.com/ansible/
@ -16,21 +16,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \
${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr
NO_ARCH= yes
USES?= cpe python shebangfix
USES?= cpe python
USE_PYTHON= autoplist distutils
python_CMD= ${LOCALBASE}/bin/python
SHEBANG_FILES+= lib/ansible/modules/core/*/*.py \
lib/ansible/modules/core/*/*/*.py \
lib/ansible/modules/extras/*/*.py \
lib/ansible/modules/extras/*/*/*.py
CPE_VENDOR= ansibleworks
SUB_FILES= pkg-message
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
PLIST_FILES+= man/man1/ansible-doc.1.gz \
PLIST_FILES+= man/man1/ansible-console.1.gz \
man/man1/ansible-doc.1.gz \
man/man1/ansible-galaxy.1.gz \
man/man1/ansible-playbook.1.gz \
man/man1/ansible-pull.1.gz \
@ -39,11 +37,7 @@ PLIST_FILES+= man/man1/ansible-doc.1.gz \
PORTEXAMPLES= ansible.cfg hosts
OPTIONS_DEFINE= DOCS EXAMPLES NETADDR
OPTIONS_DEFAULT=NETADDR
NETADDR_DESC= Dependency on py-netaddr for ipaddr() filter
NETADDR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
.for f in bin/ansible docs/man/man1/* examples/* lib/ansible/*.py \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1490707549
SHA256 (ansible-2.2.2.0.tar.gz) = efd9c574168ac1916dd57f7c88d4dd2e13ef816af0ee49a8d34c77567886e4c2
SIZE (ansible-2.2.2.0.tar.gz) = 2510182
TIMESTAMP = 1492010911
SHA256 (ansible-2.3.0.0.tar.gz) = 299f3907cd566a20e163942fa82b6afc86ef89c2726ba503b90c1a651e82a458
SIZE (ansible-2.3.0.0.tar.gz) = 4251730

View File

@ -8,22 +8,15 @@ host database and a sample configuration file:
%%EXAMPLESDIR%%/ansible.cfg
To use Ansible to control FreeBSD hosts, you need to
install the lang/python package on remote machines.
To use Ansible to control systems other than FreeBSD,
set the Python interpreter in the host database for
that system. Example:
install the lang/python package on remote machines
and set up a path to the python interpreter. Example:
[freebsd]
host1
host2
[centos]
host3
host4
[centos:vars]
ansible_python_interpreter=/usr/bin/python
[freebsd:vars]
ansible_python_interpreter=%%PYTHON_CMD%%
Python notes: