Bug 255439

Summary: New port www/owncast - a small self-hostable streaming server in Go
Product: Ports & Packages Reporter: CTS - FreeBSD Team <de-freebsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi, se
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for new port www/owncast none

Description CTS - FreeBSD Team 2021-04-27 10:36:32 UTC
Created attachment 224469 [details]
patch for new port www/owncast

I just finished my first new port (so please be gentle ;-) for www/owncast

It's a small and simple self-hostable streaming server written in Go. You can read more about owncast itself on https://owncast.online

I also added a new user/group pair owncast to UIDs and GIDs so the owncast server can run with least privileges.

The port builds, installs and runs fine for FreeBSD 11 and 12 on/from my own poudriere build server.

Attached is my proposed patch for the ports.
Comment 1 Stefan Eßer freebsd_committer 2021-04-27 16:48:17 UTC
Thank you for the submission - I have tested it applied a small number of style changes to the Makefile:

"portclippy" suggested some re-ordering of definitions and suggests to mark private variables (e.g. OWNCLOUD_USER) by prefixing them with an underscore.

I have added a line reading "Created by: Markus Mann, CTS - FreeBSD Team <de-freebsd@ctseuro.com>" to the Makefile to document the author/source of this port.
Comment 2 commit-hook freebsd_committer 2021-04-27 16:54:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c973ae855ea63bcfd0d17dbe0aa5475fecf178a

commit 0c973ae855ea63bcfd0d17dbe0aa5475fecf178a
Author:     Stefan EÃer <se@FreeBSD.org>
AuthorDate: 2021-04-27 16:49:24 +0000
Commit:     Stefan EÃer <se@FreeBSD.org>
CommitDate: 2021-04-27 16:53:30 +0000

    www/owncast: new port of a self-hosted streaming service

    PR:             255439
    Obtained from:  Markus Mann, de-freebsd at ctseuro.com

 GIDs                               |   2 +-
 UIDs                               |   2 +-
 www/Makefile                       |   1 +
 www/owncast/Makefile (new)         |  54 ++++++++
 www/owncast/distinfo (new)         |   5 +
 www/owncast/files/owncast.in (new) |  42 ++++++
 www/owncast/pkg-descr (new)        |   7 +
 www/owncast/pkg-message (new)      |  15 +++
 www/owncast/pkg-plist (new)        | 266 +++++++++++++++++++++++++++++++++++++
 9 files changed, 392 insertions(+), 2 deletions(-)