From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/jmbsvicetto:master commit in: net-im/nagibot/
Date: Mon, 9 May 2016 00:49:21 +0000 (UTC) [thread overview]
Message-ID: <1462754944.3776e7e634aa7f93301e8744681ef21ee2d03d14.jmbsvicetto@gentoo> (raw)
commit: 3776e7e634aa7f93301e8744681ef21ee2d03d14
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 00:49:04 2016 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Mon May 9 00:49:04 2016 +0000
URL: https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=3776e7e6
net-im/nagibot Bump to release 0.8.4.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
net-im/nagibot/Manifest | 1 +
net-im/nagibot/nagibot-0.8.4.ebuild | 67 +++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/net-im/nagibot/Manifest b/net-im/nagibot/Manifest
index 7fadbe9..91ecb9b 100644
--- a/net-im/nagibot/Manifest
+++ b/net-im/nagibot/Manifest
@@ -1 +1,2 @@
DIST Nagibot-v0.8.3.tar.gz 15781 SHA256 68c3b160cfc27a6e8e231fd7ddfc97f21cb0c5908451e10b6797dbc80befc813 SHA512 1e3eb004549f2f323e2c59f83c3ae5a8461bc38e90d51dbd9b878ccee1b56db49285485b532f9a5b17cef1b7105ec4879ce73761670444695da126f4032ea752 WHIRLPOOL 3694f23f57f16975baa924fa7a42ee9ee0032fba0133540e7681ffa75232f043ba12de186ec47c9df81a23344a06b337aede9dab6af73b2505634af616f10c78
+DIST Nagibot-v0.8.4.tar.gz 16320 SHA256 4f6dc7bdac252a6af9f88a4bea8eb9d521883691538672a9ccb0e90defee8705 SHA512 64a07093e935f5db33a16eebc66da1d263ceb405dea8840d963cfead5904dbc6f8544931a3d674367af1a5e17b0bea3bf018a7682532192f8e59d7c6d5c4bbc5 WHIRLPOOL 4d8b2c95ffcc20457e3cb6930b4b58b6caacb214383c451a0ee0d51f5fc6a463a4dca7d79f27f3d67f11275b8243d21af924cb98d3d50d6140628392c8efe261
diff --git a/net-im/nagibot/nagibot-0.8.4.ebuild b/net-im/nagibot/nagibot-0.8.4.ebuild
new file mode 100644
index 0000000..c88f418
--- /dev/null
+++ b/net-im/nagibot/nagibot-0.8.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="Nagibot"
+MY_PV="v${PV}"
+MY_P="${MY_PN}-${MY_PV}"
+DESCRIPTION="Perl extension that uses XMPP for nagios notifications"
+HOMEPAGE="https://github.com/ajobs/NagiBot"
+SRC_URI="https://github.com/ajobs/${MY_PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-perl/AnyEvent
+ dev-perl/AnyEvent-XMPP
+ dev-perl/File-Pid
+ dev-perl/Nagios-Status-HostStatus
+ dev-perl/Nagios-Status-ServiceStatus
+ dev-perl/Sys-CpuLoad
+ dev-perl/YAML
+ virtual/perl-Text-ParseWords
+ || (
+ net-analyzer/icinga
+ net-analyzer/nagios
+ )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-v${PV}"
+SRC_TEST="do"
+
+src_prepare() {
+ sed -i -e "s:!/opt/perl/bin/perl:!/usr/bin/perl:" nagibot.pl
+
+ cp "${FILESDIR}/nagibot.conf" "${S}"
+ cp "${FILESDIR}/nagibot.cfg" "${S}"
+ if ( use icinga ); then
+ sed -i -e "s:PREFIX=nagios:PREFIX=icinga:" nagibot.conf
+
+ sed -i -e "s:PREFIX:icinga:" nagibot.cfg
+ else
+ sed -i -e "s:PREFIX:nagios:" nagibot.cfg
+ fi
+}
+
+src_install() {
+ dobin nagibot.pl
+ newinitd "${FILESDIR}/nagibot.init" nagibot
+ newconfd "nagibot.conf" nagibot
+ dodir /etc/nagibot
+ insinto /etc/nagibot
+ doins nagibot.cfg
+
+ dodoc INSTALL README TODO Changes nagios-misccommands nagibot-example.conf
+}
+
+pkg_postinst() {
+ ewarn "Please check /etc/conf.d/nagibot.conf and /etc/nagibot/nagibot.cfg"
+ ewarn "as you need to set a few variables. Don't forget to set JID, configure"
+ ewarn "the rooms and the ids to notify and set the password for the JID."
+}
next reply other threads:[~2016-05-09 0:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 0:49 Jorge Manuel B. S. Vicetto [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-09 4:12 [gentoo-commits] dev/jmbsvicetto:master commit in: net-im/nagibot/ Jorge Manuel B. S. Vicetto
2016-05-08 23:46 Jorge Manuel B. S. Vicetto
2013-08-15 14:41 Jorge Manuel B. S. Vicetto
2013-08-15 14:11 Jorge Manuel B. S. Vicetto
2013-08-15 12:10 Jorge Manuel B. S. Vicetto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462754944.3776e7e634aa7f93301e8744681ef21ee2d03d14.jmbsvicetto@gentoo \
--to=jmbsvicetto@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox