(As previous mail, but with the extra logs snipped out for clarity). Sorry, I should have done that before.

[email protected] wrote:
På torsdag 25. juni 2026 kl. 11:26, skrev Chris Billington
<[email protected]>:

Thanks- my mistake I had forgotten to re-enable that.
It takes 90 minutes or so to build on my old hardware.
Uncommenting the BUILD_DEPENDS += databases/sqlcipher should allow you
to continue testing.

Chris


Also tested on current/amd64 with privsep.

Tests:

===>  Regression tests for deltachat-rpc-server-2.53.0
warning: `panic` setting is ignored for `bench` profile

test peer_channels::tests::test_can_communicate has been running for over 60 
seconds
test peer_channels::tests::test_can_reconnect has been running for over 60 
seconds
--
// This is as far as it goes with privsep. I'll leave it overnight to
// make sure.


1/2 parla:storage-quota OK              0.06s
2/2 parla:markdown      OK              0.02s

Ok:                2
Fail:              0
--
// Parla's 'make test' completed.

'make port-lib-depends-check check-shlib-syms' did not report anything
amiss for either package.

# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap parla
parla-0.5.8: ok
--
// Installed fine.

Gave it a quick light test on sway. Ran natively.

No nits or grammar/spelling errors that I could see.

Looks fine other than the aforementioned BUILD_DEPENDS and maybe tests
for deltachat-rpc-server under privsep.

Hope this helps. May you all have a good one.
--
yaydn


Mikolaj Kucharski wrote:
Hi Chris.

Building deltachat-rpc-server failed for me with:

I see that sqlcipher is commented out in the Makefile.


On Thu, Jun 25, 2026 at 12:12:33PM +0800, Chris Billington wrote:
1       net/parla: DeltaChat email instant messaging client in GTK4/Vala

        upstream: https://github.com/trufae/parla

2       net/deltachat-rpc-server: DeltaChat JSON-RPC server in Rust
        (deltachat-rpc-server and deltachat-repl components only)

        upstream: https://github.com/chatmail/core

Delta Chat (https://delta.chat) is an encrypted instant messaging system
with clients for Android/IOS/Desktop. The Desktop client uses Electron so is
not available for OpenBSD, but the JSON-RPC variant is a lighter
alternative.

It's possible to use your own email server as a relay but upstream are
concentrating on providing 'chatmail' servers (default for registering new
'accounts', anonymously) to reduce support burden.

deltachat-rpc-server requires USE_NOEXECONLY to get around issues with the
awc-lc-rs TLS crate used by default by rustls. It is possible to patch to
use ring to avoid NOEXECONLY but I guess that's a heavier maintenance burden
pending awc-lc-sys upstream fixing the issue.

Tested on amd64 7.9-current and -stable
Testers and comments welcome




Updated deltachat-rpc-server with the following changes:

make:
- build only the deltachat-rpc-server package using MODCARGO_BUILD_ARGS. The default build is libdeltachat only, which is a dependency of deltachat-rpc-server. - add MODCARGO_ENV += LIBSQLITE3_SYS_USE_PKG_CONFIG=1 otherwise builds on 7.9-release/stable will link the bundled sqlcipher. cargo.port.mk on current already has this.
- remove deltachat-repl (useful only for debugging) to halve build time

make fake:
- to avoid a full rebuild of both libdeltachat and deltachat-rpc-server set MODCARGO_INSTALL= no, and do-install the deltachat-rpc-server binary built by make

make test:
- though there is some noise interleaved with tests from sqlcipher that pages are not being decrypted, the decryption clearly works on the final package. Not clear which tests the messages belong to. - make test only builds a temporary libdeltachat. No specific tests for deltachat-rpc-server. All 1087 tests pass, but 'make test' hangs after the last test has been completed ok.
- due to above, MODCARGO_TEST= no

Parla: no changes.
- minor bug: systemtray icon appears when set, but menu items nonfunctional (DBus 'No such method' error). Please test.

Tested on 7.9-stable and -current amd64
Testers and comments welcome

Chris

Attachment: deltachat-rpc-server.tgz
Description: application/compressed-tar

Attachment: parla.tgz
Description: application/compressed-tar

Reply via email to