diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-18 23:32:34 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-18 23:32:59 -0800 |
commit | 7d87239eefdb68fbcff37b8da4c8cea23c559b06 (patch) | |
tree | 9a154d27b065a80b44db7736287835915b27d3c2 /app-containers | |
parent | sys-fs/vhba: Bump to 20211218 (diff) | |
download | gentoo-7d87239eefdb68fbcff37b8da4c8cea23c559b06.tar.gz gentoo-7d87239eefdb68fbcff37b8da4c8cea23c559b06.tar.bz2 gentoo-7d87239eefdb68fbcff37b8da4c8cea23c559b06.zip |
Move {app-emulation -> app-containers}/docker-proxy
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/docker-proxy/Manifest | 1 | ||||
-rw-r--r-- | app-containers/docker-proxy/docker-proxy-0.8.0_p20210525.ebuild | 35 | ||||
-rw-r--r-- | app-containers/docker-proxy/metadata.xml | 15 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-containers/docker-proxy/Manifest b/app-containers/docker-proxy/Manifest new file mode 100644 index 000000000000..234680e4f155 --- /dev/null +++ b/app-containers/docker-proxy/Manifest @@ -0,0 +1 @@ +DIST docker-proxy-0.8.0_p20210525.tar.gz 3154432 BLAKE2B 3f273cd4c2dd3c797117bebfe06eb3ae8ce3b3f70d495cb0c77a372d64e23f1d9ad31e8efef64df494cc462e9f4fda9311c99ae7e7218f0fc41b6bf44cf8c08d SHA512 6a94fe23ce1bab0a428ee4bbe20089f5a4470e72c5da156b2b1a89de01cca803374fd9cdcd4c5b25b86af1c4e956c75a1a5ad7fb6639def7bcec69859a77c047 diff --git a/app-containers/docker-proxy/docker-proxy-0.8.0_p20210525.ebuild b/app-containers/docker-proxy/docker-proxy-0.8.0_p20210525.ebuild new file mode 100644 index 000000000000..aff3fde4d8a1 --- /dev/null +++ b/app-containers/docker-proxy/docker-proxy-0.8.0_p20210525.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +EGO_PN="github.com/docker/libnetwork" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + EGIT_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8 + SRC_URI="https://github.com/docker/libnetwork/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="Docker container networking" +HOMEPAGE="https://github.com/docker/libnetwork" + +LICENSE="Apache-2.0" +SLOT="0" + +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() { + dodoc README.md CHANGELOG.md + dobin bin/docker-proxy +} diff --git a/app-containers/docker-proxy/metadata.xml b/app-containers/docker-proxy/metadata.xml new file mode 100644 index 000000000000..c7055f4173cd --- /dev/null +++ b/app-containers/docker-proxy/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <upstream> + <remote-id type="github">docker/libnetwork</remote-id> + </upstream> +</pkgmetadata> |