pristine-gz

regenerate pristine tarballs

Install

All systems
curl cmd.cat/pristine-gz.sh
Debian Debian
apt-get install pristine-tar
Ubuntu
apt-get install pristine-tar
image/svg+xml Kali Linux
apt-get install pristine-tar
Windows (WSL2)
sudo apt-get update sudo apt-get install pristine-tar
Raspbian
apt-get install pristine-tar

pristine-tar

regenerate pristine tarballs

pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a revision control checkout of the upstream branch. The package also includes a pristine-gz command, which can regenerate a pristine .gz file, a pristine-bz2 for .bz2 files, and a pristine-xz for .xz files. The delta file is designed to be checked into revision control along-side the upstream branch, thus allowing Debian packages to be built entirely using sources in revision control, without the need to keep copies of upstream tarballs. An optional upstream signature may be attached to tarballs for verification by, for example, dpkg-source(1).