[Bug 276037] Update net-im/signal-cli to 0.12.5 and net-im/libsignal-client to 0.32.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Dec 2023 15:20:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276037

            Bug ID: 276037
           Summary: Update net-im/signal-cli to 0.12.5 and
                    net-im/libsignal-client to 0.32.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ml@netfence.it

Created attachment 247375
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247375&action=edit
git patch

Current version of net-im/signal-cli does not work anymore (I think the
upstream protocol changed in an incompatible way).
signal-cli is tightly coupled with net-im/libsignal-client, so that needs
updating too and I'm attaching a patch that treats both.

They build as a ports and in poudriere.
I was able to register a new account and send messages (which more or less sums
up to my use case); however it doesn't seem to work as a drop in replacement of
version 0.9.0 (currently in port tree), since it fails to read old account
data.

I removed the PowerPC patch as it does not apply anymore: I have no idea if
it's still needed with some modifications (since I don't have any access to a
PowerPC machine).
I left the BROKEN line for aarch64, instead, though I have no idea if it's
still the case.

I'd appreciate If anyone would test this, so that it could be integrated
(perhaps after polishing it a bit).
Comments are also welcome in case I did something in a non orthodox way :)
I might even accept maintainership, if nothing too big is missing.

Last thing: I tested this only on 2023Q4 port tree.
I guess it should work on main, but I'll test 2024Q1 ASAP.

Credits goes also to the people in #267407, as my work is based on their
patches for previous versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.