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, 05 Apr 2017 18:42:58
Message-Id: 1491417481.fb3a1bb8ef5062389f72460c3265798a027f3000.prometheanfire@gentoo
1 commit: fb3a1bb8ef5062389f72460c3265798a027f3000
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 5 18:38:01 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 5 18:38:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3a1bb8
7
8 app-admin/mcollective: 2.10.3 bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-admin/mcollective/Manifest | 1 +
13 app-admin/mcollective/mcollective-2.10.3.ebuild | 60 +++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest
17 index f57ced98949..10b82ae7b98 100644
18 --- a/app-admin/mcollective/Manifest
19 +++ b/app-admin/mcollective/Manifest
20 @@ -1,3 +1,4 @@
21 DIST mcollective-2.10.1.tar.gz 1509293 SHA256 b47662b8ab3f150df6153f18c453bad049d8baf0cc8b5589436ae411258492fc SHA512 907bc4bb8527053f0813d19fd9a2fd19701af364d45385356772b09f3db50fd8c4d8e4e53ad9c3ad7c53c78bed52fcfec2354505272302c770c9cfea553309c5 WHIRLPOOL 4e283c42ae8f4161a47e95e1fc223d47fed3bc5308df09b3bd43a7b7d90e1927c2a6067faa872404e261f7e4597e900b7c994266587e8a73c53420d90614b6c6
22 DIST mcollective-2.10.2.tar.gz 1509434 SHA256 ea067ad540db608ae17a569e74104b26f13e528b78ec6367c2fcfb30b8cea500 SHA512 f3a2dd430c13d77ab09d75f50dd5ab8244a9697a5132ef234fe63a9120acbfc917abcfb7fb26d2ca4c4c86cc554889e3f3a6e651283b0d35f72bb7038dd813e6 WHIRLPOOL 9bf6b28d01d0fa593731b024895adc5f0d92504cf9cf2db02ae94fd8654dd6410b7ef46079632a1aadf702fc7470cf58c47e6bd68f7fb6c15834f9e9b16d3d08
23 +DIST mcollective-2.10.3.tar.gz 1509914 SHA256 1de8531a286754a5490b1acd18565bbb6aace1720743c9d7503ef8b587de1c79 SHA512 ee053fa4cb38b1f8d5b5a91c4a6980095039210443b4dc6a5468f1dcba9749152e5feeaeb437660d65e118f8d7a99f7f5082f4c83f4260dfb4ac9d6c007ce638 WHIRLPOOL 75b5111c9593c832af1f96fa5200d5c2300eed99ff8c03c579520a69f88afee34afe37f7d8362f72f46f6e591595ea68433d01960453292766afb0441bad7d2f
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.10.3.ebuild b/app-admin/mcollective/mcollective-2.10.3.ebuild
27 new file mode 100644
28 index 00000000000..975f85e142e
29 --- /dev/null
30 +++ b/app-admin/mcollective/mcollective-2.10.3.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
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 +}