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
This commit is contained in:
Nikolai Lifanov 2019-07-06 23:04:14 +00:00
parent faba3a2b77
commit 80a8e6f4bb
11 changed files with 61 additions and 29 deletions

View file

@ -42,6 +42,7 @@
SUBDIR += ansible24
SUBDIR += ansible25
SUBDIR += ansible26
SUBDIR += ansible27
SUBDIR += anvil
SUBDIR += apachetop
SUBDIR += apcpwr

View file

@ -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

View file

@ -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

View file

@ -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:
EOD
type: install
}
{
message: <<EOD
Ansible has been updated to 2.8. Please follow the porting guide
to update the rulesets:
[freebsd]
host1
host2
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.8.html
[freebsd:vars]
ansible_python_interpreter=%%PYTHON_CMD%%
If you wish to stay with 2.7 version, you can switch
to new sysutils/ansible27 port, which tracks stable 2.7 branch:
Python notes:
# pkg set -n ansible:ansible27
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
===============================================================================
EOD
maximum_version: "2.8"
type: upgrade
}
]

View file

@ -8,7 +8,8 @@ CONFLICTS= ansible-* \
ansible23-* \
ansible24-* \
ansible25-* \
ansible26-*
ansible26-* \
ansible27-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo

View file

@ -8,7 +8,8 @@ CONFLICTS= ansible-* \
ansible1-* \
ansible24-* \
ansible25-* \
ansible26-*
ansible26-* \
ansible27-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo

View file

@ -8,7 +8,8 @@ CONFLICTS= ansible-* \
ansible1-* \
ansible23-* \
ansible25-* \
ansible26-*
ansible26-* \
ansible27-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo

View file

@ -8,7 +8,8 @@ CONFLICTS= ansible-* \
ansible1-* \
ansible23-* \
ansible24-* \
ansible26-*
ansible26-* \
ansible27-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo

View file

@ -1,13 +1,15 @@
# $FreeBSD$
PORTVERSION= 2.6.16
PORTREVISION= 1
PKGNAMESUFFIX= 26
CONFLICTS= ansible-* \
ansible1-* \
ansible23-* \
ansible24-* \
ansible25-*
ansible25-* \
ansible27-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo

View file

@ -0,0 +1,18 @@
# $FreeBSD$
PORTVERSION= 2.7.10
PKGNAMESUFFIX= 27
CONFLICTS= ansible-* \
ansible1-* \
ansible23-* \
ansible24-* \
ansible25-* \
ansible26-*
MASTERDIR= ${.CURDIR}/../ansible
DISTINFO_FILE= ${.CURDIR}/distinfo
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sesu
.include "${MASTERDIR}/Makefile"

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1562451783
SHA256 (ansible-2.7.10.tar.gz) = 84a42d1e371c4222c82e575cb6961fafd3afe920d84e4b6d87affabe400be294
SIZE (ansible-2.7.10.tar.gz) = 11844278