diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2017-11-01 23:07:04 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2017-11-01 23:27:57 -0500 |
commit | 7d2571c0f2350b3c524d0531b72f3a2322d262ea (patch) | |
tree | 9c6bc0b969a4ed457582391cd5b1fc645a91ab0c | |
parent | sci-biology/bamtools: Minor fixes (diff) | |
download | gentoo-7d2571c0f2350b3c524d0531b72f3a2322d262ea.tar.gz gentoo-7d2571c0f2350b3c524d0531b72f3a2322d262ea.tar.bz2 gentoo-7d2571c0f2350b3c524d0531b72f3a2322d262ea.zip |
app-admin/mcollective: 2.11.4 bup
Package-Manager: Portage-2.3.8, Repoman-2.3.4
-rw-r--r-- | app-admin/mcollective/Manifest | 1 | ||||
-rw-r--r-- | app-admin/mcollective/mcollective-2.11.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest index 5a457190ac34..0d61b7430eab 100644 --- a/app-admin/mcollective/Manifest +++ b/app-admin/mcollective/Manifest @@ -1,2 +1,3 @@ DIST mcollective-2.11.2.tar.gz 1516590 SHA256 aa3664d5ba2d4d20e448c374c315c91d55b5bb43918a04092747a4052bc3f969 SHA512 1dc393fa1a09c5151b64b84086ef9af934feeebd2700a00cc4c84696fa2a25d90a410a373b553198f5fda6e1e36808ffb8dc38edcb15bb9e4253998aa7504439 WHIRLPOOL f808d4f9ffbf733842dd29f8e0548b90a4705f8b502dcc62509380b013d69de786204025490d4fb67d657e5c6597fb0d3ffdac2724e8dbca6347511ef50be54a DIST mcollective-2.11.3.tar.gz 1516665 SHA256 b9080779fa56c2b77a3f37404b3ac933183e0b0940e6086b0060be2c44aa38d3 SHA512 f5e26dff03f7a671db5de12acba1ce726c8d57fb99831ddbb258da5ba297ade31ea991840fa63cb1ba261281f7f6167a8492c8764a13cc332202ccb9c88d79b8 WHIRLPOOL 69e384489c8138aecc0c404dc9a08e5d92e09deab05a43ab4781b77506f4fe6f3bbd1a9ec9399a59e8a7c89d3462d3062d73a50fae490215628826c2794bd9ff +DIST mcollective-2.11.4.tar.gz 1517194 SHA256 2bf8425a50023744e28f26efd64931d6383b216e9918e1df49276bc5477e4493 SHA512 56af0a8b64ff75351f3448396f8a7cbba603869cdbfa7a97dde5a820e2e287c84e410a77469a3ce01f398858f5c6570c9e3542e372eaa00e3f54e68e3c1ce63b WHIRLPOOL 4e6bed8bbfbd9bf08c3380891321dd2fb673ffd4408acdd0e63c14ca3896d07014f6b034814f98ba89b52818522d49f4ad95d114cb940966ae13409f16ce9365 diff --git a/app-admin/mcollective/mcollective-2.11.4.ebuild b/app-admin/mcollective/mcollective-2.11.4.ebuild new file mode 100644 index 000000000000..795e37902641 --- /dev/null +++ b/app-admin/mcollective/mcollective-2.11.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby21 ruby22 ruby23" + +inherit ruby-ng + +DESCRIPTION="Framework to build server orchestration or parallel job execution +systems" +HOMEPAGE="https://docs.puppet.com/mcollective/" +SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/all/marionette-collective-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +client" + +DEPEND="" +RDEPEND="dev-ruby/stomp" + +src_compile() { + einfo "nothing to compile" +} + +each_ruby_install() { + cd "marionette-collective-${PV}" + doruby -r lib/* + insinto /usr/share/mcollective + use client && dosbin bin/mco + dosbin bin/mcollectived + if use doc ; then + dohtml -r doc/* + insinto /usr/share/doc/${P}/ext + doins -r ext/* + fi + newinitd "${FILESDIR}"/mcollectived.initd mcollectived + insinto /etc/mcollective + cd etc + for cfg in *.dist ; do + newins "${cfg}" "${cfg%%.dist}" + sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \ + "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed" + done + insinto /etc/mcollective/plugin.d +} + +pkg_postinst() { + einfo "Mcollective requires a stomp server installed and functioning before" + einfo "you can use it. The recommended server to use is ActiveMQ [1] but" + einfo "any other stomp compatible server should work." + einfo + einfo "It is recommended you read the \'getting started\' guide [2] if this" + einfo "is a new installation" + einfo + einfo "[1] https://activemq.apache.org/" + einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted" +} |