zapretgui/packaging/linux/deb/control.in
loop-uh ca0bd7a9f3
All checks were successful
Zapret source guards / validate (push) Successful in 9s
Linux bundle: UTF-8 restart, helper role in the same program, .deb scripts and start wrappers
First Nuitka build of the program on Linux showed that the compiled program does not turn the "C" locale into UTF-8: Russian preset file names became lone surrogates and the first-run seeding of the data folder failed. New `Launch.prepare_process()` (no-op on Windows and in the stub) restarts the Linux program once in UTF-8 mode; the start wrappers also set PYTHONUTF8=1.

`src/main.py --zapret-helper` runs the same compiled file in the helper role (what zapretgui-helper.service starts). New: packaging/linux/bin/{zapretgui,zapretgui-helper}, packaging/linux/deb/{control.in,postinst,prerm,postrm}, tests for the wrappers, the dispatch and the .deb files.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:46:20 -05:00

14 lines
704 B
Text

Package: zapretgui
Version: @VERSION@
Section: net
Priority: optional
Architecture: amd64
Maintainer: Zapret <noreply@zapret.moe>
Depends: nftables, systemd, libluajit-5.1-2, zlib1g, libnetfilter-queue1, libnfnetlink0, libmnl0, libcap2, libxcb-cursor0, libxkbcommon-x11-0, libegl1, libgl1, libfontconfig1, libdbus-1-3
Recommends: policykit-1 | polkitd, libnotify-bin, xdg-utils
Installed-Size: @SIZE@
Homepage: https://uwrmkvouze.fuckingspeedtest.com/
Description: Zapret: bypass of network blocks with a window
Presets, tray icon, DNS settings and checks on top of zapret2 (nfqws2).
The window runs as the normal user; a small root service (zapretgui-helper)
owns the firewall table "inet zapretgui" and the engine.