From 5d9b904f41ba5896945c860b380f6343e0530e86 Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 10 Jun 2017 16:08:06 +0000 Subject: Add ruby-syslog-logger package version 1.6.8. Logger::Syslog is a Logger replacement that logs to syslog. It is almost drop-in with a few caveats. You can add Logger::Syslog to your Rails production environment to aggregate logs between multiple machines. NOTE! You can only set the Logger::Syslog program name and facility when you initialize Logger::Syslog for the first time. This is a limitation of the way Logger::Syslog uses syslog (and in some ways, a limitation of the way syslog(3) works). Attempts to change Logger::Syslog's program name or facility after the first initialization will be ignored. This particular Logger::Syslog improves the original by correctly mapping Rails log severities to the Syslog counterparts. It also adds the ability to select a syslog facility other than "user." --- sysutils/ruby-syslog-logger/DESCR | 12 ++++++++++++ sysutils/ruby-syslog-logger/Makefile | 12 ++++++++++++ sysutils/ruby-syslog-logger/PLIST | 6 ++++++ sysutils/ruby-syslog-logger/distinfo | 6 ++++++ 4 files changed, 36 insertions(+) create mode 100644 sysutils/ruby-syslog-logger/DESCR create mode 100644 sysutils/ruby-syslog-logger/Makefile create mode 100644 sysutils/ruby-syslog-logger/PLIST create mode 100644 sysutils/ruby-syslog-logger/distinfo (limited to 'sysutils') diff --git a/sysutils/ruby-syslog-logger/DESCR b/sysutils/ruby-syslog-logger/DESCR new file mode 100644 index 00000000000..7f32d4a0d56 --- /dev/null +++ b/sysutils/ruby-syslog-logger/DESCR @@ -0,0 +1,12 @@ +Logger::Syslog is a Logger replacement that logs to syslog. It is almost drop-in +with a few caveats. You can add Logger::Syslog to your Rails production +environment to aggregate logs between multiple machines. + +NOTE! You can only set the Logger::Syslog program name and facility when you initialize +Logger::Syslog for the first time. This is a limitation of the way Logger::Syslog +uses syslog (and in some ways, a limitation of the way syslog(3) works). +Attempts to change Logger::Syslog's program name or facility after the first initialization +will be ignored. + +This particular Logger::Syslog improves the original by correctly mapping Rails log severities to +the Syslog counterparts. It also adds the ability to select a syslog facility other than "user." diff --git a/sysutils/ruby-syslog-logger/Makefile b/sysutils/ruby-syslog-logger/Makefile new file mode 100644 index 00000000000..af57db239fd --- /dev/null +++ b/sysutils/ruby-syslog-logger/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2017/06/10 16:08:06 taca Exp $ + +DISTNAME= syslog-logger-1.6.8 +CATEGORIES= sysutils + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/ngmoco/syslog_logger +COMMENT= Improved Logger replacement that logs to syslog +LICENSE= mit + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ruby-syslog-logger/PLIST b/sysutils/ruby-syslog-logger/PLIST new file mode 100644 index 00000000000..869cf9c6643 --- /dev/null +++ b/sysutils/ruby-syslog-logger/PLIST @@ -0,0 +1,6 @@ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/lib/syslog-formatter.rb +${GEM_LIBDIR}/lib/syslog-logger.rb +${GEM_LIBDIR}/test/test_syslog_logger.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/sysutils/ruby-syslog-logger/distinfo b/sysutils/ruby-syslog-logger/distinfo new file mode 100644 index 00000000000..257bf7bd557 --- /dev/null +++ b/sysutils/ruby-syslog-logger/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/06/10 16:08:06 taca Exp $ + +SHA1 (syslog-logger-1.6.8.gem) = 9b5873533bfedaac7a8c1dc1865dd4c43ea13619 +RMD160 (syslog-logger-1.6.8.gem) = a292df72ae85c5d796cbdd25e5f16cf5b6e2b96b +SHA512 (syslog-logger-1.6.8.gem) = e7bff30d61925fc53e0a4c01d723f5da4bce5dc87b7f62a22f805be4955239c75f1208d334e07f42fbbc15ea2ccc5950b5333cd00b085566942d6e931092dce8 +Size (syslog-logger-1.6.8.gem) = 9216 bytes -- cgit v1.2.3