diff options
author | Lance Albertson <ramereth@gentoo.org> | 2006-07-04 20:01:23 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2006-07-04 20:01:23 +0000 |
commit | 066dc992b97b8a8ad6515b1a4cc85cb91f0bcba9 (patch) | |
tree | aec349824c134077c1d8302ba31720e1a7239830 /net-analyzer/nagios-nrpe | |
parent | Revision bump to support new Java system. (diff) | |
download | gentoo-2-066dc992b97b8a8ad6515b1a4cc85cb91f0bcba9.tar.gz gentoo-2-066dc992b97b8a8ad6515b1a4cc85cb91f0bcba9.tar.bz2 gentoo-2-066dc992b97b8a8ad6515b1a4cc85cb91f0bcba9.zip |
version bump, marked 2.5.1 stable, cleaned old files
(Portage version: 2.1-r1)
Diffstat (limited to 'net-analyzer/nagios-nrpe')
6 files changed, 105 insertions, 3 deletions
diff --git a/net-analyzer/nagios-nrpe/ChangeLog b/net-analyzer/nagios-nrpe/ChangeLog index 55cd66560d76..42e1010bf4db 100644 --- a/net-analyzer/nagios-nrpe/ChangeLog +++ b/net-analyzer/nagios-nrpe/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-analyzer/nagios-nrpe # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.29 2006/05/07 20:15:57 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.30 2006/07/04 20:01:23 ramereth Exp $ + +*nagios-nrpe-2.5.2 (04 Jul 2006) + + 04 Jul 2006; Lance Albertson <ramereth@gentoo.org> -files/nrpe-2.0, + -files/nrpe-2.0.cfg, -nagios-nrpe-2.0.ebuild, -nagios-nrpe-2.0-r1.ebuild, + nagios-nrpe-2.5.1.ebuild, +nagios-nrpe-2.5.2.ebuild: + * Version bump + * Marked 2.5.1 stable on x86 + * Removed old ebuilds/files 07 May 2006; Markus Rothe <corsair@gentoo.org> nagios-nrpe-2.3.ebuild: Stable on ppc64 diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3 index 37980be0a000..1eb7c4788a9f 100644 --- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3 +++ b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3 @@ -1 +1,3 @@ MD5 2e9b7d0a29aa9b57c4a0cc14d80c75c1 nrpe-2.3.tar.gz 97586 +RMD160 b366e1bb4209921002079c8cf75414bb9cf25cd7 nrpe-2.3.tar.gz 97586 +SHA256 c961a21feff2995df39ee18478bc1b1a38ab8da0e5fe62b31fafc234de58f248 nrpe-2.3.tar.gz 97586 diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.1 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.1 index 2561cdc2803b..e86e285b0e9d 100644 --- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.1 +++ b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.1 @@ -1 +1,3 @@ MD5 e083553deaf47a79fd23906d823afc59 nrpe-2.5.1.tar.gz 100382 +RMD160 757eb92cde878d8a0d3e483149d8969728ed7e03 nrpe-2.5.1.tar.gz 100382 +SHA256 a23a0a37d81900d03884898bd0ae9b9da95348cc4a08695a4c229337c83fbe5e nrpe-2.5.1.tar.gz 100382 diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2 new file mode 100644 index 000000000000..a7f996c9f225 --- /dev/null +++ b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2 @@ -0,0 +1,3 @@ +MD5 22afa197db8e4e5b13fac48636917b6d nrpe-2.5.2.tar.gz 100637 +RMD160 79eb2486ebe81e520b4092d91f44e4c1ad0fd44e nrpe-2.5.2.tar.gz 100637 +SHA256 701fa133cffaaab9bce826b076d689f3216fd472585307ab1302b3e469a367b8 nrpe-2.5.2.tar.gz 100637 diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild index a6e8940340c9..377067bbb297 100644 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild +++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild,v 1.1 2006/04/27 01:11:39 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild,v 1.2 2006/07/04 20:01:23 ramereth Exp $ inherit eutils toolchain-funcs @@ -12,7 +12,7 @@ RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86" IUSE="ssl command-args" DEPEND=">=net-analyzer/nagios-plugins-1.3.0 diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild new file mode 100644 index 000000000000..8739b7f3ccf8 --- /dev/null +++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild,v 1.1 2006/07/04 20:01:23 ramereth Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" +HOMEPAGE="http://www.nagios.org/" +SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz" + +RESTRICT="nomirror" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="ssl command-args" +DEPEND=">=net-analyzer/nagios-plugins-1.3.0 + ssl? ( dev-libs/openssl )" +S="${WORKDIR}/nrpe-${PV}" + +pkg_setup() { + enewgroup nagios + enewuser nagios -1 /bin/bash /dev/null nagios +} + +src_compile() { + local myconf + + myconf="${myconf} `use_enable ssl` \ + `use_enable command-args`" + + # Generate the dh.h header file for better security (2005 Mar 20 eldad) + if useq ssl ; then + openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h + fi + + ./configure ${myconf} \ + --host=${CHOST} \ + --prefix=/usr/nagios \ + --localstatedir=/var/nagios \ + --sysconfdir=/etc/nagios \ + --with-nrpe-user=nagios \ + --with-nrpe-grp=nagios \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake all || die + # Add nifty nrpe check tool + cd contrib + $(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c +} + +src_install() { + dodoc LEGAL Changelog README SECURITY README.SSL \ + contrib/README.nrpe_check_control + + insinto /etc/nagios + newins ${S}/sample-config/nrpe.cfg nrpe.cfg + fowners root:nagios /etc/nagios/nrpe.cfg + fperms 0640 /etc/nagios/nrpe.cfg + + exeopts -m0750 -o nagios -g nagios + exeinto /usr/nagios/bin + doexe src/nrpe + + exeopts -m0750 -o nagios -g nagios + exeinto /usr/nagios/libexec + doexe src/check_nrpe contrib/nrpe_check_control + + exeinto /etc/init.d + newexe ${FILESDIR}/nrpe-${PV} nrpe +} +pkg_postinst() { + einfo + einfo "If you are using the nrpe daemon, remember to edit" + einfo "the config file /etc/nagios/nrpe.cfg" + einfo + + if useq command-args ; then + ewarn "You have enabled command-args for NRPE. This enables" + ewarn "the ability for clients to supply arguments to commands" + ewarn "which should be run. " + ewarn "THIS IS CONSIDERED A SECURITY RISK!" + ewarn "Please read /usr/share/doc/${PF}/SECURITY.gz for more info" + fi +} |