debian/0000755000000000000000000000000012050777711007175 5ustar debian/control0000644000000000000000000000205012050771364010573 0ustar Source: json-js Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, uglifyjs Standards-Version: 3.9.3 Homepage: http://www.json.org/js.html Vcs-Git: git://git.debian.org/git/collab-maint/json-js Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/json-js.git Package: libjs-json Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: JSON encoders/decoders implemented in JavaScript JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ . The files in this collection implement JSON encoders/decoders in JavaScript. . JSON became a built-in feature of JavaScript when the ECMAScript Programming Language Standard - Fifth Edition was adopted by the ECMA General Assembly in December 2009. Most of the files in this collection are for applications that are expected to run in obsolete web browsers. debian/source/0000755000000000000000000000000011675017410010470 5ustar debian/source/format0000644000000000000000000000001411442224275011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000523712050777711011056 0ustar json-js (0~20121008-2) unstable; urgency=low * Fix fixate get-orig-source target to snapshot (not follow tip of VCS). -- Jonas Smedegaard Wed, 14 Nov 2012 21:32:01 +0100 json-js (0~20121008-1) unstable; urgency=low * New snapshot of upstream VCS. [ Jonas Smedegaard ] * Update watch and rules files to use archive subdir at github.com. * Bump dephelper compatibility level to 8. * Build-depend on devscripts, to always check copyright during build. * Update copyright file: + Fix use pseudo-comment section to obey silly restrictions of copyright format 1.0. -- Jonas Smedegaard Wed, 14 Nov 2012 20:37:46 +0100 json-js (0~20120621-1) unstable; urgency=low * New snapshot of upstream VCS. * Directly use github.com URL (not githubredir.debian.net redirctor) when fetching upstream source. -- Jonas Smedegaard Fri, 22 Jun 2012 21:31:04 +0200 json-js (0~20120322-1) unstable; urgency=low * New snapshot of upstream VCS. * Bump standards-version to 3.9.3. * Use anonscm.debian.org URL in Vcs-Browser field. * Bump debhelper compatibility level to 7. * Update copyright file: + Bump format to 1.0. + Shorten and quote licenses in comment. -- Jonas Smedegaard Sun, 25 Mar 2012 13:29:40 +0200 json-js (0~20111021-1) unstable; urgency=low * Rerelease using pristine git tarball. * Update watch file to use more flexible regex. * Use CDBS snippet upstream-tarball for get-orig-source target and more. -- Jonas Smedegaard Sun, 25 Dec 2011 12:24:03 +0700 json-js (0~20111020-1) unstable; urgency=low * New snapshot of upstream VCS. [ Jonas Smedegaard ] * Drop local-options file: defaults since dpkg-source 1.16.1. * Relax to build-depend unversioned on debhelper: Needed version satisfied even in oldstable. -- Jonas Smedegaard Fri, 23 Dec 2011 13:29:11 +0700 json-js (0~20110315-1) unstable; urgency=low * New snapshot of upstream VCS. [ Jonas Smedegaard ] * Package now team-maintained: + Set Debian Javascript Maintainers as maintainer. + Set myself as uploader. * Bump policy compliance to standards-version 3.9.2. * Adjust copyright file: + Fix use initial wildcard Files section (not list wildcard copyright/licensing in header section). * Bump copyright file format to draft 174 of DEP-5. * Use uglifyjs (not yui-compressor). Update build-dependencies accordingly. -- Jonas Smedegaard Fri, 22 Apr 2011 12:31:33 +0200 json-js (0~20101208-1) unstable; urgency=low * Initial release. Closes: Bug#610259. -- Jonas Smedegaard Thu, 30 Dec 2010 22:31:24 +0100 debian/compat0000644000000000000000000000000212050767776010405 0ustar 8 debian/watch0000644000000000000000000000013312050767573010230 0ustar version=3 https://github.com/douglascrockford/JSON-js/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/copyright_hints0000644000000000000000000000103011733600164012321 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: README cycle.js debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch json.js json2.js json_parse_state.js Copyright: *No copyright* License: UNKNOWN FIXME Files: debian/rules Copyright: 2010, Jonas Smedegaard License: GPL-2+ FIXME Files: json_parse.js Copyright: License: UNKNOWN FIXME debian/copyright0000644000000000000000000000226612050771202011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JSON Upstream-Contact: Douglas Crockford https://github.com/douglascrockford/JSON-js/issues/ Source: https://github.com/douglascrockford/JSON-js/downloads git://github.com/douglascrockford/JSON-js Files: * Copyright: None License: PD Public Domain. Files: debian/* Copyright: 2010, Jonas Smedegaard License: GPL-2+ License: GPL-2+ 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 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611442224275010611 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000327112050773777010270 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010 Jonas Smedegaard # Description: Main Debian packaging script for JSON # # 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 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk libname = json libdirname = $(libname) pkg = libjs-$(libname) CDBS_BUILD_DEPENDS += , uglifyjs DEB_UPSTREAM_URL = https://github.com/douglascrockford/JSON-js/archive # FIXME: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_BASENAME = 43d783 DEB_UPSTREAM_TARBALL_MD5 = 562eff09d374887cc6d3679be6fe2e08 js-basedir = js-stems = $(basename $(wildcard $(js-basedir)*.js)) js-min = $(js-stems:$(js-basedir)%=debian/%.min.js) js-destdir = /usr/share/javascript/$(libdirname) DEB_DH_INSTALL_ARGS_DEFAULT = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) build/$(pkg):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js uglifyjs -o $@ $< clean:: rm -f debian/*.js binary-fixup/$(pkg):: chmod -x $(cdbs_curdestdir)/usr/share/javascript/json/* debian/control.in0000644000000000000000000000176711733600075011213 0ustar Source: json-js Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://www.json.org/js.html Vcs-Git: git://git.debian.org/git/collab-maint/json-js Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/json-js.git Package: libjs-json Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: JSON encoders/decoders implemented in JavaScript JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ . The files in this collection implement JSON encoders/decoders in JavaScript. . JSON became a built-in feature of JavaScript when the ECMAScript Programming Language Standard - Fifth Edition was adopted by the ECMA General Assembly in December 2009. Most of the files in this collection are for applications that are expected to run in obsolete web browsers.