Debian Packaging
A while ago, I would like to package Quark to Debian package since we want to make Quark be part of Kali Linux. You can have a look at the link below.
Kali Linux Release
1. Prepare your Kali Linux virtual machine to build the Debian package.
Update your kali Linux package source
1 | echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list |
After setting up your virtual machine, you have to install the required packages based on the official documentation on this website.
Install the required dependencies
1 | sudo apt install -y packaging-dev apt-file gitk mr |
Set up sbuild and log in again after completion
1 | sudo mkdir -p /srv/chroots/ |
2. Creating the Debian files
The Debian package needs that the following four files are required in the debian directory.
- control
- copyright
- changelog
- rules
Here is the official documentation on how to write all four files.
3. Importing the Quark project
Please replace the version number you would like to update.
1 | mkdir -p ~/kali/packages/quark-engine ~/kali/upstream/ |
4. Build Package
1 | gbp buildpackage --git-builder=sbuild |
Then you will have the Quark .deb
file if everything goes well.
5. Request package upgrade
Register Kali Linux Bug Tracker
Report an issue
Report an issue by clicking the “Report Issue”
- Fill out the form
Please choose the “Tool upgrade request” option in category
and “kali-dev” option in product version
and keep anything else default value.
The next step is filling out the summary and the description.
- Attach the .deb file
Upload the .deb
file you just created earlier.
- Submit the issue
When everything is all set, you can click “Submit issue”.
Reference
https://www.kali.org/docs/development/public-packaging/
https://www.kali.org/docs/development/intro-to-packaging-example/
https://www.kali.org/docs/development/setting-up-packaging-system/
https://www.kali.org/docs/development/advanced-packaging-example/