Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84422 - Missing a choice for distfiles in pkg_postinst() for portage-2.0.51.19.ebuild?
Summary: Missing a choice for distfiles in pkg_postinst() for portage-2.0.51.19.ebuild?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-07 12:34 UTC by Fabio Rossi
Modified: 2005-07-14 07:15 UTC (History)
1 user (show)

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 Fabio Rossi 2005-03-07 12:34:07 UTC
At the end of the pkg_postinst() function in the portage ebuild there is a section where the permissions and owner of distfiles are changed. The files are searched in /usr/portage/distfiles and ${PORTDIR}/distfiles.

Isn't it missing the check for ${DISTDIR} directory (as on my box where the distfiles are not in the portage tree)?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:48:12 UTC
Fixed on or before 2.0.51.22-r1 
Comment 2 Fabio Rossi 2005-07-14 06:54:09 UTC
Yes, I have just seen the 2.0.51.22-r1 ebuild: the function has been removed!

Why?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:50 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened. 
Comment 4 Fabio Rossi 2005-07-14 07:15:42 UTC
The bug doesn't exist anymore because now the portage ebuild (stable) hasn't the
functionality of changing permissions and owner of distfiles.

Thanks for your attention!