Package: sarg
Version: 2.3.10-2
Severity: normal
Tags: patch

Currently, sarg ships with the following manpages:

dpkg -c sarg_2.3.10-2_amd64.deb | grep 'usr/share/man' | grep '\.gz$'
/usr/share/man/man1/sarg-reports.1.gz
/usr/share/man/man1/sarg.1.gz
/usr/share/man/man1/man1/sarg.1.gz

man1/man1/sarg.1.gz is in the wrong directory and cannot be read using
man(1).

The following patch fixes the issue:
--- debian/rules.O      2017-01-08 16:59:43.305936141 +0100
+++ debian/rules        2017-01-08 16:59:48.325872073 +0100
@@ -23,7 +23,6 @@
                --infodir=\$${prefix}/share/info \
                --bindir=/usr/bin \
                --sysconfdir=/etc/sarg \
-               --mandir=/usr/share/man/man1 \
                --enable-fontdir=/usr/share/fonts/truetype/ttf-dejavu \
                --enable-imagedir=/usr/share/sarg/images \
                --enable-sargphp=/usr/share/sarg


-- 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)

Reply via email to