Bug 227286 - [NEW PORT] sysutils/hared: Small Go server for inserting notifications into MQTT
Summary: [NEW PORT] sysutils/hared: Small Go server for inserting notifications into MQTT
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)
URL:
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2018-04-04 14:25 UTC by Mateusz Piotrowski
Modified: 2018-04-04 18:23 UTC (History)
1 user (show)

See Also:
0mp: maintainer-feedback+


Attachments
Shell archive with the new sysutils/hared port (version: 1.0-41-ge17cdc6) (3.55 KB, text/plain)
2018-04-04 14:25 UTC, Mateusz Piotrowski
no flags Details
Shell archive with the new sysutils/hared port (version: 1.0-41-ge17cdc6, revision: 1) (3.50 KB, text/plain)
2018-04-04 17:28 UTC, Mateusz Piotrowski
0mp: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-04-04 14:25:19 UTC
Created attachment 192212 [details]
Shell archive with the new sysutils/hared port (version: 1.0-41-ge17cdc6)

This is a port of a daemon for sysutils/hare. It ties up with sysutils/hare which is used in PAM to notify about an ssh login.

The port was requested by dvl@.

It was a little bit challenging to get Go dependencies right using GH_TUPLE, so I'd really appreciate some feedback before the port is merged into the ports collection.

QA:
 * portlint -AC
 * poudriere testport: 11.1 (amd64)
 * Builds on my FreeBSD 12.0-CURRENT r331748 amd64 machine.

I've not tested if the program runs fine though. vl@, could you run some tests, please? :)
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-04-04 17:28:14 UTC
Created attachment 192217 [details]
Shell archive with the new sysutils/hared port (version: 1.0-41-ge17cdc6, revision: 1)

Apply some changes suggested by dvl@:
 * Install configuration files to etc/ using @sample.
 * Remove the EXAMPLES option.

Also, dvl@ confirms that the port works.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-04 18:20:40 UTC
A commit references this bug:

Author: dvl
Date: Wed Apr  4 18:20:30 UTC 2018
New revision: 466450
URL: https://svnweb.freebsd.org/changeset/ports/466450

Log:
  sysutils/hared: Small Go server for inserting notifications into MQTT

  PR:		227286
  Submitted by:	Mateusz Piotrowski <0mp@FreeBSD.org>

Changes:
  head/sysutils/Makefile
  head/sysutils/hared/
  head/sysutils/hared/Makefile
  head/sysutils/hared/distinfo
  head/sysutils/hared/pkg-descr
  head/sysutils/hared/pkg-plist
Comment 3 Dan Langille freebsd_committer freebsd_triage 2018-04-04 18:23:29 UTC
I should have mentioned TLS support in the commit message.

Thank you