2023-02-28 12:49:21 +01:00
|
|
|
[CONFIGS]
|
2022-10-19 20:18:25 +02:00
|
|
|
# OS architecture by default.
|
2023-02-28 12:44:53 +01:00
|
|
|
OS_ARCH = "x86_64"
|
2022-10-19 19:18:13 +02:00
|
|
|
|
2022-10-22 18:46:10 +02:00
|
|
|
# Tmp path for slpkg.
|
2023-03-01 21:27:29 +01:00
|
|
|
TMP_SLPKG = "/tmp/slpkg/"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
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/"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
|
|
|
# This path working only with the command download.
|
2023-03-01 21:27:29 +01:00
|
|
|
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
|
|
|
# The path that the SLACKBUILDS.TXT file downloaded.
|
2023-03-01 21:27:29 +01:00
|
|
|
SBO_REPO_PATH = "/var/lib/slpkg/repository/"
|
2022-10-19 19:18:13 +02:00
|
|
|
|
2022-10-22 18:46:10 +02:00
|
|
|
# The name of the database. Default name is 'database.slpkg'.
|
2023-02-28 12:44:53 +01:00
|
|
|
DATABASE_NAME = "database.slpkg"
|
2022-10-19 19:18:13 +02:00
|
|
|
|
2022-10-22 18:46:10 +02:00
|
|
|
# Slackbuilds.org repository url.
|
2023-03-01 21:27:29 +01:00
|
|
|
SBO_REPO_URL = "https://slackbuilds.org/slackbuilds/15.0/"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
2022-11-03 17:52:01 +01:00
|
|
|
# The SLACKBUILDS.TXT repository file.
|
2023-02-28 12:44:53 +01:00
|
|
|
SBO_TXT = "SLACKBUILDS.TXT"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
2022-11-03 17:52:01 +01:00
|
|
|
# The ChangeLog.txt file.
|
2023-02-28 12:44:53 +01:00
|
|
|
SBO_CHGLOG_TXT = "ChangeLog.txt"
|
2022-11-03 17:52:01 +01:00
|
|
|
|
2022-10-22 18:46:10 +02:00
|
|
|
# The sbo tar suffix.
|
2023-02-28 12:44:53 +01:00
|
|
|
SBO_TAR_SUFFIX = ".tar.gz"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
2022-11-08 20:11:25 +01:00
|
|
|
# The sbo repository tag.
|
2023-02-28 12:44:53 +01:00
|
|
|
SBO_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"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
2023-02-27 10:06:44 +01:00
|
|
|
# Slackware command to reinstall packages.
|
2023-02-28 12:44:53 +01:00
|
|
|
REINSTALL = "upgradepkg --reinstall"
|
2022-10-22 18:46:10 +02:00
|
|
|
|
2022-10-30 18:34:32 +01:00
|
|
|
# Slackware command to remove packages.
|
2023-02-28 12:44:53 +01:00
|
|
|
REMOVEPKG = "removepkg"
|
2022-10-19 19:18:13 +02:00
|
|
|
|
2023-02-27 10:06:44 +01:00
|
|
|
# Cli menu colors configs. Default is true. [true/false].
|
2023-02-28 12:44:53 +01:00
|
|
|
COLORS = true
|
2022-10-19 19:18:13 +02:00
|
|
|
|
2023-02-27 10:06:44 +01: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 12:44:53 +01:00
|
|
|
DIALOG = true
|
2022-12-26 11:47:33 +01:00
|
|
|
|
2023-02-27 10:06:44 +01:00
|
|
|
# You can choose downloader between wget and curl.
|
2023-03-01 21:47:53 +01:00
|
|
|
# Ponce repository works only with 'lftp' downloader.
|
2023-03-01 21:27:29 +01:00
|
|
|
# Default is wget. [wget/curl/lftp].
|
2023-02-28 12:44:53 +01:00
|
|
|
DOWNLOADER = "wget"
|
2023-01-25 21:23:31 +01:00
|
|
|
|
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-02 12:42:32 +01:00
|
|
|
|
2023-01-25 21:23:31 +01:00
|
|
|
# Curl downloader options.
|
|
|
|
# Pass the options you want here.
|
2023-02-28 12:44:53 +01:00
|
|
|
CURL_OPTIONS = ""
|
2023-01-25 21:23:31 +01:00
|
|
|
|
2023-03-01 21:27:29 +01:00
|
|
|
# Lftp downloader options.
|
2023-03-01 21:47:53 +01:00
|
|
|
# 'LFTP_MIRROR_OPTIONS' are used for the ponce repository to download files
|
|
|
|
# from a remote directory, and 'LFTP_GET_OPTIONS' are used to download the sources.
|
2023-03-01 21:53:19 +01:00
|
|
|
LFTP_MIRROR_OPTIONS = "-c mirror --delete-first --parallel=10"
|
|
|
|
LFTP_GET_OPTIONS = "-c get -e"
|
2023-03-01 21:27:29 +01:00
|
|
|
|
2023-02-27 10:06:44 +01:00
|
|
|
# If silent mode is true, it does not print the commands as they are executed.
|
|
|
|
# Default is true. [true/false].
|
2023-02-28 12:44:53 +01:00
|
|
|
SILENT_MODE = true
|
2023-01-29 21:25:29 +01:00
|
|
|
|
|
|
|
# Choose ascii printable characters.
|
2023-02-27 10:06:44 +01:00
|
|
|
# If true, it uses the extended characters, otherwise the basic ones.
|
|
|
|
# Default is true. [true/false].
|
2023-02-28 17:17:56 +01:00
|
|
|
ASCII_CHARACTERS = true
|
|
|
|
|
2023-03-01 21:59:09 +01:00
|
|
|
# Set the 'PONCE_REPO = true' and 'DOWNLOADER = lftp' to switch with
|
|
|
|
# the ponce repository. Do not unset SBO_REPO_URL and SBO_TXT.
|
2023-03-01 21:47:53 +01:00
|
|
|
# NOTE: Ponce repository works only with 'lftp' downloader.
|
2023-02-28 21:56:57 +01:00
|
|
|
#########################################################################
|
|
|
|
# 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 ponce repository and not from SBo repository. #
|
|
|
|
# Slpkg is still going to use SLACKBUILDS.TXT and ChangeLog.txt from #
|
|
|
|
# SBo repository and compare these with the Slackware -current #
|
|
|
|
# ChangeLog.txt file for auto-add blacklisted packages that do not #
|
2023-02-28 22:46:19 +01:00
|
|
|
# include in the ponce repository. Default is false. [true/false]. #
|
2023-02-28 21:56:57 +01:00
|
|
|
#########################################################################
|
2023-02-28 20:43:04 +01:00
|
|
|
PONCE_REPO = false
|
2023-03-01 21:27:29 +01:00
|
|
|
PONCE_URL = "https://cgit.ponce.cc/slackbuilds/plain/"
|
2023-03-01 22:34:28 +01:00
|
|
|
# Use a Slackware mirror for your country, get one from /etc/slackpkg/mirrors.
|
2023-03-01 21:27:29 +01:00
|
|
|
SLACK_CURRENT_MIRROR = "https://mirrors.slackware.com/slackware/slackware64-current/"
|
2023-02-28 20:43:04 +01:00
|
|
|
SLACK_CHGLOG_TXT = "ChangeLog.txt"
|
2023-03-01 21:27:29 +01:00
|
|
|
SLACK_CHGLOG_PATH = "/var/lib/slpkg/repository/slack_current/"
|