diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-11-14 18:10:37 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-11-14 18:13:07 +0100 |
commit | e38d85d7f66b61cfa64c0ad28a401c1d1d5a886a (patch) | |
tree | 4bdd4cbc84db404783af0f19b0f57092a493478b /app-emulation/docker-proxy | |
parent | fdd29ac95e7272fd89bd0e4b9882f5c8e74d517a (diff) | |
download | gentoo-e38d85d7f66b61cfa64c0ad28a401c1d1d5a886a.tar.gz gentoo-e38d85d7f66b61cfa64c0ad28a401c1d1d5a886a.tar.xz |
app-emulation/docker-proxy: Initial version
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-emulation/docker-proxy')
-rw-r--r-- | app-emulation/docker-proxy/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/docker-proxy/docker-proxy-0.8.0_p20161111.ebuild | 35 | ||||
-rw-r--r-- | app-emulation/docker-proxy/docker-proxy-9999.ebuild | 35 | ||||
-rw-r--r-- | app-emulation/docker-proxy/metadata.xml | 17 |
4 files changed, 88 insertions, 0 deletions
diff --git a/app-emulation/docker-proxy/Manifest b/app-emulation/docker-proxy/Manifest new file mode 100644 index 00000000000..1e23544154a --- /dev/null +++ b/app-emulation/docker-proxy/Manifest @@ -0,0 +1 @@ +DIST docker-proxy-0.8.0_p20161111.tar.gz 2150464 SHA256 204e723a3cb740173af3a0d4b0d00996507d3230da4f348a38b417a215de0959 SHA512 86293b9cafc3c468760266b47412040f21309baad27765f584cfa1e93bc2ad88068832ed55f2ae8e4f16825e9f44619e89985fd36d98b3d47eaf1d1160f76c8e WHIRLPOOL 2b885bf3865a396219af7b32fc20477b15dffa1ac7b8a26602ff1b131d9f7cb31d5f997045bfac5ddf8b75016ca083c31ed345dfe1d9023a8d68b712a72d5979 diff --git a/app-emulation/docker-proxy/docker-proxy-0.8.0_p20161111.ebuild b/app-emulation/docker-proxy/docker-proxy-0.8.0_p20161111.ebuild new file mode 100644 index 00000000000..96b44ae9a14 --- /dev/null +++ b/app-emulation/docker-proxy/docker-proxy-0.8.0_p20161111.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/docker/libnetwork" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + EGIT_COMMIT="57be722e077059d1ee0539be31743a3642ccbeb3" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="Docker container networking" +HOMEPAGE="http://github.com/docker/libnetwork" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RDEPEND="!!<app-emulation/docker-1.13_rc1" + +src_compile() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o "bin/docker-proxy" ./cmd/proxy || die +} + +src_install() { + dodoc ROADMAP.md README.md CHANGELOG.md + dobin bin/docker-proxy +} diff --git a/app-emulation/docker-proxy/docker-proxy-9999.ebuild b/app-emulation/docker-proxy/docker-proxy-9999.ebuild new file mode 100644 index 00000000000..96b44ae9a14 --- /dev/null +++ b/app-emulation/docker-proxy/docker-proxy-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/docker/libnetwork" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + EGIT_COMMIT="57be722e077059d1ee0539be31743a3642ccbeb3" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="Docker container networking" +HOMEPAGE="http://github.com/docker/libnetwork" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RDEPEND="!!<app-emulation/docker-1.13_rc1" + +src_compile() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o "bin/docker-proxy" ./cmd/proxy || die +} + +src_install() { + dodoc ROADMAP.md README.md CHANGELOG.md + dobin bin/docker-proxy +} diff --git a/app-emulation/docker-proxy/metadata.xml b/app-emulation/docker-proxy/metadata.xml new file mode 100644 index 00000000000..910c5804034 --- /dev/null +++ b/app-emulation/docker-proxy/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + </longdescription> + <maintainer type="person"> + <email>tianon@dockerproject.org</email> + <name>Tianon</name> + </maintainer> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">docker/libnetwork</remote-id> + </upstream> +</pkgmetadata> |