1FREIGHT-CACHE(1)                    Freight                   FREIGHT-CACHE(1)
2
3
4

NAME

6       freight-cache - (re)builds package repositories
7

SYNOPSIS

9       freight  cache [-k] [-g email] [-p passphrase file] [-c conf] [-v] [-h]
10       [manager/distro][...]
11

DESCRIPTION

13       freight-cache converts each manager/distro given into a package reposi‐
14       tory  (only Debian archives are supported currently). The manager indi‐
15       cates the type of repository (again, apt is the only supported  value).
16       The  distro  is  an arbitrary string that should match a release of the
17       target operating system (for example, "lenny" or "lucid"). If none  are
18       given,  freight-cache  converts all manager/distro pairs found in $VAR‐
19       LIB.
20
21       Packages are read from the Freight library ($VARLIB in  the  configura‐
22       tion,  see  freight(5))  and organized into a working repository in the
23       Freight cache ($VARCACHE in the configuration).
24
25       Serving the repositories is left as an exercise  for  the  reader.  The
26       Freight cache is the only directory that needs to be exposed, so create
27       a virtual host with $VARCACHE as its document root and everything  will
28       be fine.
29
30       From  version  0.0.8  onwards,  distros  in an APT repository no longer
31       share the contents of the pool/. After upgrading to  this  version  and
32       running  freight-cache for all your distros, it is safe and recommended
33       to rm -rf $VARCACHE/pool/main to reset link counts to the proper value.
34

OPTIONS

36       -k, --keep
37              Keep unreferenced versions of packages. This is  different  than
38              keeping  multiple versions of a package in the repository, which
39              is supported without any special options.
40
41       -g email, --gpg=email
42              Use an alternate GPG key. May be given multiple times.
43
44       -p passphrase file, --passphrase-file=passphrase file
45              Use an alternate file containing the GPG  key  passphrase.  This
46              file should obviously be protected and only readable by the user
47              running Freight.
48
49       -a digest algorithm, --digest-algo=digest algorithm
50              Message digest algorithm that GPG should use to sign the reposi‐
51              tory, e.g SHA512
52
53       -c conf, --conf=conf
54              Use an alternate configuration file.
55
56       -v, --verbose
57              Verbose mode.
58
59       -h, --help
60              Show a help message.
61

FILES

63       /etc/freight.conf, ~/.freight.conf, etc/freight.conf, .freight.conf
64              The default configuration files. See freight(5).
65
66       $VARCACHE/pubkey.gpg
67              The exported public key used for signing each release.
68

ENVIRONMENT VARIABLES

70       FREIGHT_CONF
71              The pathname of an alternate configuration file. See freight(5).
72

THEME SONG

74       The New Pornographers - "All the Old Showstoppers"
75

AUTHOR

77       Richard Crowley r@rcrowley.org
78

SEE ALSO

80       Part of freight(1).
81
82       freight-add(1) adds packages to the intermediate "Freight library" that
83       is used by freight-cache to build the actual repositories.
84
85
86
87                                  March 2016                  FREIGHT-CACHE(1)
Impressum