http://localhost/cgi-bin/man/mansec?http://localhost/cgi-bin/man+2 provides links not working (bz2) man2html does not support bzip2 Reproducible: Always I changed some scripts and fixed the problem. Apply the attached patch cd cd /usr/share/webapps/man2html/1.5l-r2/hostroot/cgi-bin/ patch -p0 < patch_man2html_hfk patch_man2html_hfk: diff -Naur man/man2html man.hfk/man2html --- man/man2html 2007-11-04 07:47:11.000000000 +0000 +++ man.hfk/man2html 2007-11-04 08:01:28.000000000 +0000 @@ -90,6 +90,9 @@ *.gz) zcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" ;; + *.bz2) + bzcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" + ;; *) "$MAN2HTML" "$LL" "$PAGE" ;; diff -Naur man/mansearch man.hfk/mansearch --- man/mansearch 2007-11-04 07:47:11.000000000 +0000 +++ man.hfk/mansearch 2007-11-04 07:48:26.000000000 +0000 @@ -153,7 +153,7 @@ } print "<DT> <a href=\"" cgipath "/man2html?" fullname "\">"; textname = filename; - sub(/\.(gz)|Z|z$/, "", textname); + sub(/\.(gz)|\.(bz2)|(pm)$|Z|z$/, "", textname); sub(/\./, "(", textname); textname = textname ")"; print textname; diff -Naur man/mansec man.hfk/mansec --- man/mansec 2007-11-04 07:47:11.000000000 +0000 +++ man.hfk/mansec 2007-11-04 07:48:26.000000000 +0000 @@ -129,8 +129,8 @@ # Print out alphabetic quick index and other links } # Split page.n into "page" and "n" and generate an entry - sub(/[.]([zZ]|(gz))$/, "", manpage); - match(manpage, /[.][^.]+$/); + sub(/(pm|(pm)?[.]([zZ]|(gz)|(bz2)))$/, "", manpage); + match(manpage, /[.][^.]+$/); title = substr(manpage, 1, RSTART - 1); if (section != "all") { print "<a href=\"" cgipath "/man2html?", section, "+", title, "\">", title, "(", substr(manpage, RSTART + 1), ")</a>" > buffer_tmp;
*** This bug has been marked as a duplicate of bug 179546 ***