Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532772

Summary: net-analyzer/pnp4nagios: patch needed for apache 2.4 support
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Sysadmin Bugs <sysadmin>
Status: RESOLVED FIXED    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 468302    
Attachments: pnp4nagios-0.6.25.ebuild
98_pnp4nagios-2.4.conf

Description Pacho Ramos gentoo-dev 2014-12-17 09:36:46 UTC
Fedora is needing to apply this patch for apache 2.4 support:
http://pkgs.fedoraproject.org/cgit/pnp4nagios.git/tree/pnp4nagios-httpd24.patch
Comment 1 Michael Orlitzky gentoo-dev 2014-12-17 15:16:41 UTC
That's a clever trick (the core module is only present in 2.4.x). But our pnp4nagios ebuild is stable, so we probably shouldn't mess with it. Instead, we can revbump it and from now on only support apache-2.4.x, since that's what we're doing with nagios as well.
Comment 2 Michael Orlitzky gentoo-dev 2015-02-06 20:05:34 UTC
Created attachment 395736 [details]
pnp4nagios-0.6.25.ebuild

Here's a version bump that fixes this. It also lets the apache user read /etc/pnp by default, and sets an upper bound on the version of nagios (it doesn't like nagios-4.x).
Comment 3 Michael Orlitzky gentoo-dev 2015-02-06 20:06:09 UTC
Created attachment 395738 [details]
98_pnp4nagios-2.4.conf

And the apache-2.4 conf file.
Comment 4 Pacho Ramos gentoo-dev 2015-05-09 07:18:08 UTC
+*pnp4nagios-0.6.25 (09 May 2015)
+
+  09 May 2015; Pacho Ramos <pacho@gentoo.org> +files/98_pnp4nagios-2.4.conf,
+  +pnp4nagios-0.6.25.ebuild:
+  Version bump (#532772 by Michael Orlitzky)
+