Summary: | net-analyzer/nagios-core-4.4.3-r1: physical_html_path set at /usr/share | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomáš Mózes <hydrapolic> |
Component: | Current packages | Assignee: | Michael Orlitzky <mjo> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | sysadmin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tomáš Mózes
2019-02-15 09:48:21 UTC
net-analyzer/nagios-core-4.4.3-r1::gentoo was built with the following: USE="apache2 web -classicui -lighttpd -perl -vim-syntax" ABI_X86="(64)" There is a lot of confusion about this stuff in the build system. You're right that physical_html_path used to be set to "/usr/share/nagios/htdocs", because it gets set to @datadir by default and we used to pass "--datadir=/usr/share/nagios/htdocs" to the configure script. But, note that with version 4.4.3, the Makefile sets HTMLDIR=@webdir@ instead of HTMLDIR=@datadir@ which was the value in version 4.4.2. I'm almost certain that the previous value of "--with-datadir" was to fix that path, and not physical_html_path. In any case, HTMLDIR is where the stuff is actually installed. If anything, I would think that physical_html_path and HTMLDIR should agree -- which means that both should be @webdir from now on. But yeah, I tested after changing that path and saw that the web interface worked. I'm not sure when/how the physical_html_path comes into play. Is there anything else you want me to do here? Until upstream reorganizes this stuff again, I'm inclined to leave it the way it is (confusing, but working). Seems like it doesn't cause any trouble, it's just surprising. Closing for now. |