pkgsubmit - Package submission script
pkgsubmit -B bucket [ -x ] rpm [ rpm ... ]
pkgsubmit is used to submit packages (and their sources) to the package repository. Currently only RPMs are supported.
By default, pkgsubmit will only submit RPMs if it can find the associated SRPM(s). It does this by looking in the SRPM sub-directory of the directory specified by the %_topdir resource in the ~/.rpmmacros file (or the directory specified by the environment variable SRPMDIR if set). If the build dates match, both the RPMs and the SRPM(s) are submitted.
The current, simplistic, implementation of pkgsubmit works by copying the RPMs and SRPMs files directly to the relevant directories. Once the copy is complete, pkgsubmit creates the RPM header files (which updaterpms requires) by running /usr/sbin/genhdfile on each submitted RPM file.
The (S)RPMs are submitted into an (S)RPM repository which is specified in the configuration file /etc/pkgsubmit/default.conf. The repository contains various buckets of (S)RPMs; the -B flag is used to indicate which bucket to use for the specified (S)RPMs.
The destination bucket for the (S)RPMs.
Normally pkgsubmit will only successfully submit an RPM if it can also find and submit the associated SRPM. The -x option disables this; this is necessary where the SRPM(s) aren't available for submission.
The name of an alternative configuration file to use. This file is given relative to /etc/pkgsubmit/, and must exist within that directory.
Specify an alternative path to use as the location to copy RPMs to. This overrides the contents of the configuration file.
Specify an alternative path to save SRPMs to. This overrides the contents of the configuration file.
The configuration file for pkgsubmit, as described below.
The configuration file sets the default paths, buckets and access control for pkgsubmit. It consists of a set of lines containing key = value pairs, as follows
The address which logging mail will be sent from
A comma separated list of addresses that log mail should be sent to
The base path of the rpm repository to which RPMs should be copied
The base path of the srpm repository to which SRPMs should be copied
A comma separated list of permitted RPM buckets
SL5
Alastair Scobie <ascobie@inf.ed.ac.uk>