svn commit: r521051 - in head/devel: . rubygem-json-canonicalization
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Dec 28 06:55:58 UTC 2019
Author: sunpoet
Date: Sat Dec 28 06:55:57 2019
New Revision: 521051
URL: https://svnweb.freebsd.org/changeset/ports/521051
Log:
Add rubygem-json-canonicalization 0.2.0
JSON::Canonicalization is an implementation of the JSON Canonicalization Scheme
for Ruby.
Cryptographic operations like hashing and signing depend on that the target data
does not change during serialization, transport, or parsing. By applying the
rules defined by JCS (JSON Canonicalization Scheme), data provided in the JSON
[RFC8259] format can be exchanged "as is", while still being subject to secure
cryptographic operations. JCS achieves this by building on the serialization
formats for JSON primitives as defined by ECMAScript [ES6], constraining JSON
data to the I-JSON [RFC7493] subset, and through a platform independent property
sorting scheme.
WWW: https://github.com/dryruby/json-canonicalization
Added:
head/devel/rubygem-json-canonicalization/
head/devel/rubygem-json-canonicalization/Makefile (contents, props changed)
head/devel/rubygem-json-canonicalization/distinfo (contents, props changed)
head/devel/rubygem-json-canonicalization/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Dec 28 06:55:50 2019 (r521050)
+++ head/devel/Makefile Sat Dec 28 06:55:57 2019 (r521051)
@@ -5957,6 +5957,7 @@
SUBDIR += rubygem-jquery-ui-themes
SUBDIR += rubygem-jruby-jars
SUBDIR += rubygem-json
+ SUBDIR += rubygem-json-canonicalization
SUBDIR += rubygem-json-schema
SUBDIR += rubygem-json1
SUBDIR += rubygem-json_pure
Added: head/devel/rubygem-json-canonicalization/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-json-canonicalization/Makefile Sat Dec 28 06:55:57 2019 (r521051)
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= json-canonicalization
+PORTVERSION= 0.2.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Generates canonical JSON output from Ruby objects
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-json-canonicalization/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-json-canonicalization/distinfo Sat Dec 28 06:55:57 2019 (r521051)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577145711
+SHA256 (rubygem/json-canonicalization-0.2.0.gem) = 4fd279df9c1f982cd03814e5ffcfbadc3aa5f44cccb53f5d55a29e5015629404
+SIZE (rubygem/json-canonicalization-0.2.0.gem) = 9728
Added: head/devel/rubygem-json-canonicalization/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-json-canonicalization/pkg-descr Sat Dec 28 06:55:57 2019 (r521051)
@@ -0,0 +1,13 @@
+JSON::Canonicalization is an implementation of the JSON Canonicalization Scheme
+for Ruby.
+
+Cryptographic operations like hashing and signing depend on that the target data
+does not change during serialization, transport, or parsing. By applying the
+rules defined by JCS (JSON Canonicalization Scheme), data provided in the JSON
+[RFC8259] format can be exchanged "as is", while still being subject to secure
+cryptographic operations. JCS achieves this by building on the serialization
+formats for JSON primitives as defined by ECMAScript [ES6], constraining JSON
+data to the I-JSON [RFC7493] subset, and through a platform independent property
+sorting scheme.
+
+WWW: https://github.com/dryruby/json-canonicalization
More information about the svn-ports-all
mailing list