[Pkg-nagios-changes] [pkg-interfacetable-v3t] 01/14: Renamed binary package to nagios-plugin-interfacetable-v3t

Markus Frosch lazyfrosch-guest at moszumanska.debian.org
Sun Dec 29 17:09:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

lazyfrosch-guest pushed a commit to branch debmon-wheezy
in repository pkg-interfacetable-v3t.

commit 0d8eac428b9d87ef1365bd1e45c3c7ddddf54cdc
Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Fri Sep 6 19:49:58 2013 +0200

    Renamed binary package to nagios-plugin-interfacetable-v3t
---
 debian/control                                             |  9 +++++++++
 debian/{dirs => nagios-plugin-interfacetable-v3t.dirs}     |  0
 debian/{docs => nagios-plugin-interfacetable-v3t.docs}     |  0
 .../{install => nagios-plugin-interfacetable-v3t.install}  |  0
 debian/{links => nagios-plugin-interfacetable-v3t.links}   |  0
 ...{postinst => nagios-plugin-interfacetable-v3t.postinst} |  0
 debian/{postrm => nagios-plugin-interfacetable-v3t.postrm} |  0
 debian/rules                                               | 14 +++++++-------
 8 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 914ffae..b266580 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,13 @@ Vcs-Browser: http://anonscm.debian.org/git/pkg-nagios/pkg-interfacetable-v3t.git
 
 Package: interfacetable-v3t
 Architecture: all
+Depends: nagios-plugin-interfacetable-v3t (= ${source:Version}), ${misc:Depends}
+Section: oldlibs
+Description: Nagios / Icinga plugin to monitor network interfaces via SNMP
+ Transitional package to nagios-plugin-interfacetable-v3t
+
+Package: nagios-plugin-interfacetable-v3t
+Architecture: all
 Depends: nagios-plugins-common,
          libnet-snmp-perl,
          libconfig-general-perl,
@@ -29,6 +36,8 @@ Depends: nagios-plugins-common,
          ${misc:Depends}
 Recommends: apache2 | httpd, php5
 Suggests: pnp4nagios
+Replaces: interfacetable-v3t (<< 0.05+dfsg1-1.1~)
+Breaks: interfacetable-v3t (<< 0.05+dfsg1-1.1~)
 Description: Nagios / Icinga plugin to monitor network interfaces via SNMP
  Interfacetable_v3t (formerly check_interface_table_v3t) is a Nagios / Icinga
  addon that allows you to monitor the network interfaces of a node (e.g.
diff --git a/debian/dirs b/debian/nagios-plugin-interfacetable-v3t.dirs
similarity index 100%
rename from debian/dirs
rename to debian/nagios-plugin-interfacetable-v3t.dirs
diff --git a/debian/docs b/debian/nagios-plugin-interfacetable-v3t.docs
similarity index 100%
rename from debian/docs
rename to debian/nagios-plugin-interfacetable-v3t.docs
diff --git a/debian/install b/debian/nagios-plugin-interfacetable-v3t.install
similarity index 100%
rename from debian/install
rename to debian/nagios-plugin-interfacetable-v3t.install
diff --git a/debian/links b/debian/nagios-plugin-interfacetable-v3t.links
similarity index 100%
rename from debian/links
rename to debian/nagios-plugin-interfacetable-v3t.links
diff --git a/debian/postinst b/debian/nagios-plugin-interfacetable-v3t.postinst
similarity index 100%
rename from debian/postinst
rename to debian/nagios-plugin-interfacetable-v3t.postinst
diff --git a/debian/postrm b/debian/nagios-plugin-interfacetable-v3t.postrm
similarity index 100%
rename from debian/postrm
rename to debian/nagios-plugin-interfacetable-v3t.postrm
diff --git a/debian/rules b/debian/rules
index 943c3dd..b0ab35c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-b := $(shell pwd)/debian
+b := $(shell pwd)/debian/nagios-plugin-interfacetable-v3t
 
 %:
 	dh --with quilt $@
@@ -34,17 +34,17 @@ override_dh_auto_install:
 override_dh_install:
 	dh_install
 	# additional files
-	cp debian/apache2.conf ${b}/interfacetable-v3t/etc/interfacetable-v3t/
+	cp debian/apache2.conf ${b}/etc/interfacetable-v3t/
 	cp etc/settings.cfg-sample \
-		${b}/interfacetable-v3t/etc/interfacetable-v3t/settings.cfg
+		${b}/etc/interfacetable-v3t/settings.cfg
 	# executables
-	chmod +x ${b}/interfacetable-v3t/usr/lib/nagios/plugins/check_interface_table_v3t.pl
-	chmod +x ${b}/interfacetable-v3t/usr/share/interfacetable-v3t/cgi/InterfaceTableReset_v3t.cgi
+	chmod +x ${b}/usr/lib/nagios/plugins/check_interface_table_v3t.pl
+	chmod +x ${b}/usr/share/interfacetable-v3t/cgi/InterfaceTableReset_v3t.cgi
 	# fix libdir in nagiosplugin
 	sed -i "s#use lib ('/usr/lib');#use lib ('/usr/lib/interfacetable-v3t');#" \
-		${b}/interfacetable-v3t/usr/lib/nagios/plugins/check_interface_table_v3t.pl
+		${b}/usr/lib/nagios/plugins/check_interface_table_v3t.pl
 	# remote quotes from settings
-	sed -i 's#"##g' ${b}/interfacetable-v3t/etc/interfacetable-v3t/settings.cfg
+	sed -i 's#"##g' ${b}/etc/interfacetable-v3t/settings.cfg
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-interfacetable-v3t.git



More information about the Pkg-nagios-changes mailing list