slpkg/configs/slpkg.toml

136 lines
4.8 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
2024-03-20 21:09:19 +01:00
# Updated: 20/03/2024, Version: 5.0.0
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.
2023-12-14 12:02:48 +01:00
# This path works only with the command download.
2023-04-12 22:15:19 +02:00
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
2024-03-20 11:31:37 +01:00
# Specify the number of jobs to run concurrently. Default is '-j4'.
MAKEFLAGS = "-j4"
2024-03-21 11:04:34 +01:00
# Set for GPG verification. Default is false.
2024-03-20 21:09:19 +01:00
# If you set true, you should update the repositories for GPG-KEY import.
GPG_VERIFICATION = false
2024-03-21 11:04:34 +01:00
# Set for checksum md5 verification. Default is true. [true/false]
CHECKSUM_MD5 = true
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.
2024-03-19 21:58:53 +01:00
# Default is false. [true/false]
2024-03-19 20:38:04 +01:00
SILENT_MODE = false
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-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-30 08:46:07 +02:00
# Keep process log files on /var/log/slpkg/ folder.
2024-01-13 21:36:38 +01:00
# Default is true. [true/false]
PROCESS_LOG = true
2023-06-29 09:20:56 +02:00
2024-02-11 19:56:33 +01:00
# Slackware command for installation 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-12-05 19:46:32 +01:00
# Lftp mirror options are used to synchronize with the SBo and Ponce repositories
2023-12-15 11:24:12 +01:00
# or for the local repositories.
2024-03-13 22:45:22 +01:00
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer --delete"
2024-01-21 21:36:17 +01:00
# Python urllib3 settings used for checking between two changelog files.
# Timeouts allow you to control how long (in seconds) requests are allowed
# to run before being aborted. In simple cases, you can specify a timeout as a float.
# By default, urllib3 will retry requests 3 times and follow up to 3 redirects.
2024-02-11 19:56:33 +01:00
# For more please visit: https://urllib3.readthedocs.io/en/stable/user-guide.html
2024-01-21 21:36:17 +01:00
URLLIB_RETRIES = false
URLLIB_REDIRECT = false
URLLIB_TIMEOUT = 3.0
# 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-12-15 11:24:12 +01:00
# For a sock 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 = ""