From owner-svn-ports-head@freebsd.org Fri Dec 8 19:02:45 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E942E8B7A6; Fri, 8 Dec 2017 19:02:45 +0000 (UTC) (envelope-from krion@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 mx1.freebsd.org (Postfix) with ESMTPS id 2D2D97F1F8; Fri, 8 Dec 2017 19:02:45 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB8J2iDH073048; Fri, 8 Dec 2017 19:02:44 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB8J2hH5073041; Fri, 8 Dec 2017 19:02:43 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201712081902.vB8J2hH5073041@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Fri, 8 Dec 2017 19:02:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455795 - in head/net-mgmt: . metronome metronome/files X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/net-mgmt: . metronome metronome/files X-SVN-Commit-Revision: 455795 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 19:02:45 -0000 Author: krion Date: Fri Dec 8 19:02:43 2017 New Revision: 455795 URL: https://svnweb.freebsd.org/changeset/ports/455795 Log: Add net-mgmt/metronome: Mini-graphite that uses client-side java script to render graphs w/o depending on graphite. metronome implements the carbon protocol, so anything that can feed Graphite can feed metronome. We also accept submissions via POST. WWW: https://github.com/ahupowerdns/metronome Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D13285 Added: head/net-mgmt/metronome/ head/net-mgmt/metronome/Makefile (contents, props changed) head/net-mgmt/metronome/distinfo (contents, props changed) head/net-mgmt/metronome/files/ head/net-mgmt/metronome/files/pkg-message.in (contents, props changed) head/net-mgmt/metronome/pkg-descr (contents, props changed) head/net-mgmt/metronome/pkg-plist (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Fri Dec 8 18:56:08 2017 (r455794) +++ head/net-mgmt/Makefile Fri Dec 8 19:02:43 2017 (r455795) @@ -123,6 +123,7 @@ SUBDIR += lldpd SUBDIR += mbrowse SUBDIR += mdata-client + SUBDIR += metronome SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg Added: head/net-mgmt/metronome/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/metronome/Makefile Fri Dec 8 19:02:43 2017 (r455795) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= metronome +DISTVERSION= 0.9.0 +CATEGORIES= net-mgmt dns + +MAINTAINER= krion@FreeBSD.org +COMMENT= Client-side java script to render graphs w/o depending on graphite + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= eigen>0:math/eigen3 +LIB_DEPENDS= libboost_thread.so:devel/boost-libs + +USES= autoreconf:build libtool:build pathfix pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= ahupowerdns + +GNU_CONFIGURE= yes +LDFLAGS+= -L${LOCALBASE}/lib +USE_LDCONFIG= yes +SUB_FILES= pkg-message +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOCS + +pre-configure: + (cd ${WRKSRC}; ./bootstrap ) + +.include Added: head/net-mgmt/metronome/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/metronome/distinfo Fri Dec 8 19:02:43 2017 (r455795) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511885551 +SHA256 (ahupowerdns-metronome-0.9.0_GH0.tar.gz) = 38bca2e5a57d3fbeeb3c36bd2d0213b3fb489f407853b2b98fec3c8765c06239 +SIZE (ahupowerdns-metronome-0.9.0_GH0.tar.gz) = 203074 Added: head/net-mgmt/metronome/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/metronome/files/pkg-message.in Fri Dec 8 19:02:43 2017 (r455795) @@ -0,0 +1,7 @@ +To run metronome create manually directory $PATH/stats: + +mkdir stats +metronome --stats-directory=$PATH/stats + +Edit %%DATADIR%%/html/local.js and add webserver IP address (port +8000 on :: by default). Added: head/net-mgmt/metronome/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/metronome/pkg-descr Fri Dec 8 19:02:43 2017 (r455795) @@ -0,0 +1,7 @@ +Mini-graphite that uses client-side java script to render graphs w/o +depending on graphite. + +metronome implements the carbon protocol, so anything that can feed +Graphite can feed metronome. We also accept submissions via POST. + +WWW: https://github.com/ahupowerdns/metronome Added: head/net-mgmt/metronome/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/metronome/pkg-plist Fri Dec 8 19:02:43 2017 (r455795) @@ -0,0 +1,20 @@ +bin/mdump +bin/metronome +bin/mmanage +bin/msubmit +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%DATADIR%%/html/detail.css +%%DATADIR%%/html/engine.js +%%DATADIR%%/html/graph.css +%%DATADIR%%/html/graphs.js +%%DATADIR%%/html/index.html +%%DATADIR%%/html/js/common.js +%%DATADIR%%/html/js/d3.v3.js +%%DATADIR%%/html/js/jquery-1.8.3.min.js +%%DATADIR%%/html/js/jsrender.js +%%DATADIR%%/html/js/purl.js +%%DATADIR%%/html/js/rickshaw.min.js +%%DATADIR%%/html/js/underscore-min.js +%%DATADIR%%/html/legend.css +%%DATADIR%%/html/lines.css +%%DATADIR%%/html/local.js