Commit Graph
65 Commits
Author SHA1 Message Date
David YoungandClaude Opus 5.5 354a4cbe03 Stop installing xara, which its author has discontinued
On 2026-11-08 xara's author replaced its repository with a README saying
development and distribution have stopped, so it no longer builds and
every update failed trying (report CD-NTEU79). Remove its build entry,
the Rust toolchain and the libraries it alone needed, its tests and its
README section, which was also there twice.

hampackremove still stops xara's service and points to its settings,
for machines where an earlier HamPack built it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:06:01 -07:00
David YoungandClaude Opus 5.5 98b6c8c480 Build POTACAT's native decoders before packaging it
POTACAT 1.14 refuses to package unless its FT8 and JS8 decoders are
compiled, so the potacat build failed at npm run dist:linux. Run
npm run build-natives first, as POTACAT's own release builds do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:44:52 -07:00
David YoungandClaude Opus 5.5 cdba8b45e7 Add xara, a VARA-compatible modem, alongside VARA under Wine
- compile.conf: build xara 0.1.3 with cargo, without the "registered"
  feature; stage-install xara, xara-monitor, man pages, the user
  service (pointed at ~/.local/bin) and the CM108/AIOC PTT udev rule;
  copy the config template to ~/.config/xara/xara.conf if it's not
  there. The service isn't enabled: it needs a callsign, and shares
  port 8300 with VARA
- packages.conf: alsa-lib and libpulse; rust only when there's no cargo
  yet, since it conflicts with rustup
- hampackremove: stop and disable the xara service, keep the user's
  settings and say where they are
- README: how to set up xara and use it with Pat
- tests for the xara build, the rust/cargo check and removal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:16:08 -07:00
David YoungandClaude Opus 5.5 6e100ba7d2 Update POTACAT, pin Dump1090, version YAAC by date
- potacat 1.11.7 -> 1.14.1 (same build config and targets)
- Dump1090 has no tags; pin ref= to efe64db, which installed builds
  already match, so nothing is rebuilt
- YAAC.zip carries no version number; use its release date (2026-11-07,
  from Last-Modified) as version=, which picks up the newer release
- hampackcheck compares a pinned ref= with upstream HEAD for repos
  without version tags, and date versions with Last-Modified

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:00:54 -07:00
David YoungandClaude Opus 5.5 0b471c9771 Harden install, update and uninstall; add shared lib and tests
Updates
- install-compiled.sh never prompts: unknown versions rebuild, a missing
  version= fails
- Detect VARA Terminal by "VARA Terminal.exe" in drive_c/VARA, not by
  the folder VARA HF also uses
- install-windows-apps.sh checks first: nothing is downloaded and
  winetricks doesn't run unless a product is missing, and installers
  only run with a desktop session
- Flatpaks install system-wide from flathub and honor skip-packages
- Rewrite desktop files on every run so icon paths stay right; add the
  missing QtTermTCP desktop file
- Build steps can't read the rest of the conf through stdin

Uninstall
- update.sh records the packages and Flatpaks HamPack itself installed;
  hampackremove removes only those that nothing else needs, and lists
  the rest
- Read package lists from packages.conf instead of copies, remove
  files from install manifests, conf install paths and older builds,
  and revert the Wine Decorated setting

Security
- Replace the NOPASSWD sudoers file with a sudo keepalive, and delete a
  leftover /etc/sudoers.d/hampack
- Verify binaries.conf downloads against sha256=; pin dx.py to a commit
- Graywolf's web UI listens on 127.0.0.1; update.sh manages its unit
- Install direwolf and kiwix through a staging directory with
  install_staged, so nothing in ~/.local ends up owned by root; hand
  back any root-owned files left by older builds
- Use private temp directories instead of fixed /tmp paths

Code quality
- Shared lib.sh: conf parser, variable expansion, version records,
  install tracking, staged installs, sudo keepalive
- bats tests covering first install and update paths, Makefile with
  lint/test/hooks, pre-commit hook
- patch-potacat.sh uses jq; drop stale kiwix version entries

README: fill in what gets installed, uninstall and graywolf notes,
development section, typo and Matrix link fixes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:55:13 -07:00
David YoungandClaude Opus 5.5 ebda32d567 Fix kiwix-tools rebuilds, failed-build handling, and config expansion
- compile.conf: kiwix-tools never installs kiwix-lib, so it was rebuilt
  on every update; detect it by kiwix-serve instead
- install-compiled.sh: stop at the first failing build step, report the
  app as failed, and don't record its version so the next update retries
- install-binaries.sh, install-compiled.sh: expand only $HOME,
  $HAMPACK_DIR and $USER in config values instead of `eval echo`, which
  dropped semicolons (e.g. categories=HamRadio;) and mangled quotes and
  spacing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:24:58 -07:00
David Young 1a8bdda0aa sibling requirements 2026-10-20 06:21:18 -06:00
David Young b7c7b6f6e8 Conform to sibling requirements 2026-10-20 06:21:10 -06:00
David Young 7d9bdfcb35 set updates 2026-08-31 06:52:48 -06:00
David Young 34806ad470 updates 2026-08-24 07:12:03 -06:00
David Young 2b5c8f898a update potacat 2026-08-08 19:21:46 -06:00
David Young ba49271a0f updates 2026-07-27 07:26:43 -06:00
David Young fd25fa274f updates 2026-07-20 09:45:56 -06:00
David Young 773dda820d update versions 2026-07-13 06:47:03 -06:00
David Young 81b9a88673 compile updates 2026-06-29 07:08:36 -06:00
David Young 6c1d4942e7 updates for compiled 2026-06-24 17:19:32 -06:00
David Young 88c9b26be4 compile updates 2026-06-20 08:19:42 -06:00
David Young bfc7ffaf83 update compiled packages 2026-06-15 12:14:46 -06:00
David Young 2dd6986b8c various fixes 2026-06-05 15:23:07 -06:00
David Young 723f1eee34 more fixes for graywolf 2026-05-30 07:03:56 -06:00
David Young cf3e3ab8db fix graywolf install 2026-05-30 06:48:07 -06:00
David Young 725b1a9b18 add dialout group 2026-05-30 06:32:21 -06:00
David Young 401bdda2ad add graywolf 2026-05-30 06:29:33 -06:00
David Young 372d1d2408 more fixes 2026-05-23 16:48:20 -06:00
David Young 1ec77821b1 fix qtcompile 2026-05-23 16:39:51 -06:00
David Young 5b24401407 fix js8call 2026-05-19 11:07:02 -06:00
David Young 68dd17f712 remove js8call flatpak 2026-05-19 08:46:33 -06:00
David Young aa05ce35f4 fix js8call 2026-05-19 08:25:36 -06:00
David Young fd20f3919d add JS8Call 2026-05-19 05:58:35 -06:00
David Young 1dafb90386 potacat version update 2026-05-13 12:08:50 -06:00
David Young 17a2db099e update potacat 2026-05-11 06:27:18 -06:00
David Young 0b366fc383 compile fixes 2026-04-30 07:20:14 -06:00
David Young 73a6b7a83b various updates 2026-04-30 07:12:15 -06:00
David Young 78b1d32e69 fix versions 2026-04-29 15:00:05 -06:00
David Young fb9b129f06 update potacat 2026-04-02 13:54:42 -06:00
David Young 5483d413da more various more fixes 2026-03-26 14:10:28 -06:00
David Young 512b22916e fix kiwix-desktop 2026-03-26 13:39:09 -06:00
David Young 137395c0ce install direwolf.conf 2026-03-26 13:35:03 -06:00
David Young 5d88c7a750 fixed direwolf and explained compile.conf 2026-03-26 13:27:16 -06:00
David Young eb69f1876c installing direwolf fixes 2026-03-26 13:17:15 -06:00
David Young f7569179bf fix yaac config 2026-03-25 14:34:14 -06:00
David Young f9dd75938d further direwolf fixes 2026-03-25 14:28:14 -06:00
David Young 483d73689d another fix for direwolf 2026-03-25 14:22:54 -06:00
David Young f9014a837c fix direwolf 2026-03-25 14:18:16 -06:00
David Young 3abf4ea6c2 direwolf 2026-03-25 14:15:58 -06:00
David Young 9e1c024415 fix sudo error 2026-03-25 13:26:35 -06:00
David Young 21261973fe some more fixes 2026-03-24 10:50:38 -06:00
David Young 7eb26da156 mv yaac 2026-03-23 14:42:20 -06:00
David Young 2db594499c more yaac install fixes 2026-03-21 09:47:42 -06:00
David Young 6b09fc1da3 fixing working directory 2026-03-21 09:38:39 -06:00