Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcollective/
Date: Tue, 23 Oct 2018 17:05:44
Message-Id: 1540314281.be91b068664034826d08878374087eaa156677ce.prometheanfire@gentoo
1 commit: be91b068664034826d08878374087eaa156677ce
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 23 17:04:41 2018 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 23 17:04:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be91b068
7
8 app-admin/mcollective: 2.12.4 bump
9
10 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 app-admin/mcollective/Manifest | 1 +
14 app-admin/mcollective/mcollective-2.12.4.ebuild | 60 +++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest
18 index a5b0ed94a80..9f1b417b808 100644
19 --- a/app-admin/mcollective/Manifest
20 +++ b/app-admin/mcollective/Manifest
21 @@ -1,2 +1,3 @@
22 DIST mcollective-2.12.2.tar.gz 1517725 BLAKE2B e5f2b94843b95fa0749ed7e3e1ae52aeb485bf6644b64d971efd7d7a0e7bc806de0d2b00997c7e36d004fd78c479b9cf19b927e717ad0f3e4c13e820e5481637 SHA512 83be835499adf836797a67adda9be6d1bbf32524560ae51533875a1e2507599c7a0a1d2a76513669b919cf1eeceabdf13162eedb8972c74ecdeba5427b1701e4
23 DIST mcollective-2.12.3.tar.gz 1516461 BLAKE2B f8fa65ffadb98ae3511416aaf8b0875486b75f20e4da4007ad70820f453a6ecd81b57d7aa30ae38b014b984330f6c4d525002a54edb2c00d629b6fd4b2250049 SHA512 55798d4579a6be8a7790b046f8b4e72607935c83ec874b6147258d827e0bf279f08dfa121d7cc4a8ed922986aa6bad9ebd62b7e3cbc1e7ef526cf58edce1bcdc
24 +DIST mcollective-2.12.4.tar.gz 1517723 BLAKE2B e49a43ae7b99a5f22fe33549b26f938941f4e007c164c3c8de77daf2b3410c7db21e5023a400c87a2e4927a5a986e3b66bc3363a0c697ea06f0dd112825ae368 SHA512 f357297253f1cb5815738c8899a543642ce721c60ba023b13a7b14a99049d909622f8500ed82fc68c142cc1ffc106aed5a9bf8b1604a47c19a04a5ef4006b9e5
25
26 diff --git a/app-admin/mcollective/mcollective-2.12.4.ebuild b/app-admin/mcollective/mcollective-2.12.4.ebuild
27 new file mode 100644
28 index 00000000000..866f8f6e1fb
29 --- /dev/null
30 +++ b/app-admin/mcollective/mcollective-2.12.4.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +
37 +USE_RUBY="ruby23 ruby24 ruby25"
38 +
39 +inherit ruby-ng
40 +
41 +DESCRIPTION="Framework to build server orchestration or parallel job execution
42 +systems"
43 +HOMEPAGE="https://docs.puppet.com/mcollective/"
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-1.4.4"
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] https://activemq.apache.org/"
90 + einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted"
91 +}