Compare commits

...

4 commits

4 changed files with 33 additions and 3 deletions

9
debian/NEWS vendored
View file

@ -1,3 +1,12 @@
monitoring-plugins (2.4.0-5) unstable; urgency=medium
Priority of check_curl alternative for check_http is now higher
then check_http.deprecated, which means calling check_http is now
check_curl. You can change that by: update-alternatives --config check_http
Removed also deprecated check_ntp from package.
-- Jan Wagner <waja@cyconet.org> Thu, 2 Dec 2025 12:49:36 +0100
monitoring-plugins (2.4.0-3) unstable; urgency=medium
The check_http plugin was deprecated. Please migrate the check command

23
debian/changelog vendored
View file

@ -1,8 +1,27 @@
monitoring-plugins (2.4.0-5) UNRELEASED; urgency=medium
monitoring-plugins (2.4.0-6) UNRELEASED; urgency=medium
*
-- Jan Wagner <waja@cyconet.org> Mon, 06 Oct 2025 12:04:34 +0200
-- Jan Wagner <waja@cyconet.org> Wed, 03 Dec 2025 07:15:41 +0100
monitoring-plugins (2.4.0-5) unstable; urgency=medium
[ Jan Wagner ]
* [2bd6e61] d/control: Drop libsystemd0 from build-deps, pulled by
libsystemd-dev
* [dfe02ab] Adding d/p/27_check_mysql_fix_replica, Fixes reported regression
for MariaDB 10.11.14-0+deb12u2 (Closes: #1116027)
* [9a01042] Raising alternative of check_curl over check_http. check_curl is
prefered
* [20257df] d/control: Remove deprecated check_ntp
[ Bas Couwenberg ]
* [52d9fc3] Use test-build-validate-cleanup instead of test-build-twice.
* [f047b05] Use debrebuild instead of reprotest.
* [861c613] Don't use test-build-validate-cleanup, fails where pbuilder
--twice succeeds.
-- Jan Wagner <waja@cyconet.org> Tue, 02 Dec 2025 14:06:48 +0000
monitoring-plugins (2.4.0-4) unstable; urgency=medium

View file

@ -9,4 +9,4 @@ Priority: 50
Name: check_http
Link: /usr/lib/nagios/plugins/check_http
Alternative: /usr/lib/nagios/plugins/check_curl
Priority: -100
Priority: 100

2
debian/rules vendored
View file

@ -158,6 +158,8 @@ install: build
done
# rename check_http to check_http_deprecated for making use of update-alternatives
mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/check_http ${NP_BASIC_DIR}/${NP_LIBEXEC}/check_http.deprecated
# remove deprecated check_ntp
rm ${NP_BASIC_DIR}/${NP_LIBEXEC}/check_ntp
# slit out common files
for p in ${common_files}; do \
mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_COMMON_DIR}/${NP_LIBEXEC}; \