Package: macutils
Version: 2.0b3-16
Severity: minor
Tags: patch

Dear Maintainer,

This package provides a macutil(1) man page, which simply lists the
programs provided by the package.

Section 1 is supposed to be for commands, whereas this package does not
provide a macutil command.

Also, the man page is called macutil, rather the actual package name
"macutils".  The text of the man page also claims that the package that
it documents is macutil, rather than macutils, so presumably that's the
name upstream.

Such a non-command man page should be in section 7.

One way of fixing this is provided as a patch below. (although the
temporary file should perhaps be placed elsewhere, or there should be
something to remove it in the clean target)

The reason to worry about this is that the presence of this man page
caused bug #580397, which then caused Dererk (mailavenger's maintainer)
to initially remove the macutil command from that package.  The command is
now restored to the package, but to avoid the file clash the command's
manpage is now being put in section 8.

If you adopt this patch (or fix this in another way) then macutil
(from mailavenger) users will be able to get at either man page just by
specifying 'man macutil' or 'man macutils', rather than being forced to
specify the section number.

Once done, mailavenger could also revert to distributing the man page
in section 1, thus removing the delta from upstream.

Cheers, Phil.

diff --git a/debian/rules b/debian/rules
index 5b8308a..08d0524 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ DH_VERBOSE=1
 build: 
        dh_testdir
        make
+       sed 's/^.TH MACUTIL 1/.TH MACUTILS 7/;s/macutil/macutils/' 
man/macutil.1 > debian/macutils.7
        touch stamp-build
 
 clean:
@@ -36,7 +37,7 @@ binary-arch:  build
        dh_installdirs
        make install BINDIR=debian/macutils/usr/bin
        dh_installdocs README doc/*
-       dh_installman man/*.1
+       dh_installman $$(ls man/*.1 | grep -v macutil.1) debian/macutils.7
        dh_installchangelogs
        dh_strip
        dh_compress


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to