p5-JSON-XS: update to 4.02

Changelog: https://metacpan.org/changes/distribution/JSON-XS

This update enables allow_nonref by default for compatibility with
RFC 7159 and newer, this has security implications, see:
https://metacpan.org/pod/release/MLEHMANN/JSON-XS-4.02/XS.pm#SECURITY-CONSIDERATIONS

OK bluhm@
This commit is contained in:
cwen 2020-02-08 21:46:08 +00:00
parent 29eef6e50b
commit 0ee794b3c9
3 changed files with 11 additions and 10 deletions

View File

@ -1,19 +1,20 @@
# $OpenBSD: Makefile,v 1.27 2019/07/12 20:43:50 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2020/02/08 21:46:08 cwen Exp $
COMMENT = JSON serialising/deserialising, done correctly and fast
MODULES = cpan
DISTNAME = JSON-XS-3.04
DISTNAME = JSON-XS-4.02
EPOCH = 1
CATEGORIES = converters
# Perl
PERMIT_PACKAGE = Yes
WANTLIB += c perl
WANTLIB += c perl
BUILD_DEPENDS= devel/p5-Canary-Stability
RUN_DEPENDS= converters/p5-Types-Serialiser \
MODULES = cpan
BUILD_DEPENDS = devel/p5-Canary-Stability
RUN_DEPENDS = converters/p5-Types-Serialiser \
devel/p5-common-sense
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (JSON-XS-3.04.tar.gz) = ZdiDa9jqbwt7/8cLIhIVatw+L/pYfiflSNV2iT8JfCw=
SIZE (JSON-XS-3.04.tar.gz) = 83424
SHA256 (JSON-XS-4.02.tar.gz) = pa0XITgHGhRynaigGSHKIz2k/ivtKQ/9+45WDditzxY=
SIZE (JSON-XS-4.02.tar.gz) = 85904

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2016/03/08 14:20:18 sthen Exp $
@comment $OpenBSD: PLIST,v 1.7 2020/02/08 21:46:08 cwen Exp $
bin/json_xs
${P5ARCH}/JSON/
${P5ARCH}/JSON/XS/
@ -7,7 +7,7 @@ ${P5ARCH}/JSON/XS/Boolean.pm
${P5ARCH}/auto/
${P5ARCH}/auto/JSON/
${P5ARCH}/auto/JSON/XS/
${P5ARCH}/auto/JSON/XS/XS.so
@so ${P5ARCH}/auto/JSON/XS/XS.so
@man man/man1/json_xs.1
@man man/man3p/JSON::XS.3p
@man man/man3p/JSON::XS::Boolean.3p