Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159187

Summary: net-mail/mailgraph-1.12 installs CGI script into htdocs
Product: Gentoo Linux Reporter: Rick Altherr <kc8apf>
Component: New packagesAssignee: Andrej Kacian (RETIRED) <ticho>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rick Altherr 2006-12-26 22:47:30 UTC
The mailgraph-1.12 ebuild installs the mailgraph.pl script in the htdoc folder of a virtual host as the file 'mailgraph'.  This file should be installed in the cgi-bin folder of the virtual host since it is, in fact, a CGI script.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 02:59:11 UTC
It installs mailgraph.pl into /usr/bin where the init script expects it. 

<snip>
# mailgraph daemon
newbin mailgraph.pl mailgraph
</snip>

Are you talking about mailgraph.cgi?
Comment 2 Rick Altherr 2006-12-27 08:34:22 UTC
Yes
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 08:38:44 UTC
  18 Mar 2006; <ticho@gentoo.org> mailgraph-1.12.ebuild:
  Install mailgraph.cgi to correct place. Stable on x86.

You changed this, no idea why...
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2006-12-27 11:17:11 UTC
Hm, looks like it's better off in cgi-bin - I reverted my change in 1.12. Thanks.