slpkg/configs/slpkg.toml

120 lines
4.1 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-05-14 19:35:32 +02:00
# Date: 24/04/2023, Version: 4.8.3
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-25 19:12:16 +02:00
# Enable or disable the spinning bar. Default is true. [true/false]
SPINNING_BAR = true
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.
2023-05-17 12:34:50 +02:00
# Default is green. [white/green/violet/yellow/blue/cyan/grey/red]
2023-04-12 22:15:19 +02:00
SPINNER_COLOR = "green"
2023-05-16 21:39:05 +02:00
# Choose color for the border box.
# Bold colors: [bold_green/bold_cyan/bold_yellow/bold_red/bold_blue]
2023-05-17 12:34:50 +02:00
# Colors: [white/green/cyan/yellow/red/blue]
2023-05-16 21:39:05 +02:00
# Default is bold_green.
BORDER_COLOR = "bold_green"
2023-05-16 09:47:24 +02:00
# Enable or disable case-sensitive pattern matching.
# Default is true. [true/false]
CASE_SENSITIVE = true
2023-05-16 08:36:19 +02:00
2023-06-29 11:34:06 +02:00
# Keep process log file on /var/log/slpkg/ folder.
2023-06-29 15:50:34 +02:00
# Default is false. [true/false]
2023-06-29 15:50:16 +02:00
PROCESS_LOG = false
2023-06-29 09:20:56 +02:00
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
2023-05-17 08:10:58 +02:00
# version installed. If --install-new is specified, the behavior is
2023-04-13 07:55:33 +02:00
# modified to install new packages in addition to upgrading existing ones.
2023-04-26 17:38:01 +02:00
# See manpage of the 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-26 17:38:01 +02:00
# version is already installed.
2023-04-25 10:57:01 +02:00
REINSTALL = "upgradepkg --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/),
2023-04-26 17:38:01 +02:00
# or by the base package name. See manpage of the 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 = ""