1 |
commit: cd0f2bc19988f1c355feb7b00d969c75ccfc4e80 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 15 20:06:47 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 14:31:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0f2bc1 |
7 |
|
8 |
app-containers/docker-proxy: add 0.8.0_p20220315 |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
app-containers/docker-proxy/Manifest | 1 + |
13 |
.../docker-proxy-0.8.0_p20220315.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/app-containers/docker-proxy/Manifest b/app-containers/docker-proxy/Manifest |
17 |
index 234680e4f155..ba69659cff13 100644 |
18 |
--- a/app-containers/docker-proxy/Manifest |
19 |
+++ b/app-containers/docker-proxy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST docker-proxy-0.8.0_p20210525.tar.gz 3154432 BLAKE2B 3f273cd4c2dd3c797117bebfe06eb3ae8ce3b3f70d495cb0c77a372d64e23f1d9ad31e8efef64df494cc462e9f4fda9311c99ae7e7218f0fc41b6bf44cf8c08d SHA512 6a94fe23ce1bab0a428ee4bbe20089f5a4470e72c5da156b2b1a89de01cca803374fd9cdcd4c5b25b86af1c4e956c75a1a5ad7fb6639def7bcec69859a77c047 |
22 |
+DIST docker-proxy-0.8.0_p20220315.tar.gz 3154501 BLAKE2B 1078db00c0206542740736f0ffed3261dd6688a273699d47328edc6d803d267c026343f7377ef748e0359c025dbeb6cfc9015bf9ca6ed664e0220f15229fb032 SHA512 d6c09ba5fd2b0d87e97627ad55fca4bed1a0ea4f17c747550054d0e059ec056588995877a3e59a40e664ec1e3c92cde8572addc0e2bba8b588a100c6032c0d20 |
23 |
|
24 |
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 |
25 |
new file mode 100644 |
26 |
index 000000000000..c62396a439aa |
27 |
--- /dev/null |
28 |
+++ b/app-containers/docker-proxy/docker-proxy-0.8.0_p20220315.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+EGO_PN=github.com/moby/libnetwork |
35 |
+GIT_COMMIT=339b972b464ee3d401b5788b2af9e31d09d6b7da |
36 |
+inherit golang-vcs-snapshot |
37 |
+ |
38 |
+DESCRIPTION="Docker container networking" |
39 |
+HOMEPAGE="https://github.com/docker/libnetwork" |
40 |
+SRC_URI="https://github.com/moby/libnetwork/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
45 |
+ |
46 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
47 |
+ |
48 |
+# needs dockerd |
49 |
+RESTRICT="strip test" |
50 |
+ |
51 |
+src_compile() { |
52 |
+ GO111MODULE=auto GOPATH="${WORKDIR}/${P}" \ |
53 |
+ go build -o "bin/docker-proxy" ./cmd/proxy || die |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ dobin bin/docker-proxy |
58 |
+ dodoc README.md CHANGELOG.md |
59 |
+} |