Skip to content

Commit

Permalink
feat: version 0.7.1 (#94)
Browse files Browse the repository at this point in the history
* feat: project build and packaging in docker
* fix: lag related to vendors finder
* fix: restoring properly every services that have been killed
* fix: logs are now set to info level by default
* fix: app is not dependent on systemd anymore
* fix: bruteforce startup issue with gnome-terminal
* fix: prevents airmon-ng interactive mode

Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier authored Mar 8, 2024
1 parent f1ba44f commit df75443
Show file tree
Hide file tree
Showing 25 changed files with 616 additions and 615 deletions.
3 changes: 1 addition & 2 deletions .fpm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-s dir ./target/release/airgorah ./icons/app_icon.png package README.md LICENSE
--name airgorah
--license MIT
--version 0.7.0
--version 0.7.1
--description "A WiFi auditing software that can perform deauth attacks and passwords cracking"
--url "https://github.com/martin-olivier/airgorah"
--maintainer "Martin Olivier <[email protected]>"
Expand All @@ -10,7 +10,6 @@
--conflicts airgorah

--depends bash
--depends systemd
--depends iw
--depends macchanger
--depends aircrack-ng
Expand Down
70 changes: 16 additions & 54 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: webiny/action-conventional-commits@v1.1.0
- uses: webiny/action-conventional-commits@v1.3.0

linter:
name: linter
Expand All @@ -25,14 +25,22 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt update && sudo apt install -y libgtk-4-dev libglib2.0-dev
- name: Create builder image
run: docker build . -t amd64_builder

- name: Clippy
run: cargo clippy --all --all-features -- -D warnings
run: >
docker run --rm
-v ${{ github.workspace }}:/workspace
amd64_builder
cargo clippy --all --all-features -- -D warnings
- name: Format
run: cargo fmt --all -- --check
run: >
docker run --rm
-v ${{ github.workspace }}:/workspace
amd64_builder
cargo fmt --all -- --check
build:
strategy:
Expand Down Expand Up @@ -63,40 +71,13 @@ jobs:
docker build .
--platform linux/${{ matrix.platform }}
-t ${{ matrix.image }}
-f docker/${{ matrix.image }}.Dockerfile
- name: Build project
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
${{ matrix.image }}
cargo build --release
- name: Install packaging dependencies
run: >
sudo apt update && sudo apt install -y
build-essential
ruby
ruby-dev
rubygems
rpm
libarchive-tools
- name: Install fpm
run: sudo gem install fpm

- name: Build debian package
run: >
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture ${{ matrix.arch }}
--depends policykit-1
--depends "libgtk-4-1 (>= 4.6.0)"
--depends dbus-x11
--depends wireshark-common
--depends iproute2
--depends mdk4
--depends crunch
- name: Test debian package
run: >
Expand All @@ -108,21 +89,12 @@ jobs:
sh -c "apt update && apt install -y ./airgorah_${{ matrix.arch }}.deb"
- name: Save debian artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: airgorah_${{ matrix.arch }}.deb
path: ./airgorah_${{ matrix.arch }}.deb
if-no-files-found: error

- name: Build redhat package
run: >
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture ${{ matrix.arch }}
--depends polkit
--depends "gtk4-devel >= 4.6.0"
--depends dbus-x11
--depends wireshark-cli
--depends iproute
- name: Test redhat package
run: >
docker run --rm
Expand All @@ -133,22 +105,12 @@ jobs:
sh -c "dnf update -y && dnf install -y ./airgorah_${{ matrix.arch }}.rpm"
- name: Save redhat artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: airgorah_${{ matrix.arch }}.rpm
path: ./airgorah_${{ matrix.arch }}.rpm
if-no-files-found: error

- name: Build archlinux package
run: >
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture ${{ matrix.arch }}
--depends polkit
--depends gtk4
--depends dbus
--depends wireshark-cli
--depends iproute2
--depends mdk4
- name: Test archlinux package
run: >
docker run --rm
Expand All @@ -159,7 +121,7 @@ jobs:
sh -c "pacman -Syu --noconfirm && pacman -U --noconfirm ./airgorah_${{ matrix.arch }}.pkg.tar.zst"
- name: Save archlinux artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: airgorah_${{ matrix.arch }}.pkg.tar.zst
path: ./airgorah_${{ matrix.arch }}.pkg.tar.zst
Expand Down
Loading

0 comments on commit df75443

Please sign in to comment.