CRUX : Home

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

Back to wiki start page

Categories: Ports

Mult - Multiple repository driver for ports

Author

Richard Pöttler

Description

Sometimes you want to install a port, but don't want to download the whole repository. This can be solved by using sepen's mult repository driver, which builds up a repository consisting of only the ports you explicitly want to syncronize.

Instructions

First you got do download the mult driver (http://mikeux.dyndns.org/crux/files/mult) and save it as /etc/ports/drivers/mult. Then setup the configuration for your mult repository and place it in /etc/ports/<repository name>.mult:

#
# /etc/ports/<repository name>.mult: <repository name> port collection
#

ROOT_DIR=/usr/ports/<repository name>
DOT_FILE=$ROOT_DIR/.mult

# End of file

Now place the download commands into the /usr/ports/<repository name>/.mult file like:

rsync -aqz crux.nu::ports/crux-master/tilman/nethack/ nethack
httpup sync http://lokalix.dyndns.org/crux/ports#quake2world quake2world
rsync -aqz morpheus.net::gnome/tags/current/intltool/ intltool

The download commands can be looked up in the portdb.

Resources