Lintian Fixes - mc

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index eca109d..7577ab5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+mc (3:4.8.28-2) UNRELEASED; urgency=medium
+
+  * Remove 8 obsolete maintscript entries in 1 files.
+  * Bump debhelper from old 12 to 13.
+  * Update renamed lintian tag names in lintian overrides.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Fix day-of-week for changelog entries 3:4.8.1-4, 1:4.6.1-4,
+    1:4.6.0-4.6.1-pre3-1, 4.5.40-4.
+  * Drop transition for old debug package migration.
+  * Update standards version to 4.6.1, no changes needed.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 21 Sep 2022 05:51:55 -0000
+
 mc (3:4.8.28-1) unstable; urgency=medium
 
   * New upstream release.
@@ -486,7 +500,7 @@ mc (3:4.8.1-4) unstable; urgency=low
   * d-rules: invoke autogen.sh if present in source tree to
     simplify building from trunk
 
- -- Dmitry Smirnov <onlyjob@member.fsf.org>  Wed, 29 Mar 2012 22:51:16 +1100
+ -- Dmitry Smirnov <onlyjob@member.fsf.org>  Thu, 29 Mar 2012 22:51:16 +1100
 
 mc (3:4.8.1-3) unstable; urgency=low
 
@@ -1147,7 +1161,7 @@ mc (1:4.6.1-4) unstable; urgency=medium
   * 77 bugs should still remain after this upload... If you have some time please join
     the Debian MC team.
 
- -- Ludovic Drolez <ldrolez@debian.org>  Thu, 12 Jul 2006 20:00:00 +0200
+ -- Ludovic Drolez <ldrolez@debian.org>  Wed, 12 Jul 2006 20:00:00 +0200
 
 mc (1:4.6.1-3) unstable; urgency=low
 
@@ -1302,7 +1316,7 @@ mc (1:4.6.0-4.6.1-pre3-1) unstable; urgency=high
   * Italian hotkey translation changed (closes: #231071).
   * New upstream pre-release.
 
- -- Ludovic Drolez <ldrolez@debian.org>  Mon, 17 Feb 2005 22:45:32 +0100
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 17 Feb 2005 22:45:32 +0100
 
 mc (1:4.6.0-4.6.1-pre1-3) unstable; urgency=low
 
@@ -1751,7 +1765,7 @@ mc (4.5.40-4) unstable; urgency=low
     debian/rules, debian/control and sources.list, closes: #47403
     Thanks to Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>
 
- -- Martin Bialasinski <martinb@debian.org>  Sat, 31 Oct 1999 13:59:54 +0200
+ -- Martin Bialasinski <martinb@debian.org>  Sun, 31 Oct 1999 13:59:54 +0200
 
 mc (4.5.40-3) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index a2af5da..7e71bc0 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Dmitry Smirnov <onlyjob@debian.org>
 Uploaders: Yury V. Zaytsev <yury@shurup.com>
           ,Andreas Tille <tille@debian.org>
           ,Denis Briand <debian@denis-briand.fr>
-Build-Depends: debhelper-compat (= 12), autopoint, intltool, bison
+Build-Depends: debhelper-compat (= 13), autopoint, intltool, bison
  ,check
  ,e2fslibs-dev
  ,gettext
@@ -18,7 +18,7 @@ Build-Depends: debhelper-compat (= 12), autopoint, intltool, bison
 # mc determine zip mode from zip alternatives available at build-time(!)
 # hence 'unzip' needed to set proper zip mode, see #661467
  ,unzip
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Rules-Requires-Root: binary-targets
 Homepage: https://www.midnight-commander.org
 Vcs-Browser: https://salsa.debian.org/debian/mc
diff --git a/debian/mc.lintian-overrides b/debian/mc.lintian-overrides
index 25ce6bb..1982660 100644
--- a/debian/mc.lintian-overrides
+++ b/debian/mc.lintian-overrides
@@ -1,4 +1,4 @@
 executable-not-elf-or-script
 
 # cons.saver has to be sgid tty to access vcsa
-setgid-binary
+elevated-privileges
diff --git a/debian/mc.maintscript b/debian/mc.maintscript
deleted file mode 100644
index ca1b2d7..0000000
--- a/debian/mc.maintscript
+++ /dev/null
@@ -1,8 +0,0 @@
-rm_conffile /etc/mc/edit.spell.rc      3:4.8.5-1
-rm_conffile /etc/mc/mc.charsets        3:4.8-1
-rm_conffile /etc/mc/mc.lib             3:4.8-1
-rm_conffile /etc/mc/Syntax             3:4.8-1
-rm_conffile /etc/mc/mc.menu.sr         3:4.8.17-0
-mv_conffile /etc/mc/cedit.menu         /etc/mc/mcedit.menu         3:4.8-1
-mv_conffile /etc/mc/mc.keymap.emacs    /etc/mc/mc.emacs.keymap     3:4.8.8-0
-mv_conffile /etc/mc/mc.keymap.default  /etc/mc/mc.default.keymap   3:4.8.8-0
diff --git a/debian/rules b/debian/rules
index c633a73..5c370ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,9 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 # minimise needless linking
-export DEB_LDFLAGS_MAINT_APPEND= -Wl,--as-needed
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 # use --as-needed only if supported by dh-autoreconf (to simplify backporting)
 DH_AS_NEEDED=$(shell dpkg --compare-versions $$(dpkg --status dh-autoreconf | grep Version | cut -d' ' -f2) ge 6 && echo --as-needed)
@@ -59,6 +58,3 @@ override_dh_fixperms:
 
 override_dh_installchangelogs:
 	dh_installchangelogs doc/NEWS
-
-override_dh_strip:
-	dh_strip --dbgsym-migration='mc-dbg (<< 3:4.8.17~)'
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 1710ff9..9736bcf 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -1,2 +1,2 @@
 #Upstream doesn't provide GPG signature
-debian-watch-does-not-check-gpg-signature
+debian-watch-does-not-check-openpgp-signature

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/b3/fe2379df1a68ba58e606af6409db6c4f08368d.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/c7/5b04b0fc55c721a3e98627d7597d1d5946645b.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/0b/f5507ce81f66a66a603842d3bb6aa74bdc9447.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/f8/b8db576620877e31c536d46045cdcdd89b2642.debug
-rwxr-xr-x  root/root   DEBIAN/preinst

Control files of package mc: lines which differ (wdiff format)

  • Depends: libc6 (>= 2.33), 2.34), libext2fs2 (>= 1.37), libglib2.0-0 (>= 2.59.2), libgpm2 (>= 1.20.7), libslang2 (>= 2.2.4), libssh2-1 (>= 1.2.8), mc-data (= 

No differences were encountered between the control files of package mc-data

Control files of package mc-dbgsym: lines which differ (wdiff format)

  • Breaks: mc-dbg (<< 3:4.8.17~)
  • Build-Ids: 0bf5507ce81f66a66a603842d3bb6aa74bdc9447 f8b8db576620877e31c536d46045cdcdd89b2642 b3fe2379df1a68ba58e606af6409db6c4f08368d c75b04b0fc55c721a3e98627d7597d1d5946645b
  • Replaces: mc-dbg (<< 3:4.8.17~)

Run locally

More details

Full run details