net-analyzer/nagios-core: synchronize econf and web server paths.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 3 Nov 2019 00:26:57 +0000 (20:26 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 5 Nov 2019 17:43:19 +0000 (12:43 -0500)
commit1d689dbb5a8783f717d85f10344bf24991e557e1
treedf688622ff8542630b6645523c5db1b1c816a981
parent0a58e31eed7e33b17f7edb1f8a1c3f45ad14ffcf
net-analyzer/nagios-core: synchronize econf and web server paths.

The nagios ./configure script takes two custom "cgibindir" and
"webdir" paths that tell it where to put its CGI files and public
document root. The web server configuration files that we ship also
need to know these paths, which normally wouldn't be a problem, except
that they involve a call to $(get_libdir).

There doesn't seem to be an elegant place to upstream these conf files
(which are Gentoo-specific), so we adopt the next-best solution: use
@CGIBINDIR@ and @WEBDIR@ as placeholders, and then replace them with
sed in src_configure().

For consistency with the PMS definition of econf, these paths (and all
others) now have EPREFIX prepended.

Closes: https://bugs.gentoo.org/699002
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
net-analyzer/nagios-core/files/99_nagios4-r1.conf [new file with mode: 0644]
net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf [new file with mode: 0644]
net-analyzer/nagios-core/nagios-core-4.4.5-r4.ebuild [new file with mode: 0644]