Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81802 - net-www/awstats-6.3-r1 has incorrect postinst-en.txt
Summary: net-www/awstats-6.3-r1 has incorrect postinst-en.txt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 16:11 UTC by Jakub Moc (RETIRED)
Modified: 2005-02-14 02:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2005-02-12 16:11:43 UTC
postinst-en.txt does not reflect path change - it states /usr/share/webapps/awstats/6.3/ instead of /usr/share/webapps/awstats/6.3-r1/ which of course won
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-02-12 16:11:43 UTC
postinst-en.txt does not reflect path change - it states /usr/share/webapps/awstats/6.3/ instead of /usr/share/webapps/awstats/6.3-r1/ which of course won´t work with Apache.


Reproducible: Always
Steps to Reproduce:
1. emerge awstats


Expected Results:  
Fix:

s/6.3/6.3-r1/g :-)
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-02-12 17:51:19 UTC
Fixed. Thanks for the report.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-02-14 02:09:26 UTC
This is not worth a new bug but the following "patch" allows to access AWStats via a more convenient URI http://www.example.com/awstats instead of having to use http://www.example.com/awstats/awstats.pl explicitly.

--- postinst-en.txt.orig        2005-02-13 03:14:13.000000000 +0100
+++ postinst-en.txt     2005-02-14 10:59:20.000000000 +0100
@@ -2,6 +2,8 @@
 Alias /awstats/css "/usr/share/webapps/awstats/PVR/htdocs/css/"
 Alias /awstats/icons "/usr/share/webapps/awstats/PVR/htdocs/icon/"
 ScriptAlias /awstats/ "/usr/share/webapps/awstats/PVR/hostroot/cgi-bin/"
+ScriptAlias /awstats "/usr/share/webapps/awstats/PVR/hostroot/cgi-bin/awstats.pl"
+ScriptAlias /awstats.pl "/usr/share/webapps/awstats/PVR/hostroot/cgi-bin/awstats.pl"

 <Directory "/usr/share/webapps/awstats/PVR/htdocs">
     Options None

I am not reopening this bug but if you find a few seconds to apply this when 6.4 arrives to the portage tree, it would be nice. ;-) 

Thanks.
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2005-02-14 02:38:29 UTC
Jakub,

Please open a separate bug, setting the severity to "Enhancement", and assign it to me (ka0ttic@gentoo.org).  Otherwise, it will get forgotten about just due to sheer volume of work we do.  I know it seems stupid for something this minor but that's the only way it'll get done.  I'll look at modifying postinst-en.txt next release.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-02-14 02:52:31 UTC
OK, I will open a new one and will include some tips for authenticated access to AWStats in postinst-en.txt. ;-) Thanks.