Add riak_nagios-9998.ebuild commit-pinned, riak_nagios-9999.ebuild live

This commit is contained in:
Grigory Antsiferov 2017-02-27 16:45:39 +03:00
parent 1d67ae215f
commit 511353a934
4 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST 9cc200e8cec7d6f71f445df5a7bd195f7a772e8a.tar.gz 138580 SHA256 6b5af80b38fee6432f9fc3882c865331efbe509d5609c4d88ac240f41a052045 SHA512 3cf1571b746cb17e6e6e8c86a09d3be46eb5dfb0bc636fedc79caeb3292f55517c56c0cce21f4a9a44f013f9906c68832cbdac3fd0d20c4c57dd80ebf07b1768 WHIRLPOOL 132d81a8e21e4251fed802a4a22d3c48caef0d69cca636b0de813ea44d8d61aa1015afad27865fa7965723272f09eac36ae619148948843d0d306856c5b7f9ca

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Grigory Antsiferov</name>
<email>g.antsiferov@rbkmoney.com</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Nagios Scripts for monitoring Riak"
HOMEPAGE="https://github.com/basho-labs/riak_nagios"
COMMIT="9cc200e8cec7d6f71f445df5a7bd195f7a772e8a"
SRC_URI="https://github.com/basho-labs/${PN}/archive/${COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror"
DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"
# TODO: fetch erlang deps in ebuild;
src_compile() {
emake escript || die "emake failed"
}
src_install() {
exeinto "/usr/$(get_libdir)/nagios/plugins/riak"
doexe check_node bin/*
dodoc README.md
}

View File

@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit git-r3
DESCRIPTION="Nagios Scripts for monitoring Riak"
HOMEPAGE="https://github.com/basho-labs/riak_nagios"
SRC_URI=""
EGIT_REPO_URI="https://github.com/basho-labs/riak_nagios.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE=""
RESTRICT="mirror"
DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"
# TODO: fetch erlang deps in ebuild;
src_compile() {
emake escript || die "emake failed"
}
src_install() {
exeinto "/usr/$(get_libdir)/nagios/plugins/riak"
doexe check_node bin/*
dodoc README.md
}