2020-05-01 11:48:44 +05:30
|
|
|
.Dd May 04, 2020
|
2014-12-09 16:11:35 +05:30
|
|
|
.Dt XBPS-D 5
|
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps.d
|
|
|
|
.Nd XBPS configuration directory
|
2015-10-30 11:15:26 +05:30
|
|
|
.Sh SYNOPSIS
|
2014-12-09 16:11:35 +05:30
|
|
|
.Bl -item -compact
|
|
|
|
.It
|
|
|
|
/etc/xbps.d/*.conf
|
|
|
|
.It
|
|
|
|
/usr/share/xbps.d/*.conf
|
|
|
|
.El
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
configuration directory sets properties for the XBPS package manager.
|
|
|
|
The
|
|
|
|
.Sy configuration
|
|
|
|
directory, by default set to
|
|
|
|
.Sy /etc/xbps.d
|
|
|
|
overrides settings from files available in the
|
|
|
|
.Sy system configuration
|
|
|
|
directory, by default set to
|
|
|
|
.Sy /usr/share/xbps.d .
|
2014-12-09 16:35:18 +05:30
|
|
|
.Pp
|
|
|
|
Files in the
|
|
|
|
.Sy configuration
|
|
|
|
directory have preference over files in the
|
|
|
|
.Sy system configuration
|
|
|
|
directory.
|
|
|
|
.Pp
|
2014-12-09 16:11:35 +05:30
|
|
|
Only files with the
|
|
|
|
.Em .conf
|
|
|
|
extension will be processed in alphabetical order.
|
|
|
|
.Pp
|
2020-05-01 11:48:44 +05:30
|
|
|
The configuration files can set various
|
|
|
|
.Em keywords ,
|
|
|
|
using the syntax
|
2014-12-09 16:11:35 +05:30
|
|
|
.Sy `key=value` .
|
|
|
|
No whitespace between the
|
|
|
|
.Em key
|
|
|
|
and its
|
|
|
|
.Em value
|
|
|
|
is allowed, nor trailing whitespaces after its value.
|
2020-05-01 11:48:44 +05:30
|
|
|
Multiple entries are permitted for the
|
|
|
|
.Sy ignorepkg ,
|
|
|
|
.Sy include ,
|
|
|
|
.Sy noextract ,
|
|
|
|
.Sy preserve ,
|
|
|
|
.Sy repository
|
|
|
|
and
|
|
|
|
.Sy virtualpkg
|
|
|
|
keywords, but each entry must specify only one value.
|
2014-12-09 16:11:35 +05:30
|
|
|
.Sh KEYWORDS
|
|
|
|
.Bl -tag -width -x
|
|
|
|
.It Sy architecture=string
|
|
|
|
Overrides the native machine architecture, as reported by
|
|
|
|
.Xr uname 2 .
|
2014-12-23 22:40:45 +05:30
|
|
|
.It Sy bestmatching=true|false
|
2014-12-09 16:11:35 +05:30
|
|
|
When this keyword is enabled, a package with the greatest version available in
|
2015-10-30 11:15:26 +05:30
|
|
|
all registered repositories will be chosen.
|
2014-12-09 16:11:35 +05:30
|
|
|
This will be applied to dependencies as well.
|
|
|
|
.It Sy cachedir=path
|
|
|
|
Sets the default cache directory to store downloaded binary packages from
|
|
|
|
remote repositories, as well as its signatures.
|
2017-07-11 07:31:38 +05:30
|
|
|
If path starts with '/' it's an absolute path, otherwise it will be relative to
|
2014-12-09 16:11:35 +05:30
|
|
|
.Ar rootdir .
|
2019-03-05 21:15:29 +05:30
|
|
|
.It Sy ignorepkg=pkgname
|
2020-05-01 11:48:44 +05:30
|
|
|
Declares an ignored package.
|
2019-03-05 21:15:29 +05:30
|
|
|
If a package depends on an ignored package the dependency is always satisfied,
|
|
|
|
without installing the ignored package.
|
2021-01-27 22:40:11 +05:30
|
|
|
It does not disable checks for introduced incompatibilities
|
|
|
|
like shared library dependencies.
|
2020-01-18 19:19:59 +05:30
|
|
|
.It Sy noextract=pattern
|
|
|
|
Skip extraction of matching files.
|
|
|
|
Patterns starting with a exclamation mark negate the previous match,
|
|
|
|
a single backslash can be used to escape the exclamation mark.
|
|
|
|
.Pp
|
|
|
|
In the following example all files matching the first pattern will not be extracted,
|
|
|
|
but files that also match the second pattern will still be extracted.
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -compact -width noextract=!/usr/bin/foo
|
|
|
|
.It Sy noextract=/usr/bin/f*
|
|
|
|
.It Sy noextract=!/usr/bin/foo
|
|
|
|
.El
|
2014-12-09 16:11:35 +05:30
|
|
|
.It Sy include=path/file.conf
|
|
|
|
Imports settings from the specified configuration file.
|
|
|
|
.Em NOTE
|
|
|
|
only one level of nesting is allowed.
|
|
|
|
.It Sy preserve=path
|
|
|
|
If set ignores modifications to the specified files, while unpacking packages.
|
|
|
|
Absolute path to a file and file globbing are supported, example:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -compact -width preserve=/etc/foo/*.conf
|
|
|
|
.It Sy preserve=/usr/bin/foo
|
|
|
|
.It Sy preserve=/etc/foo/*.conf
|
|
|
|
.El
|
2020-01-25 03:39:12 +05:30
|
|
|
.It Sy keepconf=true|false
|
|
|
|
If set to false (default), xbps will overwrite configuration files if
|
|
|
|
they have not been changed since installation and a newer version is
|
|
|
|
available.
|
|
|
|
.Pp
|
|
|
|
If set to true, xbps will save the new configuration file as
|
|
|
|
<name>.new-<version> if the original configuration file has not been
|
|
|
|
changed since installation.
|
|
|
|
.Pp
|
2014-12-09 16:11:35 +05:30
|
|
|
.It Sy repository=url
|
|
|
|
Declares a package repository. The
|
|
|
|
.Ar url
|
|
|
|
argument accepts local and remote repositories.
|
|
|
|
A complete url or absolute path to the directory that stores the
|
|
|
|
.Em <arch>-repodata
|
2015-12-24 18:15:42 +05:30
|
|
|
archive is expected.
|
|
|
|
Note that remote repositories must be signed using
|
|
|
|
.Xr xbps-rindex 1 ,
|
|
|
|
example:
|
2014-12-09 16:35:18 +05:30
|
|
|
.Pp
|
2019-04-03 00:05:48 +05:30
|
|
|
.Bl -tag -compact -width repository=https://a-hel-fi.m.voidlinux.org/current
|
|
|
|
.It Sy repository=https://a-hel-fi.m.voidlinux.org/current
|
2014-12-09 16:11:35 +05:30
|
|
|
.It Sy repository=/hostdir/binpkgs
|
|
|
|
.El
|
|
|
|
.It Sy rootdir=path
|
|
|
|
Sets the default root directory.
|
|
|
|
.It Sy syslog=true|false
|
|
|
|
Enables or disables syslog logging. Enabled by default.
|
2014-12-31 13:21:45 +05:30
|
|
|
.It Sy virtualpkg=[vpkgname|vpkgver]:pkgname
|
2014-12-09 16:11:35 +05:30
|
|
|
Declares a virtual package. A virtual package declaration is composed by two
|
2014-12-09 16:35:18 +05:30
|
|
|
components delimited by a colon, example:
|
2014-12-09 16:11:35 +05:30
|
|
|
.Pp
|
2014-12-31 13:21:45 +05:30
|
|
|
.Bl -tag -compact -width virtualpkg=cron-daemon:dcron
|
|
|
|
.It Sy virtualpkg=cron-daemon:dcron
|
2014-12-09 16:11:35 +05:30
|
|
|
Any request to the
|
|
|
|
.Ar cron-daemon
|
|
|
|
virtual package will be resolved to the
|
|
|
|
.Ar dcron
|
|
|
|
real package.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The first component expects a
|
2014-12-31 13:21:45 +05:30
|
|
|
.Em virtual package name and optionally its version component .
|
2014-12-09 16:11:35 +05:30
|
|
|
The second component expects a
|
2014-12-31 13:21:45 +05:30
|
|
|
.Em package name
|
|
|
|
to match the real package.
|
2014-12-09 16:11:35 +05:30
|
|
|
.El
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width XBPS_TARGET_ARCH
|
|
|
|
.It Sy XBPS_ARCH
|
|
|
|
Overrides
|
|
|
|
.Xr uname 2
|
|
|
|
machine result with this value. Useful to install packages with a fake
|
|
|
|
architecture.
|
|
|
|
.It Sy XBPS_TARGET_ARCH
|
|
|
|
Sets the target architecture to this value. This variable differs from
|
|
|
|
.Sy XBPS_ARCH
|
|
|
|
in that it allows you to install packages partially, because
|
|
|
|
configuration phase is skipped (the target binaries might not be compatible with
|
|
|
|
the native architecture).
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /var/db/xbps/.<pkgname>-files.plist
|
|
|
|
.It Ar /etc/xbps.d
|
|
|
|
Default configuration directory.
|
|
|
|
.It Ar /usr/share/xbps.d
|
|
|
|
Default system configuration directory.
|
|
|
|
.It Ar /var/db/xbps/.<pkgname>-files.plist
|
|
|
|
Package files metadata.
|
|
|
|
.It Ar /var/db/xbps/pkgdb-0.38.plist
|
|
|
|
Default package database (0.38 format). Keeps track of installed packages and properties.
|
|
|
|
.It Ar /var/cache/xbps
|
|
|
|
Default cache directory to store downloaded binary packages.
|
2020-05-01 11:48:44 +05:30
|
|
|
.It Ar /usr/share/xbps.d/xbps.conf
|
|
|
|
Annotated sample configuration file.
|
2014-12-09 16:11:35 +05:30
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2019-01-11 21:56:16 +05:30
|
|
|
.Xr xbps-checkvers 1 ,
|
|
|
|
.Xr xbps-create 1 ,
|
|
|
|
.Xr xbps-dgraph 1 ,
|
xbps-digest(1): new utility that replaces "xbps-uhelper digest".
See the manual page:
XBPS-DIGEST(1) General Commands Manual XBPS-DIGEST(1)
NAME
xbps-digest - XBPS utility to generate message digests
SYNOPSIS
xbps-digest [OPTIONS] [FILE] [FILE+N]
DESCRIPTION
The xbps-digest utility generates message digests for specified FILE or
stdin if unset.
OPTIONS
-m, --mode mode
Sets the message digest mode. Supported: sha256. If unset, defaults
to sha256.
-h, --help
Show the help message.
-V, --version
Show the version information.
SEE ALSO
xbps.d(5), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1),
xbps-fbulk(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1),
xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1),
xbps-uunshare(1)
AUTHORS
Juan Romero Pardines <xtraeme@gmail.com>
BUGS
Probably, but I try to make this not happen. Use it under your own
responsibility and enjoy your life.
Report bugs at https://github.com/void-linux/xbps/issues
June 12, 2019
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 18:04:58 +05:30
|
|
|
.Xr xbps-digest 1 ,
|
2019-06-12 21:27:03 +05:30
|
|
|
.Xr xbps-fbulk 1 ,
|
|
|
|
.Xr xbps-fetch 1 ,
|
2019-01-11 21:56:16 +05:30
|
|
|
.Xr xbps-install 1 ,
|
|
|
|
.Xr xbps-pkgdb 1 ,
|
|
|
|
.Xr xbps-query 1 ,
|
|
|
|
.Xr xbps-reconfigure 1 ,
|
|
|
|
.Xr xbps-remove 1 ,
|
|
|
|
.Xr xbps-rindex 1 ,
|
|
|
|
.Xr xbps-uchroot 1
|
2014-12-09 16:11:35 +05:30
|
|
|
.Sh AUTHORS
|
|
|
|
.An Juan Romero Pardines <xtraeme@gmail.com>
|
|
|
|
.Sh BUGS
|
|
|
|
Probably, but I try to make this not happen. Use it under your own
|
2015-10-30 11:15:26 +05:30
|
|
|
responsibility and enjoy your life.
|
2014-12-09 16:11:35 +05:30
|
|
|
.Pp
|
2018-09-23 21:21:07 +05:30
|
|
|
Report bugs at https://github.com/void-linux/xbps/issues
|