From: Klemens Nanni Subject: Re: net/prosody: install prosody-migrator To: ports@openbsd.org Date: Tue, 22 Oct 2024 23:21:17 +0000 22.10.2024 21:37, Lucas Gabriel Vuotto пишет: > On Tue, Oct 22, 2024 at 03:53:42PM +0000, Lucas Gabriel Vuotto wrote: >> Hello ports@, >> >> somebody in the Prosody MUC asked about using prosody-migrator. It's a >> tool included in Prosody's source that allows for converting between >> storage backends and replicating data. I gave it a quick test and seems >> to work, so here's a patch for it. > > Updated patch. prosody-migrator was trying to drop priviledges to > prosody, but our user is _prosody. Fix that at source leve by changing > the default user when a config isn't present. > > In the meantime, the person asking for it was able successfully test it. > > OK? Not a prosody user, but looks OK port-wise with this fixed: > +post-build: > + cd ${WRKSRC}/tools/migration && make > + make(1) has -C and bsd.port.mk(5) offers MAKE_PROGRAM (lots of ports use MAKE, though).