Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307903 Details for
Bug 410891
net-analyzer/nagios-nrpe-2.13 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nagios-nrpe-2.13.ebuild
nagios-nrpe-2.13.ebuild (text/plain), 2.39 KB, created by
Tomáš Mózes
on 2012-04-05 14:02:59 UTC
(
hide
)
Description:
nagios-nrpe-2.13.ebuild
Filename:
MIME Type:
Creator:
Tomáš Mózes
Created:
2012-04-05 14:02:59 UTC
Size:
2.39 KB
patch
obsolete
># Copyright 1999-2011 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-r103.ebuild,v 1.4 2011/07/08 11:10:48 ssuominen Exp $ > >EAPI=2 > >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 ~hppa ~ppc ~ppc64 ~sparc ~x86" > >IUSE="ssl command-args" >DEPEND=">=net-analyzer/nagios-plugins-1.4 > ssl? ( dev-libs/openssl )" >S="${WORKDIR}/nrpe-${PV}" > >pkg_setup() { > enewgroup nagios > enewuser nagios -1 /bin/bash /dev/null nagios >} > >src_configure() { > local myconf > > myconf="${myconf} $(use_enable ssl) \ > $(use_enable command-args)" > > econf ${myconf} \ > --host=${CHOST} \ > --prefix=/usr \ > --libexecdir=/usr/$(get_libdir)/nagios/plugins \ > --localstatedir=/var/nagios \ > --sysconfdir=/etc/nagios \ > --with-nrpe-user=nagios \ > --with-nrpe-group=nagios || die "econf failed" >} > >src_compile() { > emake all || die "make failed" > # Add nifty nrpe check tool > cd contrib > $(tc-getCC) ${CFLAGS} ${LDFLAGS} -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/bin > doexe src/nrpe > > exeopts -m0750 -o nagios -g nagios > exeinto /usr/$(get_libdir)/nagios/plugins > doexe src/check_nrpe contrib/nrpe_check_control > > newinitd "${FILESDIR}"/nrpe-nagios3 nrpe > > # Create pidfile in /var/run/nrpe, bug #233859 > keepdir /var/run/nrpe > fowners nagios:nagios /var/run/nrpe > sed -i -e \ > "s#pid_file=/var/run/nrpe.pid#pid_file=/var/run/nrpe/nrpe.pid#" \ > "${D}"/etc/nagios/nrpe.cfg || die "sed failed" >} > >pkg_postinst() { > einfo > einfo "If you are using the nrpe daemon, remember to edit" > einfo "the config file /etc/nagios/nrpe.cfg" > einfo > > if use 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 410891
:
307903