Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcollective/
Date: Thu, 27 Oct 2016 00:08:42
Message-Id: 1477526740.3174731fbf3b2ac90e32a3c0aec2a5f29eb9c46f.prometheanfire@gentoo
1 commit: 3174731fbf3b2ac90e32a3c0aec2a5f29eb9c46f
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 27 00:05:40 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 27 00:05:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3174731f
7
8 app-admin/mcollective: bup
9
10 Package-Manager: portage-2.3.0
11
12 app-admin/mcollective/Manifest | 1 +
13 app-admin/mcollective/mcollective-2.9.1.ebuild | 61 ++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest
17 index 0b771c4..56aa914 100644
18 --- a/app-admin/mcollective/Manifest
19 +++ b/app-admin/mcollective/Manifest
20 @@ -1,3 +1,4 @@
21 DIST mcollective-2.8.0.tar.gz 718292 SHA256 47084f9285707f2e457850adcf90811f3d39d4f4baa950d822b20b45633db259 SHA512 edc3da334dbd3afd18fcedc675c6498edce1c799d9b472f70ebfe1b972e013cba5217ec492ea4128b15d886edaf283246ba70915180f9a10a67f7c0957fd1c8e WHIRLPOOL 0c6461a43c4533334dee420e7a0debfa8aa2e0079b83407c1313a28689b5ecbd891c94740553947bdce4023786eb0e95e497da73108e283619f358d67dac7c0c
22 DIST mcollective-2.8.8.tar.gz 1500476 SHA256 503b26cb0beeb505bf9cd2abbb8724c67bc743ffff4fbaddc321e2a4d663b133 SHA512 fad2a277bdcb06adb56e87f545c4b85a4b8039263e7230c7b386c561a04d6f3bf80923733e1087c8090b43da734d6b7efe02e52a757191c3cb3ecab50cc97bb6 WHIRLPOOL 3e7a52b1ce3b705ed6f705067a4ab900a2faa226d19a36f106e2c2c1e4c4fc3e631630c04012ca456f0230f8fcb47dd5bd97f1d2e849af6edde67fac129301d4
23 DIST mcollective-2.9.0.tar.gz 1503682 SHA256 93c97ee026986f8e966125551d7e481bd539a98f9f2f2ea94c98c024963ae331 SHA512 7d7dec7e68840bf9aea2890645f5d86389c6be8f84ad330b6ae342edf03d88cdef9f225aef741245a0f9606a46fe9394b9f740b4bf987c6f21ad018c05d84660 WHIRLPOOL 336673cdd5cfba14154435810fdbe3449646df8a85d057fc6a8bfe6d1f1d5fa5b3c4f9d9f470f0fd88d4170cbc1d6af646cfd959661720992dcffb08491657d1
24 +DIST mcollective-2.9.1.tar.gz 1504607 SHA256 89bc9fbd72846b22220074a57d19bbfac56473649078fc3ac8182cc728159249 SHA512 29fedacb61084e1952afd3b9deb302abde3e763d13630d85dc70f78b0853f5b353fb44ccbd00e48e5864d04bf2c7568d7cbe21b06af31e1da72e52aeef3c04cf WHIRLPOOL 8affee96fa344d12b34b5a4e120029ab315133df6fd6cd456d840ab608ceb2027b9411a6a1a74bc5b9d0b029968255a926de888b7a2a1183d1c7aed195f65f7a
25
26 diff --git a/app-admin/mcollective/mcollective-2.9.1.ebuild b/app-admin/mcollective/mcollective-2.9.1.ebuild
27 new file mode 100644
28 index 00000000..9fc0333
29 --- /dev/null
30 +++ b/app-admin/mcollective/mcollective-2.9.1.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="5"
37 +
38 +USE_RUBY="ruby21 ruby22 ruby23"
39 +
40 +inherit ruby-ng
41 +
42 +DESCRIPTION="Framework to build server orchestration or parallel job execution
43 +systems"
44 +HOMEPAGE="http://marionette-collective.org/"
45 +SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +S="${WORKDIR}/all/marionette-collective-${PV}"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="doc +client"
52 +
53 +DEPEND=""
54 +RDEPEND="dev-ruby/stomp"
55 +
56 +src_compile() {
57 + einfo "nothing to compile"
58 +}
59 +
60 +each_ruby_install() {
61 + cd "marionette-collective-${PV}"
62 + doruby -r lib/*
63 + insinto /usr/share/mcollective
64 + use client && dosbin bin/mco
65 + dosbin bin/mcollectived
66 + if use doc ; then
67 + dohtml -r doc/*
68 + insinto /usr/share/doc/${P}/ext
69 + doins -r ext/*
70 + fi
71 + newinitd "${FILESDIR}"/mcollectived.initd mcollectived
72 + insinto /etc/mcollective
73 + cd etc
74 + for cfg in *.dist ; do
75 + newins "${cfg}" "${cfg%%.dist}"
76 + sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \
77 + "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed"
78 + done
79 + insinto /etc/mcollective/plugin.d
80 +}
81 +
82 +pkg_postinst() {
83 + einfo "Mcollective requires a stomp server installed and functioning before"
84 + einfo "you can use it. The recommended server to use is ActiveMQ [1] but"
85 + einfo "any other stomp compatible server should work."
86 + einfo
87 + einfo "It is recommended you read the \'getting started\' guide [2] if this"
88 + einfo "is a new installation"
89 + einfo
90 + einfo "[1] http://activemq.apache.org/"
91 + einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted"
92 +}