Hi all,

I'm attempting to package up my Python tool to submit to the bug tracker for inclusion in the Kali toolset. Specifically, I'm working on this tool: https://github.com/sa7mon/S3Scanner

I tried following the guide here, but there's a lot of mistakes in it and some of the steps aren't really explained.

When I got to the last step in the guide where you run
gbp buildpackage --git-builder=sbuild
I got the following error:
dpkg-source: info: local changes detected, the modified files are:
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/s3scanner_1.0.0-0kali1.diff.LDRXSY
E: Failed to package source directory /home/dan/kali/build-area/s3scanner-1.0.0
gbp:error: 'sbuild' failed: it exited with 1
I think this may be because I was originally trying to build from the latest tag (1.0.0), but the local git repo has the master branch checked out. This is because I'm not able to run the gbp command when I have that tag checked out (after doing a "git checkout tags/1.0.0").

The guide made it seem like I needed to make a debian branch, so I branched off of master...maybe that was a mistake? I'm also not sure what is supposed to be in the helper-script file or the .install file. My tool needs the user to run a "pip install -r requirements.txt" at some point, but I'm not sure where to put that.

My debian folder is here: https://github.com/sa7mon/S3Scanner/tree/debian/debian

Any help would be greatly appreciated!