Convert the package to source format 3.0 (quilt)

This commit is contained in:
Jan Wagner 2014-02-19 22:35:36 +01:00
parent 3acf2029d2
commit 73c21a07e1
14 changed files with 21 additions and 50 deletions

2
debian/control vendored
View file

@ -3,7 +3,7 @@ Section: net
Priority: optional Priority: optional
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org> Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Uploaders: Jan Wagner <waja@cyconet.org> Uploaders: Jan Wagner <waja@cyconet.org>
Build-Depends: debhelper (>= 5), dpatch Build-Depends: debhelper (>= 5)
Homepage: http://www.manubulon.com/nagios/index_snmp.html Homepage: http://www.manubulon.com/nagios/index_snmp.html
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg-nagios-snmp-plugins.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg-nagios-snmp-plugins.git
Vcs-Git: git://anonscm.debian.org/pkg-nagios/pkg-nagios-snmp-plugins Vcs-Git: git://anonscm.debian.org/pkg-nagios/pkg-nagios-snmp-plugins

View file

@ -1,9 +0,0 @@
01_check_snmp_env.dpatch
02_check_snmp_int.dpatch
03_check_snmp_load.dpatch
04_check_snmp_process.dpatch
05_check_snmp_storage.dpatch
06_check_snmp_win.dpatch
10_fix_net_snmp_version.dpatch
15_check_snmp_storage_64bit.dpatch
50_disable_epn.dpatch

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 01_check_snmp_env by Jan Wagner <waja@cyconet.org>
## 01_check_snmp_env.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Fix some issues via cvs version ## DP: Fix some issues via cvs version
@DPATCH@
--- old/check_snmp_env.pl 2007-07-04 09:46:55.000000000 +0200 --- old/check_snmp_env.pl 2007-07-04 09:46:55.000000000 +0200
+++ new/check_snmp_env.pl 2007-07-06 22:17:06.000000000 +0200 +++ new/check_snmp_env.pl 2007-07-06 22:17:06.000000000 +0200
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 02_check_snmp_int by Jan Wagner <waja@cyconet.org>
## 02_check_snmp_int.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Update script to version 1.24 ## DP: Update script to version 1.24
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_int.pl nagios-snmp-plugins-1.1.1/check_snmp_int.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_int.pl nagios-snmp-plugins-1.1.1/check_snmp_int.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_int.pl 2007-04-23 11:40:39.000000000 +0200 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_int.pl 2007-04-23 11:40:39.000000000 +0200

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 03_check_snmp_load by Jan Wagner <waja@cyconet.org>
## 03_check_snmp_load.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Update script to version 1.12 ## DP: Update script to version 1.12
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_load.pl nagios-snmp-plugins-1.1.1/check_snmp_load.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_load.pl nagios-snmp-plugins-1.1.1/check_snmp_load.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_load.pl 2007-04-16 19:41:20.000000000 +0200 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_load.pl 2007-04-16 19:41:20.000000000 +0200
+++ nagios-snmp-plugins-1.1.1/check_snmp_load.pl 2007-10-12 22:23:23.000000000 +0200 +++ nagios-snmp-plugins-1.1.1/check_snmp_load.pl 2007-10-12 22:23:23.000000000 +0200

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 04_check_snmp_process by Jan Wagner <waja@cyconet.org>
## 04_check_snmp_process.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Update script to version 1.10 ## DP: Update script to version 1.10
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_process.pl nagios-snmp-plugins-1.1.1/check_snmp_process.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_process.pl nagios-snmp-plugins-1.1.1/check_snmp_process.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_process.pl 2007-03-12 21:36:02.000000000 +0100 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_process.pl 2007-03-12 21:36:02.000000000 +0100
+++ nagios-snmp-plugins-1.1.1/check_snmp_process.pl 2007-10-12 22:23:24.000000000 +0200 +++ nagios-snmp-plugins-1.1.1/check_snmp_process.pl 2007-10-12 22:23:24.000000000 +0200

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 05_check_snmp_storage by Jan Wagner <waja@cyconet.org>
## 05_check_snmp_storage.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Update script to version 1.3.3 ## DP: Update script to version 1.3.3
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_storage.pl nagios-snmp-plugins-1.1.1/check_snmp_storage.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_storage.pl nagios-snmp-plugins-1.1.1/check_snmp_storage.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_storage.pl 2007-03-12 22:01:36.000000000 +0100 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_storage.pl 2007-03-12 22:01:36.000000000 +0100
+++ nagios-snmp-plugins-1.1.1/check_snmp_storage.pl 2007-10-12 22:23:24.000000000 +0200 +++ nagios-snmp-plugins-1.1.1/check_snmp_storage.pl 2007-10-12 22:23:24.000000000 +0200

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 06_check_snmp_win by Jan Wagner <waja@cyconet.org>
## 06_check_snmp_win.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Update script to version 1.1 ## DP: Update script to version 1.1
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_win.pl nagios-snmp-plugins-1.1.1/check_snmp_win.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_win.pl nagios-snmp-plugins-1.1.1/check_snmp_win.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_win.pl 2006-11-29 20:59:55.000000000 +0100 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_win.pl 2006-11-29 20:59:55.000000000 +0100
+++ nagios-snmp-plugins-1.1.1/check_snmp_win.pl 2007-10-12 22:23:25.000000000 +0200 +++ nagios-snmp-plugins-1.1.1/check_snmp_win.pl 2007-10-12 22:23:25.000000000 +0200

View file

@ -1,10 +1,8 @@
#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_fix_net_snmp_version by Jan Wagner <waja@cyconet.org>
## 10_fix_net_snmp_version.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: Fixing Net::SNMP version ## DP: Fixing Net::SNMP version
## DP: (see https://wiki.icinga.org/display/howtos/check_snmp#checksnmp-Argumentv601isntnumericinnumericlt) ## DP: (see https://wiki.icinga.org/display/howtos/check_snmp#checksnmp-Argumentv601isntnumericinnumericlt)
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagios-snmp-plugins-1.1.1~/check_snmp_boostedge.pl nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagios-snmp-plugins-1.1.1~/check_snmp_boostedge.pl nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl
--- nagios-snmp-plugins-1.1.1~/check_snmp_boostedge.pl 2007-01-16 23:57:14.000000000 +0100 --- nagios-snmp-plugins-1.1.1~/check_snmp_boostedge.pl 2007-01-16 23:57:14.000000000 +0100
+++ nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl 2013-01-31 08:38:55.000000000 +0100 +++ nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl 2013-01-31 08:38:55.000000000 +0100

View file

@ -1,10 +1,8 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 15_check_snmp_storage_64bit by Martin Fürstenau ## 15_check_snmp_storage_64bit by Martin Fürstenau
## ##
## DP: Fixing Net::SNMP version ## DP: Fixing Net::SNMP version
## DP: (see https://wiki.icinga.org/display/howtos/check_snmp#checksnmp-Argumentv601isntnumericinnumericlt) ## DP: (see https://wiki.icinga.org/display/howtos/check_snmp#checksnmp-Argumentv601isntnumericinnumericlt)
## @DPATCH@
## From 144c57a0adda190000bef500f3274425cb90d6ba Mon Sep 17 00:00:00 2001 ## From 144c57a0adda190000bef500f3274425cb90d6ba Mon Sep 17 00:00:00 2001
## From: Michael Friedrich <michael.friedrich@gmail.com> ## From: Michael Friedrich <michael.friedrich@gmail.com>
## Date: Wed, 26 Sep 2012 16:32:40 +0200 ## Date: Wed, 26 Sep 2012 16:32:40 +0200
@ -19,8 +17,6 @@
plugins/check_snmp_storage.pl | 54 ++++++++++++++++++++++++++++--------------- plugins/check_snmp_storage.pl | 54 ++++++++++++++++++++++++++++---------------
1 file changed, 36 insertions(+), 18 deletions(-) 1 file changed, 36 insertions(+), 18 deletions(-)
@DPATCH@
diff --git a/plugins/check_snmp_storage.pl b/plugins/check_snmp_storage.pl diff --git a/plugins/check_snmp_storage.pl b/plugins/check_snmp_storage.pl
index 1b8a398..a3c784f 100644 index 1b8a398..a3c784f 100644
--- a/plugins/check_snmp_storage.pl --- a/plugins/check_snmp_storage.pl

View file

@ -1,10 +1,7 @@
#!/bin/sh /usr/share/dpatch/dpatch-run ## 50_disable_epn by Jan Wagner <waja@cyconet.org>
## 50_disable_epn.dpatch by Jan Wagner <waja@cyconet.org>
## ##
## DP: leave marks to disable epn ## DP: leave marks to disable epn
@DPATCH@
diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_boostedge.pl nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl diff -Nur nagios-snmp-plugins-1.1.1.orig/check_snmp_boostedge.pl nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl
--- nagios-snmp-plugins-1.1.1.orig/check_snmp_boostedge.pl 2007-01-16 23:57:14.000000000 +0100 --- nagios-snmp-plugins-1.1.1.orig/check_snmp_boostedge.pl 2007-01-16 23:57:14.000000000 +0100
+++ nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl 2008-05-23 14:09:04.000000000 +0200 +++ nagios-snmp-plugins-1.1.1/check_snmp_boostedge.pl 2008-05-23 14:09:04.000000000 +0200

9
debian/patches/series vendored Normal file
View file

@ -0,0 +1,9 @@
01_check_snmp_env
02_check_snmp_int
03_check_snmp_load
04_check_snmp_process
05_check_snmp_storage
06_check_snmp_win
10_fix_net_snmp_version
15_check_snmp_storage_64bit
50_disable_epn

6
debian/rules vendored
View file

@ -3,8 +3,6 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
COMMANDDEFPATH:=/etc/nagios-plugins/config/ COMMANDDEFPATH:=/etc/nagios-plugins/config/
NP_DIR:=debian/nagios-snmp-plugins NP_DIR:=debian/nagios-snmp-plugins
NP_TEMPLATES:=$(NP_DIR)/usr/share/nagios-snmp-plugins/pluginconfig NP_TEMPLATES:=$(NP_DIR)/usr/share/nagios-snmp-plugins/pluginconfig
@ -13,9 +11,9 @@ NP_LIBEXEC:=/usr/lib/nagios/plugins
plugin_cfgs:=snmp_cpfw snmp_env snmp_int snmp_load snmp_mem snmp_process \ plugin_cfgs:=snmp_cpfw snmp_env snmp_int snmp_load snmp_mem snmp_process \
snmp_storage snmp_vrrp snmp_win snmp_storage snmp_vrrp snmp_win
build: patch-stamp build:
clean: unpatch clean:
dh_testdir dh_testdir
dh_testroot dh_testroot

View file

@ -1 +1 @@
1.0 3.0 (quilt)