slpkg/configs/slpkg.toml

92 lines
3.3 KiB
TOML
Raw Normal View History

2023-02-28 13:49:21 +02:00
[CONFIGS]
# OS architecture by default.
2023-02-28 13:44:53 +02:00
OS_ARCH = "x86_64"
# Tmp path for slpkg.
2023-02-28 13:44:53 +02:00
TMP_SLPKG = "/tmp/slpkg"
2023-02-27 11:06:44 +02:00
# Path for building source and the script.
2023-02-28 13:44:53 +02:00
BUILD_PATH = "/tmp/slpkg/build"
# This path working only with the command download.
2023-02-28 14:18:46 +02:00
DOWNLOAD_ONLY_PATH = "/tmp/slpkg"
# The path that the SLACKBUILDS.TXT file downloaded.
2023-02-28 13:44:53 +02:00
SBO_REPO_PATH = "/var/lib/slpkg/repository"
# The name of the database. Default name is 'database.slpkg'.
2023-02-28 13:44:53 +02:00
DATABASE_NAME = "database.slpkg"
# Slackbuilds.org repository url.
2023-02-28 13:44:53 +02:00
SBO_REPO_URL = "https://slackbuilds.org/slackbuilds/15.0"
# The SLACKBUILDS.TXT repository file.
2023-02-28 13:44:53 +02:00
SBO_TXT = "SLACKBUILDS.TXT"
# The ChangeLog.txt file.
2023-02-28 13:44:53 +02:00
SBO_CHGLOG_TXT = "ChangeLog.txt"
# The sbo tar suffix.
2023-02-28 13:44:53 +02:00
SBO_TAR_SUFFIX = ".tar.gz"
# The sbo repository tag.
2023-02-28 13:44:53 +02:00
SBO_REPO_TAG = "_SBo"
2023-02-27 11:32:52 +02:00
# Slackware command for install packages, instead, you can use 'installpkg'.
2023-02-28 13:44:53 +02:00
INSTALLPKG = "upgradepkg --install-new"
2023-02-27 11:06:44 +02:00
# Slackware command to reinstall packages.
2023-02-28 13:44:53 +02:00
REINSTALL = "upgradepkg --reinstall"
# Slackware command to remove packages.
2023-02-28 13:44:53 +02:00
REMOVEPKG = "removepkg"
2023-02-27 11:06:44 +02:00
# Cli menu colors configs. Default is true. [true/false].
2023-02-28 13:44:53 +02:00
COLORS = true
2023-02-27 11:06:44 +02:00
# Dialog is a program that will let you to presenta variety of questions
# or display messages using dialog boxes from a shell script.
# Default is true. [true/false].
2023-02-28 13:44:53 +02:00
DIALOG = true
2022-12-26 12:47:33 +02:00
2023-02-27 11:06:44 +02:00
# You can choose downloader between wget and curl.
# Default is wget. [wget/curl].
2023-02-28 13:44:53 +02:00
DOWNLOADER = "wget"
2023-01-25 22:23:31 +02:00
2022-12-26 12:47:33 +02:00
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.
2023-01-14 22:34:14 +02: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.
2022-12-26 12:47:33 +02:00
# than local.
2023-02-28 13:44:53 +02:00
WGET_OPTIONS = "-c -N -q --show-progress"
2023-01-02 13:42:32 +02:00
2023-01-25 22:23:31 +02:00
# Curl downloader options.
# Pass the options you want here.
2023-02-28 13:44:53 +02:00
CURL_OPTIONS = ""
2023-01-25 22:23:31 +02:00
2023-02-27 11:06:44 +02:00
# If silent mode is true, it does not print the commands as they are executed.
# Default is true. [true/false].
2023-02-28 13:44:53 +02:00
SILENT_MODE = true
2023-01-29 22:25:29 +02:00
# Choose ascii printable characters.
2023-02-27 11:06:44 +02:00
# If true, it uses the extended characters, otherwise the basic ones.
# Default is true. [true/false].
2023-02-28 18:17:56 +02:00
ASCII_CHARACTERS = true
# Set the PONCE_REPO_URL if you are going to use ponce repository for
# Slackware -current version. Do not unset SBO_REPO_URL and SBO_TXT.
######################################################################################
# This is not going to fully support this repository, since it does not provide #
# its own SLACKBUILDS.TXT file. The only difference is that scripts are used from #
# this repository and not from SBo. You should also BLACKLIST any packages contained #
# in Slackware current version, like 'python-zipp' and 'python-importlib_metadata'. #
# Slpkg it still going to use SLACKBUILDS.TXT and ChangeLog.txt from SBo repository. #
# For blacklisted files, edit the /etc/slpkg/blacklist.toml file. #
######################################################################################
2023-02-28 21:43:04 +02:00
# PONCE_REPO = true
PONCE_REPO = false
PONCE_REPO_URL = "https://cgit.ponce.cc/slackbuilds/plain"
2023-02-28 22:15:47 +02:00
SLACK_CURRENT_MIRROR = "https://mirrors.slackware.com/slackware/slackware64-current"
2023-02-28 21:43:04 +02:00
SLACK_CHGLOG_TXT = "ChangeLog.txt"
SLACK_CHGLOG_PATH = "/var/lib/slpkg/repository/slack_current"