After having done a fresh install of app-text/man2html-1.5l, I've tried to open the link http://localhost/cgi-bin/man/man2html and I've recieved an error saying, it couldn't open "/home/httpd/cgi-aux/man/man.aux" This is the reason: the man2html cgi-script (http://localhost/cgi-bin/man/man2html) which is installed in /var/www/localhost/cgi-bin/man/man2html, has the wrong reference for man.aux (/home/httpd/cgi-aux/man/man/aux) which is actually installed in /var/www/localhost/cgi-aux/man.aux. Reproducible: Always Steps to Reproduce: 1. install man2html by doing 'emerge man2html' 2. point your webbrowser to 'http://localhost/cgi-bin/man/man2html' Actual Results: The script returns the following error: "Error man2html: cannot open /home/httpd/cgi-aux/man/man.aux" Expected Results: In short? at least, it should work ;D meaning the link http://localhost/cgi- bin/man/man2html should show you a page where you can read/search the different manpages on your pc. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo- r2) ================================================================= System uname: 2.4.22-gentoo-r2 i586 Pentium 75 - 200 Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/conf ig /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gtk gtk2 imlib jpeg kde gnome libg++ mad mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcltk java mysql X gpm tcpd pam libwww ssl perl python qt opengl ldap"
Created attachment 22671 [details, diff] fixes this bug, changes the reference in the man2html script to the right man.aux
Created attachment 22672 [details, diff] patch to ebuild to include the patch
mis-wrangled, sorry patrick
Thanks for this. Fix now in CVS. This bug revealed other wrong paths in the script due to the move from /home/httpd to /var/www/localhost. I've used sed rather than patch to fix all references to htdocs, cgi-bin, and cgi-aux.