Differences to the previous ebuild: - it depends on >nagios-plugins-1.4, since it was released 4 years ago - the multiline patch isn't included so far - the DH param generation was removed since it's already done by configure - includes bug 398175 that correctly sets the group - doesn't yet incorporate bug 326367 - the init script compatible with baselayout 2 can be found in bug 410775
Created attachment 307903 [details] nagios-nrpe-2.13.ebuild
Comment on attachment 307903 [details] nagios-nrpe-2.13.ebuild --- nagios-nrpe-2.12-r103.ebuild 2011-07-10 20:05:07.000000000 +0200 +++ - 2012-04-05 16:30:50.620975427 +0200 @@ -17,7 +17,7 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="ssl command-args" -DEPEND=">=net-analyzer/nagios-plugins-1.3.0 +DEPEND=">=net-analyzer/nagios-plugins-1.4 ssl? ( dev-libs/openssl )" S="${WORKDIR}/nrpe-${PV}" @@ -26,23 +26,12 @@ enewuser nagios -1 /bin/bash /dev/null nagios } -src_prepare() { - # Add support for large output, - # http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html - epatch "${FILESDIR}/multiline.patch" -} - src_configure() { 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 use 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 \ @@ -50,7 +39,7 @@ --localstatedir=/var/nagios \ --sysconfdir=/etc/nagios \ --with-nrpe-user=nagios \ - --with-nrpe-grp=nagios || die "econf failed" + --with-nrpe-group=nagios || die "econf failed" } src_compile() {
Please bump, because authors removed tarbolls from the sourceforge.
Just added. Thanks!
Thanks Christian :)