slpkg/configs/slpkg.toml

75 lines
2.9 KiB
TOML
Raw Normal View History

2023-02-28 12:49:21 +01:00
[CONFIGS]
# OS architecture by default.
2023-02-28 12:44:53 +01:00
OS_ARCH = "x86_64"
# Tmp path for slpkg.
2023-03-01 21:27:29 +01:00
TMP_SLPKG = "/tmp/slpkg/"
2023-02-27 10:06:44 +01:00
# Path for building source and the script.
2023-03-01 21:27:29 +01:00
BUILD_PATH = "/tmp/slpkg/build/"
2023-03-03 22:33:57 +01:00
# The name of the database. Default name is 'database.slpkg'.
DATABASE_NAME = "database.slpkg"
2023-03-05 20:45:24 +01:00
# Where the packages download.
# This path working only with the command download.
2023-03-01 21:27:29 +01:00
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
2023-03-06 22:30:09 +01:00
# File suffix for list packages.
FILE_LIST_SUFFIX = ".pkgs"
2023-03-05 20:45:24 +01:00
# Configs for displaying colorful menu. Default is true. [true/false].
2023-03-03 22:33:57 +01:00
COLORS = true
2023-03-05 20:45:24 +01:00
# Dialog is a program that will let you present a variety of questions or
# display messages using dialog boxes from a shell script.
2023-03-03 22:33:57 +01:00
# Default is true. [true/false].
DIALOG = true
# If silent mode is true, it does not print the commands as they are executed.
# Default is true. [true/false].
SILENT_MODE = true
# Choose ascii printable characters.
# If true, it uses the extended characters, otherwise the basic ones.
# Default is true. [true/false].
ASCII_CHARACTERS = true
2023-03-06 22:30:09 +01:00
# Set false to all the questions. If set false option --yes will not work.
# Default is true. [true/false].
ASK_QUESTION = true
2023-03-07 21:04:07 +01:00
# Pass your file pattern here, instead, you can use '--file-pattern=' option.
FILE_PATTERN = ""
2023-03-03 22:33:57 +01:00
# SLACKBUILDS.ORG REPOSITORY CONFIGS.
2023-03-05 19:03:47 +01:00
SBO_REPO_PATH = "/var/lib/slpkg/repositories/sbo/"
2023-03-01 21:27:29 +01:00
SBO_REPO_URL = "https://slackbuilds.org/slackbuilds/15.0/"
2023-02-28 12:44:53 +01:00
SBO_TXT = "SLACKBUILDS.TXT"
SBO_CHGLOG_TXT = "ChangeLog.txt"
SBO_TAR_SUFFIX = ".tar.gz"
SBO_REPO_TAG = "_SBo"
2023-03-03 22:33:57 +01:00
# PONCE REPOSITORY CONFIGS.
2023-03-04 21:08:34 +01:00
# Set the 'PONCE_REPO = true' to switch with the ponce repository and
# run 'slpkg update' to update the database.
2023-03-03 22:33:57 +01:00
# Default is false. [true/false].
PONCE_REPO = false
2023-03-05 19:03:47 +01:00
PONCE_REPO_PATH = "/var/lib/slpkg/repositories/ponce/"
2023-03-03 22:33:57 +01:00
PONCE_REPO_URL = "https://cgit.ponce.cc/slackbuilds/plain/"
PONCE_TXT = "SLACKBUILDS.TXT"
PONCE_CHGLOG_TXT = "ChangeLog.txt"
PONCE_REPO_TAG = "_SBo"
2023-02-27 10:32:52 +01:00
# Slackware command for install packages, instead, you can use 'installpkg'.
2023-02-28 12:44:53 +01:00
INSTALLPKG = "upgradepkg --install-new"
2023-02-27 10:06:44 +01:00
# Slackware command to reinstall packages.
2023-02-28 12:44:53 +01:00
REINSTALL = "upgradepkg --reinstall"
# Slackware command to remove packages.
2023-02-28 12:44:53 +01:00
REMOVEPKG = "removepkg"
2023-03-10 17:34:13 +01:00
# You can choose a downloader among wget, curl lftp.
# Default is wget. [wget/curl/lftp].
2023-02-28 12:44:53 +01:00
DOWNLOADER = "wget"
2022-12-26 11:47:33 +01:00
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.
2023-01-14 21:34:14 +01:00
# -N, --timestamping: don't re-retrieve files unless newer.
# -q, Turn off Wget's output.
# --show-progress, Force wget to display the progress bar in any verbosity.
2023-02-28 12:44:53 +01:00
WGET_OPTIONS = "-c -N -q --show-progress"
2023-01-25 21:23:31 +01:00
# Curl downloader options.
2023-02-28 12:44:53 +01:00
CURL_OPTIONS = ""
2023-03-10 17:34:13 +01:00
# Lftp donwloader options.
LFTP_GET_OPTIONS = "-c get -e"
# Lftp mirror options are used to synchronize with the ponce repository.
2023-03-04 17:44:17 +01:00
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"