Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2015 12:55:13 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386858 - in head/devel: . folsom folsom/files
Message-ID:  <201505201255.t4KCtD3u058333@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed May 20 12:55:13 2015
New Revision: 386858
URL: https://svnweb.freebsd.org/changeset/ports/386858

Log:
  Add devel/folsom, an Erlang based metrics system inspired by Coda
  Hale's metrics.

Added:
  head/devel/folsom/
  head/devel/folsom/Makefile   (contents, props changed)
  head/devel/folsom/distinfo   (contents, props changed)
  head/devel/folsom/files/
  head/devel/folsom/files/patch-rebar.config   (contents, props changed)
  head/devel/folsom/files/patch-src_folsom.app.src   (contents, props changed)
  head/devel/folsom/pkg-descr   (contents, props changed)
  head/devel/folsom/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed May 20 12:50:47 2015	(r386857)
+++ head/devel/Makefile	Wed May 20 12:55:13 2015	(r386858)
@@ -445,6 +445,7 @@
     SUBDIR += fmake
     SUBDIR += fnccheck
     SUBDIR += fnorb
+    SUBDIR += folsom
     SUBDIR += fortran-utils
     SUBDIR += fortytwo-encore
     SUBDIR += fossil

Added: head/devel/folsom/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/Makefile	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME=	folsom
+PORTVERSION=	0.8.2
+CATEGORIES=	devel
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Erlang based metrics system inspired by Coda Hale's metrics
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	erl:${PORTSDIR}/lang/erlang \
+		bear>=0.8.2:${PORTSDIR}/devel/bear
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	boundary
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/folsom.app.src
+	@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+
+do-build:
+	@cd ${WRKSRC} && ./rebar compile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+
+.include <bsd.port.mk>

Added: head/devel/folsom/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/distinfo	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,2 @@
+SHA256 (boundary-folsom-0.8.2_GH0.tar.gz) = 2ed373fce6c5d012a2afc112dc55ad35a06f00a68ba410f7250f6be8ee66aac6
+SIZE (boundary-folsom-0.8.2_GH0.tar.gz) = 174152

Added: head/devel/folsom/files/patch-rebar.config
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/files/patch-rebar.config	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,11 @@
+--- rebar.config.orig	2015-05-20 12:38:09 UTC
++++ rebar.config
+@@ -1,8 +1,6 @@
+ {sub_dirs, ["deps"]}.
+ 
+ {deps, [
+-    {'bear', ".*", {git, "git://github.com/boundary/bear.git", {tag, "0.8.2"}}},
+-    {meck, ".*", {git, "git://github.com/eproxus/meck", {tag, "0.8.2"}}}
+ ]}.
+ 
+ {erl_opts, [debug_info]}.

Added: head/devel/folsom/files/patch-src_folsom.app.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/files/patch-src_folsom.app.src	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,11 @@
+--- src/folsom.app.src.orig	2015-05-20 12:38:29 UTC
++++ src/folsom.app.src
+@@ -2,7 +2,7 @@
+ {application, folsom,
+  [
+   {description, "Erlang based metrics system"},
+-  {vsn, git},
++  {vsn, "%%PORTVERSION%%"},
+   {modules, []},
+   {registered, [folsom_meter_timer_server,
+                 folsom_metrics_histogram_ets,

Added: head/devel/folsom/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/pkg-descr	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,8 @@
+Folsom is an Erlang based metrics system inspired by Coda Hale's
+metrics. The metrics API's purpose is to collect real-time metrics
+from your Erlang applications and publish them via Erlang APIs and
+output plugins. folsom is not a persistent store. There are 6 types
+of metrics: counters, gauges, histograms (and timers), histories,
+meter_readers and meters.
+
+WWW: https://github.com/boundary/folsom

Added: head/devel/folsom/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/folsom/pkg-plist	Wed May 20 12:55:13 2015	(r386858)
@@ -0,0 +1,56 @@
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom.app
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_ets.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_ewma.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_meter_timer_server.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_counter.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_duration.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_gauge.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_histogram.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_histogram_ets.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_history.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_meter.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_meter_reader.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_metrics_spiral.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_exdec.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_none.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_slide.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_slide_server.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_slide_sorted.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_slide_sup.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_slide_uniform.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sample_uniform.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_sup.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_utils.beam
+lib/erlang/lib/folsom-%%VERSION%%/ebin/folsom_vm_metrics.beam
+lib/erlang/lib/folsom-%%VERSION%%/include/folsom.hrl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom.app.src
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_ets.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_ewma.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_meter_timer_server.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_counter.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_duration.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_gauge.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_histogram.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_histogram_ets.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_history.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_meter.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_meter_reader.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_metrics_spiral.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_exdec.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_none.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_slide.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_slide_server.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_slide_sorted.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_slide_sup.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_slide_uniform.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sample_uniform.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_sup.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_utils.erl
+lib/erlang/lib/folsom-%%VERSION%%/src/folsom_vm_metrics.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md



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