Package: mirmon
Version: 2.11-1
Severity: normal
Tags: patch

Currently, mirmon ships with the following manpages:

$ dpkg -L mirmon | grep usr/share/man | grep '\.gz$'
/usr/share/man/man1/mirmon.1.gz
/usr/share/man/pm/man3/mirmon.3.gz

mirmon.3.gz is in the wrong directory and cannot be read using man(1).

This is because dh_installman interprets the .pm.1 suffix as a language.
The following patch fixes the issue:

--- debian/rules.O      2017-01-08 13:08:46.738217678 +0100
+++ debian/rules        2017-01-08 13:07:59.078791615 +0100
@@ -6,3 +6,8 @@
 
 override_dh_installchangelogs:
        dh_installchangelogs $(CURDIR)/RELEASE-NOTES
+
+override_dh_installman:
+       # mirmon.pm.1 is incorrectly assumed to be a translated manpage and
+       # installed into usr/share/man/pm/man3 unless we specify --language=C:
+       dh_installman --language=C

Please consider applying the patch. Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mirmon depends on:
ii  perl  5.24.1~rc4-1

Versions of packages mirmon recommends:
ii  perl-doc  5.24.1~rc4-1

Versions of packages mirmon suggests:
ii  apache2 [httpd]     2.4.25-1
ii  nginx-full [httpd]  1.10.2-2
ii  wget                1.18-4

-- no debconf information

Reply via email to