Bug 255439 - New port www/owncast - a small self-hostable streaming server in Go
Summary: New port www/owncast - a small self-hostable streaming server in Go
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: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-04-27 10:36 UTC by CTS - FreeBSD Team
Modified: 2021-04-27 16:54 UTC (History)
2 users (show)

See Also:

patch for new port www/owncast (17.03 KB, patch)
2021-04-27 10:36 UTC, CTS - FreeBSD Team
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)