Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96030 - samba swat; why on /usr/share/doc?
Summary: samba swat; why on /usr/share/doc?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 20:45 UTC by Norberto Bensa
Modified: 2005-06-15 00:44 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 Norberto Bensa 2005-06-13 20:45:07 UTC
Swat isn't documentation. Wouldn't it be better to install it into /usr/lib/samba/swat or /srv/samba/swat?
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2005-06-14 05:03:23 UTC
You're right, but unfortunately the (samba upstream) install phase does consider
swat and the documentation a unique subpackage. So, not only swat includes
documentation, but it has statical references to it also.
Until a patch to the install Makefile is submitted (and maintained), I'd prefer
not to change this behaviour.
Comment 2 Norberto Bensa 2005-06-14 17:21:32 UTC
I'm sorry, but I fail to see what's wrong with: 
    --with-swatdir=/usr/$(get_libdir)/samba/swat \ 
 
in the ebuild.  
 
Why do we need a patch for the Makefile?  
I see the statical references to the documentation in swat as help files for 
the application. So shouldn't them be installed together? 
Do you want to separate this documentation/help from swat? 
 
Thanks, 
Norberto 
 
Comment 3 Christian Andreetta (RETIRED) gentoo-dev 2005-06-15 00:44:25 UTC
well, although installed as part of swat, the documentation should respect both
FSH and Gentoo standards: they state that documentation goes under
/usr/share/doc/<package> or /usr/doc/<package>, while /usr/lib/<whatever> should
be for non-doc components.
So the location of swat is now bound to the location of docs. If swat would be
separated, I will be happy to put it in a 'more proper' :-) site.