slpkg/configs/slpkg.toml

149 lines
5.3 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
# Updated: 12/05/2024, Version: 5.0.9
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
2024-05-10 22:19:08 +02:00
# View missing dependencies as main packages from the repository.
# Default is true. [true/false]
VIEW_MISSING_DEPS = true
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
2024-03-25 18:30:31 +01:00
# Set false to all the questions. If set false, option --yes will
# not work. Default is true. [true/false].
2023-04-12 22:15:19 +02:00
ASK_QUESTION = true
2023-04-15 12:34:01 +02:00
2024-04-15 18:43:49 +02:00
# This config removes the kernel version from some slackbuilds custom
# version build, like nvidia-kernel and virtualbox-kernel slackbuild packages.
# It helps to compare install and repository versions.
# Default is true. [true/false].
KERNEL_VERSION = true
# Updates the slackpkg ChangeLog.txt after update the slack repository.
# Useful for some applications like SUN (Slackware Update Notifier).
# https://dslackw.gitlab.io/sun/
SLACKPKG_CHANGELOG = false
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
2024-04-06 17:39:00 +02:00
# Specifies number of concurrent download streams. Default is 5.
MAXIMUM_PARALLEL = 5
2024-03-25 18:30:31 +01:00
# If progress bar is true, it does not print the commands as they
2024-03-27 18:04:58 +01:00
# are executed. Default is false. [true/false]
2024-03-23 17:56:21 +01:00
PROGRESS_BAR = false
2023-04-25 19:12:16 +02:00
2023-04-12 22:15:19 +02:00
# There are 5 predefined spinners for the progress bar.
2024-04-02 20:53:47 +02:00
# Default is spinner. [spinner/pie/moon/line/pixel/ball/clock]
PROGRESS_SPINNER = "spinner"
2023-04-15 12:34:01 +02:00
2023-04-12 22:15:19 +02:00
# Choose color for the progress bar spinner.
2024-04-02 20:53:47 +02:00
# Default is white. [white/green/violet/yellow/blue/cyan/grey/red]
SPINNER_COLOR = "white"
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-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-03-25 18:30:31 +01:00
# Slackware command for installation packages, instead, you can use
# 'installpkg'. 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. 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.
2024-03-25 18:30:31 +01: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 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.
2024-03-25 18:30:31 +01: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 manpage of the removepkg.
2023-04-12 22:15:19 +02:00
REMOVEPKG = "removepkg"
2024-04-04 12:59:48 +02:00
# You can choose a downloader among wget, wget2, curl and lftp.
2023-04-12 22:15:19 +02:00
# 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
2024-03-25 18:30:31 +01:00
# Lftp mirror options are used to synchronize with the SBo and
# Ponce repositories 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
2024-03-25 18:30:31 +01:00
# 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. 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 = ""