commit: 43693c5bb6b94d25f07debba38ae861139f49737
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 20:39:16 2019 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 21:34:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43693c5b
net-analyzer/nagios-core: add keepdirs to fix QA warnings.
You will never convince me that warning about the correct behavior and
forcing developers to manually affirm that it's correct is wise.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
.../{nagios-core-4.4.5-r2.ebuild => nagios-core-4.4.5-r3.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild
b/net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild
similarity index 95%
rename from net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild
rename to net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild
index 2fab4595e65..b6994129cef 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild
@@ -141,6 +141,12 @@ src_install() {
# No INSTALL_OPTS used in install-commandmode, thankfully.
emake DESTDIR="${D}" install-commandmode
+ # The build system installs these directories, but portage assumes
+ # that the build system doesn't know what it's doing so we have to
+ # keepdir them, too. I guess you'll have to manually re-check the
+ # upstream build system forever to see if this is still necessary.
+ keepdir /var/lib/nagios{,/archives,/rw,/spool,/spool/checkresults}
+
if use web; then
# There is no way to install the CGIs unstripped from the
# top-level makefile, so descend into cgi/ here. The empty