Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 22:57:25 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454216 - in head/devel: . rubygem-mono_logger
Message-ID:  <201711142257.vAEMvPDe000688@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Tue Nov 14 22:57:25 2017
New Revision: 454216
URL: https://svnweb.freebsd.org/changeset/ports/454216

Log:
  A lock-free logger compatible with Ruby 2.0

Added:
  head/devel/rubygem-mono_logger/
  head/devel/rubygem-mono_logger/Makefile   (contents, props changed)
  head/devel/rubygem-mono_logger/distinfo   (contents, props changed)
  head/devel/rubygem-mono_logger/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Nov 14 22:51:28 2017	(r454215)
+++ head/devel/Makefile	Tue Nov 14 22:57:25 2017	(r454216)
@@ -5593,6 +5593,7 @@
     SUBDIR += rubygem-moneta
     SUBDIR += rubygem-moneta06
     SUBDIR += rubygem-mongo
+    SUBDIR += rubygem-mono_logger
     SUBDIR += rubygem-msgpack
     SUBDIR += rubygem-msgpack1
     SUBDIR += rubygem-mspec

Added: head/devel/rubygem-mono_logger/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-mono_logger/Makefile	Tue Nov 14 22:57:25 2017	(r454216)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	mono_logger
+PORTVERSION=	1.1.0
+CATEGORIES=	devel ruby
+MASTER_SITES=	RG
+
+MAINTAINER=	dvl@FreeBSD.org
+COMMENT=	Lock-free logger compatible with Ruby 2.0
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+NO_ARCH=	yes
+USES=		gem
+USE_RUBY=	yes
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-mono_logger/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-mono_logger/distinfo	Tue Nov 14 22:57:25 2017	(r454216)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510682105
+SHA256 (rubygem/mono_logger-1.1.0.gem) = d7ab7f237935b295e072a99fa84379a3e1bcccd2822fee2ecfacecde07a6d7a3
+SIZE (rubygem/mono_logger-1.1.0.gem) = 10240

Added: head/devel/rubygem-mono_logger/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-mono_logger/pkg-descr	Tue Nov 14 22:57:25 2017	(r454216)
@@ -0,0 +1,5 @@
+Ruby's stdlib Logger wraps all IO in mutexes. Ruby 2.0 doesn't allow you to
+request a lock in a trap handler because that could deadlock. This gem fixes
+this issue by giving you a lock-free logger class.
+
+WWW: https://github.com/steveklabnik/mono_logger



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