[pkg-nagios-changes] [Git][nagios-team/nagios-snmp-plugins][master] 7 commits: Update watch file to handle common issues.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Nov 20 12:04:24 GMT 2026



Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / nagios-snmp-plugins


Commits:
fff97f18 by Bas Couwenberg at 2026-11-20T12:16:01+01:00
Update watch file to handle common issues.

- - - - -
af54ab27 by Bas Couwenberg at 2026-11-20T12:18:58+01:00
Update copyright file.

Gbp-Dch: Ignore

- - - - -
7138e109 by Bas Couwenberg at 2026-11-20T12:28:54+01:00
Switch to dh sequencer.

- - - - -
b4cb0812 by Bas Couwenberg at 2026-11-20T12:44:53+01:00
Drop unused ${perl:Depends} substvar.

- - - - -
ed48e4a4 by Bas Couwenberg at 2026-11-20T12:45:07+01:00
Use DEP-3 patch headers.

- - - - -
0bf173f3 by Bas Couwenberg at 2026-11-20T12:59:54+01:00
Add doc-base registration.

- - - - -
c7e0a160 by Bas Couwenberg at 2026-11-20T13:04:14+01:00
Add gbp.conf to use pristine-tar & --source-only-changes by default.

- - - - -


10 changed files:

- debian/control
- debian/copyright
- + debian/doc-base
- + debian/gbp.conf
- + debian/lintian-overrides
- debian/patches/23_check_snmp_int_interface_speed
- debian/patches/50_disable_epn
- debian/patches/51_fix_privacy_doc
- debian/rules
- debian/watch


Changes:

=====================================
debian/control
=====================================
@@ -13,8 +13,7 @@ Architecture: all
 Depends: libnet-snmp-perl,
          monitoring-plugins-common | nagios-plugins-basic (>= 1.4.5-2),
          ucf,
-         ${misc:Depends},
-         ${perl:Depends}
+         ${misc:Depends}
 Recommends: libcrypt-des-perl, libcrypt-rijndael-perl
 Description: SNMP Plugins for nagios
  A set of Nagios plugins to check hosts/devices using snmp protocol


=====================================
debian/copyright
=====================================
@@ -4,11 +4,11 @@ Upstream-Contact: Patrick Proy (nagios at proy.org)
 Source: http://www.manubulon.com/nagios
 
 Files: *
-Copyright: Copyright (C) 2004-2007 Patrick Proy (nagios at proy.org)
+Copyright: 2004-2007, Patrick Proy (nagios at proy.org)
 License: GPL-2
 
 Files: debian/*
-Copyright: Copyright (C) 2006, 2008 Jan Wagner <waja at cyconet.org>
+Copyright: 2006, 2008, Jan Wagner <waja at cyconet.org>
 License: GPL-2+
 
 Files: debian/bin/github-release.sh


=====================================
debian/doc-base
=====================================
@@ -0,0 +1,9 @@
+Document: nagios-snmp-plugins
+Title: centreon-plugins Manual
+Author: Centreon (https://www.centreon.com)
+Abstract: Manubulon SNMP plugins documentation.
+Section: Network/Monitoring
+
+Format: HTML
+Index: /usr/share/doc/nagios-snmp-plugins/html/index.html
+Files: /usr/share/doc/nagios-snmp-plugins/html/*.html


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,19 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
+
+[buildpackage]
+pbuilder-options = --source-only-changes


=====================================
debian/lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+# Not a problem
+national-encoding [usr/share/doc/nagios-snmp-plugins/html/*.html]
+


=====================================
debian/patches/23_check_snmp_int_interface_speed
=====================================
@@ -1,3 +1,7 @@
+Description: add Interface speed warning and critical options
+Author: Steffen Schoch <dein at gehirn-mag.net>
+Origin: https://github.com/SteScho/manubulon-snmp/commit/aa5a14b359443c530afe1abf2c7af2f95a8aa792
+
 diff --git a/doc/04-Plugins.md b/doc/04-Plugins.md
 index c08fe9c..bf2a593 100644
 --- a/doc/04-Plugins.md


=====================================
debian/patches/50_disable_epn
=====================================
@@ -1,6 +1,6 @@
-## 50_disable_epn by Jan Wagner <waja at cyconet.org>
-##
-## DP: leave marks to disable epn
+Description: leave marks to disable epn
+Author: Jan Wagner <waja at cyconet.org>
+Forwarded: not-needed
 
 --- a/plugins/check_snmp_boostedge.pl
 +++ b/plugins/check_snmp_boostedge.pl


=====================================
debian/patches/51_fix_privacy_doc
=====================================
@@ -1,12 +1,6 @@
-## 51_fix_privacy_doc by Jan Wagner
-##
-## DP: Fixing potential privacy breach by fetching data from sourceforge.net
-
-commit 084af86fe6ee55135144ac44f661ff139434fdc3
+Description: Fixing potential privacy breach by fetching data from sourceforge.net
 Author: Jan Wagner <waja at cyconet.org>
-Date:   Sun Mar 2 21:22:42 2014 +0100
-
-    Fix potential privacy breach of HTML documentation
+Forwarded: not-needed
 
 --- a/doc/html/nagios.manubulon.com/faq.html
 +++ b/doc/html/nagios.manubulon.com/faq.html


=====================================
debian/rules
=====================================
@@ -3,7 +3,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-COMMANDDEFPATH:=/etc/nagios-plugins/config/
 NP_DIR:=debian/nagios-snmp-plugins
 NP_TEMPLATES:=$(NP_DIR)/usr/share/nagios-snmp-plugins/pluginconfig
 NP_LIBEXEC:=/usr/lib/nagios/plugins
@@ -11,62 +10,29 @@ NP_LIBEXEC:=/usr/lib/nagios/plugins
 plugin_cfgs:=snmp_cpfw snmp_env snmp_int snmp_load snmp_mem snmp_process \
 	snmp_storage snmp_vrrp snmp_win
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean
-	-rm -f debian/postrm
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
+%:
+	dh $@
 
+override_dh_auto_install:
 	# Add here commands to install the package into debian/nagios-snmp-plugins.
 	for PLUGINS in plugins/*.pl; \
 	do \
 		install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
 		sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
 	done
+
 	# copying templates them into seperate "template" directories outside of
 	# /usr/share/doc for ucf to use.
-	install -d $(NP_DIR)/usr/share/nagios-snmp-plugins/pluginconfig
+	install -d $(NP_TEMPLATES)
 	for c in ${plugin_cfgs}; do \
 		cp debian/pluginconfig/$${c}.cfg ${NP_TEMPLATES}; \
 	done
+
 	# here the list of config templates are writen to postrm
 	sed -e 's/@PLUGINS@/${plugin_cfgs}/' \
 		< debian/postrm.in \
 		> debian/postrm
+
 	# copy html documentation over
 	install -d $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
 	cp -r doc/html/nagios.manubulon.com/* $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do for now.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install


=====================================
debian/watch
=====================================
@@ -1,3 +1,7 @@
 version=4
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/nagios-snmp-plugins-$1\.tar\.gz/,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1-$2/ \
-  https://github.com/SteScho/manubulon-snmp/tags .*/v?(\d\S*)\.tar\.gz
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|manubulon-snmp)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/manubulon-snmp-$1.$2/ \
+https://github.com/SteScho/manubulon-snmp/tags \
+(?:.*?/archive/(?:.*?/)?)?(?:rel|v|manubulon-snmp)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/nagios-team/nagios-snmp-plugins/-/compare/70d07247f60a2d067926f2d377a9c831c51fc0bf...c7e0a160b411567fc3b9e90228b38edcecba3ebe

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-snmp-plugins/-/compare/70d07247f60a2d067926f2d377a9c831c51fc0bf...c7e0a160b411567fc3b9e90228b38edcecba3ebe
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20261120/c528f2d4/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list