Package Details: snx-rs 6.0.6-1

Git Clone URL: https://aur.archlinux.org/snx-rs.git (read-only, click to copy)
Package Base: snx-rs
Description: Rust client for Checkpoint VPN tunnels
Upstream URL: https://github.com/ancwrd1/snx-rs
Keywords: vpn
Licenses: AGPL-3.0-only
Submitter: zdenek-biberle
Maintainer: zdenek-biberle
Last Packager: zdenek-biberle
Votes: 9
Popularity: 0.67
First Submitted: 2023-12-29 11:17 (UTC)
Last Updated: 2026-05-15 21:02 (UTC)

Latest Comments

1 2 Next › Last »

zdenek-biberle commented on 2026-05-10 21:39 (UTC)

Can't say that I've ever seen that. That test does start an actual HTTP server, but I don't really see a reason why it might fail when the package is installed.

drdough commented on 2026-05-10 19:02 (UTC)

any idea why when updating the package 2 tests fail and the update fails:

 ...
 Compiling snxctl v6.0.5 (/home/joso/.cache/paru/clone/snx-rs/src/snx-rs-6.0.5/apps/snxctl)
   Compiling snx-rs v6.0.5 (/home/joso/.cache/paru/clone/snx-rs/src/snx-rs-6.0.5/apps/snx-rs)
   Compiling webkit6 v0.6.1
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 41s
     Running unittests src/lib.rs (target/debug/deps/i18n-5d12618f2e11ed42)
 ...
 test otp::tests::test_otp_lister_get ... FAILED
 test otp::tests::test_otp_lister_options ... FAILED
 failures:

---- otp::tests::test_otp_lister_get stdout ----

thread 'otp::tests::test_otp_lister_get' (1087356) panicked at crates/snxcore/src/otp.rs:137:46:
called `Result::unwrap()` on an `Err` value: deadline has elapsed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- otp::tests::test_otp_lister_options stdout ----

thread 'otp::tests::test_otp_lister_options' (1087357) panicked at crates/snxcore/src/otp.rs:142:50:
called `Result::unwrap()` on an `Err` value: deadline has elapsed


failures:
    otp::tests::test_otp_lister_get
    otp::tests::test_otp_lister_options

test result: FAILED. 40 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.02s

error: test failed, to rerun pass `-p snxcore --lib`
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'snx-rs-6.0.5-1': 

but if i now remove the package and install and build it again, the test passes and it is installed correctly.

zdenek-biberle commented on 2026-05-05 20:57 (UTC) (edited on 2026-05-10 21:26 (UTC) by zdenek-biberle)

Hi there, I've had that though a couple of times already, so I might as well do it now.

Thanks for the patch - I'll take a look at it sometime this week.

Edit: well, some things got in the way. Next week!

yan12125 commented on 2026-05-05 11:34 (UTC)

Hi, how do you think about splitting the package into a GUI and a non-GUI package? That allows using snx-rs without heavy GUI dependencies on a headless server. For example,

diff --git a/PKGBUILD b/PKGBUILD
index 87703fa..439528f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,48 @@
 # Maintainer: Zdeněk Biberle <zdenek at biberle dot net>
-pkgname=snx-rs
+pkgbase=snx-rs
+pkgname=(snx-rs-headless snx-rs)
 pkgver=6.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Rust client for Checkpoint VPN tunnels"
 arch=(x86_64)
 url=https://github.com/ancwrd1/snx-rs
 license=(AGPL-3.0-only)
-depends=(fontconfig glib2 glibc gtk4 hicolor-icon-theme libgcc openssl sqlite webkitgtk-6.0)
-makedepends=(cargo)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ancwrd1/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
+makedepends=(cargo fontconfig glib2 glibc gtk4 hicolor-icon-theme libgcc openssl sqlite webkitgtk-6.0)
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ancwrd1/$pkgbase/archive/refs/tags/v$pkgver.tar.gz")
 sha256sums=('90e3be33d641cd6ab2df8c6c70189e7fd339bd447cf752b9cc51567cd14e2abf')

 prepare() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgbase-$pkgver"
   export RUSTUP_TOOLCHAIN=stable
   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }

 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgbase-$pkgver"
   export RUSTUP_TOOLCHAIN=stable
   export CARGO_TARGET_DIR=target
   cargo build --frozen --release --features mobile-access
 }

 check() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgbase-$pkgver"
   export RUSTUP_TOOLCHAIN=stable
   cargo test --frozen --features mobile-access -- --skip platform::linux::tests::test_xfrm_check
 }

-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm0755 -t "$pkgdir/usr/bin/" target/release/{snx-rs,snxctl,snx-rs-gui}
+package_snx-rs-headless() {
+  depends=(glibc libgcc openssl sqlite)
+
+  cd "$pkgbase-$pkgver"
+  install -Dm0755 -t "$pkgdir/usr/bin/" target/release/{snx-rs,snxctl}
   install -Dm0644 -t "$pkgdir/usr/lib/systemd/system/" package/snx-rs.service
+}
+
+package_snx-rs() {
+  depends=(snx-rs-headless fontconfig glib2 glibc gtk4 hicolor-icon-theme libgcc openssl webkitgtk-6.0)
+
+  cd "$pkgbase-$pkgver"
+  install -Dm0755 -t "$pkgdir/usr/bin/" target/release/snx-rs-gui
   install -Dm0644 -t "$pkgdir/usr/share/applications/" package/snx-rs-gui.desktop
   install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/symbolic/apps/" package/icons/snx-rs-*
 }

ancwrd1 commented on 2025-08-19 10:53 (UTC)

@dargod you have to install AppIndicator extension for Gnome.

dargod commented on 2025-08-15 07:18 (UTC) (edited on 2025-08-15 07:20 (UTC) by dargod)

Can't run snx-rs-gui:

Error: failed to register to the StatusNotifierWatcher: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

with sudo:

Error: D-Bus connection error: I/O error: No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)         

Just fresh Manjaro gnome setup

zdenek-biberle commented on 2025-05-29 20:05 (UTC)

Hi there. Thanks for the notice and the patch. I did actually miss the fact that 4.4.0 is now out.

DragonX256 commented on 2025-05-29 14:38 (UTC) (edited on 2025-05-29 14:38 (UTC) by DragonX256)

Hello. 4.4.0 is available. Version change is enough, but since .desktop file got translated, changes to fix-desktop-file.patch are required:

--- snx-rs.orig/assets/snx-rs-gui.desktop
+++ snx-rs/assets/snx-rs-gui.desktop
@@ -51,7 +51,7 @@ Comment[ru_RU]=Клиент VPN Check Point
 Comment[sk_SK]=Klient VPN Check Point
 Comment[sv_SE]=Check Point VPN-klient
 Categories=Network;
-Exec=/opt/snx-rs/snx-rs-gui
+Exec=/usr/bin/snx-rs-gui
 Icon=network-vpn
 Keywords=network;vpn;
 Keywords[cs_CZ]=síť;vpn;
@@ -70,7 +70,7 @@ Keywords[pt_PT]=rede;vpn;
 Keywords[ru_RU]=сеть;vpn;
 Keywords[sk_SK]=sieť;vpn;
 Keywords[sv_SE]=nätverk;vpn;
-TryExec=/opt/snx-rs/snx-rs-gui
+TryExec=/usr/bin/snx-rs-gui
 Type=Application
 Actions=connect;disconnect;settings;status

@@ -92,7 +92,7 @@ Name[pt_PT]=Ligar
 Name[ru_RU]=Подключиться
 Name[sk_SK]=Pripojiť
 Name[sv_SE]=Anslut
-Exec=/opt/snx-rs/snx-rs-gui -m connect
+Exec=/usr/bin/snx-rs-gui -m connect

 [Desktop Action disconnect]
 Name=Disconnect
@@ -112,7 +112,7 @@ Name[pt_PT]=Desligar
 Name[ru_RU]=Отключиться
 Name[sk_SK]=Odpojiť
 Name[sv_SE]=Koppla från
-Exec=/opt/snx-rs/snx-rs-gui -m disconnect
+Exec=/usr/bin/snx-rs-gui -m disconnect

 [Desktop Action settings]
 Name=Settings
@@ -132,7 +132,7 @@ Name[pt_PT]=Definições
 Name[ru_RU]=Настройки
 Name[sk_SK]=Nastavenia
 Name[sv_SE]=Inställningar
-Exec=/opt/snx-rs/snx-rs-gui -m settings
+Exec=/usr/bin/snx-rs-gui -m settings

 [Desktop Action status]
 Name=Connection information
@@ -152,4 +152,4 @@ Name[pt_PT]=Informações de ligação
 Name[ru_RU]=Информация о соединении
 Name[sk_SK]=Informácie o pripojení
 Name[sv_SE]=Anslutningsinformation
-Exec=/opt/snx-rs/snx-rs-gui -m status
+Exec=/usr/bin/snx-rs-gui -m status

zdenek-biberle commented on 2024-12-01 19:41 (UTC)

No worries. I think that you flagged it just as I was pushing 2.8.0-1.

pqatsi commented on 2024-12-01 19:39 (UTC)

I've marked as outdated because AUR haven't replicated new version yet, but apparently PKGBUILD was.