Chleba / netscanner

Terminal Network scanner & diagnostic tool with modern TUI
MIT License
865 stars 20 forks source link

deb package #29

Closed Chleba closed 5 months ago

Chleba commented 6 months ago

Hi, I'm looking for a Debian package maintainer. It should be pretty simple but due to my small amount of spare time, I would like to have someone that would do that instead of me. There is cargo helper cargo-deb here: https://crates.io/crates/cargo-deb that should help with packaging netscanner and a tutorial on how to make a package for a Debian is here: https://wiki.debian.org/HowToPackageForDebian It would be much appreciated if someone would take this task under his/her wing.

Thanks a lot.

DominicOrsi commented 5 months ago

Hi @Chleba,

I will work on getting a Debian package for netscanner since I have a bit of free time. I have done a deb package before for a Rust program but nothing as complex as netscanner. I'll report back in the next few days with updates a progress.

Chleba commented 5 months ago

Hi @DominicOrsi, That is wonderful news. Thank You so much that You're putting Your valuable time into this. Let me know if I could help You with anything.

Chleba commented 5 months ago

@DominicOrsi btw. recently Kali Linux adopt netscanner and because it's based on Debian You may use something from it ... maybe? Here is some commits: https://gitlab.com/kalilinux/packages/netscanner/-/commits/kali/master

DominicOrsi commented 5 months ago

I'll take a look at the Kali release and see what I can use from there. Thanks for showing me this!

DominicOrsi commented 5 months ago

Hey @Chleba

How are you wanting the Debian package to be released. As a PPA or just a .deb package that someone can download then install?

Been looking at both options and curious what route you would like to do?

Chleba commented 5 months ago

I'm an old Debian guy but I haven't used it for more than a decade now so I am inclined to *.deb but I will completely leave that to You as a maintainer. You have my complete trust in this matter. Thank You.

DominicOrsi commented 5 months ago

Sounds good, I'll work on getting one up and running. Hopefully it can just be a GitHub workflow.

DominicOrsi commented 5 months ago

Hopefully will have a PR for .deb package by tonight. GitHub actions have me going :thinking:

Chleba commented 5 months ago

Amazing. Thank You so much for that. Will you share a link for a PR and github action code? I would really love to see that and learn from it something new.

DominicOrsi commented 5 months ago

How do you update the release tag at the moment? Is it manually changing it in Cargo.toml i.e. 0.5.1 to 0.5.2?

DominicOrsi commented 5 months ago

Amazing. Thank You so much for that. Will you share a link for a PR and github action code? I would really love to see that and learn from it something new.

Yes, I will. I have a fork of the repo that I am testing everything with. You can see the GitHub action. It is almost done, I had to create a new GitHub action to create the deb package with GitHub actions. Was a fun side quest.

Chleba commented 5 months ago

How do you update the release tag at the moment? Is it manually changing it in Cargo.toml i.e. 0.5.1 to 0.5.2?

Yes

Chleba commented 5 months ago

Yes, I will. I have a fork of the repo that I am testing everything with. You can see the GitHub action. It is almost done, I had to create a new GitHub action to create the deb package with GitHub actions. Was a fun side quest.

That's great :). Thanks again. Learning something new every day is fun, right ? :)

DominicOrsi commented 5 months ago

It is, was great dive into GitHub actions and docker containers in GitHub actions.

Chleba commented 5 months ago

Yea - docker is just great. I love it. I also have to take a look at you debian packager: https://github.com/DominicOrsi/cargo-deb-ubuntu.

Chleba commented 5 months ago

Closing this Issue with PR #33 merged. Awesome work @DominicOrsi :1st_place_medal: