Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410891 - net-analyzer/nagios-nrpe-2.13 version bump
Summary: net-analyzer/nagios-nrpe-2.13 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 289733 326367 367257 398175 410171 418297
  Show dependency tree
 
Reported: 2012-04-05 14:02 UTC by Tomáš Mózes
Modified: 2012-06-09 12:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nagios-nrpe-2.13.ebuild (nagios-nrpe-2.13.ebuild,2.39 KB, text/plain)
2012-04-05 14:02 UTC, Tomáš Mózes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2012-04-05 14:02:29 UTC
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
Comment 1 Tomáš Mózes 2012-04-05 14:02:59 UTC
Created attachment 307903 [details]
nagios-nrpe-2.13.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-05 14:31:03 UTC
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() {
Comment 3 Andrew N Golovkov 2012-05-11 09:10:27 UTC
Please bump, because authors removed tarbolls from the sourceforge.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2012-06-07 00:08:41 UTC
Just added. Thanks!
Comment 5 Tomáš Mózes 2012-06-09 12:00:58 UTC
Thanks Christian :)