From owner-svn-ports-all@freebsd.org Wed Apr 4 18:20:30 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B47E2F57559; Wed, 4 Apr 2018 18:20:30 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6809D6971E; Wed, 4 Apr 2018 18:20:30 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 62FB4174C7; Wed, 4 Apr 2018 18:20:30 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w34IKU6P094435; Wed, 4 Apr 2018 18:20:30 GMT (envelope-from dvl@FreeBSD.org) Received: (from dvl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w34IKTvG094427; Wed, 4 Apr 2018 18:20:29 GMT (envelope-from dvl@FreeBSD.org) Message-Id: <201804041820.w34IKTvG094427@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dvl set sender to dvl@FreeBSD.org using -f From: Dan Langille Date: Wed, 4 Apr 2018 18:20:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466450 - in head/sysutils: . hared X-SVN-Group: ports-head X-SVN-Commit-Author: dvl X-SVN-Commit-Paths: in head/sysutils: . hared X-SVN-Commit-Revision: 466450 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 18:20:30 -0000 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 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