summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-05-15 15:06:47 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-05-17 09:31:47 -0500
commitcd0f2bc19988f1c355feb7b00d969c75ccfc4e80 (patch)
tree278cedd86f03d33a121c25aab4d796f15c556162 /app-containers
parentdev-ruby/rbs: keyword 2.3.2 for ~loong (diff)
downloadgentoo-cd0f2bc19988f1c355feb7b00d969c75ccfc4e80.tar.gz
gentoo-cd0f2bc19988f1c355feb7b00d969c75ccfc4e80.tar.bz2
gentoo-cd0f2bc19988f1c355feb7b00d969c75ccfc4e80.zip
app-containers/docker-proxy: add 0.8.0_p20220315
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/docker-proxy/Manifest1
-rw-r--r--app-containers/docker-proxy/docker-proxy-0.8.0_p20220315.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/app-containers/docker-proxy/Manifest b/app-containers/docker-proxy/Manifest
index 234680e4f155..ba69659cff13 100644
--- a/app-containers/docker-proxy/Manifest
+++ b/app-containers/docker-proxy/Manifest
@@ -1 +1,2 @@
DIST docker-proxy-0.8.0_p20210525.tar.gz 3154432 BLAKE2B 3f273cd4c2dd3c797117bebfe06eb3ae8ce3b3f70d495cb0c77a372d64e23f1d9ad31e8efef64df494cc462e9f4fda9311c99ae7e7218f0fc41b6bf44cf8c08d SHA512 6a94fe23ce1bab0a428ee4bbe20089f5a4470e72c5da156b2b1a89de01cca803374fd9cdcd4c5b25b86af1c4e956c75a1a5ad7fb6639def7bcec69859a77c047
+DIST docker-proxy-0.8.0_p20220315.tar.gz 3154501 BLAKE2B 1078db00c0206542740736f0ffed3261dd6688a273699d47328edc6d803d267c026343f7377ef748e0359c025dbeb6cfc9015bf9ca6ed664e0220f15229fb032 SHA512 d6c09ba5fd2b0d87e97627ad55fca4bed1a0ea4f17c747550054d0e059ec056588995877a3e59a40e664ec1e3c92cde8572addc0e2bba8b588a100c6032c0d20
diff --git a/app-containers/docker-proxy/docker-proxy-0.8.0_p20220315.ebuild b/app-containers/docker-proxy/docker-proxy-0.8.0_p20220315.ebuild
new file mode 100644
index 000000000000..c62396a439aa
--- /dev/null
+++ b/app-containers/docker-proxy/docker-proxy-0.8.0_p20220315.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/moby/libnetwork
+GIT_COMMIT=339b972b464ee3d401b5788b2af9e31d09d6b7da
+inherit golang-vcs-snapshot
+
+DESCRIPTION="Docker container networking"
+HOMEPAGE="https://github.com/docker/libnetwork"
+SRC_URI="https://github.com/moby/libnetwork/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+# needs dockerd
+RESTRICT="strip test"
+
+src_compile() {
+ GO111MODULE=auto GOPATH="${WORKDIR}/${P}" \
+ go build -o "bin/docker-proxy" ./cmd/proxy || die
+}
+
+src_install() {
+ dobin bin/docker-proxy
+ dodoc README.md CHANGELOG.md
+}