aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ansible
diff options
context:
space:
mode:
authorNikolai Lifanov <lifanov@FreeBSD.org>2019-07-06 23:04:14 +0000
committerNikolai Lifanov <lifanov@FreeBSD.org>2019-07-06 23:04:14 +0000
commit80a8e6f4bb2724f3f7397ea0c527e8f6553c8e2a (patch)
treea2915115d79a8fd80f99a66c539c06832e323641 /sysutils/ansible
parentfaba3a2b7753a3ce4806ed5c9adb80fdf6f3913a (diff)
downloadports-80a8e6f4bb2724f3f7397ea0c527e8f6553c8e2a.tar.gz
ports-80a8e6f4bb2724f3f7397ea0c527e8f6553c8e2a.zip
update sysutils/ansible to 2.8.2
This creates sysutils/ansible27 port for users that wish to stay on Ansible 2.7 stable branch. https://github.com/ansible/ansible/blob/v2.8.2/changelogs/CHANGELOG-v2.8.rst
Notes
Notes: svn path=/head/; revision=506078
Diffstat (limited to 'sysutils/ansible')
-rw-r--r--sysutils/ansible/Makefile10
-rw-r--r--sysutils/ansible/distinfo6
-rw-r--r--sysutils/ansible/files/pkg-message.in36
3 files changed, 28 insertions, 24 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 0c6f07a09016..3111733b896d 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= ansible
-PORTVERSION?= 2.7.10
-PORTREVISION?= 1
+PORTVERSION?= 2.8.2
+PORTREVISION?= 0
CATEGORIES= sysutils python
MASTER_SITES= http://releases.ansible.com/ansible/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -32,9 +32,11 @@ CONFLICTS?= ansible1-* \
ansible23-* \
ansible24-* \
ansible25-* \
- ansible26-*
+ ansible27-* \
+ ansible26-* \
+ ansible27-*
-EXTRA_PATCHES?= ${FILESDIR}/extra-patch-sesu
+EXTRA_PATCHES?=
NO_ARCH= yes
USES?= cpe python
diff --git a/sysutils/ansible/distinfo b/sysutils/ansible/distinfo
index c79e09cf549b..cdacd18696ee 100644
--- a/sysutils/ansible/distinfo
+++ b/sysutils/ansible/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1555549874
-SHA256 (ansible-2.7.10.tar.gz) = 84a42d1e371c4222c82e575cb6961fafd3afe920d84e4b6d87affabe400be294
-SIZE (ansible-2.7.10.tar.gz) = 11844278
+TIMESTAMP = 1562452893
+SHA256 (ansible-2.8.2.tar.gz) = 1e5ba829ca0602c55b33da399b06f99b135a34014b661d1c36d8892a1e2d3730
+SIZE (ansible-2.8.2.tar.gz) = 14328267
diff --git a/sysutils/ansible/files/pkg-message.in b/sysutils/ansible/files/pkg-message.in
index 42d32e297796..4d08a68eda59 100644
--- a/sysutils/ansible/files/pkg-message.in
+++ b/sysutils/ansible/files/pkg-message.in
@@ -1,5 +1,6 @@
-===============================================================================
-
+[
+{
+message: <<EOD
To use Ansible, you need at least a host database.
If you installed examples, you will have a sample
host database and a sample configuration file:
@@ -7,22 +8,23 @@ host database and a sample configuration file:
%%EXAMPLESDIR%%/hosts
%%EXAMPLESDIR%%/ansible.cfg
-To use Ansible to control FreeBSD hosts, you need to
-install the lang/python package on remote machines
-and set up a path to the python interpreter. Example:
-
- [freebsd]
- host1
- host2
+EOD
+type: install
+}
+{
+message: <<EOD
+Ansible has been updated to 2.8. Please follow the porting guide
+to update the rulesets:
- [freebsd:vars]
- ansible_python_interpreter=%%PYTHON_CMD%%
+https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.8.html
-Python notes:
+If you wish to stay with 2.7 version, you can switch
+to new sysutils/ansible27 port, which tracks stable 2.7 branch:
-Python 3.x support is BETA. Most modules should work
-and important ones have been audited and tested.
-If you have issues with Python 3, please set
-ansible_python_interpreter=%%LOCALBASE%%/bin/python2
+# pkg set -n ansible:ansible27
-===============================================================================
+EOD
+maximum_version: "2.8"
+type: upgrade
+}
+]