[pkg-nagios-changes] [Git][nagios-team/nagios-plugins-contrib][master] 2 commits: Adding d/p/dsa/check_running_kernel_allow_tilde, which allows tilde in version string

Jan Wagner (@waja) gitlab at salsa.debian.org
Mon Jan 30 12:59:19 GMT 2023



Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / nagios-plugins-contrib


Commits:
cbd464a7 by Jan Wagner at 2023-01-30T12:26:30+00:00
Adding d/p/dsa/check_running_kernel_allow_tilde, which allows tilde in version string

- - - - -
0d2dcbb3 by Jan Wagner at 2023-01-30T12:45:40+00:00
One more lintain override fix

- - - - -


3 changed files:

- debian/monitoring-plugins-contrib.lintian-overrides
- + debian/patches/dsa/check_running_kernel_allow_tilde
- debian/patches/series


Changes:

=====================================
debian/monitoring-plugins-contrib.lintian-overrides
=====================================
@@ -1,4 +1,4 @@
 # as mentioned in the description people need to
 # install whats mentioned in recommends.
 monitoring-plugins-contrib: undeclared-elf-prerequisites
-monitoring-plugins-contrib: ruby-script-but-no-ruby-dep usr/lib/nagios/plugins/check_soas
+monitoring-plugins-contrib: ruby-script-but-no-ruby-dep usr/lib/nagios/plugins/check_soas #!ruby


=====================================
debian/patches/dsa/check_running_kernel_allow_tilde
=====================================
@@ -0,0 +1,11 @@
+--- a/dsa/checks/dsa-check-running-kernel
++++ b/dsa/checks/dsa-check-running-kernel
+@@ -207,7 +207,7 @@
+ 			if [ -x /usr/bin/lsb_release ] ; then
+ 				vendor=$(lsb_release -i -s)
+ 				if [ -n "$vendor" ] && [ "xDebian" != "x$vendor" ] ; then
+-					on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.-]\+ [[:alnum:]\.-]\+)//")
++					on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.~-]\+ [[:alnum:]\.~-]\+)//")
+ 				fi
+ 			fi
+ 			[ -z "$on_disk_version" ] || continue


=====================================
debian/patches/series
=====================================
@@ -46,6 +46,7 @@ dsa/check_packages-inifile
 dsa/epn
 dsa/check_packages_,_fix
 dsa/check_running_kernel_jammy_fix
+dsa/check_running_kernel_allow_tilde
 check_cups/ParseDateDelta
 check_printer/epn
 check_nfsmounts/nfs4_support



View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/compare/aff127e1a40f21d8f9b158d862a385b1bc70f7cc...0d2dcbb324211e4cc14685ed7a761b13714d1fd0

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/compare/aff127e1a40f21d8f9b158d862a385b1bc70f7cc...0d2dcbb324211e4cc14685ed7a761b13714d1fd0
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/20230130/f21d5f6f/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list