SBO::Lib(3)

NAME
SBO::Lib - Library for working with SlackBuilds.org.

SYNOPSIS
  use SBO::Lib qw/ :all /;

DESCRIPTION
SBO::Lib is the entry point for all the related modules, and simply re-exports all exports. Each module is documented in its own man page.

  SBO::Lib::Build
"Build.pm" has routines for building Slackware packages from SlackBuilds.org. It covers the build process from setting the queue through post-build cleaning.

  SBO::Lib::Download
"Download.pm" downloads, verifies and symlinks any needed source files before building the queue begins.

  SBO::Lib::Info
"Info.pm" sanitizes and parses "info" files; the information returned is used in version comparions, dependency calculation and the source downloading process.

  SBO::Lib::Pkgs
"Pkgs.pm" interacts with the Slackware package database to provide tag and version information for all installed packages.

  SBO::Lib::Readme
"Readme.pm" parses and displays "README" files. It detects options and commands for adding users and groups. Pre-installation user prompts and build option recall are handled here.

  SBO::Lib::Repo
"Repo.pm" is responsible for fetching, updating and linting the local copy of the SlackBuilds.org repository, as well as GPG verification and key addition.

  SBO::Lib::Tree
"Tree.pm" determines the location of scripts in the repository and local overrides directory.

  SBO::Lib::Util
"Util.pm" contains utility functions for "SBO::Lib" and the sbotools. Configuration-related shared variables and the shared exit codes can be found here.

EXIT CODES
The sbotools share the following exit codes:

  _ERR_USAGE         1   usage errors
  _ERR_SCRIPT        2   script or module bug
  _ERR_BUILD         3   errors when executing a SlackBuild
  _ERR_MD5SUM        4   download verification failure
  _ERR_DOWNLOAD      5   download failure
  _ERR_OPENFH        6   failure to open file handles
  _ERR_NOINFO        7   missing download information
  _ERR_F_SETD        8   fd-related temporary file failure
  _ERR_NOMULTILIB    9   lacking multilib capabilities when needed
  _ERR_CONVERTPKG    10  convertpkg-compat32 failure
  _ERR_NOCONVERTPKG  11  lacking convertpkg-compat32 when needed
  _ERR_INST_SIGNAL   12  the script was interrupted while building
  _ERR_CIRCULAR      13  attempted to calculate a circular dependency

SEE ALSO
SBO::Lib::Build(3), SBO::Lib::Download(3), SBO::Lib::Info(3), SBO::Lib::Pkgs(3), SBO::Lib::Readme(3), SBO::Lib::Repo(3), SBO::Lib::Tree(3), SBO::Lib::Util(3)

AUTHORS
SBO::Lib was originally written by Jacob Pipkin <j@dawnrazor.net> with contributions from Luke Williams <xocel@iquidus.org> and Andreas Guldstrand <andreas.guldstrand@gmail.com>.

MAINTAINER
SBO::Lib is maintained by K. Eugene Carlson <kvngncrlsn@gmail.com>.

LICENSE
The sbotools are licensed under the MIT License.

Copyright (C) 2012-2017, Jacob Pipkin, Luke Williams, Andreas Guldstrand.

Copyright (C) 2024-2025, K. Eugene Carlson.