mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
app-emulation/docker-proxy: Freeze version 0.8.0_p20180709
This is the version used by docker-19.03. We will be updating the live ebuild to build docker 20.10 dependencies. Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
This commit is contained in:
parent
817ad4c0db
commit
30a116d2e7
@ -1 +0,0 @@
|
|||||||
docker-proxy-9999.ebuild
|
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
EGO_PN="github.com/docker/libnetwork"
|
||||||
|
|
||||||
|
COREOS_GO_PACKAGE="${EGO_PN}"
|
||||||
|
COREOS_GO_VERSION="go1.13"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
inherit golang-vcs
|
||||||
|
else
|
||||||
|
EGIT_COMMIT="3ac297bc7fd0afec9051bbb47024c9bc1d75bf5b"
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
inherit golang-vcs-snapshot
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit coreos-go
|
||||||
|
|
||||||
|
DESCRIPTION="Docker container networking"
|
||||||
|
HOMEPAGE="https://github.com/docker/libnetwork"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
S=${WORKDIR}/${P}/src/${EGO_PN}
|
||||||
|
|
||||||
|
RDEPEND="!<app-emulation/docker-1.13.0_rc1"
|
||||||
|
|
||||||
|
RESTRICT="test" # needs dockerd
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
go_build "${COREOS_GO_PACKAGE}/cmd/proxy"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc ROADMAP.md README.md CHANGELOG.md
|
||||||
|
newbin "${GOBIN}"/proxy docker-proxy
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user