diff options
Diffstat (limited to 'nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery')
-rw-r--r-- | nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn | 45 | ||||
-rw-r--r-- | nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths | 27 |
2 files changed, 72 insertions, 0 deletions
diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn new file mode 100644 index 0000000..02d5424 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn @@ -0,0 +1,45 @@ +--- a/check_email_delivery/src/check_email_delivery ++++ b/check_email_delivery/src/check_email_delivery +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.7.1'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff <jonathan@buhacoff.net>'; +--- a/check_email_delivery/src/check_imap_quota ++++ b/check_email_delivery/src/check_imap_quota +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.2'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff <jonathan@buhacoff.net>'; +--- a/check_email_delivery/src/check_imap_receive ++++ b/check_email_delivery/src/check_imap_receive +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.7.5'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff <jonathan@buhacoff.net>'; +--- a/check_email_delivery/src/check_smtp_send ++++ b/check_email_delivery/src/check_smtp_send +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + use POSIX qw(strftime); + my $VERSION = '0.7.3'; +--- a/check_email_delivery/src/imap_ssl_cert ++++ b/check_email_delivery/src/imap_ssl_cert +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.1'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff <jonathan@buhacoff.net>'; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths new file mode 100644 index 0000000..e4c8fc6 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths @@ -0,0 +1,27 @@ +Author: Tom Jampen <tom@cryptography.ch> +Description: + Patches check_email_delivery and check_email_delivery_epn to use debian + specific paths. + +--- a/check_email_delivery/src/check_email_delivery ++++ b/check_email_delivery/src/check_email_delivery +@@ -63,7 +63,7 @@ my $default_warn = 15; + my $default_wait = 5; + my $default_timeout = 60; + my $time_hires = ""; +-my $libexec = "/usr/local/nagios/libexec"; ++my $libexec = "/usr/lib/nagios/plugins"; + my $ok; + $ok = Getopt::Long::GetOptions( + "V|version"=>\$show_version, +--- a/check_email_delivery/src/check_email_delivery_epn ++++ b/check_email_delivery/src/check_email_delivery_epn +@@ -61,7 +61,7 @@ my $default_warn = 15; + my $default_wait = 5; + my $default_timeout = 60; + my $time_hires = ""; +-my $libexec = "/usr/local/nagios/libexec"; ++my $libexec = "/usr/lib/nagios/plugins"; + my $ok; + $ok = Getopt::Long::GetOptions( + "V|version"=>\$show_version, |