debian/0000755000000000000000000000000012050736143007167 5ustar debian/control0000644000000000000000000000164612050735764010611 0ustar Source: jshash Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, yui-compressor Standards-Version: 3.9.3 Homepage: http://pajhome.org.uk/crypt/md5/ Vcs-Git: git://git.debian.org/git/collab-maint/jshash Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/jshash.git Package: libjs-jshash Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: calculate secure hash algorithms in JavaScript JavaScript implementation of some secure hash algorithms: * MD5 Message Digest Algorithm (RFC 1321) * RIPEMD-160 Algorithm * SHA-1 Secure Hash Algorithm (FIPS 180-1) * SHA-256 Secure Hash Algorithm (FIPS 180-2) * SHA-512 Secure Hash Algorithm (FIPS 180-2) * HMAC Keyed-Hashing for Message Authentication (RFC 2104) debian/source/0000755000000000000000000000000012050732072010464 5ustar debian/source/format0000644000000000000000000000001411442224275011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000307612050736143011047 0ustar jshash (2.2-4) unstable; urgency=low * Bump dephelper compatibility level to 8. * Bump standards-version to 3.9.3. * Use anonscm.debian.org for Vcs-Browser field. * Update copyright file: + Fix use pseudo-license and pseudo-comment sections to obey silly restrictions of copyright format 1.0. + Quote license in comment (pseudo-)field. + Fix double-indent in Copyright fields as per Policy §5.6.13. + Update copyright file: List all Files sections before License sections. * Update package relations: + Relax to build-depend unversioned on debhelper: Needed version satisfied in stable, and oldstable no longer supported. + Build-depend on devscripts to always do copyright check. -- Jonas Smedegaard Wed, 14 Nov 2012 16:43:27 +0100 jshash (2.2-3) unstable; urgency=low * Package now team-maintained: + Set Debian Javascript Maintainers as maintainer. + Set myself as uploader. * Update/correct copyright file: + Fix mention all authors (no new licenses). + Fix declare general copyright as initial wildcard Files section (not in header section). + Bump DEP5 format to Subversion draft rev. 173. -- Jonas Smedegaard Thu, 10 Mar 2011 23:10:22 +0100 jshash (2.2-2) unstable; urgency=low * Install uncompressed libraries (not symlink to compressed ones). -- Jonas Smedegaard Sun, 16 Jan 2011 21:52:25 +0100 jshash (2.2-1) unstable; urgency=low * Initial release. Closes: Bug#610129. -- Jonas Smedegaard Sat, 15 Jan 2011 16:10:12 +0100 debian/compat0000644000000000000000000000000212050731335010363 0ustar 8 debian/watch0000644000000000000000000000011111514302673010212 0ustar version=3 http://pajhome.org.uk/crypt/md5/scripts.html jshash-(\d.*).zip debian/copyright_hints0000644000000000000000000000170112050732146012325 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: debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch test-min.py test.py Copyright: *No copyright* License: UNKNOWN FIXME Files: sha256-min.js sha256.js Copyright: Angel Marin, Paul Johnston 2000, - 2009 License: UNKNOWN FIXME Files: sha512-min.js sha512.js Copyright: Anonymous Contributor, Paul Johnston 2000, - 2009 License: UNKNOWN FIXME Files: ripemd160-min.js ripemd160.js Copyright: Jeremy Lin, Paul Johnston 2000, - 2009 License: UNKNOWN FIXME Files: md5-min.js md5.js Copyright: Paul Johnston 1999, - 2009 License: UNKNOWN FIXME Files: sha1-min.js sha1.js Copyright: Paul Johnston 2000, - 2009 License: UNKNOWN FIXME Files: debian/rules Copyright: 2011, Jonas Smedegaard License: GPL-2+ FIXME debian/copyright0000644000000000000000000000775712050732366011145 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JavaScript MD5 Upstream-Contact: Paul Johnston Source: http://pajhome.org.uk/crypt/md5/scripts.html Files: * Copyright: 1999-2009, Paul Johnston 2000-2009, Angel Marin 2000-2009, Anonymous Contributor 2000-2009, Jeremy Lin License: BSD-3-clause and RSA Comment: License: . Distributed under the BSD License See http://pajhome.org.uk/crypt/md5 for more info. . Comment: , Actual licensing is not included with upstream source. Referenced URL however links to http://pajhome.org.uk/site/legal.html contained (as of 2011-01-15) the BSD-3-clause licensing listed below, and the following: . The JavaScript code implementing the algorithm is derived from the C code in RFC 1321 and is covered by the following copyright: . License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. . License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. . RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. . These notices must be retained in any copies of any part of this documentation and/or software. . This copyright does not prohibit distribution of the JavaScript MD5 code under the BSD license. Files: debian/* Copyright: 2011, Jonas Smedegaard License: GPL-2+ License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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/rules0000755000000000000000000000270612050732662010256 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2011 Jonas Smedegaard # Description: Main Debian packaging script for JavaScript MD5 # # 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 DEB_UPSTREAM_URL = http://pajhome.org.uk/crypt/md5 DEB_UPSTREAM_TARBALL_EXTENSION = zip DEB_UPSTREAM_TARBALL_MD5 = 84d2c3d5bee12f9b35b46c2568494fd0 pkg = libjs-jshash CDBS_BUILD_DEPENDS += , yui-compressor js-stems = $(filter-out %-min,$(basename $(wildcard *.js))) js-min = $(js-stems:%=debian/%.min.js) js-destdir = /usr/share/javascript/jshash DEB_DH_INSTALL_ARGS = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) build/$(pkg):: $(js-min) $(js-min): debian/%.min.js: %.js yui-compressor $< -o $@ clean:: rm -f debian/*.js debian/control.in0000644000000000000000000000155712050731434011205 0ustar Source: jshash Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://pajhome.org.uk/crypt/md5/ Vcs-Git: git://git.debian.org/git/collab-maint/jshash Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/jshash.git Package: libjs-jshash Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: calculate secure hash algorithms in JavaScript JavaScript implementation of some secure hash algorithms: * MD5 Message Digest Algorithm (RFC 1321) * RIPEMD-160 Algorithm * SHA-1 Secure Hash Algorithm (FIPS 180-1) * SHA-256 Secure Hash Algorithm (FIPS 180-2) * SHA-512 Secure Hash Algorithm (FIPS 180-2) * HMAC Keyed-Hashing for Message Authentication (RFC 2104)