summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-04-12 19:22:14 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-04-12 19:22:14 +0000
commit37e3e97ce76fd2f5cd3c0914e601b5dce75cfa0a (patch)
tree7483c9180a986a01832f5ed78135edfef949aef4 /net-analyzer
parentalpha/ia64/sparc/x86 stable wrt #217398 (diff)
downloadhistorical-37e3e97ce76fd2f5cd3c0914e601b5dce75cfa0a.tar.gz
historical-37e3e97ce76fd2f5cd3c0914e601b5dce75cfa0a.tar.bz2
historical-37e3e97ce76fd2f5cd3c0914e601b5dce75cfa0a.zip
Initial import
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagircbot/ChangeLog10
-rw-r--r--net-analyzer/nagircbot/Manifest6
-rw-r--r--net-analyzer/nagircbot/files/conf2
-rwxr-xr-xnet-analyzer/nagircbot/files/init20
-rw-r--r--net-analyzer/nagircbot/metadata.xml10
-rw-r--r--net-analyzer/nagircbot/nagircbot-0.0.26.ebuild24
6 files changed, 72 insertions, 0 deletions
diff --git a/net-analyzer/nagircbot/ChangeLog b/net-analyzer/nagircbot/ChangeLog
new file mode 100644
index 000000000000..b723c2f44522
--- /dev/null
+++ b/net-analyzer/nagircbot/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/nagircbot
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/ChangeLog,v 1.1 2008/04/12 19:22:14 caleb Exp $
+
+*nagircbot-0.0.26 (12 Apr 2008)
+
+ 12 Apr 2008; Caleb Tennis <caleb@gentoo.org> +files/conf, +files/init,
+ +metadata.xml, +nagircbot-0.0.26.ebuild:
+ Initial import
+
diff --git a/net-analyzer/nagircbot/Manifest b/net-analyzer/nagircbot/Manifest
new file mode 100644
index 000000000000..5e852e47f072
--- /dev/null
+++ b/net-analyzer/nagircbot/Manifest
@@ -0,0 +1,6 @@
+AUX conf 125 RMD160 961aa690d10fe16ab46343a4fd21e83f6fb487ef SHA1 c8eea59cdfd1ba7445889a9ac03c11808e1fd113 SHA256 b3a338b3c01aca142621f77e4c2f30c89ffcb694565da0c36a1fc3123e471f94
+AUX init 549 RMD160 bda459fd445abf1e1dc44b4aaf423601a068529d SHA1 b5fe5118884d468b41205129a5e566ea2b4def3b SHA256 05726d1b769d341e655690a4ffbe628fe81a0742585fc93d8c25d4c186f526df
+DIST nagircbot-0.0.26.tgz 18788 RMD160 6ff0b8ddadd527fc364b6950a7891046a367f1d3 SHA1 bd3b536a2a79957dfe1f90912b1c2edeb46d1ee0 SHA256 954dbedcc2d1642ce33d91734982ebc32fd31c23ff621df43bda8d05cee1b6a6
+EBUILD nagircbot-0.0.26.ebuild 694 RMD160 30cb7f215c8b45f5496186e4dddc0339a5bbbba8 SHA1 914e7d494a077744894f5f644cd7624822c0543f SHA256 567fc5d092a1a78e1d06ebd4646dbf1b51cdd16374dd35ead917e8c62f129dff
+MISC ChangeLog 383 RMD160 c533cca34f10fc34229bd72fc71a572a48046025 SHA1 abc4be50e6413ba7094d50c29e686f8f0c62cd88 SHA256 a3f6708672476dea02dabfabc72ee95714322dcfa0d30467fef8577de4f78409
+MISC metadata.xml 253 RMD160 4e50c93f565251de34e9e3a11855049e27003980 SHA1 1749d68550fe9c9cfc589ed8698a0540f5398b83 SHA256 d1c9e3db952314c276bfa0f4bfecd9a44965d23b88e2796e377bb84694d373b4
diff --git a/net-analyzer/nagircbot/files/conf b/net-analyzer/nagircbot/files/conf
new file mode 100644
index 000000000000..79fc899e11bd
--- /dev/null
+++ b/net-analyzer/nagircbot/files/conf
@@ -0,0 +1,2 @@
+# Put nagircbot arguments here
+# BOTCONF="-f /var/nagios/status.dat -s irc.freenode.net:6667 -c channel -k password -n name"
diff --git a/net-analyzer/nagircbot/files/init b/net-analyzer/nagircbot/files/init
new file mode 100755
index 000000000000..5ed0496f542f
--- /dev/null
+++ b/net-analyzer/nagircbot/files/init
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/files/init,v 1.1 2008/04/12 19:22:14 caleb Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting nagircbot"
+ start-stop-daemon --start -x /usr/bin/nagircbot -- $BOTCONF
+ eend $? "Failed to start nagircbot"
+}
+
+stop() {
+ ebegin "Stopping nagircbot"
+ start-stop-daemon --stop -x /usr/bin/nagircbot
+ eend $? "Failed to stop nagircbot"
+}
diff --git a/net-analyzer/nagircbot/metadata.xml b/net-analyzer/nagircbot/metadata.xml
new file mode 100644
index 000000000000..c4fdf08ad514
--- /dev/null
+++ b/net-analyzer/nagircbot/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>caleb@gentoo.org</email>
+ <name>Caleb Tennis</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/net-analyzer/nagircbot/nagircbot-0.0.26.ebuild b/net-analyzer/nagircbot/nagircbot-0.0.26.ebuild
new file mode 100644
index 000000000000..959fc09cb48b
--- /dev/null
+++ b/net-analyzer/nagircbot/nagircbot-0.0.26.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/nagircbot-0.0.26.ebuild,v 1.1 2008/04/12 19:22:14 caleb Exp $
+
+DESCRIPTION="An irc bot that alerts you to nagios changes"
+HOMEPAGE="http://www.vanheusden.com/nagircbot"
+SRC_URI="http://www.vanheusden.com/nagircbot/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-analyzer/nagios-core"
+
+src_install() {
+ dodir /usr/bin
+ cp "${S}"/nagircbot "${D}"/usr/bin
+
+ dodir /etc/init.d
+ dodir /etc/conf.d
+ cp "${FILESDIR}"/conf "${D}"/etc/conf.d/nagircbot
+ cp "${FILESDIR}"/init "${D}"/etc/init.d/nagircbot
+}