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

Bug 44691

Summary: twiki-20030201 ebuild installs the wrong directory
Product: Gentoo Linux Reporter: Elton Algera <ealgera>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: VERIFIED TEST-REQUEST    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: improved ebuild

Description Elton Algera 2004-03-14 13:26:00 UTC
The install script copies the contents of /var/tmp/portage/ to the installation directory /var/www/twiki, instead of copying /var/tmp/portage/twiki-20030201.



Reproducible: Always
Steps to Reproduce:
1. emerge twiki
2.
3.

Actual Results:  
see details

Expected Results:  
install properly


I changed line 41 in the ebuild from 


cp -r . ${D}${destdir}
to
cp -r ${WORKDIR}/. ${D}${destdir}

then it worked properly. However, I'm not a portage developer, so I don't know
if this is a proper fix or not.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 07:55:04 UTC
Man, this twiki ebuild was a right mess :(

I've tidied it up now.  It should appear on an rsync mirror near you within the hour.  Could you test it, please, and let me know if it works for you?

Thanks,
Stu
Comment 2 j. 2004-05-05 23:43:53 UTC
Created attachment 30831 [details]
improved ebuild

still don't see a newer ebuild in portage.
there are also some sandbox issues besides the above mentioned issue.
attached ebuild seems to fix both.
at least subsequent emerges of twiki won't freak out with access denied errors.
Comment 3 Christoph Probst 2004-05-21 13:23:12 UTC
This ebuild is much better than the original :-)

But there is still a problem with "chown apache:apache" as that might fail if there is no user/group apache ... At least on my system is complains about that.

Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-06-26 17:40:00 UTC
Closing old bug.