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