CRUX : Home

Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About

Back to wiki start page

Categories: Ports

File downloading.

Author

Danny Rawlins

Description

Make it easier and less frequent to get timeouts when downloading with pkgutils.

Instructions

Sourceforge is not very reliable so I choose to pick a mirror myself.

Add a line like this to /etc/hosts

211.29.132.142 download.sourceforge.net download.sf.net dl.sourceforge.net dl.sf.net

You can also add mirrors to /etc/pkgmk.conf, where pkgmk will check for the sources first. This can be used to set up a local distfile cache:

PKGMK_SOURCE_MIRRORS=(http://fileserver.localnet)

pkgmk expects a flat directory directly containing all the source files, i.e. without subdirectories