SLACKPKG.CONF(5)

NAME
slackpkg.conf - Configuration data for slackpkg

DESCRIPTION
The slackpkg.conf file contains information for slackpkg (8), an automated tool for managing Slackware Linux packages. The slackpkg.conf file is a sequence of shell script variables, and each variable controls one aspect of slackpkg. Comments begin with the # character and end at end of the line, and comments may appear anywhere inside the slackpkg.conf file. If some variable appears more than once in the file, slackpkg will use the value that was defined last. Many variables can be overridden by options passed to slackpkg on the command line. If you need to override the value of VARIABLE , pass -variable=value on the command line just before the slackpkg action. Multiple variables may be overridden. EXAMPLE: slackpkg -batch=on -default_answer=y upgrade-all For configuration options that have only two states, possible values are either "on" or "off" unless otherwise indicated. The different configuration options are:

ARCH
    Chooses the system architecture. Usually Slackpkg can find the correct value using "uname -m". The valid values are:
    MACHINE VALID ARCH VALUES
    ARM arm
    x86 (32bits) i386, i486, i586 and i686
    x86 (64bits) x86_64
    PowerPC powerpc
    S/390 390
    The default value of ARCH depends on your architecture.

SLACKKEY
    Slackpkg checks the package signature file (.asc) against the GPG signature of the project. Different ports of Slackware can have different signatures, and Slackpkg tries to find the correct one based on the architecture of your system. If the automatically-detected SLACKKEY isn't correct, you can change it using this option. The default value of SLACKKEY depends on your Slackware port.

TEMP
    Defines the location to which slackpkg will download the packages before installing/upgrading them. The default value of TEMP is /var/cache/packages.

WORKDIR
    Defines the directory for package lists, file lists, and other information used by slackpkg as it works. Do not change the value of this variable unless you know what you are doing. The default value of WORKDIR is /var/lib/slackpkg.

WGETFLAGS
    Selects special options for wget. If you need to use multiple options, remember to put them between double quotes. The default value of WGETFLAGS is "--passive-ftp"

DELALL
    If set to "on", all downloaded files will be removed after slackpkg performs install or upgrade (this does NOT have any impact when slackpkg is run with "download"). If set to "off", the files will be kept in the directory defined in TEMP (as described above). The default value of DELALL is "on".
    From command line, you can use -delall=value.

CHECKMD5
    Enables (on) or disables (off) the checking of MD5 checksums of all downloaded packages before installing or upgrading them. The default value of CHECKMD5 is "on".
    From command line, you can use -checkmd5=value.

CHECKGPG
    Enables (on) or disables (off) the check of GPG signature for each package before install or upgrade. The default value of CHECKGPG is "on".
    From command line, you can use -checkgpg=value.

CHECKSIZE
    Enables (on) or disables (off) the check of available disk space for each package before install or upgrade. The default value of CHECKSIZE is "off".
    From command line, you can use -checksize=value.

PKGMAIN
    Defines the main distribution directory. Usually, you don't need to worry about this variable, as Slackpkg tries to find it based on your architecture. However, if you need to change it, then include this variable in your slackpkg.conf. This should always be the directory which contains the Slackware package set series (A, AP, D, E, F, ...). Default: depends on Slackware port

PRIORITY
    This array selects the priority at which directories on the mirror will have when slackpkg looks for packages. If a package is found in more than one place, the package in first directory gets priority, then second, then third, then fourth and finally, the package found in last listed directory. You can use %PKGMAIN to use the contents of PKGMAIN variable. Default values (in order): patches %PKGMAIN extra pasture testing

POSTINST
    Enables (on) or disables (off) slackpkg's post-installation features, such as checking for new (*.new) configuration files and new kernel images, and prompts you for what it should do. The default value of POSTINST is "on".
    From command line, you can use -postinst=value.

ONLY_NEW_DOTNEW
    When POSTINST is set to "on", slackpkg will search for all .new files inside /etc and prompt the user for what to do with them. However, some users prefer to see only the .new files installed in slackpkg's last execution, so if this applies to you, set ONLY_NEW_DOTNEW to "on". The default value of ONLY_NEW_DOTNEW is "off". Only change this if you know what are you doing...
    From command line, you can use -only_new_dotnew=value.

ONOFF
    The ONOFF variable sets the initial behavior of the dialog interface. If you set this to "on" then all packages will be selected by default. If you prefer the opposite option (all unchecked), then set this to "off". The default value of ONOFF is "on".
    From command line, you can use -onoff=value.

DOWNLOAD_ALL
    If this variable is set to "on", all files will be downloaded before the requested operation (install or upgrade) is performed. If set to "off", then the files will be downloaded and the operation (install/upgrade) performed one by one. The default value of DOWNLOAD_ALL is "off".
    From command line, you can use -download_all=value.

DIALOG
    Enables (on) or disables (off) the dialog interface. The default value of DIALOG is "on".
    From command line, you can use -dialog=value.

DIALOG_MAXARGS
    Set the max number of characters that will be send to "dialog". If this number is reached in upgrade, slackpkg removes the information about current installed version of each package. If even without this information the number is reached again, slackpkg returns an error to the user. If DIALOG_MAXARGS is unset, 19500 is the default value.
    From command line, you can use -dialog_maxargs=value.

BATCH
    Enables (on) or disables (off) the non-interactive mode. When run in batch mode, slackpkg will not prompt the user for anything; instead, all questions will get DEFAULT_ANSWER (see below).
    If you perform an upgrade using this mode, you will need to run "slackpkg new-config" later to find and merge .new files. The default value of BATCH is "off".
    From command line, you can use -batch=value.

DEFAULT_ANSWER
    This is the default answer to questions when slackpkg prompts the user for some information. This is used only in non-interactive mode (when BATCH is "yes" or the user turns batch mode on via the command line); otherwise, this variable has no effect.
    Valid values are "y" or "n". The default value of DEFAULT_ANSWER is "n".
    From command line, you can use -default_answer=value.

USE_INCLUDES
    Slackpkg templates can include other templates. This reduces the package duplication in many templates, but it can be a problem if you want to remove only a specific template. You can disable the #include parsing by setting this option to "off". The default value of USE_INCLUDES is "on".
    From command line, you can use -use_includes=value.

SPINNING
    When Slackpkg is doing an activity that takes some time, it gives visual feedback with a spinning bar. If you don't like the spinning bar, it can be disabled by setting this option to "off". The default value of SPINNING is "on".
    From command line, you can use -spinning=value.

FILES

/etc/slackpkg/slacpkg.conf

SEE ALSO
slackpkg(8) pkgtool(8) installpkg(8) upgradepkg(8) removepkg(8)