freight (5) Linux Manual Page
freight – Freight configuration
Description
The Freight configuration is a sourced shell script that defines a few important variables.
Options
VARLIB- The Freight library directory. Typically /var/lib/freight.
VARCACHE- The Freight cache directory. Typically /var/cache/freight. This should be the document root of the web server.
ARCHS- The architectures to support. Typically i386 amd64.
ORIGIN- The
Originfield in the Debian archive. LABEL- The
Labelfield in the Debian archive. CACHE- on to cache package control files or off to read them from the packages on each
freight-cache(1) run. GPG- The GPG key(s) to use. This value must be set either in a configuration file or by using the
-goption tofreight-cache(1). Multiple keys can be given to sign the repository with more signatures. GPG_PASSPHRASE_FILE- Pathname of a file containing the GPGP private key’s passphrase. This sets the
–passphrase-fdand–passphrase-fileoptions togpg(1). The passphrase file can be set either in a configuration file or by using the-poption tofreight-cache(1). GPG_DIGEST_ALGO- Message digest algorithm that GPG should use to sign the repository. Apt is phasing out SHA1 so it is recommended to use SHA512 for most use-cases. This sets the
–personal-digest-preferencesoption togpg(1). The digest algorithm can be set either in a configuration file or by using the-aoption tofreight-cache(1). SYMLINKS- on to follow symbolic links in
VARLIBto produce extra components in the cache directory or off to offer no special treatment.
Files
- /etc/freight.conf
- The default configuration file.
- ~/.freight.conf
- User-specific configuration file.
- etc/freight.conf, .freight.conf
- Directory-specific configuration files.
Environment Variables
FREIGHT_CONF- The pathname of an alternate configuration file.
Theme Song
The New Pornographers – "All the Old Showstoppers"
Author
Richard Crowley r@rcrowley.org
See Also
freight-add(1) adds packages to the intermediate "Freight library" that is used by freight-cache(1) to build the actual repositories. reprepro(1) manages Debian archives, too, if Freight isn’t your thing.
