summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Bailey <alron@gentoo.org>2003-01-13 23:57:58 +0000
committerDean Bailey <alron@gentoo.org>2003-01-13 23:57:58 +0000
commit50c3b2fb36384cf4733c4c848ced50ef3936deb7 (patch)
tree54388464285cf5968eb4f37e8841ee8f9996a9d8 /net-analyzer
parentnew nagios-nrpe version (diff)
downloadhistorical-50c3b2fb36384cf4733c4c848ced50ef3936deb7.tar.gz
historical-50c3b2fb36384cf4733c4c848ced50ef3936deb7.tar.bz2
historical-50c3b2fb36384cf4733c4c848ced50ef3936deb7.zip
new nagios-nsca
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagios-nsca/ChangeLog6
-rw-r--r--net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.21
-rw-r--r--net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild47
3 files changed, 53 insertions, 1 deletions
diff --git a/net-analyzer/nagios-nsca/ChangeLog b/net-analyzer/nagios-nsca/ChangeLog
index 18cf5c28912f..c0c5ba489fc6 100644
--- a/net-analyzer/nagios-nsca/ChangeLog
+++ b/net-analyzer/nagios-nsca/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/nagios-nsca
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v 1.1 2002/11/02 05:55:41 alron Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v 1.2 2003/01/13 23:57:58 alron Exp $
+
+*nagios-nsca-2.2 (13 Jan 2003)
+ 13 Jan 2002; Dean Bailey <alron@gentoo.org> nagios-nsca-2.2 :
+ Updated to version 2.2
*nagios-nsca-2.1 (1 Nov 2002)
1 Nov 2002; Dean Bailey <alron@gentoo.org> nagios-nsca-2.1 :
diff --git a/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.2 b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.2
new file mode 100644
index 000000000000..fa561c6143b1
--- /dev/null
+++ b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.2
@@ -0,0 +1 @@
+MD5 5b9b83d15e8196ad08b8ca5dfbae5e0e nsca-2.2.tar.gz 54150
diff --git a/net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild b/net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild
new file mode 100644
index 000000000000..1206d4a0f7b0
--- /dev/null
+++ b/net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild,v 1.1 2003/01/13 23:57:58 alron Exp $
+DESCRIPTION="Nagios $PV NSCA - Nagios Service Check Acceptor"
+HOMEPAGE="http://www.nagios.org/"
+SRC_URI="mirror://sourceforge/nagios/nsca-2.2.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=net-analyzer/nagios-plugins-1.3.0_beta2
+ >=libmcrypt-2.5.1-r4"
+S="${WORKDIR}/nsca-2.2"
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr/nagios \
+ --localstatedir=/var/nagios \
+ --sysconfdir=/etc/nagios \
+ --with-nsca-user=nagios \
+ --with-nsca-grp=nagios \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ emake all || die
+}
+
+src_install() {
+ dodoc LEGAL Changelog README SECURITY
+ insinto /etc/nagios
+ doins ${FILESDIR}/nsca.cfg
+ doins ${FILESDIR}/send_nsca.cfg
+ exeinto /usr/nagios/bin
+ doexe src/nsca
+ fowners nagios:nagios /usr/nagios/bin/nsca
+ exeinto /usr/nagios/libexec
+ doexe src/send_nsca
+ fowners nagios:nagios /usr/nagios/libexec/send_nsca
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/nsca
+}
+pkg_postinst() {
+ einfo
+ einfo "If you are using the nsca daemon, remember to edit"
+ einfo "the config file /etc/nagios/nsca.cfg"
+ einfo
+}