Hi!

I'm currently planning to upload a new version of
libsnmp-session-perl, which now contains the file Net_SNMP_util.pm
that you currently ship in mrtg.

For this it would be necessary, that mrtg depends on the new
libsnmp-session-perl version (>= 1.14~git20130523.186a005-1) to avoid
the file existing in both packages.

For this I prepared an NMU for mrtg (patch is attached).

Since I just noticed, that mrtg has RC bug open, that it build-depends
on libgd2-noxpm-dev, which is replaced by libgd-dev now (the old
package was only a transitional package, pulling in libgd-dev), so
changing this build-dependency to directly pointing to libgd-dev
shouldn't be a big deal and I added it to my NMU, too.

Do you allow me, to upload the modified mrtg package to the archive?

Greetings
Roland
diff -Nru mrtg-2.17.4/debian/changelog mrtg-2.17.4/debian/changelog
--- mrtg-2.17.4/debian/changelog	2016-04-11 00:45:17.000000000 +0200
+++ mrtg-2.17.4/debian/changelog	2017-12-05 17:41:10.000000000 +0100
@@ -1,3 +1,11 @@
+mrtg (2.17.4-4.1) unstable; urgency=medium
+
+  * NMU to remove Net_SNMP_util module (which is now to be found in
+    libsnmp-session-perl).
+  * Build-Depend on libgd-dev instead of libgd-dev (Closes: #880776).
+
+ -- Roland Rosenfeld <rol...@debian.org>  Tue, 05 Dec 2017 17:41:10 +0100
+
 mrtg (2.17.4-4) unstable; urgency=medium
 
   * debian/control
diff -Nru mrtg-2.17.4/debian/control mrtg-2.17.4/debian/control
--- mrtg-2.17.4/debian/control	2016-04-11 00:45:17.000000000 +0200
+++ mrtg-2.17.4/debian/control	2017-12-05 17:41:10.000000000 +0100
@@ -4,14 +4,14 @@
 Maintainer: Sandro Tosi <mo...@debian.org>
 Uploaders: Adam Majer <ad...@zombino.com>
 Standards-Version: 3.9.7
-Build-Depends: debhelper (>= 7), libgd2-noxpm-dev, libpng-dev, zlib1g-dev, debconf-utils, po-debconf
+Build-Depends: debhelper (>= 7), libgd-dev, libpng-dev, zlib1g-dev, debconf-utils, po-debconf
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/mrtg.git
 Vcs-Git: https://anonscm.debian.org/git/git/collab-maint/mrtg.git
 Homepage: http://oss.oetiker.ch/mrtg
 
 Package: mrtg
 Architecture: any
-Depends: debconf (>= 1.2.0) | debconf-2.0, libsnmp-session-perl (>= 1.12), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: debconf (>= 1.2.0) | debconf-2.0, libsnmp-session-perl (>= 1.14~git20130523.186a005-1), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Suggests: mrtg-contrib, httpd | www-browser
 Description: multi router traffic grapher
  The Multi Router Traffic Grapher is a tool primarily used to monitor the
diff -Nru mrtg-2.17.4/debian/rules mrtg-2.17.4/debian/rules
--- mrtg-2.17.4/debian/rules	2016-04-11 00:45:17.000000000 +0200
+++ mrtg-2.17.4/debian/rules	2017-12-05 17:41:10.000000000 +0100
@@ -54,10 +54,11 @@
    # Manual install :(
 
 	cp -a lib/mrtg2/*.pm $(TMP)/usr/share/perl5
-	# Remove the three SNMP_Session modules which are now in libsnmp-session-perl
+	# Remove the four SNMP_Session modules which are now in libsnmp-session-perl
 	rm -f $(TMP)/usr/share/perl5/BER.pm
 	rm -f $(TMP)/usr/share/perl5/SNMP_Session.pm
 	rm -f $(TMP)/usr/share/perl5/SNMP_util.pm
+	rm -f $(TMP)/usr/share/perl5/Net_SNMP_util.pm
 	install -m 644 debian/cron.d $(TMP)/etc/cron.d/mrtg
 	install -m 755 bin/cfgmaker $(TMP)/usr/bin
 	install -m 755 bin/indexmaker $(TMP)/usr/bin

Attachment: signature.asc
Description: PGP signature

Reply via email to