Browse Source

Install check binary in /usr/lib/nagios/plugins/

Christoph Biedl 1 year ago
parent
commit
4bbb19ad52
2 changed files with 20 additions and 0 deletions
  1. 19 0
      debian/patches/debian.install-in-usr-lib-nagios.patch
  2. 1 0
      debian/patches/series

+ 19 - 0
debian/patches/debian.install-in-usr-lib-nagios.patch

@@ -0,0 +1,19 @@
+Subject: Install binary in /usr/lib/nagios/plugins/
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2020-12-28
+Forwarded: not-needed
+
+    This aligns the installation path with the various
+    monitoring-plugins-* packages.
+
+--- a/meson.build
++++ b/meson.build
+@@ -75,7 +75,7 @@
+ endif
+ 
+ executable('check_tang', 'tang.c',
+-  install_dir: join_paths(get_option('libdir'), 'nagios', 'plugins'),
++  install_dir: join_paths('lib', 'nagios', 'plugins'),
+   dependencies: [http, jose],
+   install: true,
+ )

+ 1 - 0
debian/patches/series

@@ -1,3 +1,4 @@
 # patches for upstream
 upstream.use-asciidoctor-to-build-manpages.patch
 upstream.install-as-check-tang.patch
+debian.install-in-usr-lib-nagios.patch