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>
This commit is contained in:
David Young
2026-11-08 10:16:08 -07:00
co-authored by Claude Opus 5.5
parent 6e100ba7d2
commit cdba8b45e7
8 changed files with 158 additions and 0 deletions
+9
View File
@@ -215,12 +215,18 @@ start_sudo_keepalive || exit 1
echo "Removing graywolf systemd service..."
remove_graywolf_service
if [ -f "$HOME/.config/systemd/user/xara.service" ]; then
echo "Stopping xara..."
systemctl --user disable --now xara 2> /dev/null
fi
echo "Removing installed applications..."
remove_manifests
parse_conf "$HAMPACK_DIR/binaries.conf" remove_binary_app
parse_conf "$HAMPACK_DIR/compile.conf" remove_compiled_app
remove_unrecorded_build_files
sudo udevadm control --reload-rules
systemctl --user daemon-reload 2> /dev/null
echo "Removing HamPack scripts..."
rm -f "$BIN"/hampackrefresh "$BIN"/hampackupdate "$BIN"/hampackcheck "$BIN"/hampack
@@ -259,3 +265,6 @@ rm -rf "$HAMPACK_DIR"
echo ""
echo "HamPack has been removed."
if [ -d "$HOME/.config/xara" ]; then
echo "Your xara settings are still in ~/.config/xara; delete them if you don't need them."
fi