Skip to content

Instantly share code, notes, and snippets.

@riptl
Created January 24, 2023 01:53
Show Gist options
  • Save riptl/b18b96c62f31313932dc27b07ed0bf47 to your computer and use it in GitHub Desktop.
Save riptl/b18b96c62f31313932dc27b07ed0bf47 to your computer and use it in GitHub Desktop.
Radare2 update instructions

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 repo
  • debian/master: Contains a Debianized copy of the Git repo
  • pristine-tar: Contains source tarballs
  • pristine-lfs: Contains the latest source tarball as LFS

Publishing a new release

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment