Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 19:02:43 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
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
Message-ID:  <201712081902.vB8J2hH5073041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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