Some notes on how to maintain the radare2 Debian package.
The Debian package source is at https://salsa.debian.org/pkg-security-team/radare2
You'll need a salsa.debian.org
account to propose changes.
The following branches are of interest:
upstream
: Contains a copy of the Git repodebian/master
: Contains a Debianized copy of the Git repopristine-tar
: Contains source tarballspristine-lfs
: Contains the latest source tarball as LFS
Get a clean checkout.
$ git clone https://salsa.debian.org/pkg-security-team/radare2.git
Create local branches from remote branches.
$ git checkout upstream
$ git checkout pristine-lfs
$ git checkout pristine-tar
$ git checkout debian/master
Import the latest upstream version.
$ gbp import-orig --uscan
gbp:info: Launching uscan...
gbp:info: Using uscan downloaded tarball ../radare2_5.8.2+dfsg.orig.tar.xz
What is the upstream version? [5.8.2+dfsg]
gbp:info: Importing '../radare2_5.8.2+dfsg.orig.tar.xz' to branch 'upstream'...
gbp:info: Source package is radare2
gbp:info: Upstream version is 5.8.2+dfsg
gbp:info: Replacing upstream source on 'debian/master'
gbp:info: Successfully imported version 5.8.2+dfsg of ../radare2_5.8.2+dfsg.orig.tar.xz
Update changelog.