app-emulation/docker-proxy: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Mon, 14 Nov 2016 17:10:37 +0000 (18:10 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 14 Nov 2016 17:13:07 +0000 (18:13 +0100)
Package-Manager: portage-2.3.2

app-emulation/docker-proxy/Manifest [new file with mode: 0644]
app-emulation/docker-proxy/docker-proxy-0.8.0_p20161111.ebuild [new file with mode: 0644]
app-emulation/docker-proxy/docker-proxy-9999.ebuild [new file with mode: 0644]
app-emulation/docker-proxy/metadata.xml [new file with mode: 0644]

diff --git a/app-emulation/docker-proxy/Manifest b/app-emulation/docker-proxy/Manifest
new file mode 100644 (file)
index 0000000..1e23544
--- /dev/null
@@ -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 (file)
index 0000000..96b44ae
--- /dev/null
@@ -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 (file)
index 0000000..96b44ae
--- /dev/null
@@ -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 (file)
index 0000000..910c580
--- /dev/null
@@ -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>