* [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-nrpe: ChangeLog nagios-nrpe-2.12.ebuild nagios-nrpe-2.5.1.ebuild
@ 2008-03-14 7:27 Tobias Scherbaum (dertobi123)
0 siblings, 0 replies; only message in thread
From: Tobias Scherbaum (dertobi123) @ 2008-03-14 7:27 UTC (permalink / raw
To: gentoo-commits
dertobi123 08/03/14 07:27:04
Modified: ChangeLog
Added: nagios-nrpe-2.12.ebuild
Removed: nagios-nrpe-2.5.1.ebuild
Log:
Version bump as per #213317, thanks to Krzysztof Olędzki
(Portage version: 2.1.4.4)
Revision Changes Path
1.48 net-analyzer/nagios-nrpe/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog?r1=1.47&r2=1.48
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ChangeLog 5 Feb 2008 10:56:35 -0000 1.47
+++ ChangeLog 14 Mar 2008 07:27:04 -0000 1.48
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nagios-nrpe
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.47 2008/02/05 10:56:35 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.48 2008/03/14 07:27:04 dertobi123 Exp $
+
+*nagios-nrpe-2.12 (14 Mar 2008)
+
+ 14 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> -files/nrpe-2.5.1,
+ -nagios-nrpe-2.5.1.ebuild, +nagios-nrpe-2.12.ebuild:
+ Version bump as per #213317, thanks to Krzysztof Olędzki
05 Feb 2008; Markus Rothe <corsair@gentoo.org> nagios-nrpe-2.10.ebuild:
Stable on ppc64
1.1 net-analyzer/nagios-nrpe/nagios-nrpe-2.12.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.12.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.12.ebuild?rev=1.1&content-type=text/plain
Index: nagios-nrpe-2.12.ebuild
===================================================================
# Copyright 1999-2008 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.12.ebuild,v 1.1 2008/03/14 07:27:04 dertobi123 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="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~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
econf ${myconf} \
--host=${CHOST} \
--prefix=/usr/nagios \
--localstatedir=/var/nagios \
--sysconfdir=/etc/nagios \
--with-nrpe-user=nagios \
--with-nrpe-grp=nagios || die "econf failed"
emake all || die "make failed"
# 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
newinitd "${FILESDIR}"/nrpe nrpe
cat << EOF > "${T}"/55-nagios-nrpe-revdep
SEARCH_DIRS="/usr/nagios/bin /usr/nagios/libexec"
EOF
insinto /etc/revdep-rebuild
doins "${T}"/55-nagios-nrpe-revdep
}
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.bz2 for more info"
fi
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-14 7:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 7:27 [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-nrpe: ChangeLog nagios-nrpe-2.12.ebuild nagios-nrpe-2.5.1.ebuild Tobias Scherbaum (dertobi123)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox