Bug 261851 - [NEW PORT] www/kineto An HTTP to Gemini proxy
Summary: [NEW PORT] www/kineto An HTTP to Gemini proxy
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL: https://git.sr.ht/~sircmpwn/kineto
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-10 02:43 UTC by Corey Hinshaw
Modified: 2022-02-15 18:18 UTC (History)
2 users (show)

See Also:


Attachments
kineto.patch (5.14 KB, patch)
2022-02-10 02:43 UTC, Corey Hinshaw
no flags Details | Diff
kineto-2.patch (4.88 KB, patch)
2022-02-10 15:18 UTC, Corey Hinshaw
no flags Details | Diff
kineto-3.patch (4.80 KB, patch)
2022-02-10 17:06 UTC, Corey Hinshaw
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Corey Hinshaw 2022-02-10 02:43:30 UTC
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.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-10 06:57:01 UTC
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.
Comment 2 Corey Hinshaw 2022-02-10 15:18:06 UTC
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.
Comment 3 Corey Hinshaw 2022-02-10 17:06:58 UTC
Created attachment 231726 [details]
kineto-3.patch

One additional update to the patch to improve formatting of the rc.d script.
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2022-02-15 18:18:06 UTC
Committed!
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-15 18:18:25 UTC
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(+)