Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/
Date: Sat, 31 Aug 2019 21:35:46
Message-Id: 1567287295.43693c5bb6b94d25f07debba38ae861139f49737.mjo@gentoo
1 commit: 43693c5bb6b94d25f07debba38ae861139f49737
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 31 20:39:16 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 21:34:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43693c5b
7
8 net-analyzer/nagios-core: add keepdirs to fix QA warnings.
9
10 You will never convince me that warning about the correct behavior and
11 forcing developers to manually affirm that it's correct is wise.
12
13 Package-Manager: Portage-2.3.69, Repoman-2.3.16
14 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
15
16 .../{nagios-core-4.4.5-r2.ebuild => nagios-core-4.4.5-r3.ebuild} | 6 ++++++
17 1 file changed, 6 insertions(+)
18
19 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
20 similarity index 95%
21 rename from net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild
22 rename to net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild
23 index 2fab4595e65..b6994129cef 100644
24 --- a/net-analyzer/nagios-core/nagios-core-4.4.5-r2.ebuild
25 +++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r3.ebuild
26 @@ -141,6 +141,12 @@ src_install() {
27 # No INSTALL_OPTS used in install-commandmode, thankfully.
28 emake DESTDIR="${D}" install-commandmode
29
30 + # The build system installs these directories, but portage assumes
31 + # that the build system doesn't know what it's doing so we have to
32 + # keepdir them, too. I guess you'll have to manually re-check the
33 + # upstream build system forever to see if this is still necessary.
34 + keepdir /var/lib/nagios{,/archives,/rw,/spool,/spool/checkresults}
35 +
36 if use web; then
37 # There is no way to install the CGIs unstripped from the
38 # top-level makefile, so descend into cgi/ here. The empty