sysutils/py-azure-cli: Update to 2.31.0

Release notes:	https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?tabs=azure-cli#december-07-2021
This commit is contained in:
Danilo G. Baio 2022-01-02 11:16:16 -03:00
parent c95ed828f2
commit 04138ea7ad
4 changed files with 54 additions and 26 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.
20220102:
AFFECTS: users of sysutils/py-azure-cli
AUTHOR: dbaio@FreeBSD.org
When upgrading to Azure CLI v2.31.0, you will need to re-authenticate on
Azure services.
$ az login --use-device-code
Starting in version 2.30.0, Azure CLI uses MSAL as the underlying
authentication library. MSAL uses AAD v2.0 authentication flow to provide more
functionality and increases security for token cache.
More info: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli
20211223:
AFFECTS: users of security/bastillion
AUTHOR: netchild@FreeBSD.org

View file

@ -1,5 +1,5 @@
PORTNAME= azure-cli
PORTVERSION= 2.29.2
PORTVERSION= 2.31.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -17,12 +17,11 @@ RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}azure-cli-core>=${PORTVERSION}:sysutils/py-azure-cli-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-cosmos>=3.0.2:devel/py-azure-cosmos@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-datalake-store>=0.0.49:devel/py-azure-datalake-store@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-functions-devops-build>=0.0.22:devel/py-azure-functions-devops-build@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-graphrbac>=0.60.0:devel/py-azure-graphrbac@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-identity>0:devel/py-azure-identity@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-keyvault>=1.1:devel/py-azure-keyvault@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-keyvault-administration>=4.0.0.b3:devel/py-azure-keyvault-administration@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-keyvault-keys>=4.4.0:security/py-azure-keyvault-keys@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-keyvault-keys>=4.5.0.b4:security/py-azure-keyvault-keys@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-loganalytics>=0.1.0:devel/py-azure-loganalytics@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-advisor>=9.0.0:devel/py-azure-mgmt-advisor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-apimanagement>=0.2.0:devel/py-azure-mgmt-apimanagement@${PY_FLAVOR} \
@ -34,29 +33,29 @@ RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-billing>=6.0.0:devel/py-azure-mgmt-billing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-botservice>=0.3.0:devel/py-azure-mgmt-botservice@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cdn>=11.0.0:devel/py-azure-mgmt-cdn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cognitiveservices>=12.0.0:devel/py-azure-mgmt-cognitiveservices@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-compute>=23.0.0:devel/py-azure-mgmt-compute@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cognitiveservices>=13.0.0:devel/py-azure-mgmt-cognitiveservices@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-compute>=23.1.0:devel/py-azure-mgmt-compute@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-consumption>=2.0:devel/py-azure-mgmt-consumption@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerinstance>=9.0.0:devel/py-azure-mgmt-containerinstance@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerregistry>=8.1.0:devel/py-azure-mgmt-containerregistry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerinstance>=9.1.0:devel/py-azure-mgmt-containerinstance@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerregistry>=8.2.0:devel/py-azure-mgmt-containerregistry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerservice>=16.1.0:devel/py-azure-mgmt-containerservice@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cosmosdb>=6.4.0:devel/py-azure-mgmt-cosmosdb@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cosmosdb>=7.0.0.b2:devel/py-azure-mgmt-cosmosdb@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-databoxedge>=1.0.0:devel/py-azure-mgmt-databoxedge@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-analytics>=0.2.1:devel/py-azure-mgmt-datalake-analytics@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-store>=0.5.0:devel/py-azure-mgmt-datalake-store@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datamigration>=9.0.0:devel/py-azure-mgmt-datamigration@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datamigration>=10.0.0:devel/py-azure-mgmt-datamigration@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-deploymentmanager>=0.2.0:devel/py-azure-mgmt-deploymentmanager@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-devtestlabs>=4.0:devel/py-azure-mgmt-devtestlabs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-dns>=8.0.0:devel/py-azure-mgmt-dns@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-eventgrid>=9.0.0:devel/py-azure-mgmt-eventgrid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-eventhub>=9.1.0:devel/py-azure-mgmt-eventhub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-extendedlocation>=1.0.0.b2:devel/py-azure-mgmt-extendedlocation@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-hdinsight>=8.0.0:devel/py-azure-mgmt-hdinsight@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-hdinsight>=9.0.0:devel/py-azure-mgmt-hdinsight@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-imagebuilder>=0.4.0:devel/py-azure-mgmt-imagebuilder@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-iotcentral>=9.0.0.b1:devel/py-azure-mgmt-iotcentral@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-iothub>=2.1.0:devel/py-azure-mgmt-iothub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-iothubprovisioningservices>=0.3.0:devel/py-azure-mgmt-iothubprovisioningservices@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-keyvault>=9.1.0:devel/py-azure-mgmt-keyvault@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-keyvault>=9.3.0:devel/py-azure-mgmt-keyvault@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-kusto>=0.3.0:devel/py-azure-mgmt-kusto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-loganalytics>=11.0.0:devel/py-azure-mgmt-loganalytics@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-managedservices>=1.0:devel/py-azure-mgmt-managedservices@${PY_FLAVOR} \
@ -66,44 +65,44 @@ RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-media>=7.0.0:devel/py-azure-mgmt-media@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-monitor>=2.0.0:devel/py-azure-mgmt-monitor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-msi>=0.2:devel/py-azure-mgmt-msi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-network>=19.0.0:devel/py-azure-mgmt-network@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-netapp>=4.0.0:devel/py-azure-mgmt-netapp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-network>=19.3.0:devel/py-azure-mgmt-network@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-netapp>=5.1.0:devel/py-azure-mgmt-netapp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-policyinsights>=1.0.0:devel/py-azure-mgmt-policyinsights@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-privatedns>=1.0.0:devel/py-azure-mgmt-privatedns@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-rdbms>=9.1.0.b1:devel/py-azure-mgmt-rdbms@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-rdbms>=10.0.0:devel/py-azure-mgmt-rdbms@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-recoveryservices>=2.0.0:devel/py-azure-mgmt-recoveryservices@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-recoveryservicesbackup>=0.15.0:devel/py-azure-mgmt-recoveryservicesbackup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-recoveryservicesbackup>=3.0.0:devel/py-azure-mgmt-recoveryservicesbackup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-redhatopenshift>=1.0.0:devel/py-azure-mgmt-redhatopenshift@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-redis>=13.0.0:devel/py-azure-mgmt-redis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-relay>=0.1.0:devel/py-azure-mgmt-relay@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-reservations>=0.6.0:devel/py-azure-mgmt-reservations@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-resource>=19.0.0:devel/py-azure-mgmt-resource@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-resource>=20.0.0:devel/py-azure-mgmt-resource@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-search>=8.0.0:devel/py-azure-mgmt-search@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-security>=2.0.0.b1:devel/py-azure-mgmt-security@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicebus>=6.0.0:devel/py-azure-mgmt-servicebus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicefabric>=1.0.0:devel/py-azure-mgmt-servicefabric@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicefabricmanagedclusters>=1.0.0:devel/py-azure-mgmt-servicefabricmanagedclusters@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicelinker>=1.0.0.b1:devel/py-azure-mgmt-servicelinker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-signalr>=1.0.0.b2:devel/py-azure-mgmt-signalr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-sql>=3.0.1:devel/py-azure-mgmt-sql@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-sqlvirtualmachine>=1.0.0.b1:devel/py-azure-mgmt-sqlvirtualmachine@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-storage>=19.0.0:devel/py-azure-mgmt-storage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-trafficmanager>=0.51.0:devel/py-azure-mgmt-trafficmanager@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-web>=4.0.0:devel/py-azure-mgmt-web@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-synapse>=2.0.0:devel/py-azure-mgmt-synapse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-multiapi-storage>=0.6.2:devel/py-azure-multiapi-storage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-mgmt-synapse>=2.1.0.b2:devel/py-azure-mgmt-synapse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-multiapi-storage>=0.7.0:devel/py-azure-multiapi-storage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-storage-common>=1.4:devel/py-azure-storage-common@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-synapse-accesscontrol>=0.5.0:devel/py-azure-synapse-accesscontrol@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-synapse-artifacts>=0.8.0:devel/py-azure-synapse-artifacts@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-synapse-artifacts>=0.9.0:devel/py-azure-synapse-artifacts@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-synapse-managedprivateendpoints>=0.3.0:devel/py-azure-synapse-managedprivateendpoints@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-synapse-spark>=0.2.0:devel/py-azure-synapse-spark@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0.4.1:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0.4.4:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>=2.3.1:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fabric>=2.4:devel/py-fabric@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}paramiko>=2.0.8:security/py-paramiko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.4:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=17.1.0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scp>=0.13.2:security/py-scp@${PY_FLAVOR} \
@ -113,9 +112,9 @@ RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}websocket-client>=0.56.0:www/py-websocket-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}javaproperties>=0.5.1:devel/py-javaproperties@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsondiff>=1.2.0:devel/py-jsondiff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsondiff>=1.3.0:devel/py-jsondiff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semver>=2.13.0:devel/py-semver@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygithub>0:devel/py-pygithub@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pygithub>=1.55:devel/py-pygithub@${PY_FLAVOR}
USES= azurepy python:3.6+
USE_PYTHON= autoplist concurrent distutils

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1635622147
SHA256 (azure-cli-2.29.2.tar.gz) = 34813118f2001a48a90c15be279b4010c11481520ac9285ea3986abd42bd2742
SIZE (azure-cli-2.29.2.tar.gz) = 1920423
TIMESTAMP = 1641125570
SHA256 (azure-cli-2.31.0.tar.gz) = 754f34d214df136b4afa07a798fa4ca3b4fa6851a8bc92ba9fe6afb642a99106
SIZE (azure-cli-2.31.0.tar.gz) = 1992900

View file

@ -23,4 +23,19 @@ authorization code displayed in your terminal.
EOM
type: install
}
{
type: upgrade
maximum_version: "2.31.0"
message: <<EOM
When upgrading to Azure CLI v2.31.0, you will need to re-authenticate on Azure
services.
$ az login --use-device-code
Starting in version 2.30.0, Azure CLI uses MSAL as the underlying
authentication library. MSAL uses AAD v2.0 authentication flow to provide more
functionality and increases security for token cache.
More info: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli
EOM
}
]