Created attachment 249997 [details] patch for the snac package This adds a new package `snac`, an ActivityPub server. Homepage is here: https://codeberg.org/grunfink/snac2 This port is a service that runs as `snac`. It includes a new user and group (nologin) and stores its data in a file structure. I took great care to make the UX for setting up the package as easy as possible. Instructions are in the pkg-message.
Comment on attachment 249997 [details] patch for the snac package Updated mimetype
1. Have you build tested this using poudriere? 2. Have you ran portlint/portclippy? 3. Languages like YOU/WE should be avoided in pkg-message.
Created attachment 250351 [details] Updated patch for the snac package Updated to: - take suggestions from portclippy - Reword the pkg-message to remove "you" verbiage.
@Muhammad Moinur Rahman: 1. I've never been able to get poudriere to work on my box. I use a VPS with UFS so its not a normal setup. poudriere doesn't work for any ports. I test using `make test` and examining the staging folder. In this case I also installed the port on my machine and tested the service. I'm using the port currently. 2. Yes. 3. Updated with a new patch to address this. Thanks!
testbuilds done on 15.0a, 15.0i, 14.0a, 13.3a.
(In reply to Kurt Jaeger from comment #5) (using poudriere)
(In reply to Kurt Jaeger from comment #6) UIDs/GIDs needed adjustment, FYI.
Upstream is also at 2.57
(In reply to Daniel Engberg from comment #8) with updated version builds just as good.
Created attachment 252984 [details] snac patch Updated the patch to change the GID/UID and upgrade to latest version of the software. Note that the 336 number appears in UID already but not in GID. I don't know how this works fully, so if I need to grab a different number let me know.
(In reply to Matthew Phillips from comment #10) If the uid is already in use, please pick a different uid and the matching gid.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c39afa6d93121276520e56609de8fa02c393fa80 commit c39afa6d93121276520e56609de8fa02c393fa80 Author: Matthew Phillips <matthew@matthewphillips.info> AuthorDate: 2024-10-28 19:18:54 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2024-10-28 19:20:36 +0000 net-im/snac: new port Snac is a simple, minimalistic ActivityPub instance. It features: - Lightweight, minimal dependencies - Extensive support of ActivityPub operations. - Multiuser - Mastodon API support, so Mastodon-compatible apps can be used - Simple but effective web interface - Easily-accessed MUTE button - Tested interoperability with related software - No database needed - Totally JavaScript-free PR: 278385 Reviewed by: bofh GIDs | 2 +- UIDs | 1 + net-im/Makefile | 1 + net-im/snac/Makefile (new) | 40 ++++++++++++++++++++++ net-im/snac/distinfo (new) | 3 ++ net-im/snac/files/patch-Makefile (new) | 33 ++++++++++++++++++ net-im/snac/files/pkg-message.in (new) | 27 +++++++++++++++ net-im/snac/files/snac.in (new) | 62 ++++++++++++++++++++++++++++++++++ net-im/snac/pkg-descr (new) | 13 +++++++ 9 files changed, 181 insertions(+), 1 deletion(-)