debian/0000755000000000000000000000000012231170365007166 5ustar debian/watch0000644000000000000000000000030612163311250010210 0ustar version=3 opts=uversionmangle=s/\.(\d)$/.${1}00/;s/\.(\d\d)$/.${1}0/;s/\.(\d\d\d)(\d)$/.${1}.${2}/ \ https://metacpan.org/release/JSON-XS/ .+/JSON-XS-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000036412163311250010243 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples sed -i '1s|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* debian/copyright0000644000000000000000000000264512163311250011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JSON-XS Upstream-Contact: Marc Lehmann http://home.schmorp.de/ Source: https://metacpan.org/release/JSON-XS/ Files: * Copyright: 2007-2011, Marc Lehmann http://home.schmorp.de/ License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, Ivan Kohler 2008-2010, Angel Abad 2008-2013, gregor herrmann 2008, Niko Tyni 2009, Ansgar Burchardt 2009, Ryan Niebur 2010, Franck Joncourt 2010, Jonathan Yu 2010-2011, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/libjson-xs-perl.examples0000644000000000000000000000000512163311250013743 0ustar eg/* debian/source/0000755000000000000000000000000012163311250010460 5ustar debian/source/format0000644000000000000000000000001412163311250011666 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012163311250010607 5ustar debian/patches/true-false-decode-pod-fix0000644000000000000000000000206212163311250015366 0ustar Subject: Fixed documentation on automatic conversion of Boolean Note: This bug has been forwarded upstream and rejected. As a reviewer it seems to me that this rejection must be due to a misunderstanding. As such the patch should stay but an upstream resolution should not be expected any time soon. Author: Jozef Kutej Reviewed-by: Nicholas Bamber Bug: http://rt.cpan.org/Public/Bug/Display.html?id=53975 Last-Update: 2013-06-28 --- a/XS.pm +++ b/XS.pm @@ -682,8 +682,9 @@ returning the resulting simple scalar or reference. Croaks on error. JSON numbers and strings become simple Perl scalars. JSON arrays become -Perl arrayrefs and JSON objects become Perl hashrefs. C becomes -C<1>, C becomes C<0> and C becomes C. +Perl arrayrefs and JSON objects become Perl hashrefs. +C becomes JSON::XS::true (equals 1 numerically and as a string), +C becomes JSON::XS::false (equals 0) and C becomes C. =item ($perl_scalar, $characters) = $json->decode_prefix ($json_text) debian/patches/series0000644000000000000000000000003212163311250012017 0ustar true-false-decode-pod-fix debian/compat0000644000000000000000000000000212163311250010356 0ustar 9 debian/control0000644000000000000000000000274112163311250010567 0ustar Source: libjson-xs-perl Maintainer: Debian Perl Group Uploaders: Angel Abad , Jonathan Yu , Ivan Kohler , Niko Tyni , gregor herrmann , Ansgar Burchardt , Ryan Niebur , Nicholas Bamber , Alessandro Ghedini Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), perl, libcommon-sense-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libjson-xs-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libjson-xs-perl.git Homepage: https://metacpan.org/release/JSON-XS/ Package: libjson-xs-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libcommon-sense-perl Description: module for manipulating JSON-formatted data (C/XS-accelerated) JSON::XS is a module for manipulating data stored in the JavaScript Object Notation (JSON) serialization format (defined in RFC 4627), which serves as an alternative to XML. . This C/XS-accelerated JSON implementation confers significant performance gains if available. After installing this package, any code using the JSON module (see libjson-perl) will automagically benefit from this. debian/changelog0000644000000000000000000001556712231170365011056 0ustar libjson-xs-perl (2.340-1build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:16:37 +0100 libjson-xs-perl (2.340-1) unstable; urgency=low * New upstream release. * Drop hash_perl_5.17.10.patch, not needed anymore. Upstream solved the problem with the test suite differently. * Refresh patch true-false-decode-pod-fix (offset). -- gregor herrmann Fri, 28 Jun 2013 15:41:42 +0200 libjson-xs-perl (2.330-2) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add patch from CPAN RT to fix test failure with perl >= 5.17.10. (Closes: #708021) * Use debhelper 9.20120312 to get all hardening flags. * Update years of packaging copyright. * Set Standards-Version to 3.9.4 (no changes). * debian/rules: remove special-casing of CFLAGS. This was needed due to #505415 (closed 2008) and now gets in the way of debhelper and dpkg setting CFLAGS and friends themselves. -- gregor herrmann Mon, 13 May 2013 20:11:18 +0200 libjson-xs-perl (2.330-1) unstable; urgency=low [ Angel Abad ] * Email change: Angel Abad -> angel@debian.org [ Alessandro Ghedini ] * New upstream release * Add myself to Uploaders * Update copyright to Copyright-Format 1.0 * Bump debhelper compat level to 9 * Bump Standards-Version to 3.9.3 (no changes needed) -- Alessandro Ghedini Tue, 07 Aug 2012 22:14:33 +0200 libjson-xs-perl (2.320-1) unstable; urgency=low [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ Nicholas Bamber ] * New upstream release -- Nicholas Bamber Fri, 12 Aug 2011 21:41:43 +0100 libjson-xs-perl (2.310-1) unstable; urgency=low [ Ansgar Burchardt ] * Email change: Ansgar Burchardt -> ansgar@debian.org * debian/control: Convert Vcs-* fields to Git. [ Jonathan Yu ] * Rewrite control description to match styles of libjson-perl and libjson-pp-perl [ Nicholas Bamber ] * New upstream release * Updated copyright * Raised standards version to 3.9.2 * Raised debhelper version and compat level to 8 -- Nicholas Bamber Sat, 30 Jul 2011 22:35:42 +0100 libjson-xs-perl (2.300-1) unstable; urgency=low [ Nicholas Bamber ] * New upstream version * Upped standards version to 3.9.1 * Reviewed patch * Reviewed control and copyright files * Updated watch file to mangle 2.3 -> 2.300 [ gregor herrmann ] * debian/copyright: refresh License stanzas. -- Nicholas Bamber Mon, 06 Sep 2010 09:10:42 +0100 libjson-xs-perl (2.290-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Added details to Pod about decoding of JSON "true" and "false" values. Closes #566822 (Thanks to Florian Weimer) [ gregor herrmann ] * Convert to source format 3.0 (quilt). -- gregor herrmann Sun, 28 Mar 2010 16:04:33 +0200 libjson-xs-perl (2.280-1) unstable; urgency=low [ Angel Abad ] * New upstream release [ Franck Joncourt ] * Bumped up Standards-Version to 3.8.4 (no changes). -- Angel Abad Fri, 12 Mar 2010 10:46:44 +0100 libjson-xs-perl (2.270-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Update copyright information to DEP5 format * Add myself to Uploaders and Copyright * Rewrite control description * Install examples in eg/ * Add override to fix shebang in example script [ Angel Abad ] * Update my email address -- Jonathan Yu Thu, 07 Jan 2010 11:39:56 -0500 libjson-xs-perl (2.260-1) unstable; urgency=low [ Ryan Niebur ] * Update ryan52's email address [ Angel Abad (Ikusnet SLL) ] * New upstream release * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). -- Angel Abad (Ikusnet SLL) Mon, 12 Oct 2009 00:33:59 +0200 libjson-xs-perl (2.250-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ryan Niebur ] * New upstream release * Debian Policy 3.8.2 * add deps on common-sense [ gregor herrmann ] * Set Standards-Version to 3.8.3 (no changes). -- Ryan Niebur Thu, 03 Sep 2009 14:11:16 -0700 libjson-xs-perl (2.240-1) unstable; urgency=low * New upstream release * Add myself to Uploaders * Debian Policy 3.8.1 * update debhelper usage -- Ryan Niebur Sat, 30 May 2009 00:34:54 -0700 libjson-xs-perl (2.232-1) unstable; urgency=low [ Ansgar Burchardt ] * New upstream release. * Add myself to Uploaders. [ gregor herrmann ] * debian/watch: add a second rule to uversionmangle since upstream has 3- and 4-digit minor versions. -- Ansgar Burchardt Sun, 22 Feb 2009 15:18:15 +0100 libjson-xs-perl (2.231-1) unstable; urgency=low * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * New upstream release. * debian/watch: add uversionmangle, in case upstream goes back to 2-digit minor versions again. * Add /me to Uploaders. -- gregor herrmann Sat, 22 Nov 2008 18:12:24 +0100 libjson-xs-perl (2.23-2) unstable; urgency=low * Add myself to Uploaders. * Lower the optimization level on sparc to work around bug #505415 in perl. (Closes: #501825) + debian/rules now supports DEB_BUILD_OPTIONS=noopt properly too. * Fix some typos in the long description. -- Niko Tyni Sat, 15 Nov 2008 13:42:03 +0200 libjson-xs-perl (2.23-1) unstable; urgency=low [ Angel Abad (Ikusnet SLL) ] * New upstream release * Take over for the Debian Perl Group on maintainer's request (http://lists.debian.org/debian-perl/2008/10/msg00010.html) * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza). Changed: Maintainer set to Debian Perl Group (was: Ivan Kohler ); Ivan Kohler moved to Uploaders. * Add debian/watch. * Add pkg-perl changes * Add myself to Uploaders * Update Standards-Version 3.8.0 * Remove bench from examples because it has circular dependency with libjson-perl * Upgrade to debhelper 7 [ gregor herrmann ] * Don't install README any more (just a text version of the POD documentation). -- Angel Abad (Ikusnet SLL) Thu, 09 Oct 2008 00:41:02 +0200 libjson-xs-perl (2.01-1) unstable; urgency=low * Initial Release. (Closes: #457611) -- Ivan Kohler Sun, 23 Dec 2007 12:44:29 -0800