Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2018 18:20:29 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466450 - in head/sysutils: . hared
Message-ID:  <201804041820.w34IKTvG094427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Wed Apr  4 18:20:29 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>

Added:
  head/sysutils/hared/
  head/sysutils/hared/Makefile   (contents, props changed)
  head/sysutils/hared/distinfo   (contents, props changed)
  head/sysutils/hared/pkg-descr   (contents, props changed)
  head/sysutils/hared/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Apr  4 17:21:39 2018	(r466449)
+++ head/sysutils/Makefile	Wed Apr  4 18:20:29 2018	(r466450)
@@ -458,6 +458,7 @@
     SUBDIR += hal-info
     SUBDIR += hardlink
     SUBDIR += hare
+    SUBDIR += hared
     SUBDIR += hatop
     SUBDIR += hdrecover
     SUBDIR += healthd

Added: head/sysutils/hared/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hared/Makefile	Wed Apr  4 18:20:29 2018	(r466450)
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME=	hared
+DISTVERSION=	1.0-41
+DISTVERSIONSUFFIX=	-ge17cdc6
+CATEGORIES=	sysutils
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Small Go server for inserting notifications into MQTT
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go
+USE_GITHUB=	yes
+GH_ACCOUNT=	jpmens
+GH_PROJECT=	hared-hare
+
+GH_TUPLE=	go-gcfg:gcfg:f02745a:gcfg/src/gopkg.in/gcfg.v1 \
+		go-warnings:warnings:27b9fab:warnings/src/gopkg.in/warnings.v0 \
+		eclipse:paho.mqtt.golang:d4f545e:paho/src/github.com/eclipse/paho.mqtt.golang \
+		golang:net:9dfe398:net/src/golang.org/x/net \
+		gorilla:websocket:7a8dacf:websocket/src/github.com/gorilla/websocket
+
+OPTIONS_DEFINE=	DOCS
+
+ETCDIR=		${PREFIX}/etc
+
+do-build:
+	(cd ${GO_WRKSRC}; \
+	${SETENV} ${MAKE_ENV} ${GO_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \
+	${GO_CMD} build -o ${GO_PKGNAME} ./daemon/hared.go)
+
+do-install:
+	${INSTALL_PROGRAM} ${GO_WRKSRC}/${GO_PKGNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/daemon/hared.ini.example \
+		${STAGEDIR}${ETCDIR}/hared.ini.sample
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/sysutils/hared/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hared/distinfo	Wed Apr  4 18:20:29 2018	(r466450)
@@ -0,0 +1,13 @@
+TIMESTAMP = 1522849010
+SHA256 (jpmens-hared-hare-1.0-41-ge17cdc6_GH0.tar.gz) = f16038eaf12d7060462f36af60017141be748f5f9be0ebcd064fb39004156179
+SIZE (jpmens-hared-hare-1.0-41-ge17cdc6_GH0.tar.gz) = 16023
+SHA256 (go-gcfg-gcfg-f02745a_GH0.tar.gz) = cd1eb3b45b0cc06da82118bcd5cb15fa9f65b4ccb39d67050b666028f8bb9233
+SIZE (go-gcfg-gcfg-f02745a_GH0.tar.gz) = 28580
+SHA256 (go-warnings-warnings-27b9fab_GH0.tar.gz) = 1db6ca861b2f9f3a53e3dff65d6c2d1b675f2fc7c81dc4f5672e1aaf79b9fe7b
+SIZE (go-warnings-warnings-27b9fab_GH0.tar.gz) = 4200
+SHA256 (eclipse-paho.mqtt.golang-d4f545e_GH0.tar.gz) = 86a30f0018915f8f871d4946b1fcacaffec720fda689bdee024d9f91b00e1904
+SIZE (eclipse-paho.mqtt.golang-d4f545e_GH0.tar.gz) = 66673
+SHA256 (golang-net-9dfe398_GH0.tar.gz) = 0295d04500c538c0d5d18cf6969d26fa670b706b90660819b0018f601c163065
+SIZE (golang-net-9dfe398_GH0.tar.gz) = 925910
+SHA256 (gorilla-websocket-7a8dacf_GH0.tar.gz) = b47fcf26b1a73dda5bd409746669ec5ebe8c28bc96c70d82c00dfa7185eb1db7
+SIZE (gorilla-websocket-7a8dacf_GH0.tar.gz) = 42985

Added: head/sysutils/hared/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hared/pkg-descr	Wed Apr  4 18:20:29 2018	(r466450)
@@ -0,0 +1,7 @@
+Small Go server for receiving notifications and tossing them into MQTT.
+
+This will form part of a centralized message distribution system.
+
+A client for this server is sysutils/hare.
+
+WWW: https://github.com/jpmens/hared-hare

Added: head/sysutils/hared/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hared/pkg-plist	Wed Apr  4 18:20:29 2018	(r466450)
@@ -0,0 +1,3 @@
+bin/hared
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+@sample %%ETCDIR%%/hared.ini.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804041820.w34IKTvG094427>