[pkg-nagios-changes] [Git][nagios-team/nagios-plugins-rabbitmq][master] 2 commits: Add build dependencies to fix error on clean.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Aug 26 12:49:36 BST 2025



Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / nagios-plugins-rabbitmq


Commits:
f4e32881 by Bas Couwenberg at 2025-08-26T13:49:23+02:00
Add build dependencies to fix error on clean.

Replace ${shlibs:Depends} with ${perl:Depends}.

- - - - -
dc3d71d3 by Bas Couwenberg at 2025-08-26T13:49:23+02:00
Enable build time tests & autopkgtest.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/disable-rabbitmq-tests.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
 nagios-plugins-rabbitmq (1:2.0.3-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Team upload.
 
   * New upstream version
@@ -16,6 +17,11 @@ nagios-plugins-rabbitmq (1:2.0.3-1) UNRELEASED; urgency=medium
   * Prevent false CRITICAL when metric value is 0
     Closes: #1024077
 
+  [ Bas Couwenberg ]
+  * Add build dependencies to fix error on clean.
+  * Replace ${shlibs:Depends} with ${perl:Depends}.
+  * Enable build time tests & autopkgtest.
+
  -- Andreas Tille <tille at debian.org>  Tue, 26 Aug 2025 11:09:45 +0200
 
 nagios-plugins-rabbitmq (1:1.2.0-2.5) unstable; urgency=medium


=====================================
debian/control
=====================================
@@ -1,17 +1,24 @@
 Source: nagios-plugins-rabbitmq
-Section: net
-Priority: optional
 Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
 Uploaders: Cyril Bouthors <cyril at boutho.rs>,
            Cyril Bouthors <cyb at debian.org>,
            Cyril Bouthors <cyril at bouthors.org>
+Section: net
+Priority: optional
 Build-Depends: debhelper-compat (= 13),
+               libjson-perl,
                libmodule-build-perl,
+               libmonitoring-plugin-perl,
+               libtest-script-perl <!nocheck>,
+               liburi-perl,
+               libwww-perl,
+               perl,
                rsync
 Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/nagios-team/nagios-plugins-rabbitmq
 Vcs-Git: https://salsa.debian.org/nagios-team/nagios-plugins-rabbitmq.git
 Homepage: https://github.com/jamesc/nagios-plugins-rabbitmq
+Testsuite: autopkgtest-pkg-perl
 
 Package: nagios-plugins-rabbitmq
 Architecture: all
@@ -19,7 +26,7 @@ Depends: libjson-perl,
          libmonitoring-plugin-perl,
          liburi-perl,
          libwww-perl,
-         ${shlibs:Depends},
+         ${perl:Depends},
          ${misc:Depends}
 Suggests: rabbitmq-server
 Description: Set of Nagios checks useful for monitoring a RabbitMQ server


=====================================
debian/patches/disable-rabbitmq-tests.patch
=====================================
@@ -0,0 +1,19 @@
+Description: Disable tests requiring a running rabbitmq-server service.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/t/1_checks_scripts.t
++++ b/t/1_checks_scripts.t
+@@ -1,4 +1,4 @@
+-use Test::More 'no_plan';;
++use Test::More skip_all => "Requires running rabbitmq-server service";
+ use Test::Script;
+  
+ $rabbit_hostname        = $ENV{'RABBIT_HOSTNAME'};
+@@ -41,4 +41,4 @@ script_stdout_like $regex, 'scripts/chec
+ script_runs(['scripts/check_rabbitmq_watermark', ($args, "--node=${rabbit_servername}")]);
+ 
+ # Checks on check_rabbitmq_exchange
+-script_runs(['scripts/check_rabbitmq_exchange', ($args, '--exchange=amq.direct', '--period=60')]);
+\ No newline at end of file
++script_runs(['scripts/check_rabbitmq_exchange', ($args, '--exchange=amq.direct', '--period=60')]);


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 check_rabbitmq_server.patch
+disable-rabbitmq-tests.patch


=====================================
debian/rules
=====================================
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-override_dh_auto_test:
-	echo "Seems there are missing files for running Build time test"



View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-rabbitmq/-/compare/7115644eea974842b168b1c9f4c32abfd95738e8...dc3d71d3f95e4295aa15b3d39cdf9128e22b9d02

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-rabbitmq/-/compare/7115644eea974842b168b1c9f4c32abfd95738e8...dc3d71d3f95e4295aa15b3d39cdf9128e22b9d02
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20250826/53e995d4/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list