Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52119 - Updated man2html ebuild
Summary: Updated man2html ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 52544
Blocks:
  Show dependency tree
 
Reported: 2004-05-26 11:34 UTC by Rob Kruus
Modified: 2004-06-27 03:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild -- uses webapp eclass (man2html-1.5l-r1.ebuild,1.49 KB, text/plain)
2004-05-26 11:34 UTC, Rob Kruus
Details
Patch to make mansec behave (mansec.patch,639 bytes, patch)
2004-05-26 11:36 UTC, Rob Kruus
Details | Diff
some post install additions (man2html-1.5l-r2.ebuild,2.21 KB, text/plain)
2004-05-31 10:44 UTC, Rob Kruus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Kruus 2004-05-26 11:34:03 UTC
Updated man2html ebuild to use webapp eclass (since I didn't want to install apache).
It also fixes a bug in the mansec script which fails -- creates a huge empty file in /var/man2html (~500M)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rob Kruus 2004-05-26 11:34:56 UTC
Created attachment 32089 [details]
Updated ebuild -- uses webapp eclass
Comment 2 Rob Kruus 2004-05-26 11:36:42 UTC
Created attachment 32090 [details, diff]
Patch to make mansec behave

The uniq is because the mansec path includes a symbolic link (though I could
have dropped the follow...)
Comment 3 Tom Payne (RETIRED) gentoo-dev 2004-05-31 05:15:08 UTC
Thanks -- nice submission. In CVS but masked in package.mask pending bug # 52544 (no FollowSymLinks on /var/www/localhost/cgi-bin).
Comment 4 Rob Kruus 2004-05-31 07:54:12 UTC
yeah, I get the same problem here with mini_httpd running in chroot mode.  I assume it has to do with the webapp.eclass not installing execuatables into cgi-bin.  I tried to install the files into the directly into the cgi-bin but found they were not executable.  Maybe I'll try with a config section to change permissions of the files.
Comment 5 Tom Payne (RETIRED) gentoo-dev 2004-05-31 08:05:55 UTC
Rob,

I think this is a generic webapp / cgi-bin problem. Many webservers won't follow symlinks in cgi-bin because it's a potential security hole. The workaround is to configure your webserver to allow them. I can tell you how to do it for apache, but don't know anything about mini_httpd.

Regards,

Tom
Comment 6 Rob Kruus 2004-05-31 08:36:39 UTC
i have an option in mini_http to run in a chroot (/var/www/..) or not.  Having it run outside the chroot is no problemn (the symlinks work).  And since it's installed on laptop running on the local interface only it's not problem not running in the chroot environment :-)
Comment 7 Rob Kruus 2004-05-31 10:44:34 UTC
Created attachment 32397 [details]
some post install additions

This version find files in the /var/www tree and changes the cgi-bin/man files
ot executable.	It works if you have webapp-config setup to install
config-owned files, not the default virtual.
I kind of goes against the whole webapp.eclass idea, but in this case, it
resolves 
the cgi-bin / link idea.
Comment 8 Tom Payne (RETIRED) gentoo-dev 2004-06-04 11:07:08 UTC
Thanks for this Rob, but I'll wait for the webapp-config fix so it can be done properly.
Comment 9 Tom Payne (RETIRED) gentoo-dev 2004-06-27 03:23:15 UTC
Now unmasked from package.mask.