diff options
author | Dean Bailey <alron@gentoo.org> | 2003-01-13 23:57:58 +0000 |
---|---|---|
committer | Dean Bailey <alron@gentoo.org> | 2003-01-13 23:57:58 +0000 |
commit | e1f6315d90dd32efec772a40ebc5dbb10f9e8f6a (patch) | |
tree | 5c91c59caff58e87586aec779e55e06530bb17a8 /net-analyzer/nagios-nsca | |
parent | new nagios-nrpe version (diff) | |
download | gentoo-2-e1f6315d90dd32efec772a40ebc5dbb10f9e8f6a.tar.gz gentoo-2-e1f6315d90dd32efec772a40ebc5dbb10f9e8f6a.tar.bz2 gentoo-2-e1f6315d90dd32efec772a40ebc5dbb10f9e8f6a.zip |
new nagios-nsca
Diffstat (limited to 'net-analyzer/nagios-nsca')
-rw-r--r-- | net-analyzer/nagios-nsca/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.2 | 1 | ||||
-rw-r--r-- | net-analyzer/nagios-nsca/nagios-nsca-2.2.ebuild | 47 |
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 +} |