Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105910 - awstats.model.conf refers to icons/ instead of icon/
Summary: awstats.model.conf refers to icons/ instead of icon/
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 17:55 UTC by Dan Callaghan
Modified: 2005-09-14 01:11 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 Dan Callaghan 2005-09-13 17:55:00 UTC
The awstats ebuild by default puts its icons into a directory named icon, but
the model config file for awstats refers to a directory named icons.

Reproducible: Always
Steps to Reproduce:
1. emerge awstats

Actual Results:  
Icons are located in /usr/share/webapps/awstats/6.5/htdocs/icon/, but
/etc/awstats/awstats.model.conf has DirIcons="/awstats/icons".

Expected Results:  
Either the icons should be in /usr/share/webapps/awstats/6.5/htdocs/icons/, or
/etc/awstats/awstats.model.conf should have DirIcons="/awstats/icon".

# emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Xeon(TM) CPU 3.40GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="amd64 apache2 berkdb bitmap-fonts bzip2 crypt emboss gif innodb ipv6 jpeg
libwww lzw lzw-tiff mysql ncurses nls pam pcre pdflib perl png python readline
spell ssl tcpd tetex tiff unicode usb userlocales vhosts xml-rpc xml2 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-14 01:11:30 UTC
/usr/share/webapps/awstats/6.5/postinst-en.txt

<snip>
Alias /stats/icons "/usr/share/webapps/awstats/6.5/htdocs/icon/" <--
</snip>

The entry in awstats.model.conf refers to the alias and your suggested changes
would break it, you can try yourself.