# ChangeLog for net-analyzer/nagios-nrpe
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.36 2007/02/20 00:07:20 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.37 2007/03/12 00:32:39 mjolnir Exp $
+
+*nagios-nrpe-2.7.1 (12 Mar 2007)
+
+ 12 Mar 2007; Martin Jackson <mjolnir@gentoo.org>
+ +nagios-nrpe-2.7.1.ebuild:
+ Version bump to 2.7.1
20 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
--- /dev/null
+MD5 c0983b6e2fa746e01019e6203faae5b2 nrpe-2.7.1.tar.gz 102000
+RMD160 7af488b8b05991cd8f49d28f716ecaf19cd6d838 nrpe-2.7.1.tar.gz 102000
+SHA256 e8013cc820a2e7352284e24053919622546d3dc2e39c26fbe148d22285809e54 nrpe-2.7.1.tar.gz 102000
--- /dev/null
+# Copyright 1999-2007 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.7.1.ebuild,v 1.1 2007/03/12 00:32:39 mjolnir 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="~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
+
+ ./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
+
+ cat << EOF > ${T}/55-nagios-revdep
+SEARCH_DIRS="/usr/nagios/bin /usr/nagios/libexec"
+EOF
+
+ insinto /etc/revdep-rebuild
+ doins ${T}/55-nagios-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.gz for more info"
+ fi
+}
DIST nsca-2.4.tar.gz 54788 RMD160 8a06e3a257f64e0e79745a4935f2363a445f56db SHA1 281a26f6579b823a985871deb0810f363cdb29b2 SHA256 bba0d2c3582086c8d77ef2c7921b571d1a657eedee3bed8af4f59b3fdb3f8866
DIST nsca-2.5.tar.gz 99141 RMD160 1993d57873644726603b687181fcf8fe49fea758 SHA1 d20bae0d409b5f259b065f16aa67bcc9edf47b1c SHA256 35dc1d32d35dabcb5649ae4825ea0073d3cd45a20cab7f3c3abbb52120f1f1bb
DIST nsca-2.6.tar.gz 101341 RMD160 a1305b0ea0ceff2725a30ad70b7283125e96e9b6 SHA1 7fea1336a44e8d7ff59a73494494bb8386cd4512 SHA256 6b12781537e5301bf2c902e9fa9961cb95f624856f3d89d72416d3cca734e05a
+DIST nsca-2.7.1.tar.gz 104861 RMD160 6b33a55f158a0cb236f7027217a8c3b7b0790ad0 SHA1 678a49c06c1203bc0f181e36c51ac5b2147d6044 SHA256 2dfdeed4ddf50da6855c01bec922d85ba190e76039f8f113320b73150732ab27
EBUILD nagios-nsca-2.4.ebuild 1391 RMD160 b06f7d554d726e4ca77672f85bd40752bb9a1ad9 SHA1 6405749ca563bc5c0d04d668fa9a773a63784faf SHA256 965190b928f74b017899d0e9f11916408818454ebd8d303cfa0e1e8be912c0ed
MD5 a438669b4f305a3c834920170611635e nagios-nsca-2.4.ebuild 1391
RMD160 b06f7d554d726e4ca77672f85bd40752bb9a1ad9 nagios-nsca-2.4.ebuild 1391
MD5 7b89112c4778b5398d635fdf90ca21c2 nagios-nsca-2.6.ebuild 1411
RMD160 7de7ee612be18f36ebff64a35380a1740fa7feb5 nagios-nsca-2.6.ebuild 1411
SHA256 412b923325e802a67808e683fd5410971e90c3e0850a081ccf18a41fa91ca397 nagios-nsca-2.6.ebuild 1411
-MISC ChangeLog 2643 RMD160 7c276cb1b497fb33797b686cdba2f167f88d2f3e SHA1 def872c4e34c47f10305ac604e85cd1359a0d87d SHA256 1b263ae1483f9afa569adde708217cb23219844077cdd79ba9a33b6724073ae1
-MD5 3f3e718abcc58164566fedbe74afb6ef ChangeLog 2643
-RMD160 7c276cb1b497fb33797b686cdba2f167f88d2f3e ChangeLog 2643
-SHA256 1b263ae1483f9afa569adde708217cb23219844077cdd79ba9a33b6724073ae1 ChangeLog 2643
+EBUILD nagios-nsca-2.7.1.ebuild 1418 RMD160 552702da7e1efc9b86fe3f9435060cfc2b57696f SHA1 95acfc7fd7410a3a9f239082a31f1b1c9161ef8a SHA256 c93adc394c594e62a902ca5b76282dada71577c43017995a8b20cbdb97bd3aa5
+MD5 18832e6531035506999c68658e4124fc nagios-nsca-2.7.1.ebuild 1418
+RMD160 552702da7e1efc9b86fe3f9435060cfc2b57696f nagios-nsca-2.7.1.ebuild 1418
+SHA256 c93adc394c594e62a902ca5b76282dada71577c43017995a8b20cbdb97bd3aa5 nagios-nsca-2.7.1.ebuild 1418
+MISC ChangeLog 2796 RMD160 8865c4aabc69a6d8fbb82289f2a1a418762a1d35 SHA1 cd572e807d9c02eea49c18500046d3f0833127b4 SHA256 08f1a0df174e8234ea27bbf7c058fb810b88cc370b6feee0787a957ce2edc815
+MD5 c32a88d721fb2339255b9c0a84cba8de ChangeLog 2796
+RMD160 8865c4aabc69a6d8fbb82289f2a1a418762a1d35 ChangeLog 2796
+SHA256 08f1a0df174e8234ea27bbf7c058fb810b88cc370b6feee0787a957ce2edc815 ChangeLog 2796
MISC metadata.xml 1129 RMD160 974a4470ff5f427ed40d51fd39d40af8a457bbeb SHA1 a720a382b332be3ae4690c81e461e418660dd321 SHA256 3db7a041c2db1b758f11c2f60f96a25c45e36cd4dd7e923f8d1ab8d98d2a2623
MD5 d01d27586cb77c61a399d77b3b33c408 metadata.xml 1129
RMD160 974a4470ff5f427ed40d51fd39d40af8a457bbeb metadata.xml 1129
MD5 bcdb8406e3113f2d7e42302fef8719f5 files/digest-nagios-nsca-2.6 226
RMD160 d8f6d9e21fa4af2d63fe947bceb3481c042e35ee files/digest-nagios-nsca-2.6 226
SHA256 533ba6d51573b822e5e8012efbca229c64868da659551ff62afbcbde839cbf85 files/digest-nagios-nsca-2.6 226
+MD5 dcf8b869e6bd6d9e87504f21189aedb1 files/digest-nagios-nsca-2.7.1 232
+RMD160 681373cc979a454479bcb3dd3115f12dfa7c5aa3 files/digest-nagios-nsca-2.7.1 232
+SHA256 0cfcfc1af1df3811237caaae57512ba695f0ea7962494fa8da78b8c98fb9e893 files/digest-nagios-nsca-2.7.1 232