Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing the distfile's name?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Cinquero
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 249

PostPosted: Sat Jul 30, 2005 7:43 am    Post subject: Changing the distfile's name? Reply with quote

Is it possible to instruct portage to save a downloaded file under a different name in the distfiles dir?
Back to top
View user's profile Send private message
Sir No
Apprentice
Apprentice


Joined: 01 May 2005
Posts: 159
Location: Poland

PostPosted: Sat Jul 30, 2005 11:32 am    Post subject: Reply with quote

AFAIK the answer is no. Names of the files downloaded are put in the ebuilds themselves, so portage simply downloads them from the urls given in the same ebuilds.

If you want to temporarily tell portage to download the files into another directory (to do manually whatever you want with them), maybe specyfing a different location for distfiles can help? Similar to this:

Code:
# DISTDIR=/usr/local/mydistfiles emerge -avf foo


The above would ask you if you want to only fetch/download the files into different (/usr/local/mydistfiles) directory. A similiar setting can also be specified directly in make.conf too - which is safer, as you don't have to remember about specyfing it all the time in case you want to download/emerge more packages than one.

You might want to read a Working with Portage chapter from Gentoo's Handbook to learn more about portage's fatures or Files and Directories chapter specifically.
_________________
The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum