freight

freight 0.3.12.1

 pool/sid/main/f/freight/freight_0.3.12.1_all.deb freight
A modern take on the Debian archive
Filename pool/sid/main/f/freight/freight_0.3.12.1_all.deb
Version0.3.12.1
Age in days709
Release date2024 11. 28.
Size17.21 KB
id103
Namefreight
Package
Appname
Essential
Vendor
License
Distributionsid
Suitemain
Source
Architecturebinary-i386
MultiArch
MaintainerFreight team
InstalledSize66
Dependsgnupg
PreDepends
Breaks
Enhances
Sectionutils
Priorityextra
DescriptionA modern take on the Debian archive
LongDescription
AutoBuiltPackage
Filenamepool/sid/main/f/freight/freight_0.3.12.1_all.deb
MD5sumb87f827b63c73a0d7cbe214f630fe573
SHA1ae04849310f7a6943004cd682d6aa9d91d5f2109
SHA2561a8d37b66c0950355a8836cdf03673d84c6830b4f6fab1b05812f3009add23e2
SHA5125d2b586a2942918caf8217e0828f9cc9aca9bab1b4a3eccbfe82893c36e2e23c4534c4ee82bf6eb0428c568f9222b88c7d4bb99b354dae8f0cef5bbe88f6034d
Size17620
Auto-Built-Package
Homepagehttps://github.com/freight-team/freight
Provides
Existing
fileMtime2024-11-28 12:35:02
created2021-03-20 02:24:32
updated2024-11-28 11:35:02
freight
./
./etc/
./etc/bash_completion.d/
./etc/bash_completion.d/freight
./etc/freight.conf.example1223
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4026
./usr/bin/freight-cache4609
./usr/bin/freight-clear-cache2017
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19474
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1606
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz957
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz978
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4617
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19425
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1606
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz966
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz978
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh255
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1225
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1225
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh255
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1225
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1226
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh255
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1226
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1224
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh255
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1225
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214
./
./etc/
./etc/freight.conf.example1246
./etc/profile.d/
./etc/profile.d/freight.sh
./usr/
./usr/bin/
./usr/bin/freight554
./usr/bin/freight-add4690
./usr/bin/freight-cache4734
./usr/bin/freight-clear-cache2262
./usr/bin/freight-init3526
./usr/lib/
./usr/lib/freight/
./usr/lib/freight/apt.sh19793
./usr/lib/freight/colors.sh222
./usr/lib/freight/conf.sh1627
./usr/share/
./usr/share/doc/
./usr/share/doc/freight/
./usr/share/doc/freight/changelog.gz1224
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/freight-add.1.gz1009
./usr/share/man/man1/freight-cache.1.gz1448
./usr/share/man/man1/freight-clear-cache.1.gz622
./usr/share/man/man1/freight-init.1.gz885
./usr/share/man/man1/freight.1.gz576
./usr/share/man/man5/
./usr/share/man/man5/freight.5.gz1214

Freight

IRC channel Build Status

A modern take on the Debian archive.

This repository has been forked (in the traditional sense of the word) from Richard Crowley's freight repository. A fork had become necessary because the main project was not actively maintained and serious issues had started to crop up. While fixes and improvements were available in various freight GitHub forks, they were not merged to the main project. This fork and the associated GitHub organization, freight-team, attempts to fix these issues.

Usage

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="example@example.com"

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

If your system has GnuPG 2.x make sure that a gpg-agent is running and that you have installed a pinentry package (e.g. pinentry-curses) that suits your needs. On freight 0.3.11 and older you may also need to set the GPG_TTY environment variable like this:

export GPG_TTY=$(tty)

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

Make sure your webserver is configured to follow symlinks inside of the hosted directory.

Installation

From source

git clone https://github.com/freight-team/freight.git
cd freight && make && sudo make install

From a Debian archive

wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|sudo apt-key add -
echo "deb http://build.openvpn.net/debian/freight_team $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/freight.list
sudo apt-get update
sudo apt-get -y install freight

From a custom-made Debian package

You need build-essential package installed. Clone the freight repository, build a package and install it:

git clone https://github.com/freight-team/freight.git
cd freight && dpkg-buildpackage -uc -us -b
sudo dpkg -i ../freight_<version>-<build>_all.deb

From Fedora/EPEL repositories

EL users must first configure EPEL.

yum -y install freight

Documentation

There's also French documentation assembled by Valérian Beaudoin.

Manuals

Contribute

Freight is BSD-licensed

Static analysis and code style

Shellcheck and shfmt are used to ensure consistency, please see the Travis configuration for the actual tests.

Test suite

The Freight test suite can be executed by running make check from any git checkout of this repository. git and GnuPG are required for most tests, and extended tests require apt.

Contributions should include a new test case where possible by extending one or more of the test/*.bats files.

Running tests in Docker

It's easy to run the full test suite in Docker. The following command will build a Docker image with the necessary packages and run make check inside a Docker container:

docker run -ti --rm -v $(pwd):/freight -u $(id -u) -w /freight $(docker build -q .) make check
VersionDownload/Install countLast hit