Menu

SlackpkgRepoSetup

slackpkg Repository

To be able to manage Dropline GNOME's packages by means the slackpkg package manager, you need to setup a repository on the server first.
The repository will be signed byt the GPG key of the user that runs it. It has to match the email in the REPOSOWNER option.

Creating the repository on the server

  1. Download the gen_repos_files.sh script from http://www.slackware.com/~alien/tools/gen_repos_files.sh and make it executable.
  2. Edit the gen_repos_files.sh script to match your needs. Focus on the following options:
    RSS_UUID a unique identifier for the repo; can be an output of the uuidgen -t command
    REPOSROOT the directory directly where the packages reside
    REPOSOWNERthe owner of the repository in the format "first_name last_name user@example.com"
    RSS_* descriptions used by related RSS feed
  3. Save the file and run it on the directory with the repository packages, for example ./gen_repos_files.sh 3.38/. The script creates metadata for each package as well as metadata files for the repository. You have to run the script each time you update the packages in the repository
  4. When asked, supply the title for changelog

Configuring the client to use the repository

To use the slackpkg tool for managing Dropline GNOME's packages on the client, install the slackpkg (https://slackpkg.org/stable/slackpkg-2.83.0-noarch-4.txz) and slackpkg+ (https://sourceforge.net/projects/slackpkgplus/files/slackpkg%2B-1.7.0-noarch-10mt.txz/download) packages. Then configure slackpkg+ to use the repository on the server:

  1. Open /etc/slackpkg/slackpkgplus.conf in your favorite text editor.
  2. Add dropline to the REPOPLUS option, for example REPOPLUS=( slackpkgplus alienbob restricted dropline)
  3. Add path to the dropline repository to the MIRRORPLUS option, such as
    MIRRORPLUS['dropline']=http://www.droplinegnome.org/files/3.38/x86_64/testing/
  4. Run slackpkg update gpg to download the new GPG key of the 'dropline' repository.
  5. Run slackpkg update to refresh the list of online packages.
  6. Run slackpkg install dropline to install all the packages from the 'dropline' repository.

Related

Wiki: Home