Package: wget
Version: 1.10.1-1
Severity: minor
Tags: patch
wget generates its manpage from a texinfo file (doc/wget.texi).
This file is translated by texi2pod.pl to wget.pod and afterwards
converted by pod2man to wget.1 (manpage).
The script texi2pod.pl skips (sub)nodes in the texi version,
thus leaving out major parts of documentation.
This is the reason for bugreports #324012, #175810, #218292, #225886,
#311200 and #311200.
They can all be fixed by replacing texi2pod.pl with something
more sophisticated.
The attached patch modifies doc/Makefile.in to use info2pod
instead of texi2pod.pl. Unfortunately the result looks totally
different from what you got before.
(See <http://adi.thur.de/files/wget.1.gz> if you don't want to
build wget from source.)
Due to the use of info2pod the dh_builddeps have to be extended
to include info2man. (the attached patch intentionally left this
out in order to provide a generic diff (not debian-specific)).
The best solution might probably be to abandon the manpage at all
and just pointing to the info page (i.e. a manpage containing
the single line "See 'info wget' for more")
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages wget depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
wget recommends no packages.
-- no debconf information
diff -u -r wget-1.10.1/doc/Makefile.in wget-new2/doc/Makefile.in
--- wget-1.10.1/doc/Makefile.in 2005-06-06 22:42:17.000000000 +0200
+++ wget-new2/doc/Makefile.in 2005-09-04 17:13:19.000000000 +0200
@@ -68,12 +68,12 @@
wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi
$(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi
-$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
- sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@
- chmod u+x $@
+#$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
+# sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@
+# chmod u+x $@
-wget.pod: $(srcdir)/wget.texi $(TEXI2POD) $(srcdir)/version.texi
- ./$(TEXI2POD) $(srcdir)/wget.texi $@
+wget.pod: wget.info
+ info2pod wget.info > $@
$(MAN): wget.pod
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@