Updated all Signal Messenger related ports - libsignal, signal-cli, signald, and zkgroup to their respective latest version.
Some notes
- libsignal and zkgroup are Rust packages, and signal-cli and signald are Java.
- libsignal-client has been renamed upsteream to libsignal, so I renamed the port to match upstream naming.
- signal-cli now needs JDK 17+, and signald still needs JDK 11 (JDK 16+ not supported)
- Both signal-cli and signald now depend on sqlite JDBC driver.
- The port version of sqlite JDBC driver is very old and cannot be used.
- For now I have just kept the jar that gets bundled as part of the build and not replaced it with the port version. This jar includes the FreeBSD native library for sqlite. The native library is extracted at runtime to $TMPDIR which defaults to /tmp.
- However, this is problematic when /tmp is mounted with noexec, in which case the following works.
mkdir -p $HOME/TMP env _JAVA_OPTIONS=-Djava.io.tmpdir=$HOME/TMP /usr/local/bin/signal-cli #OR /usr/local/bin/signald
I was wondering if there is a better way to manage this. Or will a simple pkg message will suffice.