cards.conf(5)

NAME

cards.conf - Configuration file for cards

DESCRIPTION
This file, by default /etc/cards.conf, is read by cards (see cards(8))

It might look like this:

    ###
    # cards.conf
    # root directories
    dir /usr/ports/xfce4-extra
    dir /usr/ports/xfce4
    dir /usr/ports/gui
    dir /usr/ports/cli
    dir /usr/ports/base
    dir /var/lib/pkg/repo/kde5-extra|http://downloads.nutyx.org/x86_64/development/
    dir /var/lib/pkg/repo/kde5|http://downloads.nutyx.org/folder1/folder2/development/
    dir /var/lib/pkg/repo/xfce4-extra|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/xfce4|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/gui-extra|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/gui|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/cli-extra|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/cli|http://downloads.nutyx.org
    dir /var/lib/pkg/repo/base|http://downloads.nutyx.org
    # write a log file
    logdir /var/log/pkgbuild
    # group or locale
    group fr
    group man
    group devel
    # base system
    base /usr/ports/base

There are a few values to be configured: the location where to look for the ports, the location of the log file and the location of the base system packages.

Every line can contain one configuration option. The format of the lines is <key> <value>. The valid keys are dir The value for dir is a directory, or a directory|an URL

The log options are logfile which represent the file path of the logs

The order of the dir options is important, as if a port is in multiple directories, cards will use the one found first (directories listed first have precedence)

If you specify an url in after a | symbol, it will used binaries from this url. In our example, we will used the default mirror from nutyx.org.As you can see on this example above they are two syntaxes possible: The default URL which is normaly the URL of the root server or a specific URL include specific version

AUTHORS
Thierry Nuttens <tnut@nutyx.org>

SEE ALSO
cards(8), pkgmk(8) pkgadd(8), ports(8), pkgmk.conf(5)