PKGMAN.CONF(5) | File Formats Manual | PKGMAN.CONF(5) |
pkgman.conf
—
configuration file for pkgman
/etc/pkgman.conf |
This manual page describes the format of the pkgman.conf file, that contains information for pkgman(1).
Every line can contain one configuration option.
The format of the lines is “key
value
”. Any lines
beginning with
a hash mark (‘#
’) is ignored, as are
lines containing only whitespace or empty lines.
The valid configuration options are:
pkgsrcdir
” options is important as
if a package is in multiple directories,
pkgman(1) will use the one found
first (directories listed first have precedence).
If you want to restrict the packages used from one
“pkgsrcdir
”, you can append a
comma-separated list of packages to be used after the path, using a
colon mark (‘:
’) to separate the
two components.
Example:
# Use all packages from the path. pkgsrcdir /usr/src/pkgsrc-core # Use only mpv and ffmpeg packages from the path. pkgsrcdir /usr/src/pkgsrc-desktop:mpv,ffmpeg
By default “no”.
By default “no”.
expr
” and
“filter
” patterns in
pkgman-list(1),
pkgman-printf(1),
pkgman-search(1),
pkgman-dsearch(1), and
pkgman-fsearch(1)
operations as regular expression in
regex(3) format.
By default “no”.
See pkgman-readme(1) for information how to read those README files.
By default “verbose”.
By default “disabled”.
By default “overwrite”.
Variable | Description | |
%n | package name | |
%p | package path | |
%v | package version | |
%r | package release number |
Example:
“/var/log/pkgbuild/%n.log
”
Unset by default.
# # /etc/pkgman.conf: pkgman(1) configuration # # See pkgman.conf(5) for more information. # # use local directory first #pkgsrcdir /path/to/unofficial/pkgsrcs/ # zeppe-lin official pkgsrcdir /usr/src/pkgsrc-core pkgsrcdir /usr/src/pkgsrc-system pkgsrcdir /usr/src/pkgsrc-xorg pkgsrcdir /usr/src/pkgsrc-desktop # log options writelog enabled logmode overwrite rmlog_on_success yes logfile /var/log/pkgbuild/%n.log # notify the user about README files readme verbose # do not prefer higher versions in sysup / diff preferhigher no # do not use regex search useregex no # run pre/post-install and pre/post-remove scripts runscripts yes # End of file.
September 9, 2023 | Zeppe-Lin |