Commit c886d6d6 authored by olgeni's avatar olgeni
Browse files

Add devel/folsom, an Erlang based metrics system inspired by Coda

Hale's metrics.
parent 637c0b09
...@@ -445,6 +445,7 @@ ...@@ -445,6 +445,7 @@
SUBDIR += fmake SUBDIR += fmake
SUBDIR += fnccheck SUBDIR += fnccheck
SUBDIR += fnorb SUBDIR += fnorb
SUBDIR += folsom
SUBDIR += fortran-utils SUBDIR += fortran-utils
SUBDIR += fortytwo-encore SUBDIR += fortytwo-encore
SUBDIR += fossil SUBDIR += fossil
......
# $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>
SHA256 (boundary-folsom-0.8.2_GH0.tar.gz) = 2ed373fce6c5d012a2afc112dc55ad35a06f00a68ba410f7250f6be8ee66aac6
SIZE (boundary-folsom-0.8.2_GH0.tar.gz) = 174152
--- 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]}.
--- 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,
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
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment