Briar's APT repo
This project contains helper scripts around Briar's APT repository. To use the apt repository to install Briar's apps on your device, do the following:
# Download Briar's PGP key
wget -O- https://briarproject.org/keys/contact.asc | sudo apt-key add -
# Add Briar's repo to APT's sources list
echo "deb [arch=amd64] https://apt.briarproject.org/ bullseye main" | sudo tee -a /etc/apt/sources.list.d/briar-bullseye.list
# Update APT and install e.g. Briar GTK
sudo apt update && sudo apt install briar-gtk
How it works
The packages in this apt repo are built reproducibly by various different reproducers:
Later on these built .deb files are collected by aptly, a tool for maintaining apt repositories.
How to use
When setting up the apt repo, call ./setup.sh
.
Once you've built .deb files, place them together with the source packages
into debs-to-add/ and call ./add-debs.sh
. This will add those
binary and source packages to the repository, create a new snapshot and update
aptly/public/ which can then be published by e.g. rsync:
rsync -avzPh --progress --checksum --delete-after aptly/public/ briar:/var/www/apt/
For adding a new release of e.g. Briar GTK, you would need to place the following files into debs-to-add/:
briar-headless_1.2.18.orig.tar.gz
briar-headless_1.2.18-1.debian.tar.xz
briar-headless_1.2.18-1.dsc
briar-headless_1.2.18-1_amd64.buildinfo
briar-headless_1.2.18-1_amd64.changes
briar-headless_1.2.18-1_amd64.deb