diff --git a/app-emulation/docker-cli/Manifest b/app-emulation/docker-cli/Manifest index 82d52fc6d..4e7a66e0d 100644 --- a/app-emulation/docker-cli/Manifest +++ b/app-emulation/docker-cli/Manifest @@ -1,3 +1,4 @@ DIST docker-cli-29.3.1-c2be9cc.tar.gz 6979685 BLAKE2B 53b8e35f36e02cc22bc76a4ab10ca42d13e6b8f6cd9f498903acbcabdbab1c721b2f7d0ed8eacd821f2212a4c801107ad1bbf25ed2f2110c18bf04bed766e3f1 SHA512 c31703769e7ed950f46cc28ff73a2176dec65199c82ea9137a0873e19392c5d3c33bb9d942b8ef9ab1cddde7f058f95d67bc867a6e7f02156525f48c7d8a77f3 DIST docker-cli-29.4.0-9d7ad9f.tar.gz 7044898 BLAKE2B d24a64223a3d3ab625951f82b30ac65788670d98cfe09bfd0946555a82fd79b88b4f59d547553e2b052f3498c53b7e1360342ad5c4412ae6432e6e32cb279929 SHA512 5f82333d14f8997e67197444ce83b4b5c33bc6780ecbe0d5d1ef6aee24cc26ef852123981eae754b90ebb50c2ee1550fd402ce549e23e368d8a9a86b8afce27f DIST docker-cli-29.4.1-055a478.tar.gz 7053881 BLAKE2B 6d34b0075cdc6f0aa87cd687502a8799d4e68699b8328f5f2dcf3ea942572fc654caa8210ae845b2f54604deddbb811855b720253d45a54192ff47ba9ec9d53b SHA512 ab0102957412cf6f8f3422d866fcc04a63ce1fb0ffa1d7d83da6cd297aa6c7a3f3f2a4d06112043bf8d8e4042dab44359587b0994959a83e4637c607ba52392d +DIST docker-cli-29.6.0-fb59821.tar.gz 6871566 BLAKE2B c0c81d5a86c359b9b08c48474a4be282978d474ed26c4d8216e539b6e2bfbe23fa0b7e1ab269ebacd18db768924954a0aa9434fbd1edb74fde48c6ddaaede8ea SHA512 f81047f45f44012b123b4f617e3422c5603e9b22531b747b03453d636be5a0bc46f9133b0d3568a169891a2dc3d309b30b6e621c980546ee32a5902ca7742246 diff --git a/app-emulation/docker-cli/docker-cli-29.6.0.ebuild b/app-emulation/docker-cli/docker-cli-29.6.0.ebuild new file mode 100644 index 000000000..4931c8f7a --- /dev/null +++ b/app-emulation/docker-cli/docker-cli-29.6.0.ebuild @@ -0,0 +1,58 @@ +# Distributed under the terms of the GNU General Public License v2 +# Autogen by MARK Devkit + +EAPI=7 +inherit bash-completion-r1 + +DESCRIPTION="The command-line interface for Docker" +HOMEPAGE="https://github.com/docker/cli" +SRC_URI="https://api.github.com/repos/docker/cli/tarball/refs/tags/v29.6.0 -> docker-cli-29.6.0-fb59821.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="*" +IUSE="hardened" +RESTRICT="strip" +BDEPEND="dev-go/go-md2man + +" +PDEPEND="app-emulation/docker-buildx + +" + +post_src_unpack() { + mv docker-cli-* ${S} +} + + +src_prepare() { + default + sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die + ln -s vendor.mod go.mod + ln -s vendor.sum go.sum +} +src_compile() { + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + export GOPATH="${WORKDIR}/${P}" + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)" + export GOFLAGS="-v -x -mod=vendor" + emake \ + LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ + VERSION="29.6.0-macaroni" \ + GITCOMMIT="fb59821" \ + dynbinary manpages +} +src_install() { + dobin build/docker + doman man/man*/* + dobashcomp contrib/completion/bash/* + bashcomp_alias docker dockerd + insinto /usr/share/fish/vendor_completions.d/ + doins contrib/completion/fish/docker.fish + insinto /usr/share/zsh/site-functions + doins contrib/completion/zsh/_* +} + + + +# vim: filetype=ebuild