From 43693c5bb6b94d25f07debba38ae861139f49737 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 31 Aug 2019 16:39:16 -0400 Subject: [PATCH] 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 --- ...ios-core-4.4.5-r2.ebuild => nagios-core-4.4.5-r3.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) rename net-analyzer/nagios-core/{nagios-core-4.4.5-r2.ebuild => nagios-core-4.4.5-r3.ebuild} (95%) 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 2fab4595e656..b6994129cefe 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 -- 2.26.2