diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2019-08-31 16:39:16 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2019-08-31 17:34:55 -0400 |
commit | 43693c5bb6b94d25f07debba38ae861139f49737 (patch) | |
tree | 0d854d4601e3887d1dc6201a3388fd82c2e84513 /net-analyzer/nagios-core | |
parent | net-analyzer/nagios-core: move localstatedir to /var/lib/nagios. (diff) | |
download | gentoo-43693c5bb6b94d25f07debba38ae861139f49737.tar.gz gentoo-43693c5bb6b94d25f07debba38ae861139f49737.tar.bz2 gentoo-43693c5bb6b94d25f07debba38ae861139f49737.zip |
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@gentoo.org>
Diffstat (limited to 'net-analyzer/nagios-core')
-rw-r--r-- | net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild (renamed from net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild) | 6 |
1 files changed, 6 insertions, 0 deletions
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 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 |