commit:     1e1f515aeb655165d89f1efc5688f3c6b09b8dcc
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 13:40:22 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 13:40:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1f515a

app-admin/mcollective: bup

Package-Manager: portage-2.2.28

 app-admin/mcollective/Manifest                 |  1 +
 app-admin/mcollective/mcollective-2.8.8.ebuild | 61 ++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest
index 604338e..32c7214 100644
--- a/app-admin/mcollective/Manifest
+++ b/app-admin/mcollective/Manifest
@@ -1 +1,2 @@
 DIST mcollective-2.8.0.tar.gz 718292 SHA256 
47084f9285707f2e457850adcf90811f3d39d4f4baa950d822b20b45633db259 SHA512 
edc3da334dbd3afd18fcedc675c6498edce1c799d9b472f70ebfe1b972e013cba5217ec492ea4128b15d886edaf283246ba70915180f9a10a67f7c0957fd1c8e
 WHIRLPOOL 
0c6461a43c4533334dee420e7a0debfa8aa2e0079b83407c1313a28689b5ecbd891c94740553947bdce4023786eb0e95e497da73108e283619f358d67dac7c0c
+DIST mcollective-2.8.8.tar.gz 1500476 SHA256 
503b26cb0beeb505bf9cd2abbb8724c67bc743ffff4fbaddc321e2a4d663b133 SHA512 
fad2a277bdcb06adb56e87f545c4b85a4b8039263e7230c7b386c561a04d6f3bf80923733e1087c8090b43da734d6b7efe02e52a757191c3cb3ecab50cc97bb6
 WHIRLPOOL 
3e7a52b1ce3b705ed6f705067a4ab900a2faa226d19a36f106e2c2c1e4c4fc3e631630c04012ca456f0230f8fcb47dd5bd97f1d2e849af6edde67fac129301d4

diff --git a/app-admin/mcollective/mcollective-2.8.8.ebuild 
b/app-admin/mcollective/mcollective-2.8.8.ebuild
new file mode 100644
index 0000000..9fc0333
--- /dev/null
+++ b/app-admin/mcollective/mcollective-2.8.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+inherit ruby-ng
+
+DESCRIPTION="Framework to build server orchestration or parallel job execution
+systems"
+HOMEPAGE="http://marionette-collective.org/";
+SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/all/marionette-collective-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +client"
+
+DEPEND=""
+RDEPEND="dev-ruby/stomp"
+
+src_compile() {
+       einfo "nothing to compile"
+}
+
+each_ruby_install() {
+       cd "marionette-collective-${PV}"
+       doruby -r lib/*
+       insinto /usr/share/mcollective
+       use client && dosbin bin/mco
+       dosbin bin/mcollectived
+       if use doc ; then
+               dohtml -r doc/*
+               insinto /usr/share/doc/${P}/ext
+               doins -r ext/*
+       fi
+       newinitd "${FILESDIR}"/mcollectived.initd mcollectived
+       insinto /etc/mcollective
+       cd etc
+       for cfg in *.dist ; do
+               newins "${cfg}" "${cfg%%.dist}"
+               sed -i -e "s:^libdir.*:libdir = 
/usr/share/mcollective/plugins:" \
+                       "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed"
+       done
+       insinto /etc/mcollective/plugin.d
+}
+
+pkg_postinst() {
+       einfo "Mcollective requires a stomp server installed and functioning 
before"
+       einfo "you can use it. The recommended server to use is ActiveMQ [1] 
but"
+       einfo "any other stomp compatible server should work."
+       einfo
+       einfo "It is recommended you read the \'getting started\' guide [2] if 
this"
+       einfo "is a new installation"
+       einfo
+       einfo "[1] http://activemq.apache.org/";
+       einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted";
+}

Reply via email to