summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2015-02-28 21:42:53 +0000
committerAlex Brandt <alunduil@gentoo.org>2015-02-28 21:42:53 +0000
commit315690e4a95ea9987f3f7ec9cd7e09623c952359 (patch)
tree11cbd72098a368a7f9f45dba44aa4e9a2e780444 /app-admin/fleet
parentseccomp USE flag is now global, removing from metadata (diff)
downloadgentoo-2-315690e4a95ea9987f3f7ec9cd7e09623c952359.tar.gz
gentoo-2-315690e4a95ea9987f3f7ec9cd7e09623c952359.tar.bz2
gentoo-2-315690e4a95ea9987f3f7ec9cd7e09623c952359.zip
add version 0.9.1
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)
Diffstat (limited to 'app-admin/fleet')
-rw-r--r--app-admin/fleet/ChangeLog7
-rw-r--r--app-admin/fleet/fleet-0.9.1.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/app-admin/fleet/ChangeLog b/app-admin/fleet/ChangeLog
index e90967bc1341..462163358cc4 100644
--- a/app-admin/fleet/ChangeLog
+++ b/app-admin/fleet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/fleet
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/ChangeLog,v 1.6 2015/02/28 21:40:55 alunduil Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/ChangeLog,v 1.7 2015/02/28 21:42:53 alunduil Exp $
+
+*fleet-0.9.1 (28 Feb 2015)
+
+ 28 Feb 2015; Alex Brandt <alunduil@gentoo.org> +fleet-0.9.1.ebuild:
+ add version 0.9.1
28 Feb 2015; Alex Brandt <alunduil@gentoo.org> -fleet-0.5.3.ebuild:
remove version 0.5.3
diff --git a/app-admin/fleet/fleet-0.9.1.ebuild b/app-admin/fleet/fleet-0.9.1.ebuild
new file mode 100644
index 000000000000..63f49d224905
--- /dev/null
+++ b/app-admin/fleet/fleet-0.9.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.9.1.ebuild,v 1.1 2015/02/28 21:42:53 alunduil Exp $
+
+EAPI=5
+
+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"
+
+DEPEND=">=dev-lang/go-1.3"
+RDEPEND=""
+
+src_compile() {
+ ./build || die 'Build failed'
+}
+
+RESTRICT="test" # Tests fail due to Gentoo bug #500452
+src_test() {
+ ./test || die 'Tests failed'
+}
+
+src_install() {
+ dobin "${S}"/bin/fleetd
+ dobin "${S}"/bin/fleetctl
+
+ systemd_dounit "${FILESDIR}"/fleetd.service
+
+ dodoc README.md
+ use doc && dodoc -r Documentation
+ use examples && dodoc -r examples
+
+ keepdir /etc/${PN}
+ insinto /etc/${PN}
+ newins "${PN}".conf.sample "${PN}".conf
+}
+
+pkg_postinst() {
+ ewarn "If you're upgrading from a version less than 0.8.0, please read the messages!"
+ elog "The fleet binary name changed to fleetd."
+ elog "If you're using systemd, update your configuration:"
+ elog " systemctl disable fleet && systemctl enable fleetd"
+}