svn commit: r486040 - in head/devel: . p5-Log-Log4perl-Layout-JSON
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Nov 27 17:11:41 UTC 2018
Author: sunpoet
Date: Tue Nov 27 17:11:39 2018
New Revision: 486040
URL: https://svnweb.freebsd.org/changeset/ports/486040
Log:
Add p5-Log-Log4perl-Layout-JSON 0.56
This class implements a "Log::Log4perl" layout format, similar to
Log::Log4perl::Layout::PatternLayout except that the output is a JSON hash.
The JSON hash is ASCII encoded, with no newlines or other whitespace, and is
suitable for output, via Log::Log4perl appenders, to files and syslog etc.
The JSON hash can, optionally, be UTF-8 encoded.
Contextual data in the Log::Log4perl::MDC hash can be included.
WWW: https://metacpan.org/release/Log-Log4perl
PR: 232444
Submitted by: Sergei Vyshenski <svysh.fbsd at gmail.com>
Added:
head/devel/p5-Log-Log4perl-Layout-JSON/
head/devel/p5-Log-Log4perl-Layout-JSON/Makefile (contents, props changed)
head/devel/p5-Log-Log4perl-Layout-JSON/distinfo (contents, props changed)
head/devel/p5-Log-Log4perl-Layout-JSON/pkg-descr (contents, props changed)
head/devel/p5-Log-Log4perl-Layout-JSON/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Nov 27 17:10:29 2018 (r486039)
+++ head/devel/Makefile Tue Nov 27 17:11:39 2018 (r486040)
@@ -2897,6 +2897,7 @@
SUBDIR += p5-Log-Log4perl
SUBDIR += p5-Log-Log4perl-Appender-RabbitMQ
SUBDIR += p5-Log-Log4perl-Appender-Socket-UNIX
+ SUBDIR += p5-Log-Log4perl-Layout-JSON
SUBDIR += p5-Log-Log4perl-Tiny
SUBDIR += p5-Log-Message
SUBDIR += p5-Log-Message-Simple
Added: head/devel/p5-Log-Log4perl-Layout-JSON/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Log4perl-Layout-JSON/Makefile Tue Nov 27 17:11:39 2018 (r486040)
@@ -0,0 +1,29 @@
+# Created by: Sergei Vyshenski <svysh.fbsd at gmail.com>
+# $FreeBSD$
+
+PORTNAME= Log-Log4perl-Layout-JSON
+PORTVERSION= 0.56
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd at gmail.com
+COMMENT= Layout a log message as a JSON hash, including MDC data
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Class-Tiny>=0:devel/p5-Class-Tiny \
+ p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
+ p5-Log-Log4perl>=0:devel/p5-Log-Log4perl
+TEST_DEPENDS= p5-Test-Most>=0:devel/p5-Test-Most \
+ p5-Test-Warnings>=0:devel/p5-Test-Warnings
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/p5-Log-Log4perl-Layout-JSON/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Log4perl-Layout-JSON/distinfo Tue Nov 27 17:11:39 2018 (r486040)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1539355034
+SHA256 (Log-Log4perl-Layout-JSON-0.56.tar.gz) = e0ee24de791ec625add6a1464ade453fff84a3a52e559dc89946ac6f8e80f4b1
+SIZE (Log-Log4perl-Layout-JSON-0.56.tar.gz) = 20446
Added: head/devel/p5-Log-Log4perl-Layout-JSON/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Log4perl-Layout-JSON/pkg-descr Tue Nov 27 17:11:39 2018 (r486040)
@@ -0,0 +1,8 @@
+This class implements a "Log::Log4perl" layout format, similar to
+Log::Log4perl::Layout::PatternLayout except that the output is a JSON hash.
+The JSON hash is ASCII encoded, with no newlines or other whitespace, and is
+suitable for output, via Log::Log4perl appenders, to files and syslog etc.
+The JSON hash can, optionally, be UTF-8 encoded.
+Contextual data in the Log::Log4perl::MDC hash can be included.
+
+WWW: https://metacpan.org/release/Log-Log4perl
Added: head/devel/p5-Log-Log4perl-Layout-JSON/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Log4perl-Layout-JSON/pkg-plist Tue Nov 27 17:11:39 2018 (r486040)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Log/Log4perl/Layout/JSON.pm
+%%PERL5_MAN3%%/Log::Log4perl::Layout::JSON.3.gz
More information about the svn-ports-all
mailing list