From bba1f6ea88b057ed8acf7c49c20c6c36eb09ce4a Mon Sep 17 00:00:00 2001 From: Dean Bailey Date: Mon, 10 Feb 2003 05:43:24 +0000 Subject: version bump for nagios-nsca --- net-analyzer/nagios-nsca/ChangeLog | 6 ++- .../nagios-nsca/files/digest-nagios-nsca-2.3 | 1 + net-analyzer/nagios-nsca/nagios-nsca-2.3.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.3 create mode 100644 net-analyzer/nagios-nsca/nagios-nsca-2.3.ebuild (limited to 'net-analyzer/nagios-nsca') diff --git a/net-analyzer/nagios-nsca/ChangeLog b/net-analyzer/nagios-nsca/ChangeLog index ce03f779445b..003419d96706 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.3 2003/01/15 20:01:19 alron Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v 1.4 2003/02/10 05:43:24 alron Exp $ + +*nagios-nsca-2.3 (09 Feb 2003) + 09 Feb 2003; Dean Bailey nagios-nsca-2.3 : + Version bump 15 Jan 2003; Dean Bailey nagios-nsca-2.2 : Changed ~x86 to x86 and added sparc and ppc keywords diff --git a/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.3 b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.3 new file mode 100644 index 000000000000..d6ef7d97b284 --- /dev/null +++ b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.3 @@ -0,0 +1 @@ +MD5 46723112e2a47bfbd1323a3b37c99896 nsca-2.3.tar.gz 54220 diff --git a/net-analyzer/nagios-nsca/nagios-nsca-2.3.ebuild b/net-analyzer/nagios-nsca/nagios-nsca-2.3.ebuild new file mode 100644 index 000000000000..9ac5e107365c --- /dev/null +++ b/net-analyzer/nagios-nsca/nagios-nsca-2.3.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.3.ebuild,v 1.1 2003/02/10 05:43:24 alron Exp $ +DESCRIPTION="Nagios $PV NSCA - Nagios Service Check Acceptor" +HOMEPAGE="http://www.nagios.org/" +SRC_URI="mirror://sourceforge/nagios/nsca-2.3.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="" +DEPEND=">=net-analyzer/nagios-plugins-1.3.0_beta2 + >=libmcrypt-2.5.1-r4" +S="${WORKDIR}/nsca-2.3" + +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 +} -- cgit v1.2.3-65-gdbad