diff options
author | Caleb Tennis <caleb@gentoo.org> | 2008-04-12 19:22:14 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2008-04-12 19:22:14 +0000 |
commit | fa884009222890ccbba0cf9b2e7de39a8d797598 (patch) | |
tree | 4b51184c5bc90c3d0abf2e86ac54d1686793444b /net-analyzer/nagircbot | |
parent | Version bump (diff) | |
download | gentoo-2-fa884009222890ccbba0cf9b2e7de39a8d797598.tar.gz gentoo-2-fa884009222890ccbba0cf9b2e7de39a8d797598.tar.bz2 gentoo-2-fa884009222890ccbba0cf9b2e7de39a8d797598.zip |
Initial import
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/nagircbot')
-rw-r--r-- | net-analyzer/nagircbot/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/nagircbot/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/nagircbot/files/conf | 2 | ||||
-rwxr-xr-x | net-analyzer/nagircbot/files/init | 20 | ||||
-rw-r--r-- | net-analyzer/nagircbot/metadata.xml | 10 | ||||
-rw-r--r-- | net-analyzer/nagircbot/nagircbot-0.0.26.ebuild | 24 |
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..7f100605e9a0 --- /dev/null +++ b/net-analyzer/nagircbot/Manifest @@ -0,0 +1,6 @@ +AUX conf 125 RMD160 961aa690d10fe16ab46343a4fd21e83f6fb487ef SHA1 c8eea59cdfd1ba7445889a9ac03c11808e1fd113 SHA256 b3a338b3c01aca142621f77e4c2f30c89ffcb694565da0c36a1fc3123e471f94 +AUX init 548 RMD160 7a5fbf86cf8cdcc237e181d78c99bd4a526d7725 SHA1 a29e1a46afd2e222dc311d09cb41b79d00a07b1f SHA256 e6011e6cc622f9c25c8eace172cebf12e0de6820bace4764dcd50dafe79fa312 +DIST nagircbot-0.0.26.tgz 18788 RMD160 6ff0b8ddadd527fc364b6950a7891046a367f1d3 SHA1 bd3b536a2a79957dfe1f90912b1c2edeb46d1ee0 SHA256 954dbedcc2d1642ce33d91734982ebc32fd31c23ff621df43bda8d05cee1b6a6 +EBUILD nagircbot-0.0.26.ebuild 691 RMD160 6886326f4c28a24f4c6220588e1981c6d6170802 SHA1 ed3b30d9901e15eb82290ac1cc22b98f339c328c SHA256 0f145636472ac4793877825f0e3f9f48d3c96cf444ff345f2d95474b9ba90a66 +MISC ChangeLog 290 RMD160 4658b1c90fdd9b4724042d8e96ec72d80aa1c494 SHA1 43a6a3719311d373af446b8bc7ff13d73a94a05d SHA256 150a05c05d0781ffb58f9d3a3a029fd4c238bed2957b0b55cb737acb7e262ea1 +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 +} |