mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
sysutils/ansible*: Update pkg-message
The old pkg-message was outdated and commands listed there invalid. It's fixed now. It should be more future-proof this time.
This commit is contained in:
parent
bd26bf09d7
commit
99e2caed69
@ -1,6 +1,6 @@
|
||||
PORTNAME= ansible
|
||||
PORTVERSION?= 2.9.21
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= http://releases.ansible.com/ansible/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -45,6 +45,8 @@ CONFLICTS_INSTALL= ${_ANSIBLE_PACKAGES:N${PKGBASE}-*}
|
||||
EXTRA_PATCHES?=
|
||||
NO_ARCH= yes
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MAJMINVER=${PORTVERSION:R} \
|
||||
PYTHON_PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
PLIST_FILES?= man/man1/ansible-config.1.gz \
|
||||
man/man1/ansible-console.1.gz \
|
||||
|
@ -13,18 +13,18 @@ type: install
|
||||
}
|
||||
{
|
||||
message: <<EOD
|
||||
Ansible has been updated to 2.8. Please follow the porting guide
|
||||
Ansible has been updated to %%MAJMINVER%%. Please follow the porting guide
|
||||
to update the rulesets:
|
||||
|
||||
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.8.html
|
||||
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_%%MAJMINVER%%.html
|
||||
|
||||
If you wish to stay with 2.7 version, you can switch
|
||||
to new sysutils/ansible27 port, which tracks stable 2.7 branch:
|
||||
In order to stay with an older version instead, e.g., 2.7, use pkg-set(8).
|
||||
For example:
|
||||
|
||||
# pkg set -n ansible:ansible27
|
||||
# pkg set -n %%PYTHON_PKGNAMEPREFIX%%ansible:%%PYTHON_PKGNAMEPREFIX%%ansible27
|
||||
|
||||
EOD
|
||||
maximum_version: "2.8"
|
||||
maximum_version: "%%MAJMINVER%%"
|
||||
type: upgrade
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,5 @@
|
||||
PORTVERSION= 2.7.18
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PKGNAMESUFFIX= 27
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../ansible
|
||||
|
@ -1,5 +1,5 @@
|
||||
PORTVERSION= 2.8.20
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PKGNAMESUFFIX= 28
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../ansible
|
||||
|
Loading…
Reference in New Issue
Block a user