summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-11-26 18:34:58 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-11-26 18:34:58 +0000
commit6698da4b9238abe6e66ef1e72c1348e8237563d5 (patch)
tree3d6a7f1a468e2875959c32eb9af138e43a001aa7 /net-analyzer/nagios-nsca
parentVersion bumped. (diff)
downloadhistorical-6698da4b9238abe6e66ef1e72c1348e8237563d5.tar.gz
historical-6698da4b9238abe6e66ef1e72c1348e8237563d5.tar.bz2
historical-6698da4b9238abe6e66ef1e72c1348e8237563d5.zip
Version bumped.
Diffstat (limited to 'net-analyzer/nagios-nsca')
-rw-r--r--net-analyzer/nagios-nsca/Manifest6
-rw-r--r--net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.41
-rw-r--r--net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild9
-rw-r--r--net-analyzer/nagios-nsca/nagios-nsca-2.4.ebuild49
4 files changed, 58 insertions, 7 deletions
diff --git a/net-analyzer/nagios-nsca/Manifest b/net-analyzer/nagios-nsca/Manifest
index d07bd84919ed..4efc20808082 100644
--- a/net-analyzer/nagios-nsca/Manifest
+++ b/net-analyzer/nagios-nsca/Manifest
@@ -1,8 +1,8 @@
-MD5 887b8f61f7cb8ab1fae5e5f6a034c0b2 nagios-nsca-2.3-r1.ebuild 1388
+MD5 583fba0358753fa8212a9b06ec3f3a6d nagios-nsca-2.3-r1.ebuild 1387
MD5 b13e400dd867486d43a9c86eeae9e994 nagios-nsca-2.3.ebuild 1358
MD5 798339c1b8ac78a13f1c6c309a9d869e nagios-nsca-2.2.ebuild 1358
-MD5 0d61482fcf5c9accf88fab306a3846ac ChangeLog 945
-MD5 887b8f61f7cb8ab1fae5e5f6a034c0b2 nagios-nsca-2.4.ebuild 1388
+MD5 6b529a193a9841a0096063dc2f7858eb ChangeLog 1178
+MD5 3efd2989bf5b6b066c4e034321cdc644 nagios-nsca-2.4.ebuild 1386
MD5 c3eac70a654232dba1889f685dcc227f nagios-nsca-2.1.ebuild 1368
MD5 218223213e92b553a8b48303099e8074 files/nsca 449
MD5 8b86cb8a22eb4b17001fbabccdcb815b files/nsca.cfg 4960
diff --git a/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.4 b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.4
new file mode 100644
index 000000000000..466423fce72a
--- /dev/null
+++ b/net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.4
@@ -0,0 +1 @@
+MD5 ab58553a87940f574ec54189a43a70bc nsca-2.4.tar.gz 54788
diff --git a/net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild b/net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild
index 1552d62e70aa..641607c78e7b 100644
--- a/net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild
+++ b/net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2003 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-r1.ebuild,v 1.2 2003/09/05 23:40:09 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.3-r1.ebuild,v 1.3 2003/11/26 18:34:52 mholzer Exp $
DESCRIPTION="Nagios $PV NSCA - Nagios Service Check Acceptor"
HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagios/nsca-2.3.tar.gz"
+SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz"
+RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc"
IUSE=""
DEPEND=">=net-analyzer/nagios-plugins-1.3.0
- >=libmcrypt-2.5.1-r4"
-S="${WORKDIR}/nsca-2.3"
+ >=libmcrypt-2.5.1-r4"
+S="${WORKDIR}/nsca-${PV}"
src_compile() {
./configure \
diff --git a/net-analyzer/nagios-nsca/nagios-nsca-2.4.ebuild b/net-analyzer/nagios-nsca/nagios-nsca-2.4.ebuild
new file mode 100644
index 000000000000..801721743492
--- /dev/null
+++ b/net-analyzer/nagios-nsca/nagios-nsca-2.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 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.4.ebuild,v 1.1 2003/11/26 18:34:52 mholzer Exp $
+
+DESCRIPTION="Nagios $PV NSCA - Nagios Service Check Acceptor"
+HOMEPAGE="http://www.nagios.org/"
+SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz"
+RESTRICT="nomirror"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE=""
+DEPEND=">=net-analyzer/nagios-plugins-1.3.0
+ >=libmcrypt-2.5.1-r4"
+S="${WORKDIR}/nsca-${PV}"
+
+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
+ newexe ${FILESDIR}/nsca-2.3 nsca
+}
+pkg_postinst() {
+ einfo
+ einfo "If you are using the nsca daemon, remember to edit"
+ einfo "the config file /etc/nagios/nsca.cfg"
+ einfo
+}