From: Stuart Henderson Subject: Re: [NEW] net/deltachat-rpc-server-v1.159.3 To: Russ Sharek Cc: ports@openbsd.org Date: Thu, 3 Jul 2025 14:08:53 +0100 On 2025/05/12 16:43, Russ Sharek wrote: > Hello all, > > Here's a port for the deltachat-rpc-server v1.159.3 > > https://github.com/deltachat/deltachat-core-rust/tree/main/deltachat-rpc-server > > A few friends and I have been using this daily with arcanechat-tui on > amd64 for about six months, and it's been rock solid. > > By itself, the rpc server admittedly doesn't do much. However, it's a > behind the scenes component of several of deltachat's tools. This > includes the aforementioned tui client, which I am hoping to tackle > porting next. > > A huge thanks to abieber, without whom I'd still be banging my head > against the Makefile. :) > > OK, please? not sure that DIST_TUPLE really adds anything over GH_* for single-distfile github ports, but nevermind... diff below fixes up a few Makefile issues and tidies the comments which are pretty much implied by other things in the Makefile ... but might be better to build the whole source tree in one go rather than try and split it into separate ports? (mail/stalwart might gives some clues on that - especially MODCARGO_INSTALL_TARGET_PATHS if you don't run into problems until install stage) --- Makefile.orig Thu Jul 3 13:45:09 2025 +++ Makefile Thu Jul 3 13:51:17 2025 @@ -1,12 +1,7 @@ COMMENT = Delta Chat RPC server -# https://github.com/deltachat/deltachat-core-rust/tree/main/deltachat-rpc-server -# Currently building off this commit: -# https://github.com/chatmail/core/tree/846c8e7f1b7c07d5ec0817a1a82bc55bea9a72e4/deltachat-rpc-server +PKGNAME = deltachat-rpc-server-1.159.3 -V = 1.159.3 -DISTNAME = deltachat-rpc-server-${V} - DIST_TUPLE += github chatmail core \ 846c8e7f1b7c07d5ec0817a1a82bc55bea9a72e4 \ . @@ -27,7 +22,7 @@ CONFIGURE_STYLE = cargo USE_GMAKE = Yes -WRKDIST = ${WRKDIR}/core-846c8e7f1b7c07d5ec0817a1a82bc55bea9a72e4/deltachat-rpc-server +WRKSRC = ${WRKDIST}/deltachat-rpc-server .include "crates.inc"