diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/fleet/Manifest | 1 | ||||
-rw-r--r-- | app-admin/fleet/fleet-1.0.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/fleet/Manifest b/app-admin/fleet/Manifest index 8722ba552352..c90ce2b59843 100644 --- a/app-admin/fleet/Manifest +++ b/app-admin/fleet/Manifest @@ -1,2 +1,3 @@ DIST fleet-0.11.5.tar.gz 456152 SHA256 a6a785099df71645b5fe8755a36baa6c11138749bc02ae4990fd3f52663c0394 SHA512 1d97e386430db948d8730ec26b7d55a1dad00343600400bf21f9a1cb855e068063244ffe55774e72920c210181ff80bd9706ec99fd9eeb2ac28be14bba1dfbf9 WHIRLPOOL 0a9274cc6077eec1790c3fa9ca1ada71723e392cf50f47d17019edc78fe202893053908ba4565beca7f5f6a0bae97d676304df4cd952ff8e06cb0797f41cea89 DIST fleet-0.11.8.tar.gz 443257 SHA256 22f2f40c1c2938504b31e9dbb54eb6eb54569458a4dffe5e0020e917a5e1f66f SHA512 637332716928efba0f49af1234cfccd1d3979982ad974eb86980263230db5f2bce4eed5dcd80546e371653678e3d3ec448edb50d04b8f336d7402525dfb4ef2f WHIRLPOOL e516a7c0d21455b3a3be2a116473acc255af72c8f03b2eda9fe201b61e259689c536ef7d7f7f1385b42b7e99cce88183a151b33cf85d1f2c42a97e3ddd0e153d +DIST fleet-1.0.0.tar.gz 4865693 SHA256 671326e84b39714c513a6a6e36ba8375a52ff7114f62eb81fa4b0f8c44c44424 SHA512 77f38b605e37499e31effd82c3c4f0efd6adda73e9ded86db68efcd19a34bdc44b9f6f88b7fc94f7ea4f55b2027a1270d3c87897bf12b121614384a91bd9a3cf WHIRLPOOL 05abd679a5bf232f903ca1d1bf20ed663a6a2fd9b32c2804a9528353200088e04861c348d1d8c2ac9671577188547eef23c1e267dad5fb3d6673fc3e5498335a diff --git a/app-admin/fleet/fleet-1.0.0.ebuild b/app-admin/fleet/fleet-1.0.0.ebuild new file mode 100644 index 000000000000..278799623323 --- /dev/null +++ b/app-admin/fleet/fleet-1.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGO_PN="github.com/coreos/fleet" + +inherit systemd vcs-snapshot + +DESCRIPTION="A Distributed init System" +HOMEPAGE="https://github.com/coreos/fleet" +SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples test" + +DEPEND=" + >=dev-lang/go-1.5:= + test? ( dev-go/go-tools ) +" +RDEPEND="" + +src_compile() { + ./build || die 'Build failed' +} + +src_test() { + ./test || die 'Tests failed' +} + +src_install() { + dobin "${S}"/bin/fleetd + dobin "${S}"/bin/fleetctl + + systemd_dounit "${FILESDIR}"/fleet.service + systemd_dounit "${FILESDIR}"/fleet.socket + + dodoc README.md + use doc && dodoc -r Documentation + use examples && dodoc -r examples + + insinto /etc/${PN} + newins "${PN}".conf.sample "${PN}".conf +} |