SYNOPSIS

/etc/pacorc

DESCRIPTION

pacorc is the system-wide configuration file for paco(8), the source code package organizer.

SYNTAX

The file consists of comments and key-value pairs. Comments are on separate lines that start with a # symbol. The key-value pairs are on the form:

key=value

where key contains no whitespace and no equal signs.

value will be all of the text after the equal sign until (but not including) the ending newline.

Occurences of $HOME and ${HOME} in value are expanded to the value of the environment variable HOME.

OPTIONS

The following options can be set. The equivalent command line options (if any), are listed in brackets:

LOGDIR [-L|--logdir]

Base paco logs directory. Default is '/var/log/paco'.

MAX_DB_AGE

Maximmum database age (maximmum number of days since the last update of the whole database). When this limit is reached paco prints a warning message. If set to zero, the database is never considered too old. Default is 7.

INCLUDE [-I|--include]

Colon-separated list of paths to scan when logging the installation of a package. Default is '/'.

Shell wildcards are allowed in the paths. See PATH MATCHING below for more details.

EXCLUDE [-E|--exclude]

Colon-separated list of paths to skip when logging the installation of a package. Default is '/dev:/tmp:/usr/src:/media:/sys:/usr/share/info/dir'.

Shell wildcards are allowed in the paths. See PATH MATCHING below for more details.

BLOCK_SIZE

File sizes in the logs are rounded up to the nearest multiple of this value. This should be set to the block size of the file system. For most systems this is 4096. If set to zero, paco retrieves the block size of the file system for each file, which is the most accurate but time consuming choice. Default is 0.

Note: This is not the same as the command line option -b (or --block-size).

APPARENT_SIZE

Like BLOCK_SIZE=1.

LOG_IGNORE_ERRORS [--ignore-errors]

Setting this variable to 1 makes paco log packages even if the install command fails. This allows for logging uncomplete installations, or clean the filesystem after an installation failure. Default is 0.

LOG_IGNORE_SHARED [--ignore-shared]

Setting this variable to 1 makes paco skip shared files when logging packages. Default is 0.

CASE_SENSITIVE

Setting this variable to 1 makes paco behave case-sensitively when matching the package names given by the command line against the logged packages. Default is 0.

PATH MATCHING

Variables \INCLUDE and EXCLUDE accept a colon-separated list of paths, each of which may contain shell-like wildcards (*, ? and [..]). Files are matched against each of those paths, following the standard shell-like expansion, but with the following exception: If a path in the list does not contain any wildcard, and it is a directory, it matches any file within that directory.

ENVIRONMENT

Paco honours the following environment variable:

PACO_DEBUG

If set to "yes", paco produces debugging messages, like the command line option '-vv'.

FILES

/etc/pacorc - active configuration file

/usr/share/paco/pacorc - sample configuration file

WEB SITE

The latest version of paco should be always available at:

http://paco.sourceforge.net

COPYRIGHT

Copyright (C) 2004-2009 David Rosal <[email protected]>

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

RELATED TO pacorc…