Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44691 - twiki-20030201 ebuild installs the wrong directory
Summary: twiki-20030201 ebuild installs the wrong directory
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 13:26 UTC by Elton Algera
Modified: 2004-06-26 17:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
improved ebuild (twiki-20030201.ebuild,1.72 KB, text/plain)
2004-05-05 23:43 UTC, j.
Details

Note You need to log in before you can comment on or make changes to this bug.
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.