[Pkg-javascript-commits] [node-sha.js] 31/31: merge patched into master

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 30 11:23:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-sha.js.

commit 2cdb43891c31a9f87c1f308a031256042f1a799c
Merge: e4a3af2 79d79de
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Nov 30 12:18:28 2017 +0100

    merge patched into master

 debian/.git-dpm                         |  4 ++--
 debian/changelog                        |  2 +-
 debian/control                          |  1 +
 debian/install                          |  1 -
 debian/patches/0001-Fix-testsuite.patch | 31 +++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 debian/rules                            |  8 +++++++-
 test/vectors.js                         | 10 ++++++++++
 8 files changed, 53 insertions(+), 5 deletions(-)

diff --cc debian/.git-dpm
index 58595ca,0000000..e57eda2
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,8 -1,0 +1,8 @@@
 +# see git-dpm(1) from git-dpm package
- ea776f2a37e694b6ac016d5c83dfa1fab205c27f
- ea776f2a37e694b6ac016d5c83dfa1fab205c27f
++79d79dea038aa08dd4860b920b05174bf1509354
++79d79dea038aa08dd4860b920b05174bf1509354
 +ea776f2a37e694b6ac016d5c83dfa1fab205c27f
 +ea776f2a37e694b6ac016d5c83dfa1fab205c27f
 +node-sha.js_2.4.9.orig.tar.gz
 +ff0573b5ea3e8ca496e731659b103a83c97acb8c
 +9573
diff --cc debian/changelog
index ea0858b,0000000..9652bf0
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,12 -1,0 +1,12 @@@
 +node-sha.js (2.4.9-1) unstable; urgency=medium
 +
 +  * New upstream version
 +  * Move to section javascript
 +
 + -- Bastien Roucariès <rouca at debian.org>  Thu, 30 Nov 2017 11:46:34 +0100
 +
 +node-sha.js (2.4.8-1) unstable; urgency=low
 +
 +  * Initial release (Closes: #858830)
-   
++
 + -- Bastien Roucariès <rouca at debian.org>  Thu, 20 Apr 2017 22:03:54 +0200
diff --cc debian/control
index 2bff8ac,0000000..d36f895
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,39 -1,0 +1,40 @@@
 +Source: node-sha.js
 +Section: javascript
 +Priority: optional
 +Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 +Uploaders: Bastien Roucariès <rouca at debian.org>
 +Build-Depends:
 + debhelper (>= 10)
 + , dh-buildinfo
 + , nodejs (>= 4.7)
 + , dpkg-dev (>= 1.17.14)
 + , node-tape (>= 3.0.1) <!nocheck>
++ , node-tap (>= 10) <!nocheck>
 + , node-inherits (>= 2.0.1) <!nocheck>
 + , node-safe-buffer (>= 5.0.1)  <!nocheck>
 + , node-hash-test-vectors <!nocheck>
 +Standards-Version: 4.1.1
 +Homepage: https://github.com/crypto-browserify/sha.js
 +Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-sha.js.git
 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-sha.js.git
 +
 +Package: node-sha.js
 +Architecture: all
 +Depends:
 + ${misc:Depends}
 + , nodejs (>= 4.7)
 + , node-inherits (>= 2.0.1)
 + , node-safe-buffer (>= 5.0.1)
 +Description: Streamable SHA hashes in pure javascript
 + This module implements a fast and memory efficient (in place)
 + SHA familly hash function in pure javascript.
 + .
 + SHA function are cryptographic hashs function designed by
 + the United States National Security Agency and is a
 + U.S. Federal Information Processing Standard published
 + by the United States NIST. SHA-1 produces a 160-bit (20-byte)
 + hash value known as a message digest.
 + .
 + This module implements: sha, sha1, sha256, sha512.
 + .
 + Node.js is an event-based server-side JavaScript engine.
diff --cc debian/install
index 2a9c223,0000000..9aa4e01
mode 100644,000000..100644
--- a/debian/install
+++ b/debian/install
@@@ -1,5 -1,0 +1,4 @@@
 +package.json usr/lib/nodejs/sha.js/
 +hash.js usr/lib/nodejs/sha.js/
- hexpp.js usr/lib/nodejs/sha.js/
 +index.js usr/lib/nodejs/sha.js/
 +sha*.js usr/lib/nodejs/sha.js/
diff --cc debian/patches/0001-Fix-testsuite.patch
index 0000000,0000000..e1fd05e
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-Fix-testsuite.patch
@@@ -1,0 -1,0 +1,31 @@@
++From 79d79dea038aa08dd4860b920b05174bf1509354 Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien at gmail.com>
++Date: Thu, 20 Apr 2017 13:36:19 +0200
++Subject: Fix testsuite
++
++Forwarded: no
++---
++ test/vectors.js | 10 ++++++++++
++ 1 file changed, 10 insertions(+)
++
++diff --git a/test/vectors.js b/test/vectors.js
++index 48a646e..b0e185b 100644
++--- a/test/vectors.js
+++++ b/test/vectors.js
++@@ -9,6 +9,16 @@ function makeTest (alg, i, verbose) {
++   var v = vectors[i]
++ 
++   tape(alg + ': NIST vector ' + i, function (t) {
+++    // nan test
+++    if(v!=v) {
+++	t.end();
+++	return;
+++	}
+++    if(typeof(v)=='undefined') {
+++	t.end();
+++	return;
+++    }
+++    vinput = v != v ? v : (typeof(v) == 'undefined' ? v : v.input);
++     if (verbose) {
++       console.log(v)
++       console.log('VECTOR', i)
diff --cc debian/patches/series
index 0000000,0000000..f9b63bc
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-Fix-testsuite.patch
diff --cc debian/rules
index deed70d,0000000..ad5f6b5
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,13 -1,0 +1,19 @@@
 +#!/usr/bin/make -f
 +# -*- makefile -*-
 +
 +# Uncomment this to turn on verbose mode.
 +#export DH_VERBOSE=1
 +
 +%:
 +	dh $@
 +
 +#override_dh_auto_build:
 +
 +override_dh_auto_test:
- 	tape test/*.js
++ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
++	tap -R spec test/*.js
++else
++	@echo '**********************************************************'
++	@echo 'Skip test suite                                           '
++	@echo '**********************************************************'
++endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git



More information about the Pkg-javascript-commits mailing list