NagiosEnterprises / ndoutils

NDOUtils - Database Output for Nagios Core
GNU General Public License v2.0
48 stars 19 forks source link

DESTDIR support removed in commit 44dbc9b #28

Closed orlitzky closed 7 years ago

orlitzky commented 7 years ago

While attempting to upgrade the version of ndoutils shipped with Gentoo, I noticed that the support for DESTDIR was removed in commit 44dbc9b. The DESTDIR variable is an important part of autotools build systems, and we need it to be respected to build ndoutils from source. For an example of what goes wrong,

  1. We pass --bindir=/usr/bin to the ./configure script.
  2. During make install, the build system attempts to install directly to /usr/bin. That is prohibited by our sandbox, but more importantly, it changes ownership of /usr/bin to nagios:nagios and completely borks the whole system =)
jfrickson commented 7 years ago

Fixed in branch 'maint' via commit https://github.com/NagiosEnterprises/ndoutils/commit/b69014d599628a49e8c7278eab17131604013036