2011-12-15 15:49:20 +05:30
|
|
|
# Configuration file for XBPS.
|
|
|
|
#
|
2014-02-25 21:12:52 +05:30
|
|
|
# - Lines starting with # are ignored.
|
|
|
|
# - Values are set after the equal sign, and don't accept blanks nor newlines.
|
2011-12-24 05:35:26 +05:30
|
|
|
|
2014-02-25 21:12:52 +05:30
|
|
|
# Set root directory, by default set to /. This expects an absolute path.
|
|
|
|
#rootdir=/
|
|
|
|
|
|
|
|
# Set cache directory, if starts with / it's an absolute path,
|
|
|
|
# otherwise it's relative to rootdir.
|
|
|
|
#cachedir=var/cache/xbps
|
|
|
|
|
2014-06-04 13:09:02 +05:30
|
|
|
# Set it to false to disable syslog logging.
|
|
|
|
#syslog=true
|
2014-02-25 21:12:52 +05:30
|
|
|
|
2014-11-07 14:37:51 +05:30
|
|
|
# Enable package best matching (disabled by default). If enabled a package with
|
|
|
|
# the greatest version available in all repositories will be choosen, rather
|
2019-06-17 17:02:49 +05:30
|
|
|
# than on the first package matching the expression.
|
2014-11-07 14:37:51 +05:30
|
|
|
#
|
|
|
|
#bestmatching=true
|
|
|
|
|
2014-02-25 21:12:52 +05:30
|
|
|
## REPOSITORIES
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-09-14 22:09:57 +05:30
|
|
|
# The `repository' keyword defines a repository. A complete URL or absolute
|
|
|
|
# path to a local directory can be used.
|
|
|
|
#
|
2014-02-25 21:12:52 +05:30
|
|
|
# Local or remote repositories are accepted.
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-02-25 21:12:52 +05:30
|
|
|
# - Local repositories expect an absolute path to the directory that stores
|
|
|
|
# the <arch>-repodata file.
|
|
|
|
# - Accepted protocols for remote repositories: ftp, http or https.
|
|
|
|
# - Repositories are added in the order in which are specified (top->bottom).
|
2014-09-14 22:09:57 +05:30
|
|
|
# - Repositories declared in this file are added at the head of the list.
|
|
|
|
# - Repositories declared in the system or configuration directories are added
|
|
|
|
# to the tail of the list.
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-05-30 15:30:10 +05:30
|
|
|
# The "repository" keyword can be used to include additional repositories in
|
2014-11-06 14:28:04 +05:30
|
|
|
# addition to the files available in /etc/xbps.d/*.conf and
|
|
|
|
# /usr/share/xbps.d/*.conf.
|
|
|
|
#
|
|
|
|
# syntax: <protocol>://<url>[:<port>]/<doc> [remote]
|
|
|
|
# syntax: <abspath> [local]
|
2014-05-30 15:30:10 +05:30
|
|
|
#
|
2014-09-14 22:09:57 +05:30
|
|
|
# Example:
|
|
|
|
# repository=http://foo.example.org/dir
|
|
|
|
# repository=https://foo.example.org:8080/dir
|
|
|
|
# repository=/hostdir/binpkgs
|
2011-12-15 15:49:20 +05:30
|
|
|
|
2014-09-14 22:09:57 +05:30
|
|
|
## REPOSITORY MIRRORS
|
2014-02-27 22:34:32 +05:30
|
|
|
#
|
2019-04-03 00:05:48 +05:30
|
|
|
# - https://beta.de.repo.voidlinux.org/current
|
|
|
|
# - https://beta.de.repo.voidlinux.org/current/nonfree
|
|
|
|
# - https://beta.de.repo.voidlinux.org/current/multilib
|
|
|
|
# - https://beta.de.repo.voidlinux.org/current/multilib/nonfree
|
|
|
|
#
|
|
|
|
# - http://alpha.us.repo.voidlinux.org/current
|
|
|
|
# - http://alpha.us.repo.voidlinux.org/current/nonfree
|
|
|
|
# - http://alpha.us.repo.voidlinux.org/current/multilib
|
|
|
|
# - http://alpha.us.repo.voidlinux.org/current/multilib/nonfree
|
2014-02-25 21:12:52 +05:30
|
|
|
|
2014-09-14 22:09:57 +05:30
|
|
|
## PRESERVING FILES
|
|
|
|
#
|
|
|
|
# The `preserve` keyword can be used to make xbps ignore changes to the
|
|
|
|
# specified files. Files must be specified with absolute pathnames or via
|
|
|
|
# file globbing.
|
|
|
|
#
|
|
|
|
# Files bearing the same name in the configuration directory override the
|
|
|
|
# ones from the system directory.
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# preserve=/etc/file
|
|
|
|
# preserve=/etc/dir/*.conf
|
|
|
|
|
2021-12-26 11:54:35 +05:30
|
|
|
## PRESERVING UNCHANGED CONFIGURATION FILES
|
2020-01-25 03:39:12 +05:30
|
|
|
#
|
|
|
|
# The `keepconf` (disabled by default) keyword can be used to prevent
|
2021-12-26 11:54:35 +05:30
|
|
|
# xbps from overwriting unchanged configuration files. Changed configuration
|
|
|
|
# files are unaffected by this keyword and are preserved by default.
|
2020-01-25 03:39:12 +05:30
|
|
|
#
|
2021-12-26 11:54:35 +05:30
|
|
|
# If set to false, xbps will overwrite configuration files that have not been
|
|
|
|
# changed since installation with their new version (if available).
|
2020-01-25 03:39:12 +05:30
|
|
|
#
|
2021-12-26 11:54:35 +05:30
|
|
|
# If set to true, xbps will not overwrite configuration files that have not
|
|
|
|
# been changed since installation. Instead, the new version (if available) is
|
|
|
|
# saved next to the configuration file as <name>.new-<version>.
|
|
|
|
#
|
|
|
|
#keepconf=true
|
2020-01-25 03:39:12 +05:30
|
|
|
|
2014-02-25 21:12:52 +05:30
|
|
|
## VIRTUAL PACKAGES
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-02-25 21:12:52 +05:30
|
|
|
# Virtual package overrides. You can set your own list of preferred virtual
|
2014-06-04 13:15:38 +05:30
|
|
|
# packages for your system. This expects two arguments separated by a colon:
|
2014-02-25 21:12:52 +05:30
|
|
|
# <vpkgver>:<realpkgname>.
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-02-25 21:12:52 +05:30
|
|
|
# - <vpkgver> means "virtual package name" and "version/revision"
|
|
|
|
# separated by a dash, i.e 'foo-1.0_1".
|
|
|
|
# - <realpkgname> means a real package name (without any version).
|
2011-12-15 15:49:20 +05:30
|
|
|
#
|
2014-05-31 10:35:57 +05:30
|
|
|
# Files bearing the same name in the configuration directory override the
|
|
|
|
# ones from the system directory.
|
|
|
|
#
|
2014-06-04 13:15:38 +05:30
|
|
|
# Example:
|
2014-09-14 22:09:57 +05:30
|
|
|
# virtualpkg=cron-daemon-0_1:dcron
|
2014-02-25 21:12:52 +05:30
|
|
|
|
|
|
|
# You can also include additional files by using the "include" keyword.
|
|
|
|
# This expects an absolute path to a file.
|
|
|
|
#include=/path/to/another/file.conf
|