1 |
commit: cd61e5bb9a7561bec1725ad24a45279d1ac75f02 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 19 20:40:07 2019 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 19 21:06:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd61e5bb |
7 |
|
8 |
net-analyzer/nagios-core: new revision to fix CGI install path. |
9 |
|
10 |
Upstream commit 37da6f39c8 fixes an old bug in the build system, where |
11 |
CGIDIR was set to @sbindir@ (rather than to @cgibindir@), and HTMLDIR |
12 |
was set to @datarootdir@ (rather than to @webdir@). Now that the bug |
13 |
is fixed, the ebuild has been revisioned to use the right configure flags: |
14 |
we pass --with-cgibindir the old argument of --sbindir, and --with-webdir |
15 |
the old argument of --datadir. |
16 |
|
17 |
Thanks to Tomáš Mózes for the report and the fix. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/675872 |
20 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
21 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
22 |
|
23 |
.../{nagios-core-4.4.3.ebuild => nagios-core-4.4.3-r1.ebuild} | 6 +++--- |
24 |
1 file changed, 3 insertions(+), 3 deletions(-) |
25 |
|
26 |
diff --git a/net-analyzer/nagios-core/nagios-core-4.4.3.ebuild b/net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild |
27 |
similarity index 97% |
28 |
rename from net-analyzer/nagios-core/nagios-core-4.4.3.ebuild |
29 |
rename to net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild |
30 |
index d568d350d58..74ddb853c43 100644 |
31 |
--- a/net-analyzer/nagios-core/nagios-core-4.4.3.ebuild |
32 |
+++ b/net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild |
33 |
@@ -96,11 +96,11 @@ src_configure() { |
34 |
econf ${myconf} \ |
35 |
--prefix=/usr \ |
36 |
--bindir=/usr/sbin \ |
37 |
- --sbindir=/usr/$(get_libdir)/nagios/cgi-bin \ |
38 |
- --datadir=/usr/share/nagios/htdocs \ |
39 |
--localstatedir=/var/nagios \ |
40 |
--sysconfdir=/etc/nagios \ |
41 |
- --libexecdir=/usr/$(get_libdir)/nagios/plugins |
42 |
+ --libexecdir=/usr/$(get_libdir)/nagios/plugins \ |
43 |
+ --with-cgibindir=/usr/$(get_libdir)/nagios/cgi-bin \ |
44 |
+ --with-webdir=/usr/share/nagios/htdocs |
45 |
} |
46 |
|
47 |
src_compile() { |