Skip to content

Commit

Permalink
net/sniffnet: update to 1.1.3
Browse files Browse the repository at this point in the history
New features
 - Added feature to warn you when a newer version of Sniffnet is available on
   GitHub 🆕 (#118)
 - Added badge on tab bar to show unread notifications count
 - Added Romanian translation 🇷🇴 (#113)

Improvements
 - Introduction of lazy widgets to improve the application efficiency (#122)
 - Aesthetic improvements to create a more modern and minimal UI (use #119 to
   suggest me further improvements)
 - Changed keyboard shortcut to open settings from ctrl+S to ctrl+,, as
   suggested in #97
 - Refactored and cleaned code modules (#123)

Fixes
 - Fixed problem that was causing a switch to the initial page when back button
   was pressed with settings opened on running page and with no packets received
 - Fixed problem that was causing application logo to be partially hidden when
   resizing the window to a lower dimension
 - Show - option in app protocol picklist only when a filter is active
 - Fixed header alignment
  • Loading branch information
0323pin committed Apr 5, 2023
1 parent f8a2495 commit ecaaad7
Show file tree
Hide file tree
Showing 3 changed files with 302 additions and 75 deletions.
7 changes: 5 additions & 2 deletions net/sniffnet/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2023/04/01 16:01:01 pin Exp $
# $NetBSD: Makefile,v 1.7 2023/04/05 08:07:14 pin Exp $

DISTNAME= sniffnet-1.1.2
DISTNAME= sniffnet-1.1.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=GyulyVGC/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -17,6 +17,8 @@ USE_TOOLS+= pkg-config

INSTALLATION_DIRS= bin

MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.alsa-lib}/lib
Expand All @@ -29,6 +31,7 @@ DEPENDS+= alsa-plugins-oss-[0-9]*:../../audio/alsa-plugins-oss

.include "../../lang/rust/cargo.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../audio/alsa-lib/buildlink3.mk"
Expand Down
92 changes: 74 additions & 18 deletions net/sniffnet/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# $NetBSD: cargo-depends.mk,v 1.5 2023/04/01 16:01:01 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.6 2023/04/05 08:07:14 pin Exp $

CARGO_CRATE_DEPENDS+= Inflector-0.11.4
CARGO_CRATE_DEPENDS+= ab_glyph-0.2.20
CARGO_CRATE_DEPENDS+= ab_glyph_rasterizer-0.1.8
CARGO_CRATE_DEPENDS+= adler-1.0.2
CARGO_CRATE_DEPENDS+= ahash-0.7.6
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.20
CARGO_CRATE_DEPENDS+= aliasable-0.1.3
CARGO_CRATE_DEPENDS+= alsa-0.7.0
CARGO_CRATE_DEPENDS+= alsa-sys-0.3.1
CARGO_CRATE_DEPENDS+= android_system_properties-0.1.5
Expand All @@ -14,6 +16,7 @@ CARGO_CRATE_DEPENDS+= arrayvec-0.5.2
CARGO_CRATE_DEPENDS+= arrayvec-0.7.2
CARGO_CRATE_DEPENDS+= ash-0.37.2+1.3.238
CARGO_CRATE_DEPENDS+= autocfg-1.1.0
CARGO_CRATE_DEPENDS+= base64-0.21.0
CARGO_CRATE_DEPENDS+= bindgen-0.61.0
CARGO_CRATE_DEPENDS+= bit-set-0.5.3
CARGO_CRATE_DEPENDS+= bit-vec-0.6.3
Expand Down Expand Up @@ -83,12 +86,14 @@ CARGO_CRATE_DEPENDS+= encase_derive-0.3.0
CARGO_CRATE_DEPENDS+= encase_derive_impl-0.3.0
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.32
CARGO_CRATE_DEPENDS+= errno-0.2.8
CARGO_CRATE_DEPENDS+= errno-0.3.0
CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.2
CARGO_CRATE_DEPENDS+= error-code-2.3.1
CARGO_CRATE_DEPENDS+= etherparse-0.13.0
CARGO_CRATE_DEPENDS+= euclid-0.22.7
CARGO_CRATE_DEPENDS+= expat-sys-2.1.6
CARGO_CRATE_DEPENDS+= exr-1.5.3
CARGO_CRATE_DEPENDS+= fastrand-1.9.0
CARGO_CRATE_DEPENDS+= find-crate-0.6.3
CARGO_CRATE_DEPENDS+= flate2-1.0.25
CARGO_CRATE_DEPENDS+= float_next_after-0.1.5
Expand All @@ -99,18 +104,19 @@ CARGO_CRATE_DEPENDS+= foreign-types-0.5.0
CARGO_CRATE_DEPENDS+= foreign-types-macros-0.2.2
CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
CARGO_CRATE_DEPENDS+= foreign-types-shared-0.3.1
CARGO_CRATE_DEPENDS+= form_urlencoded-1.1.0
CARGO_CRATE_DEPENDS+= freetype-rs-0.26.0
CARGO_CRATE_DEPENDS+= freetype-sys-0.13.1
CARGO_CRATE_DEPENDS+= futures-0.3.26
CARGO_CRATE_DEPENDS+= futures-channel-0.3.26
CARGO_CRATE_DEPENDS+= futures-core-0.3.26
CARGO_CRATE_DEPENDS+= futures-executor-0.3.26
CARGO_CRATE_DEPENDS+= futures-io-0.3.26
CARGO_CRATE_DEPENDS+= futures-macro-0.3.26
CARGO_CRATE_DEPENDS+= futures-sink-0.3.26
CARGO_CRATE_DEPENDS+= futures-task-0.3.26
CARGO_CRATE_DEPENDS+= futures-0.3.27
CARGO_CRATE_DEPENDS+= futures-channel-0.3.27
CARGO_CRATE_DEPENDS+= futures-core-0.3.27
CARGO_CRATE_DEPENDS+= futures-executor-0.3.27
CARGO_CRATE_DEPENDS+= futures-io-0.3.27
CARGO_CRATE_DEPENDS+= futures-macro-0.3.27
CARGO_CRATE_DEPENDS+= futures-sink-0.3.27
CARGO_CRATE_DEPENDS+= futures-task-0.3.27
CARGO_CRATE_DEPENDS+= futures-timer-3.0.2
CARGO_CRATE_DEPENDS+= futures-util-0.3.26
CARGO_CRATE_DEPENDS+= futures-util-0.3.27
CARGO_CRATE_DEPENDS+= fxhash-0.2.1
CARGO_CRATE_DEPENDS+= gethostname-0.2.3
CARGO_CRATE_DEPENDS+= getrandom-0.2.8
Expand All @@ -127,26 +133,39 @@ CARGO_CRATE_DEPENDS+= gpu-alloc-types-0.2.0
CARGO_CRATE_DEPENDS+= gpu-descriptor-0.2.3
CARGO_CRATE_DEPENDS+= gpu-descriptor-types-0.1.1
CARGO_CRATE_DEPENDS+= guillotiere-0.6.2
CARGO_CRATE_DEPENDS+= h2-0.3.16
CARGO_CRATE_DEPENDS+= half-2.2.1
CARGO_CRATE_DEPENDS+= hashbrown-0.12.3
CARGO_CRATE_DEPENDS+= hermit-abi-0.2.6
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.1
CARGO_CRATE_DEPENDS+= hexf-parse-0.2.1
CARGO_CRATE_DEPENDS+= http-0.2.9
CARGO_CRATE_DEPENDS+= http-body-0.4.5
CARGO_CRATE_DEPENDS+= httparse-1.8.0
CARGO_CRATE_DEPENDS+= httpdate-1.0.2
CARGO_CRATE_DEPENDS+= hyper-0.14.25
CARGO_CRATE_DEPENDS+= hyper-tls-0.5.0
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.53
CARGO_CRATE_DEPENDS+= iana-time-zone-haiku-0.1.1
CARGO_CRATE_DEPENDS+= iced-0.8.0
CARGO_CRATE_DEPENDS+= iced_core-0.8.0
CARGO_CRATE_DEPENDS+= iced_futures-0.6.0
CARGO_CRATE_DEPENDS+= iced_glow-0.7.0
CARGO_CRATE_DEPENDS+= iced_graphics-0.7.0
CARGO_CRATE_DEPENDS+= iced_lazy-0.5.0
CARGO_CRATE_DEPENDS+= iced_native-0.9.1
CARGO_CRATE_DEPENDS+= iced_style-0.7.0
CARGO_CRATE_DEPENDS+= iced_wgpu-0.9.0
CARGO_CRATE_DEPENDS+= iced_winit-0.8.0
CARGO_CRATE_DEPENDS+= ident_case-1.0.1
CARGO_CRATE_DEPENDS+= idna-0.3.0
CARGO_CRATE_DEPENDS+= image-0.24.5
CARGO_CRATE_DEPENDS+= indexmap-1.9.2
CARGO_CRATE_DEPENDS+= indexmap-1.9.3
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= io-lifetimes-1.0.9
CARGO_CRATE_DEPENDS+= ipnet-2.7.2
CARGO_CRATE_DEPENDS+= ipnetwork-0.18.0
CARGO_CRATE_DEPENDS+= itoa-1.0.6
CARGO_CRATE_DEPENDS+= jni-0.19.0
CARGO_CRATE_DEPENDS+= jni-0.20.0
CARGO_CRATE_DEPENDS+= jni-sys-0.3.0
Expand All @@ -164,6 +183,7 @@ CARGO_CRATE_DEPENDS+= libloading-0.7.4
CARGO_CRATE_DEPENDS+= libm-0.2.6
CARGO_CRATE_DEPENDS+= link-cplusplus-1.0.8
CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.6
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.3.0
CARGO_CRATE_DEPENDS+= lock_api-0.4.9
CARGO_CRATE_DEPENDS+= log-0.4.17
CARGO_CRATE_DEPENDS+= lyon-1.0.1
Expand All @@ -179,12 +199,14 @@ CARGO_CRATE_DEPENDS+= memmap2-0.5.10
CARGO_CRATE_DEPENDS+= memoffset-0.6.5
CARGO_CRATE_DEPENDS+= memoffset-0.7.1
CARGO_CRATE_DEPENDS+= metal-0.24.0
CARGO_CRATE_DEPENDS+= mime-0.3.17
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.6.2
CARGO_CRATE_DEPENDS+= mio-0.8.6
CARGO_CRATE_DEPENDS+= mutate_once-0.1.1
CARGO_CRATE_DEPENDS+= naga-0.10.0
CARGO_CRATE_DEPENDS+= nanorand-0.7.0
CARGO_CRATE_DEPENDS+= native-tls-0.2.11
CARGO_CRATE_DEPENDS+= ndk-0.7.0
CARGO_CRATE_DEPENDS+= ndk-context-0.1.1
CARGO_CRATE_DEPENDS+= ndk-glue-0.7.0
Expand All @@ -209,7 +231,13 @@ CARGO_CRATE_DEPENDS+= objc_id-0.1.1
CARGO_CRATE_DEPENDS+= oboe-0.5.0
CARGO_CRATE_DEPENDS+= oboe-sys-0.5.0
CARGO_CRATE_DEPENDS+= once_cell-1.17.1
CARGO_CRATE_DEPENDS+= openssl-0.10.48
CARGO_CRATE_DEPENDS+= openssl-macros-0.1.0
CARGO_CRATE_DEPENDS+= openssl-probe-0.1.5
CARGO_CRATE_DEPENDS+= openssl-sys-0.9.83
CARGO_CRATE_DEPENDS+= ordered-float-3.4.0
CARGO_CRATE_DEPENDS+= ouroboros-0.13.0
CARGO_CRATE_DEPENDS+= ouroboros_macro-0.13.0
CARGO_CRATE_DEPENDS+= owned_ttf_parser-0.18.1
CARGO_CRATE_DEPENDS+= palette-0.6.1
CARGO_CRATE_DEPENDS+= palette_derive-0.6.1
Expand All @@ -235,6 +263,8 @@ CARGO_CRATE_DEPENDS+= plotters-iced-0.7.0
CARGO_CRATE_DEPENDS+= png-0.17.7
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.17
CARGO_CRATE_DEPENDS+= proc-macro-crate-1.3.0
CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.52
CARGO_CRATE_DEPENDS+= profiling-1.0.7
CARGO_CRATE_DEPENDS+= quote-1.0.26
Expand All @@ -248,25 +278,34 @@ CARGO_CRATE_DEPENDS+= raw-window-handle-0.5.0
CARGO_CRATE_DEPENDS+= rayon-1.6.1
CARGO_CRATE_DEPENDS+= rayon-core-1.10.2
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.16
CARGO_CRATE_DEPENDS+= redox_syscall-0.3.5
CARGO_CRATE_DEPENDS+= redox_users-0.4.3
CARGO_CRATE_DEPENDS+= regex-1.7.1
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.28
CARGO_CRATE_DEPENDS+= renderdoc-sys-0.7.1
CARGO_CRATE_DEPENDS+= reqwest-0.11.16
CARGO_CRATE_DEPENDS+= rodio-0.17.1
CARGO_CRATE_DEPENDS+= rstest-0.16.0
CARGO_CRATE_DEPENDS+= rstest_macros-0.16.0
CARGO_CRATE_DEPENDS+= rstest-0.17.0
CARGO_CRATE_DEPENDS+= rstest_macros-0.17.0
CARGO_CRATE_DEPENDS+= rustc-hash-1.1.0
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustix-0.37.3
CARGO_CRATE_DEPENDS+= ryu-1.0.13
CARGO_CRATE_DEPENDS+= safe_arch-0.5.2
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= schannel-0.1.21
CARGO_CRATE_DEPENDS+= scoped-tls-1.0.1
CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= scratch-1.0.3
CARGO_CRATE_DEPENDS+= sctk-adwaita-0.4.3
CARGO_CRATE_DEPENDS+= security-framework-2.8.2
CARGO_CRATE_DEPENDS+= security-framework-sys-2.8.0
CARGO_CRATE_DEPENDS+= semver-1.0.16
CARGO_CRATE_DEPENDS+= serde-1.0.157
CARGO_CRATE_DEPENDS+= serde_derive-1.0.157
CARGO_CRATE_DEPENDS+= serde-1.0.159
CARGO_CRATE_DEPENDS+= serde_derive-1.0.159
CARGO_CRATE_DEPENDS+= serde_json-1.0.95
CARGO_CRATE_DEPENDS+= serde_urlencoded-0.7.1
CARGO_CRATE_DEPENDS+= servo-fontconfig-0.5.1
CARGO_CRATE_DEPENDS+= servo-fontconfig-sys-5.1.0
CARGO_CRATE_DEPENDS+= shlex-1.1.0
Expand All @@ -277,8 +316,10 @@ CARGO_CRATE_DEPENDS+= slotmap-1.0.6
CARGO_CRATE_DEPENDS+= smallvec-1.10.0
CARGO_CRATE_DEPENDS+= smithay-client-toolkit-0.16.0
CARGO_CRATE_DEPENDS+= smithay-clipboard-0.6.6
CARGO_CRATE_DEPENDS+= spin-0.9.5
CARGO_CRATE_DEPENDS+= socket2-0.4.9
CARGO_CRATE_DEPENDS+= spin-0.9.8
CARGO_CRATE_DEPENDS+= spirv-0.2.0+1.5.4
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.2.0
CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
CARGO_CRATE_DEPENDS+= str-buf-1.0.6
CARGO_CRATE_DEPENDS+= strsim-0.10.0
Expand All @@ -288,7 +329,8 @@ CARGO_CRATE_DEPENDS+= symphonia-bundle-mp3-0.5.2
CARGO_CRATE_DEPENDS+= symphonia-core-0.5.2
CARGO_CRATE_DEPENDS+= symphonia-metadata-0.5.2
CARGO_CRATE_DEPENDS+= syn-1.0.109
CARGO_CRATE_DEPENDS+= syn-2.0.0
CARGO_CRATE_DEPENDS+= syn-2.0.4
CARGO_CRATE_DEPENDS+= tempfile-3.5.0
CARGO_CRATE_DEPENDS+= termcolor-1.2.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.38
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.38
Expand All @@ -297,19 +339,32 @@ CARGO_CRATE_DEPENDS+= threadpool-1.8.1
CARGO_CRATE_DEPENDS+= tiff-0.8.1
CARGO_CRATE_DEPENDS+= tiny-skia-0.7.0
CARGO_CRATE_DEPENDS+= tiny-skia-path-0.7.0
CARGO_CRATE_DEPENDS+= tokio-1.25.0
CARGO_CRATE_DEPENDS+= tinyvec-1.6.0
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.1
CARGO_CRATE_DEPENDS+= tokio-1.27.0
CARGO_CRATE_DEPENDS+= tokio-native-tls-0.3.1
CARGO_CRATE_DEPENDS+= tokio-util-0.7.7
CARGO_CRATE_DEPENDS+= toml-0.5.11
CARGO_CRATE_DEPENDS+= toml_datetime-0.5.1
CARGO_CRATE_DEPENDS+= toml_edit-0.18.1
CARGO_CRATE_DEPENDS+= tower-service-0.3.2
CARGO_CRATE_DEPENDS+= tracing-0.1.37
CARGO_CRATE_DEPENDS+= tracing-core-0.1.30
CARGO_CRATE_DEPENDS+= try-lock-0.2.4
CARGO_CRATE_DEPENDS+= ttf-parser-0.18.1
CARGO_CRATE_DEPENDS+= twox-hash-1.6.3
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.13
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.6
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.22
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.10.1
CARGO_CRATE_DEPENDS+= unicode-width-0.1.10
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.4
CARGO_CRATE_DEPENDS+= url-2.3.1
CARGO_CRATE_DEPENDS+= vcpkg-0.2.15
CARGO_CRATE_DEPENDS+= vec_map-0.8.2
CARGO_CRATE_DEPENDS+= version_check-0.9.4
CARGO_CRATE_DEPENDS+= walkdir-2.3.2
CARGO_CRATE_DEPENDS+= want-0.3.0
CARGO_CRATE_DEPENDS+= wasi-0.11.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.84
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.84
Expand Down Expand Up @@ -355,6 +410,7 @@ CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.42.1
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.36.1
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.42.1
CARGO_CRATE_DEPENDS+= winit-0.27.5
CARGO_CRATE_DEPENDS+= winreg-0.10.1
CARGO_CRATE_DEPENDS+= wio-0.2.2
CARGO_CRATE_DEPENDS+= x11-dl-2.21.0
CARGO_CRATE_DEPENDS+= x11rb-0.9.0
Expand Down
Loading

0 comments on commit ecaaad7

Please sign in to comment.