Am 08.01.23 um 11:53 schrieb Omar Polo: > On 2023/01/07 22:06:23 +0100, Martin Reindl <mar...@catai.org> wrote:
>> Comments? > > GH_* is not needed (usually) when using lang/go. You need, however, > to set DISTNAME. (GH_* sets DISTNAME too so that's why it was > working) > > Instead of do-install, extra tasks can be done in post-install. > > Needs @newgroup / @newuser in pkg/PLIST to create the user. > > Locally I'm reusing the "_letskencrypt" uid whose the port was deleted > 6 years ago (become acme-client in base.) > > Index: user.list > =================================================================== > RCS file: /home/cvs/ports/infrastructure/db/user.list,v > retrieving revision 1.414 > diff -u -p -r1.414 user.list > --- user.list 29 Dec 2022 23:41:58 -0000 1.414 > +++ user.list 8 Jan 2023 10:11:17 -0000 > @@ -283,7 +283,7 @@ id user group port > 772 _vault _vault security/vault > 773 _consul _consul sysutils/consul > 774 _facette _facette sysutils/facette > -#775 _letskencrypt _letskencrypt security/letskencrypt > +775 _ntfy _ntfy net/ntfy > 776 _ioq3 _ioq3 games/ioquake3 > 777 _svnserve _svnserve devel/subversion > 778 _gitdaemon _gitdaemon devel/git > > > I'm inlining a diff to your Makefile and an updated tarball with the > changes applied. (i've also taken the liberty to apply other minor > stylistic tweaks) > > It seems to work locally, I can use `curl' to send notifications from > various hosts, but I'm having issue with the application (from > fdroid). Very likely my fault, I'm testing this over wireguard and > with plain http, I'm probably missing something. > > I'd change the default port and use something different from :8080. > It's handy to type and so likely to be already used (i have some > testing httpd servers listening on 8080 for example) but I don't have > a better suggestion. > > If you're using it with relayd I guess it would be nice to ship a demo > config? not required but can be nice to have :) Hi Omar, Thank you for your comments, help and OK. No I don't use it with relayd, but actually run it on :8080 with Android and Mac clients. > Anyway, the attached port is ok op@ to import if someone wants to. That would be me then, if there is no objection, especially with reusing UID 775. Cheers, -martin@