slpkg/configs/slpkg.toml

103 lines
3.7 KiB
TOML
Raw Normal View History

2023-04-24 19:32:27 +02:00
# This is the general configuration file of slpkg:
# /etc/slpkg/slpkg.toml
2023-04-24 21:25:44 +02:00
# Date: 24/04/2023, Version: 4.8.1
2023-04-24 19:32:27 +02:00
2023-02-28 12:49:21 +01:00
[CONFIGS]
2023-04-13 11:30:59 +02:00
2023-04-12 22:15:19 +02:00
# OS architecture by default.
OS_ARCH = "x86_64"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Where the packages download.
# This path working only with the command download.
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# File suffix for list packages.
# Change here if you are going to use '.sqf' files.
FILE_LIST_SUFFIX = ".pkgs"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Configs for displaying colorful menu. Default is true. [true/false]
COLORS = true
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Dialog is a program that will let you present a variety of questions or
# display messages using dialog boxes from a shell script.
# Default is true. [true/false]
DIALOG = true
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# If silent mode is true, it does not print the commands as they are executed.
# Default is true. [true/false]
SILENT_MODE = true
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Choose ascii printable characters.
# If true, it uses the extended characters, otherwise the basic ones.
# Default is true. [true/false].
ASCII_CHARACTERS = true
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Set false to all the questions. If set false, option --yes will not work.
# Default is true. [true/false].
ASK_QUESTION = true
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Download sources in parallel. Default is false. [true/false]
2023-04-15 12:32:35 +02:00
# Alternatively, you can use the option '--parallel'.
2023-04-12 22:15:19 +02:00
PARALLEL_DOWNLOADS = false
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Pass your file pattern here, if you want to work only with 'sbo' packages
# add '*_SBo' pattern. Default is the '*'.
FILE_PATTERN = "*"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# There are 5 predefined spinners for the progress bar.
# Default is pixel. [spinner/pie/moon/line/pixel]
PROGRESS_SPINNER = "pixel"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Choose color for the progress bar spinner.
# Default is green. [green/violet/yellow/blue/cyan/grey/red]
SPINNER_COLOR = "green"
2023-04-12 22:15:19 +02:00
# Slackware command for install packages, instead, you can use 'installpkg'.
2023-04-13 07:55:33 +02:00
# Normally upgradepkg only upgrades packages that are already installed
# on the system, and will skip any packages that do not already have a
# version installed. If --install- new is specified, the behavior is
# modified to install new packages in addition to upgrading existing ones.
2023-04-15 12:32:35 +02:00
# See: $ man upgradepkg.
2023-04-12 22:15:19 +02:00
INSTALLPKG = "upgradepkg --install-new"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Slackware command to reinstall packages.
2023-04-13 07:55:33 +02:00
# Upgradepkg usually skips packages if the exact same package (matching name,
# version, arch, and build number) is already installed on the system. Use
# the --reinstall option if you want to upgrade all packages even if the same
2023-04-15 12:32:35 +02:00
# version is already installed. See: $ man upgradepkg.
2023-04-13 07:55:33 +02:00
REINSTALL = "upgradepkg --install-new --reinstall"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Slackware command to remove packages.
2023-04-15 12:32:35 +02:00
#removepkg removes a previously installed Slackware package, while writing
# a progress report to the standard output. A package may be specified either
# by the full package name (as you'd see listed in /var/lib/pkgtools/packages/),
# or by the base package name. See: $ man removepkg.
2023-04-12 22:15:19 +02:00
REMOVEPKG = "removepkg"
2023-04-12 22:15:19 +02:00
# You can choose a downloader among wget, curl and lftp.
# Default is wget. [wget/wget2/curl/lftp]
DOWNLOADER = "wget"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.
# -q, Turn off Wget's output.
# --show-progress, Force wget to display the progress bar in any verbosity.
WGET_OPTIONS = "-c -q --progress=bar:force:noscroll --show-progress"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Curl downloader options.
CURL_OPTIONS = ""
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Lftp donwloader options.
LFTP_GET_OPTIONS = "-c get -e"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Lftp mirror options are used to synchronize with the repositories.
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"
# If you are going to use a proxy server, try to fill in these variables.
2023-04-15 12:26:11 +02:00
# Choose between http or socks proxy type.
2023-04-13 22:45:15 +02:00
# For a socks proxy, you need to install the PySocks package.
# https://urllib3.readthedocs.io/en/stable/advanced-usage.html#socks-proxies
2023-04-15 12:26:11 +02:00
PROXY_ADDRESS = ""
PROXY_USERNAME = ""
PROXY_PASSWORD = ""