summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/p5-Cpanel-JSON-XS/DESCR12
-rw-r--r--converters/p5-Cpanel-JSON-XS/Makefile20
-rw-r--r--converters/p5-Cpanel-JSON-XS/distinfo6
3 files changed, 38 insertions, 0 deletions
diff --git a/converters/p5-Cpanel-JSON-XS/DESCR b/converters/p5-Cpanel-JSON-XS/DESCR
new file mode 100644
index 00000000000..fbf28f3750c
--- /dev/null
+++ b/converters/p5-Cpanel-JSON-XS/DESCR
@@ -0,0 +1,12 @@
+This module converts Perl data structures to JSON and vice versa.
+Its primary goal is to be *correct* and its secondary goal is to
+be *fast*. To reach the latter goal it was written in C.
+
+As this is the n-th-something JSON module on CPAN, what was the
+reason to write yet another JSON module? While it seems there are
+many JSON modules, none of them correctly handle all corner cases,
+and in most cases their maintainers are unresponsive, gone missing,
+or not listening to bug reports for other reasons.
+
+The cPanel fork has additional bug fixes and interoperability
+improvements.
diff --git a/converters/p5-Cpanel-JSON-XS/Makefile b/converters/p5-Cpanel-JSON-XS/Makefile
new file mode 100644
index 00000000000..5775b09c455
--- /dev/null
+++ b/converters/p5-Cpanel-JSON-XS/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/04/26 12:45:19 wiz Exp $
+
+DISTNAME= Cpanel-JSON-XS-4.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RU/RURBAN/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Cpanel-JSON-XS/
+COMMENT= JSON serialising/deserialising, done correctly and fast (cPanel fork)
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-common-sense>=0:../../devel/p5-common-sense
+DEPENDS+= p5-Canary-Stability>=0:../../devel/p5-Canary-Stability
+DEPENDS+= p5-Types-Serialiser>=0:../../devel/p5-Types-Serialiser
+
+PERL5_PACKLIST= auto/Cpanel/JSON/XS/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/p5-Cpanel-JSON-XS/distinfo b/converters/p5-Cpanel-JSON-XS/distinfo
new file mode 100644
index 00000000000..e3e91729726
--- /dev/null
+++ b/converters/p5-Cpanel-JSON-XS/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/04/26 12:45:19 wiz Exp $
+
+SHA1 (Cpanel-JSON-XS-4.02.tar.gz) = 56a3787ad8cb032d1b258554c658cd49303ecbee
+RMD160 (Cpanel-JSON-XS-4.02.tar.gz) = 045592155e8ce2ba146fb9ed7a1b580f2163b176
+SHA512 (Cpanel-JSON-XS-4.02.tar.gz) = 5b2c2969423ab0ec5ad454c7b2e8c55f6df8e353313507ee4e73dc5cd2c02d14cd47e87f51ecb493f978397738ff55d75683e6f3622aa87311c8b4466ae5a970
+Size (Cpanel-JSON-XS-4.02.tar.gz) = 228582 bytes