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