svn commit: r444127 - in branches/2017Q2: . sysutils/ansible sysutils/ansible/files sysutils/ansible1
Nikolai Lifanov
lifanov at FreeBSD.org
Thu Jun 22 18:53:32 UTC 2017
Author: lifanov
Date: Thu Jun 22 18:53:30 2017
New Revision: 444127
URL: https://svnweb.freebsd.org/changeset/ports/444127
Log:
MFH: r438364 r438419 r438787 r441093 r442458
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
sysutils/ansible1: fix packaging
Also, bump expiration date again since I touched it.
I plan to keep it around until sysutils/py-ploy_ansible is migrated.
sysutils/ansible: fix prompt for become-method=su
PR: 218724
Reported by: Guillaume Bibaut <yom at iaelu.net>
sysutils/ansible: add dependency on py-jmespath
o add missing dependency on py-jmespath required by built-in jsonquery
o sort dependency list
PR: 219359
Submitted by: Dave Cottlehuber <dch at skunkwerks.at>
update sysutils/ansible to 2.3.1.0
Relnotes: https://github.com/ansible/ansible/blob/v2.3.1.0-1/CHANGELOG.md
Security: 15a04b9f-47cb-11e7-a853-001fbc0f280f
Approved by: ports-secteam (feld)
Modified:
branches/2017Q2/UPDATING
branches/2017Q2/sysutils/ansible/Makefile
branches/2017Q2/sysutils/ansible/distinfo
branches/2017Q2/sysutils/ansible/files/pkg-message.in
branches/2017Q2/sysutils/ansible1/Makefile
Directory Properties:
branches/2017Q2/ (props changed)
Modified: branches/2017Q2/UPDATING
==============================================================================
--- branches/2017Q2/UPDATING Thu Jun 22 18:20:08 2017 (r444126)
+++ branches/2017Q2/UPDATING Thu Jun 22 18:53:30 2017 (r444127)
@@ -26,6 +26,20 @@ you update your ports collection, before attempting an
Qt5 was fixed to ignore gold. If you see these errors, you
need to rebuild qt5-qmake, then all qt5-* ports.
+20170412:
+ AFFECTS: users of sysutils/ansible
+ AUTHOR: lifanov at 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: www/firefox
AUTHOR: gecko at FreeBSD.org
Modified: branches/2017Q2/sysutils/ansible/Makefile
==============================================================================
--- branches/2017Q2/sysutils/ansible/Makefile Thu Jun 22 18:20:08 2017 (r444126)
+++ branches/2017Q2/sysutils/ansible/Makefile Thu Jun 22 18:53:30 2017 (r444127)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ansible
-PORTVERSION?= 2.2.2.0
+PORTVERSION?= 2.3.1.0
PORTREVISION?= 0
CATEGORIES= sysutils python
MASTER_SITES= http://releases.ansible.com/ansible/
@@ -13,24 +13,25 @@ COMMENT= Radically simple IT automation
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \
- ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
+RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \
+ ${PYTHON_PKGNAMEPREFIX}jmespath>0:devel/py-jmespath \
+ ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr \
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \
- ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2
+ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
+ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml
+EXTRA_PATCHES?= #
+
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 +40,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 \
Modified: branches/2017Q2/sysutils/ansible/distinfo
==============================================================================
--- branches/2017Q2/sysutils/ansible/distinfo Thu Jun 22 18:20:08 2017 (r444126)
+++ branches/2017Q2/sysutils/ansible/distinfo Thu Jun 22 18:53:30 2017 (r444127)
@@ -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 = 1496432079
+SHA256 (ansible-2.3.1.0.tar.gz) = cd4b8f53720fcd0c351156b840fdd15ecfbec22c951b5406ec503de49d40b9f5
+SIZE (ansible-2.3.1.0.tar.gz) = 4263357
Modified: branches/2017Q2/sysutils/ansible/files/pkg-message.in
==============================================================================
--- branches/2017Q2/sysutils/ansible/files/pkg-message.in Thu Jun 22 18:20:08 2017 (r444126)
+++ branches/2017Q2/sysutils/ansible/files/pkg-message.in Thu Jun 22 18:53:30 2017 (r444127)
@@ -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.
+install the lang/python package on remote machines
+and set up a path to the python interpreter. Example:
-To use Ansible to control systems other than FreeBSD,
-set the Python interpreter in the host database for
-that system. Example:
-
[freebsd]
host1
host2
- [centos]
- host3
- host4
-
- [centos:vars]
- ansible_python_interpreter=/usr/bin/python
+ [freebsd:vars]
+ ansible_python_interpreter=%%PYTHON_CMD%%
Python notes:
Modified: branches/2017Q2/sysutils/ansible1/Makefile
==============================================================================
--- branches/2017Q2/sysutils/ansible1/Makefile Thu Jun 22 18:20:08 2017 (r444126)
+++ branches/2017Q2/sysutils/ansible1/Makefile Thu Jun 22 18:53:30 2017 (r444127)
@@ -17,11 +17,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-ya
USES= cpe python:2 shebangfix
+PLIST_FILES= man/man1/ansible-doc.1.gz \
+ man/man1/ansible-galaxy.1.gz \
+ man/man1/ansible-playbook.1.gz \
+ man/man1/ansible-pull.1.gz \
+ man/man1/ansible-vault.1.gz \
+ man/man1/ansible.1.gz
+
SHEBANG_FILES= lib/ansible/runner/action_plugins/synchronize.py
EXTRA_PATCHES=
DEPRECATED= please upgrade to sysutils/ansible
-EXPIRATION_DATE= 2016-10-01
+EXPIRATION_DATE= 2017-10-01
.include "${MASTERDIR}/Makefile"
More information about the svn-ports-branches
mailing list