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

Bug 162515

Summary: samba-3.0.22-r3 - missing swat directory
Product: Gentoo Linux Reporter: Darren Miller <darren.miller>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Darren Miller 2007-01-17 11:13:18 UTC
configure sequence references /usr/share/doc/samba-3.0.22-r3 as the swat directory however the simple fact of a missing swat directory prevents anything swat for working. since this was a fresh build I can only assume that swat directory is just missing from the ebuild.  I have managed to copy the swat directory from previous installed release on another server: samba-3.0.14a-r2 obviously it would be better to have the existance of the swat directory where it's supposed to be.

Reproducible: Always

Steps to Reproduce:
1.emerge/configure samba 
2.open browser http://hostname:901
3.ls -l /usr/share/doc/samba* check for existance of swat directory.

Actual Results:  
Page cannot be found in browser, swat directory doesn't exist in /usr/share/doc/samba*

Expected Results:  
existance of swat directory in /usr/share/doc/samba will return valid pages in a browser.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 11:17:22 UTC
# ls -l /usr/share/doc/samba*/swat
total 0
drwxr-xr-x 6 root root 256 2006-12-17 12:33 help
drwxr-xr-x 2 root root 328 2006-12-17 12:33 images
drwxr-xr-x 2 root root 112 2006-12-17 12:33 include
drwxr-xr-x 2 root root  48 2006-12-17 12:32 js
drwxr-xr-x 4 root root  96 2006-12-17 12:33 lang

# emerge -pv samba

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-fs/samba-3.0.23d  USE="acl async automount cups -doc -examples fam -kerberos -ldap oav pam python quotas readline (-selinux) swat syslog winbind" LINGUAS="-ja -pl" 0 kB 

Note the use flags...
Comment 2 Darren Miller 2007-01-17 11:23:34 UTC
It always baffles me why previously default USE flags are removed for no apparent reason.  

Ok Cool, I'll throw swat into /etc/portage/package.use