Package: gman
Version: 0.9.3-2
Severity: normal
Tags: patch

This seems to me like an obvious bug with an obvious patch:

--- /usr/lib/cgi-bin/gman.old   2003-08-15 19:33:12.000000000 +0100
+++ /usr/lib/cgi-bin/gman.pl    2005-07-09 17:52:05.000000000 +0100
@@ -15,7 +15,7 @@
 
 my $section = $ARGV[0]; # should also have some sanity check
 my $name = $ARGV[1];
-my $man2html = "/usr/lib/cgi-bin/man2html";
+my $man2html = "/usr/lib/cgi-bin/man/man2html";
 my $path = `man -w $section $name`; chomp $path; $path =~ s/\s*$//;
 
 unless (-s "$path") {


Meanwhile, have you considered that this cgi-script should be
mentioned more prominently in the package's docs?  They currently
claim:

> Gman is nothing else but only a simple front-end for the original man
> page system.

But /usr/bin/gman is no longer the only man-page interface that this
package provides; there's also the remotely accessible
"http://host.domain/cgi-bin/gman.pl?1+foo";, whose existence is 
only barely hinted at by the documentation.  Of course, anyone who
doesn't want that to work shouldn't install man2html, but the
"Suggests:" for that should be explained in the Description.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.11.hurakan
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages gman depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.4.3-13      GCC support library
ii  libglib1.2               1.2.10-9        The GLib library of C routines
ii  libgtk1.2                1.2.10-17       The GIMP Toolkit set of widgets fo
ii  libstdc++5               1:3.3.5-13      The GNU Standard C++ Library v3
ii  man-db                   2.4.2-21        The on-line manual pager
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  xterm [x-terminal-emulat 4.3.0.dfsg.1-14 X terminal emulator

-- no debconf information

-- 
JBR
Ankh kak! (Ancient Egyptian blessing)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to