| View previous topic :: View next topic |
| Author |
Message |
Cinquero Apprentice

Joined: 24 Jun 2004 Posts: 249
|
Posted: Sat Jul 30, 2005 7:43 am Post subject: Changing the distfile's name? |
|
|
| Is it possible to instruct portage to save a downloaded file under a different name in the distfiles dir? |
|
| Back to top |
|
 |
Sir No Apprentice


Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Sat Jul 30, 2005 11:32 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|