Configuration

These configuration options are set in slackrepo_SBo.conf or ~/.slackreporc.

For full details, see the manpage slackrepo.conf(5)

Default repo ID and configuration directory

Repository filestore locations

The strings %REPO%, %SLACKVER% and %ARCH% are replaced by the repository ID (e.g. SBo), the Slackware version (e.g. 14.1), and the Slackware ARCH (e.g. i486).

If you want to run slackrepo as an ordinary user, you can use something like this instead, and save it to .slackreporc in your ordinary user's home directory:

SBREPO=~/slackrepo/%REPO%/slackbuilds
SRCREPO=~/slackrepo/%REPO%/source
PKGREPO=~/slackrepo/%REPO%/packages/%SLACKVER%/%ARCH%
PKGBACKUP=~/slackrepo/%REPO%/backups/%SLACKVER%/%ARCH%
HINTDIR=~/slackrepo/%REPO%/hintfiles
DEFAULT_HINTDIR="/etc/slackrepo/%REPO%/default_hintfiles/%SLACKVER%"
LOGDIR=~/slackrepo/%REPO%/logs
DATABASE=~/slackrepo/%REPO%/database_%REPO%.sqlite3

If you use ~ you should NOT use quotes "...". You also need to create the file /etc/sudoers.d/slackrepo, replacing username with your username:

User_Alias SLACKREPOERS = username
Defaults:SLACKREPOERS !env_reset,!env_delete
SLACKREPOERS ALL=(ALL) NOPASSWD: /usr/libexec/slackrepo/*

Building packages

Calling gen_repos_files.sh

If you enable gen_repos_files.sh, you must set correct values for its configuration options in /etc/slackrepo/slackrepo_SBo.conf. However, if you already use gen_repos_files.sh, it will still read your existing ~/.genreprc file. For details, see the man page slackrepo.conf(5).