mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Update package to 1.44.76. Key changes since 1.29.7: 1.32.0: Python 3.7 dropped. 1.33.0: Version numbering aligned with botocore/boto3; aws logs start-live-tail command added. 1.35.0 (S3 checksum): --checksum-mode and --checksum-algorithm flags added to high-level s3 commands. 1.36.0: Shorthand @= file-loading syntax added; aws s3 ls gains --bucket-name-prefix and --bucket-region filters (1.36.35). 1.37.0: CRC32 default for uploads; response checksum validation. 1.39.0: Python 3.8 dropped. 1.40.0: aws eks update-kubeconfig gains --assume-role-arn for cross-account access; STS regional endpoints now default. 1.42.42: aws eks update-kubeconfig gets --proxy-url option. 1.43.0: Login credential provider support. 1.44.0: New --v2-debug flag and AWS_CLI_UPGRADE_DEBUG_MODE env var to detect CLI v2 breaking changes. 1.44.57: aws s3 mb gains --tags flag. 1.44.76 (security): Tighter file permissions for CodeArtifact login and IAM MFA bootstrap output. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
22 lines
483 B
Bash
Executable File
22 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$1" = python3-awscli ] || exit 0
|
|
|
|
python3 - << 'EOF'
|
|
from awscli.clidriver import create_clidriver
|
|
|
|
# Verify CLI driver can be created
|
|
driver = create_clidriver()
|
|
assert driver is not None
|
|
|
|
# Verify help text is available for s3 command
|
|
import awscli.topics
|
|
assert hasattr(awscli.topics, "TOPIC_TAGS")
|
|
EOF
|
|
|
|
# Verify the aws binary runs --version
|
|
aws --version 2>&1 | grep -q "aws-cli" || {
|
|
echo "ERROR: 'aws --version' did not produce expected output"
|
|
exit 1
|
|
}
|