Bug 81802 - net-www/awstats-6.3-r1 has incorrect postinst-en.txt
Bug#: 81802 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ka0ttic@gentoo.org Reported By: jakub@gentoo.org
Component: Ebuilds
URL: 
Summary: net-www/awstats-6.3-r1 has incorrect postinst-en.txt
Keywords:  
Status Whiteboard: 
Opened: 2005-02-12 16:11 0000
Description:   Opened: 2005-02-12 16:11 0000
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 From Jakub Moc (RETIRED) 2005-02-12 16:11:43 0000 -------
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 From Aaron Walker (RETIRED) 2005-02-12 17:51:19 0000 -------
Fixed. Thanks for the report.

------- Comment #3 From Jakub Moc (RETIRED) 2005-02-14 02:09:26 0000 -------
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 From Aaron Walker (RETIRED) 2005-02-14 02:38:29 0000 -------
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 From Jakub Moc (RETIRED) 2005-02-14 02:52:31 0000 -------
OK, I will open a new one and will include some tips for authenticated access
to AWStats in postinst-en.txt. ;-) Thanks.