Created attachment 231699 [details] kineto.patch Adds new port for kineto, an HTTP to Gemini proxy server written in Go. Homepage: https://git.sr.ht/~sircmpwn/kineto Fetching the go modules is based on the approach in mail/aerc, but let me know if there are better ways to handle go modules from different sources.
This doesn't build in the poudriere: https://gist.github.com/c025af799b0af116ffeee7e67241b851 It looks like we need to use GO_MODULE or set *_DEPENDS as needed. This project is hosted in git.sr.ht so I am not familiar with the correct way before reading more in Mk/Uses/go.mk.
Created attachment 231717 [details] kineto-2.patch Attaching a patch with an improved approach. Now relies on the targets provided by go.mk. Only differs from the standard targets in the portions that fetch from sr.ht.
Created attachment 231726 [details] kineto-3.patch One additional update to the patch to improve formatting of the rc.d script.
Committed!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=03949a77485f49fea02fd036622f91d1c1004671 commit 03949a77485f49fea02fd036622f91d1c1004671 Author: Corey Hinshaw <corey@electrickite.org> AuthorDate: 2022-02-10 17:03:46 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-02-15 18:17:47 +0000 www/kineto: Add port PR: 261851 www/kineto/Makefile (new) | 40 +++++++++++++++++++++++++++++ www/kineto/distinfo (new) | 11 ++++++++ www/kineto/files/kineto.in (new) | 55 ++++++++++++++++++++++++++++++++++++++++ www/kineto/pkg-descr (new) | 3 +++ 4 files changed, 109 insertions(+)