docker-cli: update to 27.2.0.

This commit is contained in:
Andrea Brancaleoni 2024-08-28 13:07:37 +02:00
parent 98721ce28b
commit 4e32e64acc
1 changed files with 3 additions and 19 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'docker-cli'
# should be kept in sync with moby
pkgname=docker-cli
version=27.1.2
revision=2
version=27.2.0
revision=1
build_style=go
go_package="github.com/docker/cli/cmd/docker"
go_import_path="github.com/docker/cli"
@ -16,33 +16,17 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://www.docker.com"
distfiles="https://github.com/docker/cli/archive/v${version}.tar.gz"
checksum=e60fddb2bd2b4e19790d26b786c930e70fa935168373ef08055f74bbc450bce8
checksum=abd601fcf2223a550a9a8ef9117345f932b06ccb084bbfb8d111f6809d5e6c83
system_groups="docker"
broken="make manpages creates some 444 mode files, then tries delete them and fails"
pre_build() {
go_ldflags+=" -X \"${_cli_ver_path}.BuildTime=$(date +%Y-%m-%dT%H:%M:%SZ)\""
}
post_build() {
if ! [ -n "$CROSS_BUILD" ]; then
make manpages
fi
}
post_install() {
vcompletion contrib/completion/fish/docker.fish fish docker
vcompletion contrib/completion/zsh/_docker zsh docker
vcompletion contrib/completion/bash/docker bash docker
if ! [ -n "$CROSS_BUILD" ]; then
vman man/man1/docker-run.1
vman man/man1/docker.1
vman man/man1/docker-build.1
vman man/man5/Dockerfile.5
vman man/man5/docker-config-json.5
vman man/man8/dockerd.8
fi
}
docker_package() {