diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /app-emulation/docker-cli | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'app-emulation/docker-cli')
-rw-r--r-- | app-emulation/docker-cli/Manifest | 5 | ||||
-rw-r--r-- | app-emulation/docker-cli/docker-cli-20.10.4.ebuild | 63 | ||||
-rw-r--r-- | app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild | 64 | ||||
-rw-r--r-- | app-emulation/docker-cli/docker-cli-20.10.5.ebuild | 63 |
4 files changed, 195 insertions, 0 deletions
diff --git a/app-emulation/docker-cli/Manifest b/app-emulation/docker-cli/Manifest index 7a58237de8c4..33e3a4c5bd70 100644 --- a/app-emulation/docker-cli/Manifest +++ b/app-emulation/docker-cli/Manifest @@ -1,5 +1,10 @@ DIST docker-cli-20.10.2.tar.gz 7706210 BLAKE2B c8d537be8344dbd2113232c85a52f001231fdf653819710cf4492c86d58662e5f0d74f6fb00593d1034b5d481f15524cec89e2b3463900705a545b2051ab38d2 SHA512 907c846bf4043dcce4dd4e95e6335554b50e954464a83f75a44b1c0fcf9f2625c490a12758d18653c0d031768878a3f6fc91cb7fc6e1d3235d5e8f21ecd93caf DIST docker-cli-20.10.3.tar.gz 7733821 BLAKE2B ab71e6817e7fe0d7c5f8c776cb25ae7bc49b5a224c835fe833988b67dfdf562207cd0afed4710d33e8a31156bd16bdc70df13f1194e862314add069c320c4e6e SHA512 769bed3e5409f6be570ab3672bef1bea4d16d5bfaeb81af8c4b3b7cfb56732c108c5404464731c001cf94fefd77c40a142bed80c85f1b058041e187453a6b88e +DIST docker-cli-20.10.4.tar.gz 7735373 BLAKE2B 7bbdbaec4e97498c9d6aa66f9e6168afd7dc510f7746f94eff275a00bff23548562e8b879bc70c5018e0b75ebf609e0e68173bc244a441c739687d01eb8b9a3c SHA512 861f69657ac3eede228983b7d845ce98c81f4b0aa601aab37024d3f21cf1ca73a182d33bdde8fb9ad89e4954c3903dc4ec2b81fcf7364941a7c38a80ea410e34 +DIST docker-cli-20.10.5.tar.gz 7734031 BLAKE2B 3f20c5acaaa0d2fa91bf8e94f5b4b0b8ecd4d35fd3bfef3beb91f64fa832318d351bcbd4b1dac51550bc91efb748fb6d5aa4f71143001d194f066437ab3552c5 SHA512 868e19fa834993bbd20a0d28a57f364287f39434355ccf90e63f3ead8d55fe488ac3bdab3f85230bfbede318b93513536f36da131fc17c27763a5375b4e0c636 EBUILD docker-cli-20.10.2.ebuild 1823 BLAKE2B f2cfec3be88532c82bd2b875978a2ce8ee90629747eebd471b3ad1f434c15b34d6fb6edea495863f1d091cab577a1f96355b6afbd7179baa161c01423555d2e9 SHA512 6c0050f769bf95fc9c02063f3597f6199a0f1f822a5b740fcc49872e1652a6fdcd535a926b5e3b512f61a49cfa3852a412c4bffb65ffbc3cdbc8658d44bb46da EBUILD docker-cli-20.10.3.ebuild 1823 BLAKE2B 232555c2644df9900218045ba16e10f922fc64973fe2883d64c47321bc83af2b2682c9e9926661df2600f5b216e4b885de2ff8ea40f1994d5e99d7c3513057fa SHA512 f9c02bbc7aba914229a8b4acb89ff5d7d47edda4472d34b805b462a33c85389104d57a1f5be968e9c5499fb2c8935c4face373a857d9e7d046e2c1a6a138731f +EBUILD docker-cli-20.10.4.ebuild 1768 BLAKE2B b66d801ab91a210b46490e52e040a46f14889615d901ec4682d7caf22544473d0ab1df1d76f90c8210144b4bf26745bda478e4f09c7c8b2e807914137c47fb39 SHA512 a60652d4ac58198cd3e0d37232f8ee4b76d104a498c79fae277092ec94eb25a6767e0b6bb4e9c7ce2cec842aed852e8893a6de108c5c15972438683be43a1e97 +EBUILD docker-cli-20.10.5-r1.ebuild 1811 BLAKE2B 91a14e57e8b29d7b74a1463f3aa00526d0943fbf2e3b10f48959dd586663b9d944d999ad985b71a5f0586f7084929a318ce9f44b253ad6853561d84482abc66c SHA512 5906bcc99bc0435185e81b8bfe2d4567f9506bb9a4c62696c910f587584bd00f2d547d93bc3fe06acf146d518306d213bbab17da7bb6efadbab8fcf566d4dafb +EBUILD docker-cli-20.10.5.ebuild 1768 BLAKE2B 1bdd3da59af0d21d46d4133faefbdf42cac19f0f83b5fc4aec8b35b2dc532fab397e8ba059a7abee6840ba5104604a264db2b6880d54a89d13cd80b3c561c6c8 SHA512 f7a02cc606c1783cb25e59171a4cb311fd2a8bdf29e3a97f3efe2996a4948c6b21fc73456b09809819cd2137790cd508582030cecf75081f5e8508f4f9ba90da MISC metadata.xml 257 BLAKE2B 8a445824133c1734e7b46cdd3a60bb4ac98fb4159b48856d0e296c796c700a2d9ec9ae3c94072f07aaaed98ac22088892b03c358e577df9cfbafa40194e756ee SHA512 9d6339780243409ea9233a9f5faa5c1f5b13431d35792fc6986ed5c3e9ae2e21139f44c11140519ea6cf10ab6db1d06408c1305af9e99cbbd1f2d4b27361a13c diff --git a/app-emulation/docker-cli/docker-cli-20.10.4.ebuild b/app-emulation/docker-cli/docker-cli-20.10.4.ebuild new file mode 100644 index 000000000000..b20c515611a7 --- /dev/null +++ b/app-emulation/docker-cli/docker-cli-20.10.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GIT_COMMIT=48d30b5b32 +EGO_PN="github.com/docker/cli" +inherit bash-completion-r1 golang-vcs-snapshot + +DESCRIPTION="the command line binary for docker" +HOMEPAGE="https://www.docker.com/" +MY_PV=${PV/_/-} +SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="hardened" + +RDEPEND="!<app-emulation/docker-20.10.1" +BDEPEND="dev-go/go-md2man" + +RESTRICT="installsources strip" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +src_prepare() { + default + sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die +} + +src_compile() { + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + export GOPATH="${WORKDIR}/${P}" + # setup CFLAGS and LDFLAGS for separate build target + # see https://github.com/tianon/docker-overlay/pull/10 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" + emake \ + LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ + VERSION="$(cat VERSION)" \ + GITCOMMIT="${GIT_COMMIT}" \ + dynbinary + + # build man pages + # see "cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man) + go build -o "${T}"/gen-manpages ./man || + die 'build gen-manpages failed' + "${T}"/gen-manpages --root "$(pwd)" --target "$(pwd)"/man/man1 || + die 'gen-manpages failed' + ./man/md2man-all.sh -q || + die 'md2man-all.sh failed' +} + +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/_* +} diff --git a/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild b/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild new file mode 100644 index 000000000000..7869c5f026b7 --- /dev/null +++ b/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GIT_COMMIT=55c4c88966 +EGO_PN="github.com/docker/cli" +inherit bash-completion-r1 golang-vcs-snapshot + +DESCRIPTION="the command line binary for docker" +HOMEPAGE="https://www.docker.com/" +MY_PV=${PV/_/-} +SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="hardened" + +RDEPEND="!<app-emulation/docker-20.10.1" +BDEPEND="dev-go/go-md2man" + +RESTRICT="installsources strip" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +src_prepare() { + default + sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die +} + +src_compile() { + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + export GOPATH="${WORKDIR}/${P}" + # setup CFLAGS and LDFLAGS for separate build target + # see https://github.com/tianon/docker-overlay/pull/10 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" + emake \ + LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ + VERSION="$(cat VERSION)" \ + GITCOMMIT="${GIT_COMMIT}" \ + dynbinary + + # build man pages + # see "cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man) + mkdir -p ./man/man1 || die "mkdir failed" + go build -o "${T}"/gen-manpages ./man || + die 'build gen-manpages failed' + "${T}"/gen-manpages --root "$(pwd)" --target "$(pwd)"/man/man1 || + die 'gen-manpages failed' + ./man/md2man-all.sh -q || + die 'md2man-all.sh failed' +} + +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/_* +} diff --git a/app-emulation/docker-cli/docker-cli-20.10.5.ebuild b/app-emulation/docker-cli/docker-cli-20.10.5.ebuild new file mode 100644 index 000000000000..c23d7586e280 --- /dev/null +++ b/app-emulation/docker-cli/docker-cli-20.10.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GIT_COMMIT=55c4c88966 +EGO_PN="github.com/docker/cli" +inherit bash-completion-r1 golang-vcs-snapshot + +DESCRIPTION="the command line binary for docker" +HOMEPAGE="https://www.docker.com/" +MY_PV=${PV/_/-} +SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="hardened" + +RDEPEND="!<app-emulation/docker-20.10.1" +BDEPEND="dev-go/go-md2man" + +RESTRICT="installsources strip" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +src_prepare() { + default + sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die +} + +src_compile() { + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + export GOPATH="${WORKDIR}/${P}" + # setup CFLAGS and LDFLAGS for separate build target + # see https://github.com/tianon/docker-overlay/pull/10 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" + emake \ + LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ + VERSION="$(cat VERSION)" \ + GITCOMMIT="${GIT_COMMIT}" \ + dynbinary + + # build man pages + # see "cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man) + go build -o "${T}"/gen-manpages ./man || + die 'build gen-manpages failed' + "${T}"/gen-manpages --root "$(pwd)" --target "$(pwd)"/man/man1 || + die 'gen-manpages failed' + ./man/md2man-all.sh -q || + die 'md2man-all.sh failed' +} + +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/_* +} |