d/control: Remove deprecated check_ntp

This commit is contained in:
Jan Wagner 2025-12-02 13:40:01 +01:00
parent 9a01042a1f
commit 20257df7f9
2 changed files with 3 additions and 0 deletions

1
debian/NEWS vendored
View file

@ -3,6 +3,7 @@ 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

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}; \