summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/slpkg.toml
diff options
context:
space:
mode:
Diffstat (limited to 'slackware-bootstrap/slpkg.toml')
-rw-r--r--slackware-bootstrap/slpkg.toml173
1 files changed, 173 insertions, 0 deletions
diff --git a/slackware-bootstrap/slpkg.toml b/slackware-bootstrap/slpkg.toml
new file mode 100644
index 0000000..84afc7d
--- /dev/null
+++ b/slackware-bootstrap/slpkg.toml
@@ -0,0 +1,173 @@
+# This is the general configuration file of slpkg:
+# /etc/slpkg/slpkg.toml
+# Updated: 24/09/2024, Version: 5.1.3
+
+[CONFIGS]
+
+# OS architecture by default.
+OS_ARCH = "x86_64"
+
+# Where the packages download.
+# This path works only with the command download.
+DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
+
+# File suffix for list packages.
+# Change here if you are going to use '.sqf' files.
+FILE_LIST_SUFFIX = ".pkgs"
+
+# List of suffixes for binary packages.
+PACKAGE_TYPE = [".tgz", ".txz"]
+
+# Configs for displaying colorful menu. Default is true. [true/false]
+COLORS = true
+
+# Specify the number of jobs to run concurrently. Default is '-j4'.
+MAKEFLAGS = "-j12"
+
+# Set for GPG verification. Default is false.
+# If you set true, you should update the repositories for GPG-KEY import.
+GPG_VERIFICATION = false
+
+# Set for checksum md5 verification. Default is true. [true/false]
+CHECKSUM_MD5 = true
+
+# 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
+
+# View missing dependencies as main packages from the repository.
+# Some repositories include packages as dependencies,
+# but not as main packages. Default is true. [true/false]
+VIEW_MISSING_DEPS = true
+
+# There are two different methods to choose when you want to upgrade
+# your installed packages, "version" method and "package" method.
+# With the "version" method (it is by default), it will compare
+# the version and the build number of the packages following the
+# semantic versioning, and with the "package" method it will compare
+# for different package between installed and repository and this
+# means it will suggest also downgrades if the installed package
+# is newer than the repository package. Default is false. [true/false]
+PACKAGE_METHOD = false
+
+# This setting allows you to downgrade packages.
+# It works if the package method it is false.
+# Default is false. [true/false]
+DOWNGRADE_PACKAGES = false
+
+# Delete downloaded sources after build or install packages.
+# Default is false. [true/false]
+DELETE_SOURCES = false
+
+# Choose ascii printable characters.
+# If true, it uses the extended characters, otherwise the basic ones.
+# Default is true. [true/false].
+ASCII_CHARACTERS = true
+
+# Set false to all the questions. If set false, option --yes will
+# not work. Default is true. [true/false].
+ASK_QUESTION = true
+
+# 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
+
+# Download sources in parallel. Default is false. [true/false]
+# Alternatively, you can use the option '--parallel'.
+PARALLEL_DOWNLOADS = true
+
+# Specifies number of concurrent download streams. Default is 5.
+MAXIMUM_PARALLEL = 3
+
+# If progress bar is true, it does not print the commands as they
+# are executed. Default is false. [true/false]
+PROGRESS_BAR = false
+
+# There are 5 predefined spinners for the progress bar.
+# Default is spinner. [spinner/pie/moon/line/pixel/ball/clock]
+PROGRESS_SPINNER = "spinner"
+
+# Choose color for the progress bar spinner.
+# Default is white. [white/green/violet/yellow/blue/cyan/grey/red]
+SPINNER_COLOR = "green"
+
+# Choose color for the border box.
+# Bold colors: [bold_green/bold_cyan/bold_yellow/bold_red/bold_blue]
+# Colors: [white/green/cyan/yellow/red/blue]
+# Default is bold_green.
+BORDER_COLOR = "bold_green"
+
+# Keep process log files on /var/log/slpkg/ folder.
+# Default is true. [true/false]
+PROCESS_LOG = true
+
+# 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.
+INSTALLPKG = "upgradepkg --install-new"
+
+# Slackware command to reinstall packages.
+# 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.
+REINSTALL = "upgradepkg --reinstall"
+
+# Slackware command to remove packages.
+# 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.
+REMOVEPKG = "removepkg"
+
+# You can choose a downloader among wget, wget2, curl and lftp.
+# Default is wget. [wget/wget2/curl/lftp]
+DOWNLOADER = "wget"
+
+# 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"
+
+# Curl downloader options.
+CURL_OPTIONS = ""
+
+# Lftp donwloader options.
+LFTP_GET_OPTIONS = "-c get -e"
+
+# Lftp mirror options are used to synchronize with the SBo and
+# Ponce repositories or for the local repositories.
+LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer --delete"
+
+# Instead of the lftp command to synchronize the Slackbuilds repositories
+# (sbo and ponce) you can use the git clone command, after you have also
+# changed the mirror in the repositories.toml file.
+GIT_CLONE = "git clone --depth 1"
+
+# 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. For more please visit:
+# https://urllib3.readthedocs.io/en/stable/user-guide.html
+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.
+# Choose between http or socks proxy type.
+# For a sock proxy, you need to install the PySocks package.
+# https://urllib3.readthedocs.io/en/stable/advanced-usage.html#socks-proxies
+PROXY_ADDRESS = ""
+PROXY_USERNAME = ""
+PROXY_PASSWORD = ""
+BOOTLOADER_COMMAND = ""
+ARIA2_OPTIONS = "-c"