A modern take on the Debian archive.
Install Freight and create a minimal configuration in /usr/local/etc/freight.conf
or /etc/freight.conf
as appropriate containing the name of your GPG key:
GPG="[email protected]"
Add packages to particular distros:
freight add foobar_1.2.3-1_all.deb apt/squeeze apt/lucid apt/natty
Build the cache of all the files needed to be accepted as a Debian archive:
freight cache
Serve /var/cache/freight
via your favorite web server and install it as an APT source:
echo "deb http://example.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/example.list
sudo wget -O /etc/apt/trusted.gpg.d/example.gpg http://example.com/keyring.gpg
sudo apt-get update
sudo apt-get -y install foobar
git clone git://github.com/rcrowley/freight.git
cd freight && make && sudo make install
echo "deb http://packages.rcrowley.org $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/rcrowley.list
sudo wget -O /etc/apt/trusted.gpg.d/rcrowley.gpg http://packages.rcrowley.org/keyring.gpg
sudo apt-get update
sudo apt-get -y install freight
EL users must first configure EPEL.
yum -y install freight
There's also French documentation assembled by Valérian Beaudoin.
Freight is BSD-licensed
- Source code: https://github.com/rcrowley/freight
- Issue tracker: https://github.com/rcrowley/freight/issues
- Wiki: https://github.com/rcrowley/freight/wiki